/* ==========================================================================
   土地里 TUDILI — 品牌官网设计系统
   视觉基调源自 Logo：鎏金渐变 + 圆体厚重 + 中国风描边高光
   ========================================================================== */

:root {
  /* —— 鎏金主色（取自 Logo 渐变） —— */
  --gold-100: #FBF3DC;
  --gold-200: #F2DFAE;
  --gold-300: #E4C579;
  --gold-400: #D4A94A;
  --gold-500: #C2912F;
  --gold-600: #A0741F;
  --gold-700: #7C5715;

  /* —— 大地辅色 —— */
  --ink: #1B1710;
  --ink-2: #2A2317;
  --earth: #4A3A26;
  --bark: #6B5638;

  /* —— 生鲜绿 —— */
  --leaf: #2F5D3A;
  --leaf-2: #3F7A4A;
  --leaf-3: #6FA97C;

  /* —— 果品色（辅助） —— */
  --berry: #C0392B;
  --citrus: #E8890C;
  --grape: #7B3F61;

  /* —— 中性 —— */
  --paper: #FBF8F1;
  --paper-2: #F4EEE1;
  --cream: #EFE6D4;
  --white: #FFFFFF;

  /* —— 语义 —— */
  --text: #241D12;
  --text-2: #5C503C;
  --text-3: #8A7C63;
  --text-inv: #F7F1E4;
  --text-inv-2: rgba(247, 241, 228, .72);
  --line: rgba(194, 145, 47, .22);
  --line-inv: rgba(228, 197, 121, .24);

  /* —— 字体 —— */
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    Georgia, serif;
  --font-num: "Optima", "Baskerville", Georgia, var(--font-serif);

  /* —— 尺度 —— */
  --wrap: 1240px;
  --wrap-narrow: 880px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 44px;

  --shadow-sm: 0 2px 10px rgba(60, 44, 16, .06);
  --shadow-md: 0 14px 40px rgba(60, 44, 16, .1);
  --shadow-lg: 0 30px 80px rgba(43, 31, 8, .18);
  --shadow-gold: 0 18px 44px rgba(160, 116, 31, .28);

  --ease: cubic-bezier(.22, .68, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold-300); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   通用容器
   ========================================================================== */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 48px, var(--wrap-narrow)); margin-inline: auto; }

.sec { padding: 120px 0; }
.sec-tight { padding: 84px 0; }
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--text-inv); }
.bg-ink-2 { background: var(--ink-2); color: var(--text-inv); }

/* ==========================================================================
   排版
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
}
.bg-ink .eyebrow, .on-dark .eyebrow { color: var(--gold-300); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }

.t-display {
  font-family: var(--font-serif);
  font-size: clamp(46px, 8.4vw, 116px);
  line-height: 1.02;
  letter-spacing: .02em;
  font-weight: 700;
}
.t-h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: .02em;
}
.t-h2 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: .02em;
}
.t-h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.t-num {
  font-family: var(--font-num);
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(160deg, var(--gold-200) 0%, var(--gold-500) 52%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-paper .t-num, .on-light .t-num {
  background: linear-gradient(160deg, var(--gold-300) 0%, var(--gold-600) 55%, var(--gold-700) 100%);
}
.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.85;
  color: var(--text-2);
  max-width: 62ch;
}
.bg-ink .lead, .on-dark .lead { color: var(--text-inv-2); }
.muted { color: var(--text-3); }

.gold-text {
  background: linear-gradient(150deg, var(--gold-200) 0%, var(--gold-400) 45%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  --bg: linear-gradient(140deg, var(--gold-300), var(--gold-500));
  --fg: #2A1E05;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--fg);
  background: var(--bg);
  box-shadow: var(--shadow-gold);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .4s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover { transform: translateY(-3px); filter: saturate(1.06); box-shadow: 0 22px 54px rgba(160, 116, 31, .38); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255, 255, 255, .8);
  color: var(--gold-700);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1.5px rgba(194, 145, 47, .5), 0 10px 30px rgba(20, 16, 8, .22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 0 0 1.5px var(--gold-500), 0 16px 40px rgba(20, 16, 8, .3);
  color: var(--gold-700);
}
/* 深色/复杂背景上：磨砂深底 + 亮字，保证压得住背后的图 */
.on-dark .btn-ghost, .bg-ink .btn-ghost, .pane .btn-ghost {
  background: rgba(18, 15, 9, .58);
  color: var(--gold-100);
  box-shadow: inset 0 0 0 1.5px rgba(228, 197, 121, .55), 0 12px 34px rgba(0, 0, 0, .42);
}
.on-dark .btn-ghost:hover, .bg-ink .btn-ghost:hover, .pane .btn-ghost:hover {
  background: rgba(18, 15, 9, .78);
  color: #FFF;
  box-shadow: inset 0 0 0 1.5px var(--gold-300), 0 18px 44px rgba(0, 0, 0, .5);
}

