/* ==========================================================================
   泛美电召车 · 全站样式系统
   PAN-AMERICAN CAR SERVICE — Global Styles
   ========================================================================== */

/* ---------- 设计令牌 Design Tokens ---------- */
:root {
  /* 色彩 */
  --navy-900: #0a1728;
  --navy-800: #10233b;
  --navy-700: #1b3557;
  --navy-600: #2b4a73;
  --gold-500: #c8a24a;
  --gold-600: #b08c33;
  --gold-400: #dcbe74;
  --gold-glow: rgba(200, 162, 74, 0.16);
  --cream-100: #f7f4ee;
  --cream-200: #efe9dd;
  --ink: #16233a;
  --slate: #52688a;
  --line: rgba(22, 35, 58, 0.12);
  --white: #ffffff;

  /* 字体 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun",
    Georgia, "Times New Roman", serif;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 10px rgba(10, 23, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 23, 40, 0.12);
  --shadow-lg: 0 28px 60px rgba(10, 23, 40, 0.18);

  /* 间距 */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 28px;
  --space-4: 44px;
  --space-5: 72px;
  --space-6: 104px;

  --container: 1180px;
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy-900);
}

p { margin: 0; }

/* 无障碍：焦点高亮 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* 体育场：通用容器（首页全宽图可用） */
.container--wide { max-width: 1400px; }

/* ==========================================================================
   按钮 Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-full);
  padding: 15px 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(176, 140, 51, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(176, 140, 51, 0.4); }

.btn--navy {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 35, 59, 0.3);
}
.btn--navy:hover { transform: translateY(-2px); background: var(--navy-700); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--ghost-dark {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid rgba(22, 35, 58, 0.35);
}
.btn--ghost-dark:hover { border-color: var(--navy-900); }

.btn--lg { padding: 18px 40px; font-size: 17px; }

/* ==========================================================================
   顶部信息条 Top Bar + 导航 Nav
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.topbar__phone a { color: var(--gold-400); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar__phone a:hover { color: #fff; }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
/* 品牌 Logo */
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.brand__text { line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 20px; color: var(--navy-900); letter-spacing: 0.5px; }
.brand__name em { font-style: normal; color: var(--gold-600); }
.brand__tag { font-size: 11.5px; color: var(--slate); letter-spacing: 1.5px; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 10px 15px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.16s, color 0.16s;
}
.nav__links a:hover { background: var(--cream-200); color: var(--navy-900); }
.nav__links a.is-active { color: var(--gold-600); font-weight: 700; }

.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* 汉堡菜单（移动端） */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* 服务下拉 */
.nav__dropdown { position: relative; }
.nav__dropdown--btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 10px 15px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-full);
  cursor: pointer;
}
.nav__dropdown--btn:hover { background: var(--cream-200); }
.nav__dropdown--btn svg { transition: transform 0.2s; }
.nav__dropdown:hover .nav__dropdown--btn svg,
.nav__dropdown--btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__dropdown--menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav__dropdown:hover .nav__dropdown--menu,
.nav__dropdown--menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown--menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--ink);
}
.nav__dropdown--menu a:hover { background: var(--cream-100); color: var(--navy-900); }
.nav__dropdown--menu a small { color: var(--slate); font-size: 12.5px; }

