/* ============================================================
   海之林医疗美容 · 主样式表
   - 设计基调：低饱和玫瑰金 + 洁净白，传递克制、精致、洁净的医疗美容气质
   - 响应式：移动优先 + 断点 640 / 900 / 980 / 1100 / 1280
   - 无障碍：保持焦点可见样式、支持 prefers-reduced-motion
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色（医疗美容气质：低饱和玫瑰金，白底上文字对比度 7.2:1，按钮底 4.9:1） */
  --brand-900: #2b1d22;
  --brand-800: #462a33;
  --brand-700: #7a4655;
  --brand-600: #9c5f73;
  --brand-500: #bd8a9a;
  --brand-100: #f0dee4;
  --brand-50:  #fbf4f6;

  /* 中性色 */
  --ink:      #16232b;
  --ink-soft: #4a5b66;
  --ink-mute: #7b8b95;
  --line:     #e3ebef;
  --bg:       #ffffff;
  --bg-soft:  #f5fafb;
  --bg-deep:  #2b1d22;

  /* 语义色：仅用于提示/声明，不用于疗效暗示 */
  --notice-bg: #fff8e6;
  --notice-line: #f0d488;

  /* 尺寸 */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-s: 0 2px 8px rgba(43, 29, 34, .06);
  --shadow-m: 0 10px 28px rgba(43, 29, 34, .09);
  --shadow-l: 0 18px 48px rgba(43, 29, 34, .12);

  --container: 1200px;
  --header-h: 72px;

  /* 渐变与光效（美化升级） */
  --grad-brand:      linear-gradient(135deg, #9c5f73 0%, #bd8a9a 55%, #d3a7b5 100%);
  --grad-brand-deep: linear-gradient(135deg, #462a33 0%, #7a4655 60%, #9c5f73 100%);
  --grad-soft:       linear-gradient(165deg, #fbf4f6 0%, #ffffff 58%);
  --grad-icon:       linear-gradient(140deg, #f7e8ec 0%, #fbf4f6 100%);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
               -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB",
               sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 文字选中色（美化升级） */
::selection { background: rgba(189, 138, 154, .32); }

/* 滚动条（美化升级） */
@supports (scrollbar-width: thin) {
  html { scrollbar-width: thin; scrollbar-color: #d8bfca transparent; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8bfca, #c3a1b0) content-box;
}
::-webkit-scrollbar-thumb:hover { background: #bd8a9a content-box; }
::-webkit-scrollbar-track { background: transparent; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  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);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* 移动端底部悬浮操作条预留空间 */
  padding-bottom: env(safe-area-inset-bottom);
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

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

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

/* ---------- 3. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(56px, 7vw, 104px); }

.section--soft { background: var(--grad-soft); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(189, 138, 154, .12);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); }

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), color .2s var(--ease);
}

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(156, 95, 115, .30), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #8d5164 0%, #ad7a8b 55%, #c693a4 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(156, 95, 115, .38), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

.btn--outline {
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.btn--outline:hover { background: var(--brand-50); transform: translateY(-2px); }

/* 键盘焦点：始终保留可见指示 */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--brand-700);
  color: #fff;
  font-weight: 600;
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 0; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-size: 15px;
  font-weight: 600;
}

.link-more::after {
  content: "→";
  transition: transform .2s var(--ease);
}

.link-more:hover::after { transform: translateX(4px); }

/* ---------- 4. 顶部声明条 + 页头 ---------- */
.notice {
  padding: 8px 0;
  background: var(--notice-bg);
  border-bottom: 1px solid var(--notice-line);
  color: #6b5320;
  font-size: 13px;
  text-align: center;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

/* 毛玻璃只在桌面端启用。
   backdrop-filter 会让 .header 成为 fixed 定位后代的包含块，
   而移动端抽屉导航必须相对「视口」定位（top:0 / right:0 / 100dvh），
   否则抽屉会以页头为容器、高度只有 72px 并被推到屏幕外。 */
@media (min-width: 981px) {
  .header { backdrop-filter: saturate(160%) blur(12px); }
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-s);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.2vw, 20px);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }

.brand__name {
  font-size: clamp(16px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.brand__slogan {
  font-size: clamp(9.5px, .72vw, 11px);
  color: var(--ink-mute);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* 主导航：占满品牌与按钮之间的剩余空间并居中。
   链接一律 nowrap —— 中文默认可在任意字符间断行，一旦被 flex 压缩就会变成竖排。 */
.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0px, .3vw, 4px);
  list-style: none;
}

.nav__list > li { flex: 0 0 auto; }

.nav a {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 8px clamp(8px, .9vw, 13px);
  border-radius: 8px;
  font-size: clamp(13.5px, .95vw, 15px);
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav a:hover { color: var(--brand-700); background: var(--brand-50); }

.nav a[aria-current="page"] { color: var(--brand-700); font-weight: 600; }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
}

.header__cta { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 700;
  white-space: nowrap;
  color: var(--brand-700);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(43, 29, 34, .45);
}

.nav-backdrop.is-open { display: block; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 400px at 90% 4%, rgba(240, 222, 228, .9) 0%, transparent 60%),
    radial-gradient(560px 380px at -6% 82%, rgba(240, 222, 228, .55) 0%, transparent 62%),
    radial-gradient(1200px 560px at 50% -18%, #fdf8fa 0%, transparent 70%),
    linear-gradient(180deg, var(--brand-50) 0%, #ffffff 72%);
}

/* 装饰光斑：纯视觉层，不承载内容 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(56px);
  opacity: .5;
}

.hero::before {
  width: 340px;
  height: 340px;
  right: -80px;
  top: -60px;
  background: radial-gradient(circle at 30% 30%, rgba(189, 138, 154, .5), rgba(189, 138, 154, 0) 70%);
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -70px;
  bottom: -110px;
  background: radial-gradient(circle at 60% 40%, rgba(240, 222, 228, .85), rgba(240, 222, 228, 0) 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 88px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font-size: 13px;
  color: var(--ink-soft);
}

.hero__badge strong { color: var(--brand-700); }

.hero h1 {
  margin-top: 20px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.22;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.hero__lead {
  margin-top: 18px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
}

.hero__art { position: relative; }

.hero__art img {
  width: 100%;
  filter: drop-shadow(0 24px 48px rgba(43, 29, 34, .14));
}

/* ---------- 6. 信任数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(32px, 4vw, 56px);
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--line);
  overflow: hidden;
}

.stats__item {
  padding: clamp(18px, 2.4vw, 28px);
  background: #fff;
  text-align: center;
  transition: background-color .25s var(--ease);
}

.stats__item:hover { background: var(--brand-50); }

.stats__num {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  background: var(--grad-brand-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stats__num span { font-size: .5em; margin-left: 2px; font-weight: 600; }

.stats__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 7. 服务卡片网格 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}

/* 顶部品牌渐变线：悬停时浮现 */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-100);
  box-shadow: 0 16px 36px rgba(43, 29, 34, .10), 0 4px 12px rgba(189, 138, 154, .12);
}

.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--grad-icon);
  border: 1px solid var(--brand-100);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(189, 138, 154, .14);
  transition: transform .25s var(--ease);
}

.card:hover .card__icon { transform: translateY(-2px) scale(1.04); }

.card__icon img { width: 32px; height: 32px; }

.card h3 { font-size: 19px; }

.card__desc {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.card__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--ink-mute);
}

