/* ============================================================
   上海盛沃律师事务所 - 二手房纠纷专项法律服务单页
   配色主题：蓝色 / 直角化设计（圆角最大 3px）
   ============================================================ */

:root {
  --blue-950: #061c40;
  --blue-900: #0a2e66;
  --blue-800: #0e3d84;
  --blue-700: #1351a6;
  --blue-600: #1765d0;
  --blue-500: #2278e6;
  --blue-400: #4f98f0;
  --blue-200: #cfe2fa;
  --blue-100: #e3eefc;
  --blue-50: #f3f8ff;
  --ink: #12233f;
  --muted: #5a6b86;
  --line: rgba(14, 61, 132, 0.14);
  --white: #ffffff;
  --r: 3px;                       /* 全站最大圆角 3px */
  --shadow-sm: 0 2px 10px rgba(10, 46, 102, 0.08);
  --shadow-md: 0 8px 28px rgba(10, 46, 102, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; color: var(--blue-900); }
p { margin: 0; }

/* ---------- 基础工具类 ---------- */
.container { width: min(1160px, 92%); margin: 0 auto; }

.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--blue-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--blue-600);
}
.eyebrow--light { color: var(--blue-200); }
.eyebrow--light::before { background: var(--blue-400); }

.sec-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  margin: 14px 0 18px;
  letter-spacing: 0.01em;
}
.sec-sub { color: var(--muted); font-size: 16px; max-width: 860px; }
.sec-head { max-width: 900px; margin-bottom: 52px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }

/* 文字强调 */
.hl { color: var(--blue-600); }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .sec-sub { color: rgba(255, 255, 255, 0.82); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 17px 30px;
  border: 0;
  border-radius: var(--r);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--tel {
  background: var(--white);
  color: var(--blue-800);
  box-shadow: 0 6px 20px rgba(6, 28, 64, 0.35);
}
.btn--tel:hover { background: var(--blue-100); }
.btn--tel .num { letter-spacing: 0.05em; }
.btn--solid {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(34, 120, 230, 0.35);
}
.btn--solid:hover { background: var(--blue-400); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--line {
  background: var(--white);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}
.btn--line:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(10, 46, 102, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
  backdrop-filter: blur(4px);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong {
  color: var(--white);
  font-size: 19px;
  letter-spacing: 0.06em;
}
.brand small {
  color: var(--blue-200);
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-top: 3px;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  padding: 8px 13px;
  border-radius: var(--r);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.header-act { display: flex; align-items: center; gap: 14px; }
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  background: var(--blue-500);
  border-radius: var(--r);
}
.header-tel:hover { background: var(--blue-400); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: var(--r);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero（首屏，左右结构） ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -10%, rgba(34, 120, 230, 0.5), transparent 62%),
    radial-gradient(900px 480px at -10% 110%, rgba(34, 120, 230, 0.28), transparent 60%),
    linear-gradient(150deg, var(--blue-950) 0%, var(--blue-900) 48%, var(--blue-700) 100%);
  color: var(--white);
}
.hero-in {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
  min-height: 100vh;
  padding-top: 132px;
  padding-bottom: 76px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--blue-200);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  padding: 7px 14px;
  border-radius: var(--r);
  letter-spacing: 0.08em;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.28;
  margin: 22px 0 16px;
  letter-spacing: 0.01em;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 30px;
}

.pain-box { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 24px; }
.pain-box h2 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pain-box h2::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--blue-400);
}
.pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 26px;
}
.pain-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--blue-400);
  border-radius: var(--r);
  box-shadow: 0 0 0 4px rgba(79, 152, 240, 0.22);
}
.pain-list b { color: var(--white); font-weight: 700; }

.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-cta .note {
  width: 100%;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.66);
}