/* ==========================================================================
   Hero 首页首屏（背景图为用户自行填充 images/hero.jpg）
   ========================================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  /* 表格占位背景，用户替换为 images/hero.jpg 即可 */
  background:
   url("../images/hero.jpg") center center / cover no-repeat;
}
.hero--short {
  min-height: 44vh;
  background:
    linear-gradient(100deg, rgba(8, 18, 32, 0.92) 0%, rgba(8, 18, 32, 0.62) 55%, rgba(8, 18, 32, 0.35) 100%),
    var(--navy-900) url("../images/hero-sub.jpg") center center / cover no-repeat;
}
.hero__inner { padding: var(--space-5) 24px; max-width: var(--container); margin: 0 auto; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold-500); }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.hero__title em { font-style: normal; color: var(--gold-400); }
.hero__sub {
  margin: 26px 0 34px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.hero__badge strong { color: var(--gold-400); font-weight: 700; }
.hero__badge span { color: rgba(255,255,255,0.6); }

/* 首屏底部快捷条 */
.hero__quick {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hero__quick a { display: flex; flex-direction: column; gap: 4px; padding: 6px 10px; border-radius: var(--r-sm); }
.hero__quick a:hover { background: rgba(255,255,255,0.08); }
.hero__quick b { font-size: 15px; color: #fff; }
.hero__quick small { font-size: 12.5px; color: rgba(255,255,255,0.66); }

/* ==========================================================================
   章节通用 Section Scaffolding
   ========================================================================== */
.section { padding: var(--space-6) 0; }
.section--cream { background: var(--cream-100); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--flush-bottom { padding-bottom: 0; }

.section__head { max-width: 680px; margin-bottom: var(--space-4); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.section__head--center .section__eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.section__title { font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.section__lead { margin-top: 16px; font-size: 16.5px; color: var(--slate); line-height: 1.85; }
.section--navy .section__title { color: #fff; }
.section--navy .section__lead { color: rgba(255,255,255,0.78); }
.section--navy .section__eyebrow { color: var(--gold-400); }

/* ==========================================================================
   卡片 / 网格 Cards & Grids
   ========================================================================== */
.grid { display: grid; gap: var(--space-3); }
.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 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gold-glow);
  color: var(--gold-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 14.5px; line-height: 1.8; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14.5px; color: var(--gold-600); }
.card__link:hover { gap: 10px; }

/* 服务大卡：带图 */
.service-card { overflow: hidden; padding: 0; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.service-card__media {
  position: relative;
  height: 205px;
  background: var(--navy-700) center center / cover no-repeat;
}
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,18,32,0.55)); }
.service-card__media .label {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-serif);
}
.service-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body p { color: var(--slate); font-size: 14px; line-height: 1.8; flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.service-card__foot .price { font-size: 13px; color: var(--slate); }
.service-card__foot .price b { color: var(--gold-600); font-size: 15px; }

/* 特色 / Feature 竖排 */
.feature { display: flex; gap: 20px; }
.feature__num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  min-width: 44px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: 14.5px; line-height: 1.8; }

/* ==========================================================================
   统计条 Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  background: var(--navy-800);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-3);
  color: #fff;
}
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--gold-400); }
.stat span { font-size: 14px; color: rgba(255,255,255,0.8); }

/* ==========================================================================
   行程安排 / 步骤 Steps
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.step {
  position: relative;
  background: var(--cream-100);
  border-radius: var(--r-lg);
  padding: 30px 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 800;
  color: var(--gold-500);
}
.step h3 { font-size: 17px; margin: 14px 0 8px; }
.step p { font-size: 13.5px; color: var(--slate); line-height: 1.75; }

/* ==========================================================================
   报价 / 说明列表 Checklist
   ========================================================================== */
.check-list li {
  position: relative;
  padding: 9px 0 9px 32px;
  font-size: 15px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold-glow);
  border: 2px solid var(--gold-500);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 19px;
  width: 5px;
  height: 9px;
  border: solid var(--gold-600);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check-list--light li { color: rgba(255,255,255,0.9); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
}
.faq summary svg { transition: transform 0.25s ease; flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 24px 22px; color: var(--slate); font-size: 14.5px; line-height: 1.85; }

/* ==========================================================================
   CTA 区块
   ========================================================================== */
.cta {
  background:
    radial-gradient(120% 160% at 90% -20%, rgba(200,162,74,0.22), transparent 55%),
    var(--navy-900);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-4);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta h2 { font-family: var(--font-serif); color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   联系信息块
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--gold-glow); color: var(--gold-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { color: var(--slate); font-size: 14.5px; line-height: 1.8; word-break: break-word; }
.contact-card a:hover { color: var(--gold-600); }

/* 地图占位 */
.map-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); min-height: 320px; background: var(--cream-100); position: relative; }
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: var(--space-5) 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-4); padding-bottom: var(--space-4); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(255,255,255,0.5); }
.footer__brand p { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.66); max-width: 34ch; line-height: 1.9; }
.footer__col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.footer__col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.72); transition: color 0.15s; }
.footer__col a:hover { color: var(--gold-400); }
.footer__contact li { display: flex; gap: 10px; padding: 6px 0; }
.footer__contact svg { flex-shrink: 0; margin-top: 4px; color: var(--gold-500); }
.footer__contact a { display: inline; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ==========================================================================
   页面内容区 Page Content（服务内页 / 关于 / 联系）
   ========================================================================== */
.page-body { padding: var(--space-5) 0; }
.page-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-5); align-items: start; }
.prose h2 { font-family: var(--font-serif); font-size: 28px; margin: var(--space-4) 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--slate); font-size: 15.5px; line-height: 1.95; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; }
.prose ul li { position: relative; padding-left: 24px; margin: 8px 0; }
.prose ul li::before { content: "▪"; position: absolute; left: 2px; color: var(--gold-600); }

