
/* 舒诺口腔 官网原型 — 共享样式（韩系版）
 * 一个品牌色 + 大面积白 + 薄荷浅底；黑体系字体；圆角卡片 + 淡阴影；区块留白大、标题居中带英文小标。
 * 色板与字体说明见 README「设计方案」。
 */

:root {
  --teal: #2fb1a8;
  --teal-deep: #22a199;
  --teal-ink: #177a73;
  --teal-tint: #e9f7f5;
  --mint: #f2faf9;
  --mint-2: #e3f3f0;
  --ink: #2b3436;
  --ink-2: #66727a;
  --ink-3: #98a3a8;
  --paper: #ffffff;
  --paper-2: #f5f8f8;
  --line: #e8ecec;
  --line-strong: #d3dada;
  --danger: #d0503f;
  --warn-bg: #fff8e6;
  --warn-ink: #8a6a12;

  --shadow-card: 0 8px 24px rgba(31, 42, 46, .06);
  --shadow-hover: 0 16px 36px rgba(31, 42, 46, .10);
  --shadow-float: 0 12px 32px rgba(31, 42, 46, .14);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: var(--font-sans);

  --container: 1200px;
  --gutter: 24px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --header-h: 72px;
  --header-h-compact: 60px;
  --photo-filter: brightness(1.04) saturate(.95);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--teal-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(47, 177, 168, .55); outline-offset: 2px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--radius-xs); z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }
.note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.empty { color: var(--ink-3); padding: 40px 0; text-align: center; }

/* 照片统一提亮（正式版用修图替代） */
.hero-bg, .service-media img, .detail-hero-media img,
.clinic-photo img, .env-item img, .carousel img, .article-cover img, .article-figure img,
.about-intro img, .related-row img { filter: var(--photo-filter); }

/* 待补占位 */
.pending-inline { color: var(--ink-3); border-bottom: 1px dashed var(--line-strong); }
.pending-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 12px; line-height: 1; padding: 6px 10px;
  background: rgba(255, 255, 255, .94); color: var(--ink-2);
  border: 1px dashed var(--line-strong); border-radius: 999px;
}
.pending-box {
  display: grid; place-items: center; color: var(--ink-3); font-size: 13px; min-height: 96px; padding: 20px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper-2);
}
.pending-box.fill { width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.pending-box.fill.tall { min-height: 420px; }
.pending-tag { display: inline-block; margin-left: 8px; font-size: 12px; padding: 2px 8px; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--ink-3); vertical-align: middle; }

/* 英文小标 */
.eyebrow { display: block; font-size: 12px; letter-spacing: .22em; color: var(--teal); font-weight: 600; margin-bottom: 10px; }

/* 图标 */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.icon-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); flex: none; }
.icon-badge .icon { width: 22px; height: 22px; }

