/* ============================================================
   厦门恒安信财税咨询 · 全站样式表
   ------------------------------------------------------------
   调性目标：从「代办中介」升级为「专业顾问机构」
   视觉策略：提高信息密度、减少装饰性阴影、用数据与结构建立专业感

   阅读顺序：
   1. 设计变量   2. 基础重置   3. 通用组件
   4. 各区块      5. 响应式      6. 无障碍与动效偏好
   ============================================================ */

/* ============================================================
   1. 设计变量
   ------------------------------------------------------------
   💡 换配色只改这一段。
      当前配色严格对齐《恒安信VI色》规范：
        主色 深蓝 #12335F · 辅助色 大地金/古铜 #C1A16B · 文字深灰 #333333
        VI 原文：「深蓝底 #12335F 烫白字」「背景色 纯白 #FFFFFF」
   ============================================================ */
:root {
  /* —— 颜色（全部来自 VI 规范）—— */
  --paper:      #f7f9fc;   /* 极淡冷灰，仅用于区块交替 */
  --surface:    #ffffff;   /* VI：背景色 纯白 */
  --ink:        #12335F;   /* VI 主色：深蓝 */
  --ink-2:      #0d2749;   /* 深蓝加深，用于深色区块渐变 */
  --ink-3:      #1a4478;   /* 深蓝提亮，用于深色区块渐变 */
  --body:       #333333;   /* VI：文字深灰色 */
  --muted:      #6b7683;   /* 次要文字（对比度 4.67:1，达 AA） */
  --line:       #e2e8f0;
  --line-dark:  rgba(255, 255, 255, .14);
  --accent:     #C1A16B;   /* VI 辅助色：大地金/古铜色 */
  --accent-2:   #d2b681;   /* 金色浅版，用于深底上的文字 */
  --accent-ink: #7d6432;   /* 金色深版，用于浅底上的文字（对比度 5.61:1） */
  --on-dark:    #eef2f6;
  --on-dark-mut:#a5b4c7;
  --danger:     #c0564a;

  /* —— 字体 —— */
  --font-serif: Georgia, "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  /* 数据用等宽体：数字对齐整齐，专业感来自细节 */
  --font-mono:  ui-monospace, "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;

  /* —— 尺寸 —— */
  --container: 1180px;
  --gutter:    24px;
  --radius:    10px;
  --radius-sm: 7px;
  --section-y: clamp(60px, 7.5vw, 112px);

  --shadow-sm: 0 1px 2px rgba(18, 51, 95, .04), 0 4px 14px rgba(18, 51, 95, .06);
  --shadow-md: 0 14px 40px rgba(18, 51, 95, .12);

  --t: .26s;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ============================================================
   2. 基础重置
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 吸顶导航约 82px 高，留出余量避免锚点标题被盖住 */
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.28;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }
strong { font-weight: 600; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t) var(--ease), opacity var(--t) var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============================================================
   3. 通用组件
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 60px); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-desc { color: var(--on-dark-mut); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 16px;
}
.eyebrow--light { color: var(--accent-2); }

.section-title { font-size: clamp(25px, 3.2vw, 40px); margin-bottom: .55em; }
.section-desc { color: var(--muted); font-size: 16.5px; margin: 0; }
.section-desc strong { color: var(--ink); }

/* ⚠️ 深色区块里的强调文字必须换色。
   --ink 是 VI 深蓝 #12335F，压在同样深蓝的区块底色上几乎不可见。
   深色区块统一改用 --accent-2 浅金 #d2b681，对深蓝底对比度 6.46:1，达 WCAG AA。 */
.section-head--light .section-desc strong { color: var(--accent-2); }

.grid { display: grid; gap: 20px; }

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* 主按钮：金色底 + 深蓝字。
   深蓝 #12335F 对金 #C1A16B 的对比度为 5.16:1，达到 WCAG AA 标准。
   （白字配金底只有 2.45:1，不达标，所以用深蓝字） */
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(18, 51, 95, .16);
}
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 9px 24px rgba(18, 51, 95, .22); }

/* 次要按钮：描边款。用于需要按钮外观但不占主行动位置的场景 */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(193, 161, 107, .08);
  color: var(--accent-ink);
}

/* 深色底上的次要按钮。
   ⚠️ .btn--ghost 是深蓝字（--ink），压在深蓝 hero 上等于隐形 ——
   深色区块的文字颜色必须显式指定。用浅金 --accent-2（对深蓝 6.46:1，达 AAA）。
   目前只有 404 页用到（hero 里的「回到首页」）。 */