.card__foot { margin-top: auto; padding-top: 18px; }

/* ---------- 8. 双栏图文（品牌理念） ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.feature + .feature { margin-top: clamp(48px, 6vw, 88px); }

.feature--reverse .feature__art { order: 2; }

.feature__art {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, #ffffff 0%, var(--brand-50) 100%);
  box-shadow: 0 14px 36px rgba(43, 29, 34, .08);
}

.feature__art img { width: 100%; }

.feature h2 { margin-top: 14px; font-size: clamp(24px, 3vw, 36px); }

.feature p { margin-top: 16px; color: var(--ink-soft); }

.check-list { margin-top: 22px; display: grid; gap: 12px; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--brand-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- 8.1 内页页头 ---------- */
.page-hero {
  padding-block: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--brand-50) 0%, #ffffff 100%);
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-mute);
}

.breadcrumb a:hover { color: var(--brand-700); }

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(27px, 4vw, 42px);
}

.page-hero p {
  margin-top: 14px;
  max-width: 700px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 17px);
}

/* ---------- 8.2 服务详解块 ---------- */
.feature__art--icon {
  display: grid;
  place-items: center;
  min-height: 200px;
}

.feature__art--icon img { width: min(112px, 34%); }

.kv {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.kv__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14.5px;
}

.kv__row dt {
  color: var(--brand-700);
  font-weight: 600;
}

