/* =========================================================
   太和安华 TH ANHUA — 官网改版
   设计基调沿用原稿：薄荷绿 / 暖木色影像 / 有机云朵形 / 圆角胶囊
   ========================================================= */

:root {
  --brand: #4cbbb4;
  --brand-600: #2f9790;
  --brand-700: #1e7d76;
  --brand-800: #17665f;
  --mint-050: #f4fbfa;
  --mint-100: #e9f6f4;
  --mint-200: #d9f0ec;
  --mint-300: #b9e4dd;
  --ink: #17292b;
  --ink-soft: #3c4f51;
  --body: #5d6f71;
  --muted: #8b9a9b;
  --line: rgba(23, 41, 43, 0.1);
  --line-soft: rgba(23, 41, 43, 0.06);
  --cream: #faf8f4;
  --star: #f0c94a;
  --white: #fff;
  --shadow-sm: 0 2px 10px rgba(20, 60, 55, 0.05);
  --shadow: 0 18px 50px -22px rgba(16, 70, 64, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(16, 70, 64, 0.35);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --nav-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC",
    "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  font-size: 15.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--mint-200); color: var(--ink); }

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

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-mint { background: var(--mint-050); }
.bg-cream { background: var(--cream); }
.bg-ink { background: #10201f; color: rgba(255, 255, 255, 0.72); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

/* ---------- 文案 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow-center { justify-content: center; }
.eyebrow-center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.h-display {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.28; text-wrap: balance; }
.h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.3; text-wrap: balance; }
.h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.45; }
.h4 { font-size: 18px; line-height: 1.5; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.95; color: var(--body); }
.small { font-size: 13px; color: var(--muted); line-height: 1.8; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.measure { max-width: 680px; }
.measure-narrow { max-width: 540px; }
.brand-text { color: var(--brand-600); }
.ink-text { color: var(--ink); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 52px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 24px; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--brand-700); color: #fff; box-shadow: 0 12px 30px -12px rgba(31, 157, 142, 0.7); }
.btn-primary:hover { background: var(--brand-800); transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(26, 122, 115, 0.75); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 13px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    height 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, #5cc9c2, #2f9790);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(23, 148, 138, 0.8);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 17px; letter-spacing: 0.06em; color: var(--ink); font-weight: 600; }
.brand-name span { font-size: 9px; letter-spacing: 0.28em; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--brand-700); }
.nav-links a:hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-links a.active { color: var(--brand-700); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav-tel { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.nav-tel span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.12em; }
.nav-tel b { font-size: 15px; color: var(--ink); letter-spacing: 0.01em; font-weight: 600; }

.nav-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line-soft);
  box-shadow: 0 6px 30px -20px rgba(16, 70, 64, 0.4);
}
.nav-solid .brand-name b, .nav-solid .nav-tel b { color: var(--ink); }

/* 深色首屏上的透明导航 */
.nav-over { color: #fff; }
.nav-over::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 25, 0.5) 0%, rgba(8, 26, 25, 0) 100%);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.nav-over.nav-solid::before { opacity: 0; }
.nav-over .brand-name b, .nav-over .nav-tel b { color: #fff; }
.nav-over .brand-name span, .nav-over .nav-tel span { color: rgba(255, 255, 255, 0.7); }
.nav-over .nav-links a { color: rgba(255, 255, 255, 0.88); }
.nav-over .nav-links a:hover, .nav-over .nav-links a.active { color: #fff; }
.nav-over .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.nav-over .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav-over .brand-mark { background: rgba(255, 255, 255, 0.16); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.3); }
.nav-over.nav-solid {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}
.nav-over.nav-solid .brand-name b, .nav-over.nav-solid .nav-tel b { color: var(--ink); }
.nav-over.nav-solid .brand-name span, .nav-over.nav-solid .nav-tel span { color: var(--muted); }
.nav-over.nav-solid .nav-links a { color: var(--ink-soft); }
.nav-over.nav-solid .nav-links a.active, .nav-over.nav-solid .nav-links a:hover { color: var(--brand-700); }
.nav-over.nav-solid .brand-mark { background: linear-gradient(140deg, #45c8b8, #17958a); border: 0; }
.nav-over.nav-solid .btn-line { background: #fff; color: var(--ink); border-color: var(--line); }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  color: inherit;
  opacity: 0.8;
  place-items: center;
}
.nav-burger svg { width: 18px; height: 18px; }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0f2221;
  color: #fff;
  padding: 26px 26px 40px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25); background: none; color: #fff;
  font-size: 22px; line-height: 1;
}
.drawer nav { margin-top: 34px; display: flex; flex-direction: column; }
.drawer nav a {
  font-size: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.drawer nav a small { font-size: 10px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.4); }
.drawer-foot { margin-top: auto; padding-top: 30px; color: rgba(255, 255, 255, 0.62); font-size: 13px; }
.drawer-foot b { display: block; font-size: 24px; color: #fff; margin: 6px 0 18px; letter-spacing: 0.02em; }

/* 移动端底部 Tab */
.tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px -20px rgba(16, 70, 64, 0.4);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 4px 0;
  border-radius: 12px;
}
.tabbar a svg { width: 21px; height: 21px; }
.tabbar a.active { color: var(--brand-600); }
.tabbar a.tab-cta { color: #fff; }
.tabbar a.tab-cta .ic {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand); display: grid; place-items: center;
  margin-top: -18px; box-shadow: 0 8px 18px -8px rgba(31, 157, 142, 0.9);
}
.tabbar a.tab-cta .ic svg { width: 19px; height: 19px; }
.tabbar a.tab-cta span { color: var(--brand-700); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 0;
  overflow: hidden;
  isolation: isolate;
  background: #223331;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 26, 25, 0.72) 0%, rgba(8, 26, 25, 0.42) 42%, rgba(8, 26, 25, 0.05) 78%),
    linear-gradient(180deg, rgba(10, 26, 25, 0.55) 0%, rgba(10, 26, 25, 0.1) 38%, rgba(10, 26, 25, 0.66) 100%);
}
.hero-inner { width: 100%; padding-bottom: 78px; }
.hero-copy { max-width: 800px; color: #fff; }
.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.82); }
.hero-copy .lead { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; opacity: 0.75; }

/* 有机云朵形标题块（沿用原稿视觉母题） */
.blob-title {
  position: relative;
  padding: 42px 46px 44px;
  border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%;
  background: rgba(54, 184, 169, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  max-width: 660px;
  box-shadow: var(--shadow-lg);
}
.blob-title .eyebrow { color: rgba(255, 255, 255, 0.85); }
.blob-title .h-display { color: #fff; }

/* 半透明信息条 */
.hero-band {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: var(--r);
  background: rgba(10, 34, 32, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  color: #fff;
  margin-top: 34px;
}
.hero-band .hb-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.hero-band .hb-item svg { width: 18px; height: 18px; opacity: 0.85; flex: none; }
.hero-band .hb-item b { display: block; font-size: 15px; letter-spacing: 0.02em; }
.hero-band .hb-item span { display: block; font-size: 11px; opacity: 0.7; }
.hero-band .divider { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.22); }

/* ---------- 数据条 ---------- */
.stats {
  background: var(--mint-100);
  position: relative;
  z-index: 2;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat { text-align: center; padding: 6px 16px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 1px;
  background: rgba(23, 41, 43, 0.12);
}
.stat b {
  display: block;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.stat b em { font-style: normal; font-size: 0.55em; font-weight: 500; margin-left: 2px; }
.stat span { display: block; font-size: 13px; color: var(--body); margin-top: 10px; letter-spacing: 0.04em; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(54, 184, 169, 0.3); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 28px 30px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { font-size: 14px; color: var(--body); margin-bottom: 0; line-height: 1.85; }

.feature {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .f-img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--mint-100);
}
.feature .f-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.feature:hover .f-img img { transform: scale(1.05); }
.feature h3 { font-size: 18.5px; display: flex; align-items: center; gap: 10px; }
.feature h3::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.feature p { font-size: 14px; margin: 0; line-height: 1.85; }

/* ---------- 双栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-tight { gap: 40px; }
.split-rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r-lg); }
.split-media .float-badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  background: #fff;
  border-radius: var(--r);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.split-media .float-badge b { display: block; font-size: 26px; color: var(--brand-700); font-weight: 500; line-height: 1.2; }
.split-media .float-badge span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- 全宽图片带 ---------- */
.media-band {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #142a28;
}
.media-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; z-index: -2; }
.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 28, 26, 0.88) 0%, rgba(7, 28, 26, 0.68) 34%, rgba(7, 28, 26, 0.28) 62%, rgba(7, 28, 26, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 30, 28, 0.55) 0%, rgba(8, 30, 28, 0.12) 26%, rgba(8, 30, 28, 0.42) 52%, rgba(8, 30, 28, 0.94) 100%);
}
.media-band .mb-inner { padding-block: 54px; color: #fff; width: 100%; }
.media-band .mb-inner h2 { color: #fff; }
.media-band .mb-inner p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-top: 14px; }
.media-band.band-soft img { object-position: center 24%; }
@media (max-width: 900px) {
  .media-band.band-guide img { object-position: 26% center; }
}
.media-band.band-soft::after {
  background: linear-gradient(180deg, rgba(8, 30, 28, 0.28) 0%, rgba(8, 30, 28, 0.05) 30%, rgba(8, 30, 28, 0.62) 72%, rgba(8, 30, 28, 0.94) 100%);
}

/* 数字徽标 */
.num-badge {
  width: 54px; height: 54px;
  border-radius: 18px;
  background: var(--mint-100);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-size: 20px; font-weight: 600;
  flex: none;
}

/* ---------- 步骤胶囊 ---------- */
.pill-nav {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav span, .pill-nav a {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.35s var(--ease);
}
.pill-nav b { font-size: 19px; font-weight: 500; color: #c3cecd; }
.pill-nav .on { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 157, 142, 0.8); }
.pill-nav .on b { color: rgba(255, 255, 255, 0.75); }
.pill-nav a:hover:not(.on) { background: var(--mint-100); color: var(--brand-700); }

/* ---------- 团队 ---------- */
.role-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role {
  text-align: center;
  padding: 24px 14px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line-soft);
}
.role .r-ic {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--brand-600);
  display: grid; place-items: center;
}
.role .r-ic svg { width: 22px; height: 22px; }
.role b { display: block; font-size: 14px; color: var(--ink); }
.role span { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }

/* 深色图片带上的角色卡 */
.role-list.on-dark .role {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.role-list.on-dark .role b { color: #fff; }
.role-list.on-dark .role span { color: rgba(255, 255, 255, 0.5); }
.role-list.on-dark .role .r-ic { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* 插画/去底图 */
.img-blend { mix-blend-mode: multiply; }
.img-fade {
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 56%, transparent 86%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 56%, transparent 86%);
}
.img-plain { border-radius: 0 !important; }

.dept-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  margin-bottom: 26px;
}
.dept-row .d-img { min-height: 320px; }
.dept-row .d-img img { width: 100%; height: 100%; object-fit: cover; }
.dept-row .d-body { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.dept-row .d-body .en { font-size: 10.5px; letter-spacing: 0.28em; color: var(--brand-600); text-transform: uppercase; margin-bottom: 8px; }
.dept-row .d-body h3 { font-size: 24px; margin-bottom: 14px; }
.dept-row .d-body p { font-size: 14px; margin: 0; }
.dept-row.rev .d-img { order: 2; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand), rgba(54, 184, 169, 0.15));
}
.tl-item { position: relative; padding: 0 0 40px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
}
.tl-item .tl-phase { font-size: 11.5px; letter-spacing: 0.16em; color: var(--brand-600); font-weight: 600; text-transform: uppercase; }
.tl-item h3 { font-size: 20px; margin: 6px 0 8px; }
.tl-item p { font-size: 14px; margin: 0; }

/* ---------- 数据/引用 ---------- */
.quote {
  position: relative;
  padding: 34px 38px;
  border-radius: var(--r-lg);
  background: var(--mint-100);
  border-left: 3px solid var(--brand);
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 2;
}
.quote cite { display: block; margin-top: 14px; font-size: 12.5px; color: var(--muted); font-style: normal; letter-spacing: 0.1em; }

.metric-row { display: flex; gap: 46px; flex-wrap: wrap; margin-top: 26px; }
.metric b { display: block; font-size: 30px; color: var(--ink); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.metric span { font-size: 12.5px; color: var(--muted); }

/* ---------- 新闻 ---------- */
.news-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.news-feature:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.news-feature .nf-img { min-height: 360px; overflow: hidden; }
.news-feature .nf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.news-feature:hover .nf-img img { transform: scale(1.04); }
.news-feature .nf-body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }
.news-feature h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; margin: 14px 0 14px; }
.news-feature p { font-size: 14.5px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mint-100);
  color: var(--brand-700);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.tag-solid { background: var(--brand); color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line-soft); overflow: hidden; transition: all 0.45s var(--ease); height: 100%; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card .nc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-100); }
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.news-card:hover .nc-img img { transform: scale(1.05); }
.news-card .nc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 17.5px; line-height: 1.6; margin: 12px 0 10px; }
.news-card p { font-size: 13.5px; color: var(--body); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
  font-size: 13.5px;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 54px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  background: #fff;
  padding: 0 6px;
}
.pagination .on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 内页头 ---------- */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 104px) 0 96px;
  background: var(--mint-050);
  overflow: hidden;
  isolation: isolate;
}
.page-head .ph-bg {
  position: absolute;
  right: -6%;
  top: -30%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(54, 184, 169, 0.22), transparent 68%);
  z-index: -1;
}
.page-head .ph-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.page-head .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head .h1 { max-width: 640px; }
.page-head .lead { max-width: 560px; margin-top: 18px; }

