/* ==========================================================================
   世霖节拍 GEO 官网 · 全站唯一样式表（手写 CSS，无框架）
   设计语言：明亮温暖风（PRD §3.2）
   - 背景奶油白 #FAF7F2 / 卡片暖米白 #FFFDF9
   - 主色暖橙 #E8853D / 辅色焦糖棕 #8B5E3C / 点缀奶油黄 #F5D5A8 / 正文暖灰 #6B6560
   - 大圆角卡片(16-24px) + 柔和暖阴影 + 奶油描边
   - 移动端优先（375px 基准）；正文 ≥16px、行高 1.7
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --c-bg: #FAF7F2;
  --c-card: #FFFDF9;
  --c-primary: #E8853D;
  --c-primary-dark: #A8541B;
  --c-secondary: #7A4E2E;
  --c-accent: #F5D5A8;
  --c-text: #6B6560;
  --c-text-strong: #4A423B;
  --c-title: #3D332C;
  --c-success: #3D7A47;
  --c-border: #EFE6D9;
  --c-muted: #6F6862;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(139, 94, 60, 0.06);
  --shadow: 0 6px 20px rgba(139, 94, 60, 0.09);
  --shadow-lg: 0 14px 40px rgba(139, 94, 60, 0.14);

  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --maxw: 1160px;
  --maxw-read: 720px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  padding-bottom: 72px; /* 为移动端底部预约条留白 */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--c-title);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 var(--space-2);
}
h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }

p { margin: 0 0 var(--space-2); }

ul, ol { margin: 0 0 var(--space-2); padding-left: 1.3em; }

strong { color: var(--c-secondary); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

section { padding: var(--space-5) 0; }

.section-title { text-align: center; margin-bottom: var(--space-1); }
.section-subtitle {
  text-align: center;
  color: var(--c-muted);
  margin-bottom: var(--space-4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--c-primary);
  color: #3D332C;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--c-primary-dark);
  border: 2px solid var(--c-primary);
}
.btn--ghost:hover { background: var(--c-accent); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-accent);
  color: var(--c-secondary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
}
.badge--refund {
  background: rgba(78, 154, 91, 0.12);
  color: var(--c-success);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--c-secondary);
}
.logo-text--footer { font-size: 22px; color: var(--c-accent); }
.logo__sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--c-muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 64px;
  /* 兜底：菜单项增多或视口偏窄时优雅换行，而不是挤压导致链接内文字折行 */
  flex-wrap: wrap;
}
/* 移动端导航：原生 <details>，无 JS 也可展开 */
.site-nav__details { position: relative; }
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--c-secondary);
  cursor: pointer;
  list-style: none;
}
.site-nav__toggle::-webkit-details-marker { display: none; }
.site-nav__toggle-bar {
  width: 16px;
  height: 2px;
  background: var(--c-secondary);
  position: relative;
}
.site-nav__toggle-bar::before,
.site-nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--c-secondary);
}
.site-nav__toggle-bar::before { top: -5px; }
.site-nav__toggle-bar::after { top: 5px; }

/* 移动端：<details> 原生控制展开；列表默认由浏览器隐藏，无需 JS 即可点开。
   注意此处不设置 display，保留 UA 对 details:not([open]) 的隐藏行为。 */
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  flex-direction: column;
  gap: 4px;
  position: absolute;
  /* 移动端展开面板：锚定到 toggle 右缘、向左展开到 ≥220px，
     不再被 76px 的 <details> 容器宽度限制；超高时内部滚动 */
  left: auto;
  right: 0;
  min-width: 220px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  top: calc(100% + 8px);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* <details> 展开时以纵向列表呈现 */
.site-nav__details[open] > .site-nav__list { display: flex; }
.site-nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-title);
  font-weight: 600;
}
.site-nav__link:hover { background: var(--c-accent); text-decoration: none; }
.site-nav__link.is-active { color: var(--c-primary-dark); background: var(--c-accent); }
.site-nav__item--cta { margin-top: 4px; }

