/* ============================================================
   金大海数控官网 · 全站样式（参考明州智能 fsmzjx.com 重制）
   技术：纯 CSS（零依赖、零构建），国内加载最快
   主色：中国红 #e60012 + 黑色导航条，白底浅灰分区
   ============================================================ */

/* ---------- 1. 设计变量（改这里就能全站换色） ---------- */
:root {
  --red: #e60012;         /* 主红：按钮/高亮/激活态 */
  --red-d: #c3000f;       /* 深红：悬停/按下态 */
  --dark: #141414;        /* 黑：导航条/页脚/深色区块 */
  --dark-2: #1e1e1e;      /* 黑层次 */
  --ink: #222222;         /* 正文深色 */
  --gray: #6b6b6b;        /* 次要文字 */
  --line: #e6e6e6;        /* 分割线 */
  --bg-soft: #f5f5f6;     /* 浅灰底区块 */
  --radius: 8px;
  --shadow-s: 0 2px 10px rgba(0, 0, 0, .07);
  --shadow-m: 0 12px 30px rgba(0, 0, 0, .12);
  --shadow-l: 0 22px 50px rgba(0, 0, 0, .18);
  --container: 1200px;
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
               -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  background: #fff;
  /* 头部（品牌条+黑导航）固定，避免锚点被遮 */
  padding-top: 126px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
strong, b { color: inherit; }

.hide-sm { display: inline; }

/* 通用容器 */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* 通用小按钮尺寸 */
.btn { display: inline-block; text-align: center; font-weight: 600; letter-spacing: .5px; }

/* ---------- 3. 顶部品牌条（白底：LOGO + 红色标语 + 热线） ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.logo img { height: 52px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.35; }
.brand-sub { font-size: 14px; color: #444; letter-spacing: 1px; }
.brand-slogan {
  font-size: 21px; font-weight: 800; color: var(--red); letter-spacing: 1px;
  white-space: nowrap;
}
.header-cta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-tel { text-align: right; line-height: 1.3; }
.header-tel small { display: block; font-size: 12px; color: var(--gray); }
.header-tel b { font-size: 22px; font-weight: 800; color: var(--red); letter-spacing: .5px; }

/* ---------- 4. 黑色导航条 ---------- */
.nav-bar { background: var(--dark); }
.nav-bar .container { display: flex; align-items: stretch; justify-content: space-between; }
.nav { display: flex; align-items: stretch; flex-wrap: wrap; }
.nav > a {
  display: flex; align-items: center; padding: 0 30px;
  color: #fff; font-size: 15.5px; letter-spacing: 1px;
  transition: background .2s, color .2s;
}
.nav > a:hover { background: var(--red); color: #fff; }
.nav > a.active { background: var(--red); color: #fff; font-weight: 700; }
.nav-extra { display: flex; align-items: center; }

/* 头部吸附阴影 */
.header.is-stuck { box-shadow: 0 4px 18px rgba(0,0,0,.16); }

/* 汉堡按钮（移动端） */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 10px 9px;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. 按钮 ---------- */
.btn {
  padding: 12px 30px; font-size: 15.5px; border-radius: 4px;
  border: 1px solid transparent; transition: all .22s; line-height: 1.4;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-line { background: transparent; color: var(--red); border-color: var(--red); }
.btn-line:hover { background: var(--red); color: #fff; }
.btn-lg { padding: 15px 40px; font-size: 16.5px; }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }

/* ---------- 6. 轮播 Banner ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.86) 6%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.18) 78%);
}
.slide-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.slide-kicker {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: #ff5c5c; font-weight: 700; margin-bottom: 14px;
}
.slide-inner h1, .slide-inner h2 {
  color: #fff; font-size: 44px; font-weight: 800; line-height: 1.3;
  margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.slide-inner h1 em, .slide-inner h2 em { font-style: normal; color: var(--red); text-shadow: none; }
.slide-inner p {
  color: rgba(255,255,255,.88); font-size: 16.5px; max-width: 34em;
  margin-bottom: 30px; line-height: 1.8;
}
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.45); font-size: 22px; line-height: 1;
  transition: all .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 3;
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 30px; height: 4px; border: none; border-radius: 2px;
  background: rgba(255,255,255,.4); transition: all .25s; padding: 0;
}
.hero-dots button.is-active { background: var(--red); width: 44px; }

/* ---------- 7. 数据条（黑底红数字，紧跟 banner） ---------- */
.stat-strip { background: var(--dark); color: #fff; padding: 38px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 46px; width: 1px; background: rgba(255,255,255,.14);
}
.stat-num { font-size: 42px; font-weight: 800; color: var(--red); line-height: 1.15; }
.stat-num small { font-size: 18px; margin-left: 3px; color: var(--red); }
.stat-item p { color: rgba(255,255,255,.62); font-size: 14px; margin-top: 4px; }

/* ---------- 8. 通用区块 ---------- */
.section { padding: 80px 0; }
.section.soft {
  background: var(--bg-soft);
  /* 参考站浅灰底 + 细斜纹质感 */
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.014) 0 2px, transparent 2px 9px);
}
.section.tight { padding: 56px 0; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-kicker {
  display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: #b3b3b3; font-weight: 700; margin-bottom: 10px;
}
.sec-title { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.sec-title::after {
  content: ""; display: block; width: 46px; height: 3px; background: var(--red);
  margin: 16px auto 0; border-radius: 2px;
}
.sec-desc { color: var(--gray); font-size: 15px; margin-top: 14px; }

/* 通用栅格 */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 9. 产品系列大卡（首页四大系列，2×2） ---------- */
.series-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.series-card {
  position: relative; display: block; min-height: 300px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
}
.series-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s ease;
}
.series-card:hover img { transform: scale(1.06); }
.series-card .ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 24%, rgba(0,0,0,.36) 60%, rgba(0,0,0,.05));
}
.series-card .info { position: absolute; left: 26px; right: 26px; bottom: 24px; color: #fff; }
.series-card .en {
  font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: #ff5c5c; margin-bottom: 8px; font-weight: 700;
}
.series-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.series-card p { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 12px; }
.series-card .go { font-size: 13.5px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.series-card .go::after { content: "→"; transition: transform .25s; }
.series-card:hover .go::after { transform: translateX(5px); }
.series-card:hover { box-shadow: var(--shadow-m); }

/* ---------- 10. 应用领域切换（左列表右大图） ---------- */
.app-wrap {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-s);
}
.app-list { display: flex; flex-direction: column; }
.app-tab {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 21px 26px; border-bottom: 1px solid var(--line);
  background: #fff; text-align: left; transition: all .25s;
}
.app-tab:last-child { border-bottom: 0; }
.app-tab .no { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: 1px; min-width: 24px; }
.app-tab .t { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.app-tab:hover { background: #fafafa; }
.app-tab.is-active { background: var(--red); }
.app-tab.is-active .no { color: rgba(255,255,255,.7); }
.app-tab.is-active .t { color: #fff; font-weight: 700; }
.app-panels { position: relative; min-height: 460px; }
.app-panel { display: none; position: absolute; inset: 0; }
.app-panel.is-active { display: block; animation: fadeUp .45s ease both; }
.app-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.app-panel .ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.26) 55%, rgba(0,0,0,.02));
}
.app-panel .info { position: absolute; left: 34px; right: 34px; bottom: 30px; color: #fff; }
.app-panel .info h3 { font-size: 23px; font-weight: 800; margin-bottom: 10px; }
.app-panel .info p { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.85; max-width: 34em; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 11. 痛点区（参考站：白底编号卡 + 红色咨询横条） ---------- */
.pain { background: #fff; padding: 84px 0; }
.pain .sec-title::after { margin-left: auto; margin-right: auto; }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 16px; transition: all .3s;
}
.pain-card:hover { border-color: var(--red); box-shadow: var(--shadow-s); transform: translateY(-4px); }
.pain-card .no { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1; flex: 0 0 auto; opacity: .85; }
.pain-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.pain-card p { font-size: 13.5px; color: var(--gray); line-height: 1.8; }
.pain-solve {
  margin-top: 46px;
  background: linear-gradient(90deg, var(--red), var(--red-d));
  border-radius: var(--radius); padding: 30px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: #fff; box-shadow: 0 14px 34px rgba(230,0,18,.28);
}
.pain-solve h3 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.pain-solve h3 b { color: #ffd6d6; }
.pain-solve p { color: rgba(255,255,255,.82); font-size: 14px; }
.pain-solve .right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pain-solve .hot { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.pain-solve .btn-primary { background: #fff; color: var(--red); }
.pain-solve .btn-primary:hover { background: #ffe9e9; transform: translateY(-1px); }

/* ---------- 12. 为什么选择（图文交替） ---------- */
.why-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px;
  align-items: center; margin-bottom: 64px;
}
.why-item:last-child { margin-bottom: 0; }
.why-item.rev .why-img { order: 2; }
.why-img img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-m);
  aspect-ratio: 16 / 10; object-fit: cover;
}
.why-txt .no { font-size: 46px; font-weight: 800; color: rgba(230,0,18,.14); line-height: 1; }
.why-txt h3 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 8px 0 14px; }
.why-txt p { color: var(--gray); font-size: 15.5px; line-height: 1.9; }

/* ---------- 13. 客户案例卡片 ---------- */
.case-card {
  position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-s); background: #fff;
  transition: all .3s;
}
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.case-card:hover img { transform: scale(1.05); }
.case-info { padding: 18px 20px; background: #fff; }
.case-info h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin-bottom: 4px; transition: color .25s; }
.case-card:hover .case-info h3 { color: var(--red); }
.case-info p { font-size: 13px; color: var(--gray); }

/* ---------- 14. 新闻列表（日期块式，参考站） ---------- */
.news-list { max-width: 920px; margin: 0 auto; }
.news-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 24px 10px; border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.news-item:hover { background: var(--bg-soft); }
.news-date {
  flex: 0 0 76px; text-align: center; background: var(--bg-soft);
  border-radius: 6px; padding: 12px 0 10px; transition: background .25s;
}
.news-item:hover .news-date { background: var(--red); }
.news-date b { display: block; font-size: 24px; font-weight: 800; color: var(--red); line-height: 1.1; transition: color .25s; }
.news-item:hover .news-date b { color: #fff; }
.news-date span { font-size: 12px; color: var(--gray); transition: color .25s; }
.news-item:hover .news-date span { color: rgba(255,255,255,.8); }
.news-body h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.5; transition: color .25s; }
.news-item:hover .news-body h3 { color: var(--red); }
.news-body p { font-size: 13.5px; color: var(--gray); line-height: 1.75; }

/* ---------- 15. 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner-logo {
  height: 96px; border: 1px solid var(--line); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #b0b0b0; font-size: 14px; font-weight: 600; letter-spacing: 1px;
  background: #fff; transition: all .3s;
}
.partner-logo:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-s); }

/* ---------- 16. 产品中心页 ---------- */
.filter { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 11px 30px; border: 1px solid #d6d6d6; background: #fff;
  border-radius: 4px; font-size: 15px; color: var(--ink); transition: all .22s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }

.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s;
}
.prod-card:hover { border-color: transparent; box-shadow: var(--shadow-m); transform: translateY(-4px); }
.prod-thumb { position: relative; overflow: hidden; }
.prod-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prod-tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 3px; letter-spacing: 1px;
}
.prod-body { padding: 20px 22px 24px; }
.prod-body h3 { font-size: 18.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.prod-body > p { font-size: 13.5px; color: var(--gray); line-height: 1.8; margin-bottom: 14px; }
.prod-spec { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.prod-spec span {
  font-size: 12px; color: var(--gray); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 3px 10px; border-radius: 3px;
}
.prod-more { font-size: 14px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.prod-more::after { content: "→"; transition: transform .25s; }
.prod-more:hover::after { transform: translateX(4px); }

/* ---------- 17. 关于我们页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-m); }
.about-badge {
  position: absolute; right: -16px; bottom: -22px;
  background: var(--red); color: #fff; padding: 18px 26px;
  border-radius: var(--radius); box-shadow: 0 14px 30px rgba(230,0,18,.3);
  text-align: center; line-height: 1.4;
}
.about-badge b { display: block; font-size: 30px; font-weight: 800; }
.about-badge span { font-size: 13px; color: rgba(255,255,255,.85); }
.about-text .sec-kicker { text-align: left; }
.about-text h2 { font-size: 27px; font-weight: 800; color: var(--ink); margin-bottom: 16px; line-height: 1.4; }
.about-text p { color: #4c4c4c; font-size: 15px; line-height: 1.9; margin-bottom: 12px; }

.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
  font-size: 14.5px; color: #4c4c4c; line-height: 1.7;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(230,0,18,.08); color: var(--red);
  font-size: 12px; font-weight: 800; text-align: center; line-height: 20px;
}

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.gallery > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.g-right { display: grid; gap: 18px; }
.g-right img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-s); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -25px; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--red);
}
.timeline h4 { font-size: 16.5px; color: var(--ink); margin-bottom: 4px; }
.timeline h4 b { color: var(--red); margin-right: 10px; }
.timeline p { font-size: 14px; color: var(--gray); line-height: 1.75; }

/* ---------- 18. 优势/流程/联系卡 ---------- */
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .3s; height: 100%;
}
.adv-card:hover { border-color: var(--red); box-shadow: var(--shadow-s); transform: translateY(-4px); }
.adv-num { font-size: 15px; font-weight: 800; color: var(--red); letter-spacing: 2px; margin-bottom: 12px; }
.adv-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(230,0,18,.08); color: var(--red);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* ---------- 19. CTA 通栏（红底） ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--red) 0%, var(--red-d) 100%);
  color: #fff; text-align: center; padding: 66px 0;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. 内页头部（黑底 + 面包屑） ---------- */
.page-hero {
  background: var(--dark);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 9px);
  color: #fff; padding: 56px 0 48px;
}
.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.page-hero h1::after { content: ""; display: block; width: 46px; height: 3px; background: var(--red); margin-top: 14px; border-radius: 2px; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 15px; max-width: 46em; }
.crumb { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.45); }
.crumb a { color: rgba(255,255,255,.75); transition: color .2s; }
.crumb a:hover { color: var(--red); }
.crumb span { margin: 0 8px; color: rgba(255,255,255,.3); }