.crumbs { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span { opacity: 0.5; }

/* ---------- 预约流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: flow; }
.split .flow { grid-template-columns: repeat(2, 1fr); }
.flow-step {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 26px 24px 28px;
  position: relative;
}
.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brand);
  font-weight: 600;
}
.flow-step h3 { font-size: 16.5px; margin: 10px 0 8px; }
.flow-step p { font-size: 13.5px; margin: 0; }

/* ---------- 手风琴 ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}
.acc-q i {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-style: normal;
  font-size: 16px;
  color: var(--brand-600);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.acc-item.open .acc-q i { transform: rotate(45deg); background: var(--mint-100); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-a p { font-size: 14px; padding-bottom: 24px; margin: 0; max-width: 780px; }

/* ---------- 联系/CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #123f3b 0%, #17695f 55%, #2f9790 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 60px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; max-width: 560px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 12px 0 0; font-size: 14.5px; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 7px; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(54, 184, 169, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b6b7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 蜜罐字段：视觉隐藏，机器人仍会填写 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 隐私政策勾选 */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 4px 0 16px;
  cursor: pointer;
}
.agree-row input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex: none;
}
.agree-link { color: var(--brand-700); text-decoration: underline; }

/* ---------- 文章正文 ---------- */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-body { font-size: 16px; line-height: 2.05; color: var(--ink-soft); }
.article-body p { margin: 0 0 1.4em; }
.article-body h3 {
  font-size: 21px;
  margin: 2em 0 0.7em;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
  line-height: 1.5;
}
.article-body ul { margin: 0 0 1.5em; padding-left: 0; }
.article-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5em;
}
.article-body li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.9em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.7;
}
.article-body blockquote {
  margin: 1.8em 0;
  padding: 22px 26px;
  background: var(--mint-050);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
  color: var(--ink);
  font-size: 15.5px;
}
.article-cover { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r-lg); background: var(--mint-100); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.article-nav a {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px 22px;
  background: #fff;
  transition: all 0.35s var(--ease);
}
.article-nav a:hover { border-color: var(--brand); transform: translateY(-2px); }
.article-nav span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: 0.12em; margin-bottom: 6px; }
.article-nav b { font-size: 14.5px; color: var(--ink); font-weight: 500; line-height: 1.6; display: block; }

