﻿@charset "UTF-8";
/* ============ 全局重置与变量 ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 色彩 */
  --primary: #FF6B1A;
  --primary-deep: #E54F00;
  --primary-light: #FFB07A;
  --secondary: #1E3A8A;
  --bg: #ffffff;
  --bg-alt: #FAF7F2;
  --border: #F0E6DC;
  --text: #1F2937;
  --text-muted: #6B7280;
  --success: #16A34A;

  /* 渐变 */
  --grad-hero: linear-gradient(135deg, #FFF4EC 0%, #FFEEE0 25%, #FFE4D1 50%, #FFDBBE 75%, #FFD1B0 100%);
  --grad-btn: linear-gradient(135deg, #FF8A3D 0%, #FF6B1A 100%);
  --grad-btn-hover: linear-gradient(135deg, #FF7A2A 0%, #E54F00 100%);
  --grad-card: linear-gradient(135deg, #FFF7F0 0%, #FFE9D6 100%);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 24px rgba(255, 107, 26, 0.25);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 导航栏 ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 32px;
  color: var(--text);
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 20px;
}
.brand-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-name small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  line-height: 150%;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.2s;
}
.nav-links a:hover::after { width: 100%; }

.nav-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 26, 0.08);
  transition: all 0.2s;
}
.nav-tel:hover {
  background: rgba(255, 107, 26, 0.14);
  transform: translateY(-1px);
}
.tel-icon { font-size: 18px; }
.tel-text { display: flex; flex-direction: column; line-height: 1.15; }
.tel-text small { font-size: 12px; text-align: center; color: var(--text-muted); }
.tel-text strong { font-size: 16px; color: var(--primary); font-weight: 700; letter-spacing: 0.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ============ Hero 区 ============ */
.hero {
  position: relative;
  padding: 180px 0 175px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  transform: translateZ(0);
  will-change: transform;
}
.blob-1 { width: 420px; height: 420px; background: #FFB07A; top: -120px; right: -80px; }
.blob-2 { width: 320px; height: 320px; background: #FF8A3D; bottom: -80px; left: -60px; opacity: 0.35; }
.blob-3 { width: 280px; height: 280px; background: #FFD1B0; top: 40%; left: 50%; opacity: 0.4; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero 底部 向下翻页 图标 */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(255, 106, 27, 0.18), 0 0 0 6px rgba(255, 255, 255, 0.25);
  z-index: 3;
  transform: translate(-50%, 0);
  animation: heroScrollBounce 1.8s ease-in-out infinite;
  transition: box-shadow 0.25s, background 0.25s;
  text-decoration: none;
}
.hero-scroll:hover {
  background: rgba(255, 106, 27, 1);
  box-shadow: 0 12px 32px rgba(255, 106, 27, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.45);
  animation-play-state: paused;
}
.hero-scroll:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.hero-scroll img {
  width: 35px;
  height: 35px;
  display: block;
  pointer-events: none;
  user-select: none;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { animation: none; }
}
@media (max-width: 767px) {
  .hero-scroll { display: none; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.05); }
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.hero-title .hl {
  color: var(--primary);
  background: var(--grad-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.65;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 107, 26, 0.15);
  border-bottom: 1px solid rgba(255, 107, 26, 0.15);
}
.stat strong { display: block; font-size: 45px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat strong small { font-size: 14px; font-weight: 600; margin-left: 2px; }
.stat span { font-size: 13px; color: var(--text-muted); }

.hero-cta { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--grad-btn-hover); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 107, 26, 0.35); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; padding: 16px; font-size: 16px; }

.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); }
.hero-trust span { display: inline-flex; align-items: center; }

/* Hero 右侧卡片 */
.hero-visual { position: relative; }
.phone-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f5f6f8;
  aspect-ratio: 8 / 5;
  transform: rotate(-3.5deg);
  transition: transform 0.4s ease;
}
.phone-card:hover { transform: rotate(0deg); }
.phone-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  width: 60px;
  height: 5px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}
