
/* ==========================================================================
   Balance Lab 中文站 · 设计令牌
   视觉语言参考医院官网（balancelab.kr）的设计体系：
     强调色系  青蓝 #70b4bc / #5ecbff、薄荷绿 rgb(149,208,195)   ← 官网 CSS 变量
     字重      官网 --boldWeight:400，整体轻盈克制
     圆角      4px / 8px / pill 100px / 圆 50%
     高亮      .mark 薄荷绿荧光笔（inset box-shadow），官网特色手法
   页面结构保持本站自有组织方式（分诊、诉求分层、对比表），不复制官网版式。
   ========================================================================== */

:root {
  --ink: #111111;            /* 官网正文色，非纯黑 */
  --ink-strong: #01000F;     /* logo 实测黑，仅用于标题 */
  --paper: #FFFFFF;
  --mist: #F7F8F8;
  --mist-warm: #F3F3F3;      /* 官网 --light-gray */
  --rule: #E6E8E8;
  --rule-strong: #C9CDCD;
  --quiet: #5F5F5F;          /* 次级文字，白底 6.1:1 */
  --gray: #6F6F6F;           /* 弱化文字，白底 5.02 / 浅灰 4.72 / 暖灰 4.53，均达标
                                （原 #9A9A9A 仅 2.81:1，层级改由字号字重承担）*/

  --accent: #70B4BC;         /* 官网按钮色 .more_btn */
  --accent-deep: #3E757C;    /* 文字用青蓝，白底 5.20 / 浅灰 4.88 / 暖灰 4.68 */
  --accent-light: #5ECBFF;   /* 官网 --subcolor */
  --mark: 149, 208, 195;     /* 官网 --markcolor */

  --measure: 38em;
  --gut: clamp(20px, 5vw, 60px);
  --max: 1280px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 100px;

  --fs-body: 1rem;       /* 用 rem，使浏览器字号设置生效 */
  --lh-body: 1.8;

  --nav-h: 78px;        /* 页眉实测高度（含 logo 44pt 触控区）；改动页眉后需重测 */
}

* { box-sizing: border-box; }
html {
  font-size: 100%;              /* 跟随用户的浏览器字号设置，勿写死 px */
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  color-scheme: light;          /* 明确浅色，避免深色模式下被强制反色 */
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 var(--fs-body)/var(--lh-body)
        "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Source Han Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }   /* 浏览器默认 margin:1em 40px，会挤窄栅格内的图 */
a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- 排版：字重克制，靠字号与留白拉层级 ---------- */

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
h1 { font-size: clamp(1.75rem, 4.4vw, 2.875rem); font-weight: 500; }
h2 { font-size: clamp(1.3125rem, 2.6vw, 1.875rem); }
h3 { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); font-weight: 500; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

.lede { font-size: clamp(1rem, 1.8vw, 1.1875rem); line-height: 1.85; color: var(--ink); font-weight: 300; }
.quiet { color: var(--quiet); }
.small { font-size: 0.875rem; line-height: 1.8; }
.num { font-weight: 500; color: var(--accent-deep); font-variant-numeric: tabular-nums; }

/* 官网特色：薄荷绿荧光笔高亮 */
.mark {
  display: inline;
  box-shadow: inset 0 -0.6em 0 rgba(var(--mark), .38);
}

/* ---------- 骨架 ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.band { padding-block: clamp(56px, 9vw, 118px); }
.band--mist { background: var(--mist); }
.band--tight { padding-block: clamp(36px, 5.5vw, 64px); }

/* 全宽图条：打破 1280 容器，作呼吸位 */
.strip { display: block; }
.strip img {
  width: 100%; max-height: clamp(200px, 30vw, 340px);
  object-fit: cover; display: block;
}

/* 宽容器：图集比正文更舒展 */
.wrap--wide { max-width: 1480px; }
.rule-top { border-top: 1px solid var(--rule); }

/* ---------- 页眉 ---------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
}
.masthead__in {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gut);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
/* logo 本身是链接，可点区域需 ≥44pt（实测原为 27px）*/
.masthead__logo { display: inline-flex; align-items: center; min-height: 44px; }
.masthead__logo img { width: 196px; }
.masthead__nav {
  display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9375rem;
  margin-left: auto; align-items: center; font-weight: 400;
}
.masthead__nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.masthead__nav a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.masthead__nav a[aria-current="page"] { border-bottom-color: var(--accent); }
/* 咨询：与其他导航项同样式（不再做成按钮）*/
.masthead__cta { }

/* 项目中心下拉：纯 CSS，悬停或键盘聚焦（focus-within）展开；父项本身可点，进总览页 */
.masthead__menu { position: relative; display: flex; align-items: center; }
.masthead__menu > a { display: inline-flex; align-items: center; gap: 3px; }
.masthead__chev { width: 14px; height: 14px; transition: transform .2s; }
.masthead__menu:hover .masthead__chev, .masthead__menu:focus-within .masthead__chev { transform: rotate(180deg); }
.masthead__menu--here > a { border-bottom-color: var(--accent); }
.masthead__drop {
  position: absolute; top: 100%; left: -18px; z-index: 25;
  display: none; flex-direction: column; min-width: 172px; padding: 10px 0; margin-top: 6px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.masthead__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }   /* 桥接父项与面板，移动鼠标不掉 */
.masthead__menu:hover .masthead__drop, .masthead__menu:focus-within .masthead__drop { display: flex; }
.masthead__nav .masthead__drop a {
  padding: 9px 18px; border-bottom: 0; white-space: nowrap; font-size: 0.9375rem;
}
.masthead__nav .masthead__drop a:hover { background: var(--mist); color: var(--accent-deep); }
.masthead__nav .masthead__drop a[aria-current="page"] { color: var(--accent-deep); }

/* 语言切换：简 / 繁 / EN */
.masthead__lang {
  display: flex; align-items: center; font-size: 0.8125rem; margin-left: 22px;
  padding-left: 22px; border-left: 1px solid var(--rule);
}
.masthead__lang a, .masthead__lang span {
  padding: 6px 7px; color: var(--quiet); border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.masthead__lang a[href]:hover { color: var(--accent-deep); }
.masthead__lang [aria-current="true"] { color: var(--ink-strong); font-weight: 500; border-bottom-color: var(--ink-strong); }
.masthead__lang [aria-disabled="true"] { color: var(--gray); cursor: default; }

/* ---------- 首屏：整图 + 叠加文案 ----------
   进入即是一整张实景。文案叠在图上但仍是真实 HTML 文本（非图片），
   保证 h1、副文案可被抓取。空间本身偏亮，故用深色字 + 柔光遮罩，
   不压暗图片，保住通透感。 */

.hero { position: relative; background: var(--mist); }

.hero__media { position: relative; width: 100%; }
.hero__media img {
  width: 100%;
  /* 填满页眉以下的整屏：第一眼即一整张图，不露出下一区块 */
  height: clamp(460px, calc(100vh - var(--nav-h)), 900px);
  height: clamp(460px, calc(100dvh - var(--nav-h)), 900px);   /* dvh：排除移动端地址栏 */
  object-fit: cover; object-position: 50% 52%; display: block;
}
/* 柔光遮罩：左下最强，右上透明，仅用于抬高文字对比度 */
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 26%,
                            rgba(255,255,255,.28) 52%, rgba(255,255,255,0) 74%),
    linear-gradient(to top, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 34%);
}