/* 侧边栏 */
.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.sidebar__box { background: var(--cream-100); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.sidebar__box h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 16px; }
.sidebar__box--navy { background: var(--navy-900); color: #fff; border: 0; }
.sidebar__box--navy h3 { color: #fff; }
.sidebar__phone { font-size: 24px; font-weight: 800; color: var(--gold-400); display: block; margin-bottom: 6px; }
.sidebar__phone small { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 400; display: block; margin-bottom: 18px; }
.sidebar__list a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(22,35,58,0.08); font-size: 14.5px; color: var(--ink); }
.sidebar__list a:last-child { border-bottom: 0; }
.sidebar__list a:hover { color: var(--gold-600); }

/* 面包屑 */
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.75); display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-400); }
.breadcrumb a:hover { color: #fff; }

/* 定价表 */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.price-table th {
  text-align: left;
  padding: 13px 16px;
  background: var(--navy-800);
  color: #fff;
  font-weight: 600;
}
.price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--slate); }
.price-table tr:nth-child(even) td { background: var(--cream-100); }
.price-table td.price { color: var(--gold-600); font-weight: 700; white-space: nowrap; }

/* 图片横幅 */
.banner-img { border-radius: var(--r-lg); overflow: hidden; margin: var(--space-3) 0 0; box-shadow: var(--shadow-sm); background: var(--cream-200); min-height: 260px; }
.banner-img div { height: 100%; min-height: 260px; background: center center / cover no-repeat; }

/* ==========================================================================
   页脚悬浮联系条（移动端）
   ========================================================================== */
.footer-fab {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.footer-fab a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; border-radius: var(--r-full); padding: 13px; }
.footer-fab a.fab-call { background: var(--navy-800); color: #fff; }

/* ==========================================================================
   动画 / Reveal（无 JS 时内容仍可见，fail-open）
   ========================================================================== */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式 Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__cta .btn--ghost-dark { display: none; }
  .nav__toggle { display: flex; }
  /* 让汉堡在菜单展开时也保持可点（无需依赖 z 层级） */
  .nav__toggle { position: relative; z-index: 200; }

  /* 移动端下拉菜单：锚定在吸顶头部下方，纯 display 切换，无位移/层级问题，全浏览器稳定 */
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 18px 26px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    display: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    z-index: 180;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a,
  .nav__dropdown--btn {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16.5px;
    padding: 13px 14px;
    border-radius: 8px;
  }
  .nav__links a.is-active { color: var(--gold-400); }
  .nav__links a:hover,
  .nav__dropdown--btn:hover { background: rgba(255, 255, 255, 0.06); }
  .nav__dropdown { width: 100%; }
  .nav__dropdown--btn { width: 100%; justify-content: space-between; }
  .nav__dropdown--menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    box-shadow: none;
    min-width: 0;
    display: none;
  }
  .nav__dropdown--menu.is-open { display: block; }
  .nav__dropdown--menu a { color: rgba(255, 255, 255, 0.85); padding: 12px 14px; border-radius: 8px; }
  .nav__menu-backdrop { position: fixed; inset: 0; background: rgba(8, 18, 32, 0.45); z-index: 40; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
  .nav__menu-backdrop.is-visible { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
  :root { --space-5: 56px; --space-6: 76px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero__quick { grid-template-columns: repeat(2, 1fr); }
  .footer-fab { display: grid; }
  body { padding-bottom: 66px; }

  /* 手机端隐藏除电话外的顶部信息，避免长地址溢出横向滚动 */
  .topbar__meta span:not(.topbar__phone) { display: none; }
}

@media (max-width: 640px) {
  :root { --space-4: 34px; --space-5: 46px; --space-6: 62px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__quick { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 72vh; }
  .topbar__meta span:not(.topbar__phone) { display: none; }
  .container { padding: 0 18px; }
  .section { padding: var(--space-5) 0; }

  /* 窄屏压缩导航品牌，防止横向溢出 */
  .nav { gap: 10px; padding: 0 14px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 18px; }
  .nav__cta .btn { padding: 12px 18px; font-size: 14px; }
}