/* =========================================================
   北京全科科技官网 - 样式表
   纯 CSS，无图片资源，全站自适应
   ========================================================= */

:root {
  --brand: #1668ff;
  --brand-deep: #0a3ec2;
  --brand-soft: #e8f0ff;
  --accent: #00b3a4;
  --accent-soft: #e2f7f5;
  --warn: #ff8a3d;
  --ink: #0f1c33;
  --ink-2: #33415c;
  --muted: #6b7a93;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-deep: #0b1a35;
  --line: #e6ecf6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 28, 51, .05);
  --shadow: 0 12px 32px rgba(15, 28, 51, .08);
  --shadow-lg: 0 22px 60px rgba(10, 62, 194, .16);
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.container { width: min(var(--container), 92%); margin: 0 auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

/* ---------- 通用文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.eyebrow--accent { color: #00897d; background: var(--accent-soft); }
.eyebrow--accent::before { background: var(--accent); }

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.lead { font-size: 17.5px; color: var(--ink-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
    background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--brand) 0%, #2f86ff 60%, var(--accent) 140%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 66px rgba(10, 62, 194, .26); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--brand-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 28, 51, .06);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(22, 104, 255, .32);
  flex: none;
}
.brand-text strong { display: block; font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.brand-text span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.primary-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.primary-nav a.is-active { color: var(--brand); font-weight: 600; }
.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: .02em;
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .28s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(0, 179, 164, .22), transparent 62%),
    radial-gradient(900px 480px at 8% 6%, rgba(22, 104, 255, .20), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 78%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 104, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 104, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(760px 460px at 70% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 70% 20%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  margin: 20px 0 18px;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 620px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-size: 13.5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* Hero 右侧：纯 CSS 质控仪表盘 */
.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}
.hero-panel-head strong { font-size: 15.5px; color: var(--ink); }
.qc-status { font-size: 12.5px; font-weight: 700; color: #0f9d58; }
.qc-status::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #0f9d58;
  box-shadow: 0 0 0 4px rgba(15, 157, 88, .16);
}
.chart { display: grid; gap: 14px; }
.chart-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 12px; }
.chart-row span { font-size: 13px; color: var(--muted); }
.chart-track {
  position: relative;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef3fb 0%, #eef3fb 100%);
  overflow: hidden;
}
.chart-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.chart-zone { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.chart-zone.z1 { left: 22%; width: 56%; background: rgba(15, 157, 88, .13); }
.chart-zone.z2 { left: 8%; width: 84%; background: rgba(255, 138, 61, .10); }
.chart-dot {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(22, 104, 255, .45);
  animation: drift 4.6s ease-in-out infinite;
}
.chart-row:nth-child(1) .chart-dot { left: 48%; animation-delay: 0s; }
.chart-row:nth-child(2) .chart-dot { left: 62%; animation-delay: .5s; border-color: var(--accent); }
.chart-row:nth-child(3) .chart-dot { left: 36%; animation-delay: 1s; border-color: var(--warn); }
.chart-row:nth-child(4) .chart-dot { left: 55%; animation-delay: 1.5s; }
@keyframes drift {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}
.chart-legend {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.legend-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.legend-dot.green { background: rgba(15, 157, 88, .5); }
.legend-dot.orange { background: rgba(255, 138, 61, .5); }
.legend-dot.blue { background: var(--brand); }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: #fff; padding: 30px 26px; }
.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--brand-deep);
  line-height: 1.2;
}
.stat strong i { font-style: normal; font-size: .55em; margin-left: 3px; color: var(--muted); }
.stat p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 产品卡片 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d7e4fb; }
.product-card:hover::after { transform: scaleX(1); }
.product-card h3 { font-size: 20px; }
.product-card p { font-size: 15px; color: var(--muted); }
.product-card .features { display: grid; gap: 8px; margin-top: 2px; }
.product-card .features li {
  font-size: 14.2px;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
}
.product-card .features li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.card-link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  font-size: 14.8px;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.product-card:hover .card-link::after { transform: translateX(4px); }