.btn-dark {
  background: linear-gradient(140deg, var(--ink-2), var(--earth));
  color: var(--gold-100);
  box-shadow: 0 16px 40px rgba(27, 23, 16, .3);
}
.btn-sm { padding: 11px 24px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold-600);
  font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Logo 标识
   ========================================================================== */
.logo-mark { height: 40px; width: auto; display: block; }
.logo-light { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); }

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 8, .5), transparent);
  opacity: 1;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.site-header.solid {
  background: rgba(251, 248, 241, .88);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.solid::before { opacity: 0; }

.header-inner {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; transition: opacity .3s; }
.brand:hover { opacity: .82; }
.brand .zh { font-family: var(--font-serif); font-size: 21px; font-weight: 700; letter-spacing: .1em; }
.brand .en { font-size: 10px; letter-spacing: .34em; color: var(--gold-600); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: 999px;
  transition: color .3s, background .3s;
}
.site-header:not(.solid) .main-nav a { color: var(--text-inv); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.main-nav a:hover { color: var(--gold-600); }
.site-header:not(.solid) .main-nav a:hover { color: var(--gold-200); }
.main-nav a:hover::after { width: 22px; }
.main-nav a.active { color: var(--gold-700); font-weight: 600; }
.site-header:not(.solid) .main-nav a.active { color: var(--gold-200); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.site-header:not(.solid) .btn { --bg: linear-gradient(140deg, rgba(255, 246, 219, .95), rgba(228, 197, 121, .95)); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-inv);
  transition: transform .4s var(--ease), opacity .3s, background .4s;
}
.site-header.solid .nav-toggle span { background: var(--text); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.on span { background: var(--white); }
.nav-toggle.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(160deg, var(--ink), var(--earth));
  padding: 120px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-out);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a {
  font-family: var(--font-serif);
  font-size: 27px;
  color: var(--text-inv);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  transform: translateY(22px);
}
.mobile-drawer.open a { animation: drawerIn .55s var(--ease-out) forwards; }
.mobile-drawer a i { font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--gold-500); }
.mobile-drawer .btn { margin-top: 30px; justify-content: center; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

/* ==========================================================================
   首页：全屏视差分屏
   ========================================================================== */
.parallax { position: relative; }

/* —— 滚动翻页：滚到底自动跳下一屏 —— */
html.snap-body { scroll-snap-type: y proximity; }
html.snap-body .pane { scroll-snap-align: start; scroll-snap-stop: always; }
/* 视差容器内的分屏不参与文档级吸附，避免与自由滚动打架 */
html.snap-body .parallax { scroll-snap-type: none; }

/* 翻页进度指示：默认隐藏，鼠标移到右侧热区才显示。
   注意：不能用 visibility:hidden 做默认态——隐藏元素收不到 hover。
   故容器常驻（含不可见的感应热区），只用 opacity 淡入淡出。 */
.page-dots {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s var(--ease);
}
/* 感应热区：向左延伸扩大感应范围。
   必须 pointer-events:none，否则会盖住按钮导致点击不生效。 */
.page-dots::before {
  content: "";
  position: absolute;
  left: -34px;
  right: 0;
  top: 50%;
  height: 260px;
  transform: translateY(-50%);
  pointer-events: none;
}
/* JS 监听鼠标进入热区后加 .on；键盘聚焦同样可见 */
.page-dots.on, .page-dots:focus-within {
  opacity: 1;
  pointer-events: auto;
}
.page-dots button { pointer-events: auto; }
/* 触控设备无 hover，常显并加大圆点 */
@media (hover: none) {
  .page-dots { opacity: 1; }
  .page-dots button { width: 11px; height: 11px; }
}
@media (max-width: 860px) {
  .page-dots { display: none; }
}

.pane {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
/* 背景层的上下外扩量 = 视差位移的行程上限。
   位移在 main.js 里被实测钳制在这个范围内，因此这里取多少都安全，
   取大一点视差更明显，取小一点背景图缩放损失更少。
   12% 对桌面端明显不够（900px 高分屏只有 108px，而位移可达 288px）。 */
.pane-bg {
  position: absolute;
  inset: -34% 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.pane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(20, 16, 8, .74) 0%, rgba(20, 16, 8, .5) 45%, rgba(20, 16, 8, .8) 100%);
}
.pane-light::before {
  background: linear-gradient(160deg, rgba(20, 16, 8, .62) 0%, rgba(20, 16, 8, .28) 48%, rgba(20, 16, 8, .74) 100%);
}

.pane-inner {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  color: var(--text-inv);
  padding-block: calc(var(--header-h) + 24px) 60px;
}

.pane-idx {
  position: absolute;
  right: clamp(80px, 5vw, 96px);
  bottom: 52px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .5);
  z-index: 3;
}
/* 居中分屏的页码：避免与按钮重叠，下移到右下角并右对齐 */
.pane-center .pane-idx { left: auto; right: clamp(80px, 5vw, 96px); transform: none; }
.pane-idx b { color: var(--gold-300); font-weight: 700; }

/* 首屏 Hero */
.hero-content { max-width: 940px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-inv);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--gold-200);
  margin-bottom: 30px;
}
.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(228, 197, 121, .22);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(228, 197, 121, .2); }
  50% { box-shadow: 0 0 0 9px rgba(228, 197, 121, .04); }
}