.kv__row dd {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- 8.3 科普文章 ---------- */
.article {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
}

.article + .article { margin-top: 20px; }

.article h2 {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 18px;
  font-size: 13px;
  color: var(--ink-mute);
}

.article p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.article ul { margin-top: 14px; display: grid; gap: 9px; }

.article li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.article li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.article__note {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: 13.5px;
}

/* ---------- 9. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(156, 95, 115, .28), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.step h3 { font-size: 17px; }

.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 10. 团队 ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 22px);
}

.team__item {
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.team__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: 12px;
  font-weight: 600;
}

.team__item h3 { margin-top: 14px; font-size: 17px; }

.team__item p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

.team__note {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 4px solid var(--brand-500);
  border-radius: 0 8px 8px 0;
  background: var(--brand-50);
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- 11. 资讯 ---------- */
.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.news-card__cover {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(340px 180px at 78% 18%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(135deg, var(--brand-100), var(--brand-50));
  display: grid;
  place-items: center;
  transition: filter .25s var(--ease);
}

.news-card:hover .news-card__cover { filter: saturate(1.15) brightness(1.03); }

.news-card__cover img { width: 46%; max-width: 160px; }

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2.2vw, 26px);
}

.news-card__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
}

.news-card__date { margin-top: 10px; font-size: 12.5px; color: var(--ink-mute); }

.news-card h3 {
  margin-top: 8px;
  font-size: 17.5px;
  line-height: 1.5;
}

.news-card__excerpt {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__foot { margin-top: auto; padding-top: 18px; }

/* ---------- 12. FAQ 手风琴 ---------- */
.faq { max-width: 860px; margin-inline: auto; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
}

.faq details + details { margin-top: 12px; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s var(--ease);
}

.faq details[open] summary::after { content: "−"; }

.faq__answer {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}

/* ---------- 13. 预约 / 联系 ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.contact__info { display: grid; gap: 22px; }

.contact__row { display: flex; gap: 14px; }

.contact__row dt {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-50);
  font-size: 18px;
}

.contact__row dd { margin: 0; }

.contact__row strong { display: block; font-size: 13px; color: var(--ink-mute); font-weight: 500; }

.contact__row span,
.contact__row a { font-size: 16px; color: var(--ink); }

.form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: var(--shadow-m);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field--full { grid-column: 1 / -1; }

.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }

.field label span { color: #c0392b; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: #a9b6bf; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(23, 162, 184, .16);
}

.field__error { min-height: 18px; font-size: 12.5px; color: #c0392b; }

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

.form__submit { width: 100%; margin-top: 18px; }

.form__tip {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-align: center;
}

.form__status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: 14px;
  display: none;
}

.form__status.is-show { display: block; }

/* ---------- 14. CTA 横幅 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(700px 300px at 15% 20%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(420px 260px at 92% 90%, rgba(189, 138, 154, .35), transparent 65%),
    var(--grad-brand-deep);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 48px rgba(70, 42, 51, .28);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent);
}

.cta-band h2 { font-size: clamp(22px, 2.8vw, 34px); color: #fff; }

.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .82); max-width: 600px; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 15. 免责声明块 ---------- */
.disclaimer {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--notice-line);
  border-radius: var(--radius-m);
  background: var(--notice-bg);
  color: #6b5320;
  font-size: 13.5px;
  line-height: 1.8;
}

