/* ============================================================
   易护到家 · 互联网+居家医护服务平台 — 主样式表
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #0f8f7d;
  --primary-strong: #0b7466;
  --primary-deep: #0a5f54;
  --primary-dark: #06332d;
  --primary-soft: #e6f5f1;
  --primary-softer: #f2faf8;

  --accent: #f97316;
  --accent-deep: #c2510d;

  --ink: #12312b;
  --text: #37473f;
  --muted: #61766f;
  --line: #dcebe6;

  --bg: #ffffff;
  --bg-soft: #f2f9f7;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px rgba(6, 64, 56, 0.06);
  --shadow-md: 0 12px 30px rgba(6, 64, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 64, 56, 0.14);

  --header-h: 76px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd, dt, p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.35; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(15, 143, 125, 0.22); }

:focus-visible {
  outline: 3px solid rgba(15, 143, 125, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--primary-deep);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 通用布局 ---------- */
.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--accent-deep);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  border-radius: 2px;
}
.eyebrow::after { background: linear-gradient(90deg, var(--accent), transparent); }

.section-title {
  margin-top: 16px;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--lg { padding: 15px 36px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, #12a08c, #0b6f60);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 143, 125, 0.30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 143, 125, 0.40);
}

.btn--ghost {
  border-color: rgba(15, 143, 125, 0.35);
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.75);
}
.btn--ghost:hover {
  background: #fff;
  border-color: rgba(15, 143, 125, 0.6);
  transform: translateY(-2px);
}