.hero-title { margin-bottom: 26px; }
.hero-title .l1 { display: block; }
.hero-sub {
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .84);
  max-width: 40ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  letter-spacing: .3em;
  z-index: 3;
}
.scroll-hint .line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold-300), transparent);
  animation: drop 2.2s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* 分屏标题组 */
.pane-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 22px;
}
.pane-label span:first-child {
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), transparent);
}
/* 标题：默认与正文左对齐（分栏屏内保持左边缘一致） */
/* 标题默认与正文左对齐（分栏屏内保持左边缘一致） */
.pane-title { margin-bottom: 22px; }

/* 仅「落地」这一屏整屏居中，标题随之居中并限宽 */
.pane-center .pane-title {
  max-width: 18ch;
  margin-inline: auto;
}
.pane-desc {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
  max-width: 52ch;
  margin-bottom: 34px;
}
.pane-body { max-width: 660px; }

.pane-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.pane-split .pane-body { max-width: none; }

/* 分屏内的要点列表 */
.pane-points { display: grid; gap: 14px; margin-top: 30px; }
.pane-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, .84);
}
.pane-points li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-200), var(--gold-500));
  box-shadow: 0 0 0 3px rgba(228, 197, 121, .16);
}
/* 浅色容器内复用该列表时，改为深色文字（.pane-points 默认是给深色分屏用的） */
.card .pane-points li,
.on-light .pane-points li {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}
.card .pane-points li::before,
.on-light .pane-points li::before {
  margin-top: 10px;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 3px rgba(194, 145, 47, .14);
}

/* 分屏内的卡片组（右侧） */
.pane-cards { display: grid; gap: 16px; }
.pane-card {
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s;
}
.pane-card:hover { transform: translateX(8px); background: rgba(255, 255, 255, .12); border-color: rgba(228, 197, 121, .4); }
.pane-card h4 { font-size: 17px; margin-bottom: 6px; color: #FFF; }
.pane-card p { font-size: 14px; color: rgba(255, 255, 255, .7); line-height: 1.7; }
.pane-card .ic { font-family: var(--font-num); color: var(--gold-300); font-size: 15px; letter-spacing: .2em; }

/* 数据格：固定两列。
   原为 flex + wrap，按内容宽度排布 —— 数字滚动时宽度变化
   （0 → 860 → 1800/3200 尤其明显）会让 flex 每帧重算换行，整块抖动。
   grid 的列宽与内容无关，数字怎么变都不影响排版。 */
.pane-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.4vw, 40px) clamp(28px, 3vw, 64px);
  margin-top: 40px;
}
.pane-stat { min-width: 0; }
.pane-stat .n {
  font-family: var(--font-num);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  /* 等宽数字：滚动时字形宽度恒定，不会左右抖动 */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  background: linear-gradient(150deg, var(--gold-200), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pane-stat .n small { font-size: .42em; -webkit-text-fill-color: var(--gold-300); margin-left: 4px; }
.pane-stat .k { font-size: 13px; letter-spacing: .16em; color: rgba(255, 255, 255, .62); margin-top: 8px; }

/* 居中分屏（收束/CTA） */
.pane-center { justify-content: center; text-align: center; }
.pane-center .pane-inner { display: flex; flex-direction: column; align-items: center; }
.pane-center .pane-desc { text-align: center; margin-inline: auto; }
.pane-center .hero-actions { justify-content: center; }
/* pane-inner 是 align-items:center 的 flex 列容器，子项默认按内容宽收缩。
   数据格改 grid 后必须显式撑满，否则两列会挤成内容宽度、失去均分排版。 */
.pane-center .pane-stats { width: 100%; }

/* ==========================================================================
   通用区块
   ========================================================================== */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .t-h2 { margin: 16px 0 18px; }

/* 栅格 */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 卡片 */
.card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(194, 145, 47, .14);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(194, 145, 47, .34); }
.card .card-no {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.8; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(145deg, var(--gold-100), var(--gold-300));
  box-shadow: inset 0 0 0 1px rgba(194, 145, 47, .3), 0 8px 20px rgba(194, 145, 47, .18);
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-700); fill: none; stroke-width: 1.7; }

