/* ==========================================================================
   {{ORG_FULL_NAME}} · 官网样式表
   品牌色取自集团 LOGO：#0C5484（主蓝） / #F0C018（点缀金）
   纯静态站，无外部依赖，无字体 CDN
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --navy:      #0C5484;
  --navy-900:  #05293F;
  --navy-800:  #073453;
  --navy-700:  #0A4670;
  --navy-600:  #0C5484;
  --navy-500:  #1470AC;
  --navy-300:  #7FB2D4;
  --navy-100:  #DCEAF5;
  --navy-50:   #F2F8FC;

  --gold:      #F0C018;
  --gold-700:  #B98A0A;
  --gold-100:  #FDF4D8;

  --ink:       #12212E;
  --ink-2:     #46596A;
  --ink-3:     #7C8C99;
  --ink-inv:   #FFFFFF;

  --line:      #E3EBF2;
  --line-2:    #EEF4F9;
  --bg:        #FFFFFF;
  --bg-alt:    #F6F9FC;

  --ok:        #1F8A5F;
  --warn:      #C8721A;

  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;

  --sh-1: 0 1px 2px rgba(12,84,132,.06), 0 2px 8px rgba(12,84,132,.05);
  --sh-2: 0 2px 6px rgba(12,84,132,.07), 0 12px 32px rgba(12,84,132,.09);
  --sh-3: 0 18px 48px rgba(5,41,63,.16);

  --wrap: 1200px;
  --gut: 24px;
  --hdr-h: 76px;

  /* 首页 Banner 轮播尺寸：--banner-h = 最小高度（高度本身由文案撑开，任何宽度下都不会裁字）；
     --banner-pad = 内容上下留白，想整体更高/更矮就调它，不用改结构。 */
  --banner-h: clamp(420px, 40vw, 620px);
  --banner-pad: 48px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
          "WenQuanYi Micro Hei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--navy-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy-900); }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; color: var(--navy-900); }
p { margin: 0; }

::selection { background: var(--navy-600); color: #fff; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. 顶部急诊提示条 ---------- */
.notice {
  background: var(--navy-900);
  color: #D3E4F2;
  font-size: 13.5px;
  line-height: 1.6;
}
.notice .wrap { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.notice svg { flex: 0 0 auto; }
.notice b { color: #fff; font-weight: 600; }
.notice .notice-close {
  margin-left: auto; flex: 0 0 auto; background: none; border: 0; cursor: pointer;
  color: #8FB4CF; font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 4px;
}
.notice .notice-close:hover { color: #fff; background: rgba(255,255,255,.12); }
.notice.is-hidden { display: none; }

/* ---------- 4. 页头 ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .22s ease;
}
.hdr.is-stuck { box-shadow: 0 4px 20px rgba(12,84,132,.10); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--hdr-h); }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 48px; width: auto; }
.brand:hover { opacity: .88; }

.nav { margin-left: 0; min-width: 0; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
/* 主导航共 9 项（首页 / 新闻资讯 / 诊疗项目 / 医生团队 / 常见问题 / 到院指引 / 关于我们 / VR全景 / 智能客服）。
   ★ 宽度是硬约束：容器固定 1200px（内容 1152px），页头里「品牌 120 + 导航 + 右侧电话与按钮 272」必须塞得下。
   实测（embed_probe.py，@1440）导航内容需 774px、可用仅 711px —— 溢出 63px，会把「智能客服」压到电话按钮上。
   因此内边距与外层间距各收一档（条目文字 15px 字号保持不动，只挤空白），改完实测余量约 18px。
   若日后要再加导航项（每项约 84px），先跑 embed_probe.py 看余量，别直接加。
   再窄就整体收进汉堡菜单（见第 17 节，收起断点 1280px）。 */
.nav a {
  display: block; padding: 9px 9px; border-radius: 8px;
  color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { color: var(--navy-700); background: var(--navy-50); }
.nav a[aria-current="page"] { color: var(--navy-700); font-weight: 700; background: var(--navy-50); }

.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
/* 页头里的主按钮比通用按钮收窄 4px/侧：导航 9 项后页头横向余量只剩十几像素，这里让一点出来 */
.hdr-act .btn { padding: 12px 20px; }
.hdr-tel { display: flex; align-items: center; gap: 9px; color: var(--navy-800); }
.hdr-tel svg { color: var(--navy-500); }
.hdr-tel .t-lbl { display: block; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); letter-spacing: .04em; }
.hdr-tel .t-num { display: block; font-family: var(--font-num); font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.hdr-tel:hover .t-num { color: var(--navy-500); }

.burger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--navy-800);
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: all .18s ease;
}
.btn-primary { background: var(--navy-600); color: #fff; box-shadow: 0 6px 18px rgba(12,84,132,.24); }
.btn-primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(12,84,132,.30); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 6px 18px rgba(240,192,24,.28); }
.btn-gold:hover { background: #F7CF45; color: var(--navy-900); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-300); background: var(--navy-50); color: var(--navy-900); }
.btn-outline-inv { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-inv:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 16.5px; }

/* ---------- 5. 通用区块 ---------- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-navy { background: var(--navy-900); color: #C9DCEC; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-tight { padding: 64px 0; }

.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.sec-head.center .eyebrow::before { display: none; }
.sec-navy .eyebrow { color: var(--gold); }

.sec-head h2 { font-size: clamp(26px, 3.1vw, 40px); }
.sec-head p { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); line-height: 1.85; }
.sec-navy .sec-head p { color: #A8C6DC; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

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

/* ---------- 6. 首页 Banner 轮播 ----------
   · 数量自定义：在 index.html 里复制 / 删除一段 <article class="banner-slide">…</article> 即可，
     圆点数量、自动播放进度会自动跟随（脚本按 DOM 中实际的 slide 数量初始化）。
   · 尺寸自定义：改 :root 里的 --banner-h（最小高度）与 --banner-pad（上下留白）。宽度恒为满屏。
   · 自动播放：改 <section class="banner" data-autoplay="6000"> 的毫秒数；写 0 则关闭自动播放。
   · 换成实拍图：给 slide 加 style="--slide-img:url(assets/img/xxx.jpg)"；不配图就用品牌渐变。 */

.banner { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
/* 所有 slide 叠在网格的同一格里：容器高度自动取最高的一张，
   所以任何宽度下文案都不会被固定高度裁掉，切片之间也不会出现高度跳动。 */
.banner-viewport { position: relative; display: grid; min-height: var(--banner-h); }

/* 品牌网格底纹：固定在轮播之上、控件之下，不随轮播切换 */
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 20%, transparent 78%);
}
/* 品牌水印：写在每张 slide 内部（位于文案之下、slide 底色之上），所以会跟着切换 */
.banner-mark {
  position: absolute; right: 3%; top: 50%; transform: translateY(-50%); z-index: 1;
  width: min(44vw, 600px); height: auto; opacity: .13;
  pointer-events: none; user-select: none;
}

/* 单张 slide：叠层淡入 + 轻微位移切换 */
.banner-slide {
  grid-area: 1 / 1;
  position: relative; z-index: 2;
  display: grid; align-items: center;
  background-color: var(--navy-800);
  background-image:
    radial-gradient(780px 540px at 88% 10%, var(--slide-glow, rgba(20,112,172,.50)) 0%, rgba(20,112,172,0) 64%),
    radial-gradient(640px 480px at 4% 94%, rgba(240,192,24,.15) 0%, rgba(240,192,24,0) 62%),
    linear-gradient(150deg, #05293F 0%, #0A4670 52%, #0C5484 100%);
  opacity: 0; visibility: hidden; transform: translateX(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1), visibility 0s linear .7s;
}
.banner-slide[data-bg="centers"] { --slide-glow: rgba(14,150,178,.44); }
.banner-slide[data-bg="doctor"]  { --slide-glow: rgba(30,124,196,.46); }
.banner-slide[data-bg="visit"]   { --slide-glow: rgba(240,192,24,.18); }
.banner-slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .7s cubic-bezier(.22,.61,.36,1) .04s, transform .7s cubic-bezier(.22,.61,.36,1) .04s, visibility 0s;
}
/* 可选配图层：不写 --slide-img 时该层为空，不影响外观 */
.banner-slide::before {
  content: ""; position: absolute; inset: 0;
  background: var(--slide-img, none) center / cover no-repeat;
  opacity: .34;
}
.banner-slide > .wrap { position: relative; z-index: 2; }
.banner-inner {
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: 52px; align-items: center;
  padding: var(--banner-pad) 0 calc(var(--banner-pad) + 26px);
}

/* slide 文案 */
.banner-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  font-size: 13.5px; color: #DCEAF5;
}
.banner-tag.plain { padding: 7px 16px; }
.banner-tag b {
  background: var(--gold); color: var(--navy-900);
  padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
}
.banner-title { color: #fff; font-size: clamp(28px, 3.5vw, 46px); line-height: 1.24; letter-spacing: -.02em; }
.banner-slide h1.banner-title { font-size: clamp(30px, 4vw, 52px); }
.banner-title em { font-style: normal; color: var(--gold); }
.banner-sub { margin-top: 20px; font-size: 17px; line-height: 1.9; color: #BFD7E9; max-width: 640px; }
.banner-acts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.banner-note { margin-top: 20px; font-size: 13.5px; color: #93B6CF; display: flex; align-items: center; gap: 8px; }

/* slide 右侧概览面板 */
.banner-aside {
  position: relative;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-lg); padding: 24px 26px 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--sh-3);
}
.banner-aside h3 {
  font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.banner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.banner-list li {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px; color: #C4DAEB;
}
.banner-list li:last-child { border-bottom: 0; padding-bottom: 2px; }
.banner-list .k { font-family: var(--font-num); font-size: 19px; font-weight: 700; color: #fff; min-width: 90px; letter-spacing: .01em; }
.banner-list .k small { font-size: 12px; font-weight: 500; color: #9CBEDA; margin-left: 3px; }
/* 文字型键值（如联系方式）：键用正文字体小号，避免中文标签比内容还重 */
.banner-list.text .k { font-family: var(--font); font-size: 14.5px; font-weight: 600; color: #A8C6DC; min-width: 76px; letter-spacing: 0; }
.banner-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.banner-chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #DCEAF5;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
}

/* 控件：左右箭头 / 圆点 / 自动播放进度条 */
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(5,41,63,.42); border: 1px solid rgba(255,255,255,.30); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.banner-arrow:hover { background: var(--navy-600); border-color: var(--navy-600); transform: translateY(-50%) scale(1.06); }
.banner-arrow.prev { left: 18px; }
.banner-arrow.next { right: 18px; }

.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 6;
  display: flex; justify-content: center; align-items: center; gap: 9px;
}
.banner-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.5);
  transition: width .22s ease, background .22s ease, border-color .22s ease;
}
.banner-dot:hover { background: rgba(255,255,255,.72); }
.banner-dot[aria-selected="true"] { width: 26px; border-radius: 999px; background: var(--gold); border-color: var(--gold); }

.banner-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 6; background: rgba(255,255,255,.12); }
.banner-progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.banner-progress i.run { animation: bannerBar var(--banner-ms, 6000ms) linear forwards; }
.banner.is-paused .banner-progress i { animation-play-state: paused; }
@keyframes bannerBar { from { width: 0; } to { width: 100%; } }

/* 轮播下方的四大中心数据条（常驻，不随轮播切换） */
.banner-stats { position: relative; z-index: 4; background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.14); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 2;
}
.stats > div {
  padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.16); text-align: center;
}
.stats > div:last-child { border-right: 0; }
.stats .n { font-family: var(--font-num); font-size: clamp(23px, 2.6vw, 34px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.01em; }
.stats .n small { display: block; margin: 4px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold); }
.stats .l { margin-top: 7px; font-size: 13.5px; color: #A8C6DC; letter-spacing: .02em; word-break: keep-all; overflow-wrap: normal; }

/* 医院概览条（原主视觉内的概览卡，移到品牌沿革区常驻显示） */
.overview {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 40px; box-shadow: var(--sh-1);
}
.overview > div { background: #fff; padding: 24px 22px; }
.overview .k { font-family: var(--font-num); font-size: 29px; font-weight: 700; color: var(--navy-700); line-height: 1.1; letter-spacing: -.01em; }
.overview .k small { font-size: 13px; font-weight: 600; color: var(--navy-500); margin-left: 3px; }
.overview .l { margin-top: 7px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

/* ---------- 7. 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--navy-300); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.8px; color: var(--ink-2); line-height: 1.8; }
.card .more { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--navy-600); display: inline-flex; align-items: center; gap: 6px; }
.card:hover .more { gap: 10px; }

.card-ico {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-50); color: var(--navy-600); flex: 0 0 auto;
}
.card--accent .card-ico { background: var(--gold-100); color: var(--gold-700); }
.card-strip { position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); opacity: 0; transition: opacity .2s; }
.card:hover .card-strip { opacity: 1; }

/* 同行卡片高度一致时，把价格标签/行动链接压到卡片底部，避免参差不齐 */
.card > p:last-child:has(.tag-gold) { margin-top: auto; padding-top: 18px; }
.card > .more:last-child { margin-top: auto; padding-top: 18px; }
.svc-body .more { margin-top: auto; padding-top: 16px; }

/* 服务卡（带图位） */
.svc {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.svc-thumb {
  height: 132px; position: relative;
  background: linear-gradient(140deg, var(--navy-700) 0%, var(--navy-500) 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.92);
}
.svc-thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 78% 18%, rgba(240,192,24,.34), transparent 58%);
}
.svc-thumb svg { position: relative; z-index: 1; }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-body h3 { font-size: 18px; margin-bottom: 9px; }
.svc-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.78; }
.svc-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--navy-50); color: var(--navy-700); border: 1px solid var(--line);
}
.tag-gold { background: var(--gold-100); color: var(--gold-700); border-color: #F3E3B4; }

/* ---------- 8. 医生板块 ---------- */
.doc-feature {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--sh-2);
}
.doc-photo {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--navy-100), var(--navy-50));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* 照片占位块：未放真实照片时用它占位（尺寸与 .doc-photo img 一致）。
   放了照片后本规则保留即可，不影响渲染。 */
