/* 鸿业丰建材 · 官网样式 v2（企业科技风 · B 打底 + A 首屏）
   ─────────────────────────────────────────────────────────────
   两个面，一套语言：
   · A 深空蓝（#060B16 + 电光青 #22D3EE + 品牌蓝 #2E7BFF）
     只用在首屏、导航、CTA、页脚 —— 建立科技质感与重量
   · B 企业白（#F5F7FB + 品牌蓝 #1F4FD8 + 天青 #0EA5E9 + 精密网格）
     承担全部正文 —— 长文、表格、清单都靠它保证可读

   规矩：
   · 一屏只有一处深色，其余交给白与线
   · 结构靠 1px 线与 44px 网格底纹切分，不靠满屏色块
   · 圆角 6px、投影只做「抬起来一点」的那一层，不做拟物
   · 纯静态、零框架、首屏无阻塞脚本                              */

:root {
  /* ── A 深色面 ── */
  --night: #060B16;
  --night-2: #0A1224;
  --night-3: #101A2E;
  --night-line: rgba(120, 160, 220, .16);
  --night-line-2: rgba(120, 160, 220, .28);
  --night-ink: #E8EDF7;
  --night-ink-2: #93A1BC;
  --night-ink-3: #5F7192;
  --brand-on-dark: #2E7BFF;
  --accent-on-dark: #22D3EE;

  /* ── B 浅色面 ── */
  --white: #FFFFFF;
  --paper: #F5F7FB;
  --paper-2: #EDF1F8;
  --ink: #0F1B2D;
  --ink-2: #55657D;
  --ink-3: #8296AF;
  --line: rgba(15, 27, 45, .10);
  --line-2: rgba(15, 27, 45, .17);

  /* ── 品牌 ── */
  --brand: #1F4FD8;
  --brand-2: #1740B0;
  --brand-soft: #EDF2FE;
  --accent: #0EA5E9;
  --accent-2: #0284C7;

  /* ── 语义 ── */
  --ok: #0B6B4B;
  --bad: #B3312A;

  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 10px;
  --shadow-1: 0 1px 2px rgba(15, 27, 45, .04), 0 10px 26px -16px rgba(15, 27, 45, .20);
  --shadow-2: 0 2px 6px rgba(15, 27, 45, .05), 0 20px 46px -22px rgba(31, 79, 216, .28);
  --grid-b: rgba(31, 79, 216, .055);
  --grid-d: rgba(90, 130, 190, .10);

  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
p a, li a, td a { text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: var(--line-2); }
p a:hover, li a:hover, td a:hover { text-decoration-color: var(--brand); }

h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 600; letter-spacing: -.018em; }
h1 { font-size: clamp(2.05rem, 5vw, 3.5rem); line-height: 1.12; letter-spacing: -.032em; font-weight: 700; text-wrap: pretty; }
h2 { font-size: clamp(1.5rem, 3vw, 2.12rem); line-height: 1.26; letter-spacing: -.024em; text-wrap: pretty; }
h3 { font-size: clamp(1.04rem, 1.6vw, 1.16rem); line-height: 1.45; }
h4 { font-size: .98rem; line-height: 1.5; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: normal; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.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;
}

/* 等宽小标：全站的「技术语气」都由它承担 */
.mono { font-family: var(--mono); letter-spacing: .04em; }