/* 带图卡片 */
.card-media { padding: 0; }
.card-media .thumb { aspect-ratio: 4/3; overflow: hidden; }
.card-media .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card-media:hover .thumb img { transform: scale(1.06); }
.card-media .body { padding: 26px 26px 30px; }

/* 数据卡 */
.stat-card { text-align: center; padding: 40px 24px; }
.stat-card .n {
  font-family: var(--font-num);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 10px;
  /* 与 .pane-stat .n 同理：等宽数字，data-count 滚动时不左右抖动。
     本类在 .grid-* 里（列宽固定为 1fr），不会触发换行重排。 */
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-card .k { font-size: 14px; letter-spacing: .1em; color: var(--text-3); }

/* 流程时间轴 */
.flow { display: grid; gap: 0; counter-reset: f; }
.flow-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.flow-item:last-child { border-bottom: 1px solid var(--line); }
.flow-no {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(150deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.flow-body h3 { font-size: 21px; margin-bottom: 8px; }
.flow-body p { color: var(--text-2); max-width: 66ch; }
.flow-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tag {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--gold-100);
  color: var(--gold-700);
  border: 1px solid rgba(194, 145, 47, .24);
}
.bg-ink .tag { background: rgba(228, 197, 121, .14); color: var(--gold-200); border-color: var(--line-inv); }

/* 引言 */
.quote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.35vw, 32px);
  line-height: 1.72;
  text-align: center;
  /* 放宽到接近容器宽度，中文引言尽量单行不折断 */
  max-width: min(100%, 1000px);
  margin-inline: auto;
  text-wrap: balance;
}
/* 超宽屏下仍留出呼吸感，但不再窄到换行 */
@media (max-width: 1100px) {
  .quote { max-width: 100%; }
}
.quote-block { text-align: center; padding: 110px 0; position: relative; }
.quote-block::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 150px;
  color: var(--gold-300);
  opacity: .3;
  line-height: 1;
}

/* 时间轴（历史） */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-300), rgba(194, 145, 47, .1));
}
.tl-item { position: relative; padding-bottom: 42px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(194, 145, 47, .12);
}
.tl-year { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--gold-600); line-height: 1.2; }
.tl-item h3 { font-size: 19px; margin: 4px 0 8px; }
.tl-item p { color: var(--text-2); font-size: 15px; }

/* 团队 / 门店卡 */
.team-card { text-align: center; padding: 0; }
.team-card .thumb { aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.team-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .thumb img { transform: scale(1.05); }
.team-card .body { padding: 20px 18px 26px; }
.team-card h4 { font-size: 18px; }
.team-card .role { font-size: 13px; color: var(--gold-600); margin-top: 4px; letter-spacing: .06em; }

/* 岗位列表 */
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 30px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(194, 145, 47, .14);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.job:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(194, 145, 47, .34); }
.job h3 { font-size: 19px; margin-bottom: 8px; }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--text-3); }
.job .meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-side { text-align: right; }

/* 门店查询 */
.store-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 9px 19px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--paper-2);
  border: 1px solid transparent;
  transition: all .35s var(--ease);
}
.chip:hover { background: var(--gold-100); color: var(--gold-700); }
.chip.on {
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500));
  color: #2A1E05;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(160, 116, 31, .26);
}
.search-box { position: relative; min-width: 260px; flex: 1; max-width: 340px; }
.search-box input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus { border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(194, 145, 47, .13); }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--text-3); fill: none; stroke-width: 2; }

.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.store-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(194, 145, 47, .14);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.store-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.store-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.store-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.store-card:hover .thumb img { transform: scale(1.06); }
.store-card .body { padding: 22px 24px 26px; }
.store-card h4 { font-size: 19px; margin-bottom: 4px; }
.store-card .city { font-size: 12.5px; letter-spacing: .16em; color: var(--gold-600); text-transform: uppercase; }
.store-card .addr { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.7; }
.store-card .foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}
.badge {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge-open { background: rgba(63, 122, 74, .13); color: var(--leaf); }
.badge-soon { background: rgba(232, 137, 12, .14); color: #A66405; }

.empty-hint { text-align: center; padding: 70px 20px; color: var(--text-3); grid-column: 1 / -1; }

/* 加盟支持体系 */
.support-card { text-align: center; padding: 36px 26px; }
.support-card .ic-lg {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-100), var(--gold-300));
  box-shadow: inset 0 0 0 1px rgba(194, 145, 47, .3), 0 12px 26px rgba(194, 145, 47, .2);
}
.support-card .ic-lg svg { width: 30px; height: 30px; stroke: var(--gold-700); fill: none; stroke-width: 1.6; }

