/* ==========================================================================
   北京维视眼科医院 · 官网样式表
   品牌色取自集团 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 .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; }

/* 行动条 */
.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; }
.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; }
.phead .phead-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 9px; }
.phead .phead-tags span {
  font-size: 13px; padding: 5px 13px; border-radius: 999px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20); color: #D6E7F3;
}

/* ---------- 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) {
  .hdr-tel { display: none; }
  .hdr-act { display: none; }
  .hdr-act.mobile-on { display: flex; margin-left: 10px; }
  .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; }
}

/* ---------- 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);
}
/* 浅色版面包屑（文章页用；深色版 .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; }
  .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 全景导览页 --- */
.vrp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 38px; align-items: start; }

/* 全景入口。用纯 CSS 画的「广角空间」占位，不引用第三方截图：
   对方全景站是外链，图片版权与画质都不受我们控制，所以这里只做入口，不做预览图。 */
.vrp-stage {
  position: relative; display: block; overflow: hidden; border-radius: 18px;
  border: 1px solid var(--line); box-shadow: var(--sh-2);
  aspect-ratio: 16 / 10; background: #06202C;
  transition: box-shadow .22s ease, transform .22s ease;
}
.vrp-stage:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
.vrp-stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 10%, rgba(20,112,172,.55), transparent 60%),
    radial-gradient(90% 80% at 88% 92%, rgba(240,192,24,.18), transparent 62%),
    linear-gradient(160deg, #073453 0%, #05293F 58%, #04202F 100%);
}
/* 网格＝空间感；z-index 低于水印与按钮，不影响可读性 */
.vrp-stage::after {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.6) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px 60px);
}
.vrp-mark {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 40%; height: auto; transform: translate(-50%, -52%); opacity: .18;
}
.vrp-badge {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  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;
}
.vrp-play {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); color: var(--navy-700);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.vrp-play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
}
.vrp-stage:hover .vrp-play { transform: translate(-50%, -50%) scale(1.05); }
.vrp-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 46px 20px 18px; color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(to top, rgba(4,32,47,.88), transparent);
}
.vrp-cap span { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.78); }

.vrp-side h2 { font-size: 25px; line-height: 1.4; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
.vrp-side > p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 22px; }
.vrp-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.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); }

@media (max-width: 1080px) {
  .vrp { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .vrp-meta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vrp-stage { aspect-ratio: 4 / 3; }
  .vrp-play { width: 64px; height: 64px; }
  .vrp-play::before { inset: -7px; }
  .vrp-cap { padding: 40px 16px 15px; font-size: 14px; }
  .vrp-side h2 { font-size: 21px; }
  .vrp-acts .btn { width: 100%; }
  .vrp-meta > div { padding: 20px 18px; }
}
