/* 企业官网默认模板样式：医院/医美风格，移动优先，PC/H5 自适应 */
:root {
    --brand: #b81c25;
    --brand-dark: #97141c;
    --gold: #c9a063;
    --ink: #1f2329;
    --text: #2b2f36;
    --text-light: #6a7078;
    --border: #e8e9ec;
    --bg: #ffffff;
    --bg-soft: #f6f4f1;
    --navy: #1e2740;
    --container: 1200px;
    --header-h: 64px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

.rich { color: var(--text-light); }

.rich p { margin: 0 0 12px; }

.rich-center { max-width: 860px; margin: 0 auto; text-align: center; }

.section-lead { max-width: 800px; margin: 0 auto 28px; text-align: center; color: var(--text-light); }

/* ============ 头部与下拉导航 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand-logo { height: 40px; width: auto; }

.brand-name { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: 1px; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--ink);
    padding: 0 14px;
    height: var(--header-h);
    line-height: var(--header-h);
    transition: color .2s;
    white-space: nowrap;
}

.nav-item:hover { color: var(--brand); }

.nav-group { position: relative; }

.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .7; transition: transform .2s; }

.nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 150px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s;
}

.nav-group:hover .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.nav-group:hover .caret { transform: rotate(180deg); }

.nav-sub a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--text); white-space: nowrap; }

.nav-sub a:hover { background: var(--bg-soft); color: var(--brand); }

.nav-toggle { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 20px; background: none; border: 0; padding: 0; cursor: pointer; }

.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; }

/* ============ Banner ============ */
.hero { width: 100%; background: var(--bg-soft); }

.banner { position: relative; overflow: hidden; }

.banner-slide { display: none; position: relative; }

.banner-slide.is-active { display: block; }

.banner-img { width: 100%; height: auto; object-fit: cover; }

.banner-caption { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); padding: 0 16px; }

.banner-title { font-size: 32px; font-weight: 800; margin: 0 0 8px; letter-spacing: 2px; }

.banner-sub { font-size: 16px; margin: 0; opacity: .95; }

.banner-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }

.banner-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }

.banner-dot.is-active { background: var(--gold); }

/* ============ 亮点条 ============ */
.slogan-bar {
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    color: #fff;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 0;
}

.slogan-bar .container { position: relative; }

.slogan-bar::before, .slogan-bar::after { content: ""; }

/* ============ 通用区块 ============ */
.section { padding: 56px 0; }

.bg-soft { background: var(--bg-soft); }

.section-title { font-size: 27px; text-align: center; margin: 0 0 30px; color: var(--ink); font-weight: 800; }

.section-title::after { content: ""; display: block; width: 46px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 2px; }

/* 首页简介 */
.intro-section { padding-top: 48px; padding-bottom: 40px; text-align: center; }

.intro-title { font-size: 30px; margin: 0 0 16px; color: var(--ink); font-weight: 800; }

.intro-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 16px; }

.tag { display: inline-block; padding: 5px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; font-size: 14px; color: var(--text-light); }

.intro-summary { max-width: 820px; margin: 0 auto 18px; color: var(--text-light); }

/* 院长寄语 */
.director-section { text-align: center; }

.director-quote {
    max-width: 820px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2;
    color: var(--text);
    position: relative;
    padding: 8px 24px;
    border: 0;
    quotes: "“" "”";
}

.director-quote::before { content: open-quote; color: var(--gold); font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 6px; }

.director-name { margin-top: 18px; font-weight: 700; color: var(--brand); }

/* 卡片网格 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }

.card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: box-shadow .2s, transform .2s; }

.card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .1); transform: translateY(-3px); }

.card-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }

.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.card:hover .card-cover img { transform: scale(1.05); }

.card-body { padding: 16px 18px; }

.card-title { font-size: 17px; margin: 0 0 8px; color: var(--ink); }

.card-summary { font-size: 14px; color: var(--text-light); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.card-time { font-size: 13px; color: #a8abb2; }

/* ============ 右侧长期悬浮 ============ */
.float-bar { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; }

.float-item {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(184, 28, 37, .3);
    transition: background .2s;
}

.float-item:hover { background: var(--brand-dark); }

.float-top { background: var(--navy); box-shadow: 0 6px 16px rgba(30, 39, 64, .3); }

