/* ==========================================================================
   高端口腔医疗 · 视觉系统
   设计定位：国际高端医疗品牌风 —— 克制的深蓝 + 医疗青，大留白、精细字距、
   真实影像驱动。所有颜色/间距/字号集中在 :root，换品牌只改这一段。
   ========================================================================== */

:root {
    /* ── 品牌色 ── */
    --navy-900: #0b2d47;       /* 深蓝基调（提亮一档，蓝调更足） */
    --navy-800: #0f3e5e;
    --navy-700: #145176;
    --navy-600: #1a6a93;
    --brand: #0e91a8;          /* 医疗青（主色，提亮提饱和） */
    --brand-600: #0a7b90;
    --brand-400: #35bcd0;      /* 亮调副色：渐变/悬停提亮用 */
    --brand-50: #e7f8fb;
    --gold: #c39a5e;           /* 点缀金（高端质感） */
    --gold-400: #e0c391;
    --gold-line: rgba(195, 154, 94, .38);

    /* ── 中性色 ── */
    --ink: #0e2233;
    --ink-2: #354a5e;
    --muted: #67808f;
    --line: #dfeaf0;
    --line-soft: #ecf4f8;
    --bg: #ffffff;
    --bg-soft: #f4fbfd;
    --bg-mist: #eaf6fa;

    /* ── 排版 ── */
    --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system,
            BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-num: "Inter", "Helvetica Neue", Arial, sans-serif;

    /* ── 尺度 ── */
    --container: 1280px;
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 22px;
    --r-xl: 32px;

    /* ── 阴影（医疗风：极淡、扩散大） ── */
    --sh-sm: 0 1px 2px rgba(16, 32, 46, .04), 0 2px 8px rgba(16, 32, 46, .04);
    --sh: 0 4px 16px rgba(16, 32, 46, .06), 0 12px 40px rgba(16, 32, 46, .06);
    --sh-lg: 0 12px 32px rgba(16, 32, 46, .09), 0 32px 80px rgba(16, 32, 46, .08);

    --header-h: 78px;          /* 主导航条高度 */
    --topbar-h: 38px;          /* 顶部信息条高度（小屏收为 0） */
    /* 固定头部总高度：内容区偏移一律用这个，改顶部条时无需逐个调整 */
    --header-offset: calc(var(--header-h) + var(--topbar-h));
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── 状态色 ──
   前台用到的不多，但后台（.alert / .ops a.danger / 必填标记）依赖这两个语义色。
   新代码请直接用 --ok / --err，不要再引入别的红绿。 */
:root {
    --ok: #0f9d77;             /* 成功 */
    --err: #e11d48;            /* 危险 / 删除 / 错误提示 */
}

/* ── 旧变量别名（兼容层）──
   早期版本的后台段与部分内联样式引用过这些名字。这里统一指向当前语义变量，
   保证任何遗留引用不会静默失效。新代码请优先用上面那套变量。 */
:root {
    --soft: var(--bg-soft);
    --soft-2: var(--bg-mist);
    --line-2: #d3e2ea;
    --brand-2: var(--brand-400);
    --brand-d: var(--brand-600);
    --maxw: var(--container);
    --radius: var(--r);
    --radius-sm: var(--r-sm);
    --shadow-sm: var(--sh-sm);
    --shadow: var(--sh);
    --shadow-lg: var(--sh-lg);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .22s var(--ease); }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(25px, 3.1vw, 38px); font-weight: 800; }
h3 { font-size: clamp(18px, 1.7vw, 22px); }
h4 { font-size: 16px; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 26px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }

/* ==========================================================================
   头部导航
   ========================================================================== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .96);
    border-bottom-color: var(--line-soft);
    box-shadow: 0 2px 20px rgba(16, 32, 46, .055);
}
.site-header .inner {
    display: flex; align-items: center; gap: 34px;
    height: var(--header-h);
}

/* ── 顶部信息条（门诊时间 / 门店 / 电话）── 正规医疗机构的标志性元素 ──
   注意：这里用 .container 承载，避免命中上面的 .site-header .inner 高度规则 */
.topbar {
    /* 顶部信息条：蓝青渐变，比纯深蓝更亮，和首屏同一色系 */
    background: linear-gradient(90deg, #0c3350 0%, #10516f 52%, #14708d 100%);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    letter-spacing: .012em;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.topbar .container {
    display: flex; align-items: center; gap: 20px;
    height: var(--topbar-h);
    min-width: 0;
}
.topbar .tb-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar .tb-item {
    display: inline-flex; align-items: center; gap: 7px;
    white-space: nowrap; min-width: 0;
}
.topbar .tb-item > .i { opacity: .72; font-size: 13px; line-height: 1; }
.topbar .tb-sep {
    width: 1px; height: 13px; flex: none;
    background: rgba(255, 255, 255, .16);
}
.topbar .tb-right {
    margin-left: auto;
    display: flex; align-items: center; gap: 18px;
    flex: none;
}
.topbar a { color: rgba(255, 255, 255, .84); }
.topbar a:hover { color: var(--brand-400); }
.topbar .tb-tel {
    font-family: var(--font-num);
    font-size: 14.5px; font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}
.topbar .tb-tag {
    display: inline-flex; align-items: center;
    padding: 2px 9px; border-radius: 100px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
    color: var(--gold-400);
    background: rgba(184, 146, 90, .17);
    border: 1px solid var(--gold-line);
}
/* 小屏：顶部条整体隐藏（--topbar-h 同步为 0，偏移量自动收敛） */
@media (max-width: 860px) {
    .topbar { display: none; }
}
@media (max-width: 1080px) {
    .topbar .tb-hide-md { display: none; }
}

/* Logo */
.logo {
    display: flex; align-items: center; gap: 12px;
    font-weight: 800; font-size: 19px; letter-spacing: -.015em;
    color: var(--navy-900); flex: none;
}
.logo:hover { color: var(--navy-900); }
.logo-mark {
    width: 40px; height: 40px; flex: none;
    display: grid; place-items: center;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--brand) 0%, var(--navy-700) 100%);
    color: #fff; font-size: 19px; font-weight: 800;
    box-shadow: 0 4px 14px rgba(14, 145, 168, .3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 18px; letter-spacing: -.01em; }
.logo-text span {
    font-size: 10.5px; font-weight: 500; letter-spacing: .13em;
    color: var(--muted); text-transform: uppercase;
}

/* 导航 */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a {
    position: relative;
    padding: 9px 15px;
    font-size: 15px; font-weight: 500; color: var(--ink-2);
    border-radius: var(--r-sm);
    white-space: nowrap;
}
.nav > a:hover { color: var(--brand); background: var(--brand-50); }
.nav > a.active { color: var(--brand); font-weight: 700; }
.nav > a.active::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 1px;
    height: 2.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-400));
}
.header-cta { flex: none; margin-left: 6px; }
.menu-btn {
    display: none; margin-left: auto;
    width: 42px; height: 42px;
    border: 1px solid var(--line); background: #fff; border-radius: 11px;
    font-size: 19px; cursor: pointer; color: var(--ink);
}

/* ── 语言切换器（English / Русский）── 顶部导航右侧 ──
   双语站核心控件：当前语言高亮；点击即切到同一页面的对应语言版本。
   位置由 layout.php 决定（在 .nav 之后、.header-cta 之前），这里只负责外观。 */
.lang-switch {
    display: flex; align-items: center; flex: none;
    gap: 2px; padding: 3px; margin-left: 2px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--bg-soft);
}
.lang-switch > a {
    display: inline-flex; align-items: center;
    padding: 6px 13px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
    color: var(--muted);
    border-radius: 100px;
    white-space: nowrap; line-height: 1.25;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-switch > a:hover { color: var(--brand); background: #fff; }
.lang-switch > a.active {
    color: #fff; font-weight: 700;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
    box-shadow: 0 2px 8px rgba(14, 145, 168, .26);
}
/* 平板（≤1080px）：收窄标签，并把头部间距压紧 —— 顶部多出一个控件后需要省空间 */
@media (max-width: 1080px) {
    .site-header .inner { gap: 16px; }
    .lang-switch > a { padding: 6px 10px; font-size: 12px; }
}
/* 移动端（≤860px）：导航进抽屉、CTA 已隐藏 —— 让语言切换器靠右并与 ☰ 紧凑相邻 */
@media (max-width: 860px) {
    .lang-switch { margin-left: auto; }
    .menu-btn { margin-left: 0; }
}

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 27px;
    font-size: 15px; font-weight: 600; letter-spacing: .005em;
    border-radius: 100px; border: 1.5px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease),
                background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.995); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 145, 168, .28);
}
.btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 145, 168, .36);
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: #fff; border-color: #fff; color: var(--navy-800);
    transform: translateY(-2px);
}

