/* 暨博口腔官网 · 设计系统 v0.4
   版式参考（只借鉴结构与节奏，不复制文案与图片）：
   shaykq.com  —— 编号式服务清单、主张式段落、问答逐条展开
   rytime-dental.com —— 医生按院区平铺、日期化资讯
   drwells.com.tw —— 院区地址电话直接平铺、牙科百科
   cndentalhospital.com/zh —— 大图分栏、四项理由、01/02/03 流程、预约表单
   规则：中文站靠字号与留白分层；不做机构对比；不发布价格数字。 */

:root {
  --green: #1d4c45;
  --green-deep: #123b36;
  --green-ink: #16302c;
  --gold: #a9803f;
  --gold-text: #8f6c34;
  --gold-light: #d9b98f;
  --gold-pale: #f0e6d5;
  --ink: #1f2a28;
  --ink-soft: #3c4845;
  --muted: #636d6a;
  --cream: #faf8f4;
  --paper: #fffdfa;
  --line: #e7e1d6;
  --line-soft: rgba(18, 59, 54, .1);
  --white: #fff;
  --shadow: 0 14px 40px rgba(22, 48, 44, .08);
  --shadow-lg: 0 26px 66px rgba(18, 59, 54, .16);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1200px;
  /* 层级刻度：内容 < 粘性组件 < 页头 < 浮层 */
  --z-base: 1;
  --z-sticky: 20;
  --z-header: 30;
  --z-overlay: 40;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.78;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-text); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
.section-deep :focus-visible, .site-footer :focus-visible, .cta-block :focus-visible {
  outline-color: var(--gold-light);
}
h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 .6em; font-weight: 600; letter-spacing: .01em; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: .02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- Icons ---------- */
.icon-arrow { flex: none; vertical-align: -.18em; transition: transform .2s ease; }
.card:hover .icon-arrow, a:hover > .icon-arrow, .service-row:hover .icon-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 253, 250, .95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* 跳转到主内容：键盘与读屏用户可跳过导航 */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-overlay);
  padding: 11px 20px; border-radius: 0 0 10px 10px;
  background: var(--green-deep); color: #fff; font-size: .88rem; font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.brand .brand-logo { width: clamp(130px, 11vw, 168px); height: auto; }