.btn--ghost.btn--on-dark {
  color: var(--accent-2);
  border-color: rgba(210, 182, 129, .55);
}
.btn--ghost.btn--on-dark:hover {
  color: #fff;
  border-color: var(--accent-2);
  background: rgba(210, 182, 129, .12);
}

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* 深入链接：用文字链接而不是按钮 —— 按钮只留给「预约出海财税体检」这一个动作 */
.cases__more { margin: 34px 0 0; text-align: center; }
.more-link {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--accent-ink);
  border-bottom: 1px solid rgba(193, 161, 107, .45);
  padding-bottom: 3px;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.more-link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* 深色区块里的文字链接 —— 金色深版（--accent-ink）压在深蓝底上读不出来，
   必须换浅金（--accent-2，对比度 6.46:1）。用 .more-link--light 显式标注。 */
.more-link--light { color: var(--accent-2); border-bottom-color: rgba(210, 182, 129, .45); }
.more-link--light:hover { color: #fff; border-bottom-color: #fff; }

/* 服务地图下方的目的地入口（文字链接，不用按钮 —— 守住单动作原则） */
.path__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 36px 0 0;
  font-size: 14.5px;
}
.path__more-label { color: var(--muted); }
/* 第二行「按服务范围看」—— 样式与上一行一致，只多一道上间距 */
.path__more--scope { margin-top: 12px; }

/* ============================================================
   4. 各区块
   ============================================================ */

/* ---------- 4.1 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 15px;
  transition: background var(--t) var(--ease), padding var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-block: 11px;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(18, 51, 95, .06);
}

.header-inner { display: flex; align-items: center; gap: 26px; }

/* 品牌 Logo —— 直接使用 VI 标准横向组合标（图形 + 恒安信 + CONSTANT）
   深色背景用金色版，白色背景用蓝色版。
   两版图片尺寸完全一致，切换时不会产生布局位移（CLS = 0）。 */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__logo--onlight { display: none; }
.site-header.is-scrolled .brand__logo--ondark { display: none; }
.site-header.is-scrolled .brand__logo--onlight { display: block; }

/* 品牌承诺：固定出现在 Logo 旁（依据定位手册）。
   窄屏空间不足时隐藏——首屏和页脚仍各有一处，信息不会丢失。 */
.brand-promise {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent-2);
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .24);
  white-space: nowrap;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.is-scrolled .brand-promise {
  color: var(--accent-ink);
  border-left-color: var(--line);
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__link {
  position: relative;
  color: rgba(255, 255, 255, .86);
  font-size: 14.5px;
  font-weight: 500;
  padding-block: 6px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent-2);
  transform: translateX(-50%);
  transition: width var(--t) var(--ease);
}
.nav__link:hover::after { width: 100%; }
.site-header.is-scrolled .nav__link { color: var(--ink); }
.site-header.is-scrolled .nav__link::after { background: var(--accent); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease),
              background var(--t) var(--ease);
}
.site-header.is-scrolled .nav-toggle__bar { background: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 4.2 首屏 Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(136px, 17vh, 208px);
  padding-bottom: clamp(48px, 6vh, 76px);
  /* VI：深蓝底 #12335F */
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 55%, var(--ink-3) 100%);
  overflow: hidden;
  isolation: isolate;
}

/* 蓝图网格：呼应"架构设计"的专业属性，纯 CSS 无图片 */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 85% at 20% 10%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 85% at 20% 10%, #000 0%, transparent 78%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 22%, rgba(193, 161, 107, .18) 0%, transparent 68%),
    linear-gradient(to top, var(--ink-2) 0%, transparent 42%);
}

.hero__inner { position: relative; max-width: 880px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent-2);
  border: 1px solid rgba(193, 161, 107, .42);
  background: rgba(193, 161, 107, .12);
  padding: 7px 15px;
  border-radius: 999px;
  margin: 0 0 30px;
}
.hero__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}

.hero__title {
  color: #fff;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.1;
  letter-spacing: .005em;
  margin-bottom: .42em;
}

/* 品牌承诺小字：紧跟主标题正下方（定位手册指定的位置） */
.hero__promise {
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.5vw, 19px);
  letter-spacing: .22em;
  color: var(--accent-2);
  margin: 0 0 1.1em;
  padding-left: 3px;
}