.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; pointer-events: none;
}
.hero__overlay .wrap { width: 100%; }
.hero__overlay a { pointer-events: auto; }

.hero__claim {
  font-size: clamp(1.875rem, 4.6vw, 3.5rem); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.22; color: var(--ink-strong);
  max-width: 15em;
}
.hero__sub {
  margin-top: 20px; max-width: 26em; color: var(--ink);
  font-weight: 300; font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}
.hero__meta { margin-top: 20px; font-size: 0.84375rem; color: var(--quiet); }

/* 窄屏：横向遮罩在窄容器里会盖满画面，改为自下而上，文案随之靠下 */
@media (max-width: 780px) {
  .hero__media::after {
    background: linear-gradient(to top,
      rgba(255,255,255,.90) 0%, rgba(255,255,255,.78) 22%,
      rgba(255,255,255,.34) 44%, rgba(255,255,255,.06) 64%,
      rgba(255,255,255,0) 78%);
  }
  .hero__overlay { align-items: flex-end; padding-bottom: clamp(24px,5vw,44px); }
  .hero__claim { max-width: 100%; }
  .hero__sub { margin-top: 14px; max-width: 100%; }
  .hero__meta { margin-top: 14px; }
}

/* ---------- 首屏底图轮播（三张，淡入淡出；文案固定） ----------
   结构：.hero__media > .hero__pic×3。第 1 张 relative 撑高，其余绝对定位叠在上面，只切透明度；
   柔光遮罩挂在每张图自己的 ::after 上（团队那张人物在右，遮罩收窄）。
   无 JS 时只显示第 1 张，控件在 .is-ready 后才出现。 */

.hero__pic {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .9s ease;
}
.hero__pic:first-child { position: relative; }
.hero__pic.is-active { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero__pic { transition: none; } }
.hero--slider .hero__media::after { content: none; }
.hero__pic::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 26%,
                            rgba(255,255,255,.28) 52%, rgba(255,255,255,0) 74%),
    linear-gradient(to top, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 34%);
}
.hero__pic--team::after {
  background:
    linear-gradient(100deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.70) 24%,
                            rgba(255,255,255,.22) 42%, rgba(255,255,255,0) 54%);
}
.hero__pic--team img { object-position: 50% 30%; }

/* 控件：左下角一行 —— ‹ 圆点 › ；避开右侧悬浮栏 */
.hero__ctrl {
  position: absolute; left: var(--gut); bottom: 22px; z-index: 3;
  display: none; align-items: center; gap: 6px;
}
.hero--slider.is-ready .hero__ctrl { display: flex; }
.hero__arrow {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-strong);
  background: rgba(255,255,255,.82); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.hero__arrow svg { width: 18px; height: 18px; }