/* 首屏右侧：电话引导卡 */
.hero-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(4, 20, 48, 0.4);
  overflow: hidden;
}
.hero-card-top {
  background: var(--blue-800);
  color: var(--white);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-top svg { width: 26px; height: 26px; color: var(--blue-200); flex: none; }
.hero-card-top strong { font-size: 17px; letter-spacing: 0.04em; display: block; }
.hero-card-top span { font-size: 13px; color: var(--blue-200); }
.hero-card-body { padding: 26px 26px 28px; }
.tel-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.tel-line small { color: var(--muted); font-size: 13px; letter-spacing: 0.2em; }
.tel-main {
  color: var(--blue-700);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.hero-card .btn--tel { width: 100%; margin-top: 14px; justify-content: center; }
.hero-card .btn--line { width: 100%; margin-top: 10px; justify-content: center; }
.hero-card-meta { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 16px; display: grid; gap: 10px; }
.meta-item { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.meta-item svg { width: 16px; height: 16px; color: var(--blue-500); flex: none; margin-top: 4px; }
.meta-item b { color: var(--ink); font-weight: 600; }
.hero-card-safe {
  margin: 14px 26px 0;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--blue-800);
  border-radius: var(--r);
}
.hero-card-safe svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* ---------- 通用区块标题下的结构 ---------- */
.sec-grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* 数字统计条 */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--white);
  padding: 34px 20px;
  text-align: center;
}
.stat b {
  display: block;
  color: var(--blue-700);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
}
.stat b em { font-style: normal; font-size: 0.62em; margin-left: 2px; }
.stat span { color: var(--muted); font-size: 14.5px; display: block; margin-top: 8px; }

/* ---------- 律所与律师介绍 ---------- */
.firm-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: start; }
.firm-copy p + p { margin-top: 16px; }
.firm-copy p { color: var(--muted); }
.firm-copy p b { color: var(--ink); }
.firm-points { display: grid; gap: 14px; margin-top: 26px; }
.firm-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-500);
  padding: 13px 16px;
  font-size: 15px;
}
.firm-points li b { color: var(--blue-900); }
.firm-side {
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--r);
  padding: 34px 32px;
  position: sticky;
  top: 100px;
}
.firm-side h3 { color: var(--white); font-size: 21px; margin-bottom: 12px; }
.firm-side p { color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.firm-side-list { margin-top: 20px; display: grid; gap: 12px; }
.firm-side-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  padding-bottom: 10px;
}
.firm-side-list svg { width: 18px; height: 18px; color: var(--blue-400); flex: none; }
.firm-side .side-tel {
  margin-top: 24px;
  display: block;
  background: var(--blue-500);
  color: var(--white);
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  padding: 14px;
  border-radius: var(--r);
  letter-spacing: 0.05em;
}
.firm-side .side-tel:hover { background: var(--blue-400); }

/* 律师卡片 */
.lawyer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--r);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lawyer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lawyer-head { display: flex; align-items: center; gap: 16px; }
.lawyer-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-500));
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
}
.lawyer-name { font-size: 21px; font-weight: 800; color: var(--blue-900); }
.lawyer-name small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 3px; letter-spacing: 0.1em; }
.lawyer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lawyer-tags span {
  font-size: 12.5px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 3px 10px;
  border-radius: var(--r);
}
.lawyer-card p { font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- 优势卡 ---------- */
.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.adv-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  flex: none;
  min-width: 44px;
}
.adv-card h3 { font-size: 17px; margin-bottom: 8px; }
.adv-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 专题详解 ---------- */
.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 44px;
}
.topic-nav a {
  font-size: 14px;
  color: var(--blue-800);
  background: var(--white);
  border: 1px solid var(--blue-200);
  padding: 8px 16px;
  border-radius: var(--r);
  transition: all 0.15s ease;
}
.topic-nav a:hover { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }

.topic-list { display: grid; gap: 24px; }
.topic {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 26px;
}
.topic-index {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  background: var(--blue-800);
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  letter-spacing: 0.06em;
}
.topic h3 { font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.topic h3 small {
  font-size: 12.5px;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 2px 10px;
  border-radius: var(--r);
  letter-spacing: 0.08em;
}
.topic-body { grid-column: 2; display: grid; gap: 10px; }
.topic-body p { font-size: 15px; color: var(--ink); }
.topic-body p i { color: var(--muted); font-style: normal; }
.tip {
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--blue-900);
}
.tip b { color: var(--blue-800); }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 18px;
  text-align: center;
  position: relative;
}
.step-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background: var(--blue-800);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 2px solid var(--blue-200);
  border-right: 2px solid var(--blue-200);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
  background: var(--blue-50);
}
.step:last-child .step-arrow { display: none; }