.hero__lead {
  color: rgba(255, 255, 255, .74);
  font-size: clamp(15.5px, 1.5vw, 18px);
  max-width: 660px;
  margin-bottom: 2.3em;
}

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__hint {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* 信任条 */
.trustbar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: clamp(44px, 6vh, 76px);
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.trustbar li {
  padding: 20px 22px;
  background: rgba(13, 39, 73, .62);
  backdrop-filter: blur(4px);
}
.trustbar strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.trustbar span { font-size: 13px; color: rgba(255, 255, 255, .56); letter-spacing: .05em; }

.trustbar__cert { display: flex; align-items: center; }
/* 信任条第 4 格：品牌定位语。比数字小，但要有分量，不能被当成小字备注 */
.cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: .06em;
}
.cert svg { width: 24px; height: 24px; flex: none; }

/* ---------- 4.3 服务对象 ---------- */
.clients { background: var(--paper); }

.client-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-top-color var(--t) var(--ease);
}
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.client-card__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.client-card__title { font-size: 21px; margin-bottom: .65em; }
.client-card__list { display: grid; gap: 11px; }
.client-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}
.client-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 4.4 出海风险 ---------- */
.risks {
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink-3) 100%);
}
.risks__grid { gap: 20px; }

.risk-card {
  padding: 30px 26px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.risk-card:hover { background: rgba(255, 255, 255, .075); border-color: rgba(193, 161, 107, .38); }

.risk-card__title {
  color: #fff;
  font-size: 20px;
  margin-bottom: .55em;
}
.risk-card__pain {
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  margin-bottom: 1.2em;
}
.risk-card__fix {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  line-height: 1.68;
}
.risk-card__fix span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 9px;
  vertical-align: 2px;
}

/* ---------- 4.5 服务地图 ---------- */
.map { background: var(--surface); }

.path {
  display: grid;
  gap: 0;
  position: relative;
}
.path__step {
  position: relative;
  padding: 24px 0 24px 52px;
  border-left: 1px solid var(--line);
}
.path__step::before {
  content: "";
  position: absolute;
  left: -5.5px; top: 30px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  transition: background var(--t) var(--ease);
}
.path__step:first-child { padding-top: 0; }
.path__step:first-child::before { top: 6px; }
.path__step:last-child { padding-bottom: 0; }
.path__step:hover::before { background: var(--accent); }

/* 每个节点是通往业务详情页的链接 —— 整块可点，悬停时标题变金色提示可点 */
.path__link { display: block; }
.path__title { transition: color var(--t) var(--ease); }
.path__step:hover .path__title { color: var(--accent-ink); }
.path__link::after {
  content: "查看详情 →";
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--accent-ink);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.path__step:hover .path__link::after { opacity: 1; transform: none; }

.path__no {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.path__title { font-size: 18.5px; margin-bottom: .3em; }
.path__desc { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- 4.6 标杆案例 ---------- */
.cases { background: var(--paper); }
.cases__list { display: grid; gap: 20px; }

.case {
  display: grid;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 40px);
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.case__main { min-width: 0; }

.case__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent-ink);
  background: rgba(193, 161, 107, .12);
  border: 1px solid rgba(193, 161, 107, .26);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 16px;
}
.case__title {
  font-size: clamp(19px, 2.2vw, 24px);
  margin-bottom: .5em;
}
.case__body { font-size: 15.5px; color: var(--body); margin: 0; }

.case__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.case__metrics li { display: flex; flex-direction: column; gap: 4px; }
.case__metrics strong {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.case__metrics small { font-size: .58em; color: var(--accent-ink); }
.case__metrics span { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }

/* ---------- 4.7 为什么是恒安信 ---------- */
.about {
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink-3) 100%);
}

.pillars {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.pillar {
  padding: 32px 28px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease);
}
.pillar:hover { border-color: rgba(193, 161, 107, .4); }

.pillar__char {
  display: block;
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1;
  color: var(--accent-2);
  margin-bottom: 20px;
  opacity: .95;
}
.pillar__title { color: #fff; font-size: 19px; margin-bottom: .5em; }
.pillar__text { font-size: 14.5px; color: rgba(255, 255, 255, .68); margin: 0; }

/* 数据背书条 */
.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.kpis li {
  padding: 26px 24px;
  background: rgba(13, 39, 73, .6);
  text-align: left;
}
.kpis strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  color: var(--accent-2);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.kpis span { font-size: 13px; color: var(--on-dark-mut); letter-spacing: .05em; }

.kpis__note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
}