.btn-outline {
    background: #fff; border-color: var(--line); color: var(--ink);
    box-shadow: var(--sh-sm);
}
.btn-outline:hover {
    border-color: var(--brand); color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(14, 145, 168, .14);
}
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* 文字箭头链接 */
.link-arrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 600; font-size: 15px; color: var(--brand);
}
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   Hero 首屏
   ========================================================================== */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex; align-items: center;
    padding: calc(var(--header-offset) + 64px) 0 96px;
    overflow: hidden;
    /* 兜底底色：青蓝斜向渐变，比纯深蓝更亮更有色相 */
    background: linear-gradient(140deg, #0d3a5a 0%, #12607e 58%, #17839b 100%);
}
.hero-bg {
    position: absolute; inset: 0;
    /* 遮罩整体调亮：左半仍保证白色文字对比度，右半明显透出实拍图，
       末尾叠一层青色光晕，让首屏"亮"起来而不是灰蒙蒙一片。 */
    background-image:
        radial-gradient(ellipse 62% 78% at 88% 26%, rgba(53, 188, 208, .30), transparent 66%),
        radial-gradient(ellipse 50% 60% at 4% 96%, rgba(195, 154, 94, .16), transparent 70%),
        linear-gradient(103deg, rgba(9, 40, 63, .90) 0%, rgba(11, 54, 80, .72) 40%, rgba(20, 118, 143, .40) 100%),
        var(--hero-img, linear-gradient(135deg, #0d3a5a, #145176));
    background-size: cover;
    background-position: center;
    z-index: 0;
}
/* 细网格质感 */
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, #000 20%, transparent 78%);
}
.hero-inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 62px; align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px 7px 12px;
    margin-bottom: 24px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
    color: var(--brand-400);
    background: rgba(53, 188, 208, .13);
    border: 1px solid rgba(53, 188, 208, .26);
    border-radius: 100px;
}
.eyebrow::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-400);
    box-shadow: 0 0 0 3px rgba(53, 188, 208, .22);
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand-400) 0%, #7fd8e4 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lede {
    font-size: clamp(15.5px, 1.28vw, 18px);
    line-height: 1.9;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 34px;
    max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-tel {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14.5px; color: rgba(255, 255, 255, .62);
    margin: 0;
}
.hero-tel a {
    font-family: var(--font-num);
    font-size: 19px; font-weight: 700; letter-spacing: .01em;
    color: #fff;
}
.hero-tel a:hover { color: var(--brand-400); }

/* Hero 侧栏信息卡 */
.hero-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--r-lg);
    padding: 34px 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.hero-card h3 {
    color: #fff; font-size: 17px; margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    font-weight: 700;
}
.hero-card .chk { list-style: none; padding: 0; margin: 0 0 22px; }
.hero-card .chk li {
    position: relative;
    padding: 9px 0 9px 27px;
    color: rgba(255, 255, 255, .8);
    font-size: 14.5px; line-height: 1.65;
    border-bottom: 1px dashed rgba(255, 255, 255, .09);
}
.hero-card .chk li:last-child { border-bottom: 0; }
.hero-card .chk li::before {
    content: ''; position: absolute; left: 0; top: 17px;
    width: 15px; height: 15px; border-radius: 50%;
    background: rgba(53, 188, 208, .22);
}
.hero-card .chk li::after {
    content: ''; position: absolute; left: 4.6px; top: 21.6px;
    width: 5px; height: 2.5px;
    border-left: 1.6px solid var(--brand-400);
    border-bottom: 1.6px solid var(--brand-400);
    transform: rotate(-45deg);
}
.hero-card .chk b { color: #fff; font-weight: 600; }

.avatar-stack { display: flex; align-items: center; padding-left: 8px; }
.avatar-stack .ava {
    width: 44px; height: 44px; margin-left: -8px;
    border-radius: 50%; overflow: hidden;
    border: 2.5px solid var(--navy-800);
    background: var(--navy-700);
    display: grid; place-items: center;
    color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.avatar-stack .ava img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack .ava.more {
    background: var(--brand); color: #fff; font-size: 13px;
}
.hero-card .muted { color: rgba(255, 255, 255, .5) !important; margin-top: 12px; }

/* 首屏底部数据条 */
.trust-strip {
    position: relative; z-index: 3;
    margin-top: -46px;
}
.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}
.trust {
    padding: 30px 22px;
    text-align: center;
    border-right: 1px solid var(--line-soft);
}
.trust:last-child { border-right: 0; }
.trust b {
    display: block;
    font-family: var(--font-num);
    font-size: 34px; font-weight: 800; line-height: 1.15;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--brand) 0%, var(--navy-700) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}
.trust span { font-size: 14px; color: var(--muted); letter-spacing: .01em; }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 96px 0; }
/* 交替底：淡青洗色（比纯灰白更有色相，页面整体更"鲜"） */
.section-alt {
    background: linear-gradient(180deg, #f3fbfd 0%, #ecf7fb 100%);
    border-top: 1px solid rgba(14, 145, 168, .07);
    border-bottom: 1px solid rgba(14, 145, 168, .07);
}
.section-mist { background: var(--bg-mist); }
.section-dark {
    background: linear-gradient(158deg, #0d3a5a 0%, #145176 58%, #17839b 100%);
    color: rgba(255, 255, 255, .82);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head {
    max-width: 720px;
    margin: 0 auto 58px;
    text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
/* 浅底区块里的 eyebrow 用主色（深一档）保证白底可读；
   深底（.hero / .section-dark）仍走 :root 里的 brand-400 亮调。 */
.section .eyebrow {
    color: var(--brand);
    background: var(--brand-50);
    border-color: rgba(14, 145, 168, .18);
}
.section .eyebrow::before {
    background: var(--brand);
    box-shadow: 0 0 0 3px rgba(14, 145, 168, .16);
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 16px; }
.section-head > p { color: var(--muted); font-size: 16.5px; margin: 0; }
.section-dark .section-head > p { color: rgba(255, 255, 255, .68); }
.section-head .btn { margin-top: 22px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── 优势卡 ── */
.feature {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 34px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.feature::before {
    content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-400));
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
}
.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent;
}
.feature:hover::before { transform: scaleX(1); }
.feature .ic {
    width: 52px; height: 52px; margin-bottom: 20px;
    display: grid; place-items: center;
    font-size: 24px;
    border-radius: 14px;
    background: var(--brand-50);
    border: 1px solid rgba(14, 145, 168, .1);
}
.feature h3 { font-size: 18.5px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.78; }

/* 编号优势（五大优势） */
.adv-seq {
    display: flex; align-items: flex-start; gap: 22px;
    padding: 32px 4px;
    border-bottom: 1px solid var(--line-soft);
    transition: padding .3s var(--ease);
}
.adv-seq:last-child { border-bottom: 0; }
.adv-seq:hover { padding-left: 12px; }
.adv-seq .no {
    flex: none;
    font-family: var(--font-num);
    font-size: 15px; font-weight: 700; letter-spacing: .06em;
    color: var(--brand);
    padding-top: 4px;
    min-width: 34px;
}
.adv-seq .no::after {
    content: ''; display: block; width: 22px; height: 2px;
    margin-top: 8px; border-radius: 2px;
    background: var(--brand); opacity: .35;
}
.adv-seq h3 { font-size: 19px; margin-bottom: 8px; }
.adv-seq p { font-size: 14.8px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ==========================================================================
   服务 / 诊疗项目卡
   ========================================================================== */
.service-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    padding: 0;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent;
    color: inherit;
}
.service-card .pic {
    height: 96px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    background: linear-gradient(140deg, var(--brand-50) 0%, var(--bg-mist) 100%);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.service-card .pic::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(14, 145, 168, .1), transparent 65%);
}
.service-card h3 {
    font-size: 17.5px; margin: 0;
    padding: 22px 24px 8px;
}
.service-card p {
    font-size: 14.3px; color: var(--muted);
    padding: 0 24px; margin: 0 0 16px;
    line-height: 1.75;
    flex: 1;
}
.service-card .more {
    padding: 0 24px 22px;
    font-size: 13.8px; font-weight: 600; color: var(--brand);
    display: inline-flex; align-items: center; gap: 6px;
}
.service-card .more::after { content: '→'; transition: transform .25s var(--ease); }
.service-card:hover .more::after { transform: translateX(4px); }

/* ── 医师卡 ── */
.doctor-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    text-align: center;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent;
}
.doctor-card .avatar {
    aspect-ratio: 1 / 1.12;
    background: linear-gradient(160deg, var(--bg-mist), var(--brand-50));
    display: grid; place-items: center;
    font-size: 44px; color: var(--line);
    overflow: hidden;
}
.doctor-card .avatar img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    transition: transform .55s var(--ease);
}
.doctor-card:hover .avatar img { transform: scale(1.045); }
.doctor-card h3 { font-size: 18px; margin: 20px 18px 4px; }
.doctor-card .muted { font-size: 13.8px; display: block; }
.doctor-card .tag {
    display: inline-block;
    margin: 12px 18px 0;
    padding: 4px 13px;
    font-size: 12px; font-weight: 600; letter-spacing: .02em;
    color: var(--brand);
    background: var(--brand-50);
    border: 1px solid rgba(14, 145, 168, .14);
    border-radius: 100px;
}
.doctor-card .bio {
    font-size: 13.5px; color: var(--muted);
    margin: 14px 20px 22px;
    line-height: 1.72;
    text-align: left;
}