.float-top:hover { background: #12182b; }

.float-ico { font-size: 14px; font-weight: 600; }

.float-pop {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) scale(.96);
    transform-origin: right center;
    background: var(--bg);
    color: var(--text);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
    padding: 12px;
    width: 148px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s;
}

.float-pop::after { content: ""; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 7px solid var(--bg); }

.float-item:hover .float-pop, .float-item.is-open .float-pop { opacity: 1; visibility: visible; transform: translateY(-50%) scale(1); }

.float-pop img { width: 120px; height: 120px; margin: 0 auto 6px; }

.float-pop p { margin: 0; font-size: 13px; color: var(--text-light); }

.float-phone { font-size: 16px; font-weight: 700; color: var(--brand) !important; }

.float-call { display: inline-block; margin-top: 6px; padding: 4px 12px; background: var(--brand); color: #fff; border-radius: 6px; font-size: 13px; }

/* ============ 底部 ============ */
.site-footer { background: var(--navy); color: #b9c0d0; }

.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding: 44px 16px; }

.footer-col { min-width: 180px; }

.footer-company { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 12px; }

.footer-title { font-size: 15px; color: #fff; margin: 0 0 12px; }

.footer-line { margin: 7px 0; font-size: 14px; }

.footer-line a, .footer-contact a { color: #b9c0d0; }

.footer-qrcode { width: 104px; height: 104px; border-radius: 8px; background: #fff; padding: 4px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }

.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding: 16px; font-size: 13px; color: #8890a5; }

.footer-bottom a { color: #8890a5; }
.medical-disclaimer { max-width: 1180px; margin: 0 auto; padding: 0 16px 16px; color: #8890a5; font-size: 13px; line-height: 1.7; text-align: center; }
.config-section { margin-top: 36px; }
.config-preline { white-space: pre-line; }

/* 导航当前页高亮 */
.nav-item.is-active, .nav-group.is-active > .nav-parent { color: var(--brand); }

.nav-sub a.is-active { background: var(--bg-soft); color: var(--brand); }

/* 内容页头部 banner */
.page-hero {
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
    color: #fff;
    padding: 44px 0 40px;
    text-align: center;
}

.page-hero-title { font-size: 30px; font-weight: 800; margin: 0 0 12px; letter-spacing: 1px; }

.breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .82); }

.breadcrumb a { color: rgba(255, 255, 255, .82); }

.breadcrumb a:hover { color: #fff; }

.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* 富文本正文页 */
.rich-article { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 2; color: var(--text); }

.rich-article p { margin: 0 0 16px; }

.empty-tip { text-align: center; color: var(--text-light); padding: 40px 0; }

/* 了解更多按钮 */
.btn-more {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 28px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-size: 15px;
    transition: background .2s, transform .2s;
}

.btn-more:hover { background: var(--brand-dark); transform: translateY(-1px); color: #fff; }

.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

.btn-ghost:hover { background: var(--brand); color: #fff; }

.section-more { text-align: center; margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.home-intro { text-align: center; }

.home-contact .contact-list { text-align: center; }

.card-grid-top { margin-top: 30px; }

/* 联系页 */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }

.contact-info { flex: 1; min-width: 280px; }

.contact-name { font-size: 22px; color: var(--ink); margin: 0 0 20px; }

.contact-info .contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }

.ci-label { color: var(--text-light); min-width: 72px; letter-spacing: 2px; }

.contact-qr { text-align: center; }

.contact-qr img { width: 168px; height: 168px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; }

.contact-qr p { margin: 10px 0 0; font-size: 14px; color: var(--text-light); }

/* 数据统计条 */
.stats-band { background: var(--navy); color: #fff; padding: 30px 0; }

.stats-grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px; }

.stat-item { text-align: center; flex: 1; min-width: 120px; }

.stat-num { font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1.2; }

.stat-label { font-size: 14px; color: #c9cdd4; margin-top: 6px; }

/* 诊疗科室 */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.dept-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: 8px;
    padding: 24px 20px;
    transition: box-shadow .2s, transform .2s;
}

.dept-item:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .08); transform: translateY(-3px); }

.dept-name { font-size: 18px; margin: 0 0 8px; color: var(--ink); }

.dept-desc { font-size: 14px; color: var(--text-light); margin: 0; }

/* 特色优势 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.feature-item { text-align: center; padding: 8px 12px; }

.feature-idx {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--brand);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.feature-name { font-size: 18px; margin: 0 0 8px; color: var(--ink); }

.feature-desc { font-size: 14px; color: var(--text-light); margin: 0; }

/* 专业专题列表 */
.topic-intro { margin-bottom: 32px; }

.topic-list { display: flex; flex-direction: column; gap: 20px; }

.topic-item {
    display: flex;
    gap: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.topic-item:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }

.topic-cover { width: 260px; flex-shrink: 0; background: var(--bg-soft); }

.topic-cover img { width: 100%; height: 100%; object-fit: cover; }

.topic-body { padding: 20px 22px; }

.topic-title { font-size: 19px; margin: 0 0 10px; color: var(--ink); }

.topic-summary { font-size: 15px; color: var(--text-light); margin: 0 0 10px; line-height: 1.8; }

/* 卡片/专题标题链接 */
.card-title a, .topic-title a { color: inherit; transition: color .2s; }

.card-title a:hover, .topic-title a:hover { color: var(--brand); }

/* 文章详情页 */
.page-hero-slim { padding: 20px 0 18px; }

.article-container { max-width: 860px; }

.article-title { font-size: 28px; color: var(--ink); margin: 0 0 12px; line-height: 1.4; }

.article-meta { color: var(--text-light); font-size: 14px; margin: 0 0 20px; }

.meta-sep { margin: 0 8px; opacity: .6; }

.article-author { color: var(--brand); }

.article-summary {
    background: var(--bg-soft);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    color: var(--text-light);
    margin: 0 0 22px;
}

.article-cover { margin: 0 0 22px; }

.article-cover img { width: 100%; border-radius: 10px; }

.article-content { font-size: 16px; line-height: 2; }

.article-foot { margin-top: 30px; padding-top: 16px; border-top: 1px dashed var(--border); }

.article-brand-line { font-size: 13px; color: var(--text-light); margin: 0; }

/* 常见问题 */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 12px; background: var(--bg); overflow: hidden; }

.faq-q {
    cursor: pointer;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    list-style: none;
    position: relative;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after { content: "+"; position: absolute; right: 18px; color: var(--brand); font-size: 18px; }

.faq-item[open] .faq-q::after { content: "−"; }

.faq-item[open] .faq-q { color: var(--brand); }

.faq-a { margin: 0; padding: 0 18px 16px; color: var(--text-light); line-height: 1.9; }

/* 首页简介图组 */
.intro-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 24px auto; }

.intro-photo { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }

.intro-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.intro-photo:hover img { transform: scale(1.04); }

/* 医师卡片 */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto 28px; }

.doctor-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 18px;
    transition: box-shadow .2s, transform .2s;
}

.doctor-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .1); transform: translateY(-3px); }