.hero__arrow:hover { background: var(--paper); border-color: var(--accent-deep); color: var(--accent-deep); }
.hero__arrow:focus-visible, .hero__dot:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.hero__dots { display: flex; align-items: center; gap: 4px; padding: 0 6px; }
.hero__dot {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;   /* 28px 触控区 */
  display: flex; align-items: center; justify-content: center;
}
.hero__dot::before {
  content: ""; display: block; width: 8px; height: 8px; border-radius: 4px;
  background: rgba(30,30,30,.28); transition: width .25s, background .25s;
}
.hero__dot:hover::before { background: rgba(30,30,30,.5); }
.hero__dot[aria-current="true"]::before { width: 22px; background: var(--accent-deep); }

@media (max-width: 780px) {
  /* 窄屏底部被悬浮栏（约 61px）占据：圆点抬到悬浮栏之上，文案再往上让 */
  .hero--slider.is-ready .hero__overlay { padding-bottom: 104px; }
  .hero__ctrl { left: 50%; transform: translateX(-50%); bottom: 66px; }
  .hero__arrow { display: none; }                                    /* 窄屏靠滑动 */
  .hero__dot { width: 32px; height: 32px; }
  .hero__pic::after {
    background: linear-gradient(to top,
      rgba(255,255,255,.90) 0%, rgba(255,255,255,.78) 22%,
      rgba(255,255,255,.34) 44%, rgba(255,255,255,.06) 64%,
      rgba(255,255,255,0) 78%);
  }
  .hero__pic--team::after {
    background: linear-gradient(to top,
      rgba(255,255,255,.92) 0%, rgba(255,255,255,.84) 26%,
      rgba(255,255,255,.40) 46%, rgba(255,255,255,.06) 62%,
      rgba(255,255,255,0) 72%);
  }
  .hero__pic--team img { object-position: 50% 0%; }
}

/* ---------- 分诊台：移到整图之下 ---------- */

.triage { padding-block: clamp(30px, 4.4vw, 52px); }
.triage__hd { padding: 0 0 18px; font-size: 0.875rem; color: var(--gray); letter-spacing: .02em; }
.triage__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.triage__item {
  display: block; padding: 26px 22px 28px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.triage__item:hover {
  border-color: var(--accent); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112,180,188,.13);
}
.triage__q {
  display: block; font-size: clamp(1.125rem,1.9vw,1.3125rem);
  font-weight: 500; letter-spacing: -0.01em; color: var(--ink-strong);
}
.triage__eg { display: block; margin-top: 10px; font-size: 0.84375rem; color: var(--quiet); line-height: 1.7; font-weight: 300; }
.triage__n {
  display: block; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--gray);
}
.triage__n b { color: var(--accent-deep); font-size: 0.9375rem; font-weight: 500; }

/* ---------- 首屏：品牌型文案层级 ---------- */

.hero__brand {
  font-size: 0.8125rem; letter-spacing: .22em; color: var(--quiet);
  margin-bottom: 14px;
}
.hero__place { font-size: clamp(1rem, 1.6vw, 1.1875rem); color: var(--ink); margin-bottom: 10px; font-weight: 300; }
.hero__focus {
  margin-top: 22px; font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); color: var(--ink); font-weight: 300;
}
.hero__focus a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; white-space: nowrap; }
.hero__focus a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }
.hero__focus .sep { margin: 0 .55em; color: var(--rule-strong); }
.hero__cta { margin-top: 26px; }
.hero__cta .btn { background: rgba(255,255,255,.82); }
.hero__cta .btn--fill { background: var(--accent-deep); }

/* ---------- 数据区：官网当前数字 ---------- */

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
}
.stat {
  padding: clamp(22px,3vw,34px) clamp(18px,2.4vw,28px);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
}
.stat--link { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.stat--link:hover { border-color: var(--accent); box-shadow: 0 10px 28px rgba(32,72,78,.1); transform: translateY(-2px); }
.stat--link:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.stat__n {
  font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 500; letter-spacing: -0.03em;
  line-height: 1; color: var(--ink-strong); font-variant-numeric: tabular-nums;
}
.stat__n small { font-size: .42em; font-weight: 400; color: var(--quiet); margin-left: 5px; letter-spacing: 0; }
.stat__k { margin-top: 12px; font-size: 0.9375rem; color: var(--ink); }
.stat__kr { margin-top: 4px; font-size: 0.75rem; color: var(--gray); }
.stats__src { margin-top: 18px; font-size: 0.8125rem; color: var(--gray); max-width: none; }

/* ---------- 核心优势：四点，图文交错 ---------- */

.why { display: grid; gap: clamp(36px, 5vw, 64px); }
.why__item {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.why__item[id] { scroll-margin-top: 96px; }
.why__item:nth-child(even) .why__fig { order: 2; }
.why__fig { position: relative; }
.why__fig img { width: 100%; border-radius: var(--r-md); }
.why__k { font-size: 0.8125rem; color: var(--accent-deep); margin-bottom: 10px; }
.why__t { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 500; letter-spacing: -0.015em; color: var(--ink-strong); }
.why__p { margin-top: 14px; }
.why__list { margin-top: 14px; font-size: 0.9375rem; line-height: 1.9; font-weight: 300; }
.why__list li { padding-left: 1.1em; text-indent: -1.1em; }
.why__list li::before { content: "· "; color: var(--accent); }

/* 设备占位板：无实拍时用 */
.equip-ph {
  aspect-ratio: 4/3; border: 1px dashed var(--rule-strong); border-radius: var(--r-md);
  background: var(--mist-warm); display: grid; place-items: center;
  color: var(--gray); font-size: 0.875rem; text-align: center; padding: 20px;
}
.equip {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px;
}
.equip__i {
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  font-size: 0.875rem; background: var(--paper);
}
.equip__i b { display: block; font-weight: 500; color: var(--ink-strong); }
.equip__i span { color: var(--quiet); font-size: 0.8125rem; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2,1fr); }
  .why__item { grid-template-columns: 1fr; }
  .why__item:nth-child(even) .why__fig { order: 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 14px; }
  .equip { grid-template-columns: 1fr; }
  .hero__focus .sep { margin: 0 .35em; }
}