/* 纯 CSS 产品图标 */
.p-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  position: relative;
  flex: none;
}
.p-icon--qc { background: linear-gradient(135deg, #e8f0ff, #d6e6ff); }
.p-icon--qc::before {
  content: "";
  position: absolute; left: 21px; top: 12px;
  width: 16px; height: 24px;
  border: 3px solid var(--brand);
  border-radius: 4px 4px 10px 10px;
  border-top: 8px solid var(--brand);
}
.p-icon--qc::after {
  content: "";
  position: absolute; left: 21px; top: 26px;
  width: 16px; height: 10px;
  background: rgba(22, 104, 255, .45);
  border-radius: 0 0 7px 7px;
}
.p-icon--eqa { background: linear-gradient(135deg, #e2f7f5, #cdeff0); }
.p-icon--eqa::before {
  content: "";
  position: absolute; left: 11px; top: 15px;
  width: 36px; height: 24px;
  border: 3px solid #00a396;
  border-radius: 5px;
}
.p-icon--eqa::after {
  content: "";
  position: absolute; left: 25px; top: 39px;
  width: 8px; height: 6px;
  background: #00a396;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.p-icon--risk { background: linear-gradient(135deg, #fff0e4, #ffe0cc); }
.p-icon--risk::before {
  content: "";
  position: absolute; left: 15px; top: 12px;
  width: 28px; height: 30px;
  background: var(--warn);
  clip-path: polygon(50% 100%, 0 12%, 0 0, 100% 0, 100% 12%);
  border-radius: 4px;
}
.p-icon--risk::after {
  content: "!";
  position: absolute; left: 0; right: 0; top: 13px;
  text-align: center;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.p-icon--service { background: linear-gradient(135deg, #e9edff, #dbe0fb); }
.p-icon--service::before {
  content: "";
  position: absolute; left: 13px; top: 13px;
  width: 32px; height: 32px;
  border: 3px solid #5a6bd8;
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-25deg);
}
.p-icon--service::after {
  content: "";
  position: absolute; right: 15px; top: 14px;
  width: 8px; height: 8px;
  border-top: 3px solid #5a6bd8;
  border-right: 3px solid #5a6bd8;
  transform: rotate(45deg);
}

/* ---------- 优势 ---------- */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #b9c8e6;
  display: block;
  margin-bottom: 10px;
}
.feature h3 { font-size: 18.5px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- 流程时间线 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.flow-step { position: relative; padding-top: 46px; }
.flow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 14px;
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 17px; left: 46px; right: 12px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.flow-step:last-child::after { display: none; }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { font-size: 14.6px; color: var(--muted); }

/* ---------- 产品详情分节 ---------- */
.product-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.product-block:last-child { border-bottom: 0; }
.product-block.reverse .product-block-main { order: 2; }
.product-block h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 14px 0 12px;
}
.product-block .lead { margin-bottom: 18px; }
.spec-list { display: grid; gap: 12px; margin: 22px 0 24px; }
.spec-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 15.4px;
}
.spec-list li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 4px solid var(--accent);
}
.spec-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
}
.spec-box h4 {
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.spec-table { font-size: 14.8px; }
.spec-table th, .spec-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 92px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.spec-box .note { font-size: 13.4px; color: var(--muted); margin-top: 14px; }

/* ---------- 适用场景标签云 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.chip--brand { background: var(--brand-soft); border-color: #d6e4ff; color: var(--brand-deep); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0, 179, 164, .35), transparent 60%),
    linear-gradient(120deg, #0a3ec2 0%, #1668ff 55%, #0f8f9b 100%);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(520px 260px at 85% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(520px 260px at 85% 10%, #000 20%, transparent 75%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .86); max-width: 620px; }
.cta .btn-row { margin-top: 0; }

/* ---------- 关于页 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.value-grid { display: grid; gap: 18px; }
.value-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.value-item strong { display: block; color: var(--ink); margin-bottom: 4px; }
.value-item p { font-size: 14.6px; color: var(--muted); }
.value-item .vi-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand-deep);
}
.info-table th { width: 108px; text-align: left; color: var(--muted); font-weight: 500; }
.info-table th, .info-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 15.4px; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qual {
  border: 1px dashed #cddcf6;
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  background: #fff;
}
.qual strong { display: block; font-size: 15.6px; color: var(--ink); margin-bottom: 6px; }
.qual span { font-size: 13.6px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cc-icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-size: 19px;
  font-weight: 800;
}
.cc-icon--accent { background: var(--accent-soft); color: #00897d; }
.cc-icon--warn { background: #fff1e6; color: #d96a12; }
.contact-card span { display: block; font-size: 13.5px; color: var(--muted); }
.contact-card strong { display: block; font-size: 17px; color: var(--ink); margin-top: 2px; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14.2px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label i { color: #e5484d; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dde5f2;
  border-radius: 10px;
  background: #fbfcfe;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  font-size: 15px;
}
.field textarea { min-height: 122px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 104, 255, .12);
}
.field .err { display: none; font-size: 13px; color: #e5484d; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; }
.field.has-error .err { display: block; }
.form-tip { font-size: 13.4px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: #00796b;
  font-size: 14.6px;
  border: 1px solid #bfeae5;
}
.form-success.show { display: block; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-deep); color: #a9b8d4; padding: 62px 0 26px; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; }
.site-footer p { font-size: 14.4px; }
.footer-links { display: grid; gap: 10px; font-size: 14.4px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 8px; font-size: 14.4px; margin-bottom: 10px; }
.footer-contact b { color: #dce6f8; font-weight: 500; flex: none; width: 46px; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand p { margin-top: 14px; max-width: 340px; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.4px;
  color: #7f90ad;
}
.footer-bottom a:hover { color: #fff; }
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 800;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta .btn, .header-phone { display: none; }
  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 4% 18px;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .primary-nav a.is-active::after { display: none; }
  .primary-nav a.is-active { background: var(--brand-soft); }
  .primary-nav .btn { display: inline-flex; margin-top: 8px; }
  .hero-grid, .split, .product-block, .contact-grid { grid-template-columns: 1fr; }
  .product-block.reverse .product-block-main { order: 0; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .flow-step::after { display: none; }
  .section { padding: 68px 0; }
  .cta { padding: 40px 28px; }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 56px 0 68px; }
  .hero-panel { padding: 20px; }
  .form-card { padding: 26px 20px; }
  .qual-grid { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 34px; }
}

@media (max-width: 420px) {
  body { font-size: 15.5px; }
  .qual-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