.btn--warm {
  background: linear-gradient(135deg, #f97316, #e2570b);
  color: #fff;
  box-shadow: 0 10px 26px rgba(233, 105, 30, 0.35);
}
.btn--warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(233, 105, 30, 0.45);
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-deep));
  color: #cdeee5;
  font-size: 13px;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__hotline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar__hotline strong { color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.topbar__links { display: flex; gap: 10px; align-items: center; }
.topbar__links a { color: #cdeee5; transition: color 0.2s; }
.topbar__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 251, 249, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: #e4f0ec;
  box-shadow: 0 8px 24px rgba(6, 64, 56, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { flex: none; line-height: 0; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.brand__text small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 3px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  color: #37473f;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--primary-deep); background: rgba(15, 143, 125, 0.09); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav__link.is-active { color: var(--primary-deep); font-weight: 700; }
.nav__link.is-active::after { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-deep);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: #fff;
  padding: 0 24px;
}
.mobile-nav.is-open { max-height: 480px; }
.mobile-nav__list li { border-bottom: 1px solid #eef5f3; }
.mobile-nav__list a {
  display: block;
  padding: 15px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.mobile-nav__list a:hover { color: var(--primary-deep); }
.mobile-nav__cta { width: 100%; margin: 18px 0 22px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 100px;
  background: linear-gradient(180deg, #e9f6f2 0%, #f5fbf9 60%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.blob--a {
  width: 480px; height: 480px;
  top: -140px; right: -120px;
  background: rgba(18, 160, 140, 0.16);
}
.blob--b {
  width: 380px; height: 380px;
  bottom: -120px; left: -140px;
  background: rgba(249, 115, 22, 0.10);
}
.grid-dots {
  position: absolute;
  top: 40px; right: 40px;
  width: 340px; height: 260px;
  background-image: radial-gradient(circle, rgba(15, 143, 125, 0.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #d3ece6;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.28;
}
.mark {
  position: relative;
  color: var(--primary-deep);
  background: linear-gradient(transparent 62%, rgba(249, 115, 22, 0.26) 62%);
  border-radius: 4px;
  padding: 0 4px;
}

.hero__sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 16.5px;
  color: var(--muted);
}
.hero__sub b { color: var(--primary-deep); font-weight: 700; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: #3f5c55;
}
.hero__points svg { color: var(--primary); }

/* ---- 首屏右侧视觉 ---- */
.hero__visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecg {
  position: absolute;
  left: 0; right: 0;
  top: 44%;
  width: 100%;
  height: 110px;
  z-index: 0;
}
.ecg--track path { stroke: rgba(15, 143, 125, 0.16); stroke-width: 2.5; }
.ecg--pulse path {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.22 0.78;
  stroke-dashoffset: 0;
  animation: ecgMove 3.6s linear infinite;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid #e3f1ec;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e7f7ef;
  color: #0b6b4f;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulseDot 1.6s ease-in-out infinite;
}
.hero-card__id {
  font-size: 12px;
  color: #93a8a1;
  letter-spacing: 0.05em;
}

.hero-card__nurse {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.avatar {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #12a08c, #0a5f54);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.hero-card__who { display: flex; flex-direction: column; line-height: 1.4; }
.hero-card__who strong { font-size: 16.5px; color: var(--ink); }
.hero-card__who span { font-size: 12.5px; color: var(--muted); }
.rating {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b45309;
  font-weight: 800;
  font-size: 14px;
}

.hero-card__meta { margin-top: 18px; }
.hero-card__meta li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: #4a6059;
  line-height: 2;
}
.hero-card__meta li::before {
  content: "";
  position: absolute;
  left: 2px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-card__progress { margin-top: 16px; }
.bar {
  height: 8px;
  border-radius: 999px;
  background: #e4f0ec;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12a08c, #f97316);
}
.hero-card__progress p {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e3f1ec;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  animation: floatY 4.5s ease-in-out infinite;
}
.float-chip span { display: flex; flex-direction: column; line-height: 1.35; }
.float-chip strong { font-size: 15px; color: var(--ink); font-weight: 800; }
.float-chip em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.float-chip--top { top: 4px; right: -6px; }
.float-chip--bottom { bottom: 0; left: -10px; animation-delay: 1.2s; }

/* ---- 数据条 ---- */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(6, 64, 56, 0.09);
  padding: 30px 16px;
  margin-top: 64px;
}
.stat { text-align: center; padding: 4px 8px; }
.stat + .stat { border-left: 1px solid #ecf4f1; }
.stat__value {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.stat dt {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- 核心场景 ---------- */
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.core-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2f0ec;
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.core-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 143, 125, 0.35);
}
.core-card__tag {
  position: absolute;
  top: 22px; right: 22px;
  background: #fff1e7;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
}
.core-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px; height: 66px;
  border-radius: 19px;
  background: linear-gradient(135deg, #eaf7f3, #d9f0ea);
  border: 1px solid #d3ece6;
}
.core-card h3 { font-size: 20px; font-weight: 800; margin-top: 22px; }
.core-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips--center { justify-content: center; }
.chip {
  background: #eef7f4;
  border: 1px solid #d9ebe5;
  color: #33584f;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
}

.core-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primary-deep);
}
.core-card__more svg { transition: transform 0.25s ease; }
.core-card__more:hover svg { transform: translateX(4px); }

/* ---------- 服务项目 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 143, 125, 0.32);
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: #eef7f4;
  border: 1px solid #d9ebe5;
}
.service-card h3 { font-size: 16.5px; font-weight: 800; margin-top: 18px; }
.service-card p {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 服务流程 ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #cfe6e0 12%, #cfe6e0 88%, transparent);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 22px;
  background: #fff;
  border: 1.5px solid #cfe6e0;
  box-shadow: var(--shadow-sm);
}
.step__kicker {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--accent-deep);
}
.step h3 { font-size: 18.5px; font-weight: 800; margin-top: 8px; }
.step p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 我们的承诺 ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 17px;
  background: linear-gradient(135deg, #eaf7f3, #d9f0ea);
  border: 1px solid #d3ece6;
}
.why-card h3 { font-size: 18.5px; font-weight: 800; margin-top: 20px; }
.why-card p {
  margin-top: 11px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}

.why-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  background: #fff;
  border: 1px dashed #bcd9d2;
  border-radius: 18px;
  padding: 18px 28px;
}
.why-note__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #33584f;
}
.why-note__pill svg { color: var(--primary); }
.why-note__arrow { color: var(--accent-deep); font-weight: 800; font-size: 17px; }

/* ---------- 专业团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: var(--radius-md);
  padding: 34px 24px 30px;
  text-align: center;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.avatar-xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #12a08c, #0a5f54);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(15, 143, 125, 0.3);
}
.team-card h3 { font-size: 18px; font-weight: 800; margin-top: 20px; }
.team-card > p {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}
.team-card .chips { margin-top: 18px; justify-content: center; }

/* ---------- 安全保障（深色） ---------- */
.section--dark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06332d 0%, #0a5f54 55%, #0d7a6b 100%);
  color: #eafff9;
}
.section--dark::before, .section--dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.section--dark::before {
  width: 460px; height: 460px;
  top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}
.section--dark::after {
  width: 380px; height: 380px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.14), transparent 70%);
}
.section--dark .container { position: relative; }

.section-head--light .section-title { color: #fff; }
.section-head--light .section-sub { color: rgba(234, 255, 249, 0.72); }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.safety-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.26s ease, background 0.26s ease, border-color 0.26s ease;
}
.safety-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.26);
}
.safety-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.safety-card h3 {
  color: #fff;
  font-size: 17.5px;
  font-weight: 800;
  margin-top: 18px;
}
.safety-card p {
  margin-top: 9px;
  font-size: 13.5px;
  color: rgba(234, 255, 249, 0.75);
  line-height: 1.8;
}

.safety-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  text-align: center;
  font-size: 14.5px;
  color: #fbdcc2;
}
.safety-note svg { flex: none; }

/* ---------- 用户心声 ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote-card {
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; }
.quote-card blockquote {
  margin-top: 16px;
  font-size: 14.5px;
  color: #3c544e;
  line-height: 2;
  flex: 1;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed #dcebe6;
}
.avatar-sm {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9f0ea, #bcd9d2);
  color: var(--primary-deep);
  font-size: 18px;
  font-weight: 800;
}
.quote-card figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.45; }
.quote-card figcaption strong { font-size: 15px; color: var(--ink); }
.quote-card figcaption em { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------- 常见问题 ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid #e4f0ec;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.faq-item[open] {
  border-color: rgba(15, 143, 125, 0.35);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 19px 60px 19px 26px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] .faq-q::after { transform: translateY(-30%) rotate(225deg); }
.faq-q:hover { color: var(--primary-deep); }
.faq-a {
  padding: 2px 26px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.95;
  border-top: 1px dashed #e4f0ec;
  padding-top: 14px;
}

/* ---------- 预约 CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0f8f7d 0%, #0a5f54 55%, #073f37 100%);
  padding: 96px 0;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000 0%, transparent 60%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.cta__info h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.35;
}
.cta__info > p {
  margin-top: 18px;
  color: rgba(234, 255, 249, 0.85);
  font-size: 15.5px;
  max-width: 440px;
}
.cta__list { margin-top: 34px; display: flex; flex-direction: column; gap: 18px; }
.cta__list li { display: flex; align-items: center; gap: 15px; }
.cta__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta__list span:last-child { display: flex; flex-direction: column; line-height: 1.45; }
.cta__list strong { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0.03em; }
.cta__list em { font-style: normal; font-size: 12.5px; color: rgba(234, 255, 249, 0.7); }

.cta__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.cta__promise span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #eafff9;
}

/* ---- 预约表单卡片 ---- */
.book-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 38px 36px;
}
.book-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field__label { font-size: 13.5px; font-weight: 700; color: #33544d; }
.field__label b { color: #e2570b; }
.field__input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d8e8e4;
  border-radius: 12px;
  background: #f8fcfb;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field__input::placeholder { color: #a3b5af; }
.field__input:hover { border-color: #bcd9d2; }
.field__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 143, 125, 0.14);
}
.field__input:user-invalid { border-color: #e2570b; background: #fff8f5; }
.field__textarea { resize: vertical; min-height: 88px; line-height: 1.7; }

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #93a8a1;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  background: #ecf9f2;
  border: 1px solid #b8e6cf;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 14px;
  color: #0b6b4f;
  line-height: 1.7;
}
.form-success svg { flex: none; margin-top: 2px; }
.form-success strong { color: #067a52; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #052925;
  color: #bfe3db;
  padding-top: 76px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text small { color: #8fb8b0; }
.footer-brand > p { margin-top: 20px; font-size: 14px; line-height: 2; color: #a7d4cb; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #cdeee5;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 14px;
  color: #b9ded6;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #b9ded6;
}
.footer-contact svg { flex: none; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 60px;
  padding: 24px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  color: #8fb8b0;
}
.footer-links { display: flex; gap: 12px; align-items: center; }
.footer-links a:hover { color: #fff; }

/* ---------- 浮动操作 ---------- */
.fab-phone {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  display: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #e2570b);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(233, 105, 30, 0.45);
}
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 55;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary-deep); color: #fff; border-color: var(--primary-deep); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.core-grid > *:nth-child(2) { --d: 0.1s; }
.core-grid > *:nth-child(3) { --d: 0.2s; }
.services-grid > *:nth-child(2) { --d: 0.06s; }
.services-grid > *:nth-child(3) { --d: 0.12s; }
.services-grid > *:nth-child(4) { --d: 0.18s; }
.services-grid > *:nth-child(5) { --d: 0.24s; }
.services-grid > *:nth-child(6) { --d: 0.3s; }
.services-grid > *:nth-child(7) { --d: 0.36s; }
.services-grid > *:nth-child(8) { --d: 0.42s; }
.timeline > *:nth-child(2) { --d: 0.1s; }
.timeline > *:nth-child(3) { --d: 0.2s; }
.timeline > *:nth-child(4) { --d: 0.3s; }
.why-grid > *:nth-child(2) { --d: 0.1s; }
.why-grid > *:nth-child(3) { --d: 0.2s; }
.team-grid > *:nth-child(2) { --d: 0.08s; }
.team-grid > *:nth-child(3) { --d: 0.16s; }
.team-grid > *:nth-child(4) { --d: 0.24s; }
.safety-grid > *:nth-child(2) { --d: 0.08s; }
.safety-grid > *:nth-child(3) { --d: 0.16s; }
.safety-grid > *:nth-child(4) { --d: 0.24s; }
.voices-grid > *:nth-child(2) { --d: 0.1s; }
.voices-grid > *:nth-child(3) { --d: 0.2s; }

/* ---------- 关键帧 ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}
@keyframes ecgMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -1; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 44px; }
  .grid-dots { display: none; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 52px; min-height: 380px; }
  .cta__inner { grid-template-columns: 1fr; gap: 48px; }
  .cta__info > p { max-width: none; }
  .core-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .timeline::before { display: none; }
  .why-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .header-actions .btn--sm { display: none; }
  .section { padding: 68px 0; }
  .hero { padding: 56px 0 72px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 8px; margin-top: 44px; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid #ecf4f1; }
  .fab-phone { display: flex; }
  .to-top { bottom: 86px; }
  .float-chip--top { top: -8px; right: 0; }
  .float-chip--bottom { bottom: -8px; left: 0; }
}

@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 36px); }
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .step { display: flex; align-items: flex-start; gap: 18px; text-align: left; padding: 0; }
  .step__badge { flex: none; width: 62px; height: 62px; }
  .step__kicker { margin-top: 4px; }
  .book-card { padding: 28px 22px; }
  .book-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero__cta .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .float-chip { padding: 10px 14px; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