/* ── 案例卡 ── */
.case-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent;
    color: inherit;
}
.case-card img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    transition: transform .55s var(--ease);
}
.case-card:hover img { transform: scale(1.045); }
.case-card h3 { font-size: 17px; margin: 22px 24px 8px; }
.case-card p { font-size: 14px; color: var(--muted); margin: 0 24px 24px; line-height: 1.7; }

/* ── 资讯卡 ── */
.news-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh);
    border-color: transparent;
    color: inherit;
}
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-card h3 {
    font-size: 16.8px; margin: 22px 24px 10px;
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card .meta {
    font-size: 12.8px; color: var(--muted);
    margin: 0 24px 10px;
    letter-spacing: .02em;
}
.news-card .summary {
    font-size: 14px; color: var(--muted);
    margin: 0 24px 24px; line-height: 1.72;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card h3:first-child { margin-top: 24px; }

/* ==========================================================================
   环境展示（真实影像）
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 208px;
    gap: 16px;
}
.gallery a {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    display: block;
    background: var(--bg-mist);
}
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(6) { grid-column: span 2; }
.gallery img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .65s var(--ease);
}
.gallery a:hover img { transform: scale(1.055); }
.gallery a::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(9, 40, 63, .72) 0%, transparent 52%);
    opacity: .88; transition: opacity .35s var(--ease);
}
.gallery a:hover::after { opacity: 1; }
.gallery .cap {
    position: absolute; left: 20px; right: 20px; bottom: 17px; z-index: 2;
    color: #fff;
}
.gallery .cap b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.005em; }
.gallery .cap span { font-size: 12.5px; color: rgba(255, 255, 255, .72); letter-spacing: .05em; }

/* ==========================================================================
   内页 Banner
   ========================================================================== */
.page-banner {
    position: relative;
    padding: calc(var(--header-offset) + 74px) 0 74px;
    background: linear-gradient(150deg, #0d3a5a 0%, #145176 54%, #17839b 100%);
    overflow: hidden;
    color: #fff;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 72%);
}
.page-banner::after {
    content: ''; position: absolute; right: -140px; top: -140px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 188, 208, .22), transparent 68%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 14px; }
.page-banner p {
    color: rgba(255, 255, 255, .7);
    font-size: 16.5px; margin: 0;
}
.page-banner p a { color: rgba(255, 255, 255, .7); }
.page-banner p a:hover { color: #fff; }

/* ==========================================================================
   内容排版
   ========================================================================== */
.two-col {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 60px; align-items: start;
}
.lead { font-size: 17px; line-height: 1.92; color: var(--ink-2); }

.tick { list-style: none; padding: 0; margin: 0; }
.tick li {
    position: relative;
    padding: 11px 0 11px 34px;
    font-size: 15.3px; line-height: 1.72;
    border-bottom: 1px dashed var(--line);
}
.tick li:last-child { border-bottom: 0; }
.tick li::before {
    content: ''; position: absolute; left: 0; top: 17px;
    width: 21px; height: 21px; border-radius: 50%;
    background: var(--brand-50);
    border: 1px solid rgba(14, 145, 168, .16);
}
.tick li::after {
    content: ''; position: absolute; left: 6.6px; top: 22.6px;
    width: 6.5px; height: 3.4px;
    border-left: 1.9px solid var(--brand);
    border-bottom: 1.9px solid var(--brand);
    transform: rotate(-45deg);
}

.rich { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.rich h2, .rich h3 { margin-top: 1.7em; margin-bottom: .6em; }
.rich h2 { font-size: 25px; }
.rich h3 { font-size: 20px; }
.rich p { margin-bottom: 1.15em; }
.rich img { border-radius: var(--r); margin: 1.6em 0; }
.rich ul, .rich ol { margin-bottom: 1.2em; }
.rich li { margin-bottom: .5em; }
.rich blockquote {
    margin: 1.6em 0; padding: 20px 26px;
    background: var(--bg-soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--ink-2);
}
.rich table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.rich th, .rich td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; }
.rich th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

.article-body { max-width: 820px; }
.article-body .cover { border-radius: var(--r); margin-bottom: 34px; width: 100%; }
.article-body .meta {
    font-size: 13.8px; color: var(--muted);
    padding-bottom: 20px; margin-bottom: 30px;
    border-bottom: 1px solid var(--line-soft);
    letter-spacing: .02em;
}

/* 服务详情 */
.sd-hero {
    display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start;
}
.service-detail-icon {
    aspect-ratio: 1;
    display: grid; place-items: center;
    font-size: 96px;
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, var(--brand-50), var(--bg-mist));
    border: 1px solid var(--line-soft);
    box-shadow: var(--sh-sm);
}

/* ── 表格 ── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-soft); }
table.list {
    width: 100%; border-collapse: collapse; font-size: 15px; background: #fff;
}
table.list th, table.list td {
    padding: 15px 20px; text-align: left;
    border-bottom: 1px solid var(--line-soft);
}
table.list th {
    background: var(--bg-soft); font-weight: 700; color: var(--ink);
    font-size: 14px; letter-spacing: .02em; white-space: nowrap;
}
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr { transition: background .2s var(--ease); }
table.list tbody tr:hover { background: var(--brand-50); }

/* ==========================================================================
   联系 / 表单
   ========================================================================== */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
    display: flex; gap: 18px; align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15.5px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list b {
    flex: none; width: 96px;
    font-size: 13.5px; font-weight: 600; color: var(--muted);
    letter-spacing: .03em;
}
.contact-list a { color: var(--brand); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; gap: 18px; }
.form label {
    display: block;
    font-size: 13.8px; font-weight: 600; color: var(--ink);
    letter-spacing: .02em;
}
.form input, .form textarea, .form select {
    display: block; width: 100%;
    margin-top: 8px;
    padding: 13px 16px;
    font-size: 15px; font-weight: 400;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.form textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 145, 168, .11);
}
.form input::placeholder, .form textarea::placeholder { color: #a9b7c2; }

.alert {
    padding: 15px 20px; border-radius: var(--r-sm);
    font-size: 14.6px; margin-bottom: 20px;
    border: 1px solid transparent;
}
.alert-ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.alert-err { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* 联系信息卡 */
.info-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 32px;
    box-shadow: var(--sh-sm);
}

/* ── 门店/执业场所卡 ── */
.loc-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 34px 32px;
    box-shadow: var(--sh-sm);
    transition: transform .34s var(--ease), box-shadow .34s var(--ease), border-color .34s var(--ease);
}
.loc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh);
    border-color: transparent;
}
.loc-card h3 {
    font-size: 19px; margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line-soft);
}
.loc-card .contact-list li { padding: 13px 0; font-size: 15px; }

/* ── 常见问答 ── */
.faq {
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    overflow: hidden;
    background: #fff;
}
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
    position: relative;
    padding: 21px 56px 21px 26px;
    font-size: 16.5px; font-weight: 600; color: var(--ink);
    cursor: pointer;
    list-style: none;
    transition: background .22s var(--ease), color .22s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    position: absolute; right: 26px; top: 50%;
    width: 9px; height: 9px; margin-top: -6px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg);
    transition: transform .3s var(--ease);
}
.faq-item[open] summary { color: var(--brand); background: var(--brand-50); }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-a {
    padding: 4px 26px 24px;
    font-size: 15.3px; line-height: 1.85;
    color: var(--ink-2);
}