/* ---------- 4.8 行动召唤 ---------- */
.cta { background: var(--paper); }
.cta__inner { display: grid; gap: clamp(34px, 4.5vw, 64px); align-items: start; }

.cta__lead { color: var(--body); font-size: 16.5px; margin-bottom: 1.6em; }
.cta__lead strong { color: var(--ink); }

.cta__points { display: grid; gap: 13px; margin-bottom: 30px; }
.cta__points li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--ink);
}
.cta__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 12px; height: 2px;
  background: var(--accent);
}

.cta__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cta__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.cta__contact a:hover { color: var(--accent-ink); }
.cta__contact a svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.cta__hours { font-size: 13.5px; color: var(--muted); }

/* ---------- 4.8a 留咨区：表单为主 + 企业微信为辅 ---------- */
.cta__panel { display: grid; gap: 18px; align-self: start; }

.form__head {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 22px;
}
.form__privacy {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* 主路径：企业微信「收集表」入口
   链接写在 data-collect-url 上；留空时 JS 会隐藏本卡片，
   并把下面的 .alt-channel 升级为主路径。 */
.collect-card {
  padding: clamp(24px, 3.2vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.collect-card__head {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}
.collect-card__desc {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.collect-card__desc strong { color: var(--ink); }

.collect-card__points {
  display: grid;
  gap: 11px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.collect-card__points li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--body);
}
.collect-card__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 12px; height: 2px;
  background: var(--accent);
}

/* 辅助路径：直接加微信。刻意做小、做轻，不跟主路径抢注意力 */
.alt-channel {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* 收集表未配置时，二维码升级为主路径：实线、白底、图形放大 */
.alt-channel.is-primary {
  padding: clamp(24px, 3.2vw, 34px);
  background: var(--surface);
  border-style: solid;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.alt-channel.is-primary .alt-channel__label {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 20px;
}
.alt-channel.is-primary .alt-channel__body { flex-direction: column; gap: 18px; }
.alt-channel.is-primary .alt-channel__qr { width: 196px; max-width: 60%; }
.alt-channel.is-primary .alt-channel__info { text-align: center; }
.alt-channel.is-primary .alt-channel__id { justify-content: center; font-size: 14.5px; }
.alt-channel.is-primary .alt-channel__id strong { font-size: 17px; }

.alt-channel__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 14px;
  text-align: center;
}
.alt-channel__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.alt-channel__qr {
  flex: none;
  width: 104px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.alt-channel__qr img { width: 100%; height: auto; display: block; }
.alt-channel__info { min-width: 0; }
.alt-channel__id {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
}
.alt-channel__id strong {
  font-family: var(--font-mono);
  font-size: 15.5px;
  color: var(--ink);
}
.alt-channel__hint { margin: 0; font-size: 13px; color: var(--muted); }

.cta__fallback { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.cta__fallback a { color: var(--accent-ink); font-weight: 600; }

.qr-card__id {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--muted);
}
.qr-card__id strong {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: .02em;
}

.copy-btn {
  padding: 5px 13px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.copy-btn:hover { background: var(--accent); color: var(--ink); }
.copy-btn.is-done { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 4.8b 政策动态页 ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(132px, 16vh, 190px);
  padding-bottom: clamp(48px, 6vh, 76px);
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 60%, var(--ink-3) 100%);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__title {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: .4em;
}
.page-hero__desc {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(15px, 1.5vw, 17.5px);
  max-width: 640px;
  margin: 0;
}

/* —— 404 页专用（page-hero 的两个可选块）—— */
/* 装饰性的大号 404：aria-hidden，只是视觉锚点，语义由 h1 承担。
   用等宽体是刻意的 —— 全站数字都走 --font-mono，风格统一。 */
.page-hero__code {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: rgba(210, 182, 129, .32);
  margin: 0 0 12px;
}
.page-hero__actions { margin-top: clamp(26px, 3.4vw, 38px); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 26px;
}
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--accent-2); }

/* 公众号订阅区 */
.subscribe { background: var(--paper); }
.subscribe__inner { display: grid; gap: clamp(34px, 4.5vw, 64px); align-items: center; }
.subscribe__lead { color: var(--body); font-size: 16.5px; }
.subscribe__lead strong { color: var(--ink); }

.subscribe__topics { display: grid; gap: 14px; }
.subscribe__topics li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: var(--ink);
}
.subscribe__topics li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 12px; height: 2px;
  background: var(--accent);
}

.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.qr-card__head {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
}
.qr-card__img {
  width: 210px;
  max-width: 62%;
  margin: 0 auto 18px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.qr-card__img img { width: 100%; height: auto; display: block; }
.qr-card__hint { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }

/* 往期速览 */
.policy-list { background: var(--surface); }
.policy-list__items { display: grid; gap: 18px; }

.policy-item {
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.policy-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.policy-item__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--accent-ink);
  background: rgba(193, 161, 107, .14);
  padding: 4px 11px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.policy-item__title { font-size: 19px; margin-bottom: .45em; }
.policy-item__desc { font-size: 15px; color: var(--body); margin: 0; }

.policy-list__note { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); }

/* 当前页导航项高亮 */
.nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { width: 100%; }

/* ------------------------------------------------------------
   4.8a-2 表单组件（当前留咨主路径）
   表单提交到 form 的 data-endpoint（默认 /api/submit），
   由 api/submit.js 接收后写入企业微信多维表格。
   ------------------------------------------------------------ */
.cta__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 38px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 18px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.req { color: var(--accent-ink); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238494a4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input::placeholder,
.field textarea::placeholder { color: #a8b4c0; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(193, 161, 107, .14);
}
.field textarea { resize: vertical; min-height: 92px; }

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-color: var(--danger); }
.field__error {
  color: var(--danger);
  font-size: 13px;
  margin: 6px 0 0;
  min-height: 0;
}

.form__note { margin: 14px 0 0; font-size: 14px; min-height: 22px; text-align: center; }
.form__note.is-success { color: #3f8f63; }
.form__note.is-error { color: var(--danger); }

/* ============================================================
   4.8c 业务页 / 案例页 / FAQ 页
   ------------------------------------------------------------
   这组页面有共同目标：让「人看得懂」也「机器读得懂」。
   所以答案一律用可见文本（不做折叠），标题层级严格 h1 > h2 > h3。
   ============================================================ */

/* —— 业务页：这是什么 + 适合什么情况 —— */
.svc-about__grid { display: grid; gap: clamp(30px, 4vw, 56px); align-items: start; }
.svc-about__main p { color: var(--body); font-size: 16.5px; margin: 0 0 1.1em; }
.svc-about__main p:last-child { margin-bottom: 0; }
.svc-about__main strong { color: var(--ink); }

.fit-card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.fit-card__title { font-size: 19px; margin-bottom: 1em; }
.fit-card__list { display: grid; gap: 12px; }
.fit-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
}
.fit-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 13px; height: 2px;
  background: var(--accent);
}