.doc-photo .ph {
  text-align: center; color: var(--navy-300); padding: 20px;
}
.doc-photo .ph svg { margin: 0 auto 10px; }
.doc-photo .ph span { display: block; font-size: 12.5px; line-height: 1.7; }
.doc-role { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.doc-role .badge { background: var(--navy-600); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.doc-role .badge-gold { background: var(--gold-100); color: var(--gold-700); border: 1px solid #F3E3B4; }
.doc-feature h3 { font-size: 30px; letter-spacing: -.02em; }
.doc-title { font-size: 15px; color: var(--ink-3); margin-top: 6px; }
.doc-certs { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.doc-certs li { position: relative; padding-left: 26px; font-size: 14.8px; color: var(--ink-2); line-height: 1.75; }
.doc-certs li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-100);
}
.doc-quote {
  margin-top: 24px; padding: 18px 22px; border-radius: var(--r);
  background: var(--navy-50); border-left: 3px solid var(--navy-600);
  font-size: 15px; color: var(--navy-800); line-height: 1.85;
}

/* 医生团队轮播（首页）：与顶部 banner 轮播同一套思路——多张卡片叠在同一个网格格子里，
   容器高度自动取最高的那一张（切换时不跳动，任何宽度下都不会裁字）。
   增删一位医生只需复制/删除一段 <article class="doc-feature team-slide">，圆点会自动跟随。 */
.team { position: relative; }
.team-track { display: grid; }
.team-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.team-slide.is-active { opacity: 1; visibility: visible; }
/* 右侧文字栏纵向撑满，让「来源说明」始终贴在卡片底部——各张卡片高度不同时才不会看着空 */
.team-slide > div:last-child { display: flex; flex-direction: column; }
.team-slide .doc-note { margin-top: auto; padding-top: 22px; font-size: 12.5px; color: var(--ink-3); }
/* 照片高度跟随卡片：各张文案长短不同，若固定 3:4，卡片一高左栏下方就会空出一截 */
.team-slide .doc-photo { aspect-ratio: auto; min-height: 320px; }

/* 照片左上角角标：标明这位医师在哪家医院执业（外院特邀用金色，本院用深蓝） */
.doc-src {
  position: absolute; left: 0; top: 0; z-index: 2;
  padding: 6px 14px 7px; border-radius: 0 0 12px 0;
  background: var(--navy-700); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.doc-src-gold { background: var(--gold-700); }

/* 轮播控件：圆点 + 左右箭头，排在卡片下方居中，不遮挡卡片内容 */
.team-ctl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.team-arrow {
  width: 42px; height: 42px; flex: 0 0 auto; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  color: var(--navy-700); cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.team-arrow:hover { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.team-dots { display: flex; align-items: center; gap: 8px; }
.team-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: #C7D8E4; cursor: pointer; transition: all .2s ease;
}
.team-dot:hover { background: var(--navy-300); }
.team-dot[aria-selected="true"] { width: 26px; border-radius: 999px; background: var(--navy-600); }
.team-note { margin-top: 20px; text-align: center; font-size: 12.8px; line-height: 1.85; color: var(--ink-3); }

/* 医生小卡 */
.doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.doc-card .ph-wrap {
  aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--navy-100), var(--navy-50));
  display: flex; align-items: center; justify-content: center; color: var(--navy-300);
}
.doc-card .ph-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-card .body { padding: 18px 20px 20px; }
.doc-card h3 { font-size: 18px; }
.doc-card .sub { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }
.doc-card .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }

/* 特邀专家（外院执业医师）：来源医院用角标标出，与本院医师在视觉上区分开 */
.expert-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.expert {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.expert:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--navy-300); }