/* ───────────────── 顶部提示条：深色，一条细线，不抢戏 ───────────────── */
.topbar {
  background: var(--night);
  color: var(--night-ink-3);
  font-size: .78rem;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--night-line);
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  align-items: center; justify-content: space-between;
  min-height: 34px; padding-top: 5px; padding-bottom: 5px;
}
.topbar a { color: var(--night-ink-2); }
.topbar a:hover { color: #fff; }

/* ───────────────── 导航：深色玻璃，吸顶后依然是深色 ───────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 11, 22, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--night-line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 66px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.04rem; color: var(--night-ink);
  letter-spacing: -.01em; flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 30px; height: 30px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(140deg, var(--brand-on-dark), #1B4FD0);
  color: #fff;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 600; letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 4px 14px -6px rgba(46, 123, 255, .8);
}
.brand small {
  display: block; font-size: .68rem; font-weight: 400; color: var(--night-ink-3);
  letter-spacing: .04em; line-height: 1.4;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 10px; font-size: .9rem; font-weight: 500;
  color: var(--night-ink-2); white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--accent-on-dark); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent-on-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

/* 进销存登录：深色描边，和导航同一个语气 */
.btn-erp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; min-height: 38px;
  border: 1px solid var(--night-line-2); border-radius: var(--radius-sm);
  font-size: .84rem; font-weight: 500; color: var(--night-ink-2);
  background: rgba(255, 255, 255, .02); white-space: nowrap;
  transition: border-color .18s, color .18s, background .18s;
}
.btn-erp:hover { border-color: var(--accent-on-dark); color: #fff; background: rgba(34, 211, 238, .08); }
.btn-erp svg { width: 14px; height: 14px; }

/* ───────────────── 按钮 ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; min-height: 48px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
  text-align: center;
}
.btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
  box-shadow: 0 8px 22px -12px rgba(31, 79, 216, .75);
}
.btn-primary:hover {
  background: var(--brand-2); border-color: var(--brand-2); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(31, 79, 216, .9);
}
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-sm { padding: 10px 18px; min-height: 42px; font-size: .88rem; }

/* 深色面上的按钮走另一套 */
.hero .btn-ghost, .cta-band .btn-ghost {
  border-color: var(--night-line-2); color: var(--night-ink); background: rgba(255, 255, 255, .03);
}
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover {
  border-color: var(--accent-on-dark); color: #fff; background: rgba(34, 211, 238, .08);
}
.hero .btn-primary, .cta-band .btn-primary {
  background: var(--brand-on-dark); border-color: var(--brand-on-dark); color: #fff;
  box-shadow: 0 10px 30px -14px rgba(46, 123, 255, .9);
}
.hero .btn-primary:hover, .cta-band .btn-primary:hover {
  background: #3D88FF; border-color: #3D88FF; color: #fff;
}

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--night-line-2); border-radius: var(--radius-sm); background: transparent;
  cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--night-ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: var(--night-ink);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ───────────────── 区块 ───────────────── */