/* ── 可见面包屑（与 BreadcrumbList 结构化数据对应）── */
.crumb {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line-soft);
    font-size: 13.6px;
    color: var(--muted);
}
.crumb .container {
    display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
    padding-top: 14px; padding-bottom: 14px;
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb .sep { color: var(--line); }
.crumb .cur { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   CTA 区块
   ========================================================================== */
.cta {
    position: relative;
    padding: 88px 0;
    /* 收尾 CTA：深蓝→亮青三停渐变，比原来的两停更"亮"而不刺眼 */
    background: linear-gradient(118deg, #0d3a5a 0%, #14708d 52%, #23a7c0 100%);
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.cta::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 70% 120% at 50% 50%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 120% at 50% 50%, #000, transparent 75%);
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255, 255, 255, .76); font-size: 16.5px; margin-bottom: 32px; }
.cta .btn-primary {
    background: #fff; color: var(--navy-800);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
}
.cta .btn-primary:hover { color: var(--navy-900); transform: translateY(-3px); }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
    /* 页脚保留深色保证对比度，但整体抬亮一档并带一点青，与页面其余部分呼应 */
    background: linear-gradient(180deg, #0e3a58 0%, #0b2b44 100%);
    color: rgba(255, 255, 255, .62);
    padding: 74px 0 0;
    font-size: 14.3px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.35fr 1fr 1fr;
    gap: 46px;
    padding-bottom: 54px;
}
.footer-col h4 {
    color: #fff; font-size: 15px; font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: .02em;
}
.footer-col p { margin: 0 0 11px; line-height: 1.75; }
.footer-col .muted { color: rgba(255, 255, 255, .5); }
.footer a { color: rgba(255, 255, 255, .62); }
.footer a:hover { color: var(--brand-400); }
.footer-link { display: block; padding: 5px 0; font-size: 14.3px; }
.footer .qr {
    width: 112px; height: 112px; object-fit: cover;
    border-radius: var(--r-sm);
    background: #fff; padding: 6px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .logo-mark { box-shadow: none; }
.footer-brand b { color: #fff; font-size: 17px; font-weight: 700; }
.footer-phone {
    font-family: var(--font-num);
    font-size: 21px; font-weight: 700; color: #fff;
    letter-spacing: .01em;
    display: inline-block; margin-bottom: 12px;
}
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: 12px 26px;
    justify-content: space-between; align-items: center;
    padding: 24px 26px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 13.4px;
    color: rgba(255, 255, 255, .44);
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   移动端底栏
   ========================================================================== */
.mobile-bar {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 22px rgba(16, 32, 46, .09);
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 11px 0 10px;
    font-size: 12.4px; font-weight: 600; color: var(--ink-2);
}
.mobile-bar a + a { border-left: 1px solid var(--line-soft); }
.mobile-bar a span { font-size: 18px; line-height: 1; }
.mobile-bar a:first-child { color: var(--brand); }

/* ==========================================================================
   滚动显现
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* 空状态 */
.empty {
    padding: 70px 20px; text-align: center;
    color: var(--muted); font-size: 15px;
    background: var(--bg-soft);
    border-radius: var(--r);
    border: 1px dashed var(--line);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
    .nav { gap: 0; }
    .nav > a { padding: 9px 11px; font-size: 14.4px; }
    .hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .hero-card { max-width: 560px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
    .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .gallery a:nth-child(6) { grid-column: span 2; }
    .sd-hero { grid-template-columns: 1fr; gap: 34px; }
    .service-detail-icon { max-width: 220px; font-size: 74px; }
}

@media (max-width: 860px) {
    :root { --header-h: 66px; --topbar-h: 0px; }
    .container { padding: 0 20px; }
    .section { padding: 66px 0; }
    .menu-btn { display: grid; place-items: center; }
    .header-cta { display: none; }
    .nav {
        position: fixed; left: 0; right: 0; top: var(--header-offset);
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff;
        padding: 10px 20px 22px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 40px rgba(16, 32, 46, .12);
        transform: translateY(-14px);
        opacity: 0; pointer-events: none;
        transition: opacity .28s var(--ease), transform .28s var(--ease);
        max-height: calc(100vh - var(--header-offset));
        overflow-y: auto;
    }
    .nav.open { opacity: 1; transform: none; pointer-events: auto; }
    .nav > a {
        padding: 14px 4px; font-size: 16px;
        border-bottom: 1px solid var(--line-soft);
        border-radius: 0;
    }
    .nav > a.active { background: transparent; }
    .nav > a.active::after { display: none; }

    .hero { min-height: 0; padding: calc(var(--header-offset) + 46px) 0 76px; }
    .hero-card { padding: 26px 22px; }
    .trust-strip { margin-top: -34px; }
    .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
    .trust { padding: 22px 14px; }
    .trust:nth-child(2) { border-right: 0; }
    .trust:nth-child(1), .trust:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
    .trust b { font-size: 27px; }

    .grid-3, .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid { gap: 18px; }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
    .mobile-bar { display: flex; }
    .footer { padding-bottom: 62px; }
    .page-banner { padding: calc(var(--header-offset) + 48px) 0 52px; }
    .cta { padding: 62px 0; }
    .adv-seq { gap: 16px; padding: 24px 0; }
}

@media (max-width: 560px) {
    body { font-size: 15.4px; }
    .grid-3, .grid-4, .grid-2, .gallery { grid-template-columns: 1fr; }
    .gallery { grid-auto-rows: 210px; }
    .gallery a:nth-child(1), .gallery a:nth-child(6) { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { justify-content: flex-start; font-size: 12.8px; }
    .hero-cta .btn { flex: 1; min-width: 140px; }
    .section { padding: 54px 0; }
    .service-card h3 { padding-top: 18px; }
    .contact-list li { flex-direction: column; gap: 4px; align-items: flex-start; }
    .contact-list b { width: auto; }
    .trust-strip .container { border-radius: var(--r); }
    .logo-text span { display: none; }
    .logo-text b { font-size: 16.5px; }
    .logo-mark { width: 36px; height: 36px; font-size: 17px; }
}

/* ==========================================================================
   视觉增强层
   --------------------------------------------------------------------------
   叠加在基础系统之上，只做「加法 / 微调」，不改动上面的既有规则，
   便于随时整段回退。涉及小屏已被覆盖的属性一律限定桌面宽度，避免打架。
   ========================================================================== */

/* 标题更有分量：略增字号、收紧扣字距（clamp 本身已自适应，无需媒体查询） */
h1 { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; }

/* 版块标题下的强调短线（补结构感，是大气的关键细节） */
.section-head h2::after {
    content: '';
    display: block;
    width: 66px; height: 3px;
    margin: 20px auto 0;
    border-radius: 3px;
    /* 金 → 青 双色标尺：金色段点出高端质感，青色段收住品牌识别 */
    background: linear-gradient(90deg, var(--gold) 0 18px, var(--brand) 18px 100%);
}
.section-head.left h2::after { margin-left: 0; }
.section-dark .section-head h2::after {
    background: linear-gradient(90deg, var(--gold-400) 0 18px, var(--brand-400) 18px 100%);
}

/* 桌面端：区块节奏更从容、数字统计更有冲击力
   （限定 min-width，避免覆盖 860px / 560px 断点里的既有规则） */
@media (min-width: 861px) {
    .section { padding: 104px 0; }
    .trust { padding: 34px 22px; }
    .trust b { font-size: 38px; }
}

/* 卡片悬浮再细腻一点 */
.feature:hover { box-shadow: var(--sh-lg); }

/* 信息条里的门店枚举过长时可截断，避免挤压右侧电话 */
.topbar .tb-item { overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   视觉升级 · 体量感与实力感
   纯加法：只新增元素与细节强化，不动既有结构与配色，便于单点回退。
   ========================================================================== */

/* ── Hero 实力徽标带：设备与院感标准（文案取自既有真实内容，不新增事实）── */
.hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 26px;
    max-width: 560px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--gold-line);
}
.hero-badges .hb {
    display: flex; align-items: center; gap: 9px;
    font-size: 13.6px; line-height: 1.55;
    color: rgba(255, 255, 255, .76);
    letter-spacing: .01em;
}
.hero-badges .hb i {
    flex: none;
    width: 19px; height: 19px;
    display: grid; place-items: center;
    font-style: normal; font-size: 10.5px; font-weight: 700;
    border-radius: 50%;
    color: var(--gold-400);
    background: rgba(184, 146, 90, .16);
    border: 1px solid rgba(184, 146, 90, .34);
}
@media (max-width: 560px) {
    .hero-badges { grid-template-columns: 1fr; gap: 10px; }
}

/* ── 门店卡：顶部品牌渐变条 + 英文序号（多家并列时更成体系）── */
.loc-card { position: relative; overflow: hidden; padding-top: 38px; }
.loc-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-400) 58%, var(--gold) 100%);
}
.loc-card .loc-no {
    display: block;
    margin-bottom: 9px;
    font-family: var(--font-num);
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ==========================================================================
   就诊流程（首页）：五步横向时间轴
   ========================================================================== */
.flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 20px;
}
.flow-step {
    position: relative;
    padding: 30px 20px 4px;
    border-top: 2px solid var(--line);
    transition: border-color .25s var(--ease);
}
/* 时间轴节点 */
.flow-step::before {
    content: '';
    position: absolute; left: 0; top: -8px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand-400);
    box-shadow: 0 0 0 4px rgba(53, 188, 208, .16);
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.flow-step:hover { border-top-color: var(--brand-400); }
.flow-step:hover::before { background: var(--brand); border-color: var(--brand); }
.flow-step .no {
    display: block; margin-bottom: 9px;
    font-family: var(--font-num);
    font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em;
    color: var(--brand);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-400) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { margin: 0; font-size: 14.4px; line-height: 1.8; color: var(--muted); }

@media (max-width: 1024px) {
    .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 640px) {
    .flow { grid-template-columns: 1fr; row-gap: 0; margin-top: 8px; }
    .flow-step {
        padding: 22px 0 22px 26px;
        border-top: 0; border-left: 2px solid var(--line);
    }
    .flow-step::before { left: -8px; top: 26px; }
    .flow-step:hover { border-left-color: var(--brand-400); }
}

/* ==========================================================================
   数字化设备与院感标准（首页）
   ========================================================================== */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.equip-card {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-sm);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.equip-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-400);
    box-shadow: var(--sh);
}
.equip-card .ico {
    flex: none;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 12px; font-size: 19px;
    background: linear-gradient(140deg, var(--brand-50) 0%, #d5f2f7 100%);
    border: 1px solid rgba(14, 145, 168, .16);
}
.equip-card h3 { font-size: 15.6px; line-height: 1.45; margin: 0 0 4px; }
.equip-card p { margin: 0; font-size: 13.6px; line-height: 1.7; color: var(--muted); }

/* 院感标准强调条 */
.equip-note {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 26px; padding: 20px 24px;
    background: linear-gradient(118deg, #0d3a5a 0%, #14708d 55%, #23a7c0 100%);
    border-radius: var(--r);
    color: #fff;
}
.equip-note b {
    font-family: var(--font-num);
    font-size: 20px; letter-spacing: .01em; white-space: nowrap;
}
.equip-note span { font-size: 14.4px; color: rgba(255, 255, 255, .86); }
.equip-note .tag {
    margin-left: auto;
    padding: 5px 14px; border-radius: 999px;
    font-size: 12.6px; font-weight: 700;
    color: #6b4a12;
    background: linear-gradient(135deg, #f7e6b8, #e5c273);
}

@media (max-width: 1024px) {
    .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .equip-grid { grid-template-columns: 1fr; }
    .equip-note .tag { margin-left: 0; }
}

/* ==========================================================================
   大气 v2 —— 更大尺度 / 更强对比 / 更大数字 / 更现代
   --------------------------------------------------------------------------
   纯叠加层：全部追加在文件末尾，不改动上方既有规则，可整段回退。
   ⚠️ 两条硬约束（踩过才写下来）：
   ① 凡是「小屏媒体查询已经赋过的属性」必须限定桌面宽度，而且宽度要和
      对应的 max-width 断点严格错开 —— 本文件有 max-width:1080 / 860 / 560
      三档，1080 档覆盖过的属性（.hero-inner、.gallery、.grid-4）必须从
      1081px 起，860 档覆盖过的（.grid gap、.hero、.section、.cta、.footer…）
      从 861px 起。用错一档就会静默跑坏平板区间。
   ② 本段之后是「管理后台」段，必须保留；不要在这个位置截断文件。
   ========================================================================== */

/* ── 1. 尺度：容器更宽、留白更足、标题更大 ── */
:root { --container: 1400px; }

/* ⚠️ 只作用于前台。后台标题全部由按类名的规则管辖
   （.login-box h1 / .panel h3 / .toolbar h3），这里再加 :not(.admin) 做双保险，
   防止以后后台新增裸 <h2> 之类被这几条放大。 */
body:not(.admin) h1 { font-size: clamp(34px, 5vw, 66px); letter-spacing: -.028em; }
body:not(.admin) h2 { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.024em; }
body:not(.admin) h3 { font-size: clamp(19px, 1.8vw, 24px); }

@media (min-width: 861px) {
    .container { padding: 0 32px; }
    .section { padding: 140px 0; }
}

/* ── 2. 首屏：满屏高度 + 超大标题 ── */
.hero h1 {
    font-size: clamp(42px, 6.4vw, 88px);
    line-height: 1.05;
    letter-spacing: -.035em;
    margin-bottom: 30px;
}
.hero-copy { max-width: 720px; }
.lede { font-size: clamp(16px, 1.34vw, 19px); }

@media (min-width: 861px) {
    /* 满屏但不过分：超高显示器上封顶 1040px */
    .hero { min-height: min(100vh, 1040px); padding: calc(var(--header-offset) + 92px) 0 140px; }
}
/* ⚠️ .hero-inner 的两列布局必须从 1081px 起。上方 @media (max-width: 1080px)
   已经把 .hero-inner 压成单列；若这里用 861px，会在 861~1080 的平板区间
   盖掉它 → 首屏两列挤成一坨。这是本文件最容易踩的「断点错配」。 */
@media (min-width: 1081px) {
    .hero-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 84px; }
}

/* 首屏侧栏信息卡：玻璃感更重 + 金→青顶线（科技感） */
.hero-card {
    position: relative; overflow: hidden;
    padding: 40px 36px;
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, .095);
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 30px 84px rgba(0, 0, 0, .34);
}
.hero-card::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold-400) 0%, var(--brand-400) 100%);
}
.hero-card h3 { font-size: 18.5px; }
.hero-card .chk li { font-size: 15px; padding: 10px 0 10px 29px; color: rgba(255, 255, 255, .84); }

