/* =========================================================
   音闻星口才 STAR TALKER · 官网样式
   设计基准：1440 × 4000（12 栏 / 边距 120 / 卡片间距 32）
   实现方式：html 根字号随视口线性缩放（1440 宽时 1rem = 16px），
            页面所有尺寸统一用 rem，因此在任何桌面宽度下比例完全一致。
   ========================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --brand: #E1390F;          /* 主色（设计稿） */
  --brand-deep: #C1121F;     /* 渐变末端 */
  --brand-ink: #1D1D1F;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --ink-4: #C7C7CC;
  --line: #E8E8ED;
  --surface: #F5F5F7;
  --white: #FFFFFF;
  --field-line: #D2D2D7;
  --wrap: 90rem;             /* 1440 */
  --pad: 7.5rem;             /* 120 */
  --gutter: 2rem;            /* 32 */
  --header-h: 5.5rem;        /* 88 */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  /* 1440px 视口 → 16px；1260px 及以下锁 14px（＝设计稿 87.5%），避免平板档文字缩到 12px */
  font-size: clamp(14px, 1.1111vw, 16px);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1875rem;   /* 19 */
  line-height: 1.15;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, p, blockquote { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .9375rem 1.25rem;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- 通用排版 ---------- */
h1 { font-size: 5.3125rem; font-weight: 700; line-height: 1.15; }   /* 85 */
h2 { font-size: 3.3125rem; font-weight: 700; line-height: 1.15; }   /* 53 */
.sub { font-size: 1.5rem; color: var(--ink-2); line-height: 1.15; } /* 24 */
.eyebrow { font-size: 1.0625rem; color: var(--brand); letter-spacing: .0588em; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3.25rem;                 /* 52 */
  padding: 0 2.1875rem;            /* 35 */
  border: 0; border-radius: 0;     /* 设计稿为直角 */
  font-size: 1.25rem;              /* 20 */
  line-height: 1;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease), opacity .22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-invert { background: #fff; color: var(--brand); font-weight: 600; }
.btn-invert:hover { background: var(--surface); }
.btn-block { width: 100%; }
.btn-sm { height: 2.5rem; padding: 0 2rem; font-size: 1.1875rem; }  /* 140×40 / 19 */

.btn-row { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { border-bottom-color: #DCDCE1; }   /* 无阴影：滚动反馈靠分隔线加深 */

.header-inner {
  display: flex; align-items: center; gap: 4.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; }
/* 顶栏品牌标：品牌资产包的 logotype 原件（1446×316，宽高比 4.575），按高度定宽 */
.brand-logo { height: 2.25rem; width: auto; display: block; }
.brand-cn { font-size: 1.8125rem; font-weight: 600; }  /* 29 */
.brand-en {
  margin-left: 1.0625rem; font-size: .9375rem; color: var(--ink-3);
  letter-spacing: .1333em;
}

.nav { display: flex; gap: 1.625rem; font-size: 1.25rem; }
.nav a { padding: .5rem 0; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.nav a:hover { color: var(--brand); }
.nav a.is-active { border-color: var(--brand); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }

/* 桌面：导航里已去掉 CTA，右侧只剩一个本来就隐藏的汉堡按钮 → 让导航贴右，避免留下 72px 空洞 */
@media (min-width: 1101px) {
  /* 只让导航吃掉剩余空间（若 header-actions 也 auto，两者会把空隙对半分，吉祥物就不贴右了） */
  .nav { margin-left: auto; }
  .header-actions { margin-left: 1.5rem; }
  .nav-toggle { display: none; }      /* 只藏汉堡；header-actions 继续显示（装吉祥物） */
}

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: .375rem;
}
.nav-toggle span { display: block; width: 1.375rem; height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.site-header.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { padding-top: 3.875rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: 35rem 35rem;   /* 560 + 80 + 560 */
  gap: 5rem;
  align-items: start;
}
.hero-copy { padding-top: 2.5rem; }
.hero-copy h1 { margin-top: .875rem; }        /* eyebrow → h1 = 15px */
/* 首屏主标题是 11 字 slogan（7+4 断行），560px 窄列下 85px 会溢出 → 收到 72px */
.hero-copy h1 { font-size: 4.5rem; letter-spacing: -.005em; }
.hero-copy .lede { margin-top: 3.125rem; font-size: 1.5rem; line-height: 1.5833; color: var(--ink-2); }
.hero-copy .btn-row { margin-top: 2.75rem; }

/* ---------- 媒体占位（放图即自动替换） ---------- */
.media {
  position: relative; overflow: hidden; background: var(--surface);
  margin: 0;
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .4s var(--ease);
}
.media.is-loaded img { opacity: 1; }
.media-ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 1rem; text-align: center;
  font-size: 1.0625rem; color: var(--ink-4); line-height: 1.5;
}
.media-ph-sm { font-size: .9375rem; letter-spacing: .04em; }
.media.is-loaded .media-ph { display: none; }

.media-hero { aspect-ratio: 560 / 660; }
.media-teacher { aspect-ratio: 276 / 220; }
.media-map { aspect-ratio: 600 / 320; }
.media-strip { aspect-ratio: 3 / 2; margin-top: 3.75rem; }

/* ---------- 数据条 ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  padding-top: 2.8125rem; padding-bottom: 1.25rem;
}
.stat-num { display: block; font-size: 3.3125rem; font-weight: 600; line-height: 1.15; }
.stat-label { display: block; margin-top: .125rem; font-size: 1.1875rem; color: var(--ink-2); }

/* ---------- 区块通用 ----------
   间距规则：每屏只声明 padding-top＝与上一屏的视觉间隙，避免两屏叠加
   （#about 90 / #courses 60 / #faculty 124 / #growth 108 / #campus 108 / 页脚前 120） */
.section { padding-top: 3.75rem; }
#about { padding-top: 5.625rem; }
#courses { padding-top: 3.75rem; }
#faculty { padding-top: 7.75rem; }
#growth { padding-top: 6.75rem; }
#campus { padding-top: 6.75rem; padding-bottom: 7.5rem; }
.section .sub { margin-top: 1rem; }   /* 标题副标题之间留一口气（原来贴着） */

.grid { display: grid; gap: var(--gutter); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 为什么选择（四张卡片） ---------- */
.card-row { margin-top: 3.75rem; }
.card { background: var(--surface); }
.card-why { padding: 2.75rem 2.25rem; min-height: 21.25rem; }
.card-num { display: block; font-size: 3.3125rem; font-weight: 600; color: var(--brand); line-height: 1.15; }
.card-why h3 { margin-top: 2.1875rem; font-size: 1.8125rem; font-weight: 600; }  /* 29 */
.card-why p { margin-top: .9rem; font-size: 1.1875rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- 课程体系（分阶列表） ---------- */
.track-list { margin-top: 1.625rem; }
.track {
  position: relative;
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr) 2.25rem;  /* 配图固定槽 / 文字 / 箭头 */
  gap: 2rem;
  align-items: center;
  min-height: 7.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
/* 还没配图的阶段：退回两列，不留空位（用 .no-fig 类，:has 兼容性不够稳） */
.track.no-fig { grid-template-columns: minmax(0, 1fr) 2.25rem; gap: 0; }
.track-fig {
  margin: 0; width: 100%; height: 9.5rem;   /* 固定槽：宽度定列、高度定行，六行完全等高 */
  display: flex; align-items: center; justify-content: center;
}
.track-fig img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; }
.track-fig[hidden] { display: none; }
.track-info {
  display: grid;
  grid-template-columns: 13.75rem 18.75rem minmax(0, 1fr);  /* 220 / 300 / 剩余 */
  align-items: baseline;
}
.track-age {
  font-size: 1.6875rem; font-weight: 600; color: var(--brand);
  white-space: nowrap; line-height: 1.05;
}
.track-age em {
  display: block; margin-top: .45em;
  font-style: normal; font-size: .52em; font-weight: 500;
  color: var(--ink-3); letter-spacing: .02em;
}
.track-name { font-size: 2rem; font-weight: 600; }
.track-desc { font-size: 1.3125rem; color: var(--ink-2); text-wrap: pretty;
  word-break: keep-all; overflow-wrap: break-word; }   /* 中文不拆词：只在标点/空格处断行 */
.track-arrow { justify-self: end; font-size: 2rem; color: var(--ink-4); }

/* ---------- 师资团队 ---------- */
.faculty-row { margin-top: 2.5rem; }
.teacher h3 { margin-top: 1.875rem; font-size: 1.5rem; font-weight: 600; }
.teacher p { margin-top: .25rem; font-size: 1.0625rem; color: var(--ink-3); }

/* ---------- 学员成长 ---------- */
.quote-row { margin-top: 3.75rem; }
.quote { background: var(--surface); padding: 2.25rem; }
.quote p { font-size: 1.25rem; line-height: 1.8; }
.quote footer { margin-top: 1.5rem; font-size: .9375rem; color: var(--ink-3); }
.quote footer span { display: block; margin-top: .25rem; color: var(--ink-4); }

/* ---------- 校区分布 ---------- */
.campus-grid {
  display: grid;
  grid-template-columns: 35rem 37.5rem;  /* 560 + 40 + 600 */
  gap: 2.5rem;
  margin-top: 3.75rem;
}
.campus-card { background: var(--surface); padding: 2.8125rem 2.25rem; }
.campus-card h3 { font-size: 2rem; font-weight: 600; }
.campus-meta { margin-top: 1.75rem; }
.campus-meta p { font-size: 1.3125rem; color: var(--ink-2); line-height: 1.9; }
.campus-meta a { border-bottom: 1px solid var(--ink-4); }

/* ---------- 体验课号召 ---------- */
.cta-band {
  background: linear-gradient(120deg, #E1390F 0%, #C1121F 100%);
  color: #fff;
  padding: 4.6875rem 0 2.0625rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: .375rem; font-size: 1.5rem; color: rgba(255, 255, 255, .9); }
.cta-band .btn { margin-top: 2.8125rem; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--surface); padding-top: 1.75rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 18.75rem 18.75rem 18.75rem;
  gap: 0 var(--gutter);
}
.footer-brand { padding-top: .4375rem; }
.footer-brand .brand-en { margin-left: 1.0625rem; }
.footer-brand p { margin-top: 1.25rem; font-size: 1.1875rem; color: var(--ink-3); }
.footer-col h3 { font-size: 1.0625rem; font-weight: 600; }
.footer-col a, .footer-col span {
  display: block; margin-top: .5rem; font-size: 1.1875rem; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.footer-col > :nth-child(2) { margin-top: .9rem; }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: .75rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--line);
}
.footer-bottom small { font-size: 1rem; color: var(--ink-3); }
.footer-icp { text-align: right; }

/* ---------- 预约弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: fade .25s var(--ease); }
.modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 30rem; max-height: 90vh; overflow-y: auto;
  background: #fff; padding: 2.5rem;
  animation: rise .3s var(--ease);
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }

.modal-panel h2 { font-size: 2rem; font-weight: 700; }
.modal-sub { margin-top: .75rem; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.modal-close {
  position: absolute; top: .5rem; right: .75rem;
  width: 2.5rem; height: 2.5rem; padding: 0;
  background: none; border: 0; font-size: 1.75rem; line-height: 1; color: var(--ink-3); cursor: pointer;
}
.modal-close:hover { color: var(--ink); }

#bookForm { margin-top: 1.75rem; }
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-size: .9375rem; color: var(--ink-2); }
.field > span i { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; margin-top: .375rem; padding: .75rem .875rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--field-line); border-radius: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(225, 57, 15, .12);
}
.field.has-error input { border-color: var(--brand); }
.err { display: block; margin-top: .3125rem; font-size: .8125rem; font-style: normal; color: var(--brand); }
.form-note { margin-top: .875rem; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }
.form-result { margin-top: 1.25rem; padding: 1.25rem; background: var(--surface); font-size: 1rem; line-height: 1.75; }
.form-result strong { display: block; margin-bottom: .375rem; font-size: 1.125rem; }
.form-result code { font-size: .875rem; word-break: break-all; }

/* ---------- 进入视口动效 ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-backdrop, .modal-panel { animation: none; }
}

/* 锚点跳转预留页头高度 */
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* =========================================================
   响应式
   ========================================================= */

/* 平板（≤1100，含 iPad 横竖屏）：桌面版 5 项导航 + CTA 在这个宽度已经挤不下，
   从这里起切换为抽屉导航；同时按触屏标准把控件抬到 44px */
@media (max-width: 1100px) {
  /* 平板档：收窄页边距（原来沿用 7.5rem 配比，在 834/1024 上会白白浪费 ~40% 宽度） */
  :root { --pad: 5rem; --gutter: 1.75rem; }

  /* 触屏标准：可点元素最小 44px（用 px，不随根字号缩水） */
  .btn, .btn-sm { min-height: 44px; }

  /* 页头 */
  .header-inner { gap: .75rem; }
  .brand { white-space: nowrap; padding: .5rem 0; min-height: 44px; }
  .brand-logo { height: 1.875rem; }
  .header-actions { gap: .5rem; }
  .nav-toggle { display: flex; width: 44px; height: 44px; padding: 0; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    display: none; flex-direction: column; gap: 0;
    padding: .5rem 1.375rem 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav a.is-active { border-color: var(--line); color: var(--brand); }

  /* 页脚链接同样给足触控高度 */
  .footer-col a, .footer-col span {
    display: flex; align-items: center; min-height: 44px;
    margin-top: 0; padding: 0;
  }
  .footer-col > :nth-child(2) { margin-top: .25rem; }

  /* 版面：两栏 → 单栏 */
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-copy h1 { font-size: 5.3125rem; }          /* 单栏后宽度足够，恢复设计稿字号 */
  .media-hero { aspect-ratio: 16 / 11; }
  .hero-copy { padding-top: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .campus-grid { grid-template-columns: 1fr; }
  .media-map { aspect-ratio: 16 / 9; }
  .card-why { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 竖屏平板 / 大手机：课程列表改堆叠式 */
@media (max-width: 900px) {
  :root { --pad: 4rem; --gutter: 1.5rem; }

  .track { grid-template-columns: 5.5rem minmax(0, 1fr) 1.75rem; gap: 1rem; min-height: 0; padding: 1.25rem 0; align-items: center; }
  .track.no-fig { grid-template-columns: minmax(0, 1fr) 1.75rem; }
  .track-fig { height: 6rem; }
  .track-info { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .track-arrow { grid-column: 3 / 4; grid-row: 1; align-self: center; }
  .track.no-fig .track-arrow { grid-column: 2 / 3; }   /* 没有配图时箭头别挤到隐式第 3 列 */
  .grid-3 { grid-template-columns: 1fr; }
  .media-strip { aspect-ratio: 3 / 2; }
  .cta-band { padding: 3.5rem 0 3rem; }
}

/* 手机：根字号回到 16px，并整体收紧留白 */
@media (max-width: 820px) {
  html { font-size: 16px; }
  :root { --pad: 1.375rem; --gutter: 1rem; --header-h: 4rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  .sub, .hero-copy .lede { font-size: 1.0625rem; }
  .hero-copy .lede { line-height: 1.7; }
  .eyebrow { font-size: .9375rem; }
  body { font-size: 1rem; }
  .brand-cn { font-size: 1.25rem; }
  .brand-en { margin-left: .5rem; font-size: .75rem; letter-spacing: .1em; }
  .btn { height: 2.875rem; padding: 0 1.5rem; font-size: 1rem; }
  .btn-sm { height: 2.75rem; padding: 0 1.125rem; font-size: .9375rem; }  /* 44px：触控最小高度 */
  .btn-row { gap: .625rem; width: 100%; }
  .btn-row .btn { flex: 1 1 0; min-width: 0; }   /* 两个按钮等宽，不再一大一小 */

  .hero { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .media-hero { aspect-ratio: 4 / 3; }
  .hero-copy h1 { margin-top: .625rem; font-size: 2.25rem; }   /* 11 字 slogan 在 360–430 宽要再收一点 */
  .hero-copy .lede { margin-top: 1.5rem; }
  .hero-copy .btn-row { margin-top: 1.75rem; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; padding-top: 2rem; padding-bottom: 1.75rem; }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: .9375rem; }

  .section { padding-top: 2.75rem; }
  #about, #courses { padding-top: 3rem; }
  #faculty, #growth { padding-top: 3.5rem; }
  #campus { padding-top: 3.5rem; padding-bottom: 3.25rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .faculty-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .card-row, .faculty-row, .quote-row, .campus-grid, .track-list { margin-top: 2rem; }
  .card-why { padding: 1.75rem 1.5rem; }
  .card-num { font-size: 2.5rem; }
  .card-why h3 { margin-top: 1.25rem; font-size: 1.375rem; }
  .card-why p { font-size: 1rem; }
  .teacher h3 { margin-top: .875rem; font-size: 1.0625rem; }
  .teacher p { margin-top: .375rem; font-size: .8125rem; }
  .quote { padding: 1.5rem; }
  .quote p { font-size: 1.0625rem; }
  .campus-card { padding: 1.75rem 1.5rem; }
  .campus-card h3 { font-size: 1.3125rem; }
  .campus-meta p { font-size: 1rem; }
  .media-strip { margin-top: 2.5rem; }
  .track-age { font-size: 1.125rem; }
  .track-age em { font-size: .8em; margin-top: .3em; }
  .track-name { font-size: 1.375rem; }
  .track-desc { font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }
  .track-arrow { font-size: 1.375rem; }
  .cta-band h2 { font-size: 1.75rem; }
  .cta-band p { font-size: 1rem; }
  .cta-band .btn { margin-top: 1.75rem; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-col a, .footer-col span { font-size: 1.0625rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; margin-top: 1.5rem; }
  .footer-icp { text-align: left; }
  .modal-panel { padding: 1.75rem 1.375rem; }
  .modal-sub { font-size: .9375rem; }
  .modal-close { width: 2.75rem; height: 2.75rem; top: .25rem; right: .25rem; }
}

/* ---------- 移动端底部切换栏（App 式，≤820 显示） ---------- */
.tabbar { display: none; }

@media (max-width: 820px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom, 0px);      /* iPhone 底部横条安全区 */
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .25rem; min-height: 56px; padding: .45rem .25rem .5rem;   /* ≥44px 触控目标 */
    font-size: .6875rem; line-height: 1; letter-spacing: .02em;
    color: var(--ink-3); background: none; border: 0; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s var(--ease);
  }
  .tab-ic { width: 22px; height: 22px; }
  .tab.is-active { color: var(--brand); }
  .tab-book { color: var(--brand); }
  .tab-book .tab-ic {
    width: 26px; height: 26px; padding: 5px; border-radius: 999px;
    background: var(--brand); color: #fff;
  }

  /* 内容给底部栏让位（含安全区），避免压住页脚与表单 */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }

  /* 有了底部栏，汉堡抽屉不再需要 */
  .nav-toggle, .site-header .nav { display: none !important; }
}

/* =========================================================
   圆角 token（预设切换：?radius=a|b|c）
   默认直角＝现网样式；A 轻微 / B 标准 / C 柔和（胶囊按钮）
   改观感只动这一组数字。
   ========================================================= */
:root {
  /* 默认＝C 柔和方案（2026-11-02 定稿）：胶囊按钮 + 24px 图片/卡片 + 轻微阴影 */
  --r-btn: 999px; --r-field: 12px; --r-media: 24px; --r-card: 24px; --r-modal: 28px;
  --r-shadow: none;            /* 卡片不要阴影（2026-11-03 用户定） */
}
html[data-radius="a"] {
  --r-btn: 8px;  --r-field: 6px;  --r-media: 8px;  --r-card: 8px;  --r-modal: 16px;
  --r-shadow: none;
}
html[data-radius="b"] {
  --r-btn: 12px; --r-field: 10px; --r-media: 16px; --r-card: 16px; --r-modal: 20px;
  --r-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
html[data-radius="c"] {
  --r-btn: 999px; --r-field: 12px; --r-media: 24px; --r-card: 24px; --r-modal: 28px;
  --r-shadow: none;
}

.btn { border-radius: var(--r-btn); }
.field input, .field select, .field textarea { border-radius: var(--r-field); }
.media { border-radius: var(--r-media); }
.card { border-radius: var(--r-card); box-shadow: var(--r-shadow); }
.modal-panel { border-radius: var(--r-modal); }
.form-result { border-radius: var(--r-field); }

/* 圆角后图片框裁切更明显，占位文字需要留出内边距 */
html[data-radius="a"] .media-ph,
html[data-radius="b"] .media-ph,
html[data-radius="c"] .media-ph { padding: 1.5rem; }

/* ---------- 校区：三张卡片 + 整幅方位图 ---------- */
.campus-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 3.75rem;
}
.campus-card { border-radius: var(--r-card); }
.media-map { margin-top: 2rem; aspect-ratio: 16 / 9; }

@media (max-width: 1100px) {
  .campus-list { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
  .media-map { aspect-ratio: 16 / 9; margin-top: 1.5rem; }
}

/* 校区：通用营业时间（三店一致，区块级；桌面一行、手机两行对齐） */
.hours {
  margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .375rem 1.5rem;
}
.hours-label { font-size: 1.0625rem; color: var(--ink-3); letter-spacing: .04em; }
.hours-list { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.hours-list > div { display: flex; align-items: baseline; gap: .75rem; }
.hours-list dt { font-size: 1.0625rem; color: var(--ink-3); }
.hours-list dd {
  margin: 0; font-size: 1.0625rem; font-weight: 500; color: var(--ink);
  font-variant-numeric: tabular-nums;      /* 时段数字等宽，两行对齐 */
}
@media (max-width: 820px) {
  .hours { flex-direction: column; align-items: stretch; gap: .5rem; margin-top: 1.125rem; }
  .hours-list { flex-direction: column; gap: .375rem; }
  .hours-list > div { justify-content: space-between; gap: 1rem; width: 100%; }
}

/* ---------- 顶栏右侧吉祥物（装饰，不参与导航） ---------- */
.header-mascot {
  display: block; height: 3.25rem; width: auto;      /* 52px */
  margin-left: .25rem; flex: none;
  user-select: none; -webkit-user-select: none;
  pointer-events: none;                              /* 纯装饰，别抢点击 */
}
@media (max-width: 1100px) {
  .header-mascot { height: 2.75rem; }                /* 44px */
}
@media (max-width: 820px) {
  .header-mascot { height: 2.25rem; }                /* 36px */
}

/* 校区卡片里的高德导航链接 */
.campus-nav {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 24px; padding: .1rem 0;
  color: var(--ink); border-bottom: 1px solid var(--ink-4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.campus-nav:hover { color: var(--brand); border-color: var(--brand); }
.campus-nav-ic { width: 1.05em; height: 1.05em; flex: none; }      /* 尺寸跟随字号 */
.campus-nav:hover .campus-nav-ic { transform: translateY(-1px); }
.campus-nav-ic { transition: transform .2s var(--ease); }

/* ---------- 师资：照片上的「查看介绍」热区 ---------- */
.teacher-open {
  position: absolute; inset: 0; z-index: 2;
  background: none; border: 0; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.teacher-open::after {
  content: "查看介绍";
  position: absolute; left: 50%; bottom: .75rem;
  transform: translateX(-50%) translateY(6px);
  padding: .25rem .75rem; border-radius: 999px;
  background: rgba(0, 0, 0, .62); color: #fff;
  font-size: .8125rem; line-height: 1.5; letter-spacing: .02em;
  opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.teacher-open:hover::after, .teacher-open:focus-visible::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.teacher-open:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }

/* ---------- 教师介绍弹层 ---------- */
.teacher-panel {
  max-width: 46rem; padding: 2rem;
  display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; align-items: start;
}
.teacher-panel-media {
  margin: 0; border-radius: var(--r-media); overflow: hidden;
  aspect-ratio: 5 / 4; background: var(--surface);
}
.teacher-panel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teacher-panel-body h2 { font-size: 1.875rem; }
.teacher-role { margin-top: .375rem; font-size: 1rem; color: var(--ink-3); }
.teacher-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.125rem 0 0; padding: 0; list-style: none; }
.teacher-tags li {
  font-size: .8125rem; line-height: 1.6; padding: .25rem .75rem;
  border-radius: 999px; background: var(--surface); color: var(--ink-2);
}
.teacher-bio { margin-top: 1.125rem; font-size: 1rem; line-height: 1.85; color: var(--ink-2); }
.teacher-empty { margin-top: 1.125rem; font-size: .9375rem; line-height: 1.7; color: var(--ink-3); }
.teacher-panel-body .btn { margin-top: 1.75rem; }
@media (max-width: 640px) {
  .teacher-panel { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; max-height: 92vh; }
  .teacher-panel-media { max-width: 16rem; }
  .teacher-panel-body h2 { font-size: 1.5rem; }
}

/* 教师弹层：经历条目 */
.teacher-list {
  margin: 1rem 0 0; padding: 0; list-style: none;
  display: grid; gap: .5rem;
}
.teacher-list li {
  position: relative; padding-left: 1.125rem;
  font-size: .9375rem; line-height: 1.75; color: var(--ink-2);
}
.teacher-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .375rem; height: .375rem; border-radius: 999px; background: var(--brand); opacity: .55;
}

/* 教师简介：按「·」分块，块内不换行，块间才允许折行 */
.t-bio-item { display: inline-block; }
.t-bio-dot { margin: 0 .38em; color: var(--ink-4); }

/* 手机端教师弹层：照片收小 + CTA 吸底，避免按钮被挤到滚动区外 */
@media (max-width: 640px) {
  .teacher-panel-media { max-width: 11rem; }
  .teacher-panel-body .btn {
    position: sticky; bottom: -1.5rem; margin-top: 1.25rem;
    width: 100%; background: var(--brand);
    padding-top: 0; padding-bottom: 0;
    box-shadow: 0 -12px 16px -8px #fff, 0 12px 16px -8px #fff;
  }
}

/* ---------- 课程行：整行可点 + hover 反馈 ---------- */
.track { position: relative; }
.track-open {
  position: absolute; inset: 0; z-index: 2;
  background: none; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.track-open:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.track:hover { background: rgba(245, 245, 247, .6); }
.track:hover .track-arrow { transform: translateX(4px); color: var(--brand); }
.track-arrow { transition: transform .2s var(--ease), color .2s var(--ease); }
.track:hover .track-name { color: var(--brand); }
.track-name { transition: color .2s var(--ease); }

/* ---------- 课程详情弹层 ---------- */
.course-panel { max-width: 40rem; padding: 2.25rem; }
.course-age {
  display: inline-block; margin-bottom: .75rem;
  padding: .25rem .75rem; border-radius: 999px;
  background: var(--surface); color: var(--brand);
  font-size: .9375rem; font-weight: 600; letter-spacing: .02em;
}
.course-panel h2 { font-size: 2rem; }
.course-desc { margin-top: .75rem; font-size: 1.0625rem; line-height: 1.8; color: var(--ink-2); }
.course-points {
  margin: 1.25rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem;
}
.course-points li {
  position: relative; padding-left: 1rem;
  font-size: .9375rem; line-height: 1.7; color: var(--ink-2);
}
.course-points li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: .375rem; height: .375rem; border-radius: 999px; background: var(--brand); opacity: .55;
}
.course-empty { margin-top: 1.25rem; font-size: .9375rem; line-height: 1.7; color: var(--ink-3); }
.course-panel .btn { margin-top: 1.75rem; }
@media (max-width: 640px) {
  .course-panel { padding: 1.5rem; }
  .course-panel h2 { font-size: 1.5rem; }
  .course-points { grid-template-columns: 1fr; }
  .course-panel .btn { width: 100%; }
}

/* ---------- 师资卡：按参考图（503×645 卡）换算 —— 灰底卡 + 满幅图 + 卡内文字 ---------- */
.teacher {
  background: #f5f5f5; border: 0; border-radius: 20px; overflow: hidden;
  padding: 0; display: block;
}
.teacher .media-teacher { aspect-ratio: 7 / 5; border-radius: 0; background: #dcdcdc; }
.teacher-text { padding: 1rem 1.25rem 1.5rem; }
.teacher h3 { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; color: #111; }
.teacher .teacher-role { margin-top: .4375rem; font-size: .875rem; color: #6e6e6e; }
.teacher .teacher-intro { margin-top: 1.125rem; font-size: .8125rem; line-height: 1.7; color: #6e6e6e; }
@media (max-width: 640px) {
  .teacher { border-radius: 16px; }
  .teacher-text { padding: .875rem 1rem 1.125rem; }
  .teacher h3 { font-size: 1.125rem; }
  .teacher .teacher-role { font-size: .8125rem; }
  .teacher .teacher-intro { margin-top: .75rem; font-size: .75rem; }
}

/* 图片自己也是圆角矩形（四角圆），在灰卡里留 3px 细边——参考图实测：图块 y1080→1140 左边界内缩 3→63px 即自带圆角 */
.teacher { padding: 3px 3px 0; }
.teacher .media-teacher {
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .teacher { padding: 2px 2px 0; }
  .teacher .media-teacher { border-radius: 14px; }
}

/* 图片完全贴合卡片：去掉内边距与图片自身圆角，由卡片圆角裁切 */
.teacher { padding: 0; }
.teacher .media-teacher { border-radius: 0; }
@media (max-width: 640px) {
  .teacher { padding: 0; }
  .teacher .media-teacher { border-radius: 0; }
}

/* 图片底部两角给圆角（顶部由卡片圆角裁切），与卡片圆角同值 */
.teacher .media-teacher { border-radius: 0 0 20px 20px; }
@media (max-width: 640px) {
  .teacher .media-teacher { border-radius: 0 0 16px 16px; }
}

/* 手机端教师详情：照片撑满弹层宽度（原 11rem 导致右侧大片空白） */
@media (max-width: 640px) {
  .teacher-panel { padding: 20px; }
  .teacher-panel-media { max-width: none; width: 100%; aspect-ratio: 3 / 2; }
  .teacher-panel-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
}

/* 手机端教师详情：压缩纵向，尽量一屏内放下；CTA 吸底对齐弹层内边距 */
@media (max-width: 640px) {
  .teacher-panel-media { aspect-ratio: 16 / 10; }
  .teacher-panel-body .btn { bottom: -20px; }
  .teacher-bio { font-size: .9375rem; line-height: 1.75; margin-top: 1rem; }
  .teacher-list { gap: .375rem; margin-top: .875rem; }
  .teacher-list li { font-size: .875rem; }
  .teacher-tags li { font-size: .75rem; }
}

/* 详情弹层照片统一 7:5（与卡片一致），一张图三处通用，不产生二次裁切 */
.teacher-panel-media { aspect-ratio: 7 / 5; }
@media (max-width: 640px) {
  .teacher-panel-media { aspect-ratio: 7 / 5; }
}

/* 师资卡图片底部蒙版渐变：照片向卡片底色平滑过渡 */
.teacher .media-teacher { position: relative; }
.teacher .media-teacher::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(to top,
    #f5f5f5 0%,
    rgba(245, 245, 245, .92) 22%,
    rgba(245, 245, 245, .55) 55%,
    rgba(245, 245, 245, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* 蒙版调轻：高度 46%→32%，中段更透明，避免把手和衣服吃掉 */
.teacher .media-teacher::after {
  height: 32%;
  background: linear-gradient(to top,
    #f5f5f5 0%,
    rgba(245, 245, 245, .82) 16%,
    rgba(245, 245, 245, .38) 46%,
    rgba(245, 245, 245, 0) 100%);
}

/* ---------- 校区地图（高德 JS API） ---------- */
.campus-map-wrap { margin-top: 2rem; }
.campus-map {
  height: 420px; border-radius: var(--r-media); overflow: hidden;
  background: #EFEFEF;
}
.campus-map.is-failed {
  display: grid; place-items: center;
  font-size: .9375rem; color: var(--ink-3); text-align: center; padding: 1.5rem;
}
.campus-map-note { margin-top: .75rem; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 640px) {
  .campus-map { height: 300px; }
  .campus-map-note { font-size: .8125rem; }
}

/* 自定义标记 */
.campus-pin {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
.campus-info { padding: .25rem .125rem; }
.campus-info h4 { margin: 0; font-size: 1rem; font-weight: 600; color: #111; }
.campus-info p { margin: .25rem 0 .5rem; font-size: .8125rem; color: #666; }
.campus-info a { font-size: .8125rem; color: var(--brand); text-decoration: underline; }

/* ---------- 校区静态地图（服务端出图，无 JS / 无 Key 暴露） ---------- */
.campus-staticmap { margin: 2rem 0 0; }
.campus-staticmap img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-media);
  background: #EFEFEF;
}
.campus-legend {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin-top: 1rem;
  font-size: .9375rem;
}
.campus-legend a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.campus-legend a:hover { color: var(--brand); border-color: var(--brand); }
.campus-legend b {
  display: inline-grid; place-items: center;
  width: 1.25rem; height: 1.25rem; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 600;
}
@media (max-width: 640px) {
  .campus-staticmap { margin-top: 1.5rem; }
  .campus-legend { gap: .5rem 1rem; font-size: .875rem; }
}

/* ---------- 校区卡片内的静态小地图 ---------- */
.campus-thumb {
  display: block; margin: 0 0 1.25rem;
  border-radius: calc(var(--r-card) - 8px);
  overflow: hidden;
  background: #EFEFEF;
  aspect-ratio: 3 / 2;
}
.campus-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.campus-thumb { transition: transform .25s var(--ease); }
.campus-thumb:hover { transform: translateY(-2px); }

/* 校区电话（可点击拨号） */
.campus-meta a.campus-tel { color: var(--ink-2); text-decoration: none; border-bottom: 0; }
.campus-tel:hover { color: var(--brand); }

/* 桌面端复制号码的反馈 */
.campus-tel { cursor: pointer; position: relative; }
.campus-tel.is-copied::after {
  content: "已复制";
  position: absolute; left: 0; bottom: 100%;
  margin-bottom: .35rem; padding: .15rem .45rem;
  background: var(--ink-1); color: #fff; border-radius: 6px;
  font-size: .75rem; white-space: nowrap;
}

/* 金沙湾卡片右下角立体形象 */
.campus-card { position: relative; }
.campus-badge {
  position: absolute; right: .5rem; bottom: 1.5rem;
  width: 88px; height: auto;
  pointer-events: none;
  opacity: .95;
}
.campus-card:has(.campus-badge) .campus-meta { padding-right: 6.5rem; }
.campus-card:has(.campus-badge) .campus-body { padding-bottom: .75rem; }
@media (max-width: 1100px) {
  .campus-badge { width: 120px; }
  .campus-card:has(.campus-badge) .campus-meta { padding-right: 8.5rem; }
  .campus-card:has(.campus-badge) .campus-body { padding-bottom: .75rem; }
}

/* 电话行：图标 + 号码 */
.campus-meta p:has(.campus-tel) { display: flex; align-items: center; gap: .4rem; }
.campus-tel-ic { width: 1.05em; height: 1.05em; flex: none; color: var(--ink-3); }

/* 地址不在词中间折行（只在空格处断） */
.campus-meta p { word-break: keep-all; }

/* 去掉校区形象大图后，收掉 #campus 多余的 107px 底部内边距，与其它区块节奏一致 */
#campus { padding-bottom: 3.5rem; }

/* ---------- 图片放大按钮 + 灯箱 ---------- */
.media-strip { position: relative; }
.media-zoom {
  position: absolute; inset: 0; z-index: 2;
  background: none; border: 0; padding: 0; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.media-zoom::after {
  content: "点击看大图";
  position: absolute; right: .75rem; bottom: .75rem;
  padding: .25rem .7rem; border-radius: 999px;
  background: rgba(0, 0, 0, .55); color: #fff;
  font-size: .8125rem; letter-spacing: .02em;
  opacity: 0; transition: opacity .2s var(--ease);
  pointer-events: none;
}
.media-zoom:hover::after, .media-zoom:focus-visible::after { opacity: 1; }
.media-zoom:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .92);
  display: grid; place-items: center;
  padding: 4vmin;
  animation: lb-in .18s ease-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 94vw; max-height: 88vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox-close {
  position: absolute; top: 2.5vmin; right: 2.5vmin;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 0; font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .lightbox { padding: 0; }
  .lightbox img { max-width: 100vw; max-height: 82vh; border-radius: 0; }
}

/* ---------- 学员风采轮播 ---------- */
.gallery { position: relative; margin-top: 2.5rem; --cw: 62vw; }

/* Cover Flow：横向滚动 + 3D 侧倾，中间一张正对观众 */
.gallery-viewport {
  overflow-x: auto; overflow-y: hidden;
  padding-block: 1.25rem;
  /* 左右留白用 track 的伪元素撑，不用 padding：部分移动内核不把滚动容器的
     padding-right 计入可滚动范围，末尾卡片会顶到右边缘、永远居不了中 */
  padding-inline: 0;
  /* 注意：perspective 若放在滚动容器上会被 overflow 展平，这里移到 li 上 */

  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport:focus-visible { box-shadow: 0 0 0 3px rgba(229, 84, 32, .35); border-radius: var(--r-media); }

.gallery-track {
  display: flex; width: max-content; margin: 0; padding: 0; list-style: none;
  transform-style: preserve-3d;
}
.gallery-track::before,
.gallery-track::after {
  content: ''; flex: 0 0 var(--pad, 0px); align-self: stretch; pointer-events: none;
}
.gallery-slide {
  position: relative;
  flex: 0 0 var(--cw);
  margin-right: calc(var(--cw) * -0.22);   /* 相邻卡片互相叠压，形成 cover flow 纵深 */
  aspect-ratio: 3 / 2;
  perspective: 1200px;
  perspective-origin: 50% 50%;
}
/* 3D 只作用于内层卡片：外层 li 保持纯净，scroll-snap 吸附点才不会被旋转带偏 */
.gallery-slide:last-child { margin-right: 0; }  /* 末尾不叠压，否则最后一张无法居中 */

.gallery-card {
  position: absolute; inset: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .13);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-card .media-zoom { cursor: zoom-in; }

@media (prefers-reduced-motion: reduce) {
  .gallery-viewport { scroll-behavior: auto; }
}

.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .9); color: var(--ink-2);
  border: 0; cursor: pointer; font-size: 26px; line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  transition: background .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
  z-index: 3;
}
.gallery-nav:hover { background: #fff; color: var(--brand); }
.gallery-nav.prev { left: 1rem; }
.gallery-nav.next { right: 1rem; }
.gallery-nav[disabled] { opacity: 0; pointer-events: none; }

.gallery-dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1rem;
}
.gallery-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: var(--line); cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
}
.gallery-dots button[aria-selected="true"] { width: 22px; background: var(--brand); }
.gallery-dots[hidden] { display: none; }

@media (max-width: 640px) {
  .gallery { margin-top: 2.5rem; }
  .gallery-nav { width: 38px; height: 38px; font-size: 22px; }
  .gallery-nav.prev { left: .5rem; }
  .gallery-nav.next { right: .5rem; }
}

/* ---------- 常见问题（与 FAQPage 结构化数据对应） ---------- */
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 1rem; height: 1rem; flex: 0 0 auto; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-3);
  transform: translate(-50%, -50%); transition: transform .25s ease, opacity .25s ease;
}
.faq-ic::before { width: 14px; height: 1.5px; }
.faq-ic::after { width: 1.5px; height: 14px; }
.faq-item[open] .faq-ic::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-body { padding: 0 0 1.25rem; max-width: 46rem; }
.faq-body p { margin: 0; color: var(--ink-2); line-height: 1.85; }

/* ---------- 首屏：16:9 通栏主视觉 ---------- */
.hero { position: relative; overflow: hidden; padding: 0; border-bottom: 1px solid var(--line); }
.hero .media-hero {
  position: absolute; inset: 0; margin: 0; border-radius: 0;
  aspect-ratio: auto; background: #F5F5F7;
}
.hero .media-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
/* 左侧压一层白→透明渐变：图片换成深色照片时文字也不会糊 */
.hero .media-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    #fff 0%, rgba(255, 255, 255, .94) 22%, rgba(255, 255, 255, .60) 40%, rgba(255, 255, 255, 0) 62%);
}
.hero-grid {
  position: relative; z-index: 1;
  grid-template-columns: minmax(0, 35rem) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(30rem, 56.25vw, 54rem);
}
.hero-copy { padding-top: 0; position: relative; z-index: 2; }   /* 图在 DOM 里排在文案之后，不给 z-index 会盖住文字 */

/* ≤900 沿用上一版：文案在上、圆角图在版心内（16:11 / ≤820 为 4:3） */
@media (max-width: 900px) {
  .hero { padding-top: 3.875rem; padding-bottom: 2.5rem; }
  .hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; min-height: 0; }
  .hero .media-hero {
    /* 必须是 relative：图是 absolute inset:0，父级一旦 static 就会相对 .hero 铺满整屏 */
    position: relative; aspect-ratio: 16 / 11; margin: 0;
    border-radius: var(--r-media);
  }
  .hero .media-hero img { object-position: center; }
  .hero .media-hero::after { display: none; }
}
@media (max-width: 820px) {
  .hero { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .hero .media-hero { aspect-ratio: 4 / 3; }
}

/* ---------- 更多（手机底栏 → 底部面板） ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 22, .38); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.5rem var(--pad) calc(1rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .12);
  animation: sheet-up .26s cubic-bezier(.22, .8, .3, 1) both;
}
@keyframes sheet-up { from { transform: translateY(14px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet-panel { animation: none; } }
.sheet-grip { display: block; width: 36px; height: 4px; margin: .25rem auto .5rem; border-radius: 999px; background: var(--line); }
.sheet-title { font-size: 1.0625rem; font-weight: 600; color: var(--ink); padding: .25rem .25rem .5rem; }
.sheet-list { list-style: none; margin: 0; padding: 0; }
.sheet-row {
  display: grid; grid-template-columns: 1fr auto 1.1em;
  align-items: center; gap: .5rem;
  width: 100%; min-height: 56px; padding: .75rem .25rem;
  border: 0; border-top: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sheet-list li:first-child .sheet-row { border-top: 0; }
.sheet-row-name { font-size: 1rem; font-weight: 500; }
.sheet-row-note { font-size: .8125rem; color: var(--ink-3); }
.sheet-arrow { width: 1.1em; height: 1.1em; color: var(--ink-4); }
.sheet-close {
  display: block; width: 100%; margin-top: .75rem; height: 3rem;
  border: 0; border-radius: 999px; background: #F2F2F4;
  color: var(--ink-2); font: inherit; font-size: .9375rem; cursor: pointer;
}

/* ---------- 师资独立页 /teachers/ ---------- */
.t-page { padding-top: 2.5rem; }
.t-page-title { font-size: 2.25rem; font-weight: 700; line-height: 1.25; margin-top: .5rem; }
.t-list { display: grid; gap: 2rem; margin-top: 2.5rem; }
.t-card { background: #f5f5f5; border-radius: var(--r-card); overflow: hidden; }
.t-figure { margin: 0; aspect-ratio: 7 / 5; overflow: hidden; }
.t-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-body { padding: 1rem 1.25rem 1.5rem; }
.t-name { font-size: 1.375rem; font-weight: 700; }
.t-role { margin-top: .25rem; font-size: .875rem; color: #6E6E6E; }
.t-bio { margin-top: .75rem; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.t-bio-item { display: inline-block; }
.t-bio-dot { margin: 0 .3em; color: var(--ink-4); }
.t-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.t-tag { font-size: .75rem; color: var(--brand); background: rgba(229, 84, 32, .08); padding: .18rem .55rem; border-radius: 999px; }
.t-hl { margin: .875rem 0 0; padding-left: 1.1rem; font-size: .875rem; line-height: 1.7; color: var(--ink-2); }
.t-hl li { list-style: disc; }

@media (min-width: 900px) {
  .t-page-title { font-size: 3rem; }
  .t-list { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .t-body { padding: 1.25rem 1.5rem 1.75rem; }
}

/* ---------- 师资页 · 手机端卡片堆（iMessage 风格） ---------- */
@media (max-width: 820px) {
  .t-list.deck {
    position: relative; display: block; margin-top: 1.75rem;
    /* 通栏 + 裁切：旋转放大的卡片不会把页面横向撑出可滚动宽度（否则拖卡会带着整页左右晃） */
    margin-inline: calc(var(--pad) * -1);
    overflow: hidden;
  }
  .t-list.deck .t-card {
    position: absolute; left: 50%; top: 0;
    width: min(88vw, 430px); margin-left: calc(min(88vw, 430px) / -2);
    transform-origin: 50% 94%;
    transition: transform .42s cubic-bezier(.22, .85, .28, 1), opacity .32s var(--ease);
    will-change: transform, opacity;
    -webkit-user-select: none; user-select: none;
  }
  .t-list.deck, .t-list.deck .t-card { touch-action: pan-y; overscroll-behavior-x: contain; }
  .t-list.deck .t-card.is-active:active { cursor: grabbing; }
  .deck-bar {
    display: flex; align-items: center; justify-content: center;
    gap: 1.25rem; margin-top: 1.5rem;
  }
  .deck-bar[hidden] { display: none; }
  .deck-btn {
    width: 44px; height: 44px; padding: 0;
    display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 999px;
    background: #fff; color: var(--ink-2); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .deck-btn:active { background: #F2F2F4; }
  .deck-btn svg { width: 1.25rem; height: 1.25rem; }
  .deck-count { font-size: .875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
  .deck-hint { text-align: center; font-size: .8125rem; color: var(--ink-4); margin-top: .55rem; }
  .deck-hint[hidden] { display: none; }
}

/* 手机端卡片堆：压缩页头与卡内排版，让整张卡 + 计数一屏能看完 */
@media (max-width: 820px) {
  .t-page { padding-top: 1.25rem; }
  .t-page-title { font-size: 1.75rem; margin-top: .25rem; }
  .t-page .sub { font-size: .9375rem; margin-top: .5rem; }
  .t-list.deck { margin-top: 1.25rem; }
  .t-list.deck .t-card { width: min(76vw, 360px); margin-left: calc(min(76vw, 360px) / -2); }
  .t-list.deck .t-body { padding: .875rem 1.125rem 1.125rem; }
  .t-list.deck .t-name { font-size: 1.25rem; }
  .t-list.deck .t-role { font-size: .8125rem; }
  .t-list.deck .t-bio { margin-top: .5rem; font-size: .875rem; line-height: 1.5; }
  .t-list.deck .t-tags { margin-top: .5rem; }
  .t-list.deck .t-tag { font-size: .6875rem; }
  .t-list.deck .t-hl { margin-top: .625rem; font-size: .8125rem; line-height: 1.55; }
  .deck-bar { margin-top: 1.125rem; }
  .deck-hint { display: none; }
}

/* 卡堆：简介压两行、履历压 4 条，让每张卡等高、牌堆边缘整齐 */
@media (max-width: 820px) {
  .t-list.deck .t-bio {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .t-list.deck .t-hl li:nth-child(n+4) { display: none; }
  .t-hl-more { color: var(--ink-3); font-size: .8125rem; list-style: none; margin-left: -1.1rem; }
}

/* 手机端卡堆再压一点页头，让「N / 12 + 箭头」不用滑就能看见 */
@media (max-width: 820px) {
  .t-page { padding-top: .875rem; padding-bottom: 2.5rem; }
  .t-page .eyebrow { display: none; }
  .t-page-title { font-size: 1.5rem; margin-top: 0; }
  .t-page .sub { margin-top: .375rem; font-size: .875rem; }
  .t-list.deck { margin-top: .875rem; }
  .t-list.deck .t-body { padding: .75rem 1rem 1rem; }
  .deck-bar { margin-top: .875rem; }
}

@media (max-width: 820px) {
  .t-list.deck .t-card { box-shadow: 0 12px 34px rgba(0, 0, 0, .10); }
  .deck-btn[disabled] { cursor: default; }
}

/* 页脚营业时间：比链接小一号、灰色，避免和导航项抢层级 */
.footer-col .footer-hours {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink-3);
}
@media (max-width: 820px) {
  .footer-col .footer-hours { display: block; margin-top: .5rem; }
}

/* 师资卡页数指示：白色胶囊 + 圆点（当前项拉长） */
.deck-bar { display: flex; justify-content: center; }
.deck-dots {
  display: inline-flex; align-items: center; gap: 7px;
}
.deck-dots button {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px;
  background: #E4E4E9; cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.deck-dots button[aria-selected="true"] { width: 18px; background: var(--brand); }

/* 师资页底部：不要整块页脚，只留一行版权与备案（合规用） */
.t-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .35rem .9rem;
  padding: 1.25rem var(--pad) 1.5rem;
  font-size: .8125rem;
  color: var(--ink-4);
}
.t-foot a { color: var(--ink-4); }
.t-foot a:hover { color: var(--brand); }
@media (max-width: 820px) {
  .t-foot { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* 师资卡：GPU 合成提示，滑动更跟手 */
@media (max-width: 820px) {
  .t-list.deck .t-card {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    contain: layout style;
  }
  .t-list.deck .t-card.is-active { will-change: transform, opacity; }
}

/* 手机端课程行：缩略图再收一点，给文字多留宽度，减少中词断行 */
@media (max-width: 640px) {
  .track { grid-template-columns: 5rem minmax(0, 1fr) 1.5rem; gap: .875rem; }
  .track.no-fig { grid-template-columns: minmax(0, 1fr) 1.5rem; }
  .track-fig { height: 5rem; }
  .track-info { gap: .35rem; }
  .track-desc { font-size: .875rem; line-height: 1.55; }
}

/* ---------- 官网问答机器人（课程咨询） ---------- */
.chat-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 95; }
.chat-widget.is-open .chat-fab { opacity: 0; pointer-events: none; transform: translateY(6px); }
.chat-fab {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 3.25rem; padding: 0 1.125rem;
  border: 0; border-radius: 999px;
  background: var(--brand); color: #fff;
  font: inherit; font-size: .9375rem; font-weight: 600;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.chat-fab:hover { background: var(--brand-deep, #cf4718); transform: translateY(-1px); }
.chat-fab:active { transform: scale(.97); }
.chat-fab svg { flex: none; }

.chat-panel {
  position: absolute; right: 0; bottom: calc(100% + .75rem);
  width: 23.75rem; max-height: min(38rem, 76vh);
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E7E7EA; border-radius: 20px;
  overflow: hidden;
  transform-origin: 100% 100%;
  animation: chat-in .18s var(--ease);
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

.chat-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: .9375rem 1.125rem .875rem;
  border-bottom: 1px solid #EFEFF2; background: #fff;
}
.chat-title { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ink); }
.chat-sub { margin: .15rem 0 0; font-size: .75rem; color: var(--ink-3); }
.chat-close {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: #F4F4F6; color: var(--ink-2); cursor: pointer;
}
.chat-close:hover { background: #ECECF0; }

.chat-body {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 1rem 1rem .5rem; display: flex; flex-direction: column; gap: .625rem;
  background: #FBFBFC;
}
.chat-msg { max-width: 85%; padding: .625rem .875rem; border-radius: 14px; font-size: .875rem; line-height: 1.62; word-break: break-word; }
.chat-msg p { margin: 0; }
.chat-msg-bot { align-self: flex-start; background: #F3F3F5; color: var(--ink); border-top-left-radius: 5px; }
.chat-msg-user { align-self: flex-end; background: var(--brand); color: #fff; border-top-right-radius: 5px; }

.chat-typing { display: inline-flex; gap: .25rem; align-items: center; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #B9B9C0; animation: chat-dot 1.1s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .5rem; }
.chat-chips[hidden] { display: none; }
.chat-chip {
  padding: .4rem .75rem; border: 1px solid #E4E4E9; border-radius: 999px;
  background: #fff; color: var(--ink-2); font: inherit; font-size: .8125rem; cursor: pointer;
}
.chat-chip:hover { border-color: var(--brand); color: var(--brand); }

.chat-lead {
  align-self: flex-start; max-width: 85%;
  padding: .75rem .875rem; border: 1px dashed #F0C9B8; border-radius: 14px; background: #FFF8F5;
}
.chat-lead p { margin: 0 0 .5rem; font-size: .8125rem; color: var(--ink-2); }
.btn-sm { height: 2.125rem; padding: 0 .875rem; font-size: .8125rem; }

.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid #EFEFF2; background: #fff; }
.chat-input {
  flex: 1; min-width: 0; height: 2.625rem; padding: 0 .875rem;
  border: 1px solid #E4E4E9; border-radius: 999px; background: #FAFAFB;
  font: inherit; font-size: .875rem; color: var(--ink);
}
.chat-input:focus { outline: none; border-color: var(--brand); background: #fff; }
.chat-send {
  flex: none; width: 2.625rem; height: 2.625rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer;
}
.chat-send:active { transform: scale(.96); }

@media (max-width: 820px) {
  .chat-widget { right: 1rem; bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
  /* iOS 聚焦时若字号 < 16px 会强制放大整页 —— 这里必须 16px */
  .chat-input { font-size: 16px; }
  .chat-chip { font-size: .8125rem; }
  .chat-fab { height: 3rem; padding: 0 1rem; font-size: .875rem; }
  .chat-fab-text { display: none; }
  .chat-fab { width: 3rem; padding: 0; justify-content: center; }
  .chat-panel {
    position: fixed; left: 0; right: 0;
    bottom: var(--chat-offset, 0px);          /* 键盘顶起来的高度，JS 写 */
    width: auto; max-height: none;
    height: var(--chat-vh, 84dvh);            /* 优先用可视视口高度 */
    border-radius: 20px 20px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transition: height .16s var(--ease), bottom .16s var(--ease);
  }
  .chat-panel[hidden] { display: none; }
  body.chat-open { overflow: hidden; }
  .chat-panel .chat-body { padding-bottom: 1rem; }
}

/* ---------- 课程体系独立页（/courses/） ---------- */
.c-hero { padding-bottom: 0; }
/* 课程页副标题：别顶到两侧，按语义断行 */
.c-hero .sub { max-width: 26em; text-wrap: pretty; }
@media (max-width: 820px) {
  .c-hero .sub { font-size: .9375rem; line-height: 1.55; max-width: 19em;
    word-break: keep-all; overflow-wrap: break-word; }
}
.c-title { font-size: 3.3125rem; font-weight: 700; line-height: 1.15; text-wrap: balance; }
.c-note { margin-top: 1.5rem; font-size: .9375rem; color: var(--ink-3); }
.c-ladder-section { padding-top: 2.5rem; }
/* 手机端：副标题到第一张课程卡之间原本 72px，收短到 20px 左右 */
@media (max-width: 820px) {
  .section.c-ladder-section { padding-top: .5rem; }
  .c-ladder-section .track-list { margin-top: .75rem; }
}

.c-stage { border-top: 1px solid var(--line); padding: 3rem 0; }
.c-stage:first-of-type { border-top: 0; padding-top: 2rem; margin-top: 1.5rem; }
.c-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.c-num { font-size: 1rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.c-name { font-size: 2rem; font-weight: 600; }
.c-age { font-size: 1.0625rem; color: var(--ink-3); }
.c-tag { padding: .25rem .7rem; border-radius: 999px; background: var(--surface); color: var(--brand); font-size: .875rem; }
.c-out { margin-top: 1.25rem; font-size: 1.25rem; color: var(--ink-2); text-wrap: pretty; }
.c-out b { color: var(--ink); font-weight: 600; }
.c-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.c-col h4 { font-size: .9375rem; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; }
.c-list { margin-top: .9rem; display: grid; gap: .5rem; }
.c-list li { position: relative; padding-left: 1rem; font-size: 1rem; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.c-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 1px; background: var(--ink-4); }
.c-kpi { margin-top: 1.25rem; padding: .9rem 1.1rem; border-left: 2px solid var(--brand);
  background: rgba(225, 57, 15, .04); font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.c-p-muted { color: var(--ink-3); }
.c-works { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; }
.c-works-label { font-size: .9375rem; color: var(--ink-3); letter-spacing: .04em; }
.c-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.c-chip { padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }

.c-flow-card { padding: 2rem 1.75rem; }
.c-flow-num { display: block; font-size: 2.25rem; font-weight: 600; color: var(--brand); line-height: 1; }
.c-flow-card h3 { margin-top: 1.1rem; font-size: 1.25rem; font-weight: 600; }
.c-flow-card p { margin-top: .6rem; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }

.c-rule { padding: 2rem; }
.c-rule h3 { font-size: 1.0625rem; color: var(--ink-3); font-weight: 500; }
.c-rule-num { margin-top: .5rem; font-size: 2rem; font-weight: 600; }
.c-rule p:last-child { margin-top: .75rem; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }

.c-gains { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2.5rem; }
.c-gains li { border-top: 1px solid var(--line); padding-top: 1rem; }
.c-gains b { display: block; font-size: 1.25rem; font-weight: 600; }
.c-gains span { display: block; margin-top: .4rem; font-size: 1rem; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 900px) {
  .c-cols { grid-template-columns: 1fr; gap: 1.75rem; }
  .c-gains { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .c-title { font-size: 1.75rem; line-height: 1.3; }
  /* 手机端：每阶收成一张卡，信息不再散在页面上 */
  .c-stage {
    background: var(--surface);
    border: 0; border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: .875rem;
  }
  .c-stage:first-of-type { padding-top: 1.25rem; margin-top: 1.5rem; }
  .c-head { gap: .375rem .5rem; }
  .c-num { font-size: .8125rem; color: var(--ink-3); }
  .c-name { font-size: 1.375rem; }
  .c-age { order: 3; width: 100%; font-size: .875rem; }
  .c-tag { font-size: .75rem; padding: .2rem .55rem; background: var(--white); }

  .c-out {
    margin-top: .75rem; padding: .75rem .875rem;
    border-radius: 14px; background: var(--white);
    font-size: .9375rem; line-height: 1.6;
  }
  .c-out b { color: var(--brand); font-weight: 600; }

  .c-cols {
    grid-template-columns: 1fr; gap: 1.15rem;
    margin-top: .9rem; padding-top: .9rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
  }
  .c-col h4 { font-size: .75rem; letter-spacing: .06em; color: var(--ink-2); font-weight: 600; }
  .c-list { margin-top: .55rem; gap: .38rem; }
  .c-list li { font-size: .9375rem; line-height: 1.6; padding-left: .9rem; }
  .c-list li::before {
    width: 4px; height: 4px; border-radius: 50%;
    top: .72em; background: var(--brand); opacity: .55;
  }
  .c-kpi { margin-top: .7rem; padding: .6rem .75rem; font-size: .875rem; border-radius: 10px; }
  .c-works { margin-top: .875rem; padding-top: .875rem; gap: .5rem; }
  .c-works-label { font-size: .75rem; }
  .c-chip { font-size: .8125rem; padding: .28rem .6rem; background: var(--white); }
  .c-gains { grid-template-columns: 1fr; gap: 1.25rem; }
}

.section-more { margin-top: 2.5rem; }
.more-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.0625rem; font-weight: 500; color: var(--brand);
  border-bottom: 1px solid transparent; padding-bottom: .2rem;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.more-link:hover { border-color: var(--brand); gap: .75rem; }