/* ---------- 办案经验（脱敏） ---------- */
.case-list { display: grid; gap: 16px; }
.case-item {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--r);
  padding: 20px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.case-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.case-tag { display: flex; align-items: center; gap: 8px; }
.case-tag i {
  width: 34px;
  height: 34px;
  flex: none;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}
.case-tag span { font-size: 15px; font-weight: 700; color: var(--blue-900); }
.case-item p { font-size: 14.5px; color: var(--muted); }
.case-item p b { color: var(--ink); }
.case-note {
  font-size: 13px;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: var(--r);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 1000px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--blue-900);
}
.faq-q .idx {
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
}
.faq-q .ico {
  margin-left: auto;
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--blue-600);
  transition: transform 0.22s ease;
}
.faq-item.open .faq-q .ico { transform: rotate(180deg); }
.faq-a {
  display: none;
  border-top: 1px solid var(--blue-50);
  padding: 4px 24px 20px 68px;
  font-size: 15px;
  color: var(--muted);
}
.faq-item.open .faq-a { display: block; }
.faq-a b { color: var(--blue-800); }

/* ---------- CTA ---------- */
.cta-banner {
  background:
    radial-gradient(820px 420px at 15% 0%, rgba(34, 120, 230, 0.55), transparent 60%),
    radial-gradient(700px 380px at 95% 110%, rgba(34, 120, 230, 0.35), transparent 62%),
    linear-gradient(150deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}
.cta-in { text-align: center; padding: 88px 0; }
.cta-in h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.cta-in .cta-sub { color: rgba(255, 255, 255, 0.85); max-width: 720px; margin: 16px auto 36px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta-actions .note { width: 100%; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* ---------- 联系信息 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.contact-ico {
  width: 52px;
  height: 52px;
  background: var(--blue-800);
  color: var(--white);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 17px; }
.contact-card p { font-size: 14.5px; color: var(--muted); }
.contact-card p b { color: var(--ink); display: block; font-size: 15px; }
.contact-card .tel-big {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, 0.78); }
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.9fr 1.1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer-main h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.footer-brand p { font-size: 14px; margin-top: 12px; color: rgba(255, 255, 255, 0.62); }
.footer-nav { display: grid; gap: 9px; font-size: 14.5px; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; align-items: flex-start; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-400); flex: none; margin-top: 4px; }
.footer-contact a.footer-tel { color: var(--white); font-weight: 800; font-size: 19px; letter-spacing: 0.04em; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-disclaimer {
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  margin-top: 4px;
  padding-top: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.9;
}

/* ---------- 移动端悬浮一键拨号 ---------- */
.tel-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  align-items: center;
  gap: 10px;
  background: var(--blue-500);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--r);
  box-shadow: 0 8px 24px rgba(10, 46, 102, 0.42);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.tel-fab svg { width: 20px; height: 20px; }
.tel-fab:hover { background: var(--blue-400); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3n) .step-arrow { display: none; }
  .case-item { grid-template-columns: 1fr; gap: 10px; align-items: flex-start; }
  .case-note { white-space: normal; justify-self: start; }
}

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 118px; }
  .hero-card { max-width: 560px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .firm-wrap { grid-template-columns: 1fr; }
  .firm-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--blue-950);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 4%;
    display: none;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 15.5px; }
  .nav-toggle { display: inline-flex; }
  .header-tel span { display: none; }
  .header-tel { padding: 10px; font-size: 0; }
  .header-tel svg { width: 20px; height: 20px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .pain-list { grid-template-columns: 1fr; gap: 10px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .step:nth-child(2n) .step-arrow { display: none; }
  .step { padding: 20px 12px; }
  .topic { grid-template-columns: 1fr; padding: 24px 20px; gap: 12px; }
  .topic-index { grid-row: auto; }
  .topic-body { grid-column: auto; }
  .topic h3 { font-size: 18px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 46px 0 30px; }
  .footer-bottom { flex-direction: column; }
  .tel-fab { display: inline-flex; }
  .hero-cta .btn { width: 100%; }
  .faq-q { padding: 16px 16px; font-size: 15.5px; }
  .faq-a { padding: 2px 16px 16px 16px; }
  .firm-side { padding: 26px 22px; }
  .lawyer-card { padding: 24px 20px; }
}

@media (max-width: 420px) {
  .brand strong { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
}

/* 无障碍：减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