/* 费用表 */
.price-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.price-table th, .price-table td { padding: 20px 26px; text-align: left; }
.price-table thead th { background: linear-gradient(140deg, var(--ink-2), var(--earth)); color: var(--gold-200); font-size: 14px; letter-spacing: .1em; font-weight: 600; }
.price-table tbody tr { background: var(--white); }
.price-table tbody tr:nth-child(even) { background: var(--paper-2); }
.price-table tbody td { font-size: 15px; color: var(--text-2); }
.price-table tbody td:first-child { color: var(--text); font-weight: 600; }
.price-table tbody td:last-child { font-family: var(--font-num); font-size: 18px; color: var(--gold-600); font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.faq-q .pm { position: relative; flex: none; width: 20px; height: 20px; }
.faq-q .pm::before, .faq-q .pm::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: translateY(-50%);
  transition: transform .45s var(--ease), opacity .45s;
}
.faq-q .pm::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.on .pm::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--text-2); max-width: 76ch; font-size: 15px; }

/* 表单 */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.field label i { color: var(--berry); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A7C63' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 17px;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(194, 145, 47, .13);
}
.form-note { font-size: 13px; color: var(--text-3); line-height: 1.7; }
.form-ok {
  padding: 18px 22px;
  border-radius: var(--r-sm);
  background: rgba(63, 122, 74, .1);
  border: 1px solid rgba(63, 122, 74, .3);
  color: var(--leaf);
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}
.form-ok.show { display: block; animation: pop .5s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } }

/* 侧栏联系卡 */
.contact-card { padding: 34px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ci {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-100);
}
.contact-row .ci svg { width: 20px; height: 20px; stroke: var(--gold-700); fill: none; stroke-width: 1.7; }
.contact-row .k { font-size: 12.5px; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.contact-row .v { font-size: 17px; font-weight: 600; color: var(--text); margin-top: 2px; word-break: break-all; }

/* ==========================================================================
   内页头图
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 90px) 0 70px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text-inv);
}
/* 与 .pane-bg 同理：外扩量即视差行程上限，由 main.js 实测钳制 */
.page-hero .bg {
  position: absolute;
  inset: -34% 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(170deg, rgba(20, 16, 8, .72), rgba(20, 16, 8, .5) 45%, rgba(20, 16, 8, .86));
}
.page-hero .t-display { margin-block: 14px 16px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .66); letter-spacing: .08em; }
.crumb a:hover { color: var(--gold-200); }
.crumb span { margin: 0 8px; opacity: .5; }

/* 页面内锚导航 */
.anchor-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(251, 248, 241, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.anchor-bar ul {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-bar ul::-webkit-scrollbar { display: none; }
.anchor-bar a {
  display: block;
  padding: 16px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .3s, border-color .3s;
}
.anchor-bar a:hover, .anchor-bar a.active { color: var(--gold-700); border-bottom-color: var(--gold-500); }

/* ---------- 锚点跳转避让 ----------
   页面结构：fixed 顶栏(--header-h) + sticky 锚点条(anchor-bar)
   两者都会遮住跳转目标，用 scroll-margin 把目标推到它们下方。
   高度由 main.js 实测写入 --anchor-offset，避免写死数值失准。
   值 = 顶栏高 + 锚点条高，不额外加留白：目标是与锚点条下沿严丝合缝。 */
.has-anchor [id] {
  scroll-margin-top: var(--anchor-offset, calc(var(--header-h) + 57px));
}

@media (max-width: 860px) {
  /* 移动端锚点条可横向滚动，滚到目标项时确保自身可见 */
  .anchor-bar a { scroll-margin-inline: 24px; }
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--text-inv); padding-top: 84px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .zh { font-family: var(--font-serif); font-size: 30px; letter-spacing: .14em; margin-bottom: 8px; }
.footer-brand .slogan { font-size: 14.5px; color: var(--text-inv-2); line-height: 1.9; max-width: 32ch; margin-bottom: 24px; }
.footer-col h4 { font-size: 15px; letter-spacing: .12em; color: var(--gold-300); margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-inv-2); transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--gold-200); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a:hover { color: var(--gold-200); }

/* ==========================================================================
   文字内嵌品牌标识（用 logo_copyrights 替代文字「土地里」）
   ========================================================================== */
.brand-inline {
  display: inline-block;
  vertical-align: -.15em;
  height: 1.08em;
  width: auto;
  margin: 0 .06em;
}
/* 正文段落里略微压扁，避免撑破行距 */
p .brand-inline, li .brand-inline { height: 1.02em; vertical-align: -.13em; }

/* 标题 / 首屏中的品牌标识 */
.title-logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-bottom: .22em;
}
.title-logo.is-huge { width: min(86vw, 720px); }
.title-logo.is-sm { width: 168px; margin-bottom: 1em; }