.hero-slide > a {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slides {
  position: absolute;
  inset: 0;
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d3d8;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
}
.hero-dot.is-active {
  width: 22px;
  background: var(--primary);
  border-radius: 999px;
}
.float-tag {
  position: absolute;
  padding: 8px 14px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
}
.tag-1 { top: 10%; left: -20px; animation-delay: 0s; }
.tag-2 { bottom: 10%; right: -10px; background: var(--grad-btn); color: #fff; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ 通用 Section ============ */
.section { padding: 50px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }

.eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 107, 26, 0.1);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.eyebrow.light { background: rgba(255, 255, 255, 0.15); color: #fff; }

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-title.light { color: #fff; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ============ 网格与卡片 ============ */
.grid { display: grid; gap: 20px; }
.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(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.24s;
}

/* 优势卡片 */
.adv-card { text-align: center; }
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.adv-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-card);
  border-radius: 18px;
  font-size: 30px;
}
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* 品类卡片 */
.cat-grid { gap: 18px; }
.cat-card { text-align: center; position: relative; padding: 28px 20px 24px; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.cat-emoji { font-size: 44px; margin-bottom: 12px; line-height: 1; }
.cat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.cat-card p { font-size: 13px; color: var(--text-muted); min-height: 44px; margin-bottom: 14px; line-height: 1.55; }
.cat-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.cat-tag:hover {
  display: inline-block;
  padding: 4px 10px;
  background:#fff3ed;
  color: #ff6b1a;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}


/* ============ 服务流程 ============ */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-line {
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-light) 0,
    var(--primary-light) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}
.step { position: relative; text-align: center; z-index: 1; }
.step-num {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-btn);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
  border: 4px solid #fff;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); padding: 0 8px; }

/* ============ 价格表 ============ */
.price-table-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.price-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; font-size: 14px; }
.price-table thead { background: var(--bg-alt); }
.price-table th { font-weight: 700; color: var(--text); font-size: 13px; letter-spacing: 0.3px; }
.price-table tbody tr { border-top: 1px solid var(--border); }
.price-table tbody tr:hover { background: rgba(255, 107, 26, 0.03); }
.price-table .hl-col { background: rgba(255, 107, 26, 0.05); color: var(--primary-deep); }
.price-table .hl-col strong { font-size: 16px; font-weight: 800; color: var(--primary); }
.up { color: var(--success); font-weight: 700; }
.price-note { margin-top: 16px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ============ 服务区域 ============ */
.area-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-tag {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--text);
  transition: all 0.2s;
  cursor: default;
}
.area-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.area-tag.hot {
  background: var(--grad-card);
  border-color: var(--primary-light);
  color: var(--primary-deep);
  font-weight: 400;
}
.area-tag.hot::before { content: '🔥'; }

/* ============ 在线预约 ============ */
.booking-section {
  background: linear-gradient(135deg, #FF8A3D 0%, #FF6B1A 60%, #E54F00 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.booking-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}
.booking-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.booking-info { color: #fff; }
.booking-info .section-title { text-align: left; margin-bottom: 16px; }
.booking-desc { font-size: 16px; margin-bottom: 24px; opacity: 0.95; line-height: 1.75; }
.booking-desc a { color: #fff; font-weight: 700; text-decoration: underline; }
.booking-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; opacity: 0.95; }

.booking-form { background: #fff; color: var(--text); padding: 32px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form label { display: block; margin-bottom: 14px; }
.booking-form label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.booking-form label > span em { color: var(--primary); font-style: normal; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}
.booking-form textarea { resize: vertical; min-height: 80px; }
.form-tip { margin-top: 12px; text-align: center; font-size: 12px; color: var(--text-muted); }

/* ============ 底部 ============ */
.footer { background: #1a1a1a; color: #b8b8b8; padding: 56px 0 0; }
.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.brand-light { color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 14px; color: #888; line-height: 1.75; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #888; }
.footer-col li { transition: color 0.2s; cursor: pointer; }
.footer-col li:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #666;
  max-width: 1350px;
  margin: 0 auto;
}

/* ============ 浮动按钮 ============ */
.float-btn {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px 10px 10px;
  background: var(--grad-btn);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-primary);
  transition: all 0.2s;
  animation: float 3s ease-in-out infinite;
}
.float-btn > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-btn img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #fff;
  box-shadow:
    0 0 10px 3px rgba(255, 255, 255, 0.75),
    0 0 12px 5px rgba(255, 255, 255, 0.35);
  object-fit: cover;
  box-sizing: border-box;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px rgba(255, 107, 26, 0.4);
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ 滚动入场动画 ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
 * 新增模块 1：服务地图 + 实时动态馈
 * ============================================================ */
.map-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.map-canvas {
  position: relative;
  /* 内层背景移植到外层 */
  background: linear-gradient(135deg, #FFF7EF 0%, #FFEBD6 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 18px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

/* SVG 直接放在 .map-canvas 内，靠自身 viewBox 撑宽高比 */
.map-canvas > svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 行政区交互（仅鼠标设备） */
#chengduMap .district {
  cursor: pointer;
  transition: fill 0.18s ease, stroke 0.18s ease, stroke-width 0.18s ease, fill-opacity 0.18s ease;
}
@media (hover: hover) {
  #chengduMap .district:hover {
    fill: #FF8A3D;
    fill-opacity: 0.55;
    stroke: #FF6B1A;
    stroke-width: 1.6;
  }
}
#chengduMap .district.is-active {
  fill: #FF6B1A;
  fill-opacity: 0.8;
  stroke: #E54F00;
  stroke-width: 2.2;
}

/* SVG 内部装饰元素禁用鼠标事件 */
#chengduMap .map-heat circle { mix-blend-mode: multiply; pointer-events: none; }
#chengduMap .map-labels text { pointer-events: none; }
#chengduMap .map-center { pointer-events: none; }

/* 地图行政区点击弹窗 */
.map-popup {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, calc(-100% - 14px)) scale(0.96);
  min-width: 240px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px 12px;
  box-shadow: 0 16px 40px rgba(255, 107, 26, 0.22), 0 2px 8px rgba(0,0,0,0.08);
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 5;
  pointer-events: auto;
}
@media (max-width: 767px) {
  .map-popup {
    min-width: 170px;
    max-width: 210px;
    padding: 9px 11px 8px;
    font-size: 11px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(255, 107, 26, 0.22), 0 2px 6px rgba(0,0,0,0.08);
  }
  .map-popup .pop-title { font-size: 13px; margin-bottom: 4px; }
  .map-popup .pop-row { margin-top: 3px; gap: 5px; line-height: 1.35; }
  .map-popup .pop-icon { font-size: 12px; width: 14px; }
  .map-popup .pop-cta { margin-top: 6px; font-size: 11px; padding: 6px 10px; }
  .map-popup::after { border-width: 6px 6px 0 6px; bottom: -6px; }
  .map-popup.below::after { border-width: 0 6px 6px 6px; top: -6px; }
}
.map-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, calc(-100% - 14px)) scale(1);
}
/* 顶端区域（如彭州市）空间不足时翻到锚点下方 */
.map-popup.below {
  transform: translate(-50%, 14px) scale(0.96);
}
.map-popup.below.show {
  transform: translate(-50%, 14px) scale(1);
}
.map-popup::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* 翻转后箭头改在弹窗顶部 */
.map-popup.below::after {
  bottom: auto;
  top: -7px;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.map-popup .pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.map-popup .pop-name { font-size: 16px; font-weight: 800; color: var(--text); }
.map-popup .pop-tag {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.map-popup .pop-tag.h5 { background: #FFE0CC; color: #C73E00; }
.map-popup .pop-tag.h4 { background: #FFEBD6; color: #E04F00; }
.map-popup .pop-tag.h3 { background: #FFF1DE; color: #C56A1A; }
.map-popup .pop-tag.h2 { background: #FFF5E5; color: #A87420; }
.map-popup .pop-tag.h1 { background: #F5EEDF; color: #8C7548; }
.map-popup .pop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.map-popup .pop-row strong { color: var(--primary-deep); font-weight: 700; }
.map-popup .pop-row .muted { color: var(--text-muted); font-size: 12.5px; }
.map-popup .pop-icon { font-size: 13px; flex-shrink: 0; }
.map-popup .pop-cta {
  display: block;
  margin-top: 10px;
  padding: 9px 12px;
  text-align: center;
  background: var(--grad-btn);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.15s;
  text-decoration: none;
}
.map-popup .pop-cta:hover { transform: translateY(-1px); }

.map-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 6px 12px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 10;
}
.map-tooltip.show { opacity: 1; }

.map-canvas-tip {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--text-muted);
}
.map-canvas-tip .dot { width: 8px; height: 8px; border-radius: 50%; background: #E54F00; box-shadow: 0 0 0 3px rgba(229,79,0,0.2); }

/* 实时回收动态馈 */
.map-feed {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.feed-head { padding-bottom: 14px; border-bottom: 1px dashed var(--border); margin-bottom: 12px; }
.feed-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.feed-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.feed-sub { font-size: 12px; color: var(--text-muted); float: right;}
.feed-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
  animation: feedSlideIn 0.45s ease-out;
}
.feed-item:last-child { border-bottom: none; }
.feed-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: var(--bg-alt);
}
.feed-body { line-height: 1.5; color: var(--text); min-width: 0; }
.feed-name { font-weight: 600; }
.feed-action { color: var(--text-muted); }
.feed-device { color: var(--primary-deep); font-weight: 600; }
.feed-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.feed-time { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
@keyframes feedSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--grad-btn);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: all 0.2s;
}
.feed-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 26, 0.35); }

/* 图例：在地图下方一行排开 */
.map-legend {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.legend-row .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-row .dot.lv-hot { background: #E54F00; box-shadow: 0 0 0 3px rgba(229, 79, 0, 0.2); }
.legend-row .dot.lv-warm { background: #FF8A3D; }
.legend-row .dot.lv-cool { background: #FFB07A; }
.legend-row .dot.lv-far { background: #F0D9C2; }

.legend-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  background: var(--grad-card);
  border-radius: var(--radius-md);
  text-align: center;
}
.legend-tip strong { display: block; font-size: 12px; color: var(--text-muted); }
.legend-tip a { font-size: 15px; font-weight: 800; color: var(--primary-deep); letter-spacing: 0.3px; }

/* ============================================================
 * 新增模块 2：FAQ 常见问题
 * ============================================================ */
.faq-wrap { width: 100%; }

.faq-search {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  padding: 4px 4px 4px 18px;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}
.faq-search-icon { font-size: 16px; color: var(--text-muted); }
.faq-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 12px 12px;
  min-width: 0;
}
.faq-search input::placeholder { color: var(--text-muted); }
.faq-search-clear {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-alt);
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.faq-search-clear:hover { background: var(--primary); color: #fff; }
.faq-search-summary {
  margin-bottom: 12px;
  padding: 0 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.faq-search-summary strong { color: var(--primary); font-weight: 800; }
.faq-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.faq-empty::before {
  content: '🔍';
  display: block;
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.faq-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  position: relative;
  isolation: isolate;
}
.faq-tabs::-webkit-scrollbar { display: none; }
/* 悬浮滑块：跟随鼠标 / active 状态平滑滑动 */
.faq-tab-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  background: var(--grad-btn);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    top 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
}
.faq-tab-slider.is-ready { opacity: 1; }
.faq-tab {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: max-content;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.28s ease;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.faq-tab:hover { color: #fff; }
.faq-tab.active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .faq-tab-slider { transition: opacity 0.2s ease; }
}

.faq-panels { position: relative; }
.faq-panel { display: none; }
.faq-panel.active {
  display: block;
  column-count: 2;
  column-gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  /* 关键：多列布局下避免单条 Q&A 被切断到下一列 */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
}
.faq-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-item.hidden { display: none !important; }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q';
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-btn);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { background: rgba(255, 107, 26, 0.04); }

.faq-answer {
  padding: 10px 16px 10px 46px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 搜索模式：所有面板都显示并扁平铺开，同样使用多列布局保证左右独立高度 */
.faq-wrap.searching .faq-tabs { opacity: 0.55; pointer-events: none; }
.faq-wrap.searching .faq-panel { display: block; column-count: 2; column-gap: 12px; margin-top: 12px; }
.faq-wrap.searching .faq-panel.empty-panel { display: none; }
.faq-wrap.searching .faq-panel + .faq-panel { margin-top: 12px; }

/* ============================================================
 * 新增模块 3：客户评价（9 条 / 默认 3 条 / 自动轮播）
 * ============================================================ */
.reviews-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 4px;
  margin: 0 -4px;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  transition: transform 0.65s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.reviews-dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.reviews-dot.active { width: 36px; background: var(--grad-btn); }

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding: 28px 26px 24px;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  right: 24px;
  font-size: 80px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255, 107, 26, 0.15);
  font-weight: 700;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}
.review-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 2px solid #fff;
  outline: 2px solid var(--primary-light);
  outline-offset: -2px;
  background: var(--bg-alt);
}
.review-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.review-meta { font-size: 12px; color: var(--text-muted); }
.review-stars {
  color: #FFB400;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text);
  flex: 1;
}
.review-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  background: rgba(255, 107, 26, 0.08);
  color: var(--primary-deep);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}


/*真实成交记录*/
.feed-head {
  display: flex;
  justify-content: space-between; /* 左右两端分开 */
  align-items: center; /* 垂直居中对齐 */
}


.reviews-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
  margin-top: 40px;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.rs-item { text-align: center; }
.rs-item strong {
  display: block;
  font-size: 28px;
  font-weight: 350;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.rs-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.rs-divider { width: 1px; height: 36px; background: var(--border); }

/* ============================================================
 * 新增模块 4：小红书 / 视频号
 * ============================================================ */
.social-grid { gap: 24px; }
/* 社媒卡片 PC + 平板始终保持三栏左中右 */
.social-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.social-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  transition: all 0.24s;
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.social-card.xhs { --card-bg: linear-gradient(135deg, #FF2442, #FF6B7E); }
.social-card.sph { --card-bg: linear-gradient(135deg, #07C160, #14D67C); }
.social-card.wechat { --card-bg: linear-gradient(135deg, #07C160, #1AAD19); }
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.social-card.xhs:hover { box-shadow: 0 12px 32px rgba(255, 36, 66, 0.15); }
.social-card.sph:hover { box-shadow: 0 12px 32px rgba(7, 193, 96, 0.15); }
.social-card.wechat:hover { box-shadow: 0 12px 32px rgba(7, 193, 96, 0.15); }

.social-head {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.social-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: #fff;
}
.social-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xhs-logo { background: #fff; }
.sph-logo { background: #fff; }
.wechat-logo { background: #fff; }

.social-info h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 0px; }
.social-id { font-size: 13px; color: var(--text-muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.social-tag { font-size: 13px; color: var(--text-muted); margin-top: 0px; }

.social-qr-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.social-qr {
  width: 110px;
  height: 110px;
  background: #fff;
  border: 2px solid var(--text);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}
.social-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.social-card.xhs .social-qr { border-color: #FF2442; }
.social-card.sph .social-qr { border-color: #07C160; }
.social-card.wechat .social-qr { border-color: #07C160; }

.social-qr-tip { display: flex; flex-direction: column; gap: 6px; }
.social-qr-tip strong { font-size: 16px; font-weight: 700; color: var(--text); }
.social-qr-tip span { font-size: 13px; color: var(--text-muted); }
.social-qr-tip em { color: var(--primary); font-weight: 700; font-style: normal; }

/* 移动端 · 社媒轮播圆点指示器（默认桌面隐藏，@media 手机端启用） */
/* 桌面 / 平板：克隆卡片全部隐藏，仅保留原始三张 */
.social-card.is-clone,
.cat-card.is-clone { display: none; }
.social-dots,
.cat-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.social-dot,
.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9D9D9;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.social-dot:hover,
.cat-dot:hover { background: #BFBFBF; }
.social-dot[aria-current="true"],
.cat-dot[aria-current="true"] {
  background: var(--primary);
  width: 22px;
  border-radius: 999px;
}

/* ============================================================
 * 响应式（含原始 + 新模块）
 * ============================================================ */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  /* 社媒：平板继续保持 3 列，且二维码区改为竖排（节省横向空间） */
  .social-grid.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .social-grid .social-qr-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
  .social-grid .social-qr-tip { align-items: center; }
  .social-grid .social-qr { width: 100px; height: 100px; }
  .social-grid .social-head { gap: 12px; }
  .social-grid .social-logo { width: 44px; height: 44px; }
  .social-grid .social-info h3 { font-size: 15px; }
  .social-grid .social-id, .social-grid .social-tag { font-size: 12px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-line { display: none; }
  .booking-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-wrap { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; gap: 18px; }
  .map-feed { min-height: 420px; }
  .map-legend {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 18px;
  }
  .map-legend .legend-tip { grid-column: 1 / -1; }
  .faq-panel.active { column-count: 1; }
  .faq-wrap.searching .faq-panel { column-count: 1; }
  .reviews-track { grid-auto-columns: calc((100% - 22px) / 2); }

  /* 导航：≤1023px（含 iPad Air 竖屏 820、iPad 9.7" 768、各类平板低分辨率）统一切换为汉堡菜单，避免横向布局变形 */
  .nav-wrap { height: 64px; gap: 16px; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 14px 52px 14px 24px;
    border-bottom: 1px solid var(--border);
    background: url("../images/jiantou.png") no-repeat right 20px center;
    background-size: 24px auto;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-tel { display: none; }
  .nav-toggle { display: flex; }
  .brand { font-size: 26px; flex: 1; }
  .brand-icon { width: 42px; height: 42px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav-wrap { height: 60px; }
  .nav-links { top: 60px; }
  .brand { font-size: 22px; flex: 1; }
  .brand-icon { width: 38px; height: 38px; }

  .hero { padding: 90px 0 56px; }
  .hero-title { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat strong { font-size: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { justify-content: center; text-align: center; font-size: 12px; }
  .phone-card { transform: none; }
  .tag-1, .tag-2 { display: none; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 22px; }
  .section-desc { font-size: 14px; }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  /* 回收品类卡片在小屏下切换为横向滑动轮播（一次显示一张 + 底部圆点指示器） */
  .cat-grid.grid-4 {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
    padding: 4px 0;
    background: transparent;
    isolation: isolate;
    contain: layout paint;
    transform: translateZ(0);
  }
  .cat-grid.grid-4::-webkit-scrollbar { display: none; }
  .cat-grid.grid-4 > .cat-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    touch-action: pan-x pan-y;
  }
  .cat-card .pinlei {
    aspect-ratio: 500 / 305;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }
  .cat-grid.grid-4 > .cat-card,
  .social-grid.grid-3 > .social-card {
    transition: none;
  }
  .cat-grid.grid-4 > .cat-card:hover {
    transform: none;
    box-shadow: none;
  }
  /* 社媒卡片在小屏下切换为横向滑动轮播（一次显示一张 + 底部圆点指示器） */
  .social-grid.grid-3 {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
    padding: 4px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    isolation: isolate;
    contain: layout paint;
    transform: translateZ(0);
  }
  .social-grid.grid-3::-webkit-scrollbar { display: none; }
  .social-grid.grid-3 > .social-card {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    touch-action: pan-x pan-y;
    /* 每张卡保持自己的圆角/边框/背景，作为独立整体一起滑动 */
  }
  /* 触屏保留的 hover 状态在轮播里会导致高度抖动、圆角处露底色，禁掉 */
  .social-grid.grid-3 > .social-card:hover {
    transform: none;
    box-shadow: none;
  }
  .social-grid.grid-3 > .social-card {
    transition: none;
  }
  .social-dots,
  .cat-dots { display: flex; }
  /* 移动端：显示克隆卡片，供无缝循环使用 */
  .social-card.is-clone,
  .cat-card.is-clone { display: block; }
  .card { padding: 22px 18px; }

  .process { grid-template-columns: 1fr; gap: 28px; }
  .step-num { width: 56px; height: 56px; font-size: 18px; }

  .form-row { grid-template-columns: 1fr; }
  .booking-form { padding: 24px 18px; }

  /* 页脚：手机/平板保持 2 列布局 */
  .footer-wrap { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding-bottom: 26px; }
  .footer-col h4 { font-size: 14px; margin-bottom: 12px; }
  .footer-col ul { font-size: 12.5px; gap: 8px; }
  .footer-col li { line-height: 1.55; }
  .footer-bottom { flex-direction: column; align-items: flex-start; font-size: 11px; padding: 16px; }

  .float-btn { right: 16px; bottom: 20px; padding: 12px 18px; font-size: 14px; }

  /* 新模块响应式 */
  .map-canvas { min-height: 360px; padding: 12px; }
  #chengduMap .map-labels text { font-size: 9px; }
  .map-feed { min-height: 360px; padding: 18px; }
  .feed-head h3 { font-size: 15px;}
  .feed-item { font-size: 12px; gap: 8px; }
  .feed-avatar { width: 32px; height: 32px; }
  .feed-price { font-size: 12px; }
  .map-legend { grid-template-columns: repeat(2, 1fr); gap: 10px 14px; padding: 14px; }
  .map-legend .legend-tip { grid-column: 1 / -1; padding: 10px 12px; }
  .legend-row { font-size: 12px; }

  .faq-tabs { gap: 4px; padding: 4px; }
  .faq-tab { padding: 10px 14px; font-size: 13px; min-width: max-content; }
  .faq-item summary { padding: 11px 14px; font-size: 13px; }
  .faq-answer { padding: 0 14px 12px 42px; font-size: 12.5px; }
  .faq-search { padding: 4px 4px 4px 14px; }
  .faq-search input { padding: 10px 8px; font-size: 13px; }

  .reviews-track { grid-auto-columns: 100%; }
  .review-card { padding: 22px 20px; }
  .review-head { grid-template-columns: auto 1fr; }
  .review-stars { grid-column: 2; font-size: 13px; margin-top: 4px; }
  .review-text { font-size: 13.5px; }
  .reviews-stats { gap: 16px 20px; padding: 20px 16px; }
  .rs-divider { display: none; }
  .rs-item strong { font-size: 22px; }

  /* 小红书/视频号卡片：手机/平板保持二维码左右布局 */
  .social-card { padding: 22px 18px; gap: 16px; }
  .social-qr-wrap { grid-template-columns: auto 1fr; gap: 14px; padding: 14px; text-align: left; }
  .social-qr { width: 88px; height: 88px; margin: 0; }
  .social-qr-tip { align-items: flex-start; }
  .social-info h3 { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .section-title { font-size: 20px; }
  .float-text { display: none; }
  .float-btn {
    padding: 6px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
  }
  .float-btn img {
    width: 40px;
    height: 40px;
  }
  /* 极窄屏：hero-stats 仍保持一行 4 列，整体字号收紧防溢出 */
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 14px 0;
  }
  .stat strong { font-size: 32px; line-height: 1.15; }
  .stat strong small { font-size: 10px; margin-left: 1px; }
  .stat span { font-size: 11px; }

  /* 极窄屏：地图标签和二维码可进一步缩小，但布局保持 */
  #chengduMap .map-labels text { font-size: 8px; }
  .social-qr { width: 76px; height: 76px; }
  .social-qr-wrap { padding: 12px; gap: 10px; }
  .social-qr-tip strong { font-size: 14px; }
  .social-qr-tip span { font-size: 11.5px; }

  /* 页脚保持 2 列，不退化为 1 列 */
  .footer-wrap { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .footer-col h4 { font-size: 13px; }
  .footer-col ul { font-size: 12px; }
}

