/* ============================================================
   恩大护理院 · 企业官网
   共享样式表 / Shared Stylesheet
   ============================================================ */

/* ---------- 1. 设计令牌 Design Tokens ---------- */
:root {
  /* 主色：沉稳的护理蓝，传递专业与信赖 */
  --brand-900: #0d3b52;
  --brand-800: #10475f;
  --brand-700: #14567a;
  --brand-600: #1a6da0;
  --brand-500: #2484c0;
  --brand-300: #7fb8d9;
  --brand-100: #e2f0f8;
  --brand-50:  #f2f9fc;

  /* 辅助色：温暖的珊瑚金，传递人文关怀 */
  --warm-700: #b45309;
  --warm-600: #d97706;
  --warm-500: #f59e0b;
  --warm-100: #fef3c7;
  --warm-50:  #fffbeb;

  /* 中性色 */
  --ink-900: #16232c;
  --ink-800: #22323d;
  --ink-700: #3a4a56;
  --ink-600: #52646f;
  --ink-500: #6b7c87;
  --ink-400: #96a4ad;
  --ink-300: #c3ccd2;
  --ink-200: #e0e6e9;
  --ink-100: #eef2f4;
  --ink-50:  #f7f9fa;
  --white:   #ffffff;

  /* 语义色 */
  --success: #10a37f;
  --danger:  #d9534f;

  /* 排版 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Source Han Sans SC", "Noto Sans SC", -apple-system,
               BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(22, 35, 44, .06);
  --sh-sm: 0 2px 8px rgba(22, 35, 44, .07);
  --sh-md: 0 8px 24px rgba(22, 35, 44, .09);
  --sh-lg: 0 16px 48px rgba(22, 35, 44, .13);
  --sh-brand: 0 10px 30px rgba(26, 109, 160, .22);

  /* 布局 */
  --container: 1200px;
  --container-narrow: 860px;
  --header-h: 76px;

  /* 动效 */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .18s var(--ease);
  --t-base: .3s var(--ease);
  --t-slow: .6s var(--ease);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-800); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

::selection { background: var(--brand-100); color: var(--brand-900); }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--tight { padding: clamp(48px, 5.5vw, 76px) 0; }
.section--alt { background: var(--ink-50); }
.section--brand { background: var(--brand-50); }
.section--dark {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: rgba(255,255,255,.86);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a { color: var(--brand-300); }
.section--dark a:hover { color: var(--white); }

/* ---------- 4. 区块标题 ---------- */
.sec-head {
  max-width: 700px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.sec-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--warm-500);
  border-radius: 2px;
}
.sec-head--center .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--brand-300); }

.sec-head p {
  font-size: 1.0625rem;
  color: var(--ink-600);
  margin: 0;
}
.section--dark .sec-head p { color: rgba(255,255,255,.75); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-full);
  font-size: .9688rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-base),
              background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-700);
  color: var(--white);
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { background: var(--brand-800); color: var(--white); box-shadow: 0 14px 34px rgba(26,109,160,.3); }

.btn--accent {
  background: var(--warm-500);
  color: #4a2c04;
  box-shadow: 0 10px 26px rgba(245,158,11,.32);
}
.btn--accent:hover { background: var(--warm-600); color: #3a2203; }

.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--ink-200);
}
.btn--ghost:hover { border-color: var(--brand-500); background: var(--brand-50); }

.btn--light {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.32);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: var(--white); color: var(--brand-800); }

.btn--sm { padding: 10px 22px; font-size: .9063rem; }
.btn--lg { padding: 17px 38px; font-size: 1.0313rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.sec-head--center .btn-row { justify-content: center; }

/* ---------- 6. 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
  transition: box-shadow var(--t-base), background-color var(--t-base);
}
.header.is-scrolled { box-shadow: var(--sh-sm); background: rgba(255,255,255,.96); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--ink-900);
}
.logo:hover { color: var(--brand-700); }
/* 院徽图片（由客户提供 logo 处理为圆形透明 PNG） */
.logo__img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 1rem; font-weight: 800; letter-spacing: .005em; }
.logo__sub {
  font-size: .625rem;
  color: var(--ink-500);
  /* 官方英文名较长且有特定大小写：不收字距、不转大写、不换行 */
  letter-spacing: .01em;
  text-transform: none;
  font-weight: 600;
  white-space: nowrap;
}

/* 主导航 */
.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: block;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: .9688rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 3px;
  height: 2px;
  background: var(--warm-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand-700); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { flex-shrink: 0; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  position: relative;
  flex-shrink: 0;
  transition: background-color var(--t-fast);
}
.nav-toggle:hover { background: var(--ink-50); }
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* 主内容上边距（固定头部） */
main { padding-top: var(--header-h); }

