/* ==========================================================================
   安心诊所 · 乡村诊所网站
   设计方向：熟人医疗 / 暖纸色 / 村口那盏灯 / 移动端优先
   ========================================================================== */

/* ---------- 0. 设计变量 ---------- */
:root {
  --bg: #f7f1e5;
  --paper: #fffdf8;
  --paper-deep: #f3eadb;
  --ink: #1c2b26;
  --muted: #5c6c64;
  --muted-light: #7b8981;

  --green-950: #102c24;
  --green-900: #173d31;
  --green-800: #1f4d3d;
  --green-700: #2d6652;
  --green-600: #3f7b64;
  --sage: #dfe9da;
  --sage-light: #edf3e9;

  --terracotta: #b9562f;
  --terracotta-dark: #8f3f22;
  --peach: #f3d9c6;
  --peach-light: #fbefe6;

  --gold: #c99a45;
  --gold-light: #f2e5c8;
  --blue-green: #9fbfb1;

  --line: rgba(31, 77, 61, 0.15);
  --line-strong: rgba(31, 77, 61, 0.28);

  --shadow-sm: 0 2px 0 rgba(23, 61, 49, 0.04), 0 8px 22px -16px rgba(23, 61, 49, 0.26);
  --shadow-md: 0 22px 55px -32px rgba(16, 44, 36, 0.46);
  --shadow-lg: 0 38px 80px -40px rgba(16, 44, 36, 0.52);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    "Source Han Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun",
    serif;
  --font-kai: "STKaiti", "KaiTi", "Kaiti SC", "Noto Serif CJK SC", serif;

  --wrap: 1180px;
  --header-height: 78px;
}

/* 大字模式：整体放大 12.5%，按钮和行距同步变大 */
html.large-text {
  font-size: 112.5%;
}

html.large-text body {
  line-height: 1.9;
}

/* 大字模式下导航更紧凑，电话保留图标，避免挤爆一行 */
html.large-text .header-call span {
  display: none;
}

@media (min-width: 981px) {
  html.large-text .nav {
    gap: 0.6rem;
  }
}

/* ---------- 1. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 2%, rgba(201, 154, 69, 0.09), transparent 28rem),
    radial-gradient(circle at 94% 28%, rgba(63, 123, 100, 0.08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* clip 不会把 body 变成滚动容器，移动端 sticky 顶栏更稳 */
@supports (overflow-x: clip) {
  body {
    overflow-x: clip;
  }
}

/* 极轻的纸张颗粒，让暖色背景不显平 */
body::after {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

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

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--green-950);
}

:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 4px;
}

.topbar :focus-visible,
.emergency :focus-visible,
.ask-panel :focus-visible,
.service-card--chronic :focus-visible,
.site-footer :focus-visible,
.notice-board :focus-visible {
  outline-color: var(--gold);
}

/* ---------- 2. 共用工具 ---------- */
.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section[id],
.hero[id],
#main {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

#main:focus {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--green-900);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  flex: none;
  content: "";
  background: currentColor;
  opacity: 0.72;
}

.section h2 {
  max-width: 17em;
  margin-top: 0.45rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 700;
  letter-spacing: 0.012em;
  line-height: 1.24;
  text-wrap: balance;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 2rem 4rem;
  align-items: end;
}

.section-head .lead {
  max-width: 33em;
  padding-bottom: 0.25rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
}

.section-head .lead strong {
  color: var(--green-800);
}

.section-head--center {
  display: block;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-head--center .lead {
  margin: 0.7rem auto 0;
}

/* 按钮 */
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--green-800);
  color: #fffdf8;
  box-shadow: 0 14px 28px -16px rgba(23, 61, 49, 0.75);
}

.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 18px 32px -16px rgba(23, 61, 49, 0.72);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.54);
  color: var(--green-900);
}

.btn-ghost:hover {
  border-color: var(--green-700);
  background: var(--paper);
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--terracotta);
  color: #fffdf8;
  box-shadow: 0 14px 28px -16px rgba(143, 63, 34, 0.7);
}

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--paper);
  color: var(--green-900);
}

.btn-light:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 253, 248, 0.32);
  color: var(--paper);
}

.btn-outline-light:hover {
  border-color: rgba(255, 253, 248, 0.7);
  background: rgba(255, 255, 255, 0.07);
}

.btn-block {
  width: 100%;
}