main { counter-reset: sect; }
.section { padding: clamp(52px, 7vw, 96px) 0; border-top: 1px solid var(--line); background: var(--white); }
.section-alt { background: var(--paper); }
.section-paper {
  background: var(--paper-2);
  background-image:
    linear-gradient(var(--grid-b) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-b) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: .73rem; font-weight: 600; letter-spacing: .13em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
/* 自动编号：每个带 section-head 的区块依次 01 02 03… */
.section-head .eyebrow { counter-increment: sect; color: var(--ink-3); }
.section-head .eyebrow::before {
  content: counter(sect, decimal-leading-zero);
  width: auto; height: auto; background: none;
  color: var(--brand); font-weight: 600; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.lead { font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--ink-2); line-height: 1.9; }

/* ───────────────── 首屏：深空蓝，网格 + 双光晕 ───────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night);
  border-bottom: 1px solid rgba(34, 211, 238, .16);
}
/* 精密网格：径向遮罩，往下淡出，不压字 */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-d) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(92% 76% at 50% 0%, #000 16%, transparent 78%);
  mask-image: radial-gradient(92% 76% at 50% 0%, #000 16%, transparent 78%);
}
/* 两团光：左上品牌蓝、右上电光青 */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 380px at 84% 4%, rgba(34, 211, 238, .15), transparent 66%),
    radial-gradient(760px 480px at 8% -12%, rgba(46, 123, 255, .26), transparent 64%);
}
.hero .wrap { padding-top: clamp(50px, 7vw, 92px); padding-bottom: clamp(46px, 6vw, 80px); }
.hero h1 { max-width: 17em; margin-bottom: .5em; color: var(--night-ink); }
.hero h1 em {
  color: var(--accent-on-dark);
  background: linear-gradient(94deg, var(--accent-on-dark), #6FA8FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.08rem); color: var(--night-ink-2);
  max-width: 34em; margin-bottom: 28px; line-height: 1.9;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

/* 要点：一条短横起头，横排换行也不会出现「行首斜杠」的尴尬 */
.hero-badges {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 24px; margin-bottom: 30px;
  font-size: .84rem; color: var(--night-ink-3); letter-spacing: .02em;
  background: none;
}
.hero-badges span {
  display: inline-flex; align-items: center;
  padding: 0; border: 0; background: none; color: inherit; font-weight: 400;
}
.hero-badges span::before {
  content: ''; width: 14px; height: 1px; background: rgba(34, 211, 238, .55); margin-right: 10px;
}

/* 数据卡：浅色上下文四栏横排（招商页），首屏内换深色玻璃竖排 */
.hero-stats {
  --hs-line: var(--line);
  --hs-ink: var(--ink);
  --hs-sub: var(--ink-3);
  --hs-bg: var(--white);
  --hs-bd: var(--line);
  --hs-shadow: var(--shadow-1);
  display: grid; gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--hs-bd);
  border-radius: var(--radius-lg);
  background: var(--hs-bg);
  padding: 6px 22px 8px;
  box-shadow: var(--hs-shadow);
}
.hero-stats div {
  padding: 16px 20px 4px 0;
  border-right: 1px solid var(--hs-line);
}
.hero-stats div + div { padding-left: 20px; }
.hero-stats div:last-child { border-right: 0; padding-right: 0; }
.hero-stats b {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--mono); font-size: 1.4rem; font-weight: 600;
  letter-spacing: -.01em; line-height: 1.3; color: var(--hs-ink);
  font-variant-numeric: tabular-nums;
}
.hero-stats small { font-size: .78rem; color: var(--hs-sub); letter-spacing: .02em; }
/* 首屏：玻璃面板，竖排 */
.hero .hero-stats {
  --hs-line: rgba(80, 140, 220, .16);
  --hs-ink: var(--night-ink);
  --hs-sub: var(--night-ink-3);
  --hs-bg: rgba(20, 40, 70, .40);
  --hs-bd: rgba(80, 140, 220, .22);
  --hs-shadow: 0 30px 70px -40px #000;
  grid-template-columns: 1fr;
  padding: 4px 22px 6px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero .hero-stats div { border-right: 0; padding: 17px 0; }
.hero .hero-stats div + div { padding-left: 0; }
.hero .hero-stats b { font-size: 1.5rem; }
.hero-stats .hs-title {
  grid-column: 1 / -1; margin: 0;
  padding: 12px 0 11px;
  font-family: var(--mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--hs-sub);
  border-bottom: 1px solid var(--hs-line);
}

/* 桌面：文案在左，数据卡钉在右，占满整列 */
@media (min-width: 981px) {
  .hero--split .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: clamp(32px, 4vw, 60px); align-items: start;
  }
  .hero--split .wrap > * { grid-column: 1; }
  .hero--split .hero-stats { grid-column: 2; grid-row: 1 / span 9; }
  .hero--split h1 { max-width: 14em; }
}

.hero-art { display: none; }