.nav { display: flex; gap: clamp(10px, 1.45vw, 22px); margin-left: auto; align-items: center; }
.nav a {
  font-size: .89rem; font-weight: 500; white-space: nowrap; padding: 8px 0;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
  cursor: pointer;
}
/* 导航项触摸目标不小于 44px（用内边距撑高，不改变视觉基线） */
@media (pointer: coarse) {
  .nav a { padding: 13px 0; }
  .nav-toggle { min-height: 44px; padding: 10px 15px; }
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-text); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.hotline { font-size: .84rem; color: var(--muted); white-space: nowrap; }
.hotline strong { color: var(--green-deep); font-size: 1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; cursor: pointer; color: var(--green-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .93rem; font-weight: 600; cursor: pointer; transition: .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold-text); color: #fff; }
.btn-gold:hover { background: #755a2b; color: #fff; }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold-text); color: var(--gold-text); background: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--green-deep); }
.btn-sm { padding: 9px 17px; font-size: .84rem; min-height: 44px; }
/* Hero 深底上的两种按钮（此前类名缺失导致无样式） */
.btn-dark { background: var(--gold-text); color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.btn-dark:hover { background: #755a2b; color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .72); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 780px); overflow: hidden; background: var(--green-deep); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: var(--z-base); pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 40, 36, .88) 0%, rgba(14, 40, 36, .62) 44%, rgba(14, 40, 36, .18) 100%),
    linear-gradient(0deg, rgba(14, 40, 36, .68) 0%, transparent 56%);
}
.hero-inner { position: relative; z-index: var(--z-sticky); min-height: inherit; display: flex; align-items: flex-end; padding: 116px 0 76px; }
.hero-content { max-width: 720px; }
.hero-location {
  display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; letter-spacing: .2em;
  color: rgba(255, 255, 255, .8); margin-bottom: 20px;
}
.hero-location::before { content: ""; width: 26px; height: 1px; background: rgba(255, 255, 255, .6); }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.5rem); line-height: 1.16; margin-bottom: 18px; }
.hero-intro { font-size: 1.06rem; color: rgba(255, 255, 255, .88); max-width: 600px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero-actions .btn { min-width: 210px; }
.hero-note { margin-top: 20px; font-size: .78rem; color: rgba(255, 255, 255, .66); max-width: 560px; }
.proof-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.proof-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding: 15px 0; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(62px, 7.5vw, 104px) 0; }
.section-warm { background: linear-gradient(180deg, #fbf9f5 0%, #f5f1e9 100%); }
.section-deep {
  color: #f2f0ea;
  background: radial-gradient(circle at 12% 0%, rgba(217, 185, 143, .18), transparent 38%), var(--green-deep);
}
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .eyebrow { color: var(--gold-light); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .2em;
  color: var(--gold-text); font-weight: 700; margin-bottom: 14px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1rem; max-width: 740px; }
.section-head::after { content: ""; display: block; width: 46px; height: 2px; background: var(--gold); margin-top: 20px; }
.section-deep .section-head p { color: rgba(242, 240, 234, .78); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::before { display: none; }
.center .section-head::after { margin-inline: auto; }
.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); }

/* ---------- 定义与主张 ---------- */
.definition-band { padding: clamp(44px, 5vw, 68px) 0; }
.geo-definition {
  position: relative; padding: 34px 40px 34px 84px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(22, 48, 44, .05);
  font-size: 1.1rem; line-height: 1.9; color: var(--green-ink);
}
.geo-definition::before {
  content: "“"; position: absolute; left: 26px; top: 10px;
  font-family: var(--serif); font-size: 3.8rem; color: var(--gold-pale); line-height: 1;
}

/* ---------- 编号服务清单（参考站核心版式） ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 26px; align-items: center;
  padding: 28px 4px; border-bottom: 1px solid var(--line); transition: background .2s;
}
.service-row:hover { background: #fbf8f2; }
.service-row { cursor: pointer; }
.service-num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-text); line-height: 1; }
.service-main { min-width: 0; }
.service-row h3 { margin-bottom: 6px; }
.service-row h3 a:hover { color: var(--gold-text); }
.service-row p { color: var(--muted); font-size: .93rem; margin-bottom: 0; max-width: 620px; }
.service-row .tag-list { margin-top: 12px; justify-content: flex-start; }
.service-more { font-size: .86rem; color: var(--gold-text); font-weight: 600; white-space: nowrap; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: .24s ease; height: 100%;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--gold-light); }
.card, .service-row, .team-clinic { cursor: pointer; }
.card.featured { border-color: var(--gold-light); background: linear-gradient(168deg, #fdfaf3 0%, #fff 70%); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-pale); color: var(--gold-text); font-weight: 700; margin-bottom: 16px;
  font-size: 1rem; overflow: hidden;
}
.card-icon img { width: 100%; height: 100%; object-fit: contain; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .86rem; color: var(--gold-text); font-weight: 600; min-height: 44px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: .76rem; padding: 5px 11px; border-radius: 5px; background: var(--cream); color: var(--green-ink); border: 1px solid var(--line); }
.tag-gold { background: #fbf1df; color: #7d5f2e; border-color: #e8d2a6; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; font-size: .85rem; transition: .2s ease;
  cursor: pointer;
}
.chip:hover { border-color: var(--gold-text); color: var(--gold-text); background: #fff; }

/* ---------- Finder ---------- */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.finder-row { display: flex; align-items: flex-start; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.finder-row:last-of-type { border-bottom: none; }
.finder-label { flex: none; width: 104px; font-weight: 650; color: var(--green-deep); padding-top: 8px; }
.finder-items { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------- Process 01/02/03 ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.process-num {
  display: inline-block; font-family: var(--serif); font-size: 2rem; color: var(--gold-text);
  line-height: 1; margin-bottom: 14px;
}
.process-item p { color: var(--muted); font-size: .91rem; margin: 0; }

/* ---------- 医生团队（按院区平铺） ---------- */
.team-by-clinic { display: grid; gap: 22px; }
.team-clinic {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px 24px;
}
.team-clinic-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.team-clinic-head h3 { margin: 0; font-size: 1.16rem; color: var(--green-deep); }
.team-clinic-meta { font-size: .84rem; color: var(--muted); }
.team-clinic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-clinic-foot { margin-top: 20px; }

/* ---------- Doctors ---------- */
.doctor-card { overflow: hidden; padding: 0; }
.doctor-photo { aspect-ratio: 4 / 4.4; background: var(--cream); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s ease; }
.doctor-card:hover .doctor-photo img { transform: scale(1.04); }
.doctor-body { padding: 22px; }
.doctor-meta { font-size: .78rem; color: var(--gold-text); letter-spacing: .06em; margin-bottom: 7px; }
.doctor-body h3 { margin-bottom: 4px; }
.doctor-title { font-size: .85rem; color: var(--muted); min-height: 2.6em; }
.doctor-good { font-size: .85rem; color: var(--ink-soft); margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .89rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--cream); color: var(--green-deep); font-weight: 650; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fcfaf6; }
.note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* 窄屏：表格转为卡片堆叠，避免横向滚动 */
@media (max-width: 640px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table { min-width: 0; display: block; }
  thead { display: none; }
  tbody { display: block; }
  tr {
    display: block; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 6px 16px; margin-bottom: 12px;
  }
  td { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); word-break: break-word; }
  td:last-child { border-bottom: none; }
  td::before {
    content: attr(data-label); display: block; font-size: .72rem; color: var(--muted);
    letter-spacing: .04em; margin-bottom: 3px;
  }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin-inline: auto; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
summary { padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold-text); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 20px; color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field label span { color: #a4483d; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field small { color: var(--muted); font-size: .78rem; }
.form-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: .85rem; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--green-deep); }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem; display: none; }
.form-msg.show { display: block; }
.form-msg.warn { background: #fff6e6; border: 1px solid #e8cf9a; color: #7a5a17; }
.form-msg.ok { background: #eaf4ee; border: 1px solid #b9d9c5; color: #1d5a38; }
.form-msg.err { background: #fdeceb; border: 1px solid #f0c1bd; color: #8c332c; }

/* ---------- Clinic（平铺院区信息，参考 drwells） ---------- */
.clinic-card { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; padding: 0; }
.clinic-photo { position: relative; aspect-ratio: 16 / 8.5; background: var(--cream); overflow: hidden; }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.clinic-card:hover .clinic-photo img { transform: scale(1.04); }
.clinic-placeholder { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .88rem; background: repeating-linear-gradient(45deg, #fbf9f5, #fbf9f5 12px, #f4efe6 12px, #f4efe6 24px); }
.clinic-body { padding: 24px 26px 28px; }
.clinic-body h3 { margin-bottom: 10px; }
.clinic-line { font-size: .88rem; color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.clinic-line strong { color: var(--ink); font-weight: 650; }
.pending { font-size: .78rem; color: #8a6626; background: #fbf4e7; padding: 2px 9px; border-radius: 5px; }

/* ---------- 照片画廊 ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo-grid-title { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; font-size: 1.02rem; font-weight: 650; color: var(--green-deep); }
.photo-grid-title::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.photo-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); aspect-ratio: 4 / 3; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile figcaption {
  position: absolute; inset: auto 0 0; padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(14, 40, 36, .84));
  color: #fff; font-size: .74rem; line-height: 1.4;
}

/* ---------- 荣誉墙 ---------- */
.honor-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.honor-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: .22s ease;
}
.honor-tile:hover { border-color: var(--gold-light); box-shadow: var(--shadow); }
.honor-tile img { width: 100%; height: 128px; object-fit: contain; }
.honor-tile span { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- 院区楼体（统一版式） ---------- */
.building-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.building-tile { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); aspect-ratio: 3 / 4; }
.building-tile img { width: 100%; height: 100%; object-fit: cover; }
.building-tile figcaption {
  position: absolute; inset: auto 0 0; padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(14, 40, 36, .82)); color: #fff; font-size: .76rem;
}
.building-flag {
  position: absolute; left: 10px; top: 10px; font-size: .68rem; letter-spacing: .06em;
  background: rgba(255, 255, 255, .92); color: var(--green-deep); padding: 3px 9px; border-radius: 999px;
}

/* ---------- Article / prose ---------- */
.prose { max-width: 780px; margin-inline: auto; font-size: 1.02rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1.3em; }
/* 长 URL 与接口地址需可断行，避免窄屏撑破容器 */
.prose p, .prose li { overflow-wrap: anywhere; word-break: break-word; }
/* 正文内行内链接：扩大点击区但不改变行高节奏 */
.prose a, .note a, .cta-block a { display: inline-block; padding: 11px 0; line-height: 1.5; }
.article-card { display: block; }
.article-card .tag { margin-bottom: 14px; display: inline-block; }

/* ---------- Page hero ---------- */
.page-hero { padding: 56px 0 50px; border-bottom: 1px solid var(--line); background: var(--cream); }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { display: inline-block; padding: 8px 0; min-height: 44px; line-height: 2.2; }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb span { margin: 0 8px; }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.page-hero p { color: var(--ink-soft); max-width: 840px; margin: 0; }

/* ---------- CTA（居中、高对比） ---------- */
.cta-block { text-align: center; }
.cta-block .eyebrow { color: var(--gold-light); }
.cta-block h2 { color: #fff; margin-bottom: 16px; }
.cta-block p { color: rgba(242, 240, 234, .88); font-size: 1.02rem; max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 62px 0 26px; font-size: .87rem; color: #d5ded9;
  background: radial-gradient(circle at 8% 0%, rgba(217, 185, 143, .12), transparent 36%), var(--green-deep);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 38px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .96rem; margin-bottom: 16px; }
.site-footer a { display: block; padding: 9px 0; min-height: 44px; color: #c3d1cb; transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; font-size: .79rem; color: #a3b6af; line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; margin-top: 16px; }
.ai-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .78rem; color: #a3b6af; }
.ai-links .ai-label { letter-spacing: .08em; }
.ai-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px;
  border-radius: 999px; font-size: .76rem;
  border: 1px solid rgba(255, 255, 255, .22); color: #d8c39c;
}
.ai-links a:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(255, 255, 255, .06); }

/* ---------- Sticky CTA ---------- */
.sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-sticky); }
.sticky-cta .btn { box-shadow: 0 10px 28px rgba(18, 59, 54, .26); }
/* 为悬浮预约按钮预留底部空间，避免遮挡页脚与正文末尾 */
body { padding-bottom: 0; }
@media (max-width: 640px) {
  .site-footer { padding-bottom: 84px; }
}

/* ---------- Brand logo / stats ---------- */
main:focus { outline: none; }
.brand-logo { width: clamp(160px, 17vw, 220px); height: auto; display: block; }
.footer-logo-wrap { display: inline-block; background: #fffdfa; border-radius: 10px; padding: 11px 17px; box-shadow: 0 6px 18px rgba(0, 0, 0, .14); }
.footer-logo-wrap img { width: 190px; height: auto; }
.about-logo { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 26px; margin-bottom: 30px; }
.about-logo img { width: 210px; height: auto; }
.stat-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 6px; }
.stat { display: inline-flex; align-items: baseline; gap: 6px; font-size: .82rem; color: var(--muted); }
.stat strong { font-size: 1.5rem; line-height: 1; color: var(--gold-text); font-weight: 700; }
.card .stat strong { font-size: 1.22rem; }
.page-hero .stat-row { margin-top: 22px; }

/* ---------- Group / brand pages ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--gold-pale); }
.timeline-item { position: relative; padding: 0 0 28px 18px; }
.timeline-dot { position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gold-light); }
.timeline-year { display: inline-block; font-size: .82rem; color: var(--gold-text); font-weight: 700; letter-spacing: .06em; margin-bottom: 4px; }
.timeline-item h3 { margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: .92rem; margin: 0; }
.honor-card { padding: 14px; }
.honor-photo { background: #fff; border-radius: 6px; padding: 6px; margin-bottom: 10px; }
.honor-photo img { width: 100%; height: 110px; object-fit: contain; }
/* 无牌匾照片的荣誉：以证书铭牌样式呈现，保持网格整齐并标注颁发方 */
.honor-plaque {
  height: 122px; margin-bottom: 10px; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(168deg, #fdfaf3 0%, #fbf8f1 100%);
  border: 1px solid var(--gold-pale);
}
.honor-plaque-mark { color: var(--gold-text); opacity: .78; }
.honor-plaque-text {
  font-family: var(--serif); font-size: .92rem; color: var(--gold-text);
  letter-spacing: .16em; padding-left: .16em;
}
.honor-meta {
  margin: 6px 0 0; font-size: .74rem; color: var(--muted); line-height: 1.55;
}
.org-list { margin-top: 14px; }
.org-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.org-list li:last-child { border-bottom: none; }
.org-addr { color: var(--muted); font-size: .82rem; }
.news-list { border-top: 1px solid var(--line); }
.news-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item h3 { font-size: 1.05rem; margin: 8px 0 0; }
.news-date { font-size: .82rem; color: var(--gold-text); font-weight: 700; margin-right: 10px; }
.course-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.course-date { display: inline-block; min-width: 110px; color: var(--gold-text); font-size: .86rem; font-weight: 600; }
.history-mini li { padding: 6px 0; font-size: .92rem; color: var(--muted); }
.history-mini strong { color: var(--gold-text); margin-right: 8px; }
.city-building { position: relative; margin-bottom: 14px; }
.city-building img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- GEO notes ---------- */
.photo-note { display: block; font-size: .78rem; color: var(--muted); padding: 6px 12px; }
.clinic-photo .photo-note {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 8px;
  background: rgba(255, 255, 255, .9); border-radius: 4px; font-size: .72rem;
}
.footer-logo-img { max-width: 190px; height: auto; }

/* ---------- Responsive ---------- */
/* 中间宽度：导航 8 项 + 热线 + 按钮会超出容器，1100px 以下先收热线与次要导航 */
@media (max-width: 1180px) {
  .hotline { display: none; }
  .header-inner { gap: 14px; }
  .nav { gap: clamp(8px, 1.1vw, 16px); }
}
@media (max-width: 1080px) {
  .nav a:nth-child(n+7) { display: none; }
}
@media (max-width: 960px) {
  .nav, .hotline { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; margin-left: auto; }
  .hero { min-height: 80vh; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .honor-wall, .building-grid { grid-template-columns: repeat(2, 1fr); }
  .team-clinic-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 56px 1fr; gap: 18px; }
  .service-more { grid-column: 2; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .header-inner { height: 70px; gap: 12px; }
  .brand .brand-logo { width: 132px; }
  .nav.open { top: 70px; }
  .hero { min-height: 88vh; }
  .hero-inner { padding: 96px 0 54px; }
  .hero-location { font-size: .7rem; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(2.1rem, 10.5vw, 2.9rem); line-height: 1.2; }
  .hero-intro { font-size: .98rem; }
  .hero-actions { width: 100%; margin-top: 26px; flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-note { font-size: .76rem; }
  .proof-strip .container { gap: 6px 18px; padding: 13px 0; }
  .grid-2, .grid-3, .grid-4, .process, .form-grid { grid-template-columns: 1fr; }
  .team-clinic { padding: 20px 18px 18px; }
  .team-clinic-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 34px; }
  .service-row { grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 2px; }
  .service-num { font-size: 1.6rem; }
  .finder { padding: 22px; }
  .finder-row { flex-direction: column; gap: 8px; padding: 15px 0; }
  .finder-label { width: auto; padding-top: 0; }
  .geo-definition { padding: 28px 22px 28px 58px; font-size: 1rem; }
  .geo-definition::before { left: 18px; top: 9px; font-size: 3rem; }
  .honor-wall, .building-grid, .photo-grid { gap: 10px; }
  .honor-tile { padding: 12px; }
  .honor-tile img { height: 96px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .sticky-cta { right: 12px; bottom: 12px; }
  .sticky-cta .btn { padding: 11px 17px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .icon-arrow { transform: none !important; }
  .doctor-photo img, .clinic-photo img, .photo-tile img { transform: none !important; }
}