/* ---------- 7. 页面头图 Page Hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0 clamp(52px, 6vw, 76px);
  background: linear-gradient(150deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-600) 100%);
  color: rgba(255,255,255,.85);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.16), transparent 68%);
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute;
  bottom: -240px; left: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
/* text-wrap: balance 让长标题换行更均匀
   （机构全称「恩大护理院（南阳）有限公司」有 16 字，760px 限宽下会断出「…有限公/司」这种难看的尾行） */
.page-hero h1 { color: var(--white); margin-bottom: .4em; text-wrap: balance; }
.page-hero p { font-size: clamp(1rem, 1.4vw, 1.125rem); color: rgba(255,255,255,.78); margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: var(--warm-500); font-weight: 600; }

/* ---------- 8. 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: center;
  background: linear-gradient(148deg, #0b3247 0%, var(--brand-800) 45%, var(--brand-600) 100%);
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) 0;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero__orb--1 {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(245,158,11,.20), transparent 66%);
}
.hero__orb--2 {
  width: 520px; height: 520px;
  bottom: -260px; left: -140px;
  background: radial-gradient(circle, rgba(36,132,192,.34), transparent 68%);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 40%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 17px 7px 11px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.94);
  font-size: .8438rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warm-500);
  box-shadow: 0 0 0 4px rgba(245,158,11,.24);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.125rem, 4.6vw, 3.5rem);
  line-height: 1.18;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--warm-500);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .34em;
  background: rgba(245,158,11,.2);
  border-radius: 3px;
  z-index: -1;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat-num {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero__stat-num sup { font-size: .5em; color: var(--warm-500); font-weight: 700; }
.hero__stat-label { font-size: .8438rem; color: rgba(255,255,255,.62); margin-top: 4px; }

/* Hero 右侧卡片组 */
.hero__cards {
  display: grid;
  gap: 16px;
}
.hero-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  transition: transform var(--t-base), background-color var(--t-base), border-color var(--t-base);
  color: rgba(255,255,255,.85);
}
.hero-card:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,.13);
  border-color: rgba(245,158,11,.5);
  color: var(--white);
}
.hero-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(245,158,11,.18);
  color: var(--warm-500);
  flex-shrink: 0;
}
.hero-card__icon svg { width: 22px; height: 22px; }
.hero-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 3px;
}
.hero-card p { font-size: .875rem; margin: 0; color: rgba(255,255,255,.68); }

/* ---------- 9. 卡片 / 网格 ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.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 {
  position: relative;
  padding: clamp(26px, 2.8vw, 36px);
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--brand-100);
}

.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: 20px;
  transition: background-color var(--t-base), color var(--t-base), transform var(--t-base);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  background: var(--brand-700);
  color: var(--white);
  transform: scale(1.06) rotate(-3deg);
}
.card--accent .card__icon { background: var(--warm-50); color: var(--warm-700); }
.card--accent:hover .card__icon { background: var(--warm-500); color: #402301; }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-600); font-size: .9375rem; margin-bottom: 0; }

.card__list { list-style: none; padding: 0; margin: 16px 0 0; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9063rem;
  color: var(--ink-600);
  margin-bottom: 8px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-300);
}

/* 带编号的服务卡 */
.card--num { padding-top: clamp(30px, 3.2vw, 40px); }
.card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink-100);
  line-height: 1;
  letter-spacing: -.04em;
  transition: color var(--t-base);
}
.card:hover .card__num { color: var(--brand-100); }

/* ---------- 10. 特色分栏 Feature Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--brand-800), var(--brand-600));
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-lg);
}
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.split__media-inner {
  position: relative; z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 32px;
}
.split__media-inner svg { width: 78px; height: 78px; margin: 0 auto 16px; opacity: .95; }
.split__media-inner img { width: 104px; height: 104px; margin: 0 auto 18px; display: block; }
.split__media-inner strong { display: block; font-size: 1.25rem; margin-bottom: 6px; }
.split__media-inner span { font-size: .9063rem; color: rgba(255,255,255,.68); }

.split__body h2 { margin-bottom: 18px; }
.split__body > p { font-size: 1.0313rem; color: var(--ink-600); }

/* 要点列表 */
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9688rem;
  color: var(--ink-700);
  margin: 0;
}
.checklist svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--success);
}
.checklist strong { color: var(--ink-900); display: block; }