/* ---------- 资讯：列表与文章 ---------- */

.news-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.news-item {
  display: grid; grid-template-columns: 7.5em 1fr; gap: clamp(16px,3vw,36px);
  padding: clamp(22px,3vw,30px) 0; border-bottom: 1px solid var(--rule);
  align-items: start;
}
.news-item:hover .news-item__t { color: var(--accent-deep); }
.news-item__meta { font-size: 0.8125rem; color: var(--gray); line-height: 1.7; }
.news-item__meta time { display: block; color: var(--quiet); font-variant-numeric: tabular-nums; }
.news-item__t { font-size: clamp(1.0625rem,1.8vw,1.25rem); font-weight: 500; color: var(--ink-strong); letter-spacing: -0.01em; transition: color .2s; }
.news-item__d { margin-top: 8px; font-size: 0.9375rem; color: var(--quiet); font-weight: 300; max-width: var(--measure); }

.tag {
  display: inline-block; padding: 2px 9px; border-radius: var(--r-sm);
  font-size: 0.75rem; background: var(--mist-warm); color: var(--quiet);
}
.tag--news { background: rgba(var(--mark), .22); color: var(--accent-deep); }

/* 文章正文 */
.article { max-width: none; }   /* 2026-09-14 客户要求：标题与正文撑满内容区（与项目页同宽），不再限 42em */
.article__lede, .article__src { max-width: none; }
.article__meta { font-size: 0.875rem; color: var(--gray); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.article__meta time { color: var(--quiet); }
.article h1 { margin-top: 14px; font-size: clamp(1.5rem,3vw,2.125rem); line-height: 1.32; }
.article__lede { margin-top: 18px; font-size: clamp(1rem,1.6vw,1.125rem); color: var(--ink); font-weight: 300; line-height: 1.8; }
.article__fig { margin: 26px 0; }
.article__fig img { width: 100%; border-radius: var(--r-md); }
.article__fig figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--gray); }
.article__body { margin-top: 24px; }
.article__body p { font-size: 1rem; line-height: 1.9; font-weight: 300; max-width: none; }
.article__body h2 { font-size: clamp(1.1875rem,2vw,1.375rem); margin: 30px 0 12px; }
.article__body ul { padding-left: 1.2em; font-weight: 300; line-height: 1.9; }
.article__src {
  margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-size: 0.8125rem; color: var(--gray); line-height: 1.8;
}
.article__src a { color: var(--quiet); border-bottom: 1px solid var(--rule-strong); }