/* 首屏再加一枚大号青色光斑：钉在右上角，不侵入左侧文字区，保证白色文字对比度 */
.hero-bg::before {
    content: ''; position: absolute; top: -26%; right: -14%;
    width: 780px; height: 780px; border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 188, 208, .32) 0%, rgba(53, 188, 208, .10) 44%, transparent 72%);
    pointer-events: none;
}

/* 内页 Banner 装饰光斑放大，纵深更足 */
.page-banner::after {
    width: 620px; height: 620px; right: -180px; top: -180px;
    background: radial-gradient(circle, rgba(53, 188, 208, .26), transparent 68%);
}

/* ── 3. 大数字：数据带更有冲击力 ── */
.trust-strip .container { position: relative; }
.trust-strip .container::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2;
    background: linear-gradient(90deg, var(--gold) 0%, var(--brand-400) 46%, var(--brand) 100%);
}
.trust b {
    background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand) 42%, var(--navy-700) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trust span { font-size: 14.6px; letter-spacing: .04em; }

@media (min-width: 861px) {
    .trust-strip { margin-top: -68px; }
    .trust-strip .container { border-radius: var(--r-xl); }
    .trust { padding: 54px 26px; }
    .trust b { font-size: clamp(44px, 3.9vw, 60px); margin-bottom: 8px; }
}

/* ── 4. 版块标题：居中大标 + 巨型序号水印（不用改任何模板） ── */
body:not(.admin) { counter-reset: sec; }
.section { counter-increment: sec; }

.section-head {
    position: relative;
    max-width: 900px;
    margin: 0 auto 76px;
    padding-top: 34px;
}
.section-head::before {
    content: counter(sec, decimal-leading-zero);
    position: absolute; left: 50%; top: -18px;
    transform: translateX(-50%);
    font-family: var(--font-num);
    font-size: clamp(92px, 9.6vw, 148px);
    font-weight: 800; line-height: 1; letter-spacing: -.05em;
    color: rgba(14, 145, 168, .075);
    z-index: 0; pointer-events: none; user-select: none;
}
.section-head > * { position: relative; z-index: 1; }
.section-head.left { padding-top: 26px; }
.section-head.left::before { left: 0; transform: none; }
.section-dark .section-head::before { color: rgba(255, 255, 255, .07); }

.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 18px; }
.section-head > p { font-size: 17.5px; line-height: 1.85; max-width: 660px; margin: 0 auto; }
.section-head.left > p { margin-left: 0; }
/* 标尺加长，配大字号 */
.section-head h2::after { width: 84px; margin-top: 24px; }

/* ── 5. 卡片：更大画幅 + 编号成体系 + 悬浮青色光晕 ── */
.grid { counter-reset: card; }
.grid > * { counter-increment: card; }
/* ⚠️ gap 必须限定桌面宽度：@media (max-width: 860px) 里已有 .grid{gap:18px}，
   无条件写 30px 会把移动端间距顶掉。 */
@media (min-width: 861px) { .grid { gap: 30px; } }

.service-card { position: relative; border-radius: var(--r-lg); }
/* 服务卡改两列大画幅后，图标条与内边距同步放大，避免"又宽又扁" */
.service-card .pic { height: 172px; font-size: 64px; }
.service-card::before {
    content: counter(card, decimal-leading-zero);
    position: absolute; right: 22px; top: 18px; z-index: 3;
    font-family: var(--font-num);
    font-size: 14px; font-weight: 700; letter-spacing: .14em;
    color: var(--brand); opacity: .55;
}
.service-card h3 { font-size: 21.5px; padding: 30px 32px 10px; }
.service-card p { font-size: 15.6px; line-height: 1.85; padding: 0 32px; margin-bottom: 20px; }
.service-card .more { padding: 0 32px 32px; font-size: 14.6px; }
.service-card:hover { box-shadow: 0 24px 58px rgba(14, 145, 168, .20); }