.doctor-photo { aspect-ratio: 4 / 5; background: var(--bg-soft); margin-bottom: 14px; }

.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }

.doctor-name { font-size: 18px; margin: 0 12px 4px; color: var(--ink); }

.doctor-title { font-size: 13px; color: var(--brand); margin: 0 12px 8px; }

.doctor-desc { font-size: 13px; color: var(--text-light); margin: 0 16px; line-height: 1.7; }

/* 地图占位 */
.map-wrap { display: flex; gap: 24px; align-items: stretch; }

.map-canvas {
    flex: 1;
    min-height: 320px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(200, 208, 218, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 208, 218, .35) 1px, transparent 1px),
        linear-gradient(160deg, #e8edf2 0%, #dde5ec 45%, #e4ebe6 100%);
    background-size: 44px 44px, 44px 44px, cover;
    border: 1px solid var(--border);
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 22px;
    height: 22px;
    background: var(--brand);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -100%) rotate(-45deg);
    box-shadow: 0 4px 12px rgba(184, 28, 37, .45);
}

.map-pin::after { content: ""; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }

.map-pin-label {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
    white-space: nowrap;
    max-width: 88%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-card { width: 320px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }

.map-card-title { font-size: 18px; color: var(--ink); margin: 0 0 14px; }

.map-card .contact-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }

.map-card .btn-more { margin-top: 16px; }

.map-wrap-page { margin-top: 32px; }

/* 大图页头（参考站资讯报道版式） */
.page-hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 0;
    text-align: center;
}