/* 进场动效 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: inherit; font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(47, 177, 168, .28); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; box-shadow: 0 8px 20px rgba(47, 177, 168, .36); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn-light { background: #fff; color: var(--teal-ink); box-shadow: var(--shadow-card); }
.btn-light:hover { color: var(--teal-deep); box-shadow: var(--shadow-hover); }
.btn-outline-light { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline-light:hover { border-color: var(--teal); color: var(--teal-ink); }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 16px; }
.copy-inline { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.copy-inline:hover, .copy-inline:focus-visible { color: var(--teal-ink); text-decoration: underline; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .2s; }
.site-header.is-compact .header-inner { height: var(--header-h-compact); }
.site-header.is-compact { box-shadow: 0 4px 16px rgba(31, 42, 46, .05); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-cn { font-size: 21px; font-weight: 700; letter-spacing: .06em; }
.brand-en { font-size: 10px; letter-spacing: .14em; color: var(--ink-3); }

.site-nav { flex: 1; }
.nav-list { display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 10px 14px; color: var(--ink); font-weight: 500; border-radius: 999px; }
.nav-item > a:hover, .nav-item > a[aria-current="page"] { color: var(--teal-ink); background: var(--teal-tint); }
.nav-sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 184px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 10px; font-size: 14px; }
.nav-sub a:hover { background: var(--paper-2); color: var(--teal-ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.header-phone:hover { color: var(--teal-ink); }
.nav-toggle { display: none; }
.nav-phones { display: none; }

/* ---------- 首屏：通栏大图 ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; overflow: hidden; background: var(--paper-2); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: var(--photo-filter); animation: hero-in 1.2s ease-out both; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .84) 30%, rgba(255, 255, 255, .35) 55%, rgba(255, 255, 255, 0) 75%); }
.hero-content { position: relative; padding: 80px 0 96px; max-width: 640px; margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-title {
  font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 54px); font-weight: 700;
  letter-spacing: .02em; line-height: 1.3; display: flex; flex-direction: column; gap: 2px;
}
.hero-title .hl { display: inline; font-style: normal; background: linear-gradient(transparent 58%, var(--mint-2) 58%); padding: 0 2px; }
.hero-lead { margin-top: 24px; max-width: 30em; font-size: 17px; color: var(--ink-2); }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* ---------- 通用区块 ---------- */
.section { padding: 112px 0; }
.section-tinted { background: var(--mint); }
.section-flush { padding-top: 0; }
.section-tight { padding-top: 48px; }
.section-slim { padding-bottom: 48px; }
.section-top-sm { padding-top: 32px; }
/* 区块标题：标题居中，「查看全部 →」文字链接靠右与标题同行 */
.section-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 6px; text-align: center; margin-bottom: 48px; }
.section-head .eyebrow { grid-row: 1; grid-column: 1 / -1; margin-bottom: 4px; }
.section-head h2 { grid-row: 2; grid-column: 2; font-family: var(--font-display); font-size: 34px; letter-spacing: .02em; }
.section-head p { grid-row: 3; grid-column: 1 / -1; max-width: 40em; margin-inline: auto; color: var(--ink-2); }
.section-link { grid-row: 2; grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.section-link::after {
  content: ""; width: 16px; height: 16px; background: currentColor; color: var(--teal); transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section-link:hover { color: var(--teal-ink); }
.section-link:hover::after { transform: translateX(4px); }
.h-sub { font-size: 18px; font-weight: 600; margin-bottom: 16px; }

/* 诊疗项目（首页六宫格） */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.service-tile a { display: block; color: inherit; }
.service-tile a:hover { color: inherit; }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-tile a:hover .service-media { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-tile h3 { margin-top: 18px; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.service-tile h3 small { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: auto; }
.service-tile h3 .icon-badge { width: 40px; height: 40px; }
.service-tile h3 .icon-badge .icon { width: 20px; height: 20px; }
.service-tile p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.service-tile .sub { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.service-tile a:hover h3 { color: var(--teal-ink); }

/* 诊疗项目横条列表（首页 + 总览页共用）：图在左，名称 / 一句话 / 子项目在右 */
.service-rows { border-top: 1px solid var(--line); }
.svc-row a {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) 20px; align-items: center; gap: 24px;
  padding: 18px 16px; margin: 0 -16px; border-bottom: 1px solid var(--line); color: inherit;
  transition: background-color .2s, box-shadow .2s, transform .2s;
}
.svc-row a:hover { color: inherit; background: #fff; box-shadow: var(--shadow-hover); transform: translateY(-2px); border-bottom-color: transparent; border-radius: 16px; }
.svc-thumb { position: relative; width: 160px; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); }
.svc-thumb .pending-badge { top: 8px; left: 8px; padding: 4px 7px; font-size: 11px; }
.svc-body { display: grid; gap: 4px; min-width: 0; }
.svc-name { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.svc-name .icon-badge { width: 30px; height: 30px; }
.svc-name .icon-badge .icon { width: 16px; height: 16px; }
.svc-row a:hover .svc-name { color: var(--teal-ink); }
.svc-tag { font-size: 15px; color: var(--ink); }
.svc-sub { font-size: 13px; color: var(--ink-3); }
.svc-arrow { width: 20px; height: 20px; background: currentColor; color: var(--teal); transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-row a:hover .svc-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .svc-row a, .svc-arrow { transition: none; } }

/* 医生团队 */
.doctor-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.doctor-card a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.doctor-card a:hover { color: inherit; }
.doctor-photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: linear-gradient(180deg, #f3faf9 0%, #e4f2ef 100%); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; mix-blend-mode: multiply; }
.doctor-card a:hover .doctor-photo { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.doctor-card h3 { margin-top: 16px; font-size: 20px; letter-spacing: .06em; }
.doctor-card h3 small { font-size: 13px; letter-spacing: 0; color: var(--teal-ink); margin-left: 10px; font-weight: 500; }
.doctor-card .meta { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.doctor-card .role { font-size: 13px; color: var(--ink-2); }
.doctor-card .tags { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.doctor-card .tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); }
.doctor-card a:hover h3 { color: var(--teal-ink); }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }

/* 医生横向图文卡（首页 + 医生团队页） */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.doc-card a {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; height: 100%;
  padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.doc-card a:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.doc-photo { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #f3faf9 0%, #e4f2ef 100%); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; mix-blend-mode: multiply; }
.doc-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 4px 0; }
.doc-name { font-size: 21px; font-weight: 600; letter-spacing: .06em; }
.doc-name small { font-size: 13px; letter-spacing: 0; color: var(--teal-ink); margin-left: 10px; font-weight: 500; }
.doc-card a:hover .doc-name { color: var(--teal-ink); }
.doc-meta { font-size: 13px; color: var(--ink-3); }
.doc-tags { font-size: 14px; color: var(--ink-2); }
.doc-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.doc-link::after { content: ""; width: 15px; height: 15px; background: currentColor; color: var(--teal); transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.doc-card a:hover .doc-link::after { transform: translateX(4px); }
.more-card a { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; background: var(--mint); box-shadow: none; border: 1px dashed var(--line-strong); }
.more-card a:hover { box-shadow: var(--shadow-card); border-color: var(--teal); }
.more-label { font-size: 19px; font-weight: 600; }
.more-sub { font-size: 13px; color: var(--ink-3); }
.more-arrow { width: 22px; height: 22px; margin-top: 6px; background: currentColor; color: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 门店 Tab + 大图面板（首页 + 门店页） */
.clinic-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.clinic-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .15s, color .15s, border-color .15s;
}
.clinic-tabs [role="tab"] small { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.clinic-tabs [role="tab"].is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.clinic-tabs [role="tab"].is-active small { color: rgba(255, 255, 255, .8); }
.clinic-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; background: #fff; border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.clinic-panel[hidden] { display: none; }
.clinic-tabs-wrap.is-stacked { display: grid; gap: 24px; }
.clinic-panel.is-stacked { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 480px; }
.clinic-panel .carousel { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.clinic-panel.is-stacked .carousel { aspect-ratio: auto; min-height: 480px; }
.clinic-panel-info { display: flex; flex-direction: column; }
.clinic-panel-link { display: flex; flex-direction: column; flex: 1; padding: 32px 36px 20px; color: inherit; transition: background-color .2s; }
.clinic-panel-link:hover { color: inherit; background: var(--mint); }
.clinic-panel-head { display: grid; gap: 4px; }
.clinic-panel-name { font-size: 26px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.clinic-panel-link:hover .clinic-panel-name { color: var(--teal-ink); }
.clinic-panel-full { font-size: 13px; color: var(--ink-3); }
.clinic-panel-name .status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--teal-ink); white-space: nowrap; }
.clinic-panel-name .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.clinic-panel-name .status.is-pending { color: var(--ink-3); } .clinic-panel-name .status.is-pending::before { background: var(--line-strong); }
.clinic-panel-link .clinic-facts { margin-top: 18px; }
.clinic-panel-link .clinic-facts > div { border-bottom: 0; padding: 5px 0; }
.clinic-panel-link .clinic-facts dd { color: var(--ink); font-weight: 500; }
.clinic-panel-link .chip-list { margin-top: 14px; }
.panel-link { margin-top: auto; padding-top: 18px; }
.clinic-panel-link:hover .panel-link::after { transform: translateX(4px); }
.clinic-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 36px 32px; }
.clinic-panel-actions .btn-primary { grid-column: 1 / -1; }

/* 就诊门店 */
.clinic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.clinic-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 14px 14px 22px; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.clinic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.clinic-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--paper-2); }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; }
.clinic-card h3 { margin: 16px 6px 0; font-size: 19px; }
.clinic-card .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--teal-ink); margin-left: 10px; vertical-align: middle; }
.clinic-card .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.clinic-card .status.is-pending { color: var(--ink-3); }
.clinic-card .status.is-pending::before { background: var(--line-strong); }
.clinic-card address { font-style: normal; margin: 8px 6px 0; color: var(--ink-2); font-size: 15px; display: grid; gap: 2px; }
.clinic-card address .copy-inline { width: fit-content; }
.clinic-card address .muted { color: var(--ink-3); }
.clinic-card .actions { margin: 16px 6px 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* 环境展示 */
.env-masonry { columns: 3; column-gap: 20px; }
.env-item { break-inside: avoid; margin-bottom: 20px; }
.env-item figure { margin: 0; }
.env-item button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.env-item button:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.env-item img { width: 100%; }
.env-item figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* 口腔科普（首页列表） */
.article-list { display: grid; gap: 12px; }
.article-list li a {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center;
  padding: 18px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: inherit; transition: border-color .18s, box-shadow .18s;
}
.article-list li a:hover { color: inherit; border-color: var(--teal-tint); box-shadow: var(--shadow-card); }
.article-list .cat { font-size: 13px; color: var(--teal-ink); }
.article-list .title { font-size: 17px; font-weight: 500; }
.article-list li a:hover .title { color: var(--teal-ink); }
.article-list .date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 预约 CTA */
.cta-band { background: linear-gradient(135deg, #e7f6f3 0%, #f4fbfa 100%); color: var(--ink); padding: 80px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-slogan { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; }
.cta-sub { margin-top: 12px; color: var(--ink-2); max-width: 36em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-light { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(47, 177, 168, .28); }
.cta-band .btn-light:hover { background: var(--teal-deep); color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--paper-2); color: var(--ink-2); padding: 64px 0 40px; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--teal-ink); }
.site-footer h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 64px; }
.footer-clinics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-clinics address { font-style: normal; display: grid; align-content: start; gap: 2px; line-height: 1.6; }
.footer-clinics .name { font-weight: 600; color: var(--ink); }
.footer-clinics .muted { color: var(--ink-3); }
.footer-links ul { display: grid; grid-template-columns: repeat(2, auto); column-gap: 36px; row-gap: 10px; }
.qr-row { display: flex; gap: 16px; }
.qr-row figure { margin: 0; text-align: center; }
.qr-box { width: 96px; height: 96px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; color: var(--ink-3); font-size: 12px; }
.qr-row figcaption { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--ink-3); font-size: 13px; }
.footer-legal .pending-inline { color: var(--ink-3); }
.footer-legal a { color: var(--ink-2); margin-right: 20px; }
.footer-legal .mps { display: inline-flex; align-items: center; gap: 4px; }
.shield { width: 14px; height: 16px; background: #4a90d9; clip-path: polygon(50% 0, 100% 20%, 92% 70%, 50% 100%, 8% 70%, 0 20%); display: inline-block; }
.footer-disclaimer { color: var(--ink-3); }

/* ---------- 右侧快捷条（PC） ---------- */
.quick-menu {
  position: fixed; right: 20px; bottom: 96px; z-index: 60;
  display: flex; flex-direction: column; gap: 6px; padding: 6px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-float); border: 1px solid var(--line);
}
.quick-menu > a, .quick-menu > button, .quick-menu .qm-phone > button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 60px; height: 60px; border-radius: 50%; border: 0; background: none; cursor: pointer;
  color: var(--ink-2); font-family: inherit; font-size: 11px; line-height: 1; transition: background-color .18s, color .18s;
}
.quick-menu > a:hover, .quick-menu > button:hover, .quick-menu .qm-phone:hover > button, .quick-menu .qm-phone:focus-within > button { background: var(--teal-tint); color: var(--teal-ink); }
.quick-menu .icon { width: 22px; height: 22px; }
.quick-menu .qm-primary { background: var(--teal); color: #fff; }
.quick-menu .qm-primary:hover { background: var(--teal-deep); color: #fff; }
.quick-menu .qm-top { border-top: 1px solid var(--line); border-radius: 0 0 999px 999px; height: 44px; }
.qm-pop {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  width: 168px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-float); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 12px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.qm-pop .qr-box { width: 120px; height: 120px; margin: 0 auto 8px; }
.quick-menu .qm-wechat:hover .qm-pop, .quick-menu .qm-wechat:focus-within .qm-pop { opacity: 1; visibility: visible; }
.qm-phone { position: relative; width: 60px; height: 60px; }
.qm-phone::before { content: ""; position: absolute; right: 100%; top: 0; width: 14px; height: 100%; }
.quick-menu .qm-phone:hover .qm-pop, .quick-menu .qm-phone:focus-within .qm-pop { opacity: 1; visibility: visible; }
.qm-phone-pop { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 196px; }
.qm-phone-label { color: var(--ink-3); }
.qm-phone-number { color: var(--ink); font-size: 17px; line-height: 1.3; white-space: nowrap; user-select: text; }
.quick-menu .qm-copy { width: 100%; min-height: 32px; padding: 0 12px; border: 1px solid var(--teal); border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); font: inherit; cursor: pointer; }
.quick-menu .qm-copy:hover, .quick-menu .qm-copy:focus-visible { background: var(--teal); color: #fff; }
.qm-phone-feedback { min-height: 1em; color: var(--teal-ink); }

/* ---------- 移动端浮条 ---------- */
.mobile-bar { display: none; }

/* ---------- 弹层 ---------- */
.modal[hidden], .lightbox[hidden], .toast[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(31, 42, 46, .5); }
.modal-panel {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
}
.modal-close, .lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--paper-2); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2);
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.booking-form h2, .booking-success h2 { font-family: var(--font-display); font-size: 24px; }
.form-hint { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.field { display: grid; gap: 6px; margin-top: 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="search"], .field textarea {
  width: 100%; min-height: 46px; padding: 0 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
}
.field textarea { padding: 10px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.field input.is-invalid { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; inset: 0; }
.choice-row span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s, color .15s; }
.choice-row span small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; margin-top: 2px; }
.choice-row input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.choice-row input:focus-visible + span { outline: 3px solid rgba(47, 177, 168, .55); outline-offset: 2px; }
.choice-row input:disabled + span { color: var(--ink-3); border-style: dashed; cursor: not-allowed; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.consent input { margin-top: 5px; width: 16px; height: 16px; accent-color: var(--teal); }
.form-error { min-height: 22px; margin-top: 8px; color: var(--danger); font-size: 14px; }
.booking-success p { margin-top: 12px; color: var(--ink-2); }
.booking-no strong { color: var(--ink); font-size: 18px; letter-spacing: .04em; }
.booking-success .btn { margin-top: 20px; }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(15, 20, 22, .9); }
.lightbox-figure { position: relative; margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox-figure img { max-height: 82vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox-figure figcaption { color: #c8d0d2; margin-top: 12px; font-size: 14px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox-nav.prev { left: -64px; }
.lightbox-nav.next { right: -64px; }
.lightbox-close { top: -48px; right: 0; background: rgba(255, 255, 255, .15); color: #fff; }

/* 提示 */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 99;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px;
  box-shadow: var(--shadow-float); max-width: calc(100vw - 40px);
}

/* =====================================================================
   内页组件
   ===================================================================== */

.page-main { padding-top: 8px; }
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: var(--ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb [aria-current] { color: var(--ink); }
.page-head { padding: 32px 0 44px; max-width: 760px; margin-inline: auto; text-align: center; }
.page-head h1 { font-family: var(--font-display); font-size: 38px; letter-spacing: .02em; }
.page-head p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }

/* 标签行 */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip-list li { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.chip-list.large li { font-size: 14px; padding: 7px 14px; background: var(--teal-tint); color: var(--teal-ink); }

/* 按症状找项目 */
.symptom-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.symptom-row a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: var(--shadow-card); text-align: center; transition: transform .2s, box-shadow .2s; }
.symptom-row a span { font-weight: 600; }
.symptom-row a small { font-size: 12px; color: var(--ink-3); }
.symptom-row a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--teal-ink); }

/* 详情页通用布局 */
.detail-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; padding: 20px 0 80px; }
.detail-layout.single { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.detail-block { padding: 40px 0; border-top: 1px solid var(--line); }
.detail-block:first-child { border-top: 0; padding-top: 0; }
.detail-block h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 20px; letter-spacing: .02em; }
.detail-block p + p { margin-top: 10px; }
.detail-block .pending-box { margin-top: 4px; }

.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: end; padding-bottom: 40px; }
.detail-hero h1 { font-family: var(--font-display); font-size: 40px; letter-spacing: .02em; display: flex; align-items: center; gap: 14px; }
.detail-hero .tagline { margin-top: 8px; color: var(--teal-ink); font-size: 16px; }
.detail-hero .lead { margin-top: 14px; color: var(--ink-2); }
.detail-hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-tint); }
.check-list li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 5px; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg); }
.check-list.small { gap: 6px; font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.check-list.small li { padding-left: 24px; }
.check-list.small li::before { width: 16px; height: 16px; top: 4px; }
.check-list.small li::after { left: 4px; top: 8px; width: 7px; height: 4px; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.process li { counter-increment: step; padding: 22px 18px; background: var(--mint); border-radius: 16px; }
.process li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.process h3 { font-size: 16px; }
.process p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tech-grid.three { grid-template-columns: repeat(3, 1fr); }
.tech-grid li { padding: 20px 22px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.section-tinted .tech-grid li { box-shadow: none; }
.tech-grid h3 { font-size: 16px; }
.tech-grid p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.tech-grid.columns h3 { font-size: 18px; color: var(--teal-ink); }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

.doctor-row.compact { grid-template-columns: repeat(4, 1fr); }
.related-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-row.six { grid-template-columns: repeat(6, 1fr); }
.related-row a { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; color: #fff; box-shadow: var(--shadow-card); transition: transform .2s; }
.related-row a:hover { transform: translateY(-3px); color: #fff; }
.related-row img { width: 100%; height: 100%; object-fit: cover; }
.related-row span { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 10px; font-weight: 500; background: linear-gradient(transparent, rgba(31, 42, 46, .7)); }

/* 项目详情：通栏大图 + 锚点栏 + 单栏卡片 */
.svc-hero { position: relative; margin-top: 16px; min-height: 400px; display: grid; align-items: center; overflow: hidden; background: var(--paper-2); border-radius: 24px; box-shadow: var(--shadow-card); }
.svc-hero .hero-bg { object-position: 60% center; animation: none; }
.svc-hero .hero-shade { background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .88) 34%, rgba(255, 255, 255, .4) 58%, rgba(255, 255, 255, 0) 78%); }
.svc-hero-badge { top: 16px; right: 16px; left: auto; }
.svc-hero-content { position: relative; padding: 56px 48px; max-width: 680px; }
.svc-hero-content h1 { font-family: var(--font-display); font-size: 40px; letter-spacing: .02em; display: flex; align-items: center; gap: 14px; }
.svc-hero-content .tagline { margin-top: 10px; color: var(--teal-ink); font-size: 16px; }
.svc-hero-content .lead { margin-top: 12px; color: var(--ink-2); max-width: 32em; }

.anchor-bar { position: sticky; top: var(--header-h-compact); z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.anchor-bar-inner { display: flex; align-items: center; gap: 24px; min-height: 56px; }
.svc-hero-content h1 small { font-size: 16px; letter-spacing: 0; color: var(--teal-ink); margin-left: 14px; font-weight: 500; }
.svc-hero-content h1 .status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--teal-ink); margin-left: 12px; vertical-align: middle; white-space: nowrap; }
.svc-hero-content h1 .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.svc-hero-content h1 .status.is-pending { color: var(--ink-3); } .svc-hero-content h1 .status.is-pending::before { background: var(--line-strong); }
.hero-facts { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 14px; }
.hero-facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.hero-facts dt { color: var(--ink-3); }
.hero-facts dd { margin: 0; }
.hero-facts code { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--teal-tint); color: var(--teal-ink); padding: 1px 6px; border-radius: 6px; }
.svc-hero-content .notice { max-width: 34em; }
.svc-hero.is-portrait { background: linear-gradient(135deg, #f4fbfa 0%, #e6f4f1 100%); min-height: 440px; }
.svc-hero.is-portrait .svc-hero-content { max-width: 720px; }
.hero-portrait { position: absolute; right: 56px; bottom: 0; height: 100%; width: auto; max-width: 40%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply; }
.hero-portrait.pending-box { height: 78%; width: 280px; bottom: auto; top: 11%; border-radius: 16px; }
.svc-hero .hero-carousel { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.svc-hero .hero-carousel .carousel-dots { left: auto; right: 24px; bottom: 20px; }
.anchor-bar ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-bar ul::-webkit-scrollbar { display: none; }
.anchor-bar li a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.anchor-bar li a:hover { color: var(--teal-ink); }
.anchor-bar li a.is-active { background: var(--teal-tint); color: var(--teal-ink); }

.detail-single { display: grid; gap: 20px; padding: 32px 0 80px; }
.detail-card { padding: 32px 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); scroll-margin-top: 128px; }
.detail-card h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 18px; letter-spacing: .02em; }
.detail-card .pending-box { margin-top: 4px; }
.detail-card .doc-grid { gap: 16px; }
.detail-card .doc-card a { box-shadow: none; border: 1px solid var(--line); }
.detail-card .doc-card a:hover { box-shadow: var(--shadow-card); border-color: var(--teal-tint); }
.detail-card .related-row { grid-template-columns: repeat(3, 1fr); }
.detail-card .tech-grid.three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check-list.two-col { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }

/* 侧栏 */
.detail-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.side-card { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.side-card h2 { font-size: 19px; font-family: var(--font-display); }
.side-card > p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.side-form .field { margin-top: 14px; }
.side-form .btn { margin-top: 16px; }
.side-link { display: block; margin-top: 12px; font-size: 13px; text-align: center; }
.side-success h3 { font-size: 18px; }
.side-miniapp { margin: 0; text-align: center; }
.side-miniapp .miniapp-lead { margin: 0; color: var(--ink-2); font-size: 16px; }
.side-miniapp .miniapp-qr { width: min(100%, 216px); aspect-ratio: 1; margin: 22px auto 18px; padding: 16px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 3px 12px rgba(31, 42, 46, .06); box-sizing: border-box; }
.side-miniapp .miniapp-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.side-miniapp .miniapp-qr span { color: var(--ink-3); font-size: 14px; }
.side-miniapp figcaption { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.side-phone p { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.side-phone p:first-of-type { border-top: 0; margin-top: 8px; }
.side-phone .copy-inline { font-weight: 600; }

/* 医生团队 */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin-bottom: 28px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group + .filter-group { padding-left: 24px; margin-left: 24px; border-left: 1px solid var(--line); }
.filter-label { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.filter-group button, .tag-tabs button { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 14px; transition: background-color .15s, color .15s, border-color .15s; }
.filter-group button.is-active, .tag-tabs button.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }
.nurse-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 960px; margin-inline: auto; }
.nurse-row > li { flex: 0 1 190px; min-width: 0; text-align: center; }
.nurse-photo { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #fff; }
.nurse-row h3 { margin-top: 10px; font-size: 17px; letter-spacing: .06em; }
.nurse-row p { font-size: 13px; color: var(--ink-2); }

/* 医生详情 */
.doctor-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: 24px 0 8px; align-items: start; }
.doctor-hero-photo { margin: 0; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #f3faf9 0%, #e4f2ef 100%); box-shadow: var(--shadow-card); }
.doctor-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; mix-blend-mode: multiply; }
.doctor-hero-text h1 { font-family: var(--font-display); font-size: 42px; letter-spacing: .08em; }
.doctor-hero-text h1 small { font-size: 16px; letter-spacing: 0; color: var(--teal-ink); margin-left: 14px; font-weight: 500; }
.doctor-hero-text .role { margin-top: 6px; color: var(--ink-2); font-weight: 500; }
.notice { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
.doctor-facts { margin: 22px 0 0; border-top: 1px solid var(--line); }
.doctor-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.doctor-facts dt { color: var(--ink-3); }
.doctor-facts dd { margin: 0; }
.doctor-facts code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; letter-spacing: .04em; background: var(--teal-tint); color: var(--teal-ink); padding: 2px 8px; border-radius: 6px; }
.doctor-hero-text .hero-actions { margin-top: 24px; }
.cert-list { display: grid; gap: 8px; }
.cert-list li { padding-left: 16px; position: relative; }
.cert-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* 门店详情 */
.clinic-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding: 24px 0 16px; align-items: center; }
.carousel { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-card); }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.carousel img.is-active { opacity: 1; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; padding: 0; }
.carousel-dots button.is-active { background: #fff; }
.clinic-info h1 { font-family: var(--font-display); font-size: 30px; letter-spacing: .02em; line-height: 1.35; }
.clinic-info .status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--teal-ink); margin-left: 12px; vertical-align: middle; }
.clinic-info .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.clinic-info .status.is-pending { color: var(--ink-3); } .clinic-info .status.is-pending::before { background: var(--line-strong); }
.clinic-facts { margin: 18px 0 0; }
.clinic-facts > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.clinic-facts dt { color: var(--ink-3); }
.clinic-facts dd { margin: 0; }
.clinic-facts a { color: var(--ink); font-weight: 600; }
.clinic-info .hero-actions { margin-top: 20px; }
.tag-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.map-placeholder { display: grid; place-items: center; min-height: 320px; border-radius: var(--radius); background: var(--paper-2); border: 1px dashed var(--line-strong); color: var(--ink-3); font-size: 14px; }
.map-placeholder.small { min-height: 200px; margin-bottom: 12px; }

/* 关于舒诺 */
.about-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-bottom: 80px; }
.about-intro p + p { margin-top: 14px; }
.about-intro p { font-size: 17px; color: var(--ink-2); }
.about-intro figure { margin: 0; }
.about-intro img { border-radius: 24px; box-shadow: var(--shadow-card); }
.about-intro figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid li { padding: 28px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.feature-grid .icon-badge { width: 52px; height: 52px; margin-bottom: 16px; }
.feature-grid .icon-badge .icon { width: 26px; height: 26px; }
.feature-grid h3 { font-size: 18px; }
.feature-grid p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline li { padding: 24px; border-radius: var(--radius); background: var(--mint); }
.timeline .year { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--teal-ink); }
.timeline p { margin-top: 6px; color: var(--ink-2); }
.license-groups { display: grid; gap: 44px; }
.license-store-name { margin: 0 0 18px; font-size: 21px; font-weight: 600; }
.license-cards { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.license-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-card); }
.license-card-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.license-document { min-width: 0; margin: 0; }
.license-license-image { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 0; padding: 12px; overflow: hidden; }
.license-license-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.license-license-image img.license-rotated { inset: auto; top: 50%; left: 50%; width: 75%; height: 133.333%; max-width: none; padding: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(.88); }
.license-document figcaption { margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.6; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
.license-card-portrait { display: grid; place-items: center; }
.license-card-portrait .license-document { width: min(100%, 220px); }
.license-card-portrait .license-license-image { aspect-ratio: 3 / 4; }

/* 在线预约页 */
.booking-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; padding-bottom: 80px; }
.booking-page-form { display: grid; gap: 8px; }
.ap-step { border: 0; padding: 28px 0; margin: 0; border-top: 1px solid var(--line); min-width: 0; }
.ap-step:first-of-type { border-top: 0; padding-top: 0; }
.ap-step legend { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 16px; }
.ap-step legend small { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; }
.clinic-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.clinic-choice label { position: relative; }
.clinic-choice input { position: absolute; opacity: 0; inset: 0; }
.clinic-choice-card { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 16px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.clinic-choice-card strong { font-size: 16px; }
.clinic-choice-card small { font-size: 12px; color: var(--ink-3); }
.clinic-choice input:checked + .clinic-choice-card { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.clinic-choice input:focus-visible + .clinic-choice-card { outline: 3px solid rgba(47, 177, 168, .55); outline-offset: 2px; }
.clinic-choice input:disabled + .clinic-choice-card { opacity: .55; border-style: dashed; cursor: not-allowed; }
.day-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 14px; }
.day-row label { position: relative; }
.day-row input { position: absolute; opacity: 0; inset: 0; }
.day-row span { display: grid; place-items: center; gap: 2px; padding: 10px 4px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; font-size: 13px; background: #fff; }
.day-row span small { font-size: 12px; color: var(--ink-3); }
.day-row input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.day-row input:checked + span small { color: rgba(255, 255, 255, .85); }
.day-row input:focus-visible + span { outline: 3px solid rgba(47, 177, 168, .55); outline-offset: 2px; }
.slot-row span { padding: 10px 18px; text-align: center; }
.booking-aside { position: sticky; top: 88px; display: grid; gap: 16px; }
.booking-aside .check-list { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.booking-done { grid-column: 1 / -1; max-width: 640px; padding: 40px 0; }
.done-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 28px; margin-bottom: 20px; box-shadow: 0 8px 20px rgba(47, 177, 168, .3); }
.booking-done h2 { font-family: var(--font-display); font-size: 30px; }
.booking-done .booking-no { margin-top: 10px; }
.booking-done .doctor-facts { margin-top: 18px; }
.booking-done > p { margin-top: 16px; color: var(--ink-2); }
.booking-done .hero-actions { margin-top: 24px; }

/* 404 */
.notfound { padding: 80px 0 120px; max-width: 640px; margin-inline: auto; text-align: center; }
.nf-code { font-family: var(--font-display); font-size: 96px; font-weight: 700; line-height: 1; color: var(--teal); }
.notfound h1 { font-family: var(--font-display); font-size: 32px; margin-top: 8px; }
.notfound > p { margin-top: 12px; color: var(--ink-2); }
.nf-search { display: flex; gap: 8px; margin-top: 24px; }
.nf-search input { flex: 1; min-height: 46px; padding: 0 16px; font: inherit; border: 1px solid var(--line-strong); border-radius: 999px; }
.nf-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.notfound .hero-actions { margin-top: 24px; justify-content: center; }

/* 对比表 */
.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); padding: 6px 18px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 16px; color: var(--teal-ink); border-bottom: 2px solid var(--teal-tint); }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 120px; }
.compare td { color: var(--ink); }