/* ---------- 3. 顶部条与导航 ---------- */
.topbar {
  position: relative;
  z-index: 102;
  background: var(--green-950);
  color: #e9e2d1;
  font-size: 0.82rem;
  line-height: 1.5;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-place,
.topbar-actions,
.topbar-link,
.text-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-place {
  letter-spacing: 0.06em;
}

.topbar-place .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.topbar-actions {
  gap: 1.35rem;
}

.topbar-hours {
  color: rgba(233, 226, 209, 0.82);
}

.topbar-link {
  color: var(--peach);
  font-weight: 700;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link .icon {
  width: 14px;
  height: 14px;
}

.text-toggle {
  min-height: 32px;
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(233, 226, 209, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #f8f1e2;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.text-toggle:hover {
  border-color: rgba(233, 226, 209, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.text-toggle[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-950);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 241, 229, 0.9);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  backdrop-filter: saturate(165%) blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 253, 248, 0.93);
  box-shadow: 0 10px 30px -24px rgba(16, 44, 36, 0.46);
}

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

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: var(--green-800);
  color: var(--paper);
  box-shadow: 0 8px 18px -12px rgba(23, 61, 49, 0.8);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.brand-name {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-sub {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.65vw, 1.65rem);
}

.nav > a {
  position: relative;
  padding: 0.5rem 0.1rem;
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav > a::after {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav > a:hover,
.nav > a.is-active {
  color: var(--terracotta-dark);
}

.nav > a:hover::after,
.nav > a.is-active::after {
  transform: scaleX(1);
}

.header-call {
  display: inline-flex;
  min-height: 46px;
  flex: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.header-call:hover {
  border-color: var(--green-800);
  background: var(--green-800);
  color: var(--paper);
}

.header-call .icon {
  width: 18px;
  height: 18px;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: transparent;
  color: var(--green-900);
}

.menu-toggle:hover {
  background: var(--sage-light);
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-extra {
  display: none;
}

.nav-scrim {
  position: fixed;
  z-index: 90;
  inset: 0;
  visibility: hidden;
  cursor: pointer;
  background: rgba(16, 44, 36, 0.34);
  opacity: 0;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
  backdrop-filter: blur(2px);
}

/* ---------- 4. 首页主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 4.6rem);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -10rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(223, 233, 218, 0.9), rgba(223, 233, 218, 0));
  opacity: 0.85;
}

.hero::after {
  position: absolute;
  z-index: -1;
  bottom: 2rem;
  left: -13rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(201, 154, 69, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.2rem, 5vw, 4.8rem);
  align-items: center;
}

.hero-copy {
  max-width: 39rem;
  padding-block: 1rem;
  animation: hero-rise 0.72s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .eyebrow {
  color: var(--terracotta-dark);
}

.hero-copy .eyebrow::before {
  background: var(--terracotta);
}

.hero h1 {
  margin-top: 1.2rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 5.35vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.14;
  text-wrap: balance;
}

.hero h1 .hero-line {
  display: block;
}

.hero-highlight {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--terracotta);
  white-space: nowrap;
}

.hero-highlight::after {
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: 0.07em;
  left: -0.03em;
  height: 0.26em;
  border-radius: 50% 40% 48% 36%;
  content: "";
  background: rgba(201, 154, 69, 0.38);
  transform: rotate(-1.4deg);
}

.hero-lead {
  max-width: 32rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.3vw, 1.12rem);
  line-height: 1.95;
}

.hero-lead strong {
  color: var(--green-800);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.9rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.35rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-meta-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.hero-meta-icon .icon {
  width: 18px;
  height: 18px;
}

.hero-meta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-meta-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-meta-text strong {
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(63, 123, 100, 0.24);
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(63, 123, 100, 0.14);
}

.status-pill.is-closed {
  border-color: rgba(185, 86, 47, 0.2);
  background: var(--peach-light);
  color: var(--terracotta-dark);
}

.status-pill.is-closed .status-dot {
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(185, 86, 47, 0.12);
}

.hero-visual {
  position: relative;
  animation: hero-rise 0.8s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 1.1rem -0.85rem -0.9rem 1.15rem;
  border: 1px solid rgba(201, 154, 69, 0.4);
  border-radius: var(--radius-xl);
  content: "";
  transform: rotate(1.5deg);
}

.art-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 77, 61, 0.14);
  border-radius: var(--radius-xl);
  background: var(--paper-deep);
  box-shadow: var(--shadow-lg);
  transform: rotate(0.55deg);
}

.art-frame > svg,
.art-frame > img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 660;
  object-fit: cover;
}

.art-caption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-right: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.art-caption .icon {
  width: 15px;
  height: 15px;
  color: var(--terracotta);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(31, 77, 61, 0.13);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.93);
  box-shadow: 0 16px 32px -22px rgba(16, 44, 36, 0.55);
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.float-card-hours {
  top: 1.1rem;
  left: 1.1rem;
}

.float-card-doctor {
  bottom: 3.5rem;
  left: -1.1rem;
}

.float-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-800);
}

.float-card-icon .icon {
  width: 18px;
  height: 18px;
}

.float-card-doctor .float-card-icon {
  background: var(--peach);
  color: var(--terracotta-dark);
}

.float-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.float-card-copy small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.float-card-copy strong {
  color: var(--green-900);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.float-card-copy span {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.3rem, 4vw, 3.4rem);
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-foot p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-foot .icon {
  width: 17px;
  height: 17px;
  color: var(--terracotta);
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--terracotta-dark);
  font-weight: 800;
}

.hero-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 5. 服务承诺条 ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem clamp(1rem, 2.4vw, 1.8rem);
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: var(--sage-light);
  color: var(--green-700);
}

.trust-icon .icon {
  width: 20px;
  height: 20px;
}

.trust-copy strong {
  display: block;
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
}

.trust-copy span {
  display: block;
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ---------- 6. 诊所简介 ---------- */
.about {
  background: var(--paper);
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: clamp(28rem, 48vw, 35rem);
  margin-top: 2.8rem;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sage-light);
}

.photo-card--large {
  grid-row: span 2;
}

.photo-card svg,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.photo-card:hover svg,
.photo-card:hover img {
  transform: scale(1.025);
}

.photo-card figcaption {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.72rem;
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 999px;
  background: rgba(23, 61, 49, 0.76);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.photo-card figcaption .icon {
  width: 14px;
  height: 14px;
}

.about-story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: start;
  margin-top: 1rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 154, 69, 0.22), transparent 18rem),
    var(--green-900);
  color: #f5eedf;
}

.story-mark {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 4.4rem;
  line-height: 0.8;
  opacity: 0.95;
}

.about-story h3 {
  max-width: 20em;
  color: #fffaf0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
}

.about-story p {
  max-width: 47em;
  margin-top: 0.7rem;
  color: rgba(245, 238, 223, 0.8);
  font-size: 0.95rem;
  line-height: 1.95;
}

.about-story p strong {
  color: var(--gold-light);
  font-weight: 700;
}

.story-sign {
  align-self: end;
  color: rgba(245, 238, 223, 0.65);
  font-family: var(--font-kai);
  font-size: 1.02rem;
  white-space: nowrap;
}

.story-sign span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

/* ---------- 7. 诊疗服务 ---------- */
.services {
  background:
    radial-gradient(circle at 100% 15%, rgba(201, 154, 69, 0.11), transparent 26rem),
    var(--paper-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

@media (hover: hover) {
  .service-card:hover {
    border-color: rgba(31, 77, 61, 0.28);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}

.service-card--common {
  grid-column: span 7;
}

.service-card--chronic {
  grid-column: span 5;
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0, rgba(201, 154, 69, 0.28), transparent 16rem),
    var(--green-900);
  color: #f7f0e1;
}

.service-card--small {
  grid-column: span 3;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: var(--sage-light);
  color: var(--green-800);
}

.service-icon .icon {
  width: 24px;
  height: 24px;
}

.service-card--chronic .service-icon {
  background: rgba(255, 253, 248, 0.1);
  color: var(--gold-light);
}

.service-index {
  color: var(--muted-light);
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-card--chronic .service-index {
  color: rgba(247, 240, 225, 0.5);
}

.service-card h3 {
  margin-top: 1.15rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.service-card--chronic h3 {
  color: #fffaf0;
}

.service-card p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.service-card--chronic p {
  color: rgba(247, 240, 225, 0.78);
}

.service-card--small p {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.8;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.15rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.58rem;
  border: 1px solid rgba(31, 77, 61, 0.12);
  border-radius: 999px;
  background: var(--sage-light);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
}

.service-card--chronic .service-tag {
  border-color: rgba(255, 253, 248, 0.14);
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 250, 240, 0.88);
}

.chronic-list {
  display: grid;
  gap: 0.62rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.chronic-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(247, 240, 225, 0.9);
  font-size: 0.84rem;
}

.chronic-list .icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.chronic-chart {
  position: absolute;
  right: -0.8rem;
  bottom: 0.8rem;
  width: 56%;
  max-width: 15rem;
  opacity: 0.34;
  pointer-events: none;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--muted-light);
  font-size: 0.74rem;
  line-height: 1.5;
}

.service-meta .icon {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--terracotta);
}

.scope-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.2rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(185, 86, 47, 0.24);
  border-radius: var(--radius-md);
  background: var(--peach-light);
}

.scope-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fffaf0;
}

.scope-icon .icon {
  width: 22px;
  height: 22px;
}

.scope-copy strong {
  display: block;
  color: var(--terracotta-dark);
  font-size: 0.96rem;
  line-height: 1.5;
}

.scope-copy p {
  margin-top: 0.22rem;
  color: #76533f;
  font-size: 0.82rem;
  line-height: 1.75;
}

.scope-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.scope-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scope-link .icon {
  width: 16px;
  height: 16px;
}

/* ---------- 8. 医生与村民 ---------- */
.doctor {
  background:
    radial-gradient(circle at 0 100%, rgba(201, 154, 69, 0.13), transparent 25rem),
    var(--sage-light);
}

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.doctor-portraits {
  position: relative;
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 1 / 1.12;
  margin-inline: auto;
}

.portrait {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-deep);
  box-shadow: var(--shadow-lg);
}

.portrait svg,
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait--main {
  z-index: 1;
  top: 0;
  left: 0;
  width: 68%;
  aspect-ratio: 420 / 520;
  transform: rotate(-1.2deg);
}

.portrait--side {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 420 / 520;
  border: 8px solid var(--sage-light);
  transform: rotate(1.8deg);
}

.portrait-tag {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 253, 248, 0.4);
  border-radius: 12px;
  background: rgba(23, 61, 49, 0.8);
  color: var(--paper);
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

/* 右侧人物卡会遮住主肖像右下角，标签提前收住，避免文字被压住 */
.portrait--main .portrait-tag {
  right: 33%;
}

.portrait--main .portrait-tag em {
  display: none;
}

.portrait-tag strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.portrait-tag span {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 253, 248, 0.65);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.portrait-tag em {
  color: var(--gold-light);
  font-family: var(--font-kai);
  font-size: 0.68rem;
  font-style: normal;
  white-space: nowrap;
}

.couple-badge {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  right: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(185, 86, 47, 0.18);
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--terracotta-dark);
  font-family: var(--font-kai);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  transform: rotate(2.5deg);
  box-shadow: var(--shadow-sm);
}