/* ---------- 11. 数据统计条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
  text-align: center;
}
/* 5 项数据条（关于我们页：床位/临床科室/医技科室/收住对象/分级照护） */
.stats--5 { grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: clamp(24px, 3vw, 34px) 16px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  transition: background-color var(--t-base), transform var(--t-base);
}
.stat:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.stat__num {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.stat__num sup { font-size: .45em; color: var(--warm-500); margin-left: 2px; vertical-align: super; }
.stat__label { font-size: .875rem; color: rgba(255,255,255,.68); margin-top: 10px; }

/* ---------- 12. 时间轴 Timeline ---------- */
.timeline { position: relative; padding-left: 34px; margin: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand-300), var(--brand-100));
  border-radius: 2px;
}
.timeline li {
  position: relative;
  padding-bottom: 34px;
  margin: 0;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.timeline__year {
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--brand-600);
  text-transform: uppercase;
}
.timeline h3 { font-size: 1.0625rem; margin: 6px 0 6px; }
.timeline p { font-size: .9375rem; color: var(--ink-600); margin: 0; }

/* ---------- 13. 团队卡片 ---------- */
.person {
  text-align: center;
  padding: clamp(26px, 3vw, 34px) 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-base), box-shadow var(--t-base);
  height: 100%;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.person__avatar {
  width: 92px; height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-600), var(--brand-800));
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 8px 20px rgba(20,86,122,.24);
}
.person h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.person__role {
  font-size: .8438rem;
  font-weight: 700;
  color: var(--brand-600);
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.person p { font-size: .9063rem; color: var(--ink-600); margin: 0; }

/* ---------- 14. 资质证书 ---------- */
.cert {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-left: 3px solid var(--warm-500);
  border-radius: var(--r-md);
  transition: transform var(--t-fast), box-shadow var(--t-base);
  height: 100%;
}
.cert:hover { transform: translateX(4px); box-shadow: var(--sh-sm); }
.cert__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--warm-50);
  color: var(--warm-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cert__icon svg { width: 20px; height: 20px; }
.cert h3 { font-size: 1rem; margin-bottom: 4px; }
.cert p { font-size: .875rem; color: var(--ink-600); margin: 0; }

/* ---------- 15. 服务项目表 ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.price-table thead th {
  background: var(--brand-800);
  color: var(--white);
  font-size: .9063rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--brand-50); }
.price-table td:first-child { font-weight: 700; color: var(--ink-900); }
.price-table .price { color: var(--warm-700); font-weight: 800; white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }

.note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--warm-50);
  border-radius: var(--r-md);
  font-size: .875rem;
  color: var(--ink-600);
  border: 1px solid var(--warm-100);
}

/* ---------- 16. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 26px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 56px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--brand-100);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 1rem;
  z-index: 1;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px; left: 56px; right: -13px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-300) 0 7px, transparent 7px 14px);
}
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: .9063rem; color: var(--ink-600); margin: 0; }

/* ---------- 17. CTA 横幅 ---------- */
.cta-band {
  position: relative;
  padding: clamp(52px, 6.5vw, 84px) 0;
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700) 60%, var(--brand-500));
  overflow: hidden;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 340px;
  background: radial-gradient(ellipse, rgba(245,158,11,.16), transparent 68%);
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.78); font-size: 1.0625rem; margin-bottom: 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 18. 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-base);
}
.contact-item:hover { transform: translateY(-3px); border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item h3 { font-size: .9688rem; margin-bottom: 5px; }
.contact-item p { font-size: .9375rem; color: var(--ink-600); margin: 0; line-height: 1.6; }
.contact-item a { font-weight: 600; }
.contact-item .strong-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-700);
  letter-spacing: .01em;
  display: block;
  margin-bottom: 2px;
}

/* 公众号二维码卡片 */
.qr-card {
  padding: clamp(26px, 3.2vw, 40px);
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.qr-card h2 { font-size: 1.375rem; margin-bottom: 8px; }
.qr-card > p { font-size: .9063rem; color: var(--ink-500); margin-bottom: 26px; }

/* 双二维码并排（桌面端两列，窄屏由媒体查询改为堆叠） */
.qr-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.qr-item {
  text-align: center;
  padding: 20px 14px 18px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-md);
}
.qr-item__frame {
  display: inline-block;
  padding: 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--sh-sm);
}
.qr-item__frame img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
}
.qr-item h3 {
  font-size: .9688rem;
  margin: 14px 0 4px;
  color: var(--brand-700);
}
.qr-item p {
  font-size: .8125rem;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.55;
}

.qr-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-700);
}
.qr-tip svg { width: 15px; height: 15px; flex-shrink: 0; }