/* 按年龄段 */
.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.age-grid li { padding: 22px; border-radius: 16px; background: var(--mint); }
.age-range { display: inline-block; font-size: 22px; font-weight: 700; color: var(--teal-ink); }
.age-grid h3 { font-size: 16px; margin-top: 6px; }
.age-grid p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* 自测清单 */
.checklist-intro { color: var(--ink-2); margin-bottom: 14px; }
.self-check { display: grid; gap: 8px; }
.self-check label { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.self-check label:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.self-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.self-check-result { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: 15px; }
.self-check-result.is-warn { background: var(--warn-bg); color: var(--warn-ink); }

/* 锚点分区 */
.anchor-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.anchor-nav a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; background: #fff; }
.anchor-nav a:hover { border-color: var(--teal); color: var(--teal-ink); }
.anchor-section { padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.anchor-section h3 { font-size: 20px; margin-bottom: 10px; }

/* 科普列表 */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 24px; }
.article-card a { display: block; color: inherit; }
.article-card a:hover { color: inherit; }
.article-card a:hover h3 { color: var(--teal-ink); }
.article-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.article-card a:hover .article-cover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card .cat { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--teal-ink); }
.article-card h3 { font-size: 19px; margin-top: 4px; line-height: 1.4; }
.article-card p { margin-top: 8px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 13px; color: var(--ink-3); align-items: center; }

