/* ============================================================
   青禾诊伴 · 企业官网 样式系统 v2.0
   定位：对外业务介绍型官网（无登录 / 无在线下单）
   设计：响应式单套页面（CSS 媒体查询，无独立移动站）
   品牌色：薄荷绿 #5BC89D / 深绿 #2E8B6E / 暖白 #FCFAF6
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --primary: #5BC89D;
  --primary-dark: #2E8B6E;
  --primary-deep: #1F6B52;
  --primary-light: #E8F5EF;
  --accent: #FF9F5A;
  --accent-dark: #E8833A;
  --bg: #FCFAF6;
  --bg-white: #FFFFFF;
  --text-main: #26312C;
  --text-sub: #5C6B64;
  --text-hint: #93A09A;
  --border: #E8E4DC;
  --footer-bg: #262833;
  --footer-text: #A8ADB8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(38, 49, 44, 0.06);
  --shadow-md: 0 6px 24px rgba(38, 49, 44, 0.08);
  --shadow-lg: 0 12px 40px rgba(31, 107, 82, 0.12);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }

/* 区块标题 */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title { font-size: 34px; font-weight: 700; color: var(--text-main); line-height: 1.3; }
.section-sub { font-size: 16px; color: var(--text-sub); margin-top: 12px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-primary { background: var(--primary-dark); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary-dark); }
.btn-outline:hover { background: var(--primary-light); }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.brand-name { font-size: 21px; font-weight: 700; color: var(--text-main); letter-spacing: 0.5px; }
.brand-name em { font-style: normal; color: var(--primary-dark); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: block;
  padding: 10px 18px;
  font-size: 15.5px;
  color: var(--text-sub);
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary-deep); background: var(--primary-light); }
.nav-links a.active { color: var(--primary-deep); background: var(--primary-light); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #EAF6F0 0%, var(--bg) 60%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 200, 157, 0.16) 0%, transparent 70%);
  top: -160px; right: -120px;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 88px;
  position: relative;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(46, 139, 110, 0.18);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; color: var(--text-main); letter-spacing: 1px; }
