/* ============================================================================
 * design_spec_v1 — base.css v1.0 (P0 全量替换)
 * 上海衷遥制冷 PC 端视觉翻新 — 配套 5 页模板
 * 提交: 2026-09-12 13:35 · design 子代理
 * ============================================================================ */

:root {
  /* ── Color Tokens (老板指定 v1) ─────────────────────────────────────── */
  --color-primary:        #3A4570;   /* 深蓝主色（替换原 #1a4d8f） */
  --color-primary-dark:   #1f2940;   /* hero 背景渐变终点 */
  --color-primary-light:  #5B6A95;   /* hover/line 浅蓝 */
  --color-accent:         #D63A2F;   /* CTA 红橙（替换原 #ff6b35） */
  --color-accent-dark:    #B22E25;   /* accent hover */
  --color-accent-soft:    rgba(214, 58, 47, 0.10);

  --color-text:           #1f2937;
  --color-text-muted:     #6b7280;
  --color-bg:             #ffffff;
  --color-bg-soft:        #f6f8fb;   /* 替换原 #f7f9fc */
  --color-border:         #e5e7eb;

  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-danger:  #dc2626;

  /* ── Typography ─────────────────────────────────────────────────────── */
  --fs-xs:   1.2rem;
  --fs-sm:   1.4rem;
  --fs-base: 1.6rem;
  --fs-lg:   1.8rem;
  --fs-xl:   2rem;
  --fs-2xl:  2.4rem;
  --fs-3xl:  3rem;
  --fs-4xl:  3.6rem;

  /* ── Spacing scale ──────────────────────────────────────────────────── */
  --sp-1: 0.4rem;
  --sp-2: 0.8rem;
  --sp-3: 1.2rem;
  --sp-4: 1.6rem;
  --sp-5: 2.4rem;
  --sp-6: 3.2rem;
  --sp-8: 4.8rem;
  --sp-10: 6.4rem;

  /* ── Layout ─────────────────────────────────────────────────────────── */
  --header-h:       7rem;        /* ★ 关键：原 6→7rem，给 logo + CTA 留位 */
  --container-max:  1200px;
  --container-pad:  1.6rem;

  /* ── Radius ─────────────────────────────────────────────────────────── */
  --radius-sm:   0.4rem;
  --radius-md:   0.8rem;
  --radius-lg:   1.2rem;
  --radius-pill: 999rem;

  /* ── Shadow ─────────────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* ── Motion ─────────────────────────────────────────────────────────── */
  --transition: all 0.2s ease;

  /* ── Font Stack ─────────────────────────────────────────────────────── */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei",
               "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================================
 * Reset & Base
 * ============================================================================ */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--color-accent); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================================
 * Layout primitives
 * ============================================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section { padding: var(--sp-6) 0; }
@media (min-width: 768px) { .section { padding: var(--sp-8) 0; } }

.section-title {
  font-size: var(--fs-2xl);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
@media (min-width: 768px) { .section-title { font-size: var(--fs-3xl); } }
.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
  font-size: var(--fs-base);
}
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }

/* ============================================================================
 * Header — 修法 #1 + #2
 *  - position: sticky + z-index: 1000 → 防 hero 覆盖 logo
 *  - height 7rem → logo + 5 nav + phone + CTA 一行展示无压力
 *  - hover 下划线（nav-link::after）
 * ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;                   /* ★ 修法 #1：必须高于 hero 内容 */
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: relative;
  gap: var(--sp-4);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.site-logo img { width: 4rem; height: 4rem; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo-text small {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: 400;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: var(--fs-2xl);
  color: var(--color-primary);
}

.nav-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-2) 0;
  box-shadow: var(--shadow-md);
}
.nav-list.is-open { display: flex; }

.nav-link {
  display: block;
  padding: var(--sp-3) var(--container-pad);
  font-size: var(--fs-base);
  color: var(--color-text);
  border-left: 3px solid transparent;
  position: relative;
  transition: var(--transition);
}
/* 修法 #2 — hover 下划线（PC 用 ::after，移动用 border-left） */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover, .nav-link.is-active { color: var(--color-primary); }
.nav-link:hover::after, .nav-link.is-active::after { width: 70%; }