/* ---------- 21. 留言表单 ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-m);
}
.contact-side { background: var(--dark); color: #fff; padding: 40px 36px; }
.contact-side h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.contact-side > p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-list .ico {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(230,0,18,.16); display: flex; align-items: center; justify-content: center;
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-size: 15px; color: #fff; }
.contact-list span { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 2px; }

.form-body { background: #fff; padding: 40px 36px; }
.form-body h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.form-sub { font-size: 13.5px; color: var(--gray); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  border: 1px solid #d9d9d9; border-radius: 4px; padding: 12px 14px;
  font-size: 15px; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,0,18,.1);
}
.field .tip { font-size: 12.5px; color: var(--red); min-height: 18px; margin-top: 5px; }
.field input.err, .field textarea.err { border-color: var(--red); background: #fff5f5; }

.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: var(--gray); }
.form-ok {
  display: none; margin-top: 18px; padding: 14px 18px;
  background: rgba(230,0,18,.06); border: 1px solid rgba(230,0,18,.35);
  border-radius: 6px; color: var(--red); font-size: 14.5px; font-weight: 600;
}
.form-ok.show { display: block; animation: fadeUp .4s ease both; }

/* ---------- 22. 厂区位置卡片 ---------- */
.map-box {
  background: linear-gradient(180deg, #fafbfc, #ffffff 45%); border: 1px solid #e3e6ea;
  border-radius: var(--radius); box-shadow: 0 2px 12px rgba(10,35,64,.05);
  min-height: 300px; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; text-align: center; padding: 34px 30px;
}
.map-box b { font-size: 16px; color: var(--ink); }
.map-box span { font-size: 13px; color: var(--gray); }

/* ---------- 23. 页脚 ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px;
}
.footer-logo img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-grid p { font-size: 13.5px; line-height: 1.85; }
.footer h4 {
  color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px;
  padding-left: 12px; border-left: 3px solid var(--red); line-height: 1.3;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; }
.footer-contact span { color: rgba(255,255,255,.4); flex: 0 0 34px; }
.footer-contact b { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-bottom a + a::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--red); }

/* ---------- 24. 右侧悬浮工具条（参考站：电话/留言/回顶） ---------- */
.side-tool {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.st-btn {
  width: 48px; height: 48px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); box-shadow: var(--shadow-s); transition: all .25s;
}
.st-btn svg { width: 22px; height: 22px; }
.st-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.to-top {
  position: fixed; right: 16px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-s); opacity: 0; visibility: hidden;
  transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   25. GEO 内容组件（给 AI 搜索读的模块）
   —— 速览事实卡 / 折叠问答 / 参数表 / 文章正文
   ============================================================ */

/* 25.1 公司速览（定义式摘要，AI 最常整段引用） */
.geo-summary {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-s);
}
.geo-summary h2 { font-size: 21px; line-height: 1.5; margin-bottom: 10px; }
.geo-summary > p { color: #333; font-size: 15.5px; }
.geo-facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0 34px; margin-top: 20px;
}
.geo-facts > div {
  display: flex; gap: 12px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.geo-facts dt { flex: 0 0 88px; color: var(--gray); }
.geo-facts dd { color: var(--ink); font-weight: 600; }
.geo-facts dd a { color: var(--red); }

/* 25.2 折叠问答（details 语义化，零 JS，爬虫可读全文） */
.faq-list { max-width: 940px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(230,0,18,.35); box-shadow: var(--shadow-s); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 54px 18px 22px; font-weight: 700; font-size: 16.5px;
  color: var(--ink); line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--red); line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--red); }