.couple-badge .icon {
  width: 15px;
  height: 15px;
}

.doctor-copy h2 {
  max-width: 12em;
}

.doctor-copy > p {
  max-width: 35em;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}

.doctor-copy > p strong {
  color: var(--green-800);
}

.doctor-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.doctor-fact strong {
  display: block;
  color: var(--terracotta-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.doctor-fact span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.doctor-quote {
  position: relative;
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.doctor-quote cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.5;
}

.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.story-head > span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.story-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.82);
}

.story-card::before {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 0.8;
  content: "“";
}

.story-card blockquote {
  color: var(--green-900);
  font-size: 0.95rem;
  line-height: 1.85;
}

.story-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.story-card figcaption::before {
  width: 14px;
  height: 1px;
  content: "";
  background: var(--terracotta);
}

/* ---------- 9. 就诊指南 ---------- */
.guide {
  background: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}

.step {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.step::after {
  position: absolute;
  z-index: 1;
  top: 2.7rem;
  left: 100%;
  width: 1rem;
  border-top: 1px dashed var(--line-strong);
  content: "";
}

.step:last-child::after {
  display: none;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
}

.step-icon {
  color: var(--terracotta);
}

.step-icon .icon {
  width: 26px;
  height: 26px;
}

.step h3 {
  margin-top: 1.1rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.5;
}

.step p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.guide-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.info-card--dark {
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 100%, rgba(201, 154, 69, 0.2), transparent 13rem),
    var(--green-900);
  color: #f4edde;
}

.info-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.info-head .icon {
  width: 21px;
  height: 21px;
  color: var(--terracotta);
}

