/* ==========================================================================
   靖江市志强通风设备厂 · 企业官网样式
   结构：1.设计变量 2.基础重置 3.通用组件 4.页头 5.首页 6.内页 7.页脚 8.响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #0b4f9e;
  --brand-dark: #08356b;
  --brand-lite: #1573d4;
  --brand-tint: #eaf2fb;
  --accent: #f26a21;
  --accent-tint: #fdf0e7;

  --ink: #101c2c;
  --ink-2: #3d4d61;
  --ink-3: #6b7a8d;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --dark: #0a1729;
  --dark-2: #0e2038;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 44, .06), 0 4px 12px rgba(16, 28, 44, .05);
  --shadow: 0 2px 4px rgba(16, 28, 44, .05), 0 14px 34px rgba(16, 28, 44, .09);
  --shadow-lg: 0 24px 60px rgba(8, 53, 107, .18);

  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid rgba(21, 115, 212, .55);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #fff; }

/* ---------- 3. 通用组件 ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* 仅屏幕阅读器可见（保留语义又不占版面） */
.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;
}

.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-lite);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }

.lead {
  font-size: 1.0625rem;
  color: var(--ink-2);
  max-width: 62ch;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 79, 158, .28); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 12px 26px rgba(11, 79, 158, .34); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(242, 106, 33, .3); }
.btn--accent:hover { background: #d95a15; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--onDark { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--onDark:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #eef4fc; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 卡片 */
.card {
  --card-pad: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d3e0ef;
}

/* 图标底座 */
.icon-tile {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  transition: background-color .28s var(--ease), color .28s var(--ease);
}
.card:hover .icon-tile { background: var(--brand); color: #fff; }
.icon-tile svg { width: 28px; height: 28px; }

/* 标签 */
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.6;
}
.tag--accent { background: var(--accent-tint); color: #c95415; }

/* 滚动出现动画（仅在 JS 可用时启用，避免内容不可见） */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 4. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(16, 28, 44, .06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-lite), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(11, 79, 158, .3);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.18; }
.logo-text strong { font-size: 1.0625rem; letter-spacing: .02em; }
.logo-text span { font-size: .6875rem; color: var(--ink-3); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: var(--brand); background: var(--brand-tint); }
.nav-link[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.header-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.header-cta svg { width: 16px; height: 16px; }

/* 页头 · 淘宝店铺按钮（描边款，与电话主按钮区分） */
.header-shop {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid rgba(242, 106, 33, .5);
  border-radius: 999px;
  background: rgba(242, 106, 33, .07);
  color: #c95415;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.header-shop:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.header-shop svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 5. 首页 · 主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 12%, rgba(21, 115, 212, .38), transparent 62%),
    radial-gradient(700px 460px at 8% 92%, rgba(242, 106, 33, .16), transparent 60%),
    linear-gradient(160deg, #0a1729 0%, #0b2545 48%, #0a1729 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 112px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(72% 68% at 50% 42%, #000 40%, transparent 100%);
  mask-image: radial-gradient(72% 68% at 50% 42%, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .88);
}
.hero-badge b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
}

.hero-slogan {
  margin: -8px 0 4px;
  font-size: 1.0625rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .72);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7cc0ff, #ffffff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 34em;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: rgba(255, 255, 255, .78);
  margin-bottom: 32px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 34px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .82);
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { width: 15px; height: 15px; color: #6fd08e; flex-shrink: 0; }

/* 主视觉右侧：风机风管示意 */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
  padding: 18px;
}
.hero-visual svg { width: 100%; height: auto; border-radius: 14px; }
.hero-visual__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .72);
}
.hero-visual__caption strong { color: #fff; font-weight: 600; }

/* 主视觉下方数据条 */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}
.hero-stat {
  padding: 22px 26px;
  background: rgba(9, 25, 45, .55);
  backdrop-filter: blur(6px);
}
.hero-stat strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.hero-stat span { font-size: .8125rem; color: rgba(255, 255, 255, .62); }