@media (max-width: 560px) {
  .news-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- 通用漂浮组件 ----------
   图标、二维码、链接和文案均来自后台，没有平台专属样式。 */
.qbar {
  position: fixed; right: 0; top: 0; bottom: 0; margin: auto 0; height: max-content; max-height: calc(100vh - 24px); z-index: 30;
  width: 58px; padding: 8px 0; background: var(--paper);
  border: 1px solid var(--rule); border-right: 0; border-radius: 29px 0 0 29px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.qbar:empty { display: none; }
.qbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.qbar__item { position: relative; }
.qbar__item::before { content:""; position:absolute; top:0; left:-10px; width:10px; height:46px; }
.qbar__control { display: flex; align-items: center; justify-content: center; }
.qbar__trigger {
  display: flex; align-items: center; justify-content: center; width: 58px; height: 46px;
  padding: 0; border: 0; background: transparent; cursor: pointer; line-height: 0;
}
.qbar__trigger:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: -4px; border-radius: 50%; }
.qbar__icon {
  display: block; width: 36px; height: 36px; padding: 0; box-sizing: border-box;
  border-radius: 50%; object-fit: contain; background: #fff;
  transition: transform 200ms ease, filter 200ms ease;
}
.qbar__trigger:hover .qbar__icon { transform: scale(1.1); filter: brightness(.96); }
.qbar__card {
  position: fixed; z-index: 32; right: 66px; top: var(--qbar-card-y,50%);
  width: 196px; max-width: calc(100vw - 90px); max-height: calc(100vh - 24px); overflow-x:hidden; overflow-y:auto;
  padding: 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: 0 6px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(10px,-50%); transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}
.qbar__card-image { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; border-radius:var(--r-sm); background:#fff; }
.qbar__card-title { display:block; margin-top:10px; color:var(--ink-strong); font-size:.9375rem; text-align:center; }
.qbar__card p { margin:6px 0 0; color:var(--quiet); font-size:.75rem; line-height:1.5; text-align:center; overflow-wrap:anywhere; }
@media (hover:hover) and (pointer:fine) {
  .qbar__item:hover .qbar__card, .qbar__item:focus-within .qbar__card {
    opacity:1; visibility:visible; pointer-events:auto; transform:translate(0,-50%);
    transition:opacity 200ms ease, transform 200ms ease, visibility 0s;
  }
}
.qbar__backdrop { display:none; }

@media (min-width:781px) and (max-height:600px) {
  .qbar__trigger { height:40px; }
  .qbar__icon { width:32px; height:32px; }
}

@media (max-width:780px), (hover:none) and (pointer:coarse) {
  .qbar {
    top:auto; bottom:0; left:0; right:0; margin:0; height:auto; max-height:none; width:auto; max-width:100vw;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom)); border:0; border-top:1px solid var(--rule);
    border-radius:0; box-shadow:0 -2px 12px rgba(0,0,0,.08); overflow:hidden;
  }
  .qbar ul { flex-direction:row; gap:0; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
  .qbar__item { flex:0 0 52px; }
  .qbar__trigger { width:52px; height:44px; }
  .qbar__icon { width:34px; height:34px; }
  .qbar__card {
    position:fixed; left:50%; right:auto; top:auto; bottom:calc(68px + env(safe-area-inset-bottom));
    width:min(280px,calc(100vw - 32px)); max-width:calc(100vw - 32px); max-height:calc(100vh - 100px);
    transform:translate(-50%,10px); z-index:42;
  }
  .qbar__item.is-open .qbar__card {
    opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,0);
    transition:opacity 200ms ease, transform 200ms ease, visibility 0s;
  }
  .qbar__backdrop {
    position:fixed; inset:0; z-index:29; display:block; width:100%; height:100%; margin:0; padding:0;
    border:0; background:rgba(1,0,15,.34); cursor:pointer;
  }
  .qbar__backdrop[hidden] { display:none; }
  body.qbar-modal-open { overflow:hidden; }
}

/* ---------- 项目中心：五分类卡 ---------- */

.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hub__card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 24px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hub__card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(112,180,188,.13); }
.hub__name { font-size: clamp(1.1875rem,1.9vw,1.375rem); font-weight: 500; letter-spacing: -0.01em; color: var(--ink-strong); }
.hub__for { font-size: 0.875rem; color: var(--accent-deep); }
.hub__items { font-size: 0.875rem; color: var(--quiet); line-height: 1.7; font-weight: 300; }
.hub__note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--gray); line-height: 1.6; }
.hub__card:nth-child(4), .hub__card:nth-child(5) { grid-column: span 1; }

/* ---------- 来院指南：预约渠道 / 步骤 / FAQ ---------- */

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.way {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; min-height: 76px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
a.way:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(112,180,188,.11); }
.way > div { display: flex; flex-direction: column; gap: 3px; }
.way__n { font-weight: 500; color: var(--ink-strong); }
.way__d { font-size: 0.84375rem; color: var(--quiet); line-height: 1.6; font-weight: 300; }
a.way, .way--text { flex-direction: column; align-items: flex-start; gap: 4px; }
.way--text a { color: var(--accent-deep); }
.way--qr { grid-row: span 2; flex-direction: column; align-items: stretch; text-align: center; }
.way--qr img { width: min(100%, 220px); margin: 0 auto 6px; border-radius: var(--r-sm); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; max-width: 760px; }
.steps li {
  counter-increment: step; position: relative; padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--rule); font-weight: 300; line-height: 1.8;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 18px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent);
  color: var(--accent-deep); font-size: 0.9375rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.steps li b { display: block; font-weight: 500; color: var(--ink-strong); margin-bottom: 2px; }

.faq { max-width: 760px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 500; color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--quiet); border-bottom: 1.5px solid var(--quiet);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 20px; max-width: none; font-weight: 300; color: var(--quiet); }

/* ---------- 案例 ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills a {
  padding: 8px 16px; border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
  font-size: 0.875rem; color: var(--quiet); transition: border-color .2s, color .2s;
}
.pills a:hover { border-color: var(--accent); color: var(--accent-deep); }
.hd__n { margin-left: 10px; font-size: 0.55em; font-weight: 400; color: var(--accent-deep); vertical-align: middle; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case { margin: 0; }
.case__fig {
  aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; background: var(--mist-warm);
  display: flex; align-items: center; justify-content: center;
}
.case__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__ph { font-size: 0.8125rem; color: var(--gray); border: 1px dashed var(--rule-strong); padding: 6px 12px; border-radius: var(--r-sm); }
.case figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.case__t { font-weight: 500; color: var(--ink-strong); font-size: 0.9375rem; }
.case__m { font-size: 0.78125rem; color: var(--gray); white-space: nowrap; }

@media (max-width: 980px) {
  .hub { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hub, .ways, .cases { grid-template-columns: 1fr; }
  .way--qr { grid-row: auto; }
}

/* ---------- 预约表单 ---------- */

