/* ============================================================
   城投停车 · 官网设计系统
   风格：政务蓝 + 印章红 · 国企城投官方
   ============================================================ */

:root {
  /* 政府蓝系 */
  --primary:        #1B4D8E;
  --primary-dark:   #143E72;
  --primary-light:  #2E6FB5;
  --primary-50:     #EAF1F9;
  --primary-100:    #D7E4F2;

  /* 印章红系 */
  --red:            #C8342A;
  --red-dark:       #9A2820;
  --red-light:      #E04E3F;
  --red-50:         #FCEEEC;

  /* 国徽金 */
  --gold:           #B8902E;

  /* 背景 */
  --bg:             #FFFFFF;
  --bg-soft:        #F5F7FA;
  --bg-paper:       #FAF8F3;

  /* 文字 */
  --ink:            #1F2937;
  --ink-2:          #475569;
  --ink-3:          #94A3B8;

  /* 线条 */
  --line:           #E2E8F0;
  --line-dark:      #CBD5E1;

  /* 字体 */
  --sans:  "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont,
           "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;

  /* 数值 */
  --r:    4px;
  --r-md: 6px;
  --r-lg: 8px;
  --max:  1200px;
  --pad:  40px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(15, 30, 60, 0.06);
  --shadow:    0 4px 16px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 30, 60, 0.12);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ---------- 容器 ---------- */
.wrap {
  width: min(var(--max), calc(100% - var(--pad)));
  margin: 0 auto;
}

/* ---------- 顶部装饰：红头文件感 ---------- */
.gov-bar {
  height: 4px;
  background: var(--red);
}

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar a { color: var(--primary); transition: color 0.2s; }
.topbar a:hover { color: var(--red); }
.topbar .stat-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 6px;
  vertical-align: middle;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.logo:hover .logo-mark { transform: rotate(-3deg); }
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  position: relative;
  transition: transform 0.3s var(--ease);
  box-shadow: inset 0 -3px 0 var(--red-dark);
}
.logo-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  pointer-events: none;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .brand {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.logo-text .tag {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

nav { display: flex; gap: 2px; align-items: center; }
nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: color 0.2s;
}
nav a:hover { color: var(--primary); }
nav a.active { color: var(--primary); font-weight: 600; }
nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
}
nav a.btn::after,
nav a.btn.active::after { display: none; }
nav a.btn { margin-left: 8px; padding: 9px 18px; }

.menu-btn {
  display: none;
  border: 1px solid var(--line-dark);
  background: #fff;
  border-radius: var(--r);
  padding: 8px 14px;
  color: var(--ink);
  font-size: 14px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}
.btn:hover { background: var(--primary-dark); }
.btn-accent { background: var(--red); }
.btn-accent:hover { background: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-ghost-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-ghost-red:hover { background: var(--red); color: #fff; }

/* ---------- 排版尺度 ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.25; }
h2 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: 0.05em; }
p { margin: 0; }

.lead {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  padding: 4px 12px;
  background: var(--primary-50);
  border-radius: 2px;
}

/* ---------- 区段 ---------- */
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.white { background: var(--bg); }
.section.soft  { background: var(--bg-soft); }
.section.paper { background: var(--bg-paper); }
.section.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, 0.92);
}
.section.primary h1,
.section.primary h2,
.section.primary h3,
.section.primary h4 { color: #fff; }

.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 600;
}
.section.primary .section-num { color: rgba(255, 255, 255, 0.7); }

.section-head { margin-bottom: 64px; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 {
  margin-bottom: 18px;
  max-width: 760px;
  font-weight: 700;
}
.section-head h2 .accent {
  color: var(--red);
  position: relative;
}
.section-head .lead { max-width: 720px; font-size: 17px; }
.section.primary .section-head .lead { color: rgba(255, 255, 255, 0.85); }
.section.primary .kicker { color: rgba(255, 255, 255, 0.85); }
.section.primary .kicker::before { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(to right, rgba(27, 77, 142, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 77, 142, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin: 18px 0 22px; color: var(--ink); }
.hero h1 .accent {
  color: var(--red);
  position: relative;
  display: inline-block;
  padding: 0 2px;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 10px;
  background: rgba(200, 52, 42, 0.18);
  z-index: -1;
}
.hero p.lead { color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-metrics {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hero-metric .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-metric .lab {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

/* Hero 右侧：模块预览 */
.mod-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.mod-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.mod-card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: var(--primary-50);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--primary);
}
.mod-card .icon svg { width: 22px; height: 22px; }
.mod-card .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.mod-card .desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}
.mod-card.featured {
  border-color: var(--primary);
  background: var(--primary-50);
}
.mod-card.featured .icon {
  background: var(--primary);
  color: #fff;
}
.mod-card.featured::after {
  content: "核心";
  position: absolute;
  top: 12px; right: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid var(--red);
}

/* ---------- 核心能力 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
}
.feature.accent::before { background: var(--red); }
.feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: var(--primary-50);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.feature h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ---------- 场景卡片 ---------- */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.scene:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}
.scene-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r);
  background: var(--primary-50);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.scene-icon svg { width: 28px; height: 28px; }
.scene h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.scene p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}
.scene .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  padding: 3px 10px;
  background: var(--primary-50);
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ---------- 流程时间线 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.flow::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16.67%;
  width: 66.67%;
  height: 1px;
  background: var(--line-dark);
  z-index: 0;
}
.flow-step {
  position: relative;
  z-index: 1;
  padding: 0 22px;
  text-align: center;
}
.flow-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.flow-step h3 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}
.flow-step p {
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}
.flow-step .step-tag {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

/* ---------- 价值主张 ---------- */
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.value {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.value::before {
  content: "";
  position: absolute;
}
.value-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  padding-top: 4px;
  flex-shrink: 0;
}
.value h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 10px;
}
.value p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 子页面头部 ---------- */
.page-head {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 4px;
  background: var(--red);
}
.page-head h1 {
  margin: 16px 0 14px;
  max-width: 760px;
}
.page-head h1 .accent { color: var(--red); }
.page-head .lead {
  color: var(--ink-2);
  max-width: 640px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
}
.crumbs a {
  color: var(--primary);
  transition: color 0.2s;
}
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--ink-3); }

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: middle;
}
th {
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-50);
  font-size: 13px;
  letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-soft); }
