/* ============================================
   上海盛沃律师事务所 · 行政诉讼法律咨询落地页
   主色 #A61C2E  点缀 #C9A063
   ============================================ */
:root {
  --red: #A61C2E;
  --red-dark: #7a1422;
  --red-deep: #5e0f1b;
  --gold: #C9A063;
  --gold-light: #e3c796;
  --ink: #2b2b31;
  --ink-soft: #5c5c66;
  --paper: #faf7f2;
  --line: #e8e2d8;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 40px rgba(94, 15, 27, 0.10);
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; position: relative; }
.section-light { background: var(--white); }
.section-deep { background: linear-gradient(160deg, #71111f 0%, var(--red-dark) 55%, #5e0f1b 100%); color: #f5eded; }

.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-eyebrow {
  font-size: 13px; letter-spacing: 4px; color: var(--gold);
  font-weight: 600; margin-bottom: 14px; text-transform: uppercase;
}
.section-deep .section-eyebrow { color: var(--gold-light); }
.section-head h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700; color: var(--ink); letter-spacing: 2px;
}
.section-deep .section-head h2 { color: #fff; }
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 18px auto 0; border-radius: 2px;
}
.section-desc { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; }
.section-deep .section-desc { color: rgba(245, 237, 237, 0.82); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: 6px; font-size: 16px; font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(166, 28, 46, 0.35); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(166, 28, 46, 0.42); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.75); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(120deg, var(--gold), #b98a4e); color: #3d2a10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-xl { padding: 18px 44px; font-size: 18px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 24px rgba(46, 10, 16, 0.10);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; transition: color 0.3s; }
.site-header.scrolled .brand { color: var(--ink); }
.brand-badge {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--red), var(--red-dark));
  border: 1px solid rgba(201, 160, 99, 0.65);
  color: var(--gold-light); font-family: var(--serif); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 17px; letter-spacing: 1px; }
.brand-text em {
  font-style: normal; font-size: 9.5px; letter-spacing: 1.6px;
  color: var(--gold-light); margin-top: 3px; opacity: 0.9;
}
.site-header.scrolled .brand-text em { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 6px; font-size: 15px; color: #fff;
  transition: color 0.25s, background 0.25s; position: relative;
}
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--gold-light); }
.site-header.scrolled .nav-links a:hover { color: var(--red); }
.nav-links a.nav-cta {
  background: var(--red); color: #fff !important; font-weight: 600;
  box-shadow: 0 6px 18px rgba(166, 28, 46, 0.35);
}
.nav-links a.nav-cta:hover { background: var(--red-dark); }

.header-tel {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 40px; color: #fff; font-size: 15px; font-weight: 600;
  transition: background 0.25s, border-color 0.25s;
}
.site-header.scrolled .header-tel { color: var(--red); border-color: rgba(166, 28, 46, 0.4); }
.header-tel:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .header-tel:hover { background: rgba(166, 28, 46, 0.08); }
.header-tel svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  position: relative; z-index: 110;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 3px;
  background: #fff; transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.site-header.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.menu-toggle.active span { background: var(--red); }

/* 移动端菜单遮罩：z-index 90 < 汉堡按钮 110 */
.menu-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(30, 8, 12, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(3px);
}
.menu-mask.open { opacity: 1; visibility: visible; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background:
    radial-gradient(1000px 640px at 82% 8%, rgba(201, 160, 99, 0.22), transparent 60%),
    radial-gradient(900px 560px at 8% 92%, rgba(18, 4, 8, 0.5), transparent 65%),
    linear-gradient(155deg, #8f1526 0%, var(--red) 42%, var(--red-deep) 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.hero-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -150px; top: -180px; background: radial-gradient(circle, rgba(201, 160, 99, 0.25), transparent 65%); pointer-events: none; }
.hero-mark {
  position: absolute; right: 4vw; bottom: -6vh; font-family: var(--serif);
  font-size: clamp(220px, 30vw, 420px); line-height: 1; color: rgba(255, 255, 255, 0.045);
  user-select: none; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 48px; padding: calc(var(--header-h) + 40px) 0 90px; }

.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 14.5px; letter-spacing: 1.5px; color: var(--gold-light); margin-bottom: 22px; }
.hero-eyebrow .line { width: 46px; height: 1.5px; background: var(--gold); flex-shrink: 0; }

.hero-copy h1 { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 58px); line-height: 1.28; letter-spacing: 3px; }
.hero-copy h1 span { display: block; font-size: clamp(20px, 2.6vw, 30px); color: var(--gold-light); letter-spacing: 8px; margin-top: 14px; font-weight: 600; }