.book { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: clamp(20px, 3vw, 32px); position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form__f { display: flex; flex-direction: column; gap: 7px; font-size: 0.875rem; color: var(--quiet); }
.form__f--wide { grid-column: 1 / -1; }
.form input:not([type="checkbox"]), .form select {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);   /* ≥16px：iOS 聚焦不缩放 */
  border: 1px solid var(--rule-strong); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F5F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.form input::placeholder { color: var(--rule-strong); }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(112,180,188,.18); }
.form input:user-invalid, .form select:user-invalid { border-color: #C0504D; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* 蜜罐：人看不见 */
.form__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.8125rem; color: var(--quiet); line-height: 1.7; font-weight: 300; }
.form__consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--accent-deep); }
.form__consent a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }
.form__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.form__act .btn { cursor: pointer; font: inherit; font-size: 0.9375rem; }
.form__note { font-size: 0.8125rem; color: var(--gray); font-weight: 300; }
.form__done { margin-top: 22px; padding: 18px 20px; border-radius: var(--r-md); background: rgba(112,180,188,.10); border-left: 3px solid var(--accent); outline: none; }
.form__done p { max-width: none; margin: 0; font-size: 0.9375rem; font-weight: 300; color: var(--ink); }
.form__done-h { font-weight: 500 !important; color: var(--ink-strong) !important; margin-bottom: 6px !important; }
.form.is-done .form__grid, .form.is-done .form__act { display: none; }

.book__side { display: grid; gap: 14px; }
.book__qr { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); }
.book__qr img { width: 112px; height: 112px; border-radius: var(--r-sm); flex: 0 0 auto; }
.book__qr p { margin: 0; font-size: 0.9375rem; line-height: 1.7; color: var(--ink); }
.book__other { margin: 8px 0 0; font-size: 0.8125rem; color: var(--gray); letter-spacing: .02em; }
.ways--stack { grid-template-columns: 1fr; gap: 8px; }
.ways--stack .way { min-height: 0; padding: 12px 16px; }

@media (max-width: 980px) {
  .book { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__f--wide { grid-column: auto; }
}

/* ---------- 区块头 ---------- */

.hd { margin-bottom: clamp(26px,3.4vw,40px); }
.hd h2 + p { margin-top: 12px; color: var(--quiet); font-weight: 300; }

/* ---------- 表格 ---------- */

.tbl-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  /* 可横滚时两侧出现阴影，滚到尽头自动消失；background-attachment 的 local/scroll 组合实现 */
  background:
    linear-gradient(to right, var(--paper) 30%, rgba(255,255,255,0)) 0 0,
    linear-gradient(to left,  var(--paper) 30%, rgba(255,255,255,0)) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(1,0,15,.16), rgba(1,0,15,0)) 0 0,
    radial-gradient(farthest-side at 100% 50%, rgba(1,0,15,.16), rgba(1,0,15,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 44px 100%, 44px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}
table.data {
  width: 100%; border-collapse: collapse; font-size: 0.9375rem;
  font-variant-numeric: tabular-nums; background: var(--paper);
  border-radius: var(--r-md); overflow: hidden;
}
table.data--wide { min-width: 620px; }
table.data caption {
  text-align: left; padding-bottom: 14px; font-size: 0.84375rem; color: var(--gray);
}
table.data th, table.data td {
  padding: 15px 18px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--rule); font-weight: 300;
}
table.data thead th {
  background: var(--mist-warm); color: var(--ink-strong);
  font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--rule-strong);
}
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(112,180,188,.05); }
table.data td.price { white-space: nowrap; font-weight: 500; color: var(--accent-deep); }
table.data td.unit { color: var(--gray); white-space: nowrap; }
table.data th[scope="row"] { font-weight: 400; color: var(--ink-strong); padding-right: 24px; }

/* ---------- 摘要表 ---------- */

.spec {
  font-size: 0.9375rem; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden;
}
.spec__row { display: flex; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--rule); }
.spec__row:last-child { border-bottom: 0; }
.spec__k { flex: 0 0 6.5em; color: var(--gray); font-weight: 300; }
.spec__v { flex: 1; font-weight: 300; }
.spec__v .num { font-size: 1.0625rem; }

/* ---------- 两栏 ---------- */

.split { display: grid; grid-template-columns: 296px 1fr; gap: clamp(28px,5vw,64px); align-items: start; }
.split__aside { position: sticky; top: 92px; }

.stack > * + * { margin-top: clamp(30px,4.4vw,48px); }

/* ---------- 链接列表 ---------- */

.linklist { display: grid; gap: 10px; }
.linklist a {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: baseline;
  padding: 18px 20px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.linklist a:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(112,180,188,.11); }
.linklist .t { font-weight: 500; color: var(--ink-strong); }
.linklist .d { color: var(--quiet); font-size: 0.84375rem; grid-column: 1/-1; margin-top: 4px; max-width: var(--measure); font-weight: 300; }
.linklist .p { color: var(--accent-deep); font-weight: 500; white-space: nowrap; }

/* ---------- 医生 ---------- */