td code {
  font-size: 12.5px;
  background: var(--red-50);
  color: var(--red-dark);
  padding: 2px 8px;
  border-radius: 2px;
}

/* ---------- 联系卡 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px;
}
.contact-card.featured {
  border-color: var(--primary);
  background: var(--primary-50);
}
.kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px 22px;
  margin: 0;
}
.kv dt {
  font-size: 13px;
  color: var(--ink-2);
  padding-top: 6px;
}
.kv dd {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.kv dd a { color: var(--primary); transition: color 0.2s; }
.kv dd a:hover { color: var(--red); }

.contact-card ul {
  padding-left: 22px;
  margin: 14px 0 0;
  color: var(--ink-2);
}
.contact-card ul li { margin-bottom: 8px; }

/* ---------- 公司时间线 ---------- */
.timeline {
  position: relative;
  margin-top: 28px;
  padding-left: 32px;
  border-left: 2px solid var(--primary-light);
}
.timeline-item {
  position: relative;
  padding: 0 0 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}
.timeline-item.accent::before { border-color: var(--red); }
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.timeline-item p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.8;
}

/* ---------- 注册信息 ---------- */
.reg-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.reg-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
.reg-row:last-child { border-bottom: 0; }
.reg-row .k {
  background: var(--primary-50);
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}
.reg-row .v {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  font-weight: 500;
}

/* ---------- 法律页 ---------- */
.legal-body {
  background: var(--bg);
  padding: 80px 0;
}
.legal {
  max-width: 800px;
  margin: 0 auto;
  color: var(--ink);
}
.legal-body h2 {
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--red);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 14px;
}
.legal-body ul { padding-left: 24px; }
.legal-body ul li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); }
.legal-body .meta {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* ---------- 页脚 ---------- */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 70px 0 24px;
}
footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.05em;
}
footer a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; }
footer a:hover { color: var(--red-light); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-brand .logo { margin-bottom: 18px; }
.foot-brand .logo-text .brand { color: #fff; }
.foot-brand .logo-text .tag { color: rgba(255, 255, 255, 0.7); }
.foot-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.8;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a { font-size: 14px; }
.foot-col .lab {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 6px;
  min-width: 36px;
}
.icp {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.icp a { color: rgba(255, 255, 255, 0.85); }

/* ---------- 滚动揭示 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 50px; }
  .mod-preview { max-width: 480px; margin: 0 auto; }
  .section-head { margin-bottom: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .scenarios-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow::before { display: none; }
  .flow-step { text-align: left; padding: 0; }
  .flow-num { margin-left: 0; }
  .flow-step p { margin: 0; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  nav { display: none; }
  nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px var(--pad);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  nav.open a { padding: 12px 14px; }
  nav.open a.btn { margin: 6px 0 0; }
  .menu-btn { display: inline-flex; }
  .reg-row { grid-template-columns: 130px 1fr; }
  .reg-row .k { padding: 14px 18px; }
  .reg-row .v { padding: 14px 18px; }
}

@media (max-width: 720px) {
  :root { --pad: 24px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 60px; }
  .page-head { padding: 50px 0 50px; }
  .grid-3 { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-metrics { grid-template-columns: 1fr; gap: 16px; }
  .mod-preview { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 90px 1fr; gap: 12px 18px; }
  .kv dd { font-size: 14.5px; }
  .reg-row { grid-template-columns: 1fr; }
  .reg-row .k { font-size: 12px; padding: 10px 16px; }
  .reg-row .v { padding: 14px 16px; font-size: 14.5px; }
  .feature-num { font-size: 11px; }
}

/* ---------- 焦点态 ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 3px;
}