.info-card--dark .info-head .icon {
  color: var(--gold);
}

.info-head h3 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.14rem;
  line-height: 1.4;
}

.info-card--dark .info-head h3 {
  color: #fffaf0;
}

.hours-list {
  display: grid;
  gap: 0.55rem;
}

.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed rgba(31, 77, 61, 0.13);
  font-size: 0.84rem;
  line-height: 1.6;
}

.hours-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-row span {
  color: var(--muted);
}

.hours-row strong {
  color: var(--green-900);
  font-weight: 800;
  white-space: nowrap;
}

.info-card--dark .hours-row {
  border-bottom-color: rgba(255, 253, 248, 0.14);
}

.info-card--dark .hours-row span {
  color: rgba(244, 237, 222, 0.66);
}

.info-card--dark .hours-row strong {
  color: var(--gold-light);
}

.info-card > p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.info-card--dark > p {
  color: rgba(244, 237, 222, 0.7);
}

.check-list {
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.check-list .icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--green-600);
}

.guide-tip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sage-light);
  color: var(--green-700);
  font-size: 0.82rem;
  line-height: 1.7;
}

.guide-tip .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--terracotta);
}

/* ---------- 10. 健康科普 ---------- */
.health {
  background:
    radial-gradient(circle at 6% 0, rgba(201, 154, 69, 0.1), transparent 25rem),
    var(--paper-deep);
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.8rem;
}

.health-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.health-cover {
  position: relative;
  display: flex;
  min-height: 7.6rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  overflow: hidden;
}

.health-cover::before {
  position: absolute;
  top: -3rem;
  right: -1.8rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(31, 77, 61, 0.14);
  border-radius: 50%;
  content: "";
}

.health-card--seasonal .health-cover {
  background: linear-gradient(135deg, #f6ddc8, #f3c9a9);
}

.health-card--chronic .health-cover {
  background: linear-gradient(135deg, #dce9d6, #c4d9c3);
}

.health-card--meds .health-cover {
  background: linear-gradient(135deg, #f3e6c8, #e9d29d);
}

.health-kicker {
  position: relative;
  z-index: 1;
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.health-cover .icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  color: var(--green-800);
  opacity: 0.75;
}

.health-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem;
}

.health-body h3 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  line-height: 1.5;
}

.health-body > p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.health-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.health-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--green-900);
  font-size: 0.86rem;
  line-height: 1.7;
}

.health-list li::before {
  width: 5px;
  height: 5px;
  flex: none;
  margin-top: 0.62rem;
  border-radius: 50%;
  content: "";
  background: var(--terracotta);
}

.health-card details {
  margin-top: auto;
  padding-top: 0.9rem;
}

.health-card summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.health-card summary::-webkit-details-marker {
  display: none;
}

.health-card summary::after {
  font-size: 1.2rem;
  font-weight: 400;
  content: "+";
}

.health-card details[open] summary::after {
  content: "−";
}

.health-detail {
  padding-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.85;
}

.tip-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--green-900);
  color: #f5eedf;
}

.tip-badge {
  flex: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-950);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.tip-banner p {
  color: rgba(245, 238, 223, 0.9);
  font-size: 0.86rem;
  line-height: 1.7;
}

.tip-banner strong {
  color: #fffaf0;
}

.health-disclaimer {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: right;
}

/* ---------- 11. 村口公告栏 ---------- */
.notices {
  background:
    radial-gradient(circle at 0 0, rgba(23, 61, 49, 0.08), transparent 22rem),
    #e9dec9;
}

.notice-board {
  position: relative;
  margin-top: 2.6rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 11px solid #8a5e3d;
  border-radius: 24px;
  background-color: #bd8a58;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, rgba(70, 38, 17, 0.16) 0 1px, transparent 1.5px),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px);
  background-size:
    13px 13px,
    17px 17px,
    auto;
  box-shadow:
    inset 0 0 0 3px rgba(83, 49, 27, 0.28),
    inset 0 18px 36px rgba(83, 49, 27, 0.2),
    0 26px 50px -35px rgba(16, 44, 36, 0.7);
}

.notice-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: #fff5e1;
}