/* ---------- 5. 首页 · 产品 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card { display: flex; flex-direction: column; }

/* 产品实拍图：有图时替换图标块，无图时保持图标（由 JS 判定加载成功后才切换） */
.product-card__thumb {
  display: none;
  width: calc(100% + var(--card-pad) * 2);
  height: auto;
  max-width: none;
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg-alt);
}
.product-card.has-img .product-card__thumb { display: block; }
.product-card.has-img .icon-tile { display: none; }

.product-card h3 { margin-bottom: 8px; }
.product-card p {
  font-size: .9375rem;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.product-card__specs {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 7px;
  font-size: .8125rem;
  color: var(--ink-3);
}
.product-card__specs li { display: flex; gap: 10px; }
.product-card__specs b {
  flex-shrink: 0;
  width: 4.6em;
  font-weight: 500;
  color: var(--ink-3);
}
.product-card__specs span { color: var(--ink-2); }

/* ---------- 5.x 店铺在售实拍 ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shop-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe0f3;
}
.shop-card__pic { padding: 10px 10px 0; }
.shop-card__pic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-alt);
}
.shop-card__body { padding: 15px 16px 18px; }
.shop-card h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 6px;
  color: var(--ink);
}
.shop-card p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.68;
  color: var(--ink-3);
}
.shop-card__buy {
  display: inline-block;
  margin-top: 12px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--brand);
}
.shop-card:hover .shop-card__buy { color: var(--brand-dark); text-decoration: underline; }
.shop-more {
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  text-align: center;
}
.shop-more span { font-size: .9375rem; color: var(--ink-3); }

/* 为什么选择我们 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  border-top: 2px solid var(--brand-tint);
  border-radius: 0 0 var(--radius) var(--radius);
  /* 底纹图由 JS 懒加载注入；未加载前用纯白底 + 渐变过渡 */
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.96) 60%, #fff);
}
.feature.is-bg {
  background-image: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.94) 60%, #fff),
    var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.feature h3 { position: relative; z-index: 1; font-size: 1.0625rem; }
.feature p { position: relative; z-index: 1; font-size: .9rem; color: var(--ink-2); }

/* 服务流程 */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.flow-step {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.96) 60%, #fff);
  border: 1px solid var(--line);
}
.flow-step.is-bg {
  background-image: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.94) 60%, #fff),
    var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.flow-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 10px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.flow-step h3 { position: relative; z-index: 1; font-size: 1rem; margin-bottom: 6px; }
.flow-step p { position: relative; z-index: 1; font-size: .875rem; color: var(--ink-2); }

/* 应用场景 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scene {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(150deg, #123a66, #0a1729) center / cover;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.scene.is-bg {
  background-image: linear-gradient(180deg, rgba(10, 23, 41, .12), rgba(10, 23, 41, .74) 75%),
    var(--bg-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.scene:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 41, .08), transparent 45%);
  pointer-events: none;
}
.scene h3 { position: relative; margin-bottom: 4px; font-size: 1.0625rem; }
.scene p { position: relative; font-size: .8125rem; color: rgba(255, 255, 255, .68); margin: 0; }
.scene__icon {
  position: relative;
  width: 40px;
  height: 40px;
  margin-bottom: auto;
  color: rgba(255, 255, 255, .8);
}
.scene__icon svg { width: 100%; height: 100%; }

/* 底部行动区 */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  color: #fff;
  background: linear-gradient(115deg, var(--brand-dark), var(--brand) 55%, #1a6fc4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 46ch; }

/* ---------- 6. 内页 ---------- */
.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 78px) 0 clamp(40px, 5vw, 60px);
  background: linear-gradient(160deg, #0a1729, #0b2545);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, .76); max-width: 56ch; margin: 0; }

.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .58);
}
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .3); }

/* 产品筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 79, 158, .24);
}

.product-card[hidden] { display: none; }

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.table-block { margin-bottom: 28px; }
.table-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.spec-table caption { text-align: left; }
.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table thead th {
  background: var(--bg-alt);
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .03em;
  color: var(--ink-3);
  white-space: nowrap;
}
.spec-table tbody tr:hover { background: #fafcfe; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

/* 关于我们 */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #eef4fc, #dbe8f7);
  border: 1px solid var(--line);
  padding: 22px;
}
.about-figure svg { width: 100%; height: auto; }
.about-figure__tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.check-list { display: grid; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex;
  gap: 11px;
  font-size: .9375rem;
  color: var(--ink-2);
}