/* ───────────────── 栅格与卡片 ───────────────── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(276px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(232px, 100%), 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(31, 79, 216, .28); box-shadow: var(--shadow-2); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-2); font-size: .94rem; line-height: 1.85; }
.card p:last-child { margin-bottom: 0; }
.card-ico {
  width: 40px; height: 40px; margin-bottom: 16px; border-radius: var(--radius);
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.card-ico svg { width: 20px; height: 20px; stroke-width: 1.7; }
.card-link { margin-top: auto; padding-top: 16px; font-size: .9rem; font-weight: 600; color: var(--brand); }
.card-link::after { content: ' →'; color: var(--ink-3); }

/* ───────────────── 产品 ───────────────── */
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: border-color .2s, box-shadow .2s;
}
.product-card:hover { border-color: rgba(31, 79, 216, .28); box-shadow: var(--shadow-2); transform: none; }
.product-visual {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(158deg, #0D1730 0%, #0A1020 62%, #080D18 100%);
  border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: grid; place-items: center;
}
.product-visual svg { width: 100%; height: 100%; }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-tag {
  align-self: flex-start; font-family: var(--mono);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  color: var(--brand); background: var(--brand-soft); border-radius: var(--radius-sm);
  padding: 4px 8px; margin-bottom: 12px;
  border-bottom: 0;
}
.product-body h3 { font-size: 1.24rem; }

/* ───────────────── 表格 ───────────────── */
.table-wrap {
  overflow-x: auto; overflow-y: hidden;
  border: 1px solid var(--line); border-top: 2px solid var(--brand);
  border-radius: var(--radius); background: var(--white);
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
th, td { padding: 14px 18px 14px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
th {
  background: var(--paper-2); font-weight: 600; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
  white-space: nowrap; border-bottom-color: var(--line-2);
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(31, 79, 216, .03); }
td.is-good { color: var(--ok); font-weight: 500; }
td.is-bad { color: var(--bad); }

/* ───────────────── 流程：编号在上，一列一步 ───────────────── */
.steps {
  counter-reset: step;
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  border-top: 1px solid var(--line-2);
}
.step {
  counter-increment: step; position: relative;
  background: transparent; border: 0; border-right: 1px solid var(--line);
  border-radius: 0; padding: 20px 22px 6px 0;
}
.step:last-child { border-right: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: static; display: block;
  background: none; color: var(--brand);
  font-family: var(--mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  padding: 0; margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: .98rem; margin-top: 0; margin-bottom: .35em; }
.step p { font-size: .88rem; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* ───────────────── FAQ ───────────────── */
.faq-list { display: block; border-top: 0; }
details.faq {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 22px; overflow: hidden; margin-bottom: 10px;
  transition: border-color .18s, box-shadow .18s;
}
details.faq:hover { border-color: rgba(31, 79, 216, .26); }
details.faq[open] { border-color: rgba(31, 79, 216, .3); box-shadow: var(--shadow-1); }
details.faq summary {
  cursor: pointer; padding: 18px 40px 18px 0; font-weight: 500; font-size: .98rem;
  list-style: none; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand); }
details.faq[open] summary { color: var(--brand); }
.faq-body { padding: 0 0 20px; color: var(--ink-2); font-size: .94rem; max-width: 62em; }
.faq-body p:last-child { margin-bottom: 0; }

/* ───────────────── 服务范围 ───────────────── */
.area-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.area-card {
  background: var(--white); border: 1px solid var(--line);
  border-left: 0; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-1);
}
.area-card h3 { display: flex; align-items: baseline; gap: 8px; margin-bottom: .3em; }
.area-card h3 span {
  font-family: var(--mono);
  font-size: .68rem; font-weight: 500; color: var(--ink-3);
  letter-spacing: .12em; text-transform: uppercase;
}

/* 区县索引：三列清单。33 个链接如果都做成卡片，页面会变成一堵墙，
   所以用「城市分组 + 两列清单」，靠列间距和一条细线分组。 */
.area-index {
  display: grid; gap: 34px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.area-index h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin: 0 0 12px; padding-bottom: 10px;
  font-size: .95rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.area-index h3 span {
  font-size: .72rem; font-weight: 400; color: var(--ink-3); letter-spacing: .04em;
}
.area-links {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 14px;
}
.area-links a {
  font-size: .88rem; color: var(--ink-2);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.area-links a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.area-card p { font-size: .9rem; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* ───────────────── 提示条 ───────────────── */
.callout {
  border-left: 3px solid var(--accent); background: var(--brand-soft);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem; color: var(--ink-2);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }
.callout-info { border-left-color: var(--brand); background: var(--brand-soft); color: var(--ink-2); }

/* ───────────────── 知识文章：正文 + 侧栏 ─────────────────
   长文一行排到 1180px 宽会很难读，桌面端把正文收到 720px，
   右侧留一列常驻的联系与延伸阅读。手机上侧栏整个不显示，
   正文占满，转化交给页尾那条 CTA。 */
.kb-layout { display: grid; gap: 30px; }
.kb-main { min-width: 0; }
.kb-aside { display: none; }

@media (min-width: 900px) {
  .kb-layout { grid-template-columns: minmax(0, 1fr) 272px; gap: 56px; align-items: start; }
  .kb-main > * { max-width: 720px; }
  /* 正文被收到 720px 后，grid-3 的 276px 下限只够排两列，三张延伸阅读会掉成 2+1。
     这里单独把下限收到 200px，三列才排得下。 */
  .kb-main .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
  .kb-aside {
    display: block; position: sticky; top: 96px;
    background: var(--white); border: 1px solid var(--line);
    border-top: 2px solid var(--brand); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow-1);
  }
}

.kb-aside-t {
  font-family: var(--mono);
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px;
}
.kb-aside-d { font-size: .86rem; line-height: 1.75; color: var(--ink-2); margin-bottom: 14px; }
.kb-aside .btn { width: 100%; margin-bottom: 8px; }
.kb-links { list-style: none; padding: 0; margin: 0; }
.kb-links li { border-top: 1px solid var(--line); padding: 10px 0; }
.kb-links li:first-child { border-top: 0; padding-top: 0; }
.kb-links a {
  font-size: .88rem; text-decoration: none;
  border-bottom: 1px solid transparent;
}
.kb-links a:hover { border-bottom-color: var(--brand); color: var(--brand); }
/* 全部文章清单：比主打推荐密一档，一眼能扫完 12 篇 */
.kb-links-sm li { padding: 6px 0; }
.kb-links-sm a { font-size: .8rem; color: var(--ink-2, #5b6472); }

/* ───────────────── 读者索引（首页「你属于哪一类」） ───────────────── */
.audience {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: clamp(24px, 3.4vw, 40px) 0;
}
.audience-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.audience-item {
  padding: 22px; border: 1px solid var(--line); border-right: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: var(--shadow-1);
  display: block; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.audience-item + .audience-item { padding-left: 22px; }
.audience-item:hover { color: var(--ink); border-color: rgba(31, 79, 216, .3); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.audience-item:hover .audience-more { color: var(--brand); }
.audience-k {
  display: block; font-family: var(--mono);
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 10px;
}
.audience-item h3 { font-size: 1rem; margin-bottom: .35em; }
.audience-item p { font-size: .86rem; color: var(--ink-2); margin-bottom: 12px; line-height: 1.75; }
.audience-more { font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.audience-more::after { content: ' →'; }

/* ───────────────── 招商加盟 ───────────────── */
.join-hero {
  background: var(--paper-2);
  background-image:
    linear-gradient(var(--grid-b) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-b) 1px, transparent 1px);
  background-size: 44px 44px;
  border-bottom: 1px solid var(--line);
}
.join-hero .wrap { padding-top: clamp(46px, 6vw, 82px); padding-bottom: clamp(40px, 6vw, 68px); }
.join-hero h1 { max-width: 16em; margin-bottom: .45em; }

.join-hero-grid {
  display: grid; grid-template-columns: 1.16fr .84fr;
  gap: clamp(28px, 4vw, 60px); align-items: start; margin-bottom: 40px;
}
.join-hero-side {
  background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--brand);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-1);
}
.join-side-title {
  font-family: var(--mono);
  font-size: .7rem; font-weight: 600; color: var(--ink-3);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.join-side-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 16px; }
.join-side-list li { margin: 0; padding-left: 14px; border-left: 2px solid var(--brand-soft); }
.join-side-list b { display: block; color: var(--ink); font-size: .95rem; font-weight: 600; line-height: 1.55; }
.join-side-list span { font-size: .85rem; color: var(--ink-2); line-height: 1.7; }
.join-side-link { font-size: .88rem; font-weight: 600; color: var(--brand); }
.join-side-link:hover { color: var(--brand-2); }

/* 招商标语 */
.join-slogan {
  font-size: clamp(1rem, 2.1vw, 1.34rem);
  font-weight: 500; line-height: 1.6; color: var(--ink);
  margin: 0 0 22px; padding-left: 16px;
  border-left: 3px solid var(--accent);
  max-width: 30em;
}

.join-card {
  background: var(--white); border: 1px solid var(--line);
  border-top: 2px solid var(--line-2); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.join-card-hot { border-top-color: var(--brand); }
.join-tag {
  align-self: flex-start; font-family: var(--mono);
  font-size: .66rem; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-3); background: none; border-radius: 0;
  padding: 0; margin-bottom: 10px;
}
.join-card-hot .join-tag { color: var(--brand); }
.join-card h3 { margin-bottom: .3em; font-size: 1.08rem; }
.join-for { font-size: .84rem; line-height: 1.7; color: var(--ink-3); margin-bottom: 14px; }
.join-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.join-list li {
  position: relative; padding-left: 16px; margin: 0;
  font-size: .88rem; line-height: 1.75; color: var(--ink-2);
}
.join-list li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 7px; height: 1px; background: var(--accent);
  border-radius: 0; transform: none;
}

.join-quote {
  margin-top: 40px; padding: 0 0 0 22px;
  background: transparent; border-left: 3px solid var(--brand);
  border-radius: 0;
}
.join-quote p { font-size: clamp(1rem, 1.9vw, 1.12rem); font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.join-quote span { font-size: .84rem; color: var(--ink-3); }

/* ───────────────── CTA 区：一块深色，左对齐 ───────────────── */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--night-ink-2);
  border-radius: var(--radius-lg);
  padding: clamp(38px, 6vw, 68px) clamp(26px, 5vw, 60px);
  text-align: left;
  box-shadow: 0 30px 70px -50px rgba(6, 11, 22, .9);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 88% 0%, rgba(34, 211, 238, .16), transparent 68%),
    radial-gradient(620px 420px at 4% 100%, rgba(46, 123, 255, .22), transparent 66%);
}
.cta-band h2 { color: var(--night-ink); max-width: 18em; }
.cta-band p { color: var(--night-ink-2); max-width: 40em; margin-bottom: 26px; }
.cta-band .hero-cta { justify-content: flex-start; margin-bottom: 0; }
.cta-band .btn-ghost { border-color: var(--night-line-2); color: var(--night-ink); }
.cta-band .btn-ghost:hover { border-color: var(--accent-on-dark); color: #fff; }

/* ───────────────── 页脚 ───────────────── */
.site-footer { background: var(--night); color: var(--night-ink-3); padding: 56px 0 0; font-size: .88rem; }
.site-footer a { color: var(--night-ink-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; padding-bottom: 40px; }
.footer-grid h4 {
  color: var(--night-ink); font-family: var(--mono);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--night-ink); font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.footer-brand .brand-mark { background: linear-gradient(140deg, var(--brand-on-dark), #1B4FD0); color: #fff; }
.footer-note { font-size: .82rem; color: var(--night-ink-3); line-height: 1.8; max-width: 30em; }
.footer-bottom {
  border-top: 1px solid var(--night-line); padding: 18px 0 26px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--night-ink-3);
}
.icp { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.icp a { color: var(--night-ink-3); }
.icp a:hover { color: #fff; }

/* ───────────────── 面包屑 ───────────────── */
.breadcrumb { font-size: .78rem; color: var(--ink-3); padding: 16px 0 0; letter-spacing: .02em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ───────────────── 手机端底部操作条 ───────────────── */
.mobile-bar { display: none; }
.mb-toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%);
  background: var(--night); color: var(--night-ink); font-size: .84rem;
  padding: 10px 16px; border-radius: var(--radius); z-index: 90;
  max-width: calc(100vw - 40px); text-align: center; transition: opacity .3s;
  box-shadow: 0 16px 38px -18px rgba(6, 11, 22, .8);
}
.mb-toast.out { opacity: 0; }

/* ───────────────── 工具类 ───────────────── */
section[id], div[id] { scroll-margin-top: 88px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .84rem; color: var(--ink-3); }
.divider { height: 1px; background: var(--line); margin: 34px 0; border: 0; }

/* ───────────────── 询盘表单（英文站） ───────────────── */
.inquiry {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px; margin-top: 30px;
}
.inquiry .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 11px 12px; min-height: 44px; width: 100%;
  -webkit-appearance: none; appearance: none;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 79, 216, .12);
}
.field .hint { font-size: .78rem; color: var(--ink-3); }
.inquiry-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: .88rem; color: var(--ink-2); }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="err"] { color: var(--bad); }
/* 蜜罐：真人看不见，机器人会填 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  .inquiry { grid-template-columns: 1fr; gap: 16px; }
}

/* ───────────────── 响应式 ───────────────── */
@media (max-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .join-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  /* 首屏回到单栏，数据卡变成 2×2 */
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 2px 20px 4px; }
  .hero-stats div { padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--hs-line); }
  .hero-stats div:nth-of-type(odd) { padding-right: 16px; border-right: 1px solid var(--hs-line); }
  .hero-stats div:nth-of-type(3) { border-right: 0; padding-right: 0; }
  .hero-stats div:nth-of-type(n+3) { border-bottom: 0; }
  .hero .hero-stats div { padding-top: 15px; padding-bottom: 15px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night-2); border-bottom: 1px solid var(--night-line);
    padding: 8px 20px 16px; margin-left: 0;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 2px; font-size: 1rem; border-bottom: 1px solid var(--night-line); }
  .nav a:last-child { border-bottom: 0; }
  .header-actions { margin-left: 0; }
  .site-header .wrap { gap: 10px; }
  .topbar .wrap { justify-content: center; text-align: center; gap: 4px 14px; }
  .btn-erp { padding: 9px 13px; font-size: .82rem; min-height: 44px; }
  .brand small { display: none; }

  /* 底部固定操作条 */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-top: 1px solid var(--line);
  }
  .mb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 46px; border-radius: var(--radius);
    font-size: .9rem; font-weight: 600; white-space: nowrap;
  }
  .mb-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  .mb-call { background: var(--brand); color: #fff; }
  .mb-call:hover { color: #fff; }
  .mb-wx { border: 1px solid var(--line-2); background: var(--white); color: var(--ink); }
  /* 英文站配了 WhatsApp 时是三个入口，不能沿用两栏网格（第三个会掉到第二行） */
  .mobile-bar-3 { grid-template-columns: 1fr 1fr 1fr; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 700px) {
  .audience-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0 16px; }
  .step:last-child { border-bottom: 0; }
  .grid { gap: 16px; }
  .card, .product-body, .area-card { padding: 20px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 44px 0; }
  h1 { font-size: clamp(1.78rem, 7.4vw, 2.3rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .hero-stats div:nth-of-type(n) { border-bottom: 1px solid var(--hs-line); }
  .hero-stats div:last-of-type { border-bottom: 0; }
}

@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .mb-btn { font-size: .82rem; gap: 4px; }
  .mb-btn svg { width: 14px; height: 14px; }
}

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

@media print {
  .site-header, .topbar, .cta-band, .site-footer, .btn, .mobile-bar { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .card, .hero-stats, .area-card { box-shadow: none; }
}

/* 案例页施工实拍两联 */
.shot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: 720px; margin: 28px auto 0;
}
.shot-item { margin: 0; }
.shot-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
@media (max-width: 560px) {
  .shot-grid { gap: 14px; }
}

/* 案例页前后对比 */
.compare-h {
  text-align: center; margin: 46px 0 0;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 880px; margin: 22px auto 0;
}
.compare-item { margin: 0; }
.compare-item img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.compare-note {
  text-align: center; font-size: .8rem;
  color: var(--ink-3); margin-top: 14px;
}
@media (max-width: 560px) {
  .compare-grid { grid-template-columns: 1fr; max-width: 420px; gap: 16px; }
}

/* 案例页实拍图 */
.case-figure {  margin: 0 0 36px;
  display: flex; gap: 22px; align-items: flex-start;
}
.case-figure img {
  width: min(300px, 42%);
  aspect-ratio: 720 / 1280; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: block;
}
.case-figure figcaption {
  font-size: .82rem; color: var(--ink-3);
  padding-top: 14px; letter-spacing: .02em;
}
@media (max-width: 640px) {
  .case-figure { flex-direction: column; }
  .case-figure img { width: min(260px, 70%); }
  .case-figure figcaption { padding-top: 0; }
}

/* 产品页海报展示 */
.poster-layout {
  display: grid; gap: 44px; align-items: center;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}
.poster-figure { margin: 0; }
.poster-figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.poster-copy { min-width: 0; }
.poster-points { list-style: none; margin: 22px 0 0; padding: 0; }
.poster-points li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.poster-points li:last-child { border-bottom: 1px solid var(--line); }
.poster-points b {
  display: block; margin-bottom: 5px;
  font-size: .95rem; color: var(--ink);
}
.poster-points span { font-size: .87rem; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 760px) {
  .poster-layout { grid-template-columns: 1fr; gap: 28px; }
  .poster-figure img { width: min(300px, 78%); margin: 0 auto; }
}

/* 产品宣传图集 */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.mkt-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.mkt-item:hover { border-color: rgba(46, 123, 255, .45); }
.mkt-item img { display: block; width: 100%; height: auto; }
.mkt-item figcaption {
  padding: 12px 16px;
  font-size: .86rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mkt-wide { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .mkt-grid { grid-template-columns: 1fr; gap: 14px; }
  .mkt-wide { grid-column: auto; }
}