.faq-a { padding: 0 22px 20px; color: #444; font-size: 15.2px; border-top: 1px solid #f0f0f0; padding-top: 14px; }
.faq-a p + p { margin-top: 8px; }
.faq-a strong { color: var(--ink); }
.faq-a ul { margin: 8px 0 0; }
.faq-a li { position: relative; padding-left: 16px; margin-bottom: 4px; }
.faq-a li::before { content: "·"; position: absolute; left: 4px; color: var(--red); font-weight: 700; }

/* 25.3 参数 / 对照表 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.data-table {
  width: 100%; min-width: 620px; border-collapse: collapse; background: #fff;
  font-size: 14.8px; box-shadow: var(--shadow-s); border-radius: var(--radius); overflow: hidden;
}
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--dark); color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: #fafafa; }
.data-table tbody tr:hover { background: rgba(230,0,18,.04); }
.data-table tbody th { font-weight: 700; color: var(--ink); background: #f7f7f8; white-space: nowrap; }
.data-table .em { color: var(--red); font-weight: 700; }

/* 25.4 文章页 */
.article-hero { background: var(--dark); color: #fff; padding: 46px 0 40px; }
.article-hero h1 { font-size: 30px; line-height: 1.45; margin: 10px 0 14px; }
.article-hero .meta { color: rgba(255,255,255,.62); font-size: 13.5px; }
.article-hero .meta span + span::before { content: "·"; margin: 0 8px; }
.article-body { max-width: 880px; margin: 0 auto; }
.article-body > p { font-size: 16.5px; line-height: 1.95; color: #333; margin-bottom: 18px; }
.article-body h2 {
  font-size: 23px; line-height: 1.5; margin: 42px 0 16px; padding-left: 14px;
  border-left: 4px solid var(--red);
}
.article-body h3 { font-size: 18.5px; margin: 26px 0 10px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 18px; }
.article-body li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 16px; color: #333; line-height: 1.85; }
.article-body ul > li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.article-body ol { counter-reset: n; }
.article-body ol > li { counter-increment: n; }
.article-body ol > li::before {
  content: counter(n); position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; text-align: center; line-height: 18px;
}
.article-body strong { color: #111; }
.article-body blockquote {
  background: #fff8f8; border-left: 3px solid var(--red); padding: 16px 20px;
  margin: 0 0 20px; color: #444; font-size: 15.5px; border-radius: 0 6px 6px 0;
}
.article-body .data-table { margin-bottom: 22px; }
.article-foot {
  margin-top: 44px; padding: 24px 26px; background: var(--bg-soft);
  border-radius: var(--radius); font-size: 15px; color: #444;
}
.article-foot b { color: var(--ink); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; font-weight: 700; font-size: 15.5px; line-height: 1.6; transition: all .25s;
}
.related a span { display: block; color: var(--gray); font-weight: 400; font-size: 13.5px; margin-top: 8px; }
.related a:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-s); }

/* ---------- 26. 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 26. 响应式 ---------- */
@media (max-width: 1080px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-slogan { font-size: 17px; }
  .nav > a { padding: 0 18px; }
}

@media (max-width: 900px) {
  body { padding-top: 78px; }
  .header-top { padding-top: 10px; padding-bottom: 10px; }
  .logo img { height: 42px; }
  .brand-sub { display: none; }
  .brand-slogan { font-size: 15px; white-space: normal; }
  .header-tel { display: none; }
  .header-cta .btn { display: none; }
  .burger { display: flex; }

  /* 导航折叠为抽屉（JS 切换 .nav.is-open） */
  .nav-bar { position: absolute; top: 100%; left: 0; right: 0; box-shadow: var(--shadow-m); }
  .nav { display: none; flex-direction: column; }
  .nav.is-open { display: flex; }
  .nav > a { padding: 15px 26px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav-extra { display: none; padding: 14px 26px 18px; }
  .nav.is-open ~ .nav-extra { display: flex; }

  .hero { height: auto; }
  .slide { position: relative; inset: auto; display: none; flex-direction: column; }
  .slide.is-active { display: flex; }
  .slide img { position: static; width: 100%; height: auto; object-fit: contain; background: #fff; }
  .slide-mask { display: none; }
  .slide-inner { height: auto; padding-top: 34px; padding-bottom: 30px; background: var(--dark); }
  .slide-inner h1, .slide-inner h2 { font-size: 30px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat-item + .stat-item::before { display: none; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 27px; }
  .app-wrap { grid-template-columns: 1fr; }
  .app-panels { min-height: 340px; }
  .why-item { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .why-item.rev .why-img { order: 0; }
  .series-grid { grid-template-columns: 1fr; }
  .series-card { min-height: 260px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 10px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .side-tool { display: none; }
}

@media (max-width: 640px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain-solve { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .pain-solve .right { width: 100%; }
  .pain-solve .btn { width: 100%; }
  .news-item { gap: 14px; padding: 20px 4px; }
  .news-date { flex: 0 0 62px; }
  .app-tab { padding: 16px 18px; }
  .app-panel .info { left: 20px; right: 20px; bottom: 20px; }
  .why-txt .no { font-size: 36px; }
  .why-txt h3 { font-size: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-arrow { display: none; }
  .hero-dots button { background: rgba(0,0,0,.18); }
  .hero-dots button.is-active { background: var(--red); }
  .slide-inner h1, .slide-inner h2 { font-size: 25px; }
  .slide-inner p { font-size: 14.5px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-body, .contact-side { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stat-num { font-size: 32px; }
  .brand-slogan { font-size: 14px; }
  .page-hero h1 { font-size: 27px; }

  /* GEO 组件移动端 */
  .geo-facts { grid-template-columns: 1fr; gap: 0; }
  .geo-summary { padding: 20px 18px; }
  .geo-summary h2 { font-size: 18px; }
  .faq-item summary { padding: 15px 46px 15px 16px; font-size: 15.5px; }
  .faq-a { padding: 12px 16px 16px; font-size: 14.8px; }
  .article-hero { padding: 32px 0 28px; }
  .article-hero h1 { font-size: 22px; }
  .article-body > p, .article-body li { font-size: 15.6px; }
  .article-body h2 { font-size: 19.5px; margin-top: 32px; }
  .related { grid-template-columns: 1fr; }

  /* 表格：手机端右侧加渐变，提示可左右滑动 */
  .table-scroll { position: relative; }
  .table-scroll::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 24px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.92));
    pointer-events: none;
  }
  .data-table { min-width: 580px; font-size: 14px; }
  .data-table th, .data-table td { padding: 11px 13px; }
  .brand-slogan { font-size: 13px; line-height: 1.3; }
}
