/* ==========================================================================
   昆明名扬义齿 · 官网前台样式表
   --------------------------------------------------------------------------
   设计取向：医疗器械行业官网 —— 克制、可信、信息优先。
   技术取向：单文件、零外部依赖（不引用 CDN 字体与框架），适配宝塔服务器；
             使用 CSS 变量便于后续换色；全部图标为内联 SVG。
   断点：1080px（导航折叠）、860px、560px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
    /* 主色：医疗深海蓝，传达专业与洁净 */
    --brand: #0e6f9c;
    --brand-dark: #0a5273;
    --brand-light: #e8f2f8;
    /* 辅色：齿科青绿，用于关键数据与强调 */
    --accent: #12a594;
    --accent-light: #e6f6f4;
    /* 文字与背景 */
    --ink: #10242e;
    --ink-soft: #35505e;
    --muted: #647c8b;
    --line: #e2ecf1;
    --line-strong: #cfdee6;
    --bg: #ffffff;
    --bg-soft: #f5f9fb;
    --bg-dark: #0d2a38;
    /* 状态色 */
    --warn: #b45309;
    --warn-bg: #fff7ed;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --ok: #15803d;
    --ok-bg: #f0fdf4;
    /* 尺寸与阴影 */
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 36, 46, .06);
    --shadow: 0 6px 20px rgba(16, 36, 46, .07);
    --shadow-lg: 0 14px 40px rgba(16, 36, 46, .1);
    --container: 1200px;
    /* 字体：优先系统中文字体，避免外链字体造成的首屏空白 */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::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);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.35; font-weight: 700; color: var(--ink); }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .35em; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; }
