/* ==========================================================================
   乾坤巽中医馆 · 官网样式表
   风格：中式温润 —— 宣纸底 + 朱砂红 + 赭金 + 松墨绿
   ========================================================================== */

:root {
  --ink: #2A2722;          /* 墨 */
  --ink-2: #4A443A;
  --muted: #7A7466;
  --muted-2: #A39B8B;

  --paper: #F8F5EE;        /* 宣纸 */
  --paper-2: #F1ECDF;
  --card: #FFFFFF;

  --red: #9E3B2C;          /* 朱砂 */
  --red-2: #7E2E22;        /* 深朱 */
  --red-soft: rgba(158, 59, 44, 0.08);
  --gold: #A8863B;         /* 赭金 */
  --gold-soft: rgba(168, 134, 59, 0.10);
  --green: #46584A;        /* 松墨绿 */
  --green-2: #33413A;
  --green-soft: rgba(70, 88, 74, 0.08);

  --line: #E7E0D0;
  --shadow: 0 10px 30px rgba(42, 39, 34, 0.08);
  --shadow-lg: 0 22px 54px rgba(42, 39, 34, 0.14);

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --nav-h: 76px;

  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --kai: "KaiTi", "STKaiti", "楷体", var(--serif);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.9;
  color: var(--ink-2); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.4; }