.docs { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,34px); }
.doc__ph { background: var(--mist-warm); aspect-ratio: 700/728; border-radius: var(--r-md); overflow: hidden; }
.doc__ph img { width: 100%; height: 100%; object-fit: cover; }
.doc__ph--empty {
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--rule-strong); color: var(--gray); font-size: 0.875rem;
}
.doc__nm { margin-top: 18px; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-strong); }
.doc__ti { margin-top: 5px; font-size: 0.84375rem; color: var(--accent-deep); }
.doc__cv { margin-top: 14px; font-size: 0.84375rem; line-height: 1.9; color: var(--quiet); font-weight: 300; }
.doc__cv li { margin-bottom: 2px; }
ul.bare { list-style: none; padding: 0; margin: 0; }

/* 官方认证头衔标签（客观资质，非主观宣传） */
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cred {
  display: inline-block; padding: 6px 13px;
  border: 1px solid var(--accent); border-radius: var(--r-pill);
  background: rgba(112,180,188,.07);
  font-size: 0.78125rem; line-height: 1.5; color: var(--accent-deep); font-weight: 400;
}
.cred b { font-weight: 500; }

/* 重点医生：横向展开，照片更大 */
.doc--feature {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px,3vw,36px);
  align-items: start;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: clamp(20px,2.6vw,30px);
}
.doc--feature .doc__ph { aspect-ratio: 700/728; }
.doc--feature .doc__nm { margin-top: 0; font-size: 1.5rem; }
@media (max-width: 780px) {
  .doc--feature { grid-template-columns: 1fr; }
}

/* ---------- 理念：大字排版 ---------- */

.creed { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,5vw,68px); align-items: center; }
.creed__lines { display: grid; gap: clamp(14px,2vw,22px); }
.creed__line {
  font-size: clamp(1.5rem,3.4vw,2.5rem); font-weight: 300; line-height: 1.3;
  letter-spacing: -0.02em; color: var(--ink-strong);
  padding-bottom: clamp(14px,2vw,22px); border-bottom: 1px solid var(--rule);
}
.creed__line:last-child { border-bottom: 0; }
.creed__line b { font-weight: 500; }
.creed__line em {
  font-style: normal; display: block; margin-top: 8px;
  font-size: 0.875rem; font-weight: 300; color: var(--quiet); letter-spacing: 0;
}
.creed__fig img { width: 100%; border-radius: var(--r-md); }

/* ---------- 院长焦点 ---------- */

.focus {
  display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  gap: clamp(26px,4.5vw,60px); align-items: center;
}
.focus__fig { position: relative; }
.focus__fig img { width: 100%; border-radius: var(--r-md); }
.focus__eyebrow { font-size: 0.875rem; color: var(--accent-deep); margin-bottom: 14px; }
.focus__name {
  font-size: clamp(1.875rem,4vw,2.75rem); font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink-strong); line-height: 1.2;
}
.focus__role { margin-top: 8px; font-size: 0.9375rem; color: var(--quiet); }
.focus__body { margin-top: 20px; }

/* 认证：焦点区里用更大的版本 */
.creds--lg .cred { padding: 10px 18px; font-size: 0.875rem; }

/* ---------- 图集：错落尺度 ---------- */

.gal.gal--mixed, .gal--mixed {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: clamp(8px,1.2vw,14px);
}
.gal--mixed figure { margin: 0; }
.gal--mixed img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); display: block; }
.gal--mixed .g-lg { grid-column: span 3; grid-row: span 2; }
.gal--mixed .g-md { grid-column: span 3; }
.gal--mixed .g-sm { grid-column: span 2; }
.gal--mixed .g-lg img { aspect-ratio: 3/4; }
.gal--mixed .g-md img { aspect-ratio: 16/10; }
.gal--mixed .g-sm img { aspect-ratio: 1/1; }

/* ---------- 全宽图条 ---------- */

.strip { position: relative; }
.strip img { width: 100%; max-height: 380px; object-fit: cover; display: block; }

/* ---------- 数据条 ---------- */

.facts {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: clamp(14px,2.4vw,32px);
}
.fact { border-top: 2px solid var(--accent); padding-top: 16px; }
.fact__n {
  font-size: clamp(1.625rem,3.4vw,2.375rem); font-weight: 500; color: var(--ink-strong);
  letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.fact__n small { font-size: .5em; font-weight: 400; color: var(--quiet); margin-left: 4px; }
.fact__k { margin-top: 10px; font-size: 0.84375rem; color: var(--quiet); line-height: 1.6; }

@media (max-width: 900px) {
  .creed { grid-template-columns: 1fr; }
  .creed__fig { display: none; }
  .focus { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2,1fr); }
  .gal.gal--mixed, .gal--mixed { grid-template-columns: repeat(4,1fr); }
  .gal--mixed .g-lg { grid-column: span 4; grid-row: auto; }
  .gal--mixed .g-lg img { aspect-ratio: 16/10; }
  .gal--mixed .g-md { grid-column: span 2; }
  .gal--mixed .g-sm { grid-column: span 2; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .gal.gal--mixed, .gal--mixed { grid-template-columns: repeat(2,1fr); }
  .gal--mixed .g-lg, .gal--mixed .g-md, .gal--mixed .g-sm { grid-column: span 2; }
}

/* ---------- 图集 ---------- */

.gal { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gal img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-md); }
.gal figure { margin: 0; }
.gal figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--gray); }