.qr-alt {
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
}
.qr-alt h3 { font-size: .9688rem; margin-bottom: 6px; }
.qr-alt p { font-size: .9063rem; color: var(--ink-600); margin: 0; line-height: 1.6; }

/* 地图占位 */
.map-box {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-50), var(--ink-100));
  border: 1px solid var(--ink-100);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}
.map-box__pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,86,122,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,86,122,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-box__content { position: relative; z-index: 1; }
.map-box__pin {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  animation: pinPulse 2.6s ease-in-out infinite;
}
.map-box__pin svg { width: 27px; height: 27px; }
@keyframes pinPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 24px rgba(22,35,44,.16); }
  50%      { transform: translateY(-7px); box-shadow: 0 16px 32px rgba(22,35,44,.2); }
}
.map-box h3 { margin-bottom: 6px; }
.map-box p { font-size: .9063rem; color: var(--ink-600); margin: 0; }

/* ============================================================
   院区风采 · 照片与视频展示 Gallery
   （响应式规则就近放在本节末尾，便于维护时一处改完）
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 18px;
}
.gallery__item { display: flex; }

.gallery__btn {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-fast);
}
.gallery__btn:hover {
  transform: translateY(-4px);
  border-color: var(--brand-100);
  box-shadow: var(--sh-md);
}
.gallery__btn:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; }

.gallery__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--ink-100);
  overflow: hidden;
}
.gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.gallery__btn:hover .gallery__img { transform: scale(1.04); }

/* 视频播放角标 */
.gallery__badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 12px rgba(10,39,53,.22);
  transition: transform var(--t-fast);
}
.gallery__badge svg { width: 22px; height: 22px; margin-left: 3px; }
.gallery__btn:hover .gallery__badge { transform: translate(-50%, -50%) scale(1.08); }

/* 视频时长角标 */
.gallery__dur {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(10,39,53,.72);
  color: var(--white);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.gallery__meta { display: block; padding: 14px 16px 16px; }
.gallery__title {
  display: block;
  font-size: .9688rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.gallery__desc {
  display: block;
  font-size: .8125rem;
  color: var(--ink-500);
  line-height: 1.55;
}

.gallery__noscript {
  grid-column: 1 / -1;
  padding: 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  color: var(--ink-600);
  font-size: .9375rem;
  line-height: 1.7;
}

/* ---------- 查看器（灯箱） ---------- */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 72px 92px;
  background: rgba(6, 22, 32, .93);
}
.lightbox.is-open { display: flex; }

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__img,
.lightbox__video {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 156px);
  max-height: calc(100dvh - 156px);
  border-radius: 10px;
  background: #000;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav svg { width: 24px; height: 24px; }

.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }

.lightbox__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px 20px;
  text-align: center;
  pointer-events: none;
}
.lightbox__title {
  margin: 0 0 4px;
  font-size: .9375rem;
  color: rgba(255,255,255,.9);
}
.lightbox__counter {
  margin: 0;
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .gallery__badge { width: 46px; height: 46px; }
  .gallery__badge svg { width: 19px; height: 19px; }
  .lightbox { padding: 56px 8px 88px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__img,
  .lightbox__video { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
}

/* ---------- 19. 常见问题 ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-base);
}
.faq__item[open] { border-color: var(--brand-100); box-shadow: var(--sh-sm); }
.faq__item summary {
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  font-size: .9688rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand-700); background: var(--brand-50); }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--brand-600);
  border-bottom: 2px solid var(--brand-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-base);
}
.faq__item[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq__body {
  padding: 0 22px 20px;
  font-size: .9375rem;
  color: var(--ink-600);
  line-height: 1.8;
}

/* ---------- 20. 页脚 ---------- */
.footer {
  background: #0a2735;
  color: rgba(255,255,255,.68);
  padding: clamp(52px, 6vw, 76px) 0 0;
  font-size: .9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 48px;
}
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .logo:hover { color: var(--warm-500); }
.footer .logo__sub { color: rgba(255,255,255,.42); }
.footer__about { font-size: .9063rem; line-height: 1.8; margin-bottom: 20px; }

.footer h3 {
  color: var(--white);
  font-size: .9688rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__links a { color: rgba(255,255,255,.68); font-size: .9375rem; }
.footer__links a:hover { color: var(--warm-500); padding-left: 4px; }
.footer__links a { transition: color var(--t-fast), padding-left var(--t-fast); }

.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 11px; font-size: .9063rem; line-height: 1.6; margin: 0; }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--warm-500); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .8438rem;
  color: rgba(255,255,255,.45);
}
.footer__bottom a { color: rgba(255,255,255,.55); }
.footer__bottom a:hover { color: var(--warm-500); }