/* ── 两列大画幅时，服务卡改「横向」：图标块在左、文字在右 ──────────────────
   原因：诊疗项目这些卡**只有 emoji 图标、没有照片**（config 里 services 只定义了
   icon 文本字段，没有图片字段）。竖排时那条 172px 高的浅色图标带会被两列拉宽到
   ~670px，看上去就像「图片没加载出来」。横向后图标自成一块方形徽标，
   「没有照片」变成明确的设计选择，而不是像坏了。

   ⚠️ 护栏：以下规则**全部挂在 `:has(> .sbody)` 上**，这是刻意设计的自锁。
   横向布局依赖模板里的 <div class="sbody"> 包裹层（文字必须是一个整体）。
   若出现「新 CSS 已生效、但模板还是旧的」这种半传状态（实测真发生过），
   旧模板没有 .sbody → 这些规则整条不匹配 → 页面优雅退化成原来的竖排卡，
   而不是把 pic / h3 / p / more 摊成一行四列。
   同理，不支持 `:has()` 的老浏览器也会整条跳过，同样是安全退化。
   —— 换句话说：**这条护栏让「只传 CSS 不传模板」不再致命。** */
@media (min-width: 861px) {
    .grid-2 .service-card:has(> .sbody) { flex-direction: row; align-items: stretch; text-align: left; }
    .grid-2 .service-card:has(> .sbody) .pic {
        flex: 0 0 184px; width: 184px;
        height: auto; min-height: 184px;
        font-size: 62px;
        border-bottom: 0;
        border-right: 1px solid var(--line-soft);
    }
    .grid-2 .service-card .sbody {
        display: flex; flex-direction: column;
        flex: 1 1 auto; min-width: 0;
    }
    .grid-2 .service-card:has(> .sbody) h3 { padding: 34px 34px 10px; }
    .grid-2 .service-card:has(> .sbody) p { padding: 0 34px; }
    .grid-2 .service-card:has(> .sbody) .more { padding: 0 34px 34px; }
    .grid-2 .service-card:has(> .sbody)::before { right: 28px; top: 24px; }
}

.doctor-card { border-radius: var(--r-lg); }
.doctor-card h3 { font-size: 19.5px; margin: 24px 18px 5px; }
.doctor-card:hover { box-shadow: 0 24px 58px rgba(14, 145, 168, .20); }

.case-card { border-radius: var(--r-lg); }
.case-card img { aspect-ratio: 3 / 2; }
.case-card h3 { font-size: 18.5px; }
.case-card:hover { box-shadow: 0 24px 58px rgba(14, 145, 168, .20); }

.news-card { border-radius: var(--r-lg); }
/* 资讯卡两列大画幅后，封面统一 16:9，整排卡片高度才齐平 */
.news-card img { aspect-ratio: 16 / 9; }
.news-card:hover { box-shadow: 0 24px 58px rgba(14, 145, 168, .20); }

.equip-card, .loc-card { border-radius: var(--r-lg); }
.equip-card:hover { box-shadow: 0 24px 58px rgba(14, 145, 168, .20); }

/* 门诊环境：大画幅
   ⚠️ 只见于 1081 块：@media (max-width:1080px) 里 .gallery 的行高是 190px、
   列数是两列，560 档是 210px。若写在 861 块，会在 861~1080 平板区间顶掉 1080 档；
   而 1081 起上方没有任何断点赋过值，是最安全的落点。 */
@media (min-width: 1081px) { .gallery { grid-auto-rows: 280px; gap: 20px; } }

/* 大画幅两列：项数为奇数时让最后一张铺满整行，避免右侧挂半张孤卡。
   偶数张（诊疗项目 6 / 健康知识 6 / 案例 4）不受影响。 */
@media (min-width: 861px) {
    .grid-2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    /* 铺满后封面改用 21:9 扁画幅，否则整块会高到离谱 */
    .grid-2 > :last-child:nth-child(odd) > img { aspect-ratio: 21 / 9; }
}

/* ── 6. 首页之外也一起加：内页 Banner / 详情 / 列表 / 联系 ── */
.page-banner h1 {
    font-size: clamp(38px, 5.4vw, 74px);
    line-height: 1.08; letter-spacing: -.03em;
    margin-bottom: 18px;
}
.page-banner p { font-size: 18px; }

.article-body { max-width: 880px; }
.article-body .cover { border-radius: var(--r-lg); margin-bottom: 42px; }
.rich { font-size: 16.8px; line-height: 1.95; }
.rich h2 { margin-top: 1.6em; }
.rich h3 { margin-top: 1.4em; }

.sd-hero { gap: 72px; }
.lead { font-size: 17.8px; }
.contact-list li { padding: 22px 0; font-size: 16px; }
table.list th, table.list td { padding: 17px 22px; }

@media (min-width: 861px) {
    .cta { padding: 132px 0; }
    .cta h2 { font-size: clamp(32px, 4vw, 58px); }
    .cta p { font-size: 18px; margin-bottom: 40px; }
    .footer { padding: 96px 0 0; }
    .footer-grid { gap: 56px; padding-bottom: 66px; }
    .page-banner { padding: calc(var(--header-offset) + 108px) 0 108px; }
    .two-col { gap: 88px; }
}

/* ==========================================================================
   大气 v3 —— 亮色首屏 / 核心优势 Banner / 流程箭头卡 / 设备实拍条 / 项目图卡
   ──────────────────────────────────────────────────────────────────────────
   全部是「加法式」覆盖：只追加、不改上方既有规则，**要回退整段删掉即可**。
   ⚠ 本段之后是管理后台段，必须保留（见本文件末尾注释 + tools/render_regress.php）。
   ⚠ 本段刻意**只用 max-width 断点**：本文件的既有响应式全是 max-width 体系
     （1080 / 1024 / 860 / 640 / 560）。若在这里混用 min-width，会在
     861~1080 平板区间静默顶掉既有规则 —— 这是本文件最容易踩的坑（见铁律三）。
   ========================================================================== */

/* ── v3-1 首屏改「清新高亮」：去掉深蓝重遮罩，让底图当主角 ──────────────
   旧：深蓝 90% 遮罩 + 白字 → 配了底图也几乎透不出来，整屏「乌蒙蒙」。
   新：白→淡青的「左实右透」遮罩 + 底图轻微提亮 + 深色文字。
   对比度靠左侧 0~33% 近实心白（97.5%）保证 —— 文字区始终是「白纸黑字」；
   右侧 52%~100% 的白降到 78%→24%，底图透出来，画面才透气、才干净。 */