.hero-sub { margin-top: 26px; max-width: 560px; font-size: 16.5px; color: rgba(255, 255, 255, 0.9); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags li {
  padding: 6px 16px; border: 1px solid rgba(201, 160, 99, 0.65); color: var(--gold-light);
  border-radius: 40px; font-size: 13.5px; letter-spacing: 1px; background: rgba(201, 160, 99, 0.08);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-note { margin-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }

.hero-visual { display: flex; justify-content: center; }
.scale-card {
  position: relative; width: 300px; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 160, 99, 0.45);
  box-shadow: 0 30px 80px rgba(40, 6, 12, 0.45), inset 0 0 60px rgba(201, 160, 99, 0.10);
  animation: floatY 6s ease-in-out infinite;
}
.scale-card::before, .scale-card::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.scale-card::before { inset: 14px; border: 1px dashed rgba(201, 160, 99, 0.4); }
.scale-card::after { inset: -12px; border: 1px solid rgba(201, 160, 99, 0.25); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.scale-icon { width: 124px; height: 124px; }
.scale-card p { font-family: var(--serif); font-size: 17px; letter-spacing: 4px; color: var(--gold-light); }
.scale-seal { font-size: 12px; letter-spacing: 2px; color: rgba(255, 255, 255, 0.75); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 42px; height: 42px; color: rgba(255, 255, 255, 0.75); z-index: 3;
  animation: bob 1.8s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; margin: 10px auto; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 数字条 ---------- */
.stats { background: var(--red-dark); color: #fff; padding: 40px 0; border-top: 1px solid rgba(201, 160, 99, 0.35); }
.stats-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--gold-light); letter-spacing: 1px; }
.stat-num em { font-style: normal; font-size: 0.6em; margin-left: 2px; }
.stat-tel { color: #fff; border-bottom: 1.5px dashed var(--gold); padding-bottom: 2px; transition: color 0.25s; }
.stat-tel:hover { color: var(--gold-light); }
.stat-label { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); letter-spacing: 0.5px; }
.stat-sep { width: 1px; height: 44px; background: rgba(201, 160, 99, 0.4); }

/* ---------- 关于律所 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; }
.about-copy p { margin-bottom: 18px; color: var(--ink-soft); font-size: 16px; }
.about-copy strong { color: var(--red); font-weight: 700; }
.about-points { margin-top: 26px; display: grid; gap: 16px; }
.about-points li { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 14px 18px; }
.about-points svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.about-points span { font-size: 14.5px; color: var(--ink-soft); }
.about-points strong { display: block; color: var(--ink); font-size: 15px; }

.about-seal { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.seal-inner {
  position: relative; width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(150deg, var(--red), var(--red-deep));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--gold-light); box-shadow: var(--shadow), inset 0 0 40px rgba(0, 0, 0, 0.25);
}
.seal-ring { position: absolute; inset: 10px; border-radius: 50%; border: 1px solid rgba(201, 160, 99, 0.55); }
.seal-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(201, 160, 99, 0.45); }
.seal-char { font-family: var(--serif); font-size: 84px; line-height: 1; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); }
.seal-text { font-size: 14px; letter-spacing: 5px; text-align: center; }
.seal-caption { font-size: 13px; letter-spacing: 3px; color: var(--ink-soft); }

/* ---------- 卡片网格 ---------- */
.cards-grid { display: grid; gap: 24px; }
.areas-grid { grid-template-columns: repeat(4, 1fr); }
.pain-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(201, 160, 99, 0.3);
  border-radius: 12px; padding: 28px 24px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), transparent); opacity: 0.7;
}
.card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); border-color: rgba(201, 160, 99, 0.6); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(201, 160, 99, 0.14); color: var(--gold-light); margin-bottom: 18px;
  border: 1px solid rgba(201, 160, 99, 0.4);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 10px; color: #fff; letter-spacing: 1px; }
.card p { font-size: 14px; color: rgba(245, 237, 237, 0.8); }