.disclaimer h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #6b5320;
}

.disclaimer ul { margin-top: 10px; display: grid; gap: 6px; }

.disclaimer li { padding-left: 16px; position: relative; }

.disclaimer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b99129;
}

/* ---------- 16. 页脚 ---------- */
.footer {
  padding-top: clamp(48px, 6vw, 72px);
  background:
    radial-gradient(720px 300px at 85% -10%, rgba(156, 95, 115, .28), transparent 65%),
    var(--bg-deep);
  color: rgba(255, 255, 255, .74);
  font-size: 14.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: 40px;
}

.footer h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
}

.footer p { margin-top: 14px; max-width: 340px; }

.footer ul { display: grid; gap: 10px; }

.footer a:hover { color: #fff; }

.footer__tel {
  display: inline-block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer__bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer__legal { display: grid; gap: 6px; }

.footer__links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 17. 移动端悬浮操作条 & 回到顶部 ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn { flex: 1; min-height: 46px; padding-inline: 12px; }

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 96;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-m);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.to-top.is-show { opacity: 1; visibility: visible; transform: none; }

/* ---------- 18. 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 19. 响应式断点 ---------- */
/* 导航字号/间距已由 clamp() 随视口流式缩放，这里只隐藏电话号，
   避免再用固定字号覆盖流式值、把导航重新挤成竖排。 */
@media (max-width: 1100px) {
  .header__tel { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); }
}

/* 抽屉式导航：横向导航在此宽度已放不下（7 项 + 品牌 + 按钮），
   阈值从 900px 提到 980px，保证横向态不会出现挤压换行。 */