/* 厂区实景 */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.factory-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.factory-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.factory-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--bg-alt);
}
.factory-card figcaption {
  padding: 13px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.check-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand);
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--line);
  display: grid;
  gap: 30px;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px #fff;
}
.timeline-item time {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* 证书 / 资质 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cert {
  padding: 22px;
  border: 1px dashed #cbd8e7;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.cert svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--brand); }
.cert strong { display: block; font-size: .9375rem; }
.cert span { font-size: .78rem; color: var(--ink-3); }

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-item:hover { border-color: #cfdfef; box-shadow: var(--shadow-sm); }
.contact-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label {
  font-size: .78rem;
  color: var(--ink-3);
  margin: 0 0 2px;
}
.contact-item__value {
  margin: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}
.contact-item__value a:hover { color: var(--brand); }

/* 表单 */
.form-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  font: inherit;
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease),
              box-shadow .2s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-lite);
  box-shadow: 0 0 0 3px rgba(21, 115, 212, .16);
}
.field input:invalid:not(:placeholder-shown) { border-color: #e2574c; }
.field__hint { margin: 6px 0 0; font-size: .75rem; color: var(--ink-3); }
.field__error {
  display: none;
  margin: 6px 0 0;
  font-size: .78rem;
  color: #d43b2f;
}
.field.has-error input,
.field.has-error textarea { border-color: #e2574c; background: #fff7f6; }
.field.has-error .field__error { display: block; }

.form-note { font-size: .78rem; color: var(--ink-3); margin-top: 14px; }

.form-alert {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #edf9f1;
  border: 1px solid #bfe6cd;
  color: #1c6b3c;
  font-size: .875rem;
}
.form-alert.is-visible { display: flex; }
.form-alert svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; }

/* 地图占位 */
.map-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, #eef3f9 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #eef3f9 0 1px, transparent 1px 34px),
    #f8fbfe;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}
.map-box__pin { color: var(--accent); margin-bottom: 10px; }
.map-box__pin svg { width: 34px; height: 34px; }
.map-box strong { display: block; font-size: 1rem; }
.map-box span { font-size: .85rem; color: var(--ink-3); }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: auto;
  padding: 60px 0 26px;
  background: var(--dark);
  color: rgba(255, 255, 255, .66);
  font-size: .875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text span { color: rgba(255, 255, 255, .45); }
.footer-brand p { font-size: .875rem; color: rgba(255, 255, 255, .58); max-width: 34ch; }

.footer-col h4 {
  margin-bottom: 16px;
  font-size: .875rem;
  color: #fff;
  letter-spacing: .04em;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.9; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom a:hover { color: rgba(255, 255, 255, .8); }

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .product-grid,
  .feature-grid,
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; margin-left: 8px; }
  .header-cta { display: none; }

  /* 小屏把店铺按钮收成图标按钮，保留入口但不占宽度 */
  .header-shop {
    margin-left: auto;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
  .header-shop span { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 20px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16, 28, 44, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 13px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-link[aria-current="page"] { background: var(--brand-tint); }
}

@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .shop-card__body { padding: 13px 13px 16px; }
  .factory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .product-grid,
  .feature-grid,
  .flow,
  .cert-grid,
  .form-row,
  .footer-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-card__body { padding: 11px 11px 14px; }
  .shop-card h3 { font-size: .9375rem; }
  .shop-card p { font-size: .75rem; line-height: 1.6; }
  .shop-more { flex-direction: column; }
  .hero-stat { padding: 16px 18px; }
  .card { --card-pad: 22px; }
  .timeline { padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* 打印：去掉装饰，保证可读 */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .filter-bar { display: none; }
  body { color: #000; }
  .hero,
  .page-hero { background: none !important; color: #000; }
  .hero h1,
  .page-hero h1 { color: #000; }
}