/* 页脚品牌标识 */
.footer-logo { height: 44px; width: auto; opacity: .95; margin-bottom: 22px; }

/* 深色底上的标识轻微提亮，保证金色不发闷 */
.on-dark .footer-logo, .site-footer .footer-logo {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .45));
}

/* ==========================================================================
   首页第6~9 屏：由浅底内容区块改造为整屏，需在深色遮罩下反色
   ========================================================================== */
/* 眉题：浅金 */
.pane .eyebrow { color: var(--gold-300); }
.pane .eyebrow::before { background: linear-gradient(90deg, var(--gold-300), transparent); }

/* 标题渐变文字在深底上提亮 */
.pane .t-h2.gold-text,
.pane .gold-text {
  background: linear-gradient(150deg, var(--gold-200) 0%, var(--gold-400) 48%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 引导文案 */
.pane .lead { color: var(--text-inv-2); }

/* 卡片：改为深色玻璃质感 */
.pane .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}
.pane .card:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(228, 197, 121, .38);
}
.pane .card h3 { color: #FFF; }
.pane .card p { color: rgba(255, 255, 255, .76); }
.pane .card .card-no { color: var(--gold-300); }
.pane .card .k { color: rgba(255, 255, 255, .58); }

/* 图片卡：媒体区压暗，保证卡片文字可读 */
.pane .card-media .thumb { position: relative; }
.pane .card-media .thumb img {
  opacity: .6;
  filter: saturate(.85);
  transition: opacity .6s var(--ease), transform 1s var(--ease);
}
.pane .card-media .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 8, .3), rgba(20, 16, 8, .55));
  pointer-events: none;
  opacity: 1;
  transition: opacity .6s var(--ease);
}
.pane .card-media:hover .thumb::after {
  opacity: 0;
}
.pane .card-media:hover .thumb img { opacity: 1; }
/* 卡片正文区加深，避免与背景图叠在一起时发飘 */
.pane .card-media .body { background: rgba(18, 15, 9, .55); }

/* 标签 */
.pane .tag {
  background: rgba(228, 197, 121, .16);
  color: var(--gold-200);
  border-color: var(--line-inv);
}

/* 居中区块内的按钮间距在整屏下收紧 */
.pane .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }

/* 整屏内容垂直居中：pane 已是 flex align-center，
   这里给内容块一个上限高度，避免 9 屏在小屏上溢出 */
.pane-inner > .wrap,
.pane .pane-inner { max-height: 100%; }
@media (max-height: 780px) {
  .pane .sec { padding: 0; }
  .pane .grid { gap: 16px; }
  .pane .card { padding: 20px 20px; }
  .pane .card-media .body { padding: 16px 18px 20px; }
  .pane .sec-head { margin-bottom: 26px; }
}
/* ==========================================================================
   返回顶部
   ========================================================================== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500));
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all .45s var(--ease);
}
.to-top.show { opacity: .3; visibility: visible; transform: none; }
.to-top.show:hover { opacity: 1; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; stroke: #2A1E05; fill: none; stroke-width: 2.2; }

/* 滚动进场 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .pane-split { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .sec { padding: 76px 0; }
  .sec-tight { padding: 56px 0; }
  .wrap, .wrap-narrow, .header-inner { width: calc(100% - 36px); }
  .grid-2, .grid-3, .grid-4, .store-grid, .form-row { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 1fr; gap: 8px; }
  .flow-no { font-size: 30px; }
  .pane { min-height: 560px; }
  .job { grid-template-columns: 1fr; }
  .job-side { text-align: left; }
  .page-hero { min-height: 52vh; padding-bottom: 52px; }
  .search-box { max-width: none; }
  .quote-block { padding: 74px 0; }
  .to-top { right: 16px; bottom: 16px; }
  .price-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ==========================================================================
   移动端适配（≤860px / 触摸设备）
   --------------------------------------------------------------------------
   目标：
     ① 每屏内容不足一屏时，正常居中显示；
     ② 内容超过一屏时，在本屏内继续滚动（不被裁掉、不被拽回屏顶）；
     ③ 只有滚到本屏底部，才吸附进入下一屏。

   实现要点：
     · .pane 高度由 100vh 锁定改为 min-height:100svh + height:auto，
       内容多时屏幕自然长高，overflow:hidden 保留只用于裁剪视差背景溢出，
       不会裁到内容（内容本身撑开父高）。
     · 翻页完全交给原生 CSS scroll-snap（proximity + scroll-snap-stop:always），
       main.js 在窄屏下不再主动 scrollTo，避免与原生吸附抢方向盘。
     · 用 svh 而非 dvh：地址栏收放不会改变分屏高度，避免吸附抖动。
   ========================================================================== */