@media (max-width: 980px) {
  .nav-toggle { display: block; }

  /* 关闭时 .nav 会被移出视口右侧，这里裁剪横向溢出，否则页面会出现约 330px 的横向滚动。
     只作用在 html 上：若同时给 body 设 overflow-x:hidden，body 会变成滚动容器，
     sticky 页头将失效（实测 sticky top 会随页面滚走）。 */
  html { overflow-x: hidden; }

  .header { background: #fff; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    display: block;
    width: min(86vw, 330px);
    height: 100%;              /* 兼容不支持 dvh 的旧内核 */
    height: 100dvh;
    padding: calc(var(--header-h) + 16px) 20px 24px;
    background: #fff;
    box-shadow: var(--shadow-l);
    transform: translateX(102%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.is-open { transform: none; }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__list > li { width: 100%; }

  .nav a {
    display: block;
    white-space: normal;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }

  /* 抽屉内：下拉菜单改为静态展开 */
  .nav__item > a::after { display: none; }
  .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a[aria-current="page"]::after { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; margin-inline: auto; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__art { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .mobile-bar { display: flex; }
  .to-top { bottom: calc(78px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 68px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .notice { font-size: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1; }
}

/* ---------- 20. 减弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. 顶部信息条 ---------- */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar__info { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar__info span { white-space: nowrap; }
.topbar__info a { color: rgba(255, 255, 255, .92); }
.topbar__info a:hover { color: #fff; }
.topbar__links { display: flex; gap: 14px; }
.topbar__links a { white-space: nowrap; }

/* ---------- 24. 快捷入口 ---------- */
.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
}

.quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.quick__item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-100);
  box-shadow: var(--shadow-m);
}

.quick__item img { width: 38px; height: 38px; }
.quick__item strong { font-size: 15px; }
.quick__item span { font-size: 13px; color: var(--ink-mute); }

/* ---------- 25. 栏目标题行（含“查看更多”） ---------- */
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.head-row .section-head { margin: 0; text-align: left; max-width: 660px; }

/* ---------- 26. 视频中心 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }

.video-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #fff;
}

.video-card__poster {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(320px 180px at 20% 15%, rgba(255, 255, 255, .22), transparent 60%),
    var(--grad-brand-deep);
}

.video-card__play {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--brand-700);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: transform .2s var(--ease);
}

.video-card__play:hover { transform: scale(1.06); }

.video-card__dur {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 12px;
}

.video-card__body { padding: 18px 20px 22px; }
.video-card__body h3 { font-size: 17px; line-height: 1.5; }
.video-card__body p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

.video-card video { width: 100%; display: block; background: #000; }

/* ---------- 27. 资料下载 ---------- */
.doc-list { display: grid; gap: 14px; }

.doc-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  transition: box-shadow .22s var(--ease);
}

.doc-card:hover { box-shadow: var(--shadow-m); }

.doc-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 20px;
  font-weight: 700;
}

.doc-card__body { flex: 1; min-width: 0; }
.doc-card__body h3 { font-size: 16.5px; }
.doc-card__body p { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.doc-card__meta { margin-top: 8px; font-size: 12.5px; color: var(--ink-mute); }

/* ---------- 28. 环境与设施图廊 ---------- */
/* align-items: start —— 多图图区比单图高，让每张卡片贴着自身内容，不要被拉出空白 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }

.gallery__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap { padding: 12px 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 28.1 图区多图浏览（每个图区可放 n 张照片） ---------- */
/* 单图时不出现任何控件；超过 1 张时自动出现左右切换、计数与缩略图条 */
.gallery__stage { position: relative; background: var(--bg-soft); }
.gallery__item .gallery__img { display: none; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__item .gallery__img.is-active { display: block; }

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-s);
  color: var(--brand-700);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.gallery__arrow:hover { background: #fff; color: var(--brand-600); }
.gallery__arrow:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.gallery__arrow--prev { left: 8px; }
.gallery__arrow--next { right: 8px; }

.gallery__count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(43, 29, 34, .55);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
}

.gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gallery__item .gallery__thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 42px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--bg-soft);
  cursor: pointer;
  overflow: hidden;
  opacity: .7;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.gallery__item .gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.gallery__item .gallery__thumb.is-active { border-color: var(--brand-600); opacity: 1; }
.gallery__item .gallery__thumb:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

/* 图区待补充占位：图区暂无照片时显示 */
.gallery__empty {
  display: grid;
  place-items: center;
  margin: 0;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, rgba(156, 95, 115, .05) 0 8px, transparent 8px 16px);
  color: var(--ink-mute);
  font-size: 13.5px;
  letter-spacing: .04em;
  user-select: none;
}

/* 照片可点击放大（缩略图条里的不算） */
.gallery__img,
.gallery__item > img { cursor: zoom-in; }

/* ---------- 28.2 图片放大查看（灯箱） ---------- */
/* 层叠顺序（全站）：header 100 / skip-link 200
   浮层必须高于 header，否则会被吸顶的导航压住：
   资质弹窗 120 → 灯箱 130（从弹窗里点证照图放大，必须盖在弹窗之上）。 */
.lb {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(12px, 2.4vw, 26px);
  background: rgba(28, 18, 22, .93);
}
/* 刻意不做入场动画：可见性一旦依赖过渡或动画，在没有渲染帧的环境里
   （无头浏览器、后台标签页）就会停在 opacity:0 —— 变成「看不见却锁住
   滚动、还吞掉点击」。遮罩恒为不透明，打开始终是即时的。 */
.lb[hidden] { display: none; }

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  min-height: 34px;
}
.lb__title { font-size: 14px; letter-spacing: .02em; opacity: .92; }
.lb__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lb__close:hover { background: rgba(255, 255, 255, .14); }
.lb__close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* 大图用绝对定位居中 + max 约束。
   不要写成 grid + place-items:center：唯一的隐式行是 auto 高，
   max-height:100% 会失效，图片会溢出盖住底部计数条。 */
.lb__stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.lb__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-s);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .5);
  cursor: default;
}