code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

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

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. 按钮
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border: 1px solid transparent; border-radius: 8px;
    font-size: 15px; font-weight: 600; font-family: inherit; line-height: 1.2;
    cursor: pointer; text-align: center; transition: all .2s; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-light); color: var(--brand-dark); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   4. 顶部联系条
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--bg-dark); color: #c8dbe4;
    font-size: 13px; line-height: 1.6;
}
.topbar__inner { display: flex; align-items: center; gap: 22px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--accent); flex: none; }
.topbar__item a { color: #fff; font-weight: 600; }
.topbar__item a:hover { color: var(--accent); }
.topbar__item--tag { margin-left: auto; color: #8fb0c0; }

/* --------------------------------------------------------------------------
   5. 头部与导航
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(180%) blur(8px);
    transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
/* 横版 LOGO：按高度等比缩放，宽度自适应（原图 684×119，宽高比约 5.75:1） */
.brand__logo { display: block; height: 44px; width: auto; max-width: 240px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav li { margin: 0; }
.main-nav a {
    display: block; padding: 9px 11px; border-radius: 6px;
    font-size: 14.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.main-nav a.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 700; }

.nav-toggle {
    display: none; margin-left: auto; width: 44px; height: 40px;
    background: #fff; border: 1px solid var(--line-strong); border-radius: 8px;
    cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin-bottom: 4px; }
.nav-toggle span:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   6. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumb { padding: 16px 0 0; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { color: var(--line-strong); }
.breadcrumb__current { color: var(--ink-soft); font-weight: 600; }

/* --------------------------------------------------------------------------
   7. 首页 Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, #0d2a38 0%, #0e4e6b 55%, #0e6f9c 100%);
    color: #fff; padding: 68px 0 60px;
}
.hero::after {
    /* 装饰性齿形弧线，暗示齿科属性，纯装饰不影响可访问性 */
    content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px;
    border-radius: 50%; background: radial-gradient(circle, rgba(18, 165, 148, .28) 0%, transparent 68%);
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; }
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 20px; color: #dff1f7;
}
.hero__eyebrow b { color: var(--accent); font-weight: 700; }
.hero h1 { color: #fff; font-size: 36px; line-height: 1.35; margin-bottom: 18px; letter-spacing: .4px; }
.hero h1 em { font-style: normal; color: #6fe0cd; }
.hero__lead { font-size: 16.5px; color: #cfe4ee; max-width: 640px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }

/* Hero 右侧核心事实卡 */
.hero__panel {
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius-lg); padding: 22px 22px 18px; backdrop-filter: blur(6px);
}
.hero__panel h2 { font-size: 15px; color: #9fd4e6; margin-bottom: 14px; font-weight: 600; letter-spacing: .5px; }
.hero__facts { list-style: none; margin: 0; padding: 0; }
.hero__facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); font-size: 14px; }
.hero__facts li:last-child { border-bottom: 0; }
.hero__facts span { color: #bcd6e2; }
.hero__facts b { color: #fff; font-weight: 700; text-align: right; }
.hero__facts b.is-todo { color: #ffd08a; font-weight: 500; font-size: 13px; }

/* 首页核心事实条 */
.fact-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.fact-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); }
.fact-band__item { background: #fff; padding: 24px 20px; text-align: center; }
.fact-band__value { font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: .5px; line-height: 1.2; }
.fact-band__label { font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-top: 6px; }
.fact-band__note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   8. 通用区块
   -------------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 44px 0; }
.section--dark { background: var(--bg-dark); color: #cfe4ee; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 780px; margin-bottom: 36px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand);
    background: var(--brand-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
    letter-spacing: .6px;
}
.section--dark .section__eyebrow { background: rgba(18, 165, 148, .18); color: #6fe0cd; }
.section__title { font-size: 27px; margin-bottom: 12px; }
.section__desc { color: var(--muted); font-size: 15.5px; margin: 0; }
.section--dark .section__desc { color: #a8c5d2; }
.section__foot { margin-top: 32px; text-align: center; }

/* 定义句：GEO 关键。AI 引擎最容易整段引用的就是这种「主语 + 定义」的短句 */
.definition {
    border-left: 4px solid var(--accent); background: var(--accent-light);
    padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 28px;
}
.definition p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.definition strong { color: var(--brand-dark); }

/* --------------------------------------------------------------------------
   9. 栅格与卡片
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--sidebar { grid-template-columns: 1fr 340px; align-items: start; }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-strong); }
.card__icon {
    width: 42px; height: 42px; border-radius: 10px; background: var(--brand-light);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
    color: var(--brand); font-weight: 700; font-size: 17px;
}
.card__title { font-size: 17px; margin-bottom: 8px; }
.card__text { color: var(--muted); font-size: 14.5px; margin: 0; }
.card__media { margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 证照/授权书缩略图：完整展示不裁切，浅底衬托，点击可看原图 */
.card__media--doc { aspect-ratio: auto; padding: 12px; background: #eef3f6; }
.card__media--doc a { display: block; }
.card__media--doc img { width: 100%; height: auto; max-height: 340px; object-fit: contain; border-radius: 6px; }
.card__media--doc img:hover { opacity: .92; }
/* 品牌授权徽标 */
.badge--auth { background: #fdf1e6; color: #b7791f; }
/* 合作伙伴 logo 墙 */
.partner-wall {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: var(--shadow-sm); max-width: 860px; margin: 0 auto;
}
.partner-wall a { display: block; }
.partner-wall img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 4px); }
/* 企业实景照片墙 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; display: block; }
.photo-grid figcaption { padding: 10px 14px; font-size: 14px; color: var(--ink-soft); }
.card__meta { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; }
.card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 14px; font-weight: 600; }
.card--link { display: flex; flex-direction: column; }
.card--link .card__title { margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   9.1 荣誉资质证书墙：横向滚动，图多字少，点击可看原图
   -------------------------------------------------------------------------- */
.cert-wall-wrap { position: relative; }
.cert-wall {
    display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 16px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.cert-wall::-webkit-scrollbar { height: 8px; }
.cert-wall::-webkit-scrollbar-track { background: transparent; }
.cert-wall::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.cert-card {
    flex: 0 0 auto; width: 184px; scroll-snap-align: start;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; box-shadow: var(--shadow-sm); text-align: center; text-decoration: none;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.cert-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); }
.cert-card__media {
    display: flex; align-items: center; justify-content: center;
    background: #eef3f6; border-radius: 6px; overflow: hidden; height: 208px; padding: 8px;
}
.cert-card__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.cert-card__name { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.5; }
.cert-card__meta { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); word-break: break-all; }
/* 左右箭头：渐进增强，无 JS 时隐藏 */
.cert-nav {
    position: absolute; top: 78px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; padding: 0;
    background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); cursor: pointer; font-size: 17px; line-height: 1;
}
.cert-nav--prev { left: -16px; }
.cert-nav--next { right: -16px; }
.cert-nav:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cert-nav[hidden] { display: none; }
.cert-wall__hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* --------------------------------------------------------------------------
   10. 数据表与对比表
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; min-width: 620px; font-size: 14.5px; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--bg-soft); font-weight: 700; color: var(--ink-soft); white-space: nowrap; font-size: 14px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fbfdfe; }
.data-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .col-key { font-weight: 600; color: var(--ink); }

/* 二模 vs 单模对比表：突出差异，便于 AI 抽取对照关系 */
.compare-table th:first-child, .compare-table td:first-child { width: 26%; }
.compare-table .is-good { color: var(--ok); font-weight: 600; }
.compare-table .is-weak { color: var(--warn); }

/* 键值表（工商信息、资质详情） */
.kv-list { margin: 0; display: grid; grid-template-columns: 190px 1fr; font-size: 14.5px; }
.kv-list dt { padding: 12px 0; color: var(--muted); border-bottom: 1px dashed var(--line); }
.kv-list dd { padding: 12px 0; margin: 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 500; word-break: break-all; }

/* 页脚事实清单 */
.fact-list { margin: 14px 0 0; font-size: 14px; }
.fact-list dt { color: #7fa1b2; font-size: 12.5px; margin-top: 10px; }
.fact-list dd { margin: 2px 0 0; color: #e3f0f6; }
.fact-list dd a { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   11. 工艺步骤
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 18px; }
.steps--grid { grid-template-columns: repeat(3, 1fr); }
.step {
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
    border-radius: var(--radius); padding: 22px; position: relative;
}
.step__no {
    display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
    color: var(--brand); background: var(--brand-light); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.step__title { font-size: 17px; margin-bottom: 8px; }
.step__summary { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }
.step__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.step__meta span { background: var(--bg-soft); border-radius: 4px; padding: 3px 8px; }
.step__quality { background: var(--accent-light); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-soft); }
.step__quality b { color: var(--accent); display: block; margin-bottom: 4px; font-size: 12.5px; letter-spacing: .5px; }
.step__quality p { margin: 0; }

/* 横向流程条（首页用） */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; list-style: none; margin: 0 0 28px; padding: 0; }
.flow li {
    flex: 1 1 150px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 14px; margin: 0; position: relative; min-width: 0;
}
.flow li::after {
    content: "›"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
    color: var(--line-strong); font-size: 20px; font-weight: 700;
}
.flow li:last-child::after { display: none; }
.flow__no { font-size: 11.5px; font-weight: 700; color: var(--brand); letter-spacing: 1px; }
.flow__title { font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.flow__desc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* --------------------------------------------------------------------------
   12. 时间轴（合规历程）
   -------------------------------------------------------------------------- */
.timeline { position: relative; margin: 0; padding: 0 0 0 26px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.timeline__item { position: relative; padding: 0 0 26px; margin: 0; }
.timeline__item::before {
    content: ""; position: absolute; left: -26px; top: 7px; width: 14px; height: 14px;
    border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.timeline__item--warn::before { border-color: var(--warn); }
.timeline__item--ok::before { border-color: var(--accent); }
.timeline__date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline__title { font-size: 16.5px; margin: 4px 0 8px; }
.timeline__content { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 8px; }
.timeline__year {
    font-size: 15px; font-weight: 700; color: var(--brand); margin: 26px 0 14px;
    padding-left: 0; letter-spacing: 1px;
}
.timeline__year:first-of-type { margin-top: 0; }

/* --------------------------------------------------------------------------
   13. 徽标与状态标签
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
    background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
}
.badge--license { background: var(--brand-light); color: var(--brand-dark); border-color: #c9e0ed; }
.badge--patent { background: var(--accent-light); color: #0b7268; border-color: #bfe6e1; }
.badge--honor { background: #fff7ed; color: var(--warn); border-color: #fde3c4; }
.badge--report { background: #f4f6fb; color: #48566d; border-color: #e0e5ef; }
.badge--ok { background: var(--ok-bg); color: var(--ok); border-color: #c8ecd3; }

/* 「待核实」占位标记：工商/资质事实未填写时显示，提醒上线前必须替换 */
.ph-todo {
    display: inline-block; background: var(--warn-bg); color: var(--warn);
    border: 1px dashed #f0c48a; border-radius: 4px; padding: 1px 8px;
    font-size: 12.5px; font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. 常见问题
   -------------------------------------------------------------------------- */
.faq-block { display: grid; gap: 12px; }
.faq-block__title { font-size: 19px; margin-bottom: 4px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-item__q {
    display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px;
    cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__index { color: var(--brand); font-size: 13px; font-weight: 700; flex: none; margin-top: 3px; letter-spacing: .5px; }
.faq-item__text { flex: 1; }
.faq-item__icon { position: relative; width: 16px; height: 16px; flex: none; margin-top: 5px; }
.faq-item__icon::before, .faq-item__icon::after {
    content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s;
}
.faq-item__icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-item__icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a { padding: 0 20px 18px 48px; color: var(--ink-soft); font-size: 14.5px; }
.faq-item__a p { margin: 0 0 8px; }
.faq-item__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   15. CTA 区块
   -------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, #0d2a38, #0f5573); color: #fff; padding: 46px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band__text h2 { color: #fff; font-size: 23px; margin-bottom: 8px; }
.cta-band__text p { color: #b9d5e2; margin: 0; font-size: 14.5px; max-width: 660px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. 表单
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field__label .req { color: var(--danger); margin-left: 2px; }
.field__input, .field__select, .field__textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px;
    font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field__textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field__input:focus, .field__select:focus, .field__textarea:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 111, 156, .12);
}
.field__input.has-error, .field__textarea.has-error { border-color: var(--danger); }
.field__help { font-size: 12.5px; color: var(--muted); }
.field__error { font-size: 12.5px; color: var(--danger); font-weight: 600; }

/* 蜜罐字段：对真实用户不可见（不使用 display:none，避免部分机器人识别） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 13px 18px; font-size: 14.5px; border: 1px solid transparent; }
.alert--success { background: var(--ok-bg); color: var(--ok); border-color: #c8ecd3; }
.alert--error { background: var(--danger-bg); color: var(--danger); border-color: #f6c9c9; }
.alert--warning { background: var(--warn-bg); color: var(--warn); border-color: #f5d9b0; }
.alert--info { background: var(--brand-light); color: var(--brand-dark); border-color: #c9e0ed; }
.alert ul { margin: 6px 0 0; }

/* 提示块（合规说明、风险提示） */
.notice {
    border: 1px solid var(--line-strong); background: var(--bg-soft);
    border-radius: var(--radius); padding: 16px 20px; font-size: 14px; color: var(--ink-soft);
}
.notice h4 { font-size: 14.5px; margin-bottom: 6px; }
.notice--warn { background: var(--warn-bg); border-color: #f3dcbc; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. 内页头图
   -------------------------------------------------------------------------- */
.page-hero { background: linear-gradient(150deg, #0d2a38 0%, #10506d 100%); color: #fff; padding: 44px 0 40px; }
.page-hero__inner { max-width: 900px; }
.page-hero h1 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.page-hero__desc { color: #c2dbe7; font-size: 15.5px; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.page-hero__meta .badge { background: rgba(255, 255, 255, .14); color: #d9ecf4; border-color: rgba(255, 255, 255, .28); }

/* 正文内容区（后台富文本输出） */
.prose { font-size: 15.5px; color: var(--ink-soft); }
.prose h2 { font-size: 21px; margin-top: 32px; color: var(--ink); }
.prose h3 { font-size: 17px; margin-top: 24px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose table { margin: 18px 0; font-size: 14.5px; border: 1px solid var(--line); }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   18. 案例卡片
   -------------------------------------------------------------------------- */
.case-card { display: flex; flex-direction: column; }
.case-card__cover {
    aspect-ratio: 16 / 9; background: var(--bg-soft) center/cover no-repeat;
    border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line);
}
.case-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.case-card__summary { color: var(--muted); font-size: 14.5px; flex: 1; }
.card--flush { padding: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   19. 页脚
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #9fbdcb; padding: 52px 0 26px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer__title { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.site-footer__desc { color: #8fadb9; font-size: 13.5px; line-height: 1.8; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; line-height: 1.6; }
.footer-links a { color: #9fbdcb; }
.footer-links a:hover { color: var(--accent); }
.site-footer .btn--ghost { margin-top: 12px; }
.site-footer__bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px; color: #7e9dab;
}
.site-footer__bottom p { margin: 0 0 6px; }
.site-footer__bottom a { color: #9fbdcb; }
.site-footer__note { color: #6b8a99; font-size: 12.5px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   20. 移动端底部操作条
   -------------------------------------------------------------------------- */
.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   21. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        display: none; padding: 10px 20px 18px;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { padding: 12px 14px; font-size: 15px; }
    .site-header__inner { position: relative; }
    .topbar__item--tag { display: none; }
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 28px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .steps--grid { grid-template-columns: repeat(2, 1fr); }
    .grid--sidebar { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .section { padding: 48px 0; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .steps--grid { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .flow li::after { display: none; }
    .flow li { flex: 1 1 100%; }
    .kv-list { grid-template-columns: 1fr; }
    .kv-list dt { padding-bottom: 2px; }
    .kv-list dd { padding-top: 2px; }
    .section__title { font-size: 23px; }
    .page-hero h1 { font-size: 24px; }
    .hero { padding: 48px 0 44px; }
    .hero h1 { font-size: 24px; }
    .hero__lead { font-size: 15.5px; }
    /* 底部固定操作条，方便手机上直接拨号 */
    .mobile-bar {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        background: var(--line); border-top: 1px solid var(--line-strong);
    }
    .mobile-bar__item {
        background: #fff; color: var(--ink-soft); text-align: center;
        padding: 11px 4px; font-size: 13.5px; font-weight: 600;
        display: flex; align-items: center; justify-content: center; gap: 5px;
    }
    .mobile-bar__item--primary { background: var(--brand); color: #fff; }
    .mobile-bar__item--primary:hover { color: #fff; }
    .mobile-bar__item svg { width: 15px; height: 15px; fill: currentColor; }
    body { padding-bottom: 46px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .card { padding: 20px; }
    .container { padding: 0 16px; }
}

@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
    .fact-band__value { font-size: 22px; }
    .hero__actions .btn { flex: 1 1 100%; }
    /* 移动端横版 LOGO 略缩小，避免挤压导航 */
    .brand__logo { height: 34px; max-width: 190px; }
    h1 { font-size: 25px; }
}

/* 照片墙响应式 */
@media (max-width: 900px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid img { height: 180px; }
}

/* 证书墙响应式 */
@media (max-width: 560px) {
    .cert-card { width: 152px; }
    .cert-card__media { height: 172px; }
    .cert-nav { display: none; }
}

/* 打印样式：便于诊所打印工艺说明与服务信息 */
@media print {
    .topbar, .site-header, .mobile-bar, .cta-band, .site-footer { display: none; }
    body { font-size: 12pt; color: #000; padding: 0; }
    .page-hero, .hero { background: none; color: #000; padding: 0 0 16pt; }
    .page-hero h1, .hero h1 { color: #000; }
    .section { padding: 12pt 0; }
}