/* —— 编号步骤（业务页的「我们具体做什么」/ 案例的「问题」「做法」）—— */
.step-list { display: grid; gap: 24px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; }
.step-item__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  padding-top: 4px;
  letter-spacing: .04em;
}
.step-item__title { font-size: 17.5px; margin-bottom: .4em; }
.step-item__desc { color: var(--body); font-size: 15.5px; margin: 0; }
.step-item__desc strong { color: var(--ink); }

/* —— 交付物清单 —— */
.deliver-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.deliver-list li {
  position: relative;
  padding: 18px 22px 18px 50px;
  background: var(--surface);
  font-size: 15.5px;
  color: var(--body);
}
.deliver-list li::before {
  content: "";
  position: absolute;
  left: 22px; top: 24px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* —— Q&A（可见，不折叠 —— AI 要能直接读到答案）—— */
.qa-list { display: grid; gap: 30px; }
.qa-list--wide { max-width: 860px; }

.qa { border-left: 2px solid var(--line); padding-left: 22px; }
.qa__q {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: .5em;
  scroll-margin-top: 110px;
}
.qa__a { color: var(--body); font-size: 15.5px; line-height: 1.75; margin: 0; }
.qa__a strong { color: var(--ink); }

/* —— 下一步 —— */
.next-grid { display: grid; gap: 18px; }
.next-card {
  display: block;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.next-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}
.next-card__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--accent-ink);
  margin: 0 0 10px;
}
.next-card__title { font-size: 19px; margin-bottom: .4em; }
.next-card__desc { font-size: 14.5px; color: var(--muted); margin: 0; }

/* —— 案例列表 —— */
.cases-list { background: var(--paper); }
.case-grid { display: grid; gap: 20px; }