.hero {
    background: linear-gradient(150deg, #f1fbfd 0%, #e5f6fa 52%, #d9f1f8 100%);
}
.hero-bg {
    background-image:
        radial-gradient(ellipse 56% 72% at 88% 18%, rgba(53, 188, 208, .18), transparent 64%),
        radial-gradient(ellipse 44% 54% at 0% 100%, rgba(195, 154, 94, .11), transparent 70%),
        linear-gradient(96deg,
            rgba(255, 255, 255, .975) 0%,
            rgba(255, 255, 255, .955) 33%,
            rgba(247, 253, 254, .78) 52%,
            rgba(230, 247, 251, .46) 74%,
            rgba(214, 241, 248, .24) 100%),
        var(--hero-img, linear-gradient(135deg, #e9f7fb, #d5eff7));
    filter: brightness(1.08) saturate(1.05);
}
/* 网格质感线在亮底上必须改深色，否则完全看不见 */
.hero-bg::after {
    background-image:
        linear-gradient(rgba(11, 45, 71, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 45, 71, .05) 1px, transparent 1px);
}
/* 右上光斑减弱：亮底上原来的 .32 太抢，会把画面重新压暗 */
.hero-bg::before {
    background: radial-gradient(circle, rgba(53, 188, 208, .20) 0%, rgba(53, 188, 208, .06) 44%, transparent 72%);
}

/* 文字体系改深色 */
.hero h1 { color: var(--navy-900); }
.hero h1 em {
    background: linear-gradient(100deg, var(--brand) 0%, #46c7da 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .eyebrow { color: var(--brand); background: rgba(14, 145, 168, .09); border-color: rgba(14, 145, 168, .20); }
.hero .eyebrow::before { background: var(--brand); box-shadow: 0 0 0 3px rgba(14, 145, 168, .16); }
.hero .lede { color: var(--ink-2); }
.hero-tel { color: var(--muted); }
.hero-tel a { color: var(--navy-900); }
.hero-tel a:hover { color: var(--brand); }
/* 亮底上的次级按钮：原设计是「深底上的玻璃白字按钮」，在亮底上会白字白底隐形 */
.hero .btn-ghost {
    background: #fff; border-color: var(--line); color: var(--navy-800);
    box-shadow: var(--sh-sm);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.hero .btn-ghost:hover { border-color: var(--brand-400); color: var(--brand); }
/* 实力徽标带改深字 */
.hero-badges .hb { color: var(--ink-2); }
.hero-badges .hb i { color: #8a6a2e; background: rgba(195, 154, 94, .14); border-color: rgba(195, 154, 94, .34); }

/* 首屏侧栏卡：半透明玻璃卡 → 白卡（亮底上半透明玻璃会发灰、显脏） */
.hero-card {
    background: #fff;
    border-color: rgba(11, 45, 71, .07);
    box-shadow: 0 28px 70px rgba(11, 45, 71, .14);
}
.hero-card h3 { color: var(--navy-900); border-bottom-color: var(--line); }
.hero-card .chk li { color: var(--ink-2); border-bottom-color: var(--line-soft); }
.hero-card .chk li::before { background: rgba(14, 145, 168, .12); }
.hero-card .chk li::after { border-left-color: var(--brand); border-bottom-color: var(--brand); }
.hero-card .chk b { color: var(--navy-900); }
.hero-card .muted { color: var(--muted) !important; }
.avatar-stack .ava {
    border-color: #fff; background: var(--bg-mist); color: var(--brand);
    box-shadow: 0 3px 10px rgba(11, 45, 71, .14);
}
.avatar-stack .ava.more { background: var(--brand); color: #fff; }
/* 压边数据带在亮底首屏上需要一点分离感 */
.trust-strip .container { box-shadow: var(--sh-lg); }

/* ── v3-2 核心优势：整幅 Banner + 5 张紧凑卡 ────────────────────────────
   旧：two-col（左「标题 + 大图」/ 右「5 条长段落竖排」）—— 右列又高又空，
   左右高度差巨大，中间留白像裂缝。
   新：上面一整幅 Banner（实拍底图 + 下压渐变 + 标题文案），下面 5 张等宽卡。
   信息量一字未减，但视口利用率高、留白变成节奏。 */
.adv-banner {
    position: relative; overflow: hidden;
    border-radius: var(--r-xl);
    min-height: 420px;
    display: flex; align-items: flex-end;
    background: var(--navy-900);
    box-shadow: var(--sh-lg);
}
.adv-banner img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 42%;
}
.adv-banner::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(11, 45, 71, 0) 30%, rgba(11, 45, 71, .58) 68%, rgba(11, 45, 71, .88) 100%);
}
.adv-banner-body { position: relative; z-index: 2; padding: 52px 56px; max-width: 940px; }
.adv-banner-body .eyebrow { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .30); }
.adv-banner-body .eyebrow::before { background: var(--gold-400); box-shadow: 0 0 0 3px rgba(224, 195, 145, .30); }
.adv-banner-body h2 { color: #fff; margin: 6px 0 14px; }
.adv-banner-body p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 16.5px; line-height: 1.8; }

.adv-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.adv-card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 26px 24px 24px;
    box-shadow: var(--sh-sm);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.adv-card::before {
    content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--gold-400) 0%, var(--brand-400) 100%);
}
.adv-card .no {
    display: block; margin-bottom: 10px;
    font-family: var(--font-num); font-size: 13px; font-weight: 700;
    letter-spacing: .16em; color: var(--brand); opacity: .62;
}
.adv-card h3 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { margin: 0; font-size: 14.4px; line-height: 1.82; color: var(--muted); }
.adv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 145, 168, .30);
    box-shadow: 0 20px 46px rgba(14, 145, 168, .16);
}
@media (max-width: 1080px) {
    .adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .adv-banner { min-height: 360px; }
    .adv-banner-body { padding: 40px 34px; }
}
@media (max-width: 860px) {
    .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-banner { min-height: 300px; }
    .adv-banner-body { padding: 30px 24px; }
}
@media (max-width: 560px) {
    .adv-grid { grid-template-columns: 1fr; }
}

/* ── v3-3 就诊流程：带边框卡片 + 箭头导向 ───────────────────────────────
   旧：只有一条 2px 顶线 + 一个圆点，视觉上就是「5 段文字」，没有流程感。
   新：5 张等宽白卡（描边 + 圆角 + 阴影），卡与卡之间用箭头指向下一步。
   箭头是 ::after 绝对定位，落在 grid 的 gap 里 —— 纯 CSS，模板不用动。 */
.flow { gap: 38px; margin-top: 34px; }
.flow-step {
    padding: 30px 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
/* 原时间轴圆点去掉：卡片化之后它悬在卡片外，看着像瑕疵 */
.flow-step::before { display: none; }
.flow-step::after {
    content: ''; position: absolute;
    top: 50%; right: -26px; width: 15px; height: 15px;
    border-top: 2.5px solid var(--brand-400);
    border-right: 2.5px solid var(--brand-400);
    transform: translateY(-50%) rotate(45deg);
    opacity: .5;
    transition: opacity .24s var(--ease);
}
.flow-step:last-child::after { display: none; }
.flow-step .no { font-size: 30px; margin-bottom: 12px; }
.flow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 145, 168, .30);
    box-shadow: 0 20px 46px rgba(14, 145, 168, .16);
}
.flow-step:hover::after { opacity: 1; }
/* 换行之后箭头会「指空」，整行关掉比留个错位箭头好 */
@media (max-width: 1080px) {
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .flow-step::after { display: none; }
}
@media (max-width: 640px) {
    .flow { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
    .flow-step { padding: 22px 20px; }
}

/* ── v3-4 设备版块：加一条实拍横幅（真照片，不做假）+ 卡片收紧 ────────────
   该版块原来只有 8 张图标卡，和下面的「环境展示」之间显得空。
   加一条实拍横幅后：先「看到真实诊疗空间」，再读设备清单，说服力与画面密度都够了。 */
.equip-banner {
    position: relative; overflow: hidden;
    border-radius: var(--r-xl);
    background: var(--navy-900);
    box-shadow: var(--sh-lg);
    margin-bottom: 18px;
}
.equip-banner img { display: block; width: 100%; height: 320px; object-fit: cover; }
.equip-banner-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 64px 40px 26px;
    background: linear-gradient(180deg, rgba(11, 45, 71, 0) 0%, rgba(11, 45, 71, .74) 100%);
    color: #fff;
}
.equip-banner-cap b { display: block; font-size: 23px; margin-bottom: 6px; letter-spacing: -.01em; }
.equip-banner-cap span { font-size: 14.6px; color: rgba(255, 255, 255, .88); }
.equip-grid { gap: 14px; margin-top: 0; }
.equip-card { padding: 18px; }
@media (max-width: 860px) {
    .equip-banner img { height: 220px; }
    .equip-banner-cap { padding: 48px 24px 22px; }
    .equip-banner-cap b { font-size: 19px; }
}

/* ── v3-5 诊疗项目：图标卡 → 图片卡（有图用图、无图回退 emoji） ───────────
   这些卡原本只有 emoji 图标，两列大画幅下那条浅色图标带会被拉宽成
   「像图片没加载出来的空框」。现在按项目名配图（config → home.svc_img），
   配不上的仍走原来的 emoji 底板，**两条路径都不会开天窗**。 */
.service-card .pic { overflow: hidden; }
.service-card .pic img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .5s var(--ease);
}
.service-card:hover .pic img { transform: scale(1.05); }
/* 有实图时不要再叠原来那层浅色径向罩，会把照片洗白 */
.service-card .pic.has-img { background: var(--bg-mist); }
.service-card .pic.has-img::after { display: none; }
/* 配图下方的 AI 示意图 / 面诊为准说明 */
.svc-note {
    margin: 26px auto 0; max-width: 760px;
    text-align: center; font-size: 13px; line-height: 1.8; color: var(--muted);
}

/* ==========================================================================
   管理后台 —— 左侧导航 + 顶部栏 + 内容区
   与前台共用同一套品牌变量；类名全部是 .admin-* 或后台专用，不影响前台。
   ⚠ 这一段曾在前台视觉升级时被整段删掉，导致后台（含登录页）退化为裸 HTML。
     以后改前台样式请务必保留本节；tools/render_regress.php 里有断言兜底。
   ========================================================================== */

/* ── 登录页 ── */
body.login-page {
    display: grid; place-items: center;
    min-height: 100vh; margin: 0; padding: 24px;
    background:
        radial-gradient(900px 520px at 22% 4%, rgba(35, 167, 192, .34), transparent 62%),
        linear-gradient(135deg, #0d3a5a 0%, #14708d 52%, #23a7c0 100%);
}
.login-box {
    width: 100%; max-width: 372px;
    padding: 38px 34px 30px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: 0 26px 68px rgba(8, 36, 54, .30);
}
.login-box h1 {
    margin: 0 0 22px;
    text-align: center;
    font-size: 1.3rem; font-weight: 800; letter-spacing: .01em;
    color: var(--ink);
}
.login-box h1::after {
    content: ''; display: block;
    width: 46px; height: 3px; margin: 13px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--gold));
}
.login-box label { display: block; margin-bottom: 15px; font-size: 13.6px; font-weight: 600; color: var(--ink-2); }
.login-box input[type=text],
.login-box input[type=password] {
    display: block; width: 100%; margin-top: 7px;
    padding: 12px 14px;
    font: inherit; font-size: 15px; color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
}
.login-box input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 145, 168, .13); }
.login-box .btn { width: 100%; margin-top: 4px; }
.login-box .alert { margin-bottom: 16px; }
.login-box .muted { margin: 16px 0 0; text-align: center; font-size: 12.6px; line-height: 1.6; }