@media (max-width: 860px) {
  :root {
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
  }

  /* ---------- 1. 分屏：高度自适应 + 原生吸附翻页 ---------- */
  .pane {
    height: auto;                /* 关键：不再锁死一屏 */
    min-height: 100vh;           /* 旧浏览器兜底 */
    min-height: 100svh;
    align-items: center;
  }
  /* 高度 auto 时百分比 max-height 无基准，去掉以免内容被压扁 */
  .pane .pane-inner { max-height: none; }
  .pane-inner {
    width: calc(100% - 36px);
    padding-block: calc(var(--header-h) + 26px) 56px;
  }
  /* 页码在「一屏内可滚动」的分屏里会漂到很远，直接隐藏 */
  .pane-idx { display: none; }
  /* 滚动提示改为常规流元素：贴在首屏内容末尾，
     跟着内容走，不会像 absolute 那样钉在某一屏的底部 */
  .scroll-hint {
    position: static;
    transform: none;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 30px;
    font-size: 10.5px;
    letter-spacing: .22em;
  }
  .scroll-hint .line {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-300), transparent);
  }

  /* ---------- 2. 首屏 ---------- */
  .t-display { font-size: clamp(30px, 9.6vw, 44px); }
  /* .l1 的字号写在 HTML 内联 style 里，必须 !important 才能覆盖 */
  .hero-title .l1 { font-size: clamp(21px, 6.6vw, 30px) !important; letter-spacing: .04em !important; }
  .title-logo.is-huge { width: min(74vw, 420px); }
  .hero-badge {
    font-size: 11.5px;
    letter-spacing: .1em;
    padding: 7px 15px 7px 11px;
    margin-bottom: 22px;
  }
  .hero-title { margin-bottom: 18px; }
  .hero-sub { font-size: 15.5px; line-height: 1.85; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn { padding: 13px 24px; font-size: 14.5px; }
  .btn-sm { padding: 10px 18px; font-size: 13.5px; }

  /* ---------- 3. 分屏内文字块 ---------- */
  .pane-label { margin-bottom: 14px; font-size: 11px; }
  .pane-title { margin-bottom: 16px; }
  .pane-desc { font-size: 15px; line-height: 1.85; margin-bottom: 26px; max-width: none; }
  .pane-points { gap: 11px; margin-top: 22px; }
  .pane-points li { font-size: 14.5px; }
  .pane-cards { gap: 12px; }
  .pane-card { padding: 17px 19px; }
  .pane-card h4 { font-size: 16px; }
  .pane-card p { font-size: 13.5px; line-height: 1.65; }
  .pane-stats { gap: 20px 30px; margin-top: 28px; }
  .pane-stat .n { font-size: clamp(30px, 9.6vw, 44px); }
  .pane-stat .k { font-size: 12px; margin-top: 6px; }
  .pane .sec-head { margin-bottom: 26px; }
  .pane .lead { font-size: 15px; line-height: 1.8; }

  /* ---------- 4. 卡片栅格 ---------- */
  /* !important：部分栅格的 gap / columns 写在 HTML 内联 style 上，
     内联优先级高于类选择器，不加 importants 移动端会残留两列布局。 */
  .pane-split { grid-template-columns: 1fr !important; gap: 26px; }
  .grid { gap: 16px; }
  .grid-2, .grid-3, .grid-4, .store-grid { gap: 16px !important; }
  .card { padding: 24px 20px; }
  .card h3 { font-size: 18px; margin-bottom: 10px; }
  .card p { font-size: 14.5px; line-height: 1.75; }
  .card .card-no { font-size: 12px; margin-bottom: 10px; }
  .card-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 15px; }
  .card-icon svg { width: 22px; height: 22px; }
  .pane .card { padding: 20px 18px; }
  .pane .card p { font-size: 14px; }
  .pane .card-media .body { padding: 17px 18px 20px; }
  .pane .card-media .thumb { aspect-ratio: 16/10; }
  .card-media .body { padding: 20px 20px 24px; }
  .support-card { padding: 26px 20px; }
  .support-card .ic-lg { width: 54px; height: 54px; margin-bottom: 16px; }
  .stat-card { padding: 26px 18px; }
  .stat-card .n { font-size: clamp(30px, 9vw, 42px); }

  /* ---------- 5. 内页 ---------- */
  .page-hero {
    min-height: 0;
    padding: calc(var(--header-h) + 52px) 0 46px;
  }
  .page-hero .t-display { margin-block: 10px 14px; }
  /* 视差背景 inset 为负值会外扩，只做视觉溢出、不参与父级高度计算，
     避免 hero 的 scrollHeight 被撑大（配合 overflow:hidden 更干净） */
  .page-hero .bg { contain: paint; }
  .crumb { font-size: 12.5px; }
  .anchor-bar a { padding: 14px 13px; font-size: 14px; }

  .sec-head { margin-bottom: 30px; }
  .lead { font-size: 15.5px; line-height: 1.8; }

  /* iOS：输入框字号 <16px 会触发自动放大，强制 16px */
  .field input, .field select, .field textarea,
  .search-box input { font-size: 16px; }
  .field textarea { min-height: 108px; }

  .store-tools { padding: 15px; gap: 12px; }
  .chips { gap: 8px; }
  .chip { padding: 8px 15px; font-size: 13.5px; }

  .flow-item { padding: 22px 0; gap: 6px; }
  .flow-body h3 { font-size: 18px; }
  .flow-body p { font-size: 14.5px; }
  .tag { font-size: 12px; padding: 5px 11px; }

  .contact-card { padding: 22px 19px; }
  .contact-row { padding: 14px 0; gap: 12px; }
  .contact-row .ci { width: 38px; height: 38px; border-radius: 11px; }
  .contact-row .v { font-size: 15.5px; }

  .job { padding: 20px; gap: 14px; }
  .job h3 { font-size: 17px; }
  .job .meta { font-size: 13px; gap: 6px 14px; }

  .quote-block { padding: 56px 0; }
  .quote-block::before { font-size: 86px; top: 0; }
  .quote { font-size: clamp(18px, 5.2vw, 24px); line-height: 1.7; }

  .faq-q { font-size: 15.5px; padding: 20px 0; gap: 16px; }
  .faq-a p { font-size: 14.5px; padding-bottom: 22px; }

  .timeline { padding-left: 26px; }
  .tl-item { padding-bottom: 30px; }
  .tl-year { font-size: 21px; }
  .tl-item h3 { font-size: 17px; }

  .price-table th, .price-table td { padding: 13px 16px; }
  .price-table thead th { font-size: 13px; }
  .price-table tbody td { font-size: 14px; }
  .price-table tbody td:last-child { font-size: 16px; }

  /* ---------- 6. 页脚 / 抽屉 / 悬浮件 ---------- */
  .site-footer {
    padding-top: 52px;
    padding-bottom: calc(20px + var(--safe-b));
  }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 34px; }
  .footer-brand .zh { font-size: 24px; }
  .footer-brand .slogan { font-size: 14px; }
  .footer-col h4 { margin-bottom: 14px; }
  .footer-col li { margin-bottom: 9px; }
  .footer-col a { font-size: 14px; }
  .footer-logo { height: 36px; margin-bottom: 16px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
    font-size: 12.5px;
  }

  .mobile-drawer {
    padding: calc(var(--header-h) + 34px) 24px calc(30px + var(--safe-b));
    justify-content: flex-start;
  }
  .mobile-drawer a { font-size: 22px; padding: 12px 0; }
  .mobile-drawer .btn { margin-top: 22px; }

  .to-top {
    width: 42px;
    height: 42px;
    right: 14px;
    bottom: calc(14px + var(--safe-b));
  }

  /* ---------- 7. 悬停态在触摸设备上会「粘住」，统一关掉 ---------- */
  .card:hover, .pane-card:hover, .store-card:hover, .job:hover,
  .card-media .thumb img, .card-media:hover .thumb img,
  .store-card:hover .thumb img, .team-card:hover .thumb img,
  .pane .card-media:hover .thumb img { transform: none; }
  .pane .card-media .thumb img { opacity: .68; }
  .btn:hover { transform: none; }
  .link-arrow:hover svg { transform: none; }
}

/* ---------- 超窄屏（iPhone SE / 小安卓）---------- */
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .pane-stats { gap: 18px 24px; }
  .footer-grid { gap: 22px; }
  .tl-year { font-size: 19px; }
}