.page-hero-mask { position: absolute; inset: 0; background: linear-gradient(rgba(20, 24, 38, .45), rgba(20, 24, 38, .55)); }

.page-hero-inner { position: relative; padding: 76px 16px 64px; }

.page-hero-sub { color: rgba(255, 255, 255, .85); font-size: 15px; letter-spacing: 2px; margin: 6px 0 14px; }

/* 医院动态横向条目 */
.news-list { display: flex; flex-direction: column; }

.news-item { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--border); }

.news-cover { width: 300px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 16 / 10; }

.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.news-item:hover .news-cover img { transform: scale(1.05); }

.news-body { flex: 1; display: flex; flex-direction: column; }

.news-title { font-size: 19px; margin: 0 0 10px; color: var(--ink); line-height: 1.5; }

.news-title a:hover { color: var(--brand); }

.news-meta { font-size: 13px; color: var(--text-light); margin: 0 0 10px; }

.news-source { color: var(--brand); }

.news-summary { font-size: 14px; color: var(--text-light); line-height: 1.9; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.news-tag {
    align-self: flex-start;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-light);
    transition: all .2s;
}

.news-tag:hover { border-color: var(--brand); color: var(--brand); }

.topic-meta { font-size: 13px; color: var(--text-light); margin: 0; }

/* 团队页：管理团队大卡 */
.team-intro-band { padding: 40px 0 8px; }

.leader-card {
    display: flex;
    gap: 36px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.leader-photo { width: 340px; flex-shrink: 0; background: var(--bg-soft); }

.leader-photo img { width: 100%; height: 100%; object-fit: cover; }

.leader-body { padding: 34px 34px 34px 0; }

.leader-name { font-size: 26px; margin: 0 0 14px; color: var(--ink); }

.leader-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }

.leader-tag {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(90deg, var(--gold), #d9b57e);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
}

.leader-desc { color: var(--text-light); line-height: 2; margin: 0; }

.doctor-grid-page { max-width: none; }

.team-more-tip { text-align: center; color: #a8abb2; font-size: 14px; margin: 28px 0 0; }

/* 简介页：左标题右文 */
.about-split { display: flex; gap: 48px; }

.about-side { width: 240px; flex-shrink: 0; }

.about-heading { font-size: 26px; letter-spacing: 6px; color: var(--ink); margin: 0 0 14px; }

.about-heading-line { width: 42px; height: 3px; background: var(--gold); border-radius: 2px; }

.about-watermark { margin: 46px 0 0; font-size: 30px; font-weight: 800; color: rgba(184, 28, 37, .07); letter-spacing: 2px; }

.about-main { flex: 1; }

.about-tags { justify-content: flex-start; margin-top: 20px; }

.intro-gallery-page { max-width: none; }

/* 简介页导览卡 */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.explore-card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: 10px;
    padding: 26px 24px;
    transition: box-shadow .2s, transform .2s;
}

.explore-card:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, .08); transform: translateY(-3px); }

.explore-title { font-size: 18px; margin: 0 0 10px; color: var(--ink); }

.explore-desc { font-size: 14px; color: var(--text-light); line-height: 1.9; margin: 0 0 14px; }

.explore-link { font-size: 13px; color: var(--brand); }

