﻿/* =========================================================================
 * 鑫益康官网 · 全局样式
 * -------------------------------------------------------------------------
 * 目录：
 *   0) 设计变量与基础重置
 *   1) 顶部导航（含搜索联想下拉）
 *   2) Hero 首屏
 *   3) 数据亮点条
 *   4) 通用区块（标题、卡片等）
 *   5) 公司简介
 *   6) 核心业务卡片
 *   7) 服务流程
 *   8) 选择我们（优势）
 *   9) 实景图库
 *  10) 关键词检索
 *  11) 联系我们
 *  12) 页脚 / 返回顶部
 *  13) 滚动淡入动画
 *  14) 响应式适配（1024px / 768px）
 *  15) 无障碍与降级（reduced-motion、老浏览器兜底）
 * ========================================================================= */

/* ==================== 0) 设计变量与基础重置 ==================== */
:root {
  /* 主色调：企业官网模板风格（参照 whtjsc.com）—— 橙红 + 蓝 */
  --primary: #d64819;
  --primary-dark: #b23c12;
  --primary-light: #fdeae2;
  --accent: #2a6fb3;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-alt: #f3f3f3;
  --border: #e7e7e7;
  --radius: 8px;
  --shadow: 0 4px 14px rgba(214, 72, 25, .08);
  --shadow-lg: 0 10px 30px rgba(214, 72, 25, .14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; } /* 锚点跳转避开吸顶导航 */
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header .container { max-width: 1360px; } /* 头部导航项较多，大屏放宽 */

/* ==================== 1) 顶部导航（模板风格：顶栏 + Logo/热线 + 导航条） ==================== */
.site-header { position: relative; z-index: 100; background: #fff; }
.site-header.scrolled { box-shadow: 0 3px 12px rgba(0, 0, 0, .08); }

/* 顶部信息栏 */
.topbar { background: #f5f5f5; border-bottom: 1px dotted #ccc; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; font-size: 12px; color: #666; }
.topbar .nav-search { margin-left: 0; }
.topbar .nav-search input { width: 200px; height: 26px; font-size: 12px; padding: 2px 10px; border-radius: 4px; }
.topbar .nav-search-btn { height: 26px; padding: 0 12px; font-size: 12px; border-radius: 4px; }
.topbar .suggest-box { top: calc(100% + 6px); right: 0; left: auto; transform: none; }

/* Logo + 咨询热线 */
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 56px; width: 56px; object-fit: contain; border-radius: 8px; }
.brand-text { font-size: 18px; font-weight: 700; color: #333; line-height: 1.3; }
.top-tel { display: flex; align-items: center; gap: 12px; text-align: right; flex-shrink: 0; }
.top-tel .tel-icon { font-size: 32px; }
.top-tel .tel-label { font-size: 12px; color: #999; }
.top-tel .tel-num { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.15; }
.top-tel .tel-num a { color: inherit; }
.top-tel .tel-sub { font-size: 12px; color: #666; }

/* 导航条 */
.navlist { background: #f5f5f5; border-top: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; }
.navlist.scrolled { box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }
.navlist-inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.main-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; }
.main-nav a { display: block; padding: 14px 16px; font-size: 15px; color: #333; white-space: nowrap; border-right: 1px solid #e7e7e7; transition: background .2s, color .2s; }
.main-nav a:first-child { border-left: 1px solid #e7e7e7; }
.main-nav a:hover { background: var(--primary); color: #fff; }

/* 导航搜索框（顶栏） + 联想下拉 */
.nav-search { display: flex; align-items: center; gap: 6px; position: relative; }
.nav-search input { width: 170px; border: 1px solid var(--border); border-radius: 8px; padding: 7px 12px; font-size: 13px; outline: none; transition: border .2s; }
.nav-search input:focus { border-color: var(--primary); }
.nav-search-btn { background: var(--primary); color: #fff; border: none; border-radius: 8px; padding: 7px 14px; font-size: 13px; cursor: pointer; transition: background .2s; }
.nav-search-btn:hover { background: var(--primary-dark); }

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 通用搜索联想下拉浮层 */
.suggest-box {
  position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
  width: min(640px, 92vw); background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 120; overflow: hidden;
}
.suggest-box[hidden] { display: none; }
.suggest-item {
  padding: 10px 16px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover, .suggest-item.active { background: var(--primary-light); color: var(--primary); }
.suggest-item .tag {
  font-size: 11px; background: var(--primary-light); color: var(--primary);
  border-radius: 4px; padding: 2px 6px; white-space: nowrap; margin-left: auto;
}

/* ==================== 2) 首屏 Banner 轮播（模板风格） ==================== */
.hero { position: relative; overflow: hidden; color: #fff; background: #31363c; padding-bottom: 96px; }
.hero-slides { position: relative; height: 500px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(24, 30, 38, .86) 0%, rgba(49, 54, 60, .66) 55%, rgba(214, 72, 25, .3) 100%); }
.hero-slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; }
.hero-tag { display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); padding: 6px 18px; border-radius: 4px; font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; }
.hero-title { font-size: 42px; font-weight: 800; letter-spacing: 2px; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero-sub { font-size: 17px; opacity: .95; line-height: 1.9; margin-bottom: 26px; max-width: 760px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .5); cursor: pointer; transition: .2s; }
.hero-dots button.active { background: var(--primary); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; cursor: pointer; transition: .2s; line-height: 1; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-arrow:hover { background: var(--primary); }
/* 首屏检索区（悬浮在 Banner 底部） */
.hero-search-panel { position: relative; z-index: 3; margin-top: -52px; }
.hero-search { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); position: relative; }
.hero-search input { flex: 1; border: none; outline: none; font-size: 15px; padding: 10px 14px; background: transparent; color: var(--text); }
.hero-search .suggest-box { top: calc(100% + 8px); left: 0; transform: none; width: 100%; }
.hero-hot { max-width: 640px; margin: 10px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hot-chip { background: rgba(255, 255, 255, .9); border: 1px solid #ddd; color: #333; border-radius: 999px; padding: 5px 14px; font-size: 13px; cursor: pointer; transition: .2s; }
.hot-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 按钮通用 */
.btn { border: none; border-radius: 4px; padding: 12px 22px; font-size: 15px; cursor: pointer; transition: .25s; font-weight: 600; display: inline-block; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-search { white-space: nowrap; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .15); }

/* ==================== 3) 数据亮点条 ==================== */
.stats { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 20px; text-align: center; }
.stat strong { display: block; font-size: 34px; font-weight: 800; }
.stat span { font-size: 14px; opacity: .9; }

/* ==================== 4) 通用区块 ==================== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  font-size: 32px; font-weight: 800; color: var(--text); position: relative;
  display: inline-block; padding-bottom: 12px;
}
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 2px; background: var(--primary);
}
.section-head p { margin-top: 14px; color: var(--text-light); font-size: 15px; }

/* ==================== 5) 公司简介 ==================== */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.about-text p { margin-bottom: 14px; text-align: justify; }
.about-text strong { color: var(--primary); }
.about-points { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-points li {
  background: var(--primary-light); color: var(--primary-dark);
  border-radius: 10px; padding: 10px 14px; font-size: 14px;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ==================== 6) 核心业务卡片 ==================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* 检索定位后的高亮闪烁动画 */
.service-card.flash { animation: flashCard 1.6s ease; }
@keyframes flashCard {
  0%, 60% { box-shadow: 0 0 0 4px var(--accent), var(--shadow-lg); border-color: var(--accent); }
  100% { box-shadow: var(--shadow); }
}
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card-icon {
  font-size: 28px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 12px; flex-shrink: 0;
}
.card-top h3 { font-size: 21px; font-weight: 700; color: var(--primary-dark); }
.card-slogan { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 12px; letter-spacing: .5px; }
.card-intro { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.card-audience {
  font-size: 13px; margin-bottom: 12px; background: var(--bg-alt);
  border-radius: 8px; padding: 8px 12px;
}
.card-audience strong { color: var(--primary); }
.card-features { margin-bottom: 14px; }
.card-features li { font-size: 14px; padding: 5px 0 5px 22px; position: relative; }
.card-features li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.card-keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.card-keywords span {
  font-size: 12px; background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--text-light); border-radius: 999px; padding: 3px 10px;
}

/* ==================== 7) 服务流程 ==================== */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.process-list li {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.step-no { display: block; font-size: 30px; font-weight: 800; color: var(--primary-light); margin-bottom: 8px; line-height: 1; }
.process-list h3 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.process-list p { font-size: 13px; color: var(--text-light); }

/* ==================== 8) 选择我们（优势） ==================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow); transition: transform .25s;
}
.why-card:hover { transform: translateY(-4px); }
.why-icon { font-size: 34px; display: block; margin-bottom: 12px; }
.why-card h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-light); }

/* ==================== 9) 实景图库 ==================== */
.gallery-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 20px; font-size: 14px; cursor: pointer; transition: .2s; color: var(--text);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4/3; background: #eef4f3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .62)); color: #fff; font-size: 12px;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item.hide { display: none; }
/* 图片灯箱 */
.gallery-lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .88); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.gallery-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }

/* ==================== 10) 关键词检索 ==================== */
.search-panel {
  max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative;
}
.search-bar { display: flex; gap: 10px; }
.search-bar-wrap { position: relative; flex: 1; }
.search-bar-wrap .suggest-box { top: calc(100% + 8px); left: 0; transform: none; width: 100%; }
.search-bar input {
  flex: 1; width: 100%; border: 2px solid var(--border); border-radius: 10px;
  padding: 13px 16px; font-size: 15px; outline: none; transition: border .2s;
}
.search-bar input:focus { border-color: var(--primary); }
.hot-keywords { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.hot-keywords .label { font-size: 13px; color: var(--text-light); }
.hot-keywords .hot-chip { background: var(--bg-alt); border: 1px solid var(--border); color: var(--primary); }
.hot-keywords .hot-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.search-results { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.result-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  background: var(--bg-alt); transition: border .2s;
}
.result-card:hover { border-color: var(--primary); }
.result-card h4 {
  color: var(--primary-dark); font-size: 18px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.result-card .match-badge { font-size: 12px; background: var(--primary); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 400; }
.result-card p { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.result-card .hit-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.result-card .hit-list span {
  font-size: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 2px 8px; color: var(--primary);
}
.result-card .go-btn {
  font-size: 13px; color: #fff; background: var(--primary); border: none;
  border-radius: 8px; padding: 7px 16px; cursor: pointer; transition: .2s;
}
.result-card .go-btn:hover { background: var(--primary-dark); }
.search-empty { text-align: center; color: var(--text-light); padding: 26px 0; }
.search-empty .hot-chip { color: var(--primary); background: var(--primary-light); border-color: var(--primary-light); }

/* ==================== 11) 联系我们 ==================== */
#contact { background: linear-gradient(120deg, #31363c 0%, #1e1e1e 100%); }
#contact .section-head h2 { color: #fff; }
#contact .section-head h2::after { background: var(--primary); }
#contact .section-head p { color: rgba(255, 255, 255, .8); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.contact-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: none; color: #fff;
}
.contact-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.contact-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.contact-card p { font-size: 15px; font-weight: 600; }
.contact-card p.muted { font-size: 12px; color: rgba(255, 255, 255, .7); font-weight: 400; margin-top: 4px; }
.contact-card a { color: #f8b59b; }
.contact-qr { border-color: rgba(255, 255, 255, .4); }

/* 资质证照（2026-08-24 新增素材） */
.credential-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); gap: 22px; justify-content: center; }
.credential-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); text-align: center; margin: 0; }
.credential-card img { width: 100%; height: auto; border-radius: calc(var(--radius) - 4px); border: 1px solid var(--border); }
.credential-card figcaption { font-size: 13px; color: var(--text-light); margin-top: 12px; line-height: 1.7; }

/* 客服微信二维码 */
.contact-qr { width: 150px; max-width: 70%; height: auto; border-radius: 10px; border: 1px solid var(--border); margin: 6px auto 4px; display: block; }

/* ==================== 12) 页脚 / 返回顶部 ==================== */
.site-footer { background: #1e1e1e; color: #999; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.1fr .8fr; gap: 36px; padding: 52px 20px; }
.footer-grid h3 { color: #fff; font-size: 16px; margin-bottom: 14px; position: relative; padding-bottom: 8px; }
.footer-grid h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--primary); }
.footer-about p { font-size: 13px; line-height: 1.9; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; transition: color .2s; }
.footer-nav a:hover { color: var(--primary); }
.footer-kw p { font-size: 13px; line-height: 2; }
.footer-qr { text-align: center; }
.footer-qr img { width: 120px; height: 120px; object-fit: contain; background: #fff; border-radius: 8px; padding: 6px; }
.footer-qr p { font-size: 12px; color: #999; margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0; }
.footer-bottom p { font-size: 12px; text-align: center; color: #777; }

.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: var(--primary); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); }

/* ==================== 13) 滚动淡入动画 ====================
   说明：仅当 <html> 带 .js 类时生效（index.html 顶部内联脚本添加），
   因此禁用 JS 或脚本加载失败时内容始终可见，不影响可用性。 */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ==================== 14) 响应式适配 ==================== */
/* 桌面窄屏（≤1360px）导航项过多，改用汉堡菜单，避免横向滚动 */
@media (max-width: 1360px) {
  .navlist { position: relative; }
  .main-nav { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; position: absolute; top: 52px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1); gap: 2px; z-index: 110;
  }
  .main-nav.open a { padding: 12px; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; }
}

@media (max-width: 1024px) {
  .navlist { position: relative; }
  .main-nav { display: none; }
  .nav-search { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; position: absolute; top: 52px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1); gap: 2px; z-index: 110;
  }
  .main-nav.open a { padding: 12px; font-size: 15px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .brand-text { font-size: 13px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
}
@media (max-width: 768px) {
  .topbar-inner { justify-content: center; height: 34px; }
  .topbar-inner > span { display: none; }
  .topbar .nav-search { display: none; }
  .header-main { padding: 12px 16px; }
  .brand-logo { height: 44px; width: 44px; }
  .brand-text { display: none; }
  .top-tel .tel-icon { font-size: 24px; }
  .top-tel .tel-num { font-size: 17px; }
  .top-tel .tel-label, .top-tel .tel-sub { display: none; }
  .hero { padding-bottom: 84px; }
  .hero-slides { height: 360px; }
  .hero-title { font-size: 26px; letter-spacing: 1px; }
  .hero-sub { font-size: 15px; }
  .hero-arrow { width: 34px; height: 34px; font-size: 16px; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-search { flex-direction: column; padding: 10px; }
  .btn-search { width: 100%; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat strong { font-size: 28px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .search-bar { flex-direction: column; }
  .search-bar .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==================== 15) 无障碍与降级 ==================== */
/* 用户偏好减少动效时，关闭平滑滚动与动画 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* 老浏览器不支持 aspect-ratio 时，改用固定高度兜底 */
@supports not (aspect-ratio: 4 / 3) {
  .gallery-item { height: 220px; }
  .about-media img { height: 320px; }
}

/* ==================== 16) 企业荣誉条 ==================== */
.honors { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.honors-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 22px 20px; }
.honor-item {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; padding: 8px 18px; font-size: 14px; letter-spacing: .5px;
}

/* ==================== 17) 发展历程时间线 ==================== */
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; position: relative;
}
.tl-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; box-shadow: var(--shadow); position: relative;
  border-top: 4px solid var(--primary);
}
.tl-year {
  display: inline-block; background: var(--primary); color: #fff; font-weight: 700;
  font-size: 14px; border-radius: 999px; padding: 2px 14px; margin-bottom: 10px;
}
.tl-item h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 6px; }
.tl-item p { font-size: 13px; color: var(--text-light); }

/* ==================== 18) 合作客户 ==================== */
.clients-lead { text-align: center; color: var(--text-light); font-size: 15px; margin-bottom: 26px; }
.client-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-chips span {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 22px; font-size: 15px; font-weight: 600; color: var(--primary-dark);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.client-chips span:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ==================== 19) 页脚热线 ==================== */
.footer-tel { margin-top: 10px; font-size: 14px; }
.footer-tel a { color: #f8b59b; font-weight: 700; }


/* ==================== 21) 公司动态 / 行业资讯 ==================== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.news-block { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.news-block-title { font-size: 18px; color: var(--primary-dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); }
.news-list { list-style: none; }
.news-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: none; }
.news-date { flex-shrink: 0; color: var(--text-light); font-size: 12px; background: var(--primary-light); border-radius: 6px; padding: 3px 8px; align-self: flex-start; margin-top: 3px; white-space: nowrap; }
.news-body h4 { font-size: 15px; color: var(--text); line-height: 1.5; }
.news-body h4 a { color: var(--primary); }
.news-body h4 a:hover { text-decoration: underline; }
.news-body p { font-size: 13px; color: var(--text-light); margin-top: 4px; line-height: 1.7; }
.news-empty { color: var(--text-light); font-size: 13px; padding: 8px 0; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ==================== 22) 内容编辑工具（站长自助改写） ==================== */
#editFab {
  position: fixed; right: 24px; bottom: 96px; z-index: 120;
  background: var(--primary); color: #fff; border: none; border-radius: 999px;
  padding: 10px 16px; font-size: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(214,72,25,.4);
}
#editFab:hover { background: var(--primary-dark); }
#editToolbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 130;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 8px 12px; gap: 6px;
  display: flex; flex-wrap: wrap; justify-content: center; max-width: 96vw;
}
#editToolbar button {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; white-space: nowrap;
}
#editToolbar button:hover { background: var(--primary-light); border-color: var(--primary); }
body.edit-mode [data-edit] { outline: 1px dashed #f59e0b; outline-offset: 2px; cursor: text; border-radius: 4px; }
body.edit-mode [data-edit]:hover { background: rgba(245,158,11,.08); }
body.edit-mode [data-edit-img] { outline: 2px dashed var(--primary); outline-offset: 2px; cursor: pointer; }
body.edit-mode .news-edit { position: relative; padding: 8px 34px 8px 8px; border: 1px dashed #f59e0b; border-radius: 8px; margin-bottom: 8px; background: #fffdf6; }
body.edit-mode .news-edit [contenteditable] { outline: 1px dashed #f59e0b; outline-offset: 1px; cursor: text; }
.news-del { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: none; background: #e74c3c; color: #fff; border-radius: 50%; font-size: 12px; line-height: 1; cursor: pointer; }
.news-del:hover { background: #c0392b; }
.news-add { margin-top: 8px; border: 1px dashed var(--primary); background: #fff; color: var(--primary); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.news-add:hover { background: var(--primary-light); }
@media (max-width: 768px) {
  #editFab { right: 14px; bottom: 84px; padding: 8px 12px; font-size: 13px; }
  #editToolbar { border-radius: 12px; padding: 8px; }
}


/* ==================== 23) 产品展示（三大业务） ==================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card h3 { font-size: 19px; color: var(--primary-dark); padding: 18px 20px 4px; }
.product-cat { font-size: 12px; color: var(--accent); background: #fff7e6; display: inline-block; margin: 0 20px 8px; padding: 3px 10px; border-radius: 999px; }
.product-list { list-style: none; padding: 0 20px 20px; flex: 1; }
.product-list li { position: relative; padding-left: 18px; font-size: 14px; color: var(--text); line-height: 1.9; }
.product-list li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); font-size: 12px; top: 2px; }
@media (max-width: 992px) { .product-grid { grid-template-columns: 1fr; } }

/* ==================== 24) 客户服务场景 ==================== */
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.scenario-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.scenario-card h3 { font-size: 18px; color: var(--primary-dark); padding: 16px 20px 6px; }
.scenario-card p { font-size: 14px; color: var(--text-light); padding: 0 20px 20px; line-height: 1.8; }
.scenario-card img.case-logos { aspect-ratio: auto; object-fit: contain; background: #fff; border-top: 1px solid var(--border); }
@media (max-width: 992px) { .scenario-grid { grid-template-columns: 1fr; } }

/* ==================== 25) 工作流程：总览 + 工序标题 ==================== */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.flow-item { background: var(--primary-light); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.flow-item .flow-no { display: inline-block; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.flow-item h3 { font-size: 15px; color: var(--primary-dark); margin-bottom: 4px; }
.flow-item p { font-size: 12px; color: var(--text-light); }
.process-title { text-align: center; font-size: 18px; color: var(--primary-dark); margin: 0 0 22px; }
@media (max-width: 992px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow-grid { grid-template-columns: 1fr; } }

/* ==================== 26) 质检保障 ==================== */
.quality-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.quality-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 14px; text-align: center; box-shadow: var(--shadow); }
.quality-item .q-icon { font-size: 26px; display: block; margin-bottom: 6px; }
.quality-item h4 { font-size: 14px; color: var(--text); margin-bottom: 4px; }
.quality-item p { font-size: 12px; color: var(--text-light); }
@media (max-width: 992px) { .quality-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .quality-strip { grid-template-columns: 1fr; } }

/* ==================== 27) 专业团队 ==================== */
.team-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; }
.team-text h3 { font-size: 20px; color: var(--primary-dark); margin: 18px 0 8px; }
.team-text h3:first-child { margin-top: 0; }
.team-text p, .team-text li { font-size: 14px; line-height: 1.9; color: var(--text); }
.team-text ul { list-style: none; margin-top: 6px; }
.team-text ul li { position: relative; padding-left: 18px; }
.team-text ul li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); }
.team-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 992px) { .team-grid { grid-template-columns: 1fr; } }


/* ==================== 28) V2 产品展示：套装餐具轮播 + 食堂特色餐具循环 ==================== */
.version-note { background: var(--primary); color: #fff; text-align: center; font-size: 12px; padding: 6px 12px; }
.version-note a { color: #fff; text-decoration: underline; }
.product-slider-title { text-align: center; font-size: 20px; color: var(--primary-dark); margin: 8px 0 22px; }
/* 套装餐具：12 图无缝循环跑马灯 */
.set-marquee { overflow: hidden; max-width: 1200px; margin: 0 auto; padding: 6px 0; }
.set-track { display: flex; gap: 18px; width: max-content; animation: featureScroll 40s linear infinite; }
.set-marquee:hover .set-track { animation-play-state: paused; }
.set-card { width: 300px; flex-shrink: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.set-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.set-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.set-card:hover .set-img img { transform: scale(1.05); }
.set-info { padding: 14px 16px; background: #fff; border-top: 3px solid var(--primary); }
.set-info h4 { font-size: 18px; color: var(--primary-dark); margin-bottom: 6px; }
.set-cuisine { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.set-use { font-size: 12px; color: var(--text-light); }

/* 食堂特色餐具：无缝循环跑马灯 */
.feature-marquee { overflow: hidden; max-width: 1200px; margin: 0 auto; padding: 6px 0; }
.feature-track { display: flex; gap: 18px; width: max-content; animation: featureScroll 30s linear infinite; }
.feature-marquee:hover .feature-track { animation-play-state: paused; }
.feature-card { width: 260px; flex-shrink: 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.feature-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.feature-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.feature-card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }
.feature-use { display: inline-block; font-size: 12px; background: var(--primary-light); color: var(--primary-dark); border-radius: 999px; padding: 4px 12px; }
@keyframes featureScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.feature-tip { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 14px; }
@media (max-width: 768px) {
  .feature-card { width: 220px; }
  .set-card { width: 240px; }
}


/* ==================== 29) V2 产品卡编辑（编辑模式） ==================== */
body.edit-mode .set-track, body.edit-mode .feature-track { animation: none !important; flex-wrap: wrap; width: 100%; }
body.edit-mode .set-marquee, body.edit-mode .feature-marquee { overflow: visible; }
.prod-add { display: inline-block; margin: 8px auto 0; border: 1px dashed var(--primary); background: #fff; color: var(--primary); border-radius: 8px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.prod-add:hover { background: var(--primary-light); }
body.edit-mode .prod-edit-card { display: flex; gap: 12px; background: #fffdf6; border: 1px dashed #f59e0b; border-radius: 10px; padding: 10px; margin-bottom: 10px; position: relative; align-items: flex-start; width: 100%; }
body.edit-mode .prod-edit-card .prod-img-edit { position: relative; width: 150px; flex-shrink: 0; }
body.edit-mode .prod-edit-card .prod-img-edit img { width: 150px; height: 112px; object-fit: cover; border-radius: 8px; border: 1px dashed #f59e0b; }
body.edit-mode .prod-edit-card .prod-img-edit .feature-icon { font-size: 40px; display: block; text-align: center; border: 1px dashed #f59e0b; border-radius: 8px; padding: 24px 0; width: 150px; cursor: text; }
body.edit-mode .prod-edit-card .prod-img-btn { position: absolute; right: 4px; bottom: 4px; font-size: 11px; padding: 2px 8px; border: none; border-radius: 4px; background: var(--primary); color: #fff; cursor: pointer; }
body.edit-mode .prod-edit-card .prod-fields { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.edit-mode .prod-edit-card label { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
body.edit-mode .prod-edit-card input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 5px 8px; font-size: 13px; outline: none; min-width: 0; }
body.edit-mode .prod-edit-card .prod-del { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border: none; background: #e74c3c; color: #fff; border-radius: 50%; font-size: 11px; cursor: pointer; line-height: 1; }
body.edit-mode .prod-edit-card .prod-del:hover { background: #c0392b; }
@media (max-width: 768px) {
  body.edit-mode .prod-edit-card { flex-direction: column; }
  body.edit-mode .prod-edit-card .prod-img-edit { width: 100%; }
  body.edit-mode .prod-edit-card .prod-img-edit img { width: 100%; height: 160px; }
  body.edit-mode .prod-edit-card .prod-img-edit .feature-icon { width: 100%; }
}


/* ==================== 30) 新媒体矩阵 ==================== */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 20px; }
.media-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow); }
.media-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.media-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.media-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.media-card .muted { font-size: 12px; color: var(--text-light); }
.media-qr { width: 120px; height: 120px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px; margin: 8px auto 6px; }
@media (max-width: 992px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .media-grid { grid-template-columns: 1fr; } }


/* ==================== 31) 关于我们下拉导航 ==================== */
.main-nav .nav-item { position: relative; display: block; }
.main-nav .nav-item > a { border-right: 1px solid #e7e7e7; }
.nav-item .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--primary); box-shadow: 0 12px 24px rgba(0,0,0,.12); z-index: 130; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.nav-item .dropdown a { display: block; padding: 10px 16px !important; font-size: 14px !important; color: #333 !important; border-right: none !important; border-bottom: 1px solid var(--border) !important; white-space: nowrap; }
.nav-item .dropdown a:last-child { border-bottom: none !important; }
.nav-item .dropdown a:hover { background: var(--primary) !important; color: #fff !important; }
@media (max-width: 1360px) {
  .nav-item .dropdown { position: static; display: block; border: none; box-shadow: none; background: #fafafa; }
  .nav-item .dropdown a { padding: 10px 30px !important; }
}

/* ==================== 32) 检验室 ==================== */
.lab-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.lab-text p { font-size: 15px; line-height: 1.9; color: var(--text); margin-bottom: 14px; }
.lab-text strong { color: var(--primary); }
.lab-list { list-style: none; }
.lab-list li { font-size: 14px; line-height: 2; color: var(--text); border-bottom: 1px dashed var(--border); }
.lab-list li:last-child { border-bottom: none; }
.lab-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 992px) { .lab-grid { grid-template-columns: 1fr; } }

/* ==================== 33) 企业文化 ==================== */
.culture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.culture-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; text-align: center; box-shadow: var(--shadow); }
.culture-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.culture-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 10px; }
.culture-card p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.culture-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 21/9; object-fit: cover; }
@media (max-width: 992px) { .culture-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .culture-grid { grid-template-columns: 1fr; } }

/* ==================== 34) 政府监督 ==================== */
.supervision-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.supervision-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; text-align: center; box-shadow: var(--shadow); }
.sup-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.supervision-card h3 { font-size: 17px; color: var(--primary-dark); margin-bottom: 10px; }
.supervision-card p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
@media (max-width: 992px) { .supervision-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .supervision-grid { grid-template-columns: 1fr; } }

/* ==================== 35) 生产车间工艺流程示意图 ==================== */
.process-diagram { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; box-shadow: var(--shadow); }
.p-row { display: flex; align-items: stretch; justify-content: center; gap: 6px; margin-bottom: 14px; }
.p-row:last-child { margin-bottom: 0; }
.p-row-rev { flex-direction: row-reverse; }
.p-step { flex: 1; min-width: 0; background: var(--primary-light); border: 1px solid #f3c1ac; border-radius: 10px; padding: 12px 6px; text-align: center; }
.p-step .p-no { display: block; font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 2px; }
.p-step .p-icon { font-size: 20px; display: block; margin-bottom: 2px; }
.p-step h4 { font-size: 13px; color: var(--primary-dark); margin-bottom: 3px; white-space: nowrap; }
.p-step p { font-size: 10.5px; color: var(--text-light); line-height: 1.4; }
.p-arrow { align-self: center; color: var(--primary); font-size: 18px; font-weight: 700; flex-shrink: 0; }
@media (max-width: 992px) {
  .p-row { flex-wrap: wrap; }
  .p-row-rev { flex-direction: row; }
  .p-step { flex: 1 1 30%; }
  .p-arrow { display: none; }
}
@media (max-width: 480px) { .p-step { flex: 1 1 45%; } }


/* ===== 在线留言 / 询价表单 ===== */
.inquiry-wrap { margin-top: 34px; background: #fff; border-radius: 14px; padding: 26px 24px; box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.inquiry-title { margin: 0 0 6px; font-size: 20px; color: #222; }
.inquiry-sub { margin: 0 0 18px; font-size: 13px; color: #888; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.inquiry-field { display: flex; flex-direction: column; gap: 6px; }
.inquiry-field.full { grid-column: 1 / -1; }
.inquiry-field label { font-size: 13px; color: #555; font-weight: 600; }
.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea { border: 1px solid #ddd; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #333; background: #fafafa; transition: border-color .2s, box-shadow .2s; font-family: inherit; }
.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); background: #fff; }
.inquiry-field textarea { resize: vertical; min-height: 84px; }
.inquiry-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inquiry-actions .btn { padding: 11px 30px; font-size: 15px; border-radius: 8px; }
.inquiry-note { font-size: 12px; color: #999; }
@media (max-width: 640px) {
  .inquiry-grid { grid-template-columns: 1fr; }
}

/* ===== 轻提示 Toast ===== */
.xyk-toast { position: fixed; left: 50%; top: 18%; transform: translateX(-50%) translateY(-12px); background: rgba(0,0,0,.85); color: #fff; font-size: 14px; line-height: 1.6; padding: 12px 20px; border-radius: 10px; max-width: 86vw; text-align: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.xyk-toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ===== 移动端悬浮咨询条 ===== */
.float-bar { display: none; }
@media (max-width: 768px) {
  .float-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; box-shadow: 0 -2px 12px rgba(0,0,0,.18); }
  .float-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 0; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; }
  .float-tel { background: var(--primary); }
  .float-tel:hover { background: var(--primary-dark); }
  .float-wx { background: #07c160; }
  body { padding-bottom: 48px; }
  .back-top { bottom: 64px; }
}


/* ===== 图库图片管理（编辑模式：替换 / 删除 / 恢复） ===== */
.gallery-controls { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 6; }
.gallery-controls .g-btn { background: rgba(0,0,0,.7); color: #fff; border: none; border-radius: 8px; padding: 7px 10px; font-size: 12px; cursor: pointer; line-height: 1; transition: background .2s; }
.gallery-controls .g-btn:hover { background: var(--primary); }
.gallery-item.gallery-removed { opacity: .38; filter: grayscale(1); outline: 2px dashed #c0392b; }
.gallery-item.gallery-hidden { display: none !important; }


/* ===== 常见问题 FAQ（GEO 新增 2026-08-26） ===== */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 15px; color: #222; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::after { content: '+'; flex: 0 0 auto; font-size: 22px; line-height: 1; color: var(--primary); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 18px 16px; color: #555; line-height: 1.9; font-size: 14px; }
.faq-item .faq-answer p { margin: 0; }
.faq-note { margin-top: 18px; text-align: center; color: #888; font-size: 13px; }
.faq-note a { color: var(--primary); font-weight: 600; }

/* ==================== 2026-10-19 工厂实景三大入口 / 新媒体备注 ==================== */
.gallery-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.gallery-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 18px 18px 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.gallery-entry:hover, .gallery-entry:focus-visible { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-lg); outline: none; }
.gallery-entry-icon { font-size: 24px; line-height: 1; }
.gallery-entry-title { font-size: 16px; font-weight: 700; color: var(--primary-dark); }
.gallery-entry-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.gallery-entry-go { font-size: 13px; font-weight: 600; color: var(--primary); }
.media-note { font-size: 12px; color: #8a949c; margin: 2px 0 6px; letter-spacing: .02em; }
.media-link { display: inline-block; margin-top: 10px; padding: 8px 18px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 13px; text-decoration: none; transition: opacity .2s ease; }
.media-link[hidden] { display: none; }
.media-link:hover { opacity: .88; }
@media (max-width: 992px) {
  .gallery-entries { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-entries { grid-template-columns: 1fr; gap: 10px; }
  .gallery-entry { padding: 14px 14px 12px; }
  .gallery-filters { gap: 8px; margin-bottom: 20px; }
  .gallery-filters .filter-btn { padding: 6px 14px; font-size: 13px; }
  .media-grid { grid-template-columns: 1fr; }
}

/* ==================== 2026-10-19 新媒体矩阵 · 双组布局 ==================== */
.media-group { margin-bottom: 34px; }
.media-group-head { text-align: center; margin-bottom: 18px; }
.media-group-head h3 { font-size: 22px; font-weight: 800; color: var(--primary-dark); }
.media-group-head p { font-size: 14px; color: var(--text-light); margin-top: 6px; }
.media-group-note { display: inline-block; font-size: 12px; color: #8a949c; border: 1px dashed var(--border); border-radius: 999px; padding: 3px 12px; margin-top: 8px; }
.media-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.media-id { font-size: 12px; color: #9aa3ab; margin: 4px 0 10px; word-break: break-all; }
.media-copy { margin-top: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 13px; cursor: pointer; transition: .2s; font-family: inherit; }
.media-copy:hover, .media-copy.copied { background: var(--primary); color: #fff; }
.media-extra { display: flex; justify-content: center; margin-top: 8px; }
.media-extra .media-card { width: 100%; max-width: 320px; }
@media (max-width: 992px) { .media-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .media-grid-3 { grid-template-columns: 1fr; } }

/* ==================== 2026-10-19 三大实拍入口配图 ==================== */
.gallery-entry { padding: 0; overflow: hidden; }
.gallery-entry-img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease; }
.gallery-entry:hover .gallery-entry-img, .gallery-entry:focus-visible .gallery-entry-img { transform: scale(1.04); }
.gallery-entry-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 14px 16px 14px; box-sizing: border-box; }
@media (max-width: 640px) {
  .gallery-entry-body { padding: 12px 14px 12px; }
  .gallery-entry-img { aspect-ratio: 16/9; }
}