.nav-cta-group {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}
.nav-phone {
  font-size: var(--fs-lg);
  color: var(--color-accent);
  font-weight: 700;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--color-accent-dark); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 0;
    align-items: center;
    gap: var(--sp-1);
    box-shadow: none;
  }
  .nav-link {
    padding: var(--sp-2) var(--sp-3);
    border-left: none;
  }
  .nav-cta-group { display: flex; }
}

/* ============================================================================
 * Hero — 修法 #1, #3, #4, #6
 * ============================================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  /* ★ 修法 #1：上 padding 给 header 留位，避免 logo 被压 */
  padding: calc(var(--header-h) + var(--sp-4)) 0 var(--sp-10);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(214, 58, 47, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.05), transparent 50%);
  pointer-events: none;
}
/* SVG 雪花装饰 — 低 opacity 平铺 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1.2'><path d='M100 30v140M30 100h140M52 52l96 96M148 52l-96 96'/><circle cx='100' cy='100' r='6'/><circle cx='50' cy='50' r='2'/><circle cx='150' cy='150' r='2'/></g></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-title {
  font-size: var(--fs-2xl);
  font-weight: 800;                /* ★ 修法 #3：字重 700→800 */
  line-height: 1.2;
  margin-bottom: var(--sp-4);
  white-space: nowrap;             /* ★ 修法 #3：单行不截断 */
  max-width: 100%;
}
.hero-subtitle {
  font-size: var(--fs-base);
  opacity: 0.92;
  margin: 0 auto var(--sp-6);
  max-width: 90%;                  /* ★ 修法 #4：留 10% 缓冲避免边切 */
  line-height: 1.7;                /* ★ 修法 #6：line-height 充足 */
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.hero-meta {
  font-size: var(--fs-sm);
  opacity: 0.85;
  line-height: 1.7;
  margin-top: var(--sp-4);
}

@media (min-width: 768px) {
  .hero-title { font-size: var(--fs-4xl); }
  .hero-subtitle { font-size: var(--fs-lg); }
}

/* ============================================================================
 * Buttons — 修法 #5
 * ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}
/* ★ 修法 #5 — 移除默认 focus outline 导致的「灰底色块」bug */
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  /* ★ 修法 #5 — hover 红光阴影，不再是灰底色块 */
  box-shadow: 0 4px 12px rgba(214, 58, 47, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-outline.is-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-outline.is-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* ============================================================================
 * Stats — 修法 #7（4 列 grid + 独立 stat-card）
 * ============================================================================ */
.stats { background: var(--color-bg-soft); }
.stats-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 992px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.stat-icon {
  width: 5.2rem;
  height: 5.2rem;
  margin: 0 auto var(--sp-3);
  color: var(--color-accent);
}
.stat-icon svg { width: 100%; height: 100%; }
.stat-number {
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}
.stat-unit {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-left: 0.4rem;
  font-weight: 600;
}
.stat-label {
  margin-top: var(--sp-2);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* ============================================================================
 * Service / Card grid — 修法 #8
 * ============================================================================ */
.card-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
/* ★ 修法 #8 — hover 上移 + 边框变 accent + 阴影加深 */
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card-icon {
  width: 6.4rem;
  height: 6.4rem;
  margin-bottom: var(--sp-3);
  color: var(--color-accent);
  flex-shrink: 0;
}
.card-icon svg { width: 100%; height: 100%; }

.card-title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
  font-weight: 700;
}
.card-text {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  flex: 1;
  line-height: 1.7;
}
.card-cta {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}
.card-cta:hover { color: var(--color-accent-dark); }

/* ============================================================================
 * Case card (cover placeholder)
 * ============================================================================ */
.case-card .case-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7); font-size: var(--fs-2xl);
}

/* ============================================================================
 * Testimonial / Badge
 * ============================================================================ */
.testimonial {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-accent);
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
}
.testimonial-text {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: var(--sp-2);
  font-style: italic;
}
.testimonial-meta {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-5);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: var(--color-text);
}
.badge-icon { color: var(--color-accent); }

/* ============================================================================
 * About — 历程时间线
 * ============================================================================ */
.timeline {
  position: relative;
  padding-left: var(--sp-6);
  margin-top: var(--sp-5);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--sp-5);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-border);
}
.timeline-year {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
}
.timeline-text {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  margin-top: var(--sp-1);
  line-height: 1.7;
}

/* 资质徽章网格 */
.credential-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .credential-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .credential-grid { grid-template-columns: repeat(4, 1fr); } }