.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--brand-700);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lb__nav:hover { background: #fff; color: var(--brand-600); }
.lb__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb__nav--prev { left: 0; }
.lb__nav--next { right: 0; }
.lb__nav[hidden] { display: none; }

.lb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}
.lb__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lb__link[hidden] { display: none; }
.lb__count { font-variant-numeric: tabular-nums; }

/* ---------- 29. 内容双栏 + 侧栏 ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }

.side-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
}

.side-card h3 {
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-500);
  font-size: 16px;
}

.side-list { display: grid; gap: 12px; }

.side-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.side-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--brand-500);
}

.side-list a:hover { color: var(--brand-700); }

.side-card--cta {
  background: var(--grad-brand-deep);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 32px rgba(70, 42, 51, .24);
}

.side-card--cta h3 { color: #fff; border-left-color: #fff; }
.side-card--cta p { margin: 10px 0 16px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.side-card--cta .btn { width: 100%; }

/* ---------- 30. 列表项 ---------- */
.list { display: grid; gap: 16px; }

.list-item {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.list-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }

.list-item__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
}

.list-item__thumb img { width: 44%; max-width: 92px; }
.list-item__body { display: flex; flex-direction: column; }
.list-item h3 { font-size: 18px; line-height: 1.5; }
.list-item__excerpt { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

.list-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-mute);
}

.list-item__foot { margin-top: auto; padding-top: 14px; }

/* ---------- 31. 筛选与分页 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

.filters button {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.filters button:hover { border-color: var(--brand-500); color: var(--brand-700); }
.filters button[aria-pressed="true"] { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}

.pager a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.pager .is-current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* ---------- 32. 详情页 ---------- */
.detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-mute);
}

.detail__body h2 { margin-top: 34px; font-size: clamp(19px, 2.2vw, 25px); }
.detail__body h2:first-child { margin-top: 0; }
.detail__body p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }

.detail__body ul { margin-top: 14px; display: grid; gap: 10px; }

.detail__body li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.detail__body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}

.detail__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.detail__nav span { color: var(--ink-mute); }

/* ---------- 33. 面包屑 ---------- */
.crumb {
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13.5px;
  color: var(--ink-mute);
}

.crumb a:hover { color: var(--brand-700); }

/* ---------- 34. 资质公示 ---------- */
.license { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.license__item {
  padding: 20px;
  border: 1px dashed var(--brand-100);
  border-radius: var(--radius-m);
  background: var(--brand-50);
}

.license__item strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--brand-800); }
.license__item span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 36. 404 ---------- */
.error { padding: clamp(56px, 9vw, 110px) 0; text-align: center; }
.error__code { font-size: clamp(72px, 12vw, 132px); font-weight: 800; line-height: 1; color: var(--brand-100); }
.error h1 { margin-top: 12px; font-size: clamp(22px, 3vw, 32px); }
.error p { margin-top: 14px; color: var(--ink-soft); }
.error__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- 36.2 四列网格 / 价值主张 ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.value {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
}

.value h3 { font-size: 16.5px; color: var(--brand-800); }
.value p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 36.3 发展历程时间线 ---------- */
.timeline {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-left: 26px;
  border-left: 2px solid var(--brand-100);
}

.timeline__item { position: relative; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-500);
}

.timeline__y { font-weight: 700; color: var(--brand-700); }
.timeline__t { margin-top: 4px; font-weight: 600; }
.timeline__d { margin-top: 4px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 36.4 地图占位 ---------- */
.map {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--brand-50), #ffffff);
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
}

.map iframe { width: 100%; height: 100%; border: 0; }
.map p { margin-top: 8px; font-size: 13.5px; color: var(--ink-mute); }

/* ---------- 36.5 导航下拉菜单 ---------- */
.nav__item { position: relative; }

.nav__item > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: .7;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  min-width: 156px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.nav__item:hover .sub-menu,
.nav__item:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  white-space: nowrap;
  color: var(--ink-soft);
}