.section-cta {
  margin-top: 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 34px; border-radius: 14px; border: 1px dashed rgba(201, 160, 99, 0.5);
  background: rgba(201, 160, 99, 0.08);
}
.section-cta p { font-size: 16px; color: #f5eded; }

/* ---------- 痛点卡片 ---------- */
.card-pain { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.card-pain::before { display: none; }
.card-pain:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 160, 99, 0.55); background: #fff; }
.pain-no { font-family: var(--serif); font-size: 15px; color: var(--gold); background: rgba(201, 160, 99, 0.16); padding: 4px 12px; border-radius: 40px; display: inline-block; margin-bottom: 16px; letter-spacing: 1px; }
.card-pain h3 { color: var(--ink); font-size: 19px; }
.card-pain p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 法律知识 ---------- */
.knowledge-grid { grid-template-columns: repeat(4, 1fr); }
.card-knowledge { background: rgba(94, 15, 27, 0.55); }
.kno-tag {
  display: inline-block; font-size: 12px; letter-spacing: 2px; color: #fff;
  background: linear-gradient(120deg, var(--gold), #b98a4e); border-radius: 4px;
  padding: 3px 12px; margin-bottom: 14px; font-weight: 600;
}
.card-knowledge strong { color: var(--gold-light); }

.flow-wrap { margin-top: 48px; background: rgba(94, 15, 27, 0.55); border: 1px solid rgba(201, 160, 99, 0.3); border-radius: 14px; padding: 36px 32px; }
.flow-title { font-family: var(--serif); text-align: center; font-size: 20px; letter-spacing: 3px; margin-bottom: 30px; color: #fff; }
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.flow-steps::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 12%, var(--gold) 88%, transparent);
  opacity: 0.5;
}
.flow-steps li { position: relative; text-align: center; }
.flow-no {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--red);
  border: 2px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 17px;
  font-weight: 700; margin-bottom: 14px;
}
.flow-steps strong { display: block; color: #fff; font-size: 15px; margin-bottom: 6px; letter-spacing: 1px; }
.flow-steps p { font-size: 13px; color: rgba(245, 237, 237, 0.75); }

/* ---------- 解决路径 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 30px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 10%, rgba(201, 160, 99, 0.5) 90%, transparent);
}
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px 20px 24px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(140deg, var(--red), var(--red-dark));
  color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(166, 28, 46, 0.35); border: 3px solid #fff;
}
.step h3 { font-family: var(--serif); font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 13.5px; color: var(--ink-soft); }

.why-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.why-item svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; margin-top: 4px; }
.why-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 法律依据 ---------- */
.laws-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.laws-grid li {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: rgba(94, 15, 27, 0.55); border: 1px solid rgba(201, 160, 99, 0.3);
  border-radius: 10px; color: #f5eded; font-size: 15.5px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.laws-grid li:hover { transform: translateY(-3px); border-color: rgba(201, 160, 99, 0.65); }
.laws-grid li span {
  font-family: var(--serif); color: var(--gold-light); font-size: 14px;
  background: rgba(201, 160, 99, 0.14); width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid rgba(201, 160, 99, 0.4);
}
.laws-grid em { display: block; font-style: normal; font-size: 12.5px; color: rgba(245, 237, 237, 0.6); margin-top: 2px; }
.laws-note { text-align: center; margin-top: 26px; font-size: 13px; color: rgba(245, 237, 237, 0.65); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.faq-item.open { border-color: rgba(201, 160, 99, 0.7); box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 24px; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink);
  font-family: var(--sans); transition: color 0.25s;
}
.faq-q:hover { color: var(--red); }
.faq-q svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 16px; }

/* ---------- 联系我们 ---------- */
.contact {
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(201, 160, 99, 0.2), transparent 60%),
    linear-gradient(150deg, #8f1526, var(--red-dark) 60%, var(--red-deep));
}
.contact-card {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(201, 160, 99, 0.4);
  border-radius: 18px; padding: 52px 56px; color: #fff;
  box-shadow: 0 30px 80px rgba(40, 6, 12, 0.4);
}
.contact-card .section-eyebrow { color: var(--gold-light); }
.contact-copy h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; letter-spacing: 2px; }
.contact-copy > p { color: rgba(255, 255, 255, 0.88); font-size: 15.5px; margin-bottom: 24px; }
.contact-copy ul { display: grid; gap: 14px; }
.contact-copy li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, 0.9); }
.contact-copy li svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; margin-top: 4px; }
.contact-copy li strong { display: block; font-size: 13px; letter-spacing: 1px; color: var(--gold-light); }
.contact-action { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-note { font-size: 13px; color: rgba(255, 255, 255, 0.75); }

/* ---------- 页脚 ---------- */
.site-footer { background: #17171a; color: #a8a8b0; padding: 60px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { display: block; font-family: var(--serif); color: #fff; font-size: 17px; letter-spacing: 1px; margin-bottom: 6px; }
.footer-brand p { font-size: 13px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.footer-tags a {
  font-size: 12.5px; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px; transition: color 0.25s, border-color 0.25s;
}
.footer-tags a:hover { color: var(--gold-light); border-color: rgba(201, 160, 99, 0.6); }
.footer-mid { padding: 26px 0; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.footer-tel a { font-family: var(--serif); color: var(--gold-light); font-size: 19px; letter-spacing: 1px; }
.footer-tel a:hover { color: #fff; }
.footer-disclaimer { font-size: 12px; line-height: 1.9; color: #7c7c86; text-align: center; padding: 0 8px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom { padding-top: 22px; text-align: center; font-size: 12.5px; color: #6f6f78; }

/* ---------- 回顶部 ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 30px; z-index: 80; width: 46px; height: 46px;
  border-radius: 12px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(166, 28, 46, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 移动端拨号栏 ---------- */
.mobile-dial {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  border-top: 1px solid rgba(201, 160, 99, 0.5);
  box-shadow: 0 -8px 26px rgba(46, 10, 16, 0.25);
}
.mobile-dial a {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; color: var(--red); font-size: 17px; font-weight: 700;
  border-radius: 10px; padding: 13px 20px; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}
.mobile-dial a:active { transform: scale(0.98); }
.mobile-dial svg { width: 20px; height: 20px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: 1fr; gap: 26px; }
  .flow-steps::before { display: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; max-width: 620px; margin: 0 auto; }
  .steps::before { display: none; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; align-items: center; padding: 20px; }
  .step-num { margin-bottom: 0; }
  .step h3 { margin-bottom: 4px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-tel { display: none; }
  .menu-toggle { display: block; }
  /* 移动端侧滑导航面板：z-index 105 高于遮罩 90，低于汉堡 110 */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(302px, 84vw);
    margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: calc(var(--header-h) + 20px) 22px 34px;
    box-shadow: -14px 0 44px rgba(30, 8, 12, 0.22);
    transform: translateX(102%); transition: transform 0.35s ease;
    z-index: 105; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ink) !important; padding: 14px 16px; font-size: 15.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:hover { color: var(--red) !important; background: var(--paper); }
  .nav-links a.nav-cta { color: #fff !important; text-align: center; border: none; border-radius: 8px; margin-top: 16px; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 110px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-seal { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .laws-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .contact-copy ul { justify-items: center; }
  .contact-copy li { text-align: left; max-width: 420px; }
  .contact-action .btn-xl { width: 100%; max-width: 420px; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
}

@media (max-width: 900px) and (min-width: 561px) {
  /* 平板端底部拨号栏 */
  .mobile-dial { display: block; }
  body { padding-bottom: 82px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 36px); }
  .brand-text em { display: none; }
  .hero { min-height: 100svh; }
  .hero-copy h1 { letter-spacing: 1.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { display: none; }
  .stats-inner { flex-direction: column; gap: 18px; }
  .stat-sep { width: 44px; height: 1px; }
  .areas-grid, .knowledge-grid, .pain-grid { grid-template-columns: 1fr; }
  .section-cta { padding: 26px 18px; }
  .section-cta .btn { width: 100%; }
  .flow-wrap { padding: 28px 20px; }
  .faq-q { padding: 16px 18px; font-size: 15px; }
  .faq-a p { padding: 14px 18px 18px; }
  .contact-card { padding: 36px 20px; border-radius: 14px; }
  .back-to-top { right: 16px; bottom: 96px; }
  .section { padding: 64px 0; }

  /* 手机端底部拨号栏（置顶层级，避开汉堡菜单遮罩交互区） */
  body { padding-bottom: 78px; }
  .mobile-dial { display: block; }
}