/* 文章详情 */
.article-head .cat { font-size: 14px; color: var(--teal-ink); }
.article-head h1 { font-family: var(--font-display); font-size: 34px; letter-spacing: .02em; margin-top: 8px; line-height: 1.35; }
.article-head .lead { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.article-head .article-meta { margin-top: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.article-meta .author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.article-meta .author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; }
.article-body .notice { margin-top: 20px; }
.article-body { min-width: 0; }
.article-figure { margin: 24px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.article-rich-content { min-width: 0; }
.article-rich-content p { max-width: 680px; margin: 5px 0; padding: 5px 0; color: #616060; font-size: 14px; line-height: 26px; text-indent: 2em; }
.article-rich-content p img { margin-inline: auto; }
.article-rich-content ul, .article-rich-content ol { margin: 10px 0; padding-left: 2em; list-style-position: outside; }
.article-rich-content ul { list-style-type: disc; }
.article-rich-content ol { list-style-type: decimal; }
.article-rich-content li { display: list-item; }
.article-body > p.note { font-size: 13px; line-height: 1.7; margin-top: 28px; }
.article-table-scroll { width: 100%; max-width: 42.5rem; margin: 20px 0 26px; overflow-x: auto; overscroll-behavior-inline: contain; }
.article-table-scroll table { width: 100% !important; min-width: 640px; border-collapse: collapse; border-spacing: 0; table-layout: fixed; font-size: 15px; line-height: 1.6; }
.article-table-scroll :is(th, td) { width: auto !important; padding: 11px 13px !important; border: 1px solid var(--line-strong) !important; vertical-align: top; overflow-wrap: anywhere; }
.article-table-scroll table:has(tr:first-child > :nth-child(3):last-child) tr > :first-child { width: 22% !important; }
.article-table-scroll :is(th, td) :is(p, span, strong, b) { font-size: inherit !important; line-height: inherit !important; }
.article-rich-content .article-table-scroll p { max-width: none; margin: 0; padding: 0; text-indent: 0; }
.article-table-scroll :is(th, tr:first-child td) { background: var(--mint); font-weight: 600; }
.article-body .detail-block { margin-top: 32px; }
.author-row { display: flex; align-items: center; gap: 12px; margin: 14px 0 16px; color: var(--ink); }
.author-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-row:hover { color: var(--teal-ink); }
.side-list { display: grid; gap: 10px; margin-top: 12px; }
.side-list a { color: var(--ink); font-size: 15px; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.qr-row.light .qr-box { background: #fff; }
.contact-text { color: var(--ink-2); }

/* 法务页 */
.legal-layout { max-width: 800px; padding-bottom: 80px; }
.legal-layout .page-head { text-align: left; margin-inline: 0; }
.legal-layout .page-head p { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.legal-body section { padding: 20px 0; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: 18px; margin-bottom: 8px; }
.legal-body p { color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-row { grid-template-columns: repeat(3, 1fr); }
  .clinic-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: auto auto; justify-content: start; }
  .footer-clinics { grid-column: 1 / -1; }
  .lightbox-nav.prev { left: 8px; } .lightbox-nav.next { right: 8px; }
  .symptom-row { grid-template-columns: repeat(4, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .doctor-row.compact { grid-template-columns: repeat(3, 1fr); }
  .doc-card a { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .clinic-panel { grid-template-columns: 1fr; }
  .clinic-panel .carousel { aspect-ratio: 16 / 9; }
  .related-row.six { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .license-cards { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
  .side-miniapp { width: min(100%, 430px); justify-self: center; box-sizing: border-box; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .quick-menu { right: 12px; }
  .svc-row a { grid-template-columns: 140px minmax(0, 1fr) 20px; }
}

/* 平板保留多列内容，但页头改用展开菜单，避免导航文字被挤成竖排。 */
@media (min-width: 768px) and (max-width: 1079px) {
  :root { --header-h: 60px; --header-h-compact: 60px; }
  .header-inner { gap: 12px; }
  .brand-en { display: none; }
  .header-phone, .header-actions .btn-primary { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 12px var(--gutter) 40px; overflow: auto; display: none; z-index: 60; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item > a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item > a:hover, .nav-item > a[aria-current="page"] { background: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav-sub a { padding: 10px 4px; color: var(--ink-2); }
  .nav-phones { display: grid; margin-top: 20px; gap: 8px; font-size: 15px; }
  .nav-phones .copy-inline { color: var(--ink); font-weight: 500; }
  body.is-nav-open { overflow: hidden; }
  html:not(.enhanced) .site-header { position: static; }
  html:not(.enhanced) .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; }
  html:not(.enhanced) .site-nav { display: block; position: static; order: 3; flex: 0 0 100%; padding: 0 0 20px; overflow: visible; }
  html:not(.enhanced) .nav-toggle { display: none; }
}

@media (max-width: 767px) {
  :root { --header-h: 56px; --header-h-compact: 56px; --gutter: 16px; }
  .header-inner { gap: 12px; }
  .brand-en { display: none; }
  .brand-cn { font-size: 20px; }
  .header-phone, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
  .header-actions { margin-left: auto; }

  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 12px var(--gutter) 90px; overflow: auto; display: none; z-index: 60; }
  .site-nav.is-open { display: block; }
  html:not(.enhanced) .site-header { position: static; }
  html:not(.enhanced) .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; }
  html:not(.enhanced) .site-nav { display: block; position: static; order: 3; flex: 0 0 100%; padding: 0 0 20px; overflow: visible; }
  html:not(.enhanced) .nav-toggle { display: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item > a { display: block; padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item > a:hover, .nav-item > a[aria-current="page"] { background: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .nav-sub a { padding: 10px 4px; color: var(--ink-2); }
  .nav-phones { display: grid; margin-top: 20px; gap: 8px; font-size: 15px; }
  .nav-phones .copy-inline { color: var(--ink); font-weight: 500; }

  .hero { min-height: min(660px, calc(100vh - var(--header-h))); align-items: end; }
  .hero-bg { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, .96) 100%); }
  .hero-content { padding: 96px var(--gutter) 72px; margin-left: 0; max-width: none; }
  .hero-content .eyebrow { margin-bottom: 12px; }
  .hero-title { font-size: 32px; }
  .hero-lead { font-size: 15px; margin-top: 16px; }
  .hero-actions .btn { flex: 1; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; grid-template-columns: 1fr; }
  .section-head h2 { font-size: 27px; grid-column: 1; }
  .section-link { grid-row: 4; grid-column: 1; justify-self: end; margin-top: 6px; font-size: 14px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .svc-row a { grid-template-columns: 104px minmax(0, 1fr) 18px; gap: 12px; padding: 12px 4px; margin: 0; border-radius: 0; }
  .svc-row a:hover { transform: none; box-shadow: none; background: none; border-bottom-color: var(--line); }
  .svc-thumb { width: 104px; border-radius: 10px; }
  .svc-name { font-size: 16px; gap: 8px; }
  .svc-name .icon-badge { width: 26px; height: 26px; }
  .svc-name .icon-badge .icon { width: 14px; height: 14px; }
  .svc-tag { font-size: 13px; color: var(--ink-2); }
  .svc-sub { display: none; }
  .svc-arrow { width: 18px; height: 18px; }
  .service-tile h3 { font-size: 16px; margin-top: 10px; gap: 8px; }
  .service-tile h3 .icon-badge { width: 32px; height: 32px; }
  .service-tile h3 .icon-badge .icon { width: 16px; height: 16px; }
  .service-tile h3 small, .service-tile p, .service-tile .sub { display: none; }
  .doctor-row { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .doctor-card { flex: 0 0 46%; scroll-snap-align: start; }
  .doctor-card h3 { font-size: 18px; }
  .clinic-grid { grid-template-columns: 1fr; gap: 20px; }
  .env-masonry { columns: 2; column-gap: 12px; }
  .env-item { margin-bottom: 12px; }
  .article-list li a { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .article-list .title { font-size: 16px; }
  .cta-band { padding: 56px 0; }
  .cta-slogan { font-size: 26px; }
  .cta-actions { width: 100%; } .cta-actions .btn { flex: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-clinics { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-legal a { display: block; margin: 0 0 4px; }

  .quick-menu { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(56px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(31, 42, 46, .06);
  }
  .mobile-bar a, .mobile-bar button {
    display: grid; place-items: center; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; border: 0; background: none; cursor: pointer;
  }
  .mobile-bar .primary { background: var(--teal); color: #fff; }
  body.is-nav-open { overflow: hidden; }
  body.is-nav-open .mobile-bar { display: none; }
  .modal { padding: 0; align-items: end; }
  .modal-panel { width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0; padding: 24px 20px 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }

  .page-head { padding: 20px 0 28px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 15px; }
  .symptom-row { grid-template-columns: repeat(2, 1fr); }
  .svc-hero { min-height: 0; margin-top: 8px; }
  .svc-hero .hero-shade { background: linear-gradient(180deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .9) 45%, rgba(255, 255, 255, .97) 100%); }
  .svc-hero { border-radius: 18px; }
  .svc-hero-content { padding: 150px 18px 28px; max-width: none; }
  .svc-hero-content h1 { font-size: 28px; }
  .svc-hero-content .lead { font-size: 15px; }
  .anchor-bar { top: calc(var(--header-h) + 1px); }
  .anchor-bar-inner { gap: 8px; min-height: 52px; padding-block: 6px; }
  .anchor-bar ul { width: 100%; flex-wrap: wrap; justify-content: center; overflow: visible; }
  .anchor-bar li a { padding: 6px 10px; font-size: 13px; }
  .svc-hero-content h1 { display: block; }
  .svc-hero-content h1 .status { margin-left: 8px; }
  .hero-facts { grid-template-columns: 1fr; gap: 4px; font-size: 13px; }
  .hero-facts > div { grid-template-columns: 84px 1fr; }
  .svc-hero.is-portrait { min-height: 0; display: grid; }
  .svc-hero.is-portrait .svc-hero-content { padding-top: 24px; }
  .hero-portrait { position: static; height: 260px; max-width: none; margin: 20px auto 0; }
  .hero-portrait.pending-box { width: 200px; height: 260px; top: auto; }
  .svc-hero .hero-carousel .carousel-dots { right: 12px; bottom: auto; top: 12px; }
  .detail-single { padding: 20px 0 56px; gap: 14px; }
  .detail-card { padding: 22px 18px; scroll-margin-top: 152px; }
  .anchor-section { scroll-margin-top: 152px; }
  .detail-card h2 { font-size: 21px; }
  .detail-card .related-row { grid-template-columns: repeat(2, 1fr); }
  .check-list.two-col { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero-media { order: -1; }
  .detail-hero h1 { font-size: 28px; }
  .detail-block { padding: 28px 0; }
  .detail-block h2 { font-size: 22px; }
  .process { grid-template-columns: 1fr; }
  .tech-grid, .tech-grid.three { grid-template-columns: 1fr; }
  .related-row, .related-row.six { grid-template-columns: repeat(2, 1fr); }
  .doctor-row.compact { grid-template-columns: repeat(2, 1fr); display: grid; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .doctor-row.compact .doctor-card { flex: none; }
  .card-actions .btn { flex: 1; padding: 0 8px; }
  .filter-bar { gap: 10px 0; }
  .filter-group { width: 100%; }
  .filter-group + .filter-group { padding-left: 0; margin-left: 0; border-left: 0; }
  .doc-grid { grid-template-columns: 1fr; gap: 12px; }
  .doc-card a { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .doc-name { font-size: 18px; }
  .doc-tags { font-size: 13px; }
  .more-card a { align-items: center; text-align: center; padding: 20px; }
  .clinic-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; margin-inline: 0; padding-inline: 0; padding-bottom: 4px; }
  .clinic-tabs [role="tab"] { flex: none; min-height: 40px; padding: 0 16px; font-size: 14px; }
  .clinic-panel, .clinic-panel.is-stacked { grid-template-columns: 1fr; border-radius: 18px; }
  .clinic-panel.is-stacked { min-height: 0; }
  .clinic-tabs-wrap.is-stacked { gap: 16px; }
  .clinic-panel .carousel { aspect-ratio: 16 / 10; }
  .clinic-panel.is-stacked .carousel { aspect-ratio: 16 / 10; min-height: 0; }
  .clinic-panel-link { padding: 20px 18px 14px; }
  .clinic-panel-name { font-size: 21px; }
  .clinic-panel-actions { padding: 0 18px 22px; }
  .clinic-card .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clinic-card .actions .btn { min-height: 44px; padding-inline: 8px; }
  .clinic-card .actions .btn-primary { grid-column: 1 / -1; }
  .nurse-row { gap: 12px; }
  .nurse-row > li { flex-basis: min(44%, 180px); }
  .doctor-layout { grid-template-columns: 1fr; gap: 20px; }
  .doctor-hero-photo { max-width: 260px; }
  .doctor-hero-text h1 { font-size: 30px; }
  .doctor-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .clinic-hero { grid-template-columns: 1fr; gap: 20px; }
  .clinic-info h1 { font-size: 24px; }
  .clinic-info .hero-actions .btn { flex: 1; }
  .about-intro { grid-template-columns: 1fr; gap: 24px; padding-bottom: 48px; }
  .about-intro p { font-size: 15px; }
  .feature-grid, .timeline { grid-template-columns: 1fr; }
  .license-groups { gap: 32px; }
  .license-store-name { font-size: 18px; margin-bottom: 12px; }
  .license-cards { grid-template-columns: 1fr; gap: 12px; }
  .license-card { padding: 14px; }
  .license-card-docs { gap: 12px; }
  .license-license-image { padding: 6px; }
  .license-document figcaption { font-size: 12px; line-height: 1.5; }
  .clinic-choice { grid-template-columns: 1fr; }
  .day-row { grid-template-columns: repeat(4, 1fr); }
  .ap-step legend { font-size: 18px; }
  .booking-done { padding: 24px 0; }
  .nf-code { font-size: 72px; }
  .nf-search { flex-direction: column; }
  .age-grid { grid-template-columns: 1fr; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 10px 8px; }
  .compare tbody th { width: 84px; }
  .table-wrap { padding: 4px 10px; }
  .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-head h1 { font-size: 25px; }
}

  
/* SSR additions: keep content available without JavaScript. */
[hidden]{display:none!important}
.preview-banner{padding:10px 24px;background:#fff8e6;color:#8a6a12;text-align:center}
.map-links{gap:12px;padding:28px}
.map-links a,.map-links button{display:inline-flex;align-items:center;gap:8px;text-align:center}
.form-error:not(:empty){padding:10px 12px;border:1px solid #e5b6af;border-radius:8px}