/* ---------- 联系页 ---------- */
.contact-tile {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px 30px 32px;
  height: 100%;
}
.contact-tile .ct-ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--mint-100);
  color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.contact-tile .ct-ic svg { width: 21px; height: 21px; }
.contact-tile h3 { font-size: 16px; margin-bottom: 10px; }
.contact-tile b { display: block; font-size: 20px; color: var(--ink); font-weight: 500; letter-spacing: 0.01em; }
.contact-tile p { font-size: 13.5px; margin: 8px 0 0; }

/* ---------- 页脚 ---------- */
.footer { background: #0e1f1e; color: rgba(255, 255, 255, 0.62); padding: 76px 0 0; font-size: 13.5px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.12em; margin-bottom: 20px; font-weight: 600; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr 1.1fr; gap: 46px; padding-bottom: 54px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer .brand-name b { color: #fff; }
.footer .brand-name span { color: rgba(255, 255, 255, 0.45); }
.footer .brand-mark { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: none; }
.footer-about p { margin: 22px 0 0; line-height: 1.95; max-width: 330px; }
.footer-links li { margin-bottom: 11px; }
.footer-contact div { margin-bottom: 16px; }
.footer-contact b { display: block; color: #fff; font-size: 16px; font-weight: 500; margin-top: 3px; letter-spacing: 0.02em; }
.footer-contact span { font-size: 12px; color: rgba(255, 255, 255, 0.45); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: #fff; color: #0e1f1e; border-color: #fff; transform: translateY(-2px); }
.social-row svg { width: 19px; height: 19px; }
.social-row a span { font-size: 13px; font-weight: 500; line-height: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 30px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .admin-link { color: rgba(255, 255, 255, 0.32); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 图片带高度变体 */
.media-band.band-tall { min-height: 74vh; }
.media-band.band-mid { min-height: 64vh; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-inner { gap: 16px; }
  .nav-cta .btn-line { display: none; }
  .split { gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .page-head .ph-img { width: 52%; opacity: 0.5; }
}

@media (max-width: 900px) {
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tabbar { display: flex; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-row { grid-template-columns: 1fr; }
  .dept-row .d-img { min-height: 220px; order: -1 !important; }
  .dept-row .d-body { padding: 30px 24px; }
  .role-list { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .news-feature { grid-template-columns: 1fr; }
  .news-feature .nf-img { min-height: 220px; }
  .news-feature .nf-body { padding: 26px 24px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 88px); }
  .hero-inner { padding-bottom: 44px; }
  .blob-title { padding: 30px 26px 32px; border-radius: 32px; }
  .cta-band { padding: 36px 26px; border-radius: var(--r-lg); }
  .page-head { padding: calc(var(--nav-h) + 64px) 0 56px; }
  .page-head .ph-img { display: none; }
  .page-head .ph-bg { width: 380px; height: 380px; right: -150px; top: -120px; }
  .split-media .float-badge { right: 8px; bottom: -12px; padding: 12px 16px; }
  .split-media .float-badge b { font-size: 20px; }

  /* 全宽图片带：手机改为「图片在上、文字在下」，避免裁切到人脸 */
  .media-band,
  .media-band.band-tall,
  .media-band.band-mid { display: block; min-height: 0; background: #0f2725; }
  .media-band img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 32%;
    z-index: 0;
  }
  .media-band.band-tall img { height: 300px; object-position: center 18%; }
  .media-band.band-guide img { height: 230px; object-position: center 42%; }
  /* 作为页头的图片带给固定导航留出深色区域，保证白字可读 */
  .media-band.band-tall,
  .media-band.band-mid { padding-top: var(--nav-h); }
  .media-band::after { display: none; }
  .media-band .mb-inner {
    position: relative;
    z-index: 1;
    background: #0f2725;
    padding-block: 28px 40px;
  }
  .media-band .role-list { margin-top: 22px; }

  /* 步骤胶囊：横向滑动，隐藏英文副标 */
  .pill-nav {
    padding: 8px;
    gap: 8px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  }
  .pill-nav a { flex: 0 0 auto; min-width: 134px; padding: 10px 16px; }
  .pill-nav a span { display: none; }

  /* 指标改为两列 */
  .metric-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }

  /* 分类筛选横向滑动 */
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-top: calc(var(--nav-h) + 62px); }
  .h-display { font-size: 24px; line-height: 1.5; letter-spacing: -0.005em; }
  .eyebrow, .hero-copy .eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .hero-copy br { display: inline; }
  .hero-copy .lead { font-size: 15px; line-height: 1.9; margin-top: 16px; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 45%; padding: 0 16px; }
  .hero-band { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .hero-band .divider { display: none; }
  .grid-2, .grid-3, .grid-4, .news-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); padding: 22px 0; }
  .stat { padding: 14px 8px; }
  .stat + .stat::before { top: 16%; bottom: 16%; }
  .stat:nth-child(3)::before { display: none; }
  .role-list { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .role { padding: 18px 8px; }
  .role b { font-size: 13px; }
  .role span { font-size: 9px; letter-spacing: 0.06em; }
  .split { grid-template-columns: 1fr; }
  .split-rev .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-top: 50px; }
  .news-card .nc-body { padding: 20px 20px 24px; }
  .section-head { margin-bottom: 30px; }
  .article-nav { grid-template-columns: 1fr; }
  .timeline { padding-left: 24px; }
  .tl-item::before { left: -24px; }
  .quote { padding: 24px 22px; }
  .page-head { padding: calc(var(--nav-h) + 52px) 0 50px; }
  .nav-tel { display: none; }
  /* iOS 输入框字号小于 16px 会触发自动放大 */
  .field input, .field select, .field textarea { font-size: 16px; }
  .drawer {
    overflow-y: auto;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }
  .drawer nav a { font-size: 21px; padding: 15px 0; }
  .drawer-foot b { font-size: 21px; }
  .btn { height: 48px; }
  .cta-band { padding: 30px 24px; }
  .footer-bottom { gap: 12px; }
}

@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
  .h-display { font-size: 23px; }
  .brand-name b { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   品牌素材位 / 医生模块 / 到院路线 / 吸顶步骤导航
   ========================================================= */

/* 自定义 LOGO：由 JS 在 .brand 上打 has-logo */
.brand-logo { display: none; height: 38px; width: auto; max-width: 220px; object-fit: contain; }
.brand.has-logo .brand-mark,
.brand.has-logo .brand-name { display: none; }
.brand.has-logo .brand-logo.is-dark { display: block; }
.brand.has-logo .brand-logo.is-light { display: none; }
.nav-over .brand.has-logo .brand-logo.is-dark { display: none; }
.nav-over .brand.has-logo .brand-logo.is-light { display: block; }
.nav-over.nav-solid .brand.has-logo .brand-logo.is-dark { display: block; }
.nav-over.nav-solid .brand.has-logo .brand-logo.is-light { display: none; }
.footer .brand.has-logo .brand-logo.is-dark { display: none; }
.footer .brand.has-logo .brand-logo.is-light { display: block; }

/* 可替换图标位（未上传时保留内联 SVG） */
.ic-slot { display: grid; place-items: center; }
.ic-slot img { width: 26px; height: 26px; object-fit: contain; }
.role .ic-slot img { width: 30px; height: 30px; }
.feature .ic-slot { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-100); margin-bottom: 6px; }
.feature .ic-slot img { width: 30px; height: 30px; }

/* 二维码 */
.qr-inline { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.qr-inline img { width: 92px; height: 92px; object-fit: contain; background: #fff; padding: 6px; border-radius: 10px; }
.qr-inline span { font-size: 12px; color: rgba(255, 255, 255, 0.55); line-height: 1.7; }
.qr-inline.on-light span { color: var(--muted); }

/* 到院路线 */
.route-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: stretch; }
.route-info { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 34px 34px 36px; }
.route-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mint-100);
  min-height: 320px;
  border: 1px solid var(--line-soft);
}
.route-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.route-map .map-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 13px; text-align: center; padding: 24px;
}
.route-map .map-link {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px; padding: 10px 18px;
  font-size: 13px; font-weight: 600; color: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.route-meta { display: grid; gap: 14px; margin: 20px 0 24px; }
.route-meta div { display: flex; gap: 10px; font-size: 14px; color: var(--body); }
.route-meta b { color: var(--ink); font-weight: 600; }

/* 医生团队 */
.doc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.doc-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.doc-photo { position: relative; aspect-ratio: 3 / 4; background: var(--mint-100); overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo .doc-init {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 34px; font-weight: 600; color: #fff;
  background: linear-gradient(140deg, #6fd0c9, #2f9790);
  letter-spacing: 0.04em;
}
.doc-body { padding: 16px 18px 20px; }
.doc-body h3 { font-size: 16px; margin-bottom: 4px; }
.doc-body .doc-title { font-size: 12px; color: var(--brand-700); letter-spacing: 0.02em; }
.doc-body p { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed rgba(76, 187, 180, 0.55);
  background: var(--mint-050);
  border-radius: var(--r-lg);
  color: var(--brand-700); font-size: 14px; font-weight: 600;
  min-height: 100%;
  transition: background 0.3s;
}
.doc-more:hover { background: var(--mint-100); }
.doc-more span { font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: 0.08em; }

/* 医生详情 */
.doc-detail { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: start; }
.doc-detail .dd-photo { border-radius: var(--r-lg); overflow: hidden; background: var(--mint-100); position: sticky; top: calc(var(--nav-h) + 24px); }
.doc-detail .dd-photo img { width: 100%; display: block; }
.doc-detail .dd-photo .doc-init { position: static; aspect-ratio: 3/4; }
.doc-detail h1 { font-size: clamp(28px, 3vw, 38px); }
.doc-detail .dd-title { color: var(--brand-700); font-size: 15px; margin-top: 8px; }
.doc-detail .dd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }

/* 吸顶步骤导航 */
.steps-shell { position: relative; }
.pill-dock {
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  z-index: 45;
  padding: 6px 0 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 72%, rgba(255, 255, 255, 0));
  backdrop-filter: blur(6px);
}
.pill-dock .pill-nav { box-shadow: var(--shadow); }
.step-section { scroll-margin-top: calc(var(--nav-h) + 90px); }

@media (max-width: 1080px) {
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-detail { grid-template-columns: 240px 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-map { min-height: 240px; }
  .doc-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .doc-body { padding: 14px 14px 16px; }
  .doc-body h3 { font-size: 15px; }
  .doc-detail { grid-template-columns: 1fr; gap: 26px; }
  .doc-detail .dd-photo { position: static; max-width: 300px; }
  .brand-logo { height: 34px; max-width: 190px; }
}

@media (max-width: 640px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doc-body h3 { font-size: 14.5px; }
  .doc-body .doc-title { font-size: 11px; }
  .doc-body p { font-size: 12px; -webkit-line-clamp: 2; }
  .doc-photo .doc-init { font-size: 28px; }
  .route-info { padding: 26px 22px 28px; }
  .qr-inline img { width: 78px; height: 78px; }
}