/* ---------- Hero ---------- */
.hero { padding: var(--space-5) 0; }
.hero__inner {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.hero__title { font-size: 30px; }
.hero__title .hl { color: var(--c-primary); }
.hero__lead { font-size: 17px; }
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--c-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-3);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  text-align: center;
}
.trust-item__num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--c-primary);
}
.trust-item__label { font-size: 14px; color: var(--c-text); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--flagship {
  border: 2px solid var(--c-primary);
  background: linear-gradient(180deg, #FFF8F0, var(--c-card));
}
.card--link { color: inherit; text-decoration: none; }
.card--link:hover { text-decoration: none; }
.card__media img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__title { font-size: 19px; margin: 0; }
.card__meta { font-size: 13px; color: var(--c-muted); }
.card__desc { margin: 0; font-size: 15px; }
.card__list { margin: 0; font-size: 14px; color: var(--c-text); }
.card__price {
  font-weight: 800;
  color: var(--c-primary-dark);
  margin-top: auto;
}
.card__tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-secondary);
  background: var(--c-accent);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* ---------- Feature 4-grid (差异化) ---------- */
.feature-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
.feature {
  background: var(--c-card);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  padding: var(--space-3);
}
.feature__icon { font-size: 28px; }
.feature__title { font-size: 18px; margin: 6px 0; }
.feature__desc { margin: 0; font-size: 15px; }

/* ---------- Price cards ---------- */
.price-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
.price-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card--featured {
  border: 2px solid var(--c-primary);
  background: linear-gradient(180deg, #FFF8F0, var(--c-card));
}
.price-card__label { font-size: 15px; color: var(--c-muted); font-weight: 700; }
.price-card__amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-primary-dark);
}
.price-card__desc { font-size: 14px; margin: 0; }
.price-card__refund {
  margin-top: auto;
  font-size: 13px;
  color: var(--c-success);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-1); }
.faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--space-2) var(--space-3);
  font-weight: 700;
  color: var(--c-title);
  cursor: pointer;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::before {
  content: "Q";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-secondary);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-item[open] .faq-item__q { color: var(--c-primary-dark); }
.faq-item__a {
  padding: 0 var(--space-3) var(--space-3) 58px;
  font-size: 15px;
  color: var(--c-text);
}
.faq-item__a p { margin: 0 0 10px; }
.faq-item__a p:last-child { margin-bottom: 0; }

.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.faq-cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-secondary);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* ---------- Case cards ---------- */
.case-card__outcome { font-size: 15px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: var(--space-2) 0; font-size: 14px; }
.breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  color: var(--c-muted);
}
.breadcrumbs__list li::after { content: "›"; margin-left: 6px; color: var(--c-muted); }
.breadcrumbs__list li:last-child::after { content: ""; }
.breadcrumbs__list a { color: var(--c-text); }

/* ---------- Compare page (/compare/) ---------- */
/* 对比表独立作用域：现有表格样式只在 .article-content 内生效，故单独定义 */
.compare-table-wrap {
  margin: var(--space-2) 0;
  /* 窄屏横向滚动：表格不挤压布局，也不裁掉内容 */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--c-muted);
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid var(--c-border);
}
.compare-table thead th {
  background: var(--c-accent);
  color: var(--c-secondary);
  font-size: 14px;
  white-space: nowrap;
}
.compare-table tbody th {
  color: var(--c-text-strong);
  font-weight: 700;
  white-space: nowrap;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
/* 世霖节拍所在行：浅主色底，便于 AI 与读者快速定位结论列 */
.compare-table__row--ours th,
.compare-table__row--ours td { background: rgba(232, 133, 61, 0.08); }

/* 保障清单 / 延伸阅读：用列表而非表格，控制表格数量 */
.compare-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
}
.compare-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  font-size: 15px;
  color: var(--c-text);
}
.compare-checklist__icon { font-size: 20px; line-height: 1.5; }
.compare-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.compare-links li { font-size: 15px; }
.compare-links a { font-weight: 700; }

/* ---------- Article ---------- */
.article-header { padding-top: var(--space-3); }
.article-layout { padding-bottom: var(--space-5); }
.article-body {
  max-width: var(--maxw-read);
  padding-bottom: var(--space-4);
}
.article-meta {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: var(--space-3);
}
.article-meta .dot { margin: 0 8px; }
.article-content h2 {
  margin-top: var(--space-5);
  padding-top: var(--space-1);
  font-size: 23px;
}
.article-content h3 { margin-top: var(--space-3); font-size: 19px; }
.article-content p { margin: 0 0 var(--space-2); color: var(--c-text); }
.article-content ul, .article-content ol { margin-bottom: var(--space-2); }
.article-content table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: var(--space-2) 0;
  font-size: 15px;
}
.article-content th, .article-content td {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  text-align: left;
}
.article-content th { background: var(--c-accent); color: var(--c-secondary); }
.article-content blockquote {
  margin: var(--space-2) 0;
  padding: 12px 18px;
  background: var(--c-card);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-sm);
  color: var(--c-text-strong);
}
.article-content code {
  background: var(--c-accent);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 14px;
}
.article-content a { font-weight: 700; }
.article-anchor {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 16px;
  color: var(--c-text-strong);
}
.toc {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.toc__title { font-size: 15px; margin: 0 0 10px; color: var(--c-secondary); }
.toc__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.toc__list a { font-size: 14px; color: var(--c-text); }
.toc__list li[data-level="3"] { padding-left: 14px; }

/* ---------- Article list / filter ---------- */
.article-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-3); }
.article-filters .faq-cat { cursor: pointer; }
.article-filters .faq-cat.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.post-card__date { font-size: 13px; color: var(--c-muted); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.post-tags .tag {
  font-size: 12px;
  color: var(--c-secondary);
  background: var(--c-accent);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}

/* ---------- Related posts ---------- */
.related-posts { margin-top: var(--space-5); }
.related-posts__grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }

/* ---------- CTA booking ---------- */
.cta-booking {
  background: linear-gradient(135deg, #FDF3E7, var(--c-accent));
  border-radius: var(--radius-lg);
  margin: var(--space-5) auto;
  padding: var(--space-5) var(--space-3);
}
.cta-booking__inner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}
.cta-booking__title { margin-bottom: 8px; }
.cta-booking__desc { max-width: 560px; }
.cta-booking__badges {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cta-booking__actions { display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.cta-booking__wechat { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cta-booking__qr {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.cta-booking__wechat-text { font-size: 14px; font-weight: 700; color: var(--c-secondary); }

/* ---------- Floating booking bar (mobile) ---------- */
.booking-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 10px var(--space-2);
  background: var(--c-card);
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -6px 20px rgba(139, 94, 60, 0.1);
}
.booking-bar__info { display: flex; flex-direction: column; line-height: 1.35; }
.booking-bar__price { font-weight: 800; color: var(--c-primary-dark); font-size: 15px; }
.booking-bar__refund { font-size: 12px; color: var(--c-success); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: #3D332C;
  color: #E9E1D6;
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-5);
}
.site-footer__inner {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
.site-footer__tagline { color: var(--c-accent); font-weight: 700; }
.site-footer__desc { font-size: 14px; color: #C9BFB2; }
.site-footer__heading {
  font-size: 16px;
  color: #fff;
  margin-bottom: var(--space-1);
}
.site-footer__address { font-style: normal; display: flex; flex-direction: column; gap: 8px; }
.site-footer__line { font-size: 14px; color: #C9BFB2; }
.site-footer__label { color: #9C948C; }
.site-footer__link { color: var(--c-accent); font-weight: 700; }
.site-footer__wechat { color: var(--c-accent); font-weight: 700; }
.site-footer__hint { font-size: 12px; color: #9C948C; }
.site-footer__nav { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav a { color: #E9E1D6; font-size: 14px; }
.site-footer__nav a:hover { color: var(--c-accent); }
.site-footer__bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.site-footer__copyright { font-size: 13px; color: #9C948C; margin: 0; }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(245,213,168,0.4);
  border-radius: var(--radius);
  padding: var(--space-2);
  margin-bottom: var(--space-2);
  color: #E9E1D6;
  font-size: 13px;
}
.map-placeholder__icon { font-size: 20px; }
.map-placeholder__note { color: #9C948C; font-size: 12px; }

/* ---------- Anchor offset for sticky header ---------- */
:target { scroll-margin-top: 80px; }

/* ---------- Stats row (cases page) ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  text-align: center;
}
.stat-box {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.stat-box__num { display: block; font-size: 30px; font-weight: 800; color: var(--c-primary); }
.stat-box__label { font-size: 14px; }

/* ---------- Utilities ---------- */
.mt-3 { margin-top: var(--space-3); }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ==========================================================================
   响应式：移动端优先，逐步增强
   ========================================================================== */
@media (min-width: 640px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 38px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  /* 桌面端：将 <details> 强制展开为横向导航（覆盖 UA 对 closed details 的隐藏），隐藏 summary 开关 */
  .site-nav__toggle { display: none; }
  .site-nav__details { display: block; }
  /* Chrome / Edge 131+ 改用 ::details-content 的 content-visibility 隐藏闭合 <details> 的内容，
     单靠下方 display:flex 已无法覆盖（导航会整体消失）→ 桌面端显式恢复内容可见性。
     不支持 ::details-content 的旧浏览器会忽略本规则，仍走 display 兜底。 */
  @supports selector(::details-content) {
    .site-nav__details::details-content {
      content-visibility: visible;
      block-size: auto;
    }
  }
  .site-nav__details > .site-nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    /* 兜底：横向导航在极窄桌面视口下换行而非挤压（表头不因此变高） */
    flex-wrap: wrap;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  /* 7 项导航 + CTA：左右内边距由 14px 收到 10px，给 900px 断点留出安全余量 */
  .site-nav__link { padding: 8px 10px; }
  .site-nav__item--cta { margin-top: 0; margin-left: 8px; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-5); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-booking__inner { grid-template-columns: 1.4fr 1fr; }
  .site-footer__inner { grid-template-columns: 1.4fr 1.4fr 1fr 1.2fr; }
  .related-posts__grid { grid-template-columns: repeat(3, 1fr); }
  .compare-checklist { grid-template-columns: repeat(3, 1fr); }
  .booking-bar { display: none; }
  .article-layout { display: grid; grid-template-columns: var(--maxw-read) 260px; gap: var(--space-4); justify-content: center; }
  .article-layout .toc { position: sticky; top: 88px; align-self: start; }
}