/* ── 骨架 ── */
body.admin { background: var(--bg-soft); }
.admin-shell { display: flex; align-items: stretch; min-height: 100vh; }

.admin-side {
    flex: 0 0 238px; width: 238px;
    display: flex; flex-direction: column;
    padding: 20px 14px;
    background: linear-gradient(180deg, #0d3a5a 0%, #0b2b44 100%);
    color: #b6c4d0;
}
.admin-logo {
    padding: 6px 12px 18px;
    font-size: 1.08rem; font-weight: 800; letter-spacing: .02em;
    color: #fff;
}
.admin-logo::after {
    content: ''; display: block;
    width: 34px; height: 3px; margin-top: 11px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand-400), var(--gold));
}
.admin-side nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.admin-side nav a,
.admin-logout {
    display: block;
    padding: 11px 13px;
    border-radius: 11px;
    color: #b6c4d0;
    font-size: 14.5px; line-height: 1.5;
    transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.admin-side nav a:hover,
.admin-side nav a.active {
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-400) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(14, 145, 168, .34);
}
.admin-logout {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0 0 11px 11px;
    color: #8ea0ae;
}
.admin-logout:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top {
    display: flex; align-items: center; gap: 14px;
    height: 62px; padding: 0 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px; font-weight: 700; color: var(--ink);
}
.admin-user { margin-left: auto; font-weight: 400; font-size: 13.6px; color: var(--muted); }
.admin-user a { color: var(--brand); font-weight: 600; }
.admin-content { flex: 1; padding: 26px; }

/* 小屏抽屉开关（.admin-top 内的 ☰） */
.admin-menu-btn {
    display: none;
    align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: none;
    font-size: 18px; line-height: 1; cursor: pointer;
    color: var(--ink); background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 11px;
}
.admin-menu-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ── 控制台统计卡 ── */
.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px; margin-bottom: 26px;
}
.stat-card {
    padding: 20px; text-align: center; color: inherit;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--brand-400); box-shadow: var(--sh); }
.stat-card .num {
    font-family: var(--font-num);
    font-size: 1.9rem; font-weight: 800; line-height: 1.2;
    color: var(--brand);
}
.stat-card .lbl { margin-top: 2px; font-size: 13.6px; color: var(--muted); }

/* ── 面板 ── */
.panel {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
}
.panel h3 { margin: 0 0 14px; font-size: 1.04rem; }
.tips { display: grid; gap: 9px; margin: 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); }
.tips code { padding: 1px 7px; border-radius: 7px; background: var(--bg-mist); font-size: .87em; }

/* ── 工具栏 / 搜索 / 分页 ── */
.toolbar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    margin-bottom: 18px;
}
.toolbar h3 { margin: 0; font-size: 1.06rem; }
.search-form { display: flex; align-items: center; gap: 8px; }
.search-form input[type=text] {
    width: 190px; padding: 9px 15px;
    font: inherit; font-size: 14px; color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 100px;
}
.search-form input[type=text]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 145, 168, .13); }
.search-form .btn { padding: 9px 20px; font-size: 14px; }
.pager {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-top: 22px; font-size: 14.2px;
}
.pager a {
    padding: 8px 16px; font-weight: 600;
    color: var(--brand); background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
}
.pager a:hover { border-color: var(--brand); background: var(--brand-50); }

/* ── 数据表 ── */
.table {
    width: 100%; border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
}
.table th, .table td {
    padding: 12px 14px;
    text-align: left; vertical-align: middle;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14.2px;
}
.table th {
    background: var(--bg-mist);
    color: var(--ink-2);
    font-size: 13.4px; font-weight: 700; letter-spacing: .02em;
    white-space: nowrap;
}
.table tbody tr { transition: background .18s var(--ease); }
.table tbody tr:hover { background: var(--brand-50); }
.table tr:last-child td { border-bottom: none; }
.thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ops a { margin-right: 12px; font-size: 14px; font-weight: 600; color: var(--brand); }
.ops a:hover { text-decoration: underline; }
.ops a.danger { color: var(--err); }
/* 列表「删除」改为 POST 按钮（关联外部 #delForm），外观与旧链接一致 */
.ops .link-danger {
    border: none; background: none; padding: 0; margin: 0 0 0 12px;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--err); cursor: pointer;
}
.ops .link-danger:hover { text-decoration: underline; }
.col-check { width: 44px; text-align: center; }
.col-check input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--brand); }
.col-sort { width: 96px; text-align: center; white-space: nowrap; }
.drag-handle {
    display: inline-block; vertical-align: middle;
    cursor: grab; user-select: none;
    color: var(--muted); font-size: 1.05rem; letter-spacing: -2px;
}
.drag-handle:active { cursor: grabbing; }
.move-btns { display: inline-block; margin-left: 4px; vertical-align: middle; }
.move-btns a { margin: 0 1px; font-size: .72rem; color: var(--brand); text-decoration: none; }
.move-btns a:hover { color: var(--brand-600); }
tr.dragging { opacity: .45; }
tr.drag-over { box-shadow: inset 0 3px 0 var(--brand); }

/* ── 批量操作条 ── */
.batch-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 14px; padding: 12px 16px;
    background: var(--bg-mist);
    border: 1px solid var(--line);
    border-radius: var(--r);
}
.batch-bar .small { margin-right: auto; }
.batch-bar .btn { padding: 9px 18px; font-size: 13.8px; }
.btn-danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn-danger:hover { background: #be123c; border-color: #be123c; color: #fff; }

/* ── 表单 ── */
.admin-form {
    max-width: 720px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-sm);
}
.admin-form .preview {
    width: 104px; height: 104px; object-fit: cover;
    margin-top: 4px;
    border-radius: 12px; border: 1px solid var(--line);
}
/* 富文本被 Quill 接管后，原始 textarea 靠 [hidden] 藏起来。
   dist 的 .form textarea{display:block} 会盖掉 UA 的 [hidden]{display:none}，
   这里必须显式压回去，否则后台会多出一个空的 HTML 源码框。 */
.admin-form textarea.rich-input[hidden] { display: none !important; }
.rich-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; }

/* 「移除当前图片」勾选框：它嵌套在外层 label 里，会被 .form input 拉成 100% 宽 */
.admin-form .rm-check {
    display: inline-flex; align-items: center; gap: 7px;
    margin: 2px 0 4px;
    font-size: 13.2px; font-weight: 500; color: var(--err);
}
.admin-form .rm-check input[type=checkbox] {
    display: inline-block; width: 16px; height: 16px;
    margin: 0; padding: 0;
    accent-color: var(--err);
}

/* 后台是白底：前台给深色背景用的 ghost 按钮在这里必须反色，否则白字白底不可见 */
body.admin .btn-ghost {
    background: #fff; border-color: var(--line); color: var(--ink-2);
    box-shadow: var(--sh-sm);
}
body.admin .btn-ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand); }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── 富文本（Quill 本地副本）── */
.ql-wrap {
    margin-top: 8px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
}
.ql-wrap .ql-toolbar.ql-snow { border: none; border-bottom: 1px solid var(--line); background: var(--bg-mist); }
.ql-wrap .ql-container.ql-snow { border: none; min-height: 220px; font-family: var(--font); font-size: 15px; }
.ql-wrap .ql-editor { min-height: 200px; }

/* ── 留言列表 ── */
.msg-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.msg-list li {
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}
.msg-list .msg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-list .msg-body { margin: 8px 0 0; font-size: 14.4px; color: var(--ink-2); }

/* ── 后台响应式：小屏侧栏改抽屉（.admin-menu-btn 控制 .open）── */
@media (max-width: 900px) {
    .admin-side {
        position: fixed; left: 0; top: 0; bottom: 0; z-index: 980;
        transform: translateX(-100%);
        transition: transform .24s var(--ease);
        box-shadow: 0 0 44px rgba(0, 0, 0, .32);
    }
    .admin-side.open { transform: none; }
    .admin-menu-btn { display: inline-flex; }
    .admin-top { padding: 0 16px; }
    .admin-content { padding: 18px 16px; }
    .search-form input[type=text] { width: 148px; }
}
@media (max-width: 560px) {
    .toolbar { align-items: flex-start; }
    .admin-form { padding: 20px 18px; }
    .stat-card .num { font-size: 1.6rem; }
    .cards-row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