.sub-menu a:hover { background: var(--brand-50); color: var(--brand-700); }

/* ---------- 37. 新增断点适配 ---------- */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; order: 2; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .quick { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .license { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .aside { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 1fr; }
  .list-item__thumb { aspect-ratio: 16 / 9; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .doc-card { flex-direction: column; }
  .detail__nav { flex-direction: column; gap: 10px; }
}

/* ---------- 38. 打印样式 ---------- */
@media print {
  .topbar, .header, .mobile-bar, .to-top, .notice, .cta-band,
  body { padding: 0; }
  .card, .step, .news-card { break-inside: avoid; }
}

/* ---------- 39. 四列网格断点补充 ---------- */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 40. 医疗资质公示（页脚入口 + 弹窗） ---------- */
/* 页脚备案信息区那一条：样式与相邻的备案号、免责声明保持一致，
   只是多一个下划线提示可点击。 */
.footer__cred a {
  color: rgba(255, 255, 255, .78);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__cred a:hover { color: #fff; }

/* 弹窗。同样刻意不做入场动画 —— 理由与灯箱一致：可见性一旦依赖过渡或
   动画，在没有渲染帧的环境（无头浏览器、后台标签页）就会停在 opacity:0，
   变成「看不见却锁住滚动、还吞掉点击」。打开始终是即时的。
   z-index 必须高于吸顶的 .header（100），否则内容顶部会被导航栏压住；
   又要低于灯箱（130），这样证照图点开后能盖在弹窗之上。 */
.cred {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2.4vw, 28px);
  background: rgba(28, 18, 22, .72);
}
.cred[hidden] { display: none; }

.cred__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 920px;
  max-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--bg);
  box-shadow: var(--shadow-l);
}

.cred__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  padding: 14px clamp(16px, 2.6vw, 26px);
  border-bottom: 1px solid var(--line);
}
.cred__title { margin: 0; font-size: 16px; letter-spacing: .02em; color: var(--brand-800); }
.cred__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.cred__close:hover { background: var(--brand-50); color: var(--brand-700); }
.cred__close:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

.cred__body {
  display: grid;
  gap: 16px;
  overflow-y: auto;
  padding: clamp(16px, 2.6vw, 26px);
}

.cred__card {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
}
.cred__card--textonly { grid-template-columns: 1fr; }

.cred__name { margin: 0 0 12px; font-size: 16px; color: var(--brand-800); }

/* 标签列固定宽度以保证冒号对齐；120px 是按最长标签「统一社会信用代码」
   （8 字 × 13.5px ≈ 108px）定的，再窄就会被挤换行 */
.cred__meta { display: grid; gap: 7px; margin: 0; font-size: 13.5px; }
.cred__meta > div { display: flex; gap: 10px; }
.cred__meta dt { flex: 0 0 120px; color: var(--ink-mute); }
.cred__meta dd { margin: 0; color: var(--ink); word-break: break-word; }

.cred__note { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }

.cred__fig { margin: 0; }
.cred__fig img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  cursor: zoom-in;
}
.cred__fig figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-align: center;
}
/* 只给灯箱当标题用的屏外元素：卡片上看不见，textContent 仍可被 main.js 读到。
   加 display:none 是双保险 —— 万一某处 CSS 覆盖了 [hidden] 的默认表现。 */
.cred__cap-src { display: none; }

.cred__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  padding: 12px clamp(16px, 2.6vw, 26px);
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--ink-mute);
}
.cred__foot a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .cred { padding: 0; }
  .cred__panel { max-width: none; height: 100%; border-radius: 0; }
  .cred__card { grid-template-columns: 1fr; gap: 16px; }
  /* 窄屏放不下「标签 | 值」两栏：改成上下堆叠，长标签（如统一社会信用代码）
     就不会被挤到换行 */
  .cred__meta > div { display: block; }
  .cred__meta dt { margin-bottom: 2px; }
}