/* ---------- 21. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-700);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base), background-color var(--t-fast);
  z-index: 800;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-800); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 22. 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* ---------- 23. 响应式 ---------- */

/* 平板横向 / 小桌面 */
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  /* 机构全称较长，中等宽度下收窄 Logo 字号，避免挤压导航 */
  .logo__name { font-size: .875rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; }
  .hero__lead { max-width: none; }
  .hero__cards { grid-template-columns: repeat(3, 1fr); }
  .hero-card:hover { transform: translateY(-4px); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .step:not(:last-child)::after { display: none; }
  .step:nth-child(odd)::after {
    display: block;
    left: 56px; right: -13px;
  }
  .contact-grid { grid-template-columns: 1fr; }
}

/* 平板竖向 —— 移动端导航 */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header__cta { display: none; }

  /* 菜单遮罩：压暗页面内容，点击任意处收起菜单 */
  .header::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 39, 53, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-base), visibility var(--t-base);
  }
  body.nav-open .header::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* 菜单面板
     ⚠️ 关键：.header 带 backdrop-filter，会把 position:fixed 子元素的包含块
     变成 header 自身（高度仅 --header-h）。原先用 fixed + top/bottom 定位，
     结果面板被压成 0 高、展开后盖不住页面。
     这里改用 absolute + top:100% 挂在 header 正下方，用 max-height 限高。 */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--ink-100);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
    box-shadow: var(--sh-lg);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  /* 手指友好的大点击区（每项 ≥54px 高，整行可点） */
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 15px 14px;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: var(--r-md);
    border-bottom: 1px solid var(--ink-100);
  }
  /* 右侧箭头，提示"可跳转" */
  .nav__link::after {
    content: "";
    position: static;
    width: 8px; height: 8px;
    border-right: 2px solid var(--ink-300);
    border-bottom: 2px solid var(--ink-300);
    border-radius: 0;
    background: none;
    transform-origin: center;
    flex-shrink: 0;
    margin-right: 2px;
    transition: border-color var(--t-fast);
  }
  /* ⚠️ transform 必须在这三个状态选择器上分别声明：
     桌面端还有 `.nav__link:hover::after{transform:scaleX(1)}` 和
     `.nav__link.is-active::after{transform:scaleX(1)}`（下划线动画用），
     它们的选择器权重(0,2,1)高于 .nav__link::after(0,1,1)，
     会盖掉移动端的 rotate(-45deg)，导致箭头显示成没旋转的直角。 */
  .nav__link::after,
  .nav__link:hover::after,
  .nav__link:active::after,
  .nav__link.is-active::after { transform: rotate(-45deg); }

  .nav__link:hover, .nav__link:active { background: var(--brand-50); }
  .nav__link:hover::after, .nav__link:active::after { border-color: var(--brand-500); }
  .nav__link.is-active {
    color: var(--brand-700);
    background: var(--brand-50);
    border-bottom-color: transparent;
  }
  .nav__link.is-active::after { border-color: var(--brand-600); }

  .nav__mobile-cta {
    display: flex !important;
    margin-top: 18px;
    gap: 12px;
    flex-direction: column;
  }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats--5 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 10; }
}

/* 手机 */
@media (max-width: 640px) {
  :root { --header-h: 64px; }

  body { font-size: 15.5px; }

  .container { padding-inline: 18px; }

  .logo__img { width: 40px; height: 40px; }
  .logo__name { font-size: .875rem; }
  .logo__sub { font-size: .5625rem; letter-spacing: .005em; }

  .hero__cards { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px 32px; }
  .hero__stat-num { font-size: 1.375rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 20px 12px; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd)::after { display: none; }

  .qr-pair { grid-template-columns: 1fr; gap: 14px; }

  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 36px; }
  .footer__bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }

  .price-table th, .price-table td { padding: 13px 15px; font-size: .875rem; }

  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }

  .timeline { padding-left: 28px; }
  .timeline li::before { left: -28px; width: 14px; height: 14px; }

  .card__num { font-size: 2.25rem; top: 16px; right: 18px; }
}

@media (max-width: 400px) {
  .hero__badge { font-size: .7813rem; padding: 6px 14px 6px 10px; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- 24. 打印 & 无障碍 ---------- */
@media print {
  .header, .to-top, .cta-band, .nav-toggle { display: none !important; }
  main { padding-top: 0; }
  body { font-size: 12pt; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