/* ============ H5 自适应 ============ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    }

    .site-nav.is-open { max-height: 560px; overflow-y: auto; }

    .nav-item { height: 48px; line-height: 48px; border-top: 1px solid var(--border); justify-content: space-between; }

    .nav-group { border-top: 1px solid var(--border); }

    .nav-group .nav-item { border-top: 0; }

    .nav-sub {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: var(--bg-soft);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .nav-group.is-open .nav-sub { max-height: 300px; }

    .nav-group.is-open .caret { transform: rotate(180deg); }

    .nav-sub a { padding: 12px 28px; }

    .banner-title { font-size: 20px; }

    .banner-sub { font-size: 13px; }

    .slogan-bar { font-size: 14px; padding: 12px 0; }

    .section { padding: 36px 0; }

    .section-title { font-size: 22px; margin-bottom: 22px; }

    .intro-title { font-size: 24px; }

    .card-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }

    .footer-inner { flex-direction: column; gap: 20px; }

    .stat-num { font-size: 26px; }

    .stat-item { min-width: 40%; }

    .dept-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .dept-item { padding: 16px 14px; }

    .feature-grid { grid-template-columns: 1fr; gap: 18px; }

    .topic-item { flex-direction: column; gap: 0; }

    .topic-cover { width: 100%; aspect-ratio: 16 / 9; }

    .page-hero { padding: 30px 0 26px; }

    .page-hero-title { font-size: 24px; }

    .page-hero-banner { padding: 0; }

    .page-hero-inner { padding: 44px 16px 36px; }

    .intro-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    .doctor-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

    .doctor-desc { display: none; }

    .map-wrap { flex-direction: column; }

    .map-canvas { min-height: 220px; }

    .map-card { width: 100%; }

    .news-item { flex-direction: column; gap: 12px; padding: 20px 0; }

    .news-cover { width: 100%; }

    .leader-card { flex-direction: column; gap: 0; }

    .leader-photo { width: 100%; aspect-ratio: 4 / 3; }

    .leader-body { padding: 20px; }

    .about-split { flex-direction: column; gap: 20px; }

    .about-side { width: 100%; }

    .about-watermark { display: none; }

    /* 移动端悬浮：缩小并靠下 */
    .float-bar { right: 10px; top: auto; bottom: 16px; transform: none; gap: 6px; }

    .float-item { width: 46px; height: 46px; border-radius: 8px; }

    .float-ico { font-size: 12px; }

    .float-pop { right: 56px; width: 132px; }
}

/* medical_default: 专业医疗站主题变量，保持清晰、可信、克制。 */
:root {
    --brand: #1d5f8f;
    --brand-dark: #15476d;
    --brand-deep: #123f63;
    --brand-soft: #f3f7fa;
    --accent: #9b7a38;
    --gold: #9b7a38;
    --navy: #153955;
    --bg-soft: #f5f7fa;
}

.top-strip {
    background: #f1f1f1;
    border-bottom: 1px solid #dedede;
    color: #4d5560;
    font-size: 13px;
}

.top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-welcome {
    margin: 0;
    color: #2a5d83;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.top-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3f4750;
}

.top-action:hover {
    color: var(--brand);
}

.top-icon {
    width: 18px;
    height: 18px;
    border: 1px solid #aeb6bf;
    border-radius: 50%;
    color: #7a838c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
}

.top-sep {
    width: 1px;
    height: 14px;
    background: #d1d5da;
}

.site-header {
    border-bottom-color: rgba(15, 139, 141, .18);
}

.brand-name {
    color: var(--brand);
}

.btn-more,
.float-call,
.banner-dot.is-active {
    background: var(--brand);
}

.float-item {
    background: var(--brand);
    box-shadow: 0 6px 16px rgba(29, 95, 143, .25);
}

.float-item:hover,
.btn-more:hover {
    background: var(--brand-dark);
}

.tag,
.section-title::after,
.feature-idx {
    color: var(--brand);
}

.bg-soft,
.slogan-bar {
    background: var(--brand-soft);
}

.slogan-bar {
    color: var(--brand-deep);
    border-top: 1px solid #dce7ef;
    border-bottom: 1px solid #dce7ef;
}

.page-hero,
.page-hero-banner {
    background: linear-gradient(120deg, #17496f, #1d5f8f);
}

.page-hero-mask {
    display: none;
}

.card,
.doctor-card,
.leader-card,
.explore-card,
.dept-item,
.faq-item,
.map-card,
.intro-photo,
.news-cover,
.topic-item,
.float-item,
.float-pop,
.contact-qr img,
.footer-qrcode,
.map-pin-label {
    border-radius: 6px;
}

.btn-more,
.btn-ghost,
.tag,
.leader-tag,
.news-tag {
    border-radius: 4px;
}

.card:hover,
.doctor-card:hover,
.dept-item:hover,
.explore-card:hover,
.topic-item:hover,
.news-item:hover {
    transform: none;
}

.card:hover,
.doctor-card:hover,
.dept-item:hover,
.explore-card:hover,
.topic-item:hover {
    box-shadow: 0 8px 22px rgba(20, 45, 65, .08);
}

.section-title {
    letter-spacing: 0;
}

.section-title::after {
    background: var(--brand);
}

@media (max-width: 768px) {
    .top-strip-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-actions {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }
}