/* ---------- 占位符 ---------- */

.ph {
  display: inline-block; padding: 2px 10px;
  border: 1px dashed var(--rule-strong); border-radius: var(--r-sm);
  color: var(--quiet); font-size: 0.8125rem; background: var(--mist-warm);
  font-variant-numeric: normal;
}
.ph--block { display: block; padding: 15px 18px; margin: 14px 0; max-width: var(--measure); line-height: 1.75; }

/* ---------- 提示 ---------- */

.note {
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--mist-warm); color: var(--quiet);
  font-size: 0.875rem; line-height: 1.8; max-width: var(--measure); font-weight: 300;
}
.band--mist .note { background: var(--paper); border: 1px solid var(--rule); }   /* 浅灰底上的提示块改白底描边，否则看不出来 */
.note--signal {
  background: rgba(var(--mark), .12);
  border-left: 2px solid var(--accent);
}

/* ---------- 按钮 ---------- */

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-block; padding: 12px 28px;
  border: 1px solid var(--rule-strong); border-radius: var(--r-pill);
  font-size: 0.9375rem; font-weight: 400; transition: all .2s;
}
.btn:hover { border-color: var(--accent); color: var(--accent-deep); background: rgba(112,180,188,.06); }
.btn--fill { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--fill:hover { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; }

/* ---------- 面包屑 ---------- */

.crumb { font-size: 0.8125rem; color: var(--gray); padding-block: 20px; }
.crumb a:hover { color: var(--accent-deep); }
.crumb span { margin: 0 8px; }

/* ---------- 页脚 ---------- */

.foot { border-top: 1px solid var(--rule); background: var(--mist); }
.foot__in {
  max-width: var(--max); margin: 0 auto; padding: clamp(44px,6vw,72px) var(--gut);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px,4vw,48px);
}
.foot h4 { font-size: 0.875rem; font-weight: 500; margin-bottom: 15px; }
.foot ul { font-size: 0.875rem; line-height: 1.6; font-weight: 300; }
.foot a { color: var(--quiet); }
/* 触控目标：行内链接实测仅 17px 高，需撑到 ≥28px */
.foot ul a { display: inline-block; padding: 6px 0; }
.foot a:hover { color: var(--accent-deep); }
.foot__legal {
  border-top: 1px solid var(--rule);
  padding: 22px var(--gut); font-size: 0.78125rem; color: var(--gray);
  max-width: var(--max); margin: 0 auto; line-height: 2; font-weight: 300;
}

/* ---------- 响应式 ---------- */

@media (max-width: 780px) {
  /* 底部悬浮横条（.qbar）会遮住页脚末尾，给页脚留出空间；放在 .foot__legal 定义之后以确保生效 */
  .foot__legal { padding-bottom: calc(22px + 64px + env(safe-area-inset-bottom)); }
}

@media (max-width: 980px) {
  :root { --nav-h: 112px; }
  .hero__media img {
    height: clamp(430px, calc(100vh - var(--nav-h)), 760px);
    height: clamp(430px, calc(100dvh - var(--nav-h)), 760px);
    object-position: 58% 50%;
  }
  .hero__claim { max-width: 11em; }
  .triage__grid { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .docs { grid-template-columns: repeat(2,1fr); }
  .gal { grid-template-columns: repeat(2,1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --nav-h: 136px; }        /* 窄屏页眉实测值（2026-09-15 导航重排后）；改动页眉结构或字号后需重测 */
  .triage__grid { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .masthead__in { padding-block: 12px; gap: 10px; }
  .masthead__logo img { width: 158px; }
  /* 导航单行横向滚动：7 个入口全部保留，但只占一行高度 */
  .masthead__nav {
    width: 100%; margin-left: 0; gap: 18px; font-size: 0.875rem;
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .masthead__nav::-webkit-scrollbar { display: none; }
  .masthead__nav a, .masthead__menu { flex: 0 0 auto; white-space: nowrap; }
  .masthead__drop { display: none !important; }      /* 窄屏无下拉：点「项目中心」进总览页 */
  .masthead__chev { display: none; }
  /* 语言切换与 logo 同行靠右；导航独占一行横滚 */
  .masthead__lang { order: 2; margin-left: auto; padding-left: 0; border-left: 0; }
  .masthead__lang a, .masthead__lang span { padding: 12px 8px; }
  .masthead__nav { order: 3; }
  /* 触控目标 44pt：窄屏加大导航与页脚链接的可点区域 */
  .masthead__nav a { padding: 12px 0; }
  .foot ul a { padding: 11px 0; }
  .foot__in { grid-template-columns: 1fr; }
  table.data th, table.data td { padding: 13px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
/* 单文件演示版：页面切换 */
.page[hidden]{display:none !important}
/* 锚点定位时为 sticky 页眉留出高度 */
[id]{scroll-margin-top:calc(var(--nav-h) + 12px)}