.credential {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.credential:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.credential-icon {
  width: 4rem; height: 4rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
.credential-text { font-size: var(--fs-sm); color: var(--color-text); line-height: 1.4; }
.credential-text strong { display: block; color: var(--color-primary); font-size: var(--fs-base); }

/* ============================================================================
 * FAQ — 手风琴 + 侧边分类
 * ============================================================================ */
.faq-layout {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 992px) { .faq-layout { grid-template-columns: 240px 1fr; } }

.faq-side {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-3));
  height: max-content;
}
.faq-side h3 {
  font-size: var(--fs-base);
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
.faq-cat {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  color: var(--color-text);
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.faq-cat:hover, .faq-cat.is-active {
  background: var(--color-primary);
  color: #fff;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-3) 0;
}
.faq-q {
  width: 100%;
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) 0;
  gap: var(--sp-3);
  transition: var(--transition);
}
.faq-q:hover { color: var(--color-accent); }
.faq-q::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--color-accent);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}
.faq-item.is-open .faq-a {
  max-height: 50rem;
  padding: var(--sp-3) 0;
}

/* ============================================================================
 * Contact — 2 列布局
 * ============================================================================ */
.contact-layout {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .contact-layout { grid-template-columns: 1fr 1fr; } }

.contact-info-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.contact-info-card h2 {
  color: #fff;
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-4);
  font-weight: 700;
}
.info-item {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  align-items: flex-start;
}
.info-item-icon {
  width: 4rem; height: 4rem;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.info-item-icon svg { width: 2rem; height: 2rem; }
.info-item-body { flex: 1; }
.info-item-label { font-size: var(--fs-xs); opacity: 0.7; margin-bottom: 0.4rem; }
.info-item-value { font-size: var(--fs-base); font-weight: 600; line-height: 1.5; }

.map-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  margin-top: var(--sp-4);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================================
 * Form
 * ============================================================================ */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.form-card h2 {
  color: var(--color-primary);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-4);
  font-weight: 700;
}
.form-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; }
.form-label {
  font-size: var(--fs-sm);
  color: var(--color-text);
  margin-bottom: var(--sp-1);
  font-weight: 500;
}
.form-label .req { color: var(--color-danger); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: var(--sp-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--fs-base);
  background: #fff;
  transition: var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58, 69, 112, 0.12);
}
.form-textarea { min-height: 12rem; resize: vertical; }
.form-help { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--sp-1); }
.form-error { font-size: var(--fs-xs); color: var(--color-danger); margin-top: var(--sp-1); min-height: 1.6rem; }
.form-submit { margin-top: var(--sp-3); width: 100%; justify-content: center; }

/* ============================================================================
 * CTA banner (footer 上方深色条)
 * ============================================================================ */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: var(--sp-8) 0;
}
.cta-banner h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}
.cta-banner p {
  opacity: 0.9;
  margin-bottom: var(--sp-5);
}
.cta-banner .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
@media (min-width: 768px) { .cta-banner h2 { font-size: var(--fs-3xl); } }

/* ============================================================================
 * Footer
 * ============================================================================ */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--sp-6) 0 var(--sp-3);
}
.footer-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-title {
  color: #fff;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  font-weight: 600;
}
.footer-item {
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  line-height: 1.6;
}
.footer-item-icon { color: var(--color-accent); flex-shrink: 0; }
.footer-item a { color: rgba(255, 255, 255, 0.85); }
.footer-item a:hover { color: var(--color-accent); }
.footer-qr {
  width: 12rem; height: 12rem;
  background: #fff; border-radius: var(--radius-md);
  padding: var(--sp-2); display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.footer-qr img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr-caption {
  font-size: var(--fs-xs); text-align: center;
  margin-top: var(--sp-2); opacity: 0.7;
}
.footer-bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: var(--fs-xs);
  opacity: 0.7;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.85); }

/* ============================================================================
 * FAB — 设计 OK，由 dev 端到端真测
 * ============================================================================ */
.fab-group {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 90;
}
.fab {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.fab:hover { transform: scale(1.08); }
.fab-phone { background: var(--color-accent); }
.fab-wechat { background: #07c160; }
.fab-top {
  background: var(--color-primary);
  opacity: 0; pointer-events: none;
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============================================================================
 * A11y
 * ============================================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