h1, h2, h3 { font-family: var(--serif); letter-spacing: 0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 布局 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--paper2 { background: var(--paper-2); }
.section--green { background: var(--green-2); color: rgba(255, 255, 255, 0.8); }
.section--green h2, .section--green h3, .section--green h4 { color: #fff; }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }

/* ---------- 章节头 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--kai); font-size: 15px; letter-spacing: 0.3em;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow--left::after { display: none; }
.section--green .eyebrow { color: var(--gold); }

.sec-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; }
.sec-sub { font-size: 16.5px; color: var(--muted); max-width: 740px; }
.section--green .sec-sub { color: rgba(255, 255, 255, 0.66); }
.sec-head { margin-bottom: 46px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-size: 15.5px; font-weight: 700;
  transition: all 0.22s ease; white-space: nowrap; border: 1.5px solid transparent;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(158, 59, 44, 0.28); }
.btn--red:hover { background: var(--red-2); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--red); color: var(--red); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent; transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-solid, .site-header--inner {
  background: rgba(248, 245, 238, 0.97);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(42, 39, 34, 0.05);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 9px; flex: 0 0 42px;
  background: var(--red); color: #F8F5EE;
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 4px 12px rgba(158, 59, 44, 0.3);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.3; }
.logo__name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 0.06em; }
.logo__sub { font-size: 10.5px; letter-spacing: 0.26em; color: rgba(255, 255, 255, 0.55); }
.site-header.is-solid .logo__name, .site-header--inner .logo__name { color: var(--red-2); }
.site-header.is-solid .logo__sub, .site-header--inner .logo__sub { color: var(--muted-2); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  font-size: 15.5px; font-weight: 600; color: rgba(255, 255, 255, 0.85);
  padding: 6px 0; position: relative; transition: color 0.2s; font-family: var(--serif); letter-spacing: 0.04em;
}
.nav > a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold); transition: width 0.25s;
}
.nav > a:hover::after, .nav > a.is-active::after { width: 60%; }
.nav > a:hover, .nav > a.is-active { color: var(--gold); }
.site-header.is-solid .nav > a, .site-header--inner .nav > a { color: var(--ink); }
.site-header.is-solid .nav > a:hover, .site-header.is-solid .nav > a.is-active,
.site-header--inner .nav > a:hover, .site-header--inner .nav > a.is-active { color: var(--red); }
.site-header.is-solid .nav > a::after, .site-header--inner .nav > a::after { background: var(--red); }

.header-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.header-tel svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.header-tel--hero { color: #fff; }
.site-header.is-solid .header-tel, .site-header--inner .header-tel { color: var(--red); }

.burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: 0.25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: 0.25s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.site-header.is-solid .burger span, .site-header--inner .burger span,
.site-header.is-solid .burger span::before, .site-header.is-solid .burger span::after,
.site-header--inner .burger span, .site-header--inner .burger span::before, .site-header--inner .burger span::after { background: var(--ink); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; color: rgba(255,255,255,0.86); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 24, 18, 0.86) 0%, rgba(30, 24, 18, 0.62) 46%, rgba(30, 24, 18, 0.30) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { padding: calc(var(--nav-h) + 100px) 0 110px; max-width: 720px; }
.hero__brandline { font-family: var(--kai); font-size: 17px; letter-spacing: 0.42em; color: var(--gold); margin-bottom: 20px; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5vw, 58px); line-height: 1.28;
  letter-spacing: 0.03em; margin-bottom: 22px;
}
.hero h1 .hl { color: var(--gold); }
.hero__lead { font-size: 18px; line-height: 1.95; color: rgba(255, 255, 255, 0.78); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts span {
  font-size: 13.5px; padding: 7px 16px; border-radius: 4px; letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06); font-family: var(--serif);
}

/* 内页页头 */
.page-hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.78);
  background: var(--green-2); padding: calc(var(--nav-h) + 64px) 0 62px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 90% at 60% 20%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 60% 20%, #000 20%, transparent 90%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 12px; }
.page-hero p { font-size: 16.5px; color: rgba(255, 255, 255, 0.66); max-width: 720px; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, 0.44); margin-bottom: 16px; }
.crumb a:hover { color: var(--gold); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(168, 134, 59, 0.45); }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card__icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 20px;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; font-weight: 700;
}
.card__tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--red); background: var(--red-soft); border-radius: 4px; padding: 4px 12px; margin-bottom: 16px;
}
.card--green { background: var(--green-2); border-color: rgba(255,255,255,0.08); }
.card--green h3 { color: #fff; }
.card--green p { color: rgba(255,255,255,0.62); }

/* 特色大卡 */
.feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.feature__body { padding: 46px 44px; }
.feature__body h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }
.feature__body p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.feature__media { position: relative; min-height: 360px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 医生 ---------- */
.doctor {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.doctor__side {
  background: linear-gradient(170deg, var(--green-2), var(--green));
  color: #fff; padding: 44px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.doctor__avatar {
  width: 128px; height: 128px; border-radius: 50%; margin-bottom: 18px;
  border: 4px solid rgba(255, 255, 255, 0.85); overflow: hidden; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 44px; color: var(--green);
}
.doctor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor__side h3 { color: #fff; font-size: 26px; letter-spacing: 0.1em; }
.doctor__title { font-family: var(--serif); font-size: 14.5px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 14px; }
.doctor__side p { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); line-height: 1.8; }
.doctor__main { padding: 42px 42px; }
.doctor__main h4 {
  font-family: var(--serif); font-size: 16.5px; letter-spacing: 0.14em; color: var(--red);
  margin: 26px 0 10px; display: flex; align-items: center; gap: 10px;
}
.doctor__main h4::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; transform: rotate(45deg); }
.doctor__main h4:first-child { margin-top: 0; }
.doctor__main p, .doctor__main li { font-size: 15.5px; color: var(--ink-2); }
.doctor__main ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.doctor__main ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- 画廊 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--paper-2); box-shadow: var(--shadow);
}
.gallery figure.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(30, 24, 18, 0.72));
  color: #fff; font-family: var(--serif); font-size: 14.5px; letter-spacing: 0.1em;
}

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 26px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24px; width: 1px; height: 60px; background: var(--line); }
.step__no {
  width: 50px; height: 50px; border-radius: 50%; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff;
  background: var(--green); border: 1px solid rgba(255,255,255,0.2) ;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }
.section--green .step:not(:last-child)::after { background: rgba(255,255,255,0.14); }
.section--green .step h3 { color: #fff; }
.section--green .step p { color: rgba(255,255,255,0.62); }
.section--green .step__no { background: var(--gold); color: #fff; border: none; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
table.tbl { font-size: 15.5px; min-width: 640px; }
table.tbl th, table.tbl td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tbl thead th { background: var(--green-2); color: #fff; font-family: var(--serif); letter-spacing: 0.08em; border-bottom: none; white-space: nowrap; }
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl tbody tr:nth-child(even) { background: rgba(241, 236, 223, 0.5); }
table.tbl td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px 0; text-align: left; font-size: 17.5px; font-weight: 700; color: var(--ink);
  font-family: var(--serif); transition: color 0.2s;
}
.faq__q:hover { color: var(--red); }
.faq__q i { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 7px; position: relative; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform 0.28s; }
.faq__q i::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq__q i::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq__item.is-open .faq__q i::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a p { font-size: 16px; color: var(--muted); padding: 0 46px 26px 0; }
.faq__item.is-open .faq__a { max-height: 520px; }

/* ---------- 就诊指引 ---------- */
.loc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.loc__head { background: var(--green-2); color: #fff; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.loc__head h3 { color: #fff; font-size: 21px; letter-spacing: 0.06em; }
.loc__head span { font-size: 13px; color: rgba(255,255,255,0.66); letter-spacing: 0.1em; }
.loc__body { padding: 26px 28px 30px; }
.loc__row { display: flex; gap: 12px; padding: 10px 0; font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.loc__row:last-child { border-bottom: none; }
.loc__row b { flex: 0 0 76px; color: var(--muted); font-weight: 600; font-size: 14.5px; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-2), var(--red)); color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg); padding: 48px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: "囍"; position: absolute; right: 30px; top: -40px; font-family: var(--serif);
  font-size: 200px; color: rgba(255, 255, 255, 0.06); line-height: 1;
}
.cta-band__text { position: relative; z-index: 2; max-width: 660px; }
.cta-band h3 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.cta-band p { font-size: 16px; color: rgba(255, 255, 255, 0.72); }
.cta-band__actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--white { background: #fff; color: var(--red-2); }
.cta-band .btn--white:hover { transform: translateY(-2px); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.5); }

/* ---------- 长文 ---------- */
.with-toc { display: grid; grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc__t { font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--muted-2); margin-bottom: 14px; }
.toc a {
  display: block; font-size: 14.5px; color: var(--muted); padding: 7px 0 7px 14px;
  border-left: 2px solid var(--line); transition: 0.2s;
}
.toc a:hover, .toc a.is-active { color: var(--red); border-left-color: var(--red); }

.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin: 52px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
.prose p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 16px; }
.prose ul { margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 24px; font-size: 16px; color: var(--ink-2); margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose blockquote {
  margin: 26px 0; padding: 22px 26px; border-left: 3px solid var(--red);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--kai); font-size: 17.5px; color: var(--ink); line-height: 2;
}
.prose .note {
  margin-top: 24px; padding: 16px 20px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px dashed var(--line); font-size: 14px; color: var(--muted); line-height: 1.8;
}

/* ---------- 页脚 ---------- */
.site-footer { background: var(--green-2); color: rgba(255, 255, 255, 0.56); padding: 70px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__sub { color: rgba(255, 255, 255, 0.4); }
.site-footer .logo__mark { background: var(--red); }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 16px; letter-spacing: 0.1em; margin-bottom: 18px; }
.site-footer li { margin-bottom: 11px; }
.site-footer a:hover { color: var(--gold); }
.footer-about { margin-top: 20px; font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.5); max-width: 340px; }
.footer-qr { width: 108px; border-radius: 8px; margin-top: 12px; border: 2px solid rgba(255,255,255,0.2); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a:hover { color: var(--gold); }
.footer-notice { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0 26px; font-size: 12.5px; line-height: 1.9; color: rgba(255,255,255,0.34); }

/* ---------- 浮动预约 ---------- */
.float-cta { position: fixed; right: 22px; bottom: 26px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-cta a {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(42, 39, 34, 0.22); transition: transform 0.2s;
  font-family: var(--serif); font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center;
}
.float-cta a:hover { transform: translateY(-3px); }
.float-cta .fc-tel { background: var(--red); color: #fff; }
.float-cta .fc-top { background: #fff; color: var(--ink); border: 1px solid var(--line); font-size: 11px; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .step:nth-child(2)::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 280px; }
  .doctor { grid-template-columns: 1fr; }
  .doctor__side { flex-direction: row; text-align: left; padding: 30px; gap: 22px; align-items: center; }
  .doctor__avatar { margin-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .with-toc { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 6px; }
  .toc__t { width: 100%; }
  .toc a { border-left: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: #fff; }
  .toc a.is-active { border-color: var(--red); background: var(--red-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .section--tight { padding: 46px 0; }
  .wrap { padding: 0 18px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero__inner { padding: calc(var(--nav-h) + 64px) 0 76px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 0; }
  .step:not(:last-child)::after { display: none; }
  .cta-band { padding: 38px 26px; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .feature__body { padding: 32px 24px; }
  .doctor__main { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-cta { right: 14px; bottom: 16px; }
  .gallery figure.wide { grid-column: span 2; }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--green-2); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 0; padding: 16px 24px 40px;
    transform: translateX(100%); transition: transform 0.3s; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav > a { width: 100%; padding: 17px 0; font-size: 18px; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav > a::after { display: none; }
  .nav .btn { margin-top: 22px; width: 100%; }
  .burger { display: flex; }
  .header-tel { display: none; }
}