.notice-board-head h3 {
  font-family: var(--font-kai);
  font-size: 1.28rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.notice-board-head span {
  color: rgba(255, 245, 225, 0.82);
  font-size: 0.74rem;
  line-height: 1.5;
  text-align: right;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.notice-card {
  position: relative;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 3px;
  background:
    linear-gradient(rgba(255, 253, 244, 0.92), rgba(255, 253, 244, 0.92)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(31, 77, 61, 0.08) 27px 28px);
  box-shadow: 0 12px 22px -16px rgba(64, 35, 16, 0.65);
  transform: rotate(-0.8deg);
}

.notice-card:nth-child(2) {
  transform: rotate(0.7deg);
}

.notice-card:nth-child(3) {
  transform: rotate(0.45deg);
}

.notice-card:nth-child(4) {
  transform: rotate(-0.55deg);
}

.notice-pin {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f18a63, #a83f24 68%);
  box-shadow:
    0 4px 7px rgba(64, 35, 16, 0.4),
    inset 0 -2px 3px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
}

.notice-card:nth-child(2) .notice-pin {
  background: radial-gradient(circle at 35% 30%, #f2c55c, #b47b16 68%);
}

.notice-card:nth-child(3) .notice-pin {
  background: radial-gradient(circle at 35% 30%, #82b29a, #2f6953 68%);
}

.notice-card:nth-child(4) .notice-pin {
  background: radial-gradient(circle at 35% 30%, #7fa4bb, #3e667d 68%);
}

.notice-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.24rem 0.5rem;
  border-radius: 3px;
  background: var(--peach);
  color: var(--terracotta-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.notice-card:nth-child(2) .notice-tag {
  background: var(--sage);
  color: var(--green-800);
}

.notice-card:nth-child(3) .notice-tag {
  background: var(--gold-light);
  color: #79551d;
}

.notice-card:nth-child(4) .notice-tag {
  background: #dbe7ec;
  color: #335767;
}

.notice-card h3 {
  margin-top: 0.7rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.5;
}

.notice-card p {
  margin-top: 0.45rem;
  color: #59665f;
  font-size: 0.86rem;
  line-height: 1.8;
}

.notice-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(31, 77, 61, 0.16);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

.notice-foot strong {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.notice-board-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  color: rgba(255, 245, 225, 0.86);
  font-size: 0.76rem;
  line-height: 1.6;
}

.notice-board-note .icon {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ---------- 12. 应急与转诊 ---------- */
.emergency {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 154, 69, 0.17), transparent 25rem),
    radial-gradient(circle at 0 100%, rgba(185, 86, 47, 0.19), transparent 28rem),
    var(--green-950);
  color: #f4edde;
}

.emergency::before {
  position: absolute;
  top: 4rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(244, 237, 222, 0.08);
  border-radius: 50%;
  content: "";
}

.emergency .eyebrow {
  color: var(--gold);
}

.emergency .eyebrow::before {
  background: var(--gold);
}

.emergency h2 {
  color: #fffaf0;
}

.emergency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.emergency-lead {
  max-width: 31em;
  margin-top: 1rem;
  color: rgba(244, 237, 222, 0.75);
  font-size: 1rem;
  line-height: 1.95;
}

.emergency-lead strong {
  color: var(--peach);
}

.emergency-call {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(244, 237, 222, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.emergency-call:hover {
  border-color: rgba(242, 229, 200, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.emergency-number {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.emergency-call-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.4;
}

.emergency-call-copy strong {
  color: #fffaf0;
  font-size: 0.95rem;
  font-weight: 800;
}

.emergency-call-copy span {
  color: rgba(244, 237, 222, 0.62);
  font-size: 0.72rem;
}

.emergency-call .icon {
  width: 19px;
  height: 19px;
  margin-left: 0.15rem;
  color: var(--gold);
}

.emergency-call-note {
  margin-top: 0.8rem;
  color: rgba(244, 237, 222, 0.68);
  font-size: 0.75rem;
  line-height: 1.7;
}

.transfer-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(244, 237, 222, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.transfer-card h3 {
  color: #fffaf0;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.5;
}

.transfer-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
  counter-reset: transfer;
}

.transfer-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.transfer-step::before {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(201, 154, 69, 0.48);
  border-radius: 50%;
  color: var(--gold);
  content: counter(transfer);
  counter-increment: transfer;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1;
}

.transfer-step strong {
  display: block;
  color: var(--peach);
  font-size: 0.88rem;
  line-height: 1.5;
}

.transfer-step p {
  margin-top: 0.18rem;
  color: rgba(244, 237, 222, 0.7);
  font-size: 0.84rem;
  line-height: 1.75;
}

.first-aid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.first-aid {
  padding: 1.25rem 0 0;
  border-top: 2px solid rgba(242, 229, 200, 0.48);
}

.first-aid-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.first-aid-head .icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.first-aid h3 {
  color: #fffaf0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
}

.first-aid p {
  margin-top: 0.4rem;
  color: rgba(244, 237, 222, 0.7);
  font-size: 0.84rem;
  line-height: 1.8;
}

.first-aid p strong {
  color: var(--peach);
}

.emergency-disclaimer {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 237, 222, 0.1);
  color: rgba(244, 237, 222, 0.66);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ---------- 13. 常见问题与联系 ---------- */
.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: 2.6rem;
}

.faq {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
}

.faq-head h3 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

.faq-head span {
  color: var(--muted-light);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  min-height: 3.55rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--green-900);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-700);
  content: "+";
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.faq details[open] summary::after {
  background: var(--sage-light);
  content: "−";
}

.faq summary:hover {
  color: var(--terracotta-dark);
}

.faq-answer {
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.9;
}

.faq-answer strong {
  color: var(--green-800);
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.map-wrap {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: var(--sage);
}

.map-wrap svg,
.map-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-label {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--green-800);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.contact-body {
  padding: 1.3rem;
}

.contact-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.contact-heading h3 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

.contact-heading p {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.qr-box {
  flex: none;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.qr-box a {
  display: block;
  border-radius: 6px;
}

.qr-box svg,
.qr-box img {
  width: 96px;
  height: 96px;
}

/* 提高一级，避免被 .contact-heading p 的通用字号覆盖 */
.qr-box .qr-caption {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
  text-align: center;
}

.contact-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-line-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border-radius: 9px;
  background: var(--sage-light);
  color: var(--green-700);
}

.contact-line-icon .icon {
  width: 16px;
  height: 16px;
}

.contact-line-copy {
  min-width: 0;
  line-height: 1.5;
}

.contact-line-copy small {
  display: block;
  color: var(--muted-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contact-line-copy strong,
.contact-line-copy a {
  display: inline-block;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-line-copy a:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.contact-actions .btn {
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
}

.contact-actions .btn .icon {
  width: 16px;
  height: 16px;
}

.contact-actions .btn-block {
  grid-column: 1 / -1;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.65;
}

.contact-note .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 0.15rem;
  color: var(--terracotta);
}

/* 子女代问诊 + 留言 */
.contact-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.ask-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 154, 69, 0.26), transparent 16rem),
    var(--green-900);
  color: #f5eedf;
}

.ask-panel::after {
  position: absolute;
  right: -2.5rem;
  bottom: -4rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(245, 238, 223, 0.11);
  border-radius: 50%;
  content: "";
}

.ask-panel .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--gold);
}

.ask-panel .eyebrow::before {
  background: var(--gold);
}

.ask-panel h3 {
  position: relative;
  z-index: 1;
  margin-top: 0.65rem;
  color: #fffaf0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.ask-panel > p {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  color: rgba(245, 238, 223, 0.72);
  font-size: 0.84rem;
  line-height: 1.8;
}

.ask-steps {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.ask-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(245, 238, 223, 0.84);
  font-size: 0.8rem;
  line-height: 1.65;
}

.ask-steps li span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(201, 154, 69, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.64rem;
  line-height: 1;
}

.ask-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ask-actions .btn {
  min-height: 44px;
  padding: 0.52rem 0.85rem;
  font-size: 0.84rem;
}

.ask-actions .btn .icon {
  width: 16px;
  height: 16px;
}

.message-card {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
}

.message-head h3 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

.message-head p {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.message-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  /* 不小于 16px，避免 iOS Safari 聚焦时自动放大页面 */
  font-size: 1rem;
  line-height: 1.6;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6b7a72;
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(63, 123, 100, 0.14);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid var(--terracotta-dark);
  outline-offset: 2px;
}

.form-field textarea {
  min-height: 5.1rem;
  resize: vertical;
}

.message-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.75rem;
}

.message-bottom .btn {
  min-height: 44px;
  padding: 0.52rem 0.95rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.message-bottom .btn .icon {
  width: 16px;
  height: 16px;
}

.form-note {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.3rem;
  margin-top: 0.5rem;
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-error {
  color: var(--terracotta-dark);
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.8rem;
  background:
    radial-gradient(circle at 90% 0, rgba(201, 154, 69, 0.13), transparent 24rem),
    var(--green-950);
  color: rgba(245, 238, 223, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .brand-mark {
  background: rgba(255, 253, 248, 0.1);
  color: var(--gold-light);
}

.footer-brand .brand-name {
  color: #fffaf0;
}

.footer-brand .brand-sub {
  color: rgba(245, 238, 223, 0.64);
}

.footer-about {
  max-width: 25em;
  margin-top: 1.1rem;
  color: rgba(245, 238, 223, 0.7);
  font-size: 0.84rem;
  line-height: 1.9;
}

.footer-title {
  margin-bottom: 0.8rem;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(245, 238, 223, 0.68);
  font-size: 0.82rem;
  line-height: 1.7;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fffaf0;
}

.footer-contact {
  display: grid;
  gap: 0.7rem;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold);
}

.footer-contact a:hover {
  color: #fffaf0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 238, 223, 0.12);
  color: rgba(245, 238, 223, 0.64);
  font-size: 0.74rem;
  line-height: 1.7;
}

.footer-bottom p {
  max-width: 56em;
}

.footer-text-toggle {
  display: inline-flex;
  min-height: 38px;
  flex: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(245, 238, 223, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 238, 223, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.footer-text-toggle:hover {
  border-color: rgba(245, 238, 223, 0.5);
  color: #fffaf0;
}

.footer-text-toggle[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold-light);
  color: var(--green-950);
}

.footer-text-toggle-mark {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ---------- 14b. 公网独立页：隐私说明 / 404 ---------- */
.simple-page {
  min-height: 66vh;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(circle at 8% 0, rgba(201, 154, 69, 0.11), transparent 24rem),
    radial-gradient(circle at 95% 30%, rgba(63, 123, 100, 0.08), transparent 26rem),
    var(--bg);
}

.simple-page-inner {
  width: min(100%, 54rem);
  margin-inline: auto;
}

.simple-home-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  color: var(--green-900);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.simple-home-link:hover {
  border-color: var(--green-700);
  background: var(--sage-light);
}

.simple-home-link .icon {
  width: 17px;
  height: 17px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  color: var(--muted-light);
  font-size: 0.8rem;
  line-height: 1.6;
}

.breadcrumb a {
  color: var(--green-700);
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.legal-meta {
  margin-top: 0.45rem;
  color: var(--muted-light);
  font-size: 0.8rem;
  line-height: 1.6;
}

.legal-card h2 {
  margin-top: 1.8rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.5;
}

.legal-card p,
.legal-card li {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.legal-card ul {
  display: grid;
  gap: 0.38rem;
  padding-left: 1.2em;
  list-style: disc;
}

.legal-card strong {
  color: var(--green-800);
}

.legal-card a {
  color: var(--terracotta-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--green-800);
}

.legal-note {
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--sage-light);
  color: var(--green-800);
  font-size: 0.86rem;
  line-height: 1.85;
}

.simple-footer {
  padding-block: 2rem;
}

.simple-footer .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.simple-footer .footer-bottom a {
  color: var(--gold-light);
  font-weight: 700;
}

.simple-footer .footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.error-page {
  display: grid;
  min-height: 72vh;
  place-items: center;
  padding-block: clamp(3rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 50% 0, rgba(201, 154, 69, 0.14), transparent 26rem),
    var(--bg);
}

.error-inner {
  width: min(100%, 43rem);
  text-align: center;
}

.error-code {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

.error-inner .eyebrow {
  justify-content: center;
}

.error-inner h1 {
  margin-top: 0.8rem;
  color: var(--green-900);
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.3;
}

.error-inner > p {
  max-width: 32em;
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.error-help {
  margin-top: 1.25rem;
  color: var(--terracotta-dark);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.7;
}

.error-help a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 15. 浮动操作 ---------- */
.mobile-bar {
  position: fixed;
  z-index: 200;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 -10px 30px -24px rgba(16, 44, 36, 0.6);
  backdrop-filter: blur(12px);
}

.mobile-bar a,
.mobile-bar button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  border: 0;
  border-radius: 12px;
  background: var(--sage-light);
  color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.mobile-bar a .icon,
.mobile-bar button .icon {
  width: 18px;
  height: 18px;
}

.mobile-bar .mobile-bar-call {
  background: var(--green-800);
  color: #fffdf8;
}

body.nav-open .mobile-bar {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.toast {
  position: fixed;
  z-index: 300;
  bottom: 1.6rem;
  left: 50%;
  max-width: min(360px, calc(100% - 2rem));
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 12px;
  background: var(--green-950);
  color: #fffaf0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1120px) {
  .header-call {
    padding-inline: 0.8rem;
  }

  .header-call span {
    display: none;
  }

  .nav {
    gap: 0.75rem;
  }

  .nav > a {
    font-size: 0.88rem;
  }
}

@media (max-width: 980px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section-head .lead {
    max-width: 42em;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .hero-copy {
    max-width: 46rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 7.5vw, 4.4rem);
  }

  .hero-visual {
    width: min(100%, 40rem);
    margin-inline: auto;
  }

  .hero-visual::before {
    inset: 1rem -0.6rem -0.7rem 0.9rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .about-gallery {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(18rem, 48vw) 12rem;
  }

  .photo-card--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .about-story {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .story-sign {
    grid-column: 2;
    justify-self: start;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .doctor-portraits {
    width: min(100%, 31rem);
  }

  .doctor-copy {
    max-width: 46rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 36rem;
    margin-inline: auto;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .ask-panel,
  .message-card {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(247, 241, 229, 0.96);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .nav {
    max-height: calc(100vh - 8rem);
    max-height: calc(100dvh - 8rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav > a {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav > a::after {
    display: none;
  }

  .nav > a:hover,
  .nav > a.is-active {
    background: var(--sage-light);
  }

  .nav-extra {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.55rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
  }

  .nav-extra .btn {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .nav-extra .text-toggle {
    justify-content: center;
    min-height: 42px;
    border-color: var(--line-strong);
    color: var(--green-800);
    font-size: 0.82rem;
  }

  .nav-extra .text-toggle[aria-pressed="true"] {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--green-900);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-scrim {
    visibility: visible;
    opacity: 1;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card--common,
  .service-card--chronic,
  .service-card--small {
    grid-column: span 1;
  }

  .service-card--chronic {
    min-height: 18rem;
  }

  .guide-info {
    grid-template-columns: 1fr;
  }

  .health-grid {
    grid-template-columns: 1fr;
  }

  .health-cover {
    min-height: 6.4rem;
  }

  .first-aid-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  body.simple-body {
    padding-bottom: 0;
  }

  body.simple-body .toast {
    bottom: 1.2rem;
  }

  .wrap {
    width: min(calc(100% - 2rem), var(--wrap));
  }

  .topbar-inner {
    min-height: 34px;
  }

  .topbar-hours,
  .topbar-link span {
    display: none;
  }

  .topbar-actions {
    gap: 0.6rem;
  }

  .topbar-place {
    font-size: 0.72rem;
  }

  .topbar-link .icon {
    width: 15px;
    height: 15px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-mark svg {
    width: 29px;
    height: 29px;
  }

  .brand-name {
    font-size: 1.22rem;
  }

  .brand-sub {
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .header-call {
    display: none;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.5rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-meta-item {
    flex: 1 1 100%;
  }

  .hero-meta-icon {
    width: 34px;
    height: 34px;
  }

  .hero-meta-text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
  }

  .hero-meta-text small {
    order: 2;
  }

  .hero-meta-text strong {
    font-size: 0.86rem;
  }

  .art-frame {
    border-radius: 26px;
    transform: none;
  }

  .float-card {
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
  }

  .float-card-hours {
    top: 0.65rem;
    left: 0.65rem;
  }

  .float-card-doctor {
    bottom: 2.7rem;
    left: 0.5rem;
  }

  .float-card-icon {
    width: 30px;
    height: 30px;
  }

  .float-card-icon .icon {
    width: 15px;
    height: 15px;
  }

  .float-card-copy small {
    display: none;
  }

  .float-card-copy strong {
    font-size: 0.72rem;
  }

  .float-card-copy span {
    font-size: 0.64rem;
  }

  .art-caption {
    justify-content: center;
    padding-right: 0;
  }

  .hero-foot {
    display: grid;
    gap: 0.55rem;
    margin-top: 2rem;
    font-size: 0.8rem;
  }

  .hero-foot p {
    align-items: flex-start;
  }

  .trust-item {
    padding: 1rem 0.8rem;
  }

  .trust-icon {
    width: 34px;
    height: 34px;
  }

  .trust-copy strong {
    font-size: 0.84rem;
  }

  .trust-copy span {
    font-size: 0.72rem;
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(16rem, 52vw) 9rem;
    gap: 0.6rem;
    margin-top: 2rem;
  }

  .photo-card figcaption {
    bottom: 0.6rem;
    left: 0.6rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.66rem;
  }

  .about-story {
    display: block;
    padding: 1.4rem;
  }

  .story-mark {
    margin-bottom: 0.45rem;
    font-size: 3.2rem;
  }

  .about-story p {
    font-size: 0.88rem;
  }

  .story-sign {
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .about-story {
    margin-top: 0.6rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .service-card--common,
  .service-card--chronic,
  .service-card--small {
    grid-column: 1;
  }

  .service-card {
    min-height: 0;
    padding: 1.3rem;
  }

  .service-card--chronic {
    min-height: 18rem;
  }

  .service-card--small {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.8rem;
    align-items: start;
  }

  .service-card--small .service-card-top {
    display: block;
  }

  .service-card--small .service-index {
    display: none;
  }

  .service-card--small .service-icon {
    width: 42px;
    height: 42px;
  }

  .service-card--small h3 {
    margin-top: 0.15rem;
  }

  .service-card--small p,
  .service-card--small .service-meta {
    grid-column: 2;
  }

  .service-card--small .service-meta {
    margin-top: 0.55rem;
    padding-top: 0;
  }

  .scope-note {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1rem;
  }

  .scope-link {
    grid-column: 2;
    justify-self: start;
  }

  .doctor-portraits {
    width: min(100%, 27rem);
  }

  .portrait--side {
    border-width: 6px;
  }

  .portrait-tag {
    right: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
    padding: 0.5rem 0.6rem;
  }

  .portrait-tag strong {
    font-size: 0.8rem;
  }

  .portrait-tag span {
    font-size: 0.58rem;
  }

  .portrait-tag em {
    display: none;
  }

  .couple-badge {
    top: 0.4rem;
    right: 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }

  .doctor-facts {
    gap: 0.6rem;
  }

  .doctor-fact strong {
    font-size: 1.9rem;
  }

  .doctor-fact span {
    font-size: 0.68rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 2rem;
  }

  .step {
    padding: 1.25rem;
  }

  .step::after {
    display: none;
  }

  .step h3 {
    margin-top: 0.8rem;
  }

  .guide-info {
    gap: 0.7rem;
  }

  .info-card {
    padding: 1.2rem;
  }

  .tip-banner {
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem;
  }

  .tip-banner p {
    font-size: 0.8rem;
  }

  .health-grid {
    margin-top: 2rem;
  }

  .health-body {
    padding: 1.1rem;
  }

  .health-cover {
    min-height: 5.8rem;
    padding: 1rem;
  }

  .health-cover .icon {
    width: 34px;
    height: 34px;
  }

  .health-disclaimer {
    text-align: left;
  }

  .notice-board {
    margin-top: 2rem;
    padding: 0.9rem;
    border-width: 8px;
    border-radius: 18px;
  }

  .notice-board-head {
    display: block;
    margin-bottom: 0.9rem;
  }

  .notice-board-head span {
    display: block;
    margin-top: 0.2rem;
    text-align: left;
  }

  .notice-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .notice-card {
    padding: 1.1rem 1.1rem 1rem;
  }

  .notice-board-note {
    align-items: flex-start;
  }

  .emergency-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .emergency-call {
    width: 100%;
    gap: 0.75rem;
  }

  .emergency-number {
    font-size: 3.2rem;
  }

  .first-aid-grid {
    margin-top: 2rem;
  }

  .contact-grid {
    margin-top: 2rem;
  }

  .faq {
    padding: 1.1rem;
  }

  .faq summary {
    font-size: 0.88rem;
  }

  .map-wrap {
    height: 10rem;
  }

  .contact-body {
    padding: 1.1rem;
  }

  .qr-box svg,
  .qr-box img {
    width: 84px;
    height: 84px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-bottom {
    gap: 0.75rem;
  }

  .ask-panel {
    padding: 1.3rem;
  }

  .message-card {
    padding: 1.1rem;
  }

  .message-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: 1;
  }

  .message-bottom {
    display: block;
  }

  .message-bottom .btn {
    width: 100%;
  }

  .form-note {
    margin-top: 0.45rem;
  }

  .simple-page {
    padding-block: 1.8rem 3rem;
  }

  .legal-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .legal-card h1 {
    font-size: 2rem;
  }

  .legal-card h2 {
    margin-top: 1.5rem;
    font-size: 1.18rem;
  }

  .legal-card p,
  .legal-card li {
    font-size: 0.88rem;
  }

  .simple-home-link {
    min-height: 40px;
    padding: 0.4rem 0.65rem;
    font-size: 0.78rem;
  }

  .simple-home-link .icon {
    width: 15px;
    height: 15px;
  }

  .simple-footer {
    padding-block: 1.5rem;
  }

  .error-page {
    min-height: 65vh;
    padding-block: 3rem;
  }

  .error-inner h1 {
    font-size: 2.1rem;
  }

  .error-inner > p {
    font-size: 0.9rem;
  }

  .error-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .error-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }

  .footer-text-toggle {
    justify-self: start;
  }

  .mobile-bar {
    display: grid;
  }

  .toast {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }

  .topbar-place {
    max-width: 12rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .hero-meta-text {
    flex-wrap: wrap;
  }

  .hero-meta-text small {
    order: 0;
  }

  .float-card-copy span {
    display: none;
  }

  .about-gallery {
    grid-template-rows: 14rem 8rem;
  }

  .doctor-portraits {
    aspect-ratio: 1 / 1.18;
  }

  .emergency-call {
    padding: 0.8rem;
  }

  .emergency-number {
    font-size: 2.7rem;
  }

  .emergency-call-copy strong {
    font-size: 0.82rem;
  }

  .emergency-call-copy span {
    font-size: 0.64rem;
  }

  .contact-heading {
    gap: 0.5rem;
  }

  .qr-box svg,
  .qr-box img {
    width: 80px;
    height: 80px;
  }
}

/* ---------- 17. 动效与打印 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy,
  .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media print {
  body {
    padding-bottom: 0;
    background: #fff;
    color: #111;
  }

  body::after,
  .topbar,
  .site-header,
  .mobile-bar,
  .toast,
  .hero-visual,
  .contact-actions,
  .message-form,
  .nav-scrim {
    display: none !important;
  }

  .section {
    padding-block: 1.8rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-grid,
  .doctor-grid,
  .contact-grid,
  .emergency-grid {
    display: block;
  }

  .hero-copy,
  .hero-visual {
    animation: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1,
  .section h2 {
    color: #111;
  }

  .hero-lead,
  .section-head .lead,
  .doctor-copy > p,
  .service-card p,
  .faq-answer {
    color: #333;
  }

  .service-card,
  .info-card,
  .health-card,
  .notice-card,
  .contact-card,
  .faq,
  .story-card {
    break-inside: avoid;
    border: 1px solid #bbb;
    box-shadow: none;
  }

  .section {
    break-inside: avoid;
  }
}