.expert-photo {
  position: relative; aspect-ratio: 1 / 1;   /* 方图裁切，人脸按顶部对齐 */
  background: linear-gradient(160deg, var(--navy-100), var(--navy-50));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--navy-300);
}
.expert-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.expert-photo .ph { text-align: center; padding: 16px; }
.expert-photo .ph svg { margin: 0 auto 8px; }
.expert-photo .ph span { display: block; font-size: 12.5px; line-height: 1.7; }
/* 来源医院角标 */
.expert-src-badge {
  position: absolute; left: 0; top: 0; z-index: 2;
  padding: 5px 13px 6px; border-radius: 0 0 12px 0;
  background: var(--navy-700); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}

.expert-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.expert-body h3 { font-size: 20px; }
.expert-title { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }
.expert-body .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.expert-list { margin: 16px 0 0; padding: 0; }
.expert-list dt {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--navy-600); margin-top: 16px;
}
.expert-list dt:first-child { margin-top: 0; }
.expert-list dd { margin: 7px 0 0; font-size: 13.8px; line-height: 1.82; color: var(--ink-2); }
.expert-note {
  margin-top: auto; padding-top: 18px;
  font-size: 12px; line-height: 1.7; color: var(--ink-3);
}

/* ---------- 9. 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
table.tbl caption { text-align: left; padding: 18px 20px 0; font-size: 13px; color: var(--ink-3); }
table.tbl th, table.tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
table.tbl thead th {
  background: var(--navy-50); color: var(--navy-800);
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1;
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover td { background: var(--navy-50); }
table.tbl td.name { font-weight: 600; color: var(--navy-900); }
table.tbl .price { font-family: var(--font-num); font-weight: 700; color: var(--navy-700); white-space: nowrap; font-size: 15.5px; }
table.tbl .muted { color: var(--ink-3); font-size: 13.5px; }
.grp-row td {
  background: var(--navy-100) !important; color: var(--navy-800);
  font-weight: 700; font-size: 13.5px; letter-spacing: .06em; padding: 10px 16px;
}

/* ---------- 10. FAQ 折叠 ---------- */
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h3 {
  font-size: 20px; margin-bottom: 18px; padding-left: 14px;
  border-left: 4px solid var(--gold); line-height: 1.4;
}
.faq-list { display: grid; gap: 10px; }
details.q {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); overflow: hidden;
}
details.q[open] { border-color: var(--navy-300); box-shadow: var(--sh-2); }
details.q summary {
  cursor: pointer; list-style: none; padding: 19px 56px 19px 22px; position: relative;
  font-size: 16.5px; font-weight: 600; color: var(--navy-900); line-height: 1.65;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--navy-500); border-bottom: 2px solid var(--navy-500);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
details.q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.q summary:hover { background: var(--navy-50); }
details.q .ans { padding: 0 22px 22px; font-size: 15.2px; color: var(--ink-2); line-height: 1.88; }
details.q .ans p + p { margin-top: 12px; }
details.q .ans ul { margin: 12px 0 0; padding-left: 22px; }
details.q .ans li { margin-bottom: 7px; }