.hero h1 span { color: var(--primary-dark); }
.hero-subtitle { font-size: 17px; color: var(--text-sub); margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(46, 139, 110, 0.14);
  flex-wrap: wrap;
}
.hero-stat-value { font-size: 32px; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.hero-stat-value small { font-size: 18px; font-weight: 600; }
.hero-stat-label { font-size: 14px; color: var(--text-sub); margin-top: 4px; }

/* Hero 插画卡 */
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(46, 139, 110, 0.12);
}
.hero-art-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero-art-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.hero-art-name { font-weight: 700; font-size: 16px; }
.hero-art-role { font-size: 13px; color: var(--text-hint); margin-top: 2px; }
.hero-art-caption { font-size: 12px; color: var(--text-hint); margin-bottom: 10px; }
.hero-art-caption em { font-style: normal; opacity: 0.75; }
.hero-art-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-art-tags span {
  font-size: 12.5px;
  background: var(--primary-light);
  color: var(--primary-deep);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.hero-art-tags span em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  margin-left: 7px;
  padding-left: 8px;
  border-left: 1px solid rgba(46, 139, 110, 0.3);
  color: var(--primary-dark);
}
/* 服务城市标签：绿=两地通用 蓝=北京 橙=呼和浩特 */
.city-chip {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.city-chip.cc-both { background: #E6F4EC; color: #2E8B6E; border: 1px solid rgba(46, 139, 110, 0.28); }
.city-chip.cc-bj { background: #EBF2FA; color: #3A6EA5; border: 1px solid rgba(58, 110, 165, 0.28); }
.city-chip.cc-hs { background: #FBF1E4; color: #B9792E; border: 1px solid rgba(185, 121, 46, 0.3); }
@media (max-width: 768px) {
  .city-chip { font-size: 10px; padding: 3px 7px; margin-left: 6px; }
}
.hero-art-body { border-top: 1px dashed var(--border); padding-top: 20px; }
.hero-art-ecg { margin: 6px 0 20px; }
.hero-art-note { font-size: 13.5px; color: var(--text-sub); background: var(--bg); border-radius: 10px; padding: 12px 16px; }

/* 浮动小卡 */
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(46, 139, 110, 0.1);
  animation: floaty 4s ease-in-out infinite;
}
.hero-float.f1 { top: 6%; right: 0; }
.hero-float.f2 { bottom: 10%; left: -2%; animation-delay: 1.6s; }
.hero-float-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.hero-float-text b { display: block; font-size: 14.5px; color: var(--text-main); }
.hero-float-text span { font-size: 12.5px; color: var(--text-hint); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 服务概览（首页服务宫格） ----------
   用 flex 居中式栅格：每行固定 4/3/2 张，末行不满时自动居中，
   避免 grid 布局下末行靠左、右侧留空档的割裂感 */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.services-grid > .service-card {
  flex: 0 1 calc((100% - 60px) / 4);
  max-width: calc((100% - 60px) / 4);
}
/* 主推服务卡：主色描边 + 淡绿底 + 角标 */
.service-card.is-featured {
  border-color: rgba(46, 139, 110, 0.42);
  background: linear-gradient(180deg, #F4FBF7 0%, #FFFFFF 58%);
  box-shadow: 0 10px 26px rgba(46, 139, 110, 0.10);
}
.service-card.is-featured:hover { border-color: rgba(46, 139, 110, 0.7); }
.svc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #5BC89D, #2E8B6E);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}
/* 服务副标（如「就医头等舱 · 专车全流程」） */
.service-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep, #2E8B6E);
  margin-top: 7px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(46, 139, 110, 0.25); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.service-icon.green { background: linear-gradient(135deg, #6FD6AB, var(--primary-dark)); }
.service-icon.blue { background: linear-gradient(135deg, #6FB8D6, #3A8FB5); }
.service-icon.orange { background: linear-gradient(135deg, #FFB37E, var(--accent-dark)); }
.service-icon.purple { background: linear-gradient(135deg, #B197FC, #7F6AE0); }
.service-icon.pink { background: linear-gradient(135deg, #F4A2B8, #D97A95); }
.service-icon.yellow { background: linear-gradient(135deg, #FAD373, #E5B23C); }
.service-icon.teal { background: linear-gradient(135deg, #4CC9C0, #2A9D94); }
.service-icon.red { background: linear-gradient(135deg, #F08A7A, #DE6A55); }
.service-name { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.service-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.5; }

/* ---------- 服务流程（5 步） ---------- */
.flow-wrap { background: #fff; border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.flow-step { text-align: center; position: relative; padding: 0 8px; }
.flow-step::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  border-top: 2px dashed #CFE8DC;
  z-index: 0;
}
.flow-step:last-child::before { display: none; }
.flow-num {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary);
  position: relative;
  z-index: 1;
  background: #fff;
  transition: all 0.3s ease;
}
.flow-step:hover .flow-num { background: var(--primary-dark); color: #fff; }
.flow-title { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.flow-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.6; }

/* ---------- 驻点医院（首页精选） ---------- */
.hospitals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hospital-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s ease;
}
.hospital-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(46, 139, 110, 0.25); }
a.hospital-card { display: block; text-decoration: none; color: inherit; }
.hospital-name { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.hospital-badge {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--primary-dark);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.hospital-meta { font-size: 13.5px; color: var(--text-sub); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.hospital-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  font-size: 12.5px;
  color: var(--primary-deep);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}

/* ---------- 核心优势 ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* 三卡区块（权益卡）：固定 3 列并整体居中，避免套 4 列栅格时右侧空一格、视觉偏左 */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.trust-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: all 0.25s ease;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.trust-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.trust-icon.green { background: linear-gradient(135deg, #6FD6AB, var(--primary-dark)); }
.trust-icon.blue { background: linear-gradient(135deg, #6FB8D6, #3A8FB5); }
.trust-icon.orange { background: linear-gradient(135deg, #FFB37E, var(--accent-dark)); }
.trust-icon.purple { background: linear-gradient(135deg, #B197FC, #7F6AE0); }
.trust-title { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.trust-desc { font-size: 14px; color: var(--text-sub); line-height: 1.6; }

/* ---------- 客服 CTA 横幅 ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--primary-deep) 0%, var(--primary-dark) 55%, var(--primary) 130%);
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  color: #fff;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: 40px; bottom: -100px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-qr {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 10px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.cta-qr img { display: block; border-radius: 8px; }
.cta-qr-label { font-size: 12.5px; color: var(--primary-dark); font-weight: 600; margin-top: 8px; letter-spacing: 0.5px; }
.cta-text { flex: 1; min-width: 260px; }
.cta-title { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.cta-sub { font-size: 15.5px; opacity: 0.88; }
.cta-note { font-size: 13px; opacity: 0.72; margin-top: 10px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn-white-ghost:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  background: linear-gradient(160deg, #EAF6F0 0%, var(--bg) 65%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 200, 157, 0.14) 0%, transparent 70%);
  top: -140px; right: -80px;
}
.breadcrumb { font-size: 14px; color: var(--text-hint); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-hint); }
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb strong { color: var(--text-main); }
.page-hero h1 { font-size: 38px; font-weight: 800; color: var(--text-main); line-height: 1.3; }
.page-hero .page-sub { font-size: 16.5px; color: var(--text-sub); margin-top: 14px; max-width: 640px; }
.page-hero-tags { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.page-hero-tags span {
  font-size: 13px;
  background: #fff;
  color: var(--primary-deep);
  border: 1px solid rgba(46, 139, 110, 0.22);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 500;
}

/* ---------- 服务介绍页 ---------- */
/* 锚点导航 */
.svc-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.svc-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav-inner a {
  flex-shrink: 0;
  font-size: 14.5px;
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.svc-nav-inner a:hover { color: var(--primary-deep); background: var(--primary-light); }
/* 主推服务（代问诊 / 高端陪诊）：常驻浅绿底，与首页主推卡呼应 */
.svc-nav-inner a.nav-hot { color: var(--primary-deep); font-weight: 700; background: var(--primary-light); }
.svc-nav-inner a.active { color: #fff; background: var(--primary-dark); font-weight: 600; }

/* 服务详情块 */
.svc-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 32px;
  scroll-margin-top: 160px;
  box-shadow: var(--shadow-sm);
}
.svc-block-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.svc-block-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.svc-block-icon.green { background: linear-gradient(135deg, #6FD6AB, var(--primary-dark)); }
.svc-block-icon.blue { background: linear-gradient(135deg, #6FB8D6, #3A8FB5); }
.svc-block-icon.orange { background: linear-gradient(135deg, #FFB37E, var(--accent-dark)); }
.svc-block-icon.purple { background: linear-gradient(135deg, #B197FC, #7F6AE0); }
.svc-block-icon.pink { background: linear-gradient(135deg, #F4A2B8, #D97A95); }
.svc-block-icon.yellow { background: linear-gradient(135deg, #FAD373, #E5B23C); }
.svc-block-icon.teal { background: linear-gradient(135deg, #4CC9C0, #2A9D94); }
.svc-block-icon.red { background: linear-gradient(135deg, #F08A7A, #DE6A55); }
.svc-block-title { font-size: 24px; font-weight: 700; color: var(--text-main); }
.svc-block-desc { font-size: 15px; color: var(--text-sub); margin-top: 4px; }

.svc-intro { font-size: 15.5px; color: var(--text-main); line-height: 1.9; margin-bottom: 24px; }

.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.svc-col-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--primary-deep); margin-bottom: 14px; }
.svc-col-title svg { flex-shrink: 0; }
.svc-people { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-people span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-main);
}

/* 每项服务的流程 */
.svc-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.svc-flow-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  position: relative;
}
.svc-flow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 16px;
  border-top: 2px solid #CFE8DC;
}
.svc-flow-step:last-child::after { display: none; }
.svc-flow-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.svc-flow-title { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.svc-flow-desc { font-size: 13px; color: var(--text-sub); line-height: 1.55; }

/* 服务案例 */
.svc-cases { margin-top: 32px; }
.svc-case-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}
.svc-case-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}
.svc-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-case {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-case:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc-case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-case-tags span {
  font-size: 12px;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(46, 139, 110, 0.15);
  border-radius: 999px;
  padding: 3px 10px;
}
.svc-case-name { font-size: 15px; font-weight: 700; color: var(--text-main); }
.svc-case-desc { font-size: 13.5px; color: var(--text-sub); line-height: 1.7; margin: 0; }
.svc-case-flow { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-case-flow span {
  font-size: 12px;
  color: var(--text-main);
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 10px;
  line-height: 1.4;
}
.svc-case-quote {
  font-size: 13.5px;
  color: var(--text-main);
  background: var(--bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  line-height: 1.65;
  margin-top: auto;
}
.svc-note-legal {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--text-hint);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.6;
}
.svc-note-legal svg { flex-shrink: 0; margin-top: 2px; }

/* 询价引导条 */
.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--primary-light);
  border: 1px solid rgba(46, 139, 110, 0.2);
  border-radius: var(--radius);
  padding: 18px 24px;
  flex-wrap: wrap;
}
.price-note-text { font-size: 14.5px; color: var(--primary-deep); display: flex; align-items: center; gap: 8px; }
.price-note-text svg { flex-shrink: 0; }

/* ---------- 驻点医院页 ---------- */
.city-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }
.city-tab {
  padding: 12px 36px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.25s ease;
}
.city-tab:hover { border-color: var(--primary); color: var(--primary-dark); }
.city-tab.active { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.city-tab .city-count { font-size: 13px; font-weight: 500; opacity: 0.8; margin-left: 4px; }

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14px;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.filter-chip.active { background: var(--primary-light); border-color: var(--primary-dark); color: var(--primary-deep); font-weight: 600; }
.filter-search { position: relative; }
.filter-search input {
  width: 260px;
  padding: 11px 18px 11px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14.5px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}
.filter-search input:focus { border-color: var(--primary); }
.filter-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-hint); }

.hosp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hosp-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.hosp-item:hover { box-shadow: var(--shadow-md); border-color: rgba(46, 139, 110, 0.25); transform: translateY(-2px); }
.hosp-item-main { flex: 1; min-width: 0; }
.hosp-item-name { font-size: 16.5px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hosp-item-meta { font-size: 13.5px; color: var(--text-sub); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.hosp-item-meta .dot { color: var(--border); }
.hosp-item-addr { font-size: 13px; color: var(--text-hint); margin-bottom: 10px; }
.hosp-item-right { text-align: right; flex-shrink: 0; }
.hosp-star { font-size: 13.5px; color: #E5A93C; font-weight: 700; }
.hosp-dist { font-size: 12.5px; color: var(--text-hint); margin-top: 4px; }

.hosp-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-hint);
  font-size: 15px;
}
.hosp-note {
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-hint);
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 医院列表卡片（可点击） ---------- */
a.hosp-item { text-decoration: none; color: inherit; }
.hosp-item-feature { font-size: 13px; color: var(--primary-dark); font-weight: 600; margin-top: 6px; }
.hosp-detail-link {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.2s ease;
}
.hosp-item:hover .hosp-detail-link { gap: 7px; }

/* ---------- 医院详情页 ---------- */
.hd-loading { padding: 20px 0; }
.hd-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
}
.hd-card-main { flex: 1; min-width: 0; }
.hd-card-name { font-size: 24px; font-weight: 800; color: var(--text-main); margin-bottom: 12px; }
.hd-card-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.hd-city-badge {
  display: inline-block;
  background: rgba(91, 200, 157, 0.14);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.hd-card-intro { font-size: 15px; line-height: 1.85; color: var(--text-sub); margin-bottom: 18px; }
.hd-card-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.hd-meta-item { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--text-hint); }
.hd-card-side { flex-shrink: 0; text-align: center; padding: 18px 22px; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius); align-self: flex-start; }
.hd-star { font-size: 26px; color: #E5A93C; font-weight: 800; }
.hd-dist-label { font-size: 12px; color: var(--text-hint); margin-top: 8px; }
.hd-dist-val { font-size: 14.5px; color: var(--primary-dark); font-weight: 700; margin-top: 3px; }

.hd-block { margin-top: 48px; }
.section-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.section-h h2 { font-size: 22px; font-weight: 800; color: var(--text-main); margin: 0; }
.section-h.bar { border-left: 4px solid var(--primary); padding-left: 14px; }
.section-h .section-sub { font-size: 13.5px; color: var(--text-hint); margin: 0; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all 0.2s ease;
}
.spec-card:hover { box-shadow: var(--shadow-md); border-color: rgba(46, 139, 110, 0.25); transform: translateY(-2px); }
.spec-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.spec-card-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(91, 200, 157, 0.12);
  color: var(--primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.spec-card-title { font-size: 16px; font-weight: 700; color: var(--text-main); }
.spec-card-tag {
  font-size: 11.5px;
  color: var(--primary-dark);
  background: rgba(91, 200, 157, 0.12);
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 600;
}
.spec-card-desc { font-size: 13.5px; line-height: 1.75; color: var(--text-sub); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all 0.2s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); border-color: rgba(46, 139, 110, 0.25); transform: translateY(-2px); }
.team-card-name { font-size: 15.5px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.team-card-name::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}
.team-card-fields { display: flex; flex-wrap: wrap; gap: 8px; }

.hd-svc-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hd-svc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-white);
  border: 1px solid rgba(46, 139, 110, 0.3);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 24px;
}
.hd-svc-pill::before { content: '✓'; color: var(--primary); font-weight: 800; }
.hd-svc-note {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-hint);
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hd-svc-note svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- 关于我们页 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.25s ease;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.about-card-icon.green { background: linear-gradient(135deg, #6FD6AB, var(--primary-dark)); }
.about-card-icon.blue { background: linear-gradient(135deg, #6FB8D6, #3A8FB5); }
.about-card-icon.orange { background: linear-gradient(135deg, #FFB37E, var(--accent-dark)); }
.about-card-title { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.about-card-desc { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ---------- 合规页 / 通用正文 ---------- */
.legal-page { padding: 56px 0 88px; }
.legal-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 880px;
  margin: 0 auto;
}
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.legal-section h3 { font-size: 17px; font-weight: 700; color: var(--text-main); margin: 20px 0 10px; }
.legal-section p { font-size: 15px; color: var(--text-sub); line-height: 1.9; margin-bottom: 12px; }
.legal-section ul, .legal-section ol { padding-left: 22px; margin-bottom: 12px; }
.legal-section ul li, .legal-section ol li { font-size: 15px; color: var(--text-sub); line-height: 1.9; list-style: disc; }
.legal-section ol li { list-style: decimal; }
.legal-note { font-size: 13.5px; color: var(--text-hint); background: var(--bg); border-radius: 8px; padding: 12px 16px; }

.info-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.info-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--text-sub); line-height: 1.7; vertical-align: top; }
.info-table td.info-label { width: 160px; font-weight: 600; color: var(--text-main); background: var(--bg); }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 64px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand-block .brand { margin-bottom: 18px; }
.footer-brand-block .brand-logo { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.footer-brand-block .brand-name { color: #fff; }
.footer-desc { font-size: 14.5px; line-height: 1.8; margin-bottom: 20px; }
.footer-email { font-size: 14px; margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.footer-company-name { font-size: 13px; opacity: 0.7; margin-top: 8px; }

.footer-col h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14.5px; color: var(--footer-text); transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--primary); }

.footer-kf-title { font-size: 14px; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-kf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.footer-kf-btn:hover { background: var(--primary); transform: translateY(-2px); }
.footer-kf-tip { font-size: 12.5px; opacity: 0.65; margin-top: 10px; }

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.footer-icp a { color: var(--footer-text); }
.footer-icp a:hover { color: var(--primary); }

/* ---------- 浮动客服按钮 ---------- */
.kf-float {
  position: fixed;
  right: 28px;
  bottom: 32px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
  cursor: pointer;
}
.kf-float:hover { background: var(--primary-deep); transform: translateY(-3px); }
.kf-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(46, 139, 110, 0.45);
  animation: kfPulse 2.4s ease-out infinite;
}
@keyframes kfPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 139, 110, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(46, 139, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 139, 110, 0); }
}

/* ---------- 小程序浮窗 & 弹窗 ---------- */
.mp-float {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 199;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-deep);
  padding: 13px 20px;
  border: 1.5px solid rgba(46, 139, 110, 0.35);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: all 0.25s ease;
  cursor: pointer;
  font-family: inherit;
}
.mp-float:hover { background: #f3faf7; transform: translateY(-3px); }
.mp-modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(15, 32, 24, 0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mp-modal-mask.open { display: flex; }
.mp-modal {
  background: #fff;
  border-radius: 20px;
  padding: 30px 26px 26px;
  max-width: 320px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}
.mp-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: #9ab0a5;
  cursor: pointer;
  padding: 6px;
}
.mp-modal-close:hover { color: var(--primary-deep); }
.mp-modal-title { font-size: 19px; font-weight: 700; color: var(--text-main, #223); }
.mp-modal-sub { font-size: 13.5px; color: #6b7f74; margin-top: 6px; }
.mp-qr {
  width: 208px;
  height: 208px;
  margin: 18px auto 4px;
  display: block;
  border: 1px solid var(--border, #eee);
  border-radius: 12px;
  object-fit: contain;
}
.mp-qr-fallback {
  width: 208px;
  height: 208px;
  margin: 18px auto 4px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1.5px dashed rgba(46, 139, 110, 0.4);
  border-radius: 12px;
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 15px;
  background: #f6fbf8;
}
.mp-modal-tip { font-size: 12.5px; color: #8a9c92; margin-top: 10px; }
/* 未上线过渡态：不含小程序码，引导微信客服 */
.mp-soon {
  margin: 20px 0 4px;
  background: var(--primary-light, #EAF7F1);
  border: 1px dashed rgba(46, 139, 110, 0.35);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
}
.mp-soon-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #6FD6AB, #2E8B6E);
  padding: 5px 14px;
  border-radius: 999px;
}
.mp-soon-text { font-size: 13px; line-height: 1.7; color: #4d6157; margin-top: 12px; text-align: left; }
.mp-cta-btn {
  display: block;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6FD6AB, #2E8B6E);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(46, 139, 110, 0.25);
}
.mp-cta-btn:hover { filter: brightness(1.05); }


/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .services-grid > .service-card { flex: 0 1 calc((100% - 40px) / 3); max-width: calc((100% - 40px) / 3); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .flow-step::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .svc-flow-step::after { display: none; }
  .hospitals-grid { grid-template-columns: repeat(2, 1fr); }
  .hosp-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero h1 { font-size: 38px; }
  .cta-banner { padding: 44px 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 27px; }
  .section-head { margin-bottom: 40px; }
  .container { padding: 0 18px; }
  .benefit-grid { grid-template-columns: 1fr; }

  /* 导航折叠 */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 18px 20px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 13px 16px; font-size: 16px; border-radius: 10px; }
  .nav-actions .btn { padding: 10px 20px; font-size: 14px; }

  .hero h1 { font-size: 31px; }
  .hero-subtitle { font-size: 15.5px; }
  .hero-stats { gap: 24px; }
  .hero-stat-value { font-size: 26px; }
  .hero-float { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card { padding: 22px 16px; }
  .service-icon { width: 50px; height: 50px; border-radius: 13px; }
  .service-name { font-size: 15.5px; }
  .service-desc { font-size: 12.5px; }

  .flow-wrap { padding: 32px 20px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }

  .hospitals-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-card { padding: 24px 18px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-qr { align-self: center; }
  .cta-text { text-align: left; }
  .cta-title { font-size: 22px; }

  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 29px; }

  .svc-block { padding: 28px 20px; }
  .svc-block-head { gap: 12px; }
  .svc-block-title { font-size: 20px; }
  .svc-cols { grid-template-columns: 1fr; gap: 20px; }
  .svc-flow { grid-template-columns: 1fr 1fr; }
  .svc-case-grid { grid-template-columns: 1fr; }
  .svc-case { padding: 20px; }
  .price-note { padding: 16px 18px; }

  .city-tabs { gap: 8px; }
  .city-tab { padding: 10px 20px; font-size: 14.5px; }
  .filter-search input { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-search { width: 100%; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-copyright { flex-direction: column; align-items: flex-start; gap: 8px; }
  .legal-content { padding: 28px 20px; }
  .info-table td.info-label { width: 110px; }
  .kf-float { right: 16px; bottom: 20px; padding: 12px 18px; }
  .mp-float { right: 16px; bottom: 84px; padding: 11px 16px; font-size: 13.5px; }
  .about-grid { grid-template-columns: 1fr; }

  /* 医院详情页 */
  .hd-card { flex-direction: column; padding: 26px 22px; gap: 20px; }
  .hd-card-side { align-self: stretch; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
  .hd-star { font-size: 22px; }
  .hd-card-name { font-size: 20px; }
  .spec-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hd-block { margin-top: 36px; }
  .section-h h2 { font-size: 19px; }
}

@media (max-width: 420px) {
  .services-grid > .service-card { flex: 0 1 calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
  .svc-flow { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
}