.case-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.case-card__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--accent-ink);
  background: rgba(193, 161, 107, .14);
  padding: 4px 11px;
  border-radius: 999px;
  margin: 0 0 16px;
  align-self: flex-start;
}
.case-card__title { font-size: 20px; margin-bottom: .5em; }
.case-card__desc { color: var(--body); font-size: 15px; margin: 0 0 20px; flex: 1; }
.case-card__link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-ink);
  align-self: flex-start;
}
.case-card__link:hover { color: var(--ink); }

.cases-list__note { margin: 28px 0 0; font-size: 12.5px; color: var(--muted); }

/* —— 案例详情 —— */
.case-detail__meta {
  display: grid;
  gap: 14px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: clamp(34px, 4vw, 54px);
}
.case-detail__meta p { margin: 0; font-size: 15px; color: var(--ink); }
.case-detail__meta p span {
  display: inline-block;
  min-width: 56px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.case-detail__block { margin-bottom: clamp(38px, 4.5vw, 60px); }
.case-detail__block > .section-title { margin-bottom: .7em; }
.case-detail__block p { color: var(--body); font-size: 16px; line-height: 1.75; margin: 0 0 1em; }
.case-detail__block p:last-child { margin-bottom: 0; }

.result-grid { display: grid; gap: 16px; }
.result-item {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.result-item__num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--accent-ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.result-item__label { font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.result-item__note { font-size: 13.5px; color: var(--muted); }

.case-detail__note {
  padding: 16px 20px;
  background: rgba(193, 161, 107, .1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--body);
  margin-bottom: 28px;
}
.case-detail__back { font-size: 15px; margin: 0; }
.case-detail__back a { color: var(--accent-ink); font-weight: 600; }

/* —— FAQ 页 —— */
.faq-index { background: var(--paper); padding-block: clamp(34px, 4vw, 48px); }
.faq-index__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 16px;
}
.faq-index__list { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-index__list a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.faq-index__list a:hover { border-color: var(--accent); background: rgba(193, 161, 107, .07); }

.faq-group { margin-bottom: clamp(46px, 5.5vw, 70px); scroll-margin-top: 104px; }
.faq-group:last-of-type { margin-bottom: 0; }
.faq-group > .section-title { margin-bottom: .9em; }

.faq-disclaimer {
  margin: clamp(38px, 4.5vw, 54px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}
.faq-disclaimer a { color: var(--accent-ink); font-weight: 600; }

/* ---------- 4.11b 目的地专题页 ---------- */
/* 两栏布局：设立条件 / 所需材料 并排，窄屏自动堆叠 */
.two-col { display: grid; gap: clamp(20px, 2.6vw, 32px); align-items: start; }
@media (min-width: 860px) {
  .two-col { grid-template-columns: repeat(2, 1fr); }
}

/* 条件用「标签 + 说明」两列，标签固定宽度保证纵向对齐 */
.spec-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.spec-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--body);
}
.spec-list li > strong { color: var(--ink); font-weight: 600; }
.spec-list li > span strong { color: var(--ink); }

.dest-duties { background: var(--paper); }
.dest-duty-note {
  margin: 26px 0 0;
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}
.dest-duty-note strong { color: var(--ink); }

/* 常见坑：用分隔线卡片列表，标题前的短横用警示色区分 */
.pitfall-list {
  display: grid;
  gap: 1px;
  margin: 0; padding: 0; list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pitfall { padding: 22px 24px; background: var(--surface); }
.pitfall__title {
  position: relative;
  padding-left: 20px;
  margin: 0 0 .5em;
  font-size: 16.5px;
}
.pitfall__title::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 10px; height: 2px;
  background: var(--danger);
}
.pitfall__desc { margin: 0; font-size: 15px; line-height: 1.72; color: var(--body); }
.pitfall__desc strong { color: var(--ink); }

/* ---------- 4.11c 厦门本地页 · 办公点 ---------- */
.office-list {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 700px) {
  .office-list { grid-template-columns: repeat(2, 1fr); }
}
.office-card {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.office-card__name { font-size: 16.5px; margin: 0 0 .5em; }
.office-card__addr {
  margin: 0 0 .45em;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--ink);
  font-weight: 600;
}
.office-card__note { margin: 0; font-size: 13.5px; line-height: 1.66; color: var(--muted); }

/* 三列卡片网格（境外落地页的目的地入口）
   ⚠️ 必须写成 .next-grid.next-grid--three：桌面断点里的 .next-grid
      会把列数改成 2，单类选择器特异性相同会被它覆盖。 */
@media (min-width: 860px) {
  .next-grid.next-grid--three { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 4.9 页脚 ---------- */
.site-footer {
  background: #0b2340;
  color: var(--on-dark-mut);
  padding-top: clamp(48px, 6vw, 72px);
  font-size: 15px;
}
.footer__inner {
  display: grid;
  gap: 36px;
  padding-bottom: clamp(34px, 4.5vw, 52px);
}
/* 品牌承诺 + 定位 + 使命：页脚固定组合（依据定位手册） */
.footer__promise {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent-2);
  margin: 22px 0 10px;
}
.footer__desc { margin: 0; max-width: 300px; font-size: 14.5px; }

.footer__mission {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}
.footer__mission span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 6px;
}

.footer__col h3 {
  color: var(--on-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { color: var(--on-dark-mut); }
.footer__col a:hover { color: var(--accent-2); }
.footer__col li { line-height: 1.62; }
.footer__col strong {
  display: inline-block;
  min-width: 52px;
  color: var(--on-dark);
  font-weight: 600;
}

/* ---------- 4.9b 服务边界与免责说明 ---------- */
/* ⚠️ 深色区块内的文字颜色必须显式指定，不能依赖全局默认（--ink 是深蓝，压深蓝底会隐形） */
.footer__legal {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__legal-title {
  margin: 0 0 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--accent-2);
}
.footer__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--on-dark-mut);
}
.footer__legal-list li { margin: 0; }
.footer__legal-list strong { color: var(--on-dark); font-weight: 600; }
.footer__legal-tag {
  display: inline-block;
  min-width: 34px;
  margin-right: 6px;
  padding: 1px 6px;
  border: 1px solid rgba(210, 182, 129, .38);
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--accent-2);
  text-align: center;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}
/* 版权行里的站内链接（关于我们）—— 深色区块内颜色必须显式指定 */
.footer__bottom a { color: var(--accent-2); }
.footer__bottom a:hover { color: #fff; }

/* 页脚右下：资质 ｜ 团队与承诺。
   不用 flex —— 整句当普通行内文本自然折行，避免「｜」悬在行尾。
   桌面右对齐（此处恰好单行），窄屏改左对齐与版权行一致。 */
.footer__meta {
  max-width: 760px;
  margin: 0;
  line-height: 1.7;
  text-align: right;
}
/* 深色区块内文字颜色必须显式指定 */
.footer__meta-qual { color: var(--accent-2); }
.footer__meta-sep { color: rgba(210, 182, 129, .5); }
.footer__meta-team { color: var(--on-dark-mut); }
.footer__meta-team strong { color: var(--on-dark); font-weight: 600; }

@media (max-width: 991px) {
  .footer__meta { text-align: left; }
}

/* ---------- 4.10 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease),
              visibility var(--t), background var(--t) var(--ease);
}
.to-top svg { width: 19px; height: 19px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- 4.11 留咨弹窗（退出意图 / 停留触发）----------
   ⚠️ 默认 display:none，必须由 JS 加上 .is-open 才会出现。
      为什么不靠 hidden 属性：hidden 与 class 选择器权重相同，
      会被本文件后面的规则覆盖，是个隐蔽的坑。
      用「默认不显示」的写法，JS 挂了、禁用 JS 都不会挡住内容。
   ------------------------------------------------------------ */
.leadpop { display: none; }
.leadpop.is-open {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 999;
  padding: 20px;
}

.leadpop__mask {
  position: absolute;
  inset: 0;
  background: rgba(18, 51, 95, .58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.leadpop__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: clamp(24px, 3.2vw, 32px);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(8, 20, 32, .38);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.leadpop.is-open .leadpop__card { opacity: 1; transform: none; }

/* 顶部金色装饰线：呼应 VI 辅助色，让弹窗不显得像个系统提示框 */
.leadpop__card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.leadpop__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;                 /* ≥40px，手指点得中 */
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.leadpop__close:hover { background: var(--paper); color: var(--ink); }
.leadpop__close svg { width: 18px; height: 18px; }

.leadpop__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--accent-ink);
  margin: 0 0 8px;
}

.leadpop__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 27px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.32;
  margin: 0 0 12px;
}

.leadpop__desc {
  font-size: 15px;
  line-height: 1.72;
  color: var(--body);
  margin: 0 0 16px;
}
.leadpop__desc strong { color: var(--accent-ink); }

.leadpop__form { display: grid; gap: 14px; }
.leadpop__form .form__note { margin: 0; min-height: 0; text-align: left; }

/* ⚠️ 藏不住陷阱（已实测踩过一次）：
   .leadpop__form 自带 display:grid，权重高过 hidden 属性对应的浏览器默认规则，
   光写 <form hidden> 是会照常显示出来的。
   凡是「有 display 声明 + 又要靠 hidden 隐藏」的弹窗子块，都必须补一条这样的规则。
   用 [hidden] 提权重，比 !important 干净。 */
.leadpop__form[hidden],
.leadpop__collect[hidden],
.leadpop__fallback[hidden],
.leadpop__qr[hidden],
.leadpop__qr-block[hidden],
.leadpop__privacy[hidden] { display: none; }

/* 降级态：接口和收集表都没配时，直接给二维码（绝不假成功） */
.leadpop__qr {
  width: 152px;
  margin: 0 auto 12px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.leadpop__qr img { width: 100%; height: auto; display: block; }

.leadpop__qr-hint {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  margin: 0 0 10px;
}

.leadpop__id {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.leadpop__id strong { font-family: var(--font-mono); font-size: 15.5px; color: var(--ink); }

.leadpop__tel { text-align: center; font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.leadpop__tel a { color: var(--accent-ink); font-weight: 600; }

.leadpop__privacy {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   5. 滚动显现
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; transition-delay: var(--reveal-delay, 0ms); }

/* ============================================================
   6. 响应式
   ============================================================ */

/* —— 平板及以下：汉堡菜单 —— */
@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }

  .nav.is-open {
    display: block;
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 92px var(--gutter) 36px;
    background: var(--surface);
    box-shadow: var(--shadow-md);
    animation: navDrop .3s var(--ease);
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 0; }
  .nav.is-open .nav__link {
    display: block;
    padding: 15px 4px;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__link::after { display: none; }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* 小屏空间紧张：隐藏导航栏的品牌承诺小字（首屏与页脚仍各有一处，信息不丢） */
@media (max-width: 767px) {
  .brand-promise { display: none; }
}

/* 导航折叠成汉堡菜单后，分隔竖线失去意义，去掉更干净 */
@media (max-width: 920px) {
  .brand-promise { padding-left: 0; border-left: 0; }
}

@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trustbar { grid-template-columns: repeat(4, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  /* 页脚 6 块（品牌 / 服务 / 目的地 / 服务范围 / 办公点 / 联系）：
     平板宽度排成 3×2，比硬塞 6 列可读得多 */
  .footer__inner { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .path__step {
    padding: 62px 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .path__step::before { left: 0; top: -5.5px; }
  .path__step:first-child { padding-top: 62px; }
  .path__step:first-child::before { top: -5.5px; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .case-detail__meta { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 992px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cta__inner { grid-template-columns: 1fr 1.05fr; }
  .case { grid-template-columns: 1fr; }
  .subscribe__inner { grid-template-columns: 1.15fr 1fr; }
  .svc-about__grid { grid-template-columns: 1.45fr 1fr; }
  .next-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 案例在宽屏改为左文右数的横向布局，信息密度更高 */
@media (min-width: 1100px) {
  /* 页脚在宽屏排成 6 列一行：品牌 · 服务 · 目的地 · 服务范围 · 办公点 · 联系 */
  .footer__inner { grid-template-columns: 1.3fr .82fr .82fr .82fr 1.2fr .82fr; }
  .case {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
  }
  .case__metrics {
    padding-top: 0;
    padding-left: 44px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* —— 手机端微调 —— */
@media (max-width: 639px) {
  body { font-size: 15.5px; }
  html { scroll-padding-top: 90px; }
  .brand__logo { height: 44px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__hint { font-size: 12.5px; }
  .path__step { padding-left: 40px; }
  .case__metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .case__metrics strong { font-size: 18px; }
  .case__metrics span { font-size: 11.5px; }
  .to-top { right: 16px; bottom: 16px; }
  .footer__col strong { min-width: 46px; }
  /* 弹窗：手机上要留出键盘弹出后的空间，缩小内边距与二维码 */
  .leadpop { padding: 14px; }
  .leadpop__card { padding: 24px 20px; max-height: calc(100dvh - 28px); }
  .leadpop__qr { width: 152px; }
}

/* ============================================================
   7. 无障碍与用户偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .hero__grid, .hero__glow, .leadpop { display: none; }
  body { background: #fff; color: #000; }
}
