/* =========================================================
   HAOHAN TECHNOLOGY — PCBA / SMT 企业官网样式
   设计基准：工业科技风，深海军蓝 + 电子蓝 + 青绿点缀
   ========================================================= */

:root {
  --ink: #0a1220;
  --ink-soft: #1a2637;
  --navy: #0b1626;
  --navy-2: #101f33;
  --brand: #1f6bff;
  --brand-dark: #0d4fd1;
  --brand-soft: #eaf1ff;
  --accent: #00d2b4;
  --text: #16202e;
  --muted: #5a6b80;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 22, 38, .06);
  --shadow: 0 12px 32px rgba(11, 22, 38, .10);
  --shadow-lg: 0 24px 60px rgba(11, 22, 38, .16);
  --max: 1200px;
  --header-h: 76px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #dfe8f5; }
.section--tight { padding: 72px 0; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.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: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); display: block;
}
.section--dark .eyebrow { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }

h2.title { font-size: clamp(26px, 3.4vw, 42px); color: var(--ink); }
.section--dark h2.title { color: #fff; }
.lede { font-size: 17px; color: var(--muted); margin: 0; }
.section--dark .lede { color: #9fb2c9; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(31, 107, 255, .32); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31, 107, 255, .4); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11, 22, 38, .08);
}
.header-inner { display: flex; align-items: center; gap: 40px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: 17px;
  box-shadow: 0 6px 18px rgba(31, 107, 255, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.brand-sub { font-size: 10.5px; letter-spacing: .16em; opacity: .7; font-family: var(--mono); }

.site-header.is-solid .brand { color: var(--ink); }
.site-header.is-solid .brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .82);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.site-header.is-solid .nav a { color: var(--muted); }
.site-header.is-solid .nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-header.is-solid .nav a.is-active { color: var(--brand); }
.site-header.is-solid .nav a.is-active::after { background: var(--brand); }

.header-cta { display: flex; align-items: center; gap: 14px; flex: none; margin-left: 8px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; color: #fff; }
.header-phone small { font-size: 11px; opacity: .65; letter-spacing: .08em; }
.header-phone strong { font-size: 16px; font-family: var(--mono); letter-spacing: .02em; }
.site-header.is-solid .header-phone { color: var(--ink); }
.site-header.is-solid .header-phone small { color: var(--muted); opacity: 1; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
  transition: transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-solid .nav-toggle { border-color: var(--line); }
.site-header.is-solid .nav-toggle span,
.site-header.is-solid .nav-toggle span::before,
.site-header.is-solid .nav-toggle span::after { background: var(--ink); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 96px;
  background: radial-gradient(1200px 600px at 78% 12%, #14345c 0%, transparent 60%),
              linear-gradient(160deg, #081020 0%, #0b1626 45%, #0d1c30 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-art { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 58%; max-width: 820px; opacity: .5; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: #cfe0f5; margin-bottom: 26px;
}
.hero-badge b { color: var(--accent); font-family: var(--mono); letter-spacing: .06em; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 210, 180, .18); }

.hero h1 {
  font-size: clamp(32px, 5.2vw, 60px); line-height: 1.15; margin-bottom: 22px;
  letter-spacing: -.02em; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.hero-sub { font-size: clamp(15px, 1.5vw, 18px); color: #a9bdd6; max-width: 620px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 26px; max-width: 640px; }
.hero-fact { flex: 1 1 140px; padding-right: 24px; }
.hero-fact strong { display: block; font-size: 28px; font-weight: 800; font-family: var(--mono); color: #fff; line-height: 1.1; }
.hero-fact strong small { font-size: 14px; font-weight: 600; margin-left: 2px; color: var(--accent); }
.hero-fact span { font-size: 13px; color: #8fa6c0; letter-spacing: .04em; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .3s ease;
}
.card:hover::after { width: 100%; }
.card--flat { padding: 8px 40px; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card--flat::after { display: none; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .num {
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand);
  letter-spacing: .14em; display: block; margin-bottom: 14px;
}

.icon-box {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #f0f7ff);
  color: var(--brand); border: 1px solid #dbe8ff;
}
.icon-box svg { width: 26px; height: 26px; }

/* ---------- 服务列表 ---------- */
.svc {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.svc:last-child { border-bottom: 0; }
.svc-idx { font-family: var(--mono); font-size: 13px; color: var(--brand); font-weight: 700; padding-top: 4px; letter-spacing: .1em; }
.svc h3 { font-size: 20px; margin-bottom: 8px; }
.svc p { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 12.5px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line);
}

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.flow-step { position: relative; padding: 0 10px 34px; text-align: center; }
.flow-step::before {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(31, 107, 255, .35), rgba(31, 107, 255, .08));
}
.flow-step:last-child::before { display: none; }
.flow-dot {
  position: relative; z-index: 2; width: 46px; height: 46px; margin: 0 auto 16px;
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
  box-shadow: 0 0 0 6px rgba(31, 107, 255, .07);
}
.flow-step h4 { font-size: 15px; margin-bottom: 4px; }
.flow-step p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--navy); padding: 40px 28px; }
.stat strong { display: block; font-family: var(--mono); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; color: #fff; line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--accent); font-size: .55em; margin-left: 4px; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: #8fa6c0; letter-spacing: .04em; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--rev .split-media { order: 2; }

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background-image: url("../img/pcb-pattern.svg"),
                    linear-gradient(150deg, #10243c, #0b1626);
  background-size: cover, cover;
  background-position: center, center;
  aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(11, 22, 38, .1);
}
.media-frame .ph-note {
  color: #7f96b3; font-size: 13px; max-width: 260px; line-height: 1.6; z-index: 2; padding: 20px;
}
.media-frame .ph-note b { display: block; color: #b9cbe2; font-size: 14px; margin-bottom: 4px; }
.media-frame svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }

.check-list li {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px;
}
.check-list li:last-child { border-bottom: 0; }
.check-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px;
  background: rgba(0, 210, 180, .12); color: #00a88f; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.spec th, table.spec td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--bg-soft); font-weight: 600; color: var(--ink); font-size: 13px; letter-spacing: .04em; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td:first-child { color: var(--muted); width: 38%; }
table.spec td { color: var(--ink); font-weight: 500; }
.todo { color: #c2410c !important; font-weight: 500; }
.todo::after { content: " ✎"; font-size: 11px; opacity: .7; }

/* ---------- 行业标签 ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.industry {
  padding: 22px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-align: center;
  transition: all .2s ease;
}
.industry:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .1em; font-family: var(--mono); margin-top: 4px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, #12a7c9);
  color: #fff; border-radius: var(--radius-lg); padding: 56px 56px; display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .55); }
.cta-band .btn--white { background: #fff; color: var(--brand-dark); }
.cta-band .btn--white:hover { background: #f2f6ff; color: var(--brand-dark); }

/* ---------- 页面 Hero（子页） ---------- */
.page-hero {
  padding: calc(var(--header-h) + 84px) 0 72px;
  background: linear-gradient(150deg, #081020 0%, #0b1626 60%, #0e2038 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  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: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); color: #fff; margin-bottom: 14px; }
.page-hero p { color: #a3b8d1; max-width: 680px; margin: 0; font-size: 16.5px; }

.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: #7f96b3; margin-bottom: 22px; }
.breadcrumb a { color: #a9bdd6; }
.breadcrumb span { opacity: .5; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-item:first-child { padding-top: 0; }
.info-item .icon-box { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 10px; }
.info-item .icon-box svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 13px; color: var(--muted); font-weight: 500; margin: 0 0 4px; letter-spacing: .04em; }
.info-item p { margin: 0; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.info-item p a { color: var(--ink); }
.info-item p a:hover { color: var(--brand); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field label .req { color: #e11d48; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 107, 255, .1);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }

.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 320px; background: linear-gradient(150deg, #eef3fa, #e4ecf7);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13.5px; padding: 24px;
}
.map-frame b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #8ea3bd; padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: #8199b5; font-size: 13.5px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #8ea3bd; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; color: #8ea3bd; }
.footer-contact strong { color: #fff; font-family: var(--mono); font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: #6d829c;
}
.footer-bottom a { color: #8ea3bd; }

/* ---------- 浮动联系 ---------- */
.float-contact { position: fixed; right: 22px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fc-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: all .2s ease;
}
.fc-btn:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.fc-btn svg { width: 21px; height: 21px; }
.fc-btn--top { opacity: 0; pointer-events: none; }
.fc-btn--top.show { opacity: 1; pointer-events: auto; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav a { padding: 10px 10px; font-size: 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .section { padding: 72px 0; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.menu-open { background: var(--navy); }
  .site-header.menu-open .nav {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 12px 20px 24px; margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-header.menu-open .nav a { color: #cfdcec; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .site-header.menu-open .nav a.is-active { color: var(--accent); }
  .site-header.menu-open .nav a.is-active::after { display: none; }
  .site-header.menu-open .brand, .site-header.menu-open .brand:hover { color: #fff; }
  .site-header.menu-open .nav-toggle { border-color: rgba(255,255,255,.3); }
  .site-header.menu-open .nav-toggle span,
  .site-header.menu-open .nav-toggle span::before,
  .site-header.menu-open .nav-toggle span::after { background: #fff; }
  .site-header.menu-open .nav-toggle span { background: transparent; }
  .site-header.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 72px; }
  .hero-art { display: none; }
  .hero-facts { max-width: 100%; }
  .hero-fact { flex: 1 1 45%; padding-bottom: 16px; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 40px 32px; }
  .form-card { padding: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-fact strong { font-size: 22px; }
  .float-contact { right: 14px; bottom: 16px; }
  .svc { grid-template-columns: 1fr; gap: 6px; }
  .header-phone { display: none; }
}