/* ---------- 11. 就诊指引 ---------- */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.visit-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; box-shadow: var(--sh-1);
}
.visit-item .card-ico { margin-bottom: 16px; }
.visit-item h3 { font-size: 17px; margin-bottom: 10px; }
.visit-item p, .visit-item a { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.visit-item .big { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: var(--navy-700); letter-spacing: .01em; }

/* 到院指引 · 地铁到站（index.html / about.html 的「医院地址」卡共用同一份结构与文案）
   ★ 出处：用户 2026-09-28 给出正确到站口径 —— 原写的「1/10 号线国贸站」是错的。
     这里只有样式；文案在三处页面里，由 verify_site.js 第 6.0.1 节逐处卡住。 */
.visit-item .metro { margin-top: 12px; }
.visit-item .metro-t { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.visit-item .metro-list { list-style: none; margin: 8px 0 0; padding: 0; }
.visit-item .metro-list li {
  position: relative; padding: 3px 0 3px 14px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-2);
}
.visit-item .metro-list li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--navy-500); opacity: .6;
}
.visit-item .metro-line {
  display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--navy-700);
  background: var(--navy-50); border: 1px solid var(--navy-100); vertical-align: 1px;
}
.visit-item .metro-list b { color: var(--ink); font-weight: 700; }
.visit-item .metro-note { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* 行动条 */
.band {
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--r-lg); padding: 46px 48px; color: #fff;
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center;
  box-shadow: var(--sh-3); position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,192,24,.20), transparent 68%);
  pointer-events: none;
}
.band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); position: relative; }
.band p { margin-top: 12px; color: #BCD4E7; font-size: 16px; position: relative; }
.band .band-acts { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- 12. 页脚 ---------- */
.ftr { background: var(--navy-900); color: #9DBDD5; font-size: 14.5px; padding-top: 62px; }
.ftr a { color: #C6DCEB; }
.ftr a:hover { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 40px; padding-bottom: 46px; }
/* 文章页（科普页）页脚只保留品牌一块：无诊疗项目链接、无联系方式、无服务号二维码。
   原因见 sync_news.py 里的 FOOTER 说明（认定指南 8-5 / 互联网广告办法 8 条 2 款）。
   单列并限宽，避免在 4 列网格里只填第一列显得局促。 */
.ftr-grid--solo { grid-template-columns: minmax(0, 560px); }
.ftr-brand img { height: 58px; width: auto; margin-bottom: 20px; }
.ftr-brand p { line-height: 1.9; max-width: 320px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li { line-height: 1.7; }
.ftr .ftr-qr { display: flex; gap: 16px; align-items: flex-start; }
.ftr .ftr-qr img { width: 104px; height: 104px; border-radius: 8px; background: #fff; padding: 6px; flex: 0 0 auto; }
.ftr .ftr-qr .qr-txt { font-size: 13px; line-height: 1.75; color: #8FB4CF; }
.ftr .ftr-qr .qr-txt b { display: block; color: #fff; font-size: 14px; margin-bottom: 4px; }

.ftr-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 34px; }
.ftr-legal .row { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 13px; color: #7FA6C2; }
.ftr-legal .row a { color: #9DBDD5; }
.ftr-legal .disclaimer { margin-top: 16px; font-size: 12.5px; line-height: 1.85; color: #6E96B3; max-width: 1000px; }
.ftr-legal .disclaimer b { color: #9DBDD5; }

/* ---------- 13. 页面头图（内页） ---------- */
.phead {
  background: linear-gradient(150deg, #05293F 0%, #0A4670 100%);
  color: #fff; padding: 62px 0 54px; position: relative; overflow: hidden;
}
.phead::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(240,192,24,.15), transparent 66%);
  pointer-events: none;
}
.phead .wrap { position: relative; z-index: 1; }
.crumb { font-size: 13.5px; color: #93B6CF; margin-bottom: 16px; }
.crumb a { color: #BFD7E9; }
.crumb a:hover { color: #fff; }
.crumb span { margin: 0 8px; opacity: .55; }
.phead h1 { color: #fff; font-size: clamp(27px, 3.4vw, 42px); letter-spacing: -.02em; }
.phead p { margin-top: 16px; font-size: 16.5px; color: #B4CFE3; max-width: 780px; line-height: 1.85; }
/* ★2026-09-20 撤下 .phead .phead-tags（页头那排胶囊标签）。
   用户原话：「每个菜单页面点进去的 banner 里面有和下方重复的按钮，但无法点击，全部去除。」
   它看着像按钮（圆角胶囊 + 边框 + 底色）却是 <span>，点了没反应；内容又与紧随其后的
   锚点导航 / 分节完全重复 —— 相当于给访客递了一排假按钮。7 个内页已全部删除，
   verify_site.js 与 verify_live.py 各有一条断言拦它复活。别再往后加。 */

/* ---------- 14. 锚点导航（内页侧栏式） ---------- */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 9px; padding: 16px 0 0;
  border-top: 1px solid var(--line); margin-top: 34px;
}
.anchor-nav a {
  font-size: 14px; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy-700); font-weight: 500;
}
.anchor-nav a:hover { border-color: var(--navy-300); background: var(--navy-50); }

/* ---------- 15. 合规提示 ---------- */
.note {
  display: flex; gap: 14px; padding: 20px 24px; border-radius: var(--r);
  background: var(--gold-100); border: 1px solid #F3E3B4;
  font-size: 14.2px; line-height: 1.85; color: #6B5410;
}
.note svg { flex: 0 0 auto; color: var(--gold-700); margin-top: 2px; }
.note b { color: #5A4508; }
.note--info { background: var(--navy-50); border-color: var(--line); color: var(--ink-2); }
.note--info svg { color: var(--navy-500); }

/* ---------- 16. 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* 返回顶部 */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy-700); cursor: pointer;
  box-shadow: var(--sh-2); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s ease;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--navy-600); color: #fff; border-color: var(--navy-600); }

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1080px) {
  /* 窄屏收起右侧概览面板与左右箭头：面板内容仍在 HTML 源码中（GEO 不受影响），
     且这些信息在本页数据条、下方区块与内页里都有；轮播改为纯文案排版，高度同步下调。 */
  .banner { --banner-h: 420px; --banner-pad: 42px; }
  .banner-inner { grid-template-columns: 1fr; gap: 0; }
  .banner-aside { display: none; }
  .banner-arrow { display: none; }
  .banner-mark { right: -8%; width: min(62vw, 460px); opacity: .09; }
  .overview { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

/* 主导航收起断点：9 项横排在 1200px 容器里已无余量，
   1280px 以下（含平板）统一收进汉堡菜单；右侧「电话 + 预约到院」在 900px 以上保持常显。 */
@media (max-width: 1280px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(5,41,63,.12); padding: 10px 16px 18px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
  .nav a.nav-ic { justify-content: flex-start; }
  /* 汉堡菜单里每项都是整行宽，右上角那个提示点会飘到离文字很远的地方，
     看着像多余的杂质，索性收起来（图标＋文字已经说明是可在线对话） */
  .nav a[data-open-kefu]::after { display: none; }
  .burger { display: flex; margin-left: 0; }
}

@media (max-width: 900px) {
  /* ★★窄屏页头（2026-09-20 修）：logo ——(自适应)—— 门诊咨询热线 ——(自适应)—— 汉堡。
     原来这一档是 `.hdr-tel{display:none}` ＋ `.hdr-act{display:none}`，
     而 ≤1280 那条又把 `.burger` 的 `margin-left:auto` 去掉了（当时是指望右侧的 .hdr-act
     顶住），两下一叠加 → 首行只剩「logo ＋ 汉堡」，**汉堡紧贴在 logo 后面**、
     右侧空出一大片，中间也没有任何内容。
     现在：只留下电话，用左右两侧 auto 外边距把它**居中在 logo 与汉堡之间**；
     汉堡仍排在最后一项，自然贴右（不需要再给它 margin-left:auto，给了反而会把电话挤偏）。
     ★「预约到院」按钮在窄屏收起：它对应的入口是导航里的「到院指引」，已在汉堡菜单中，
       且页头横向余量不够同时放按钮与电话。 */
  .hdr-tel { display: flex; }
  .hdr-act { display: flex; margin: 0 auto; }
  .hdr-act .btn { display: none; }
  /* 窄屏省掉「门诊咨询预约」那行小字，只留号码。
     ★用 sr-only（裁成 1px）而不是 display:none —— 屏幕阅读器仍能读到完整的
       「门诊咨询预约 {{PHONE}}」，只是视觉上看不见。 */
  .hdr-tel .t-lbl {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .hdr-tel .t-num { font-size: 16px; }
  .hdr-tel svg { width: 17px; height: 17px; }
  .doc-feature { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .doc-photo { max-width: 260px; }
  /* 单列后照片不再跟随卡片高度，恢复固定比例，否则会被拉成长条 */
  .team-slide .doc-photo { aspect-ratio: 3 / 4; min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(1), .stats > div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .visit { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 34px 28px; }
  .sec { padding: 62px 0; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gut: 18px; --hdr-h: 66px; }
  .brand img { height: 38px; }
  .notice { font-size: 12.5px; }
  .notice .wrap { padding-top: 7px; padding-bottom: 7px; }
  .notice .notice-long { display: none; }
  .sec { padding: 50px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; gap: 30px; }
  .card { padding: 24px 20px; }
  .doc-feature h3 { font-size: 25px; }
  /* 窄屏改用滑动切换，箭头占地方又不好点，收起来 */
  .team-arrow { display: none; }
  .team-ctl { margin-top: 20px; }
  .totop { right: 16px; bottom: 16px; }
  table.tbl { font-size: 13.8px; min-width: 620px; }
  /* 窄屏收紧表格内边距，给列内容让出宽度 */
  table.tbl th, table.tbl td { padding: 11px 12px; }

  /* 窄屏：宽度不再受 --banner-h 约束，完全由文案撑开 */
  .banner { --banner-h: 0; --banner-pad: 32px; }
  .banner-tag { font-size: 12.5px; margin-bottom: 18px; }
  .banner-title { font-size: 26px; }
  .banner-slide h1.banner-title { font-size: 27px; }
  .banner-sub { margin-top: 16px; font-size: 15.5px; line-height: 1.8; }
  .banner-acts { margin-top: 24px; }
  .banner-acts .btn { width: 100%; }
  .banner-note { margin-top: 16px; font-size: 12.5px; align-items: flex-start; }
  .banner-mark { display: none; }
  .banner-dots { position: static; padding: 18px 0 6px; }
  .banner-progress { position: static; }

  .overview { grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; }
  .overview > div { padding: 20px 18px; }
  .overview .k { font-size: 24px; }

  .expert-grid { grid-template-columns: 1fr; }
  .expert-body { padding: 18px 18px 20px; }
  /* 单列时照片不再铺满整屏高，避免一张卡占掉一整屏 */
  .expert-photo { aspect-ratio: 4 / 3; }
}

/* 表格横向滚动提示（仅窄屏） */
@media (max-width: 900px) {
  .tbl-wrap::before {
    content: "表格内容较多，可左右滑动查看完整信息 →";
    position: sticky; left: 0;
    display: block; width: fit-content;
    padding: 9px 15px; margin-bottom: 1px;
    font-size: 12.5px; color: var(--ink-3);
    background: var(--navy-50);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }
}

/* ---------- 18. 打印 ---------- */
@media print {
  .hdr, .notice, .totop, .band .band-acts { display: none !important; }
  body { font-size: 12pt; color: #000; }
  /* 打印时轮播平铺：每张 slide 都作为静态区块排出来，内容不丢，也不会被固定高度裁切 */
  .banner::after, .banner-mark, .banner-arrow, .banner-dots, .banner-progress { display: none !important; }
  .banner-viewport { height: auto !important; }
  .banner-slide {
    position: static !important; inset: auto !important; display: block !important;
    opacity: 1 !important; visibility: visible !important; transform: none !important;
    background: #fff !important; page-break-inside: avoid;
  }
  .banner-aside { border-color: #999 !important; box-shadow: none !important; }
  .banner, .banner-stats, .phead, .sec-navy, .ftr { background: #fff !important; color: #000 !important; }
  .banner h1, .banner-title, .banner-sub, .banner-tag, .banner-note, .banner-list li,
  .phead h1, .phead p, .stats .n, .stats .l { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  details.q { break-inside: avoid; }
  details.q .ans { display: block !important; }
  /* 深色区块打印时整体转白底，但页内用行内 style="color:#A8C6DC" 写的浅蓝正文不会跟着变 →
     打出来就是「白底浅蓝字」，几乎看不见。这里统一压成深色。 */
  .sec-navy, .sec-navy * { color: #000 !important; }
  /* .reveal 靠 IntersectionObserver 加 .in，没滚到就始终 opacity:0 →
     打印 / 导 PDF 会整段空白（长区块尤其容易踩），打印时必须强制可见 */
  .reveal { opacity: 1 !important; transform: none !important; }
  /* 证书墙：2 列排版保证证书名还看得清；放大浮层不打印 */
  .certbox { display: none !important; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .cert-open { border-color: #999 !important; box-shadow: none !important; transform: none !important; }
  .cert-note { background: #fff !important; border: 1px solid #999 !important; }
  .cert-zoom { display: none !important; }
  /* 首页证书轮播：打印时把 14 张平铺出来（4 列 4 行），否则打印只会有第一屏那 4 张、
     剩下 10 张连内容都留不下 —— 纸质材料上「少印了证书」是会被追问的。 */
  .certcar-ctl { display: none !important; }
  .certcar-track {
    grid-auto-flow: row !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-columns: auto !important;
    overflow: visible !important; gap: 14px !important;
  }
}

/* ---------- 19. 新闻资讯 ---------- */
/* 列表：1px 间隙 + 背景色做格线（与首页概览条同一手法，换行也不会乱） */
.news-list {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.news-item { display: block; background: #fff; padding: 22px 26px; text-decoration: none; transition: background .18s ease; }
.news-item:hover { background: var(--navy-50); }
.news-item h3 { font-size: 17.5px; line-height: 1.62; color: var(--ink); margin: 0 0 8px; transition: color .18s ease; }
.news-item:hover h3 { color: var(--navy-700); }
.news-item p { font-size: 14.2px; line-height: 1.82; color: var(--ink-2); margin: 0 0 11px; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 12.8px; color: var(--ink-3); }
.news-meta .src {
  padding: 2px 10px; border-radius: 999px;
  background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy-600);
}
.news-empty {
  padding: 36px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14.5px; line-height: 1.9; color: var(--ink-3); text-align: center;
}
.news-count { font-size: 13px; color: var(--ink-3); }
.news-empty code {
  font-family: var(--font-num); font-size: 13px; padding: 2px 7px;
  background: var(--navy-50); border: 1px solid var(--line);
  border-radius: 6px; color: var(--navy-700);
}

/* 19.b 资讯列表翻页（2026-09-15）
   前端分页：**50 条全部写在 HTML 源码里**，JS 只把第 2 页起的条目置 hidden。
   服务端分页（news/page-N.html）会让第 2 页起的关键词从源码里消失，伤 GEO，
   所以这里刻意用前端方案。
   ★★ .news-item[hidden] 这条**不能省**：上面的 .news-item{display:block} 是作者样式，
      优先级高于浏览器默认的 [hidden]{display:none}（同为 0,1,0，作者样式胜出），
      不显式写这条的话 JS 加 hidden 属性**根本不会隐藏**——表现只是「点翻页没反应」，
      很难反查到 CSS 优先级上去。 */
.news-item[hidden] { display: none; }
.news-pager {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 22px;
}
.news-pager[hidden] { display: none; }
.news-pager button {
  min-width: 40px; height: 40px; padding: 0 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--font-num); font-size: 15px; line-height: 1; color: var(--navy-700);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.news-pager button:hover:not(:disabled):not([aria-current="page"]) {
  background: var(--navy-50); border-color: var(--navy-300);
}
.news-pager button[aria-current="page"] {
  background: var(--navy-700); border-color: var(--navy-700); color: #fff; font-weight: 700;
}
.news-pager button:disabled { opacity: .4; cursor: default; }
.news-pager-sum { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
/* 浅色版面包屑（文章页用；深色版 .crumb 只适用于 .phead 底） */
.crumb--light { color: var(--ink-3); }
.crumb--light a { color: var(--navy-600); }
.crumb--light a:hover { color: var(--navy-800); }

/* 文章详情页 */
.article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 44px 48px; box-shadow: var(--sh-1);
}
.article-body { font-size: 16.2px; line-height: 2.05; color: var(--ink-2); }
.article-body p { margin: 0 0 20px; }
.article-body img { display: block; max-width: 100%; height: auto; border-radius: var(--r); margin: 4px 0 24px; }
.article-body h3 { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 32px 0 13px; }
/* 同步来的资讯正文里带 <h2> 小标题，做一条竖向色标，和正文段落区分开 */
.article-body h2 {
  font-size: 21px; line-height: 1.6; color: var(--ink);
  margin: 38px 0 15px; padding-left: 14px; border-left: 3px solid var(--navy-500);
}
.article-body h2:first-child { margin-top: 0; }
.article-note {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; line-height: 1.95; color: var(--ink-3);
}
.article-back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 24px;
  font-size: 14.5px; color: var(--navy-600); text-decoration: none;
}
.article-back:hover { text-decoration: underline; }
.article-head { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: 27px; line-height: 1.5; letter-spacing: -.015em; }

@media (max-width: 640px) {
  .news-item { padding: 18px 18px; }
  .news-item h3 { font-size: 16.2px; }
  .news-pager { gap: 6px; margin-top: 18px; }
  .news-pager button { min-width: 36px; height: 36px; padding: 0 9px; font-size: 14px; }
  .news-pager-sum { width: 100%; text-align: center; margin: 6px 0 0; }
  .article { padding: 26px 20px; }
  .article-body { font-size: 15.6px; line-height: 1.95; }
  .article-head h1 { font-size: 21px; }
}

/* ---------- 20. 导航扩展项 / 全景导览页 / 智能客服挂件 ---------- */

/* --- 20.1 导航里带图标的两项（VR全景、智能客服） --- */
.nav a.nav-ic { display: inline-flex; align-items: center; gap: 6px; }
.nav a.nav-ic svg { flex: 0 0 auto; color: var(--navy-500); transition: color .18s ease; }
.nav a.nav-ic:hover svg, .nav a.nav-ic[aria-current="page"] svg { color: var(--navy-600); }
/* 客服项右上角一个小金点，提示「可在线对话」。纯装饰，不承载必须读到的信息 */
.nav a[data-open-kefu] { position: relative; }
.nav a[data-open-kefu]::after {
  content: ""; position: absolute; top: 9px; right: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 2px #fff;
}

/* --- 20.2 智能客服挂件：返回顶部按钮上移避让 ---
   挂件按视口百分比定位（外壳 right/bottom 各 5%），实测它的悬浮球外接尺寸约 94×88，
   球的下沿距视口底部≈20vh。因此避让量也必须用 vh 表达，写死 px 会在矮窗口上压住悬浮球
   （1366×768 实测：写 112px 时两者矩形相交）。
   has-kefu 由 assets/js/embed.js 在挂件就绪后挂到 <html> 上；挂件不可用时不会有这个类，
   按钮自动回到原位。改动后请重跑 deploy/embed_probe.py 复验。 */
html.has-kefu .totop { bottom: calc(20vh + 104px); }

/* --- 20.3 全景导览页 ---
   ★2026-09-18 用户要求：「全景照片改为网页宽度显示，其余文字放在下方，手机端适配。」
     原来是「画面 1.5fr ＋ 右侧说明 1fr」的两栏，画面被挤到 660px 左右。
     现在改成**单列**：画面占满内容区（与页头页脚同一个 .wrap），说明文字整体下移。
     只有 vr.html 用这套（.vrp* 类名全站仅此一页），所以直接改基类、不留两套分支。 */
.vrp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }

/* --- 20.4 站内自建全景播放器（2026-09-18 起替换掉「新窗口打开第三方全景站」） ---
   为什么是 <canvas> 而不是 <img>：全景要按视角实时采样，用图片位移做不出上下环视与透视；
   WebGL 只画一个全屏四边形，成本比叠几层滤镜还低，手上也不掉帧。
   ★为什么必须 touch-action:none：不写的话，手指在画布上横滑会被浏览器当成「滚动页面」，
   结果是画面纹丝不动、页面自己滚走了 —— 这是移动端最容易漏的一行。 */
.pano { display: grid; gap: 14px; min-width: 0; }

.pano-stage {
  position: relative; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); box-shadow: var(--sh-2);
  aspect-ratio: 16 / 10; background: #06202C;
}
.pano-canvas {
  display: block; width: 100%; height: 100%;
  cursor: grab; touch-action: none; outline: none;
}
.pano-canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.pano-canvas.is-grabbing { cursor: grabbing; }

.pano-badge {
  position: absolute; left: 18px; top: 18px; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
}

/* 热点层：不参与布局，坐标由 pano.js 每帧写进 transform */
.pano-spots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.pano-spot {
  position: absolute; left: 0; top: 0; opacity: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px 8px 11px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--navy-700);
  font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1;
  cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.26);
  transition: opacity .18s ease; will-change: transform, opacity;
}
.pano-spot:hover { background: #fff; }
.pano-spot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pano-spot-dot {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--navy-600); box-shadow: 0 0 0 4px rgba(20,112,172,.18);
}
.pano-spot-tx { white-space: nowrap; }
.pano-badge-t { white-space: nowrap; }

/* --- 视野外热点的「贴边方向指示」（2026-09-18 新增，原理见 pano.js 顶部说明） ---
   为什么要它：这批实拍全景里，门普遍在 |yaw| 90°~170°（相机站在房间中央拍的），
   而可见锥只有 ±52°（桌面 16/10）/ ±47°（手机 4/3）。照旧把视野外的热点 opacity:0
   藏掉，动线就是断的 —— 访客站着不动永远转不到那扇门，界面上也毫无提示。
   于是改成贴在左/右下缘的一枚小胶囊：箭头朝内指、写着目的地，点它直接过去。
   深色半透明＋毛玻璃，压在画面上仍读得清；箭头用纯 CSS 三角形画，不引图标不额外发请求。 */
.pano-spot.is-edge {
  background: rgba(8, 30, 43, .74);
  color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .34);
}
.pano-spot.is-edge:hover { background: rgba(8, 30, 43, .92); }
/* 右向的胶囊把箭头翻到文字右边（← 去往X / 去往X →），读起来才顺 */
.pano-spot.is-edge[data-dir="right"] { flex-direction: row-reverse; }
.pano-spot.is-edge .pano-spot-dot {
  width: 0; height: 0; border-radius: 0;
  background: none; box-shadow: none;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.pano-spot.is-edge[data-dir="left"] .pano-spot-dot { border-right: 7px solid #7DC6EE; }
.pano-spot.is-edge[data-dir="right"] .pano-spot-dot { border-left: 7px solid #7DC6EE; }

/* 控件条 */
.pano-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pano-scenes { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pano-scene {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-family: var(--font);
  font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.pano-scene-n { font-family: var(--font-num); font-size: 11.5px; color: var(--ink-3); }
.pano-scene:hover { border-color: var(--navy-300); color: var(--navy-600); }
.pano-scene.is-on { background: var(--navy-50); border-color: var(--navy-500); color: var(--navy-700); }
.pano-scene.is-on .pano-scene-n { color: var(--navy-500); }

.pano-ctl { display: flex; gap: 8px; margin-left: auto; }
.pano-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-family: var(--font);
  font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer;
}
.pano-btn:hover { border-color: var(--navy-300); color: var(--navy-600); }
.pano-btn[aria-pressed="true"] { background: var(--navy-50); border-color: var(--navy-500); color: var(--navy-700); }

.pano-tip { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.pano-live { margin: 0; min-height: 1.2em; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }

/* 降级：浏览器没有 WebGL 时的平面浏览 */
.pano-fallback { position: absolute; inset: 0; z-index: 5; background: #06202C; }
.pano-fallback[hidden] { display: none; }
.pano-fallback img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pano-fallback p {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 14px 18px; font-size: 13px; line-height: 1.7; color: #fff;
  background: linear-gradient(to top, rgba(4,32,47,.92), transparent);
}

/* ---- 「即将上线」空状态（2026-09-18 照片未就位期间的对外形态）----
   ★开关在 assets/js/pano.js 顶部的 PHOTOS_READY。
   注意这里的选择器是 :not([data-pano-mode="ready"]) —— 也就是**默认就当「即将上线」**。
   这样 JS 没跑起来、或脚本报错时，页面依然是正确形态（面板在、画布与控件条藏着），
   而不是露出一块空画布。照片就位后由 pano.js 把 <html> 置成 data-pano-mode="ready"。 */
.pano-soon {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px; padding: 34px clamp(20px, 7%, 76px); text-align: center;
  background: radial-gradient(125% 125% at 50% 0%, #0C3D57 0%, #06202C 60%, #04151E 100%);
  color: #fff;
}
.pano-soon[hidden] { display: none; }
.pano-soon-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(240,192,24,.45); background: rgba(240,192,24,.1);
  color: var(--gold);
}
.pano-soon-k { font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: .01em; }
.pano-soon-k em { font-style: normal; color: var(--gold); }
.pano-soon-s { max-width: 44em; margin: 0; font-size: 14px; line-height: 1.95; color: rgba(255,255,255,.82); }
.pano-soon-s b { color: #fff; }

/* 状态切换：只认 data-pano-mode="ready"，其余一律按「即将上线」处理。
   ★★ 前缀 `html` 不能省：`:not([data-pano-mode="ready"])` 单独写的话，会匹配到
   任何**没有该属性的祖先**（body / main / section / .pano ……），也就是说规则永远命中 ——
   表现是「照片就位、开关打开后，画布与控件条照样被藏起来」，而那一刻可能已经离改动
   很久了，极难联想到这里。（2026-09-18 实测踩过：data-pano-mode=ready、sceneBtns=3、
   ready=true，但 canvasDisplay=none / barDisplay=none。） */
html[data-pano-mode="ready"] .pano-soon { display: none; }
html:not([data-pano-mode="ready"]) .pano-canvas,
html:not([data-pano-mode="ready"]) .pano-bar,
html:not([data-pano-mode="ready"]) .pano-badge,
/* 面板本身已经把「拍摄制作中」说全了，操作提示在此时只会变成重复说同一句话 */
html:not([data-pano-mode="ready"]) .pano-tip,
html:not([data-pano-mode="ready"]) [data-pano-cta="ready"] { display: none; }
html[data-pano-mode="ready"] [data-pano-cta="soon"] { display: none; }

.vrp-side h2 { font-size: 25px; line-height: 1.4; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
/* 文字整体下移后横跨整页，行长得控一下：中文一行超过约 40 字就开始跳行。
   76ch 在 1152px 容器里约合一行 38 个汉字，两侧自然留白。 */
.vrp-side > p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 22px; max-width: 76ch; }
/* 4 条短要点在宽页面上排两列（2×2），比拉成 4 行长条好读；窄屏回落到单列（见媒体查询）。 */
.vrp-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vrp-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.vrp-list li::before {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--navy-500);
}
.vrp-list b { color: var(--ink); }
.vrp-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.vrp-tip { margin: 18px 0 0; font-size: 13px; line-height: 1.85; color: var(--ink-3); }

/* 「看之前需要知道的三件事」：白底三栏，与站点既有 1px 格线手法一致 */
.vrp-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-top: 4px;
}
.vrp-meta > div { background: #fff; padding: 24px 22px; }
.vrp-meta h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; color: var(--ink); margin: 0 0 10px; }
.vrp-meta h3 svg { flex: 0 0 auto; color: var(--navy-500); }
.vrp-meta p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ★2026-09-18：原来这里有一条「≤1080px 把 .vrp 收成单列」的规则 ——
   .vrp 现在本身就是单列，那条规则已经不起作用，删掉以免后人误以为宽屏仍是两栏。 */
@media (max-width: 980px) {
  .vrp-list { grid-template-columns: 1fr; }   /* 要点回落单列：窄屏两列会把每条都挤成碎行 */
  .vrp-meta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* 手机：画面已占满内容区，用 4/3 而不是 16/10 —— 高一点，手指拖动更好操作。
     可见锥只由宽高比决定（4/3 → ±47°），与桌面 16/10（±52°）不同，详见 pano.js 顶部说明。 */
  .pano-stage { aspect-ratio: 4 / 3; }
  .vrp { gap: 26px; }
  .pano-soon { gap: 11px; padding: 24px 20px; }
  .pano-soon-ic { width: 46px; height: 46px; }
  .pano-soon-k { font-size: 18px; }
  .pano-soon-s { font-size: 13px; line-height: 1.85; }
  .pano-spot { font-size: 13px; padding: 7px 12px 7px 10px; }
  .pano-scene { flex: 1 1 auto; justify-content: center; }
  .pano-ctl { margin-left: 0; width: 100%; }
  .pano-ctl .pano-btn { flex: 1 1 0; justify-content: center; }
  .vrp-side h2 { font-size: 21px; }
  .vrp-acts .btn { width: 100%; }
  .vrp-meta > div { padding: 20px 18px; }
}

/* ---------- 21. 证书墙（关于我们页 · 术式资质与厂商认证） ---------- */
/* 布局＝3 列 × 5 行：14 张证书 ＋ 1 个「关于以上资质」说明格，正好满格，末行不留空位。
   ★证书是证件：图片一律 object-fit:contain ＋ 容器固定比例 —— 只允许留白，绝不允许裁切。
   深色区块（.sec-navy）上放白底卡片，靠底色差把证件「托」出来。 */
/* 保险：本区块任何情形下都不要列表符号。
   2026-09-18 用户反馈「每张证书前都有一个小圆点」+「与上方内容贴在一起」——
   实跑探针（list-style、::marker、::before 全查）证明当时线上的 CSS 是**降级渲染**：
   新 HTML 配了旧 CSS，<ul> 回落成默认样式（默认圆点 + 默认 16px 外边距）。
   根因见 publish.py 的「内容哈希注入」：线上 CSS 带 max-age=604800 且 URL 无版本号，
   中间态样式会被浏览器锁住最多 7 天。这里补一道与缓存无关的保险。 */
#tech ul, #tech li { list-style: none; }

/* ★与上方 .grid.g2（两张卡片）的距离：56px 在深色区块里读起来是「贴在一起」，
   改为与「证书墙→下一节」同一节律（88px），上下呼吸对称。 */
.certwall { margin-top: 88px; }
.certwall-head { max-width: 820px; margin-bottom: 28px; }
.certwall-head h3 { font-size: 20px; }
.certwall-head p { margin-top: 12px; font-size: 15px; line-height: 1.85; color: #A8C6DC; }

.cert-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}

/* 每格用 flex 撑满整行高度，避免说明文字长短不一时卡片高度参差 */
.cert { margin: 0; display: flex; }

.cert-open {
  display: flex; flex-direction: column; width: 100%;
  margin: 0; padding: 0; font: inherit; text-align: left; color: inherit;
  cursor: zoom-in; overflow: hidden; position: relative;
  background: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cert-open:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.cert-open:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold), var(--sh-3); }

.cert-shot { display: block; flex: 0 0 auto; aspect-ratio: 1500 / 1060; background: #fff; }
.cert-shot img { width: 100%; height: 100%; object-fit: contain; }

.cert-meta { display: block; flex: 1 1 auto; padding: 13px 16px 15px; border-top: 1px solid var(--line); }
.cert-cap { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.55; color: var(--navy-900); }
.cert-maker { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }

/* 「放大」提示：只在悬停/聚焦时出现，平时不抢视线 */
.cert-zoom {
  position: absolute; right: 10px; top: 10px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; line-height: 1.7; color: #fff; background: rgba(5,41,63,.66);
  opacity: 0; transition: opacity .18s ease;
}
.cert-open:hover .cert-zoom, .cert-open:focus-visible .cert-zoom { opacity: 1; }

/* 第 15 格＝说明卡：填平 14 张证书留下的空位，顺便把「原件在哪看」写清楚 */
.cert-note {
  display: flex; align-items: center; padding: 26px 24px; border-radius: var(--r);
  background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.22);
}
.cert-note h4 { font-size: 15.5px; color: #fff; }
.cert-note p { margin-top: 11px; font-size: 13.8px; line-height: 1.85; color: #A8C6DC; }
.cert-note p + p { margin-top: 9px; }

/* 放大浮层：纯原生，不引任何第三方库（站点无构建工具、file:// 下也要能用） */
.certbox {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 4vh 3vw;
  background: rgba(5,41,63,.94);
}
.certbox.open { display: flex; }
.certbox-fig { margin: 0; max-width: min(1400px, 94vw); text-align: center; }
.certbox-fig img {
  display: block; margin: 0 auto; max-width: 100%; max-height: 78vh; width: auto; height: auto;
  background: #fff; border-radius: var(--r-sm); box-shadow: var(--sh-3);
}
.certbox-cap { margin: 16px 0 0; font-size: 15px; line-height: 1.7; color: #E6F0F8; }
.certbox-close {
  position: absolute; right: 3vw; top: 3vh; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  transition: background .18s ease;
}
.certbox-close:hover, .certbox-close:focus-visible { background: rgba(255,255,255,.24); outline: none; }

@media (max-width: 1080px) {
  .cert-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .certwall { margin-top: 40px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-note { padding: 22px 20px; }
  .certbox { padding: 3vh 16px; }
  .certbox-close { right: 14px; top: 14px; width: 40px; height: 40px; }
  .certbox-fig img { max-height: 72vh; }
}

/* ---------- 20.b 首页「术式资质与厂商认证」证书轮播（2026-09-15） ----------
   与 initCarousel 的「一张淡入淡出」不同：证书有 14 张，一次只看一张翻起来太慢，
   所以一次显示 4 张（≤1100px 三张 / ≤760px 两张），用**原生横向滚动 + scroll-snap**
   分页。选原生滚动而不是 translateX 的三个理由：
     ① 手机上手指直接滑，不必再写一套 touch 逻辑；
     ② 不用 transform，不会和 reveal 动画的位移打架；
     ③ 容器有真实 scrollWidth，页码能被探针量出来（可断言）。
   卡片沿用 about.html 证书墙的 .cert / .cert-open / .cert-shot / .cert-meta 一套，
   放大查看由全站共用的 initCerts() 接管（它绑的是 [data-cert]，不关心卡片在哪）。 */
.certcar { position: relative; margin-top: 88px; --certcar-gap: 18px; }
.certcar-head { max-width: 820px; margin-bottom: 26px; }
.certcar-head h3 { font-size: 20px; color: #fff; }
.certcar-head p { margin-top: 12px; font-size: 15px; line-height: 1.85; color: #A8C6DC; }
.certcar-track {
  /* ★ list-style / margin / padding 三条**不能省**：这是 <ul>，不在 .cert-grid 里，
     没有继承到那边的 reset，少了就每格前面挂一个项目符号（本文件 1188 行的
     .cert-grid 之所以有这三条，就是为这个）。 */
  list-style: none; margin: 0; padding: 2px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--certcar-gap)) / 4);
  gap: var(--certcar-gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.certcar-track::-webkit-scrollbar { display: none; }
.certcar-track > .cert { scroll-snap-align: start; }
.certcar-ctl {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px;
}
.certcar-ctl[hidden] { display: none; }
.certcar-arrow {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; color: #fff; cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.certcar-arrow:hover:not(:disabled) { background: rgba(255,255,255,.18); border-color: var(--gold); }
.certcar-arrow:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold); }
.certcar-arrow:disabled { opacity: .35; cursor: default; }
.certcar-sum {
  min-width: 56px; text-align: center;
  font-family: var(--font-num); font-size: 14px; color: #A8C6DC;
}
@media (max-width: 1100px) {
  .certcar-track { grid-auto-columns: calc((100% - 2 * var(--certcar-gap)) / 3); }
}
@media (max-width: 760px) {
  .certcar { --certcar-gap: 14px; }
  .certcar-track { grid-auto-columns: calc((100% - var(--certcar-gap)) / 2); }
  /* 移动端滑动就是分页，箭头反而占地方 */
  .certcar-arrow { display: none; }
  .certcar-ctl { margin-top: 16px; }
}

/* ---------- 20.c 主诊医师个人认证证书轮播 ----------
   ★本区与 20.b 的「机构/厂商授牌」不是同一批证书：
     20.b 是机构授牌（横版；若用证书墙同步机制，需在容器上加 CERT-SYNC 标记），
     本区是医师个人术式认证，只在 doctors.html 出现。
   比例为什么单独设：机构授牌是横版 1500/1060，而本区证书多为竖版
     （竖版 0.726~0.753、横版 1.377）。若沿用横版容器，竖版证书会被压成中间一条小图。
     统一按竖版 3/4 走 —— 4 张竖版几乎铺满，2 张横版上下留白。
     `object-fit: contain` **只留白、绝不裁切**：证书的装饰边框与签章不能被裁掉。
   ★不能改 .cert-shot 的默认 aspect-ratio：about.html 证书墙与 6 个轮播区共用它。 */
.certcar-doc { margin-top: 8px; }
.certcar-doc .cert-shot { aspect-ratio: 3 / 4; }

/* ---------- 22. 科室介绍页：2×2 科室卡片（2026-09-20） ----------
   ★布局口径：四个科室 = **一张 2×2 卡片墙**（.grid.g2），不再是四个整幅 section。
     每张卡仍带自己的 id（refractive / optometry / cataract / dryeye）——
     锚点跳转与闸门断言（verify_site.js 5.2）都还在，改布局时别把 id 挪掉。
   ★卡片里必须保留三样东西，少一样都是「页面上看不出来的失效」：
     ① dt 小标题（接诊范围 / 开展项目 / 常用检查）—— 决定访客能否快速扫读；
     ② 科室专属的合规提示（.dept-note：角膜塑形镜属医疗器械、人工晶体不作效果承诺）——
        这类提示必须**紧跟它要约束的那段话**，集中挪到页尾就等于与宣称脱钩；
     ③ 指向 services.html#… 的出口（科室页只讲「能看什么」，术式与公示价在诊疗项目页）。 */
.dept { padding: 30px 28px; }
.dept-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.dept-head .card-ico { margin-bottom: 0; width: 46px; height: 46px; border-radius: 12px; }
.dept-head h3 { font-size: 20.5px; margin-bottom: 4px; line-height: 1.35; }
.dept-en { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.dept-lead { font-size: 14.8px; color: var(--ink-2); line-height: 1.85; }
.dept-kv { margin-top: 20px; border-top: 1px solid var(--line); }
.dept-kv > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.dept-kv dt { font-size: 13.5px; font-weight: 700; color: var(--navy-600); line-height: 1.75; }
.dept-kv dd { font-size: 14.2px; color: var(--ink-2); line-height: 1.8; }
.dept-note {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: var(--navy-50); border: 1px solid var(--line);
  font-size: 13.4px; color: var(--ink-2); line-height: 1.8;
}
.dept-note b { color: var(--navy-700); }
/* 出口链接压到卡底：同行两张卡高度对齐时，链接不会一高一低 */
.dept > .more:last-child { margin-top: auto; padding-top: 18px; }

/* ---------- 23. 科室介绍页：设备介绍（2026-09-20） ----------
   ★文案口径：设备清单来自院内宣传物料，但**物料上的推介话术一律不照搬**
     （原稿的「金标准 / 最强 CP / 眼科医生最爱 / 定海神针」等属绝对化或推介性用语，
      医疗广告红线，见 verify_site.js 第 7 节）。这里只写「这台机器做什么用」。
   ★型号写法以厂商公开型号为准：尼德克 ARK-1（原图印成 APK-1）、
     角膜地形图 Sirius（原图印成 Sirlus）—— 官方型号站得住，写错等于给访客留话柄。 */
.equip-grp + .equip-grp { margin-top: 40px; }
.equip-grp-title {
  display: flex; align-items: center; gap: 14px;
  font-size: 16px; font-weight: 700; color: var(--navy-700); margin-bottom: 18px;
}
.equip-grp-title::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.equip-grid { gap: 16px; }
.equip-item {
  display: flex; flex-direction: column;
  padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.equip-item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--navy-300); }
.equip-kind {
  align-self: flex-start; padding: 3px 9px; border-radius: 5px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--navy-500); background: var(--navy-50);
}
.equip-item h4 { margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.equip-item p { margin-top: 11px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

@media (max-width: 900px) {
  .dept { padding: 26px 22px; }
  /* ★2 列 × 窄视口时，84px 的标签列会把正文挤到 ~200px（一行十来个字）——
     拆成 dt 一行 / dd 一行，正文吃满整张卡。
     ★为什么不干脆把 .g2 改成 1 列：.g2 是通用类，index 与 services 也在用，
       全局改会连带改掉那两处的版式（部门自己的版式，别拿通用类开刀）。 */
  .dept-kv > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .equip-grp + .equip-grp { margin-top: 32px; }
}
@media (max-width: 640px) {
  .dept { padding: 22px 18px; }
  .dept-head { gap: 12px; }
  .dept-head h3 { font-size: 18.5px; }
  .equip-item { padding: 18px 16px; }
}

/* ==========================================================================
出诊日历（doctors.html #schedule）
   ★ 日期由 JS 按「{{ORG_CITY}}时间当天」生成（assets/js/doc-schedule.js 提供数据与规则）。
   ★ 桌面端 7 列 × 2 行（默认「今天起 14 天」）。天数写在 doctors.html 的 `data-days` 上，
     14 项时 grid 会**自动**排成两行 —— 改天数不需要动这里的 `repeat(7, …)`；
     ≤900px 改行式布局（一卡一行），**不缩字号**、不用横向滚动容器。
   ========================================================================== */
.doc-cal { margin-top: 4px; }
.doc-cal-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px;
}
.doc-cal-day {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
  padding: 16px 12px; text-align: center; box-shadow: var(--sh-1);
}
.doc-cal-wd { display: block; font-size: 14px; color: var(--ink-3); }
.doc-cal-date { display: block; margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.doc-cal-date .mo { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.doc-cal-st {
  display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; background: var(--navy-50); color: var(--navy-600);
}
/* ★「今天 / 节日名」是**卡片底部**的标注（DOM 顺序在 .doc-cal-st 之后，见 main.js 的 paint()）：
   放在前面会把那几张卡的「星期/日期/状态」整体下顶一行，七张卡就对不齐了。
   ⇒ 它们只用 margin-top，**绝不能用 margin-bottom**（那会让今天的卡底部多出一截）。 */
.doc-cal-hol { display: block; margin-top: 6px; font-size: 12.5px; color: var(--warn); }
.doc-cal-day.is-rest { background: #F7F9FB; }
.doc-cal-day.is-rest .doc-cal-st { background: #EDF1F5; color: var(--ink-3); }
.doc-cal-day.is-holiday { border-color: #F3E3B4; background: #FFFCF4; }
.doc-cal-day.is-today { border-color: var(--navy-500); box-shadow: 0 0 0 3px var(--navy-50), var(--sh-1); }
.doc-cal-today-tag {
  display: block; margin: 10px 0 0; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--gold-700);
}
.doc-cal-note { margin-top: 20px; font-size: 14.5px; color: var(--ink-3); line-height: 1.85; }

@media (max-width: 900px) {
  /* 7 列在窄屏会把日期挤成一列数字，改行式：日期在左、状态贴右 */
  .doc-cal-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .doc-cal-day {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
    padding: 13px 16px; text-align: left;
  }
  /* ★桌面那边 DOM 顺序是「星期 → 日期 → 药丸 → 今天 → 节日名」（为了让前三行跨卡对齐，
     见 main.js 的 paint()）。行式布局里照搬的话，「今天 / 节日名」会跑到**贴右的药丸后面**，
     被挤出右边界再折行。这里用 `order` 只调**视觉顺序**、不动 DOM：
     星期 → 日期 → 今天 → 节日名 → 药丸（贴右）。 */
  .doc-cal-wd { order: 1; }
  .doc-cal-today-tag { order: 3; display: inline-block; margin: 0; }
  /* ★字号一个字都不动：只把「日期在上、状态在下」改成「同一行、状态贴右」。
     2026-09-23 这里原本写着 font-size:17.5px（把桌面 22px 缩掉了），
     与本文件上方注释「不缩字号」自相矛盾 —— 是照抄常见移动端写法带进来的，
     已删除。行内空间实测够（最宽一行约 215px ＜ 372px 可用宽），不需要用字号换空间。 */
  .doc-cal-date { order: 2; display: inline-block; margin-top: 0; }
  .doc-cal-hol { order: 4; display: inline-block; margin-top: 0; }
  .doc-cal-st { order: 5; margin-top: 0; margin-left: auto; }
}

/* Centre strip after the content cleanup. */
.banner-stats .stats--three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:640px){.banner-stats .stats--three{grid-template-columns:1fr}}

/* Two displayed centres after the clinical cleanup. */
.banner-stats .stats--two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.banner-stats .stats--two{grid-template-columns:1fr}}
