/* ==========================================================
   上海盛沃律师事务所 · 民间借贷法律咨询落地页
   主色 #A61C2E · 点缀 #C9A063 · Noto Serif SC / Noto Sans SC
   ========================================================== */

:root {
  --primary: #A61C2E;
  --primary-deep: #8C1625;
  --primary-ink: #5F0F1B;
  --gold: #C9A063;
  --gold-light: #E3C893;
  --ink: #2A2422;
  --muted: #6E6561;
  --paper: #FAF6F0;
  --paper-deep: #F3ECE1;
  --dark: #241416;
  --dark-2: #2E1A1D;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(60, 20, 20, 0.10);
  --shadow-lg: 0 24px 60px rgba(60, 20, 20, 0.16);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(30, 8, 10, 0.92), rgba(30, 8, 10, 0.55));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  background: rgba(31, 9, 11, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--white);
  letter-spacing: 1.5px;
}
.brand-text small {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 6px 2px;
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 160, 99, 0.55);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.nav-tel:hover { background: var(--gold); color: var(--primary-ink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(ellipse 60% 50% at 82% 18%, rgba(201, 160, 99, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 55% at 12% 85%, rgba(143, 22, 37, 0.55), transparent 65%),
    linear-gradient(155deg, #351017 0%, #7E1422 55%, #5C0E19 100%);
  overflow: hidden;
}

.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 99, 0.22);
}
.ring-a { width: 560px; height: 560px; top: -180px; right: -120px; }
.ring-b { width: 900px; height: 900px; bottom: -480px; left: -260px; }
.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 30% 40%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 3px;
  border: 1px solid rgba(201, 160, 99, 0.5);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.6vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.hero h1 .gold {
  background: linear-gradient(120deg, #E3C893, #C9A063 45%, #F0DCB4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15.5px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 15px 34px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, #E3C893, #C9A063);
  color: var(--primary-ink);
  box-shadow: 0 12px 30px rgba(201, 160, 99, 0.35);
}
.btn-gold:hover { box-shadow: 0 18px 40px rgba(201, 160, 99, 0.45); }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-xl { font-size: 18px; padding: 18px 44px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
}

.hero-card {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(201, 160, 99, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 34px; right: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-card-title {
  font-family: var(--font-serif);
  color: var(--gold-light);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-card li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.hero-card li:last-child { border-bottom: none; }
.hero-card .num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  line-height: 1.5;
}
.hero-card strong {
  display: block;
  color: var(--white);
  font-size: 15.5px;
  line-height: 1.5;
}
.hero-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

/* ---------------- 数据信任条 ---------------- */
.stats {
  background: linear-gradient(135deg, var(--primary-ink), var(--primary-deep));
  border-bottom: 1px solid rgba(201, 160, 99, 0.25);
  position: relative;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 40% 100% at 50% 0%, rgba(201, 160, 99, 0.10), transparent 70%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 30px 16px;
  border-left: 1px solid rgba(201, 160, 99, 0.18);
}
.stat:first-child { border-left: none; }
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold-light);
  letter-spacing: 2px;
  line-height: 1.2;
}
.stat span {
  display: block;
  color: var(--white);
  font-size: 15px;
  letter-spacing: 1.5px;
  margin: 4px 0 6px;
}
.stat p { color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }

.section-kicker {
  color: var(--primary);
  font-size: 12.5px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 40px);
  color: var(--ink);
  letter-spacing: 2px;
  font-weight: 700;
}
.gold-line {
  width: 64px; height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.section-intro {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15.5px;
}
.section-head.small { margin-bottom: 30px; text-align: left; }
.section-head.small .gold-line { margin: 14px 0 0; }
.section-head.small h3 { font-family: var(--font-serif); font-size: 24px; color: var(--ink); letter-spacing: 2px; }

.hl { color: var(--primary); font-weight: 500; }

/* ---------------- 关于律所 ---------------- */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { font-size: 15.5px; margin-bottom: 20px; text-align: justify; }
.about-copy p:last-child { margin-bottom: 0; }

.about-feats { display: flex; flex-direction: column; gap: 18px; }
.feat {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--primary);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat svg { flex-shrink: 0; margin-top: 3px; }
.feat h3 { font-family: var(--font-serif); font-size: 17.5px; margin-bottom: 4px; }
.feat p { color: var(--muted); font-size: 14px; }

/* ---------------- 常见困境 ---------------- */
.pain { background: var(--white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pain-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(166, 28, 46, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
  overflow: hidden;
}
.pain-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.pain-card:hover::after { transform: scaleX(1); }

.pain-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(166, 28, 46, 0.08);
  margin-bottom: 18px;
  transition: background 0.3s, color 0.3s;
}
.pain-card:hover .pain-ico { background: var(--primary); color: var(--white); }
.pain-card h3 { font-family: var(--font-serif); font-size: 16.5px; margin-bottom: 10px; }
.pain-card p { color: var(--muted); font-size: 13.8px; }

/* ---------------- 法律知识全景 ---------------- */
.knowledge { background: linear-gradient(180deg, var(--dark), var(--dark-2)); position: relative; }
.knowledge::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 85% 8%, rgba(201, 160, 99, 0.07), transparent 65%);
  pointer-events: none;
}
.knowledge .section-head { position: relative; }
.knowledge .section-kicker { color: var(--gold); }
.knowledge .section-head h2 { color: var(--white); }
.knowledge .section-intro { color: rgba(255, 255, 255, 0.6); }

.know-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.know-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 160, 99, 0.2);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.know-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(201, 160, 99, 0.45);
}
.know-no {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--primary-ink);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 6px;
  padding: 2px 9px;
  margin-right: 8px;
  vertical-align: 2px;
}
.know-card h3 { color: var(--white); font-size: 16.5px; margin-bottom: 14px; letter-spacing: 0.5px; }
.know-card ul { display: flex; flex-direction: column; gap: 9px; }
.know-card li {
  position: relative;
  padding-left: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.3px;
  line-height: 1.7;
}
.know-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------- 解决路径 ---------------- */
.path { background: var(--paper); }
.path-steps {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.path-steps::before {
  content: "";
  position: absolute;
  left: 37px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
  opacity: 0.35;
}
.step {
  position: relative;
  display: flex;
  gap: 30px;
  padding: 22px 0 22px 0;
}
.step-no {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 76px; height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(140deg, var(--primary), var(--primary-deep));
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold), 0 10px 24px rgba(166, 28, 46, 0.25);
}
.step-body {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: var(--shadow);
  flex: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.step-body:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step-body h3 { font-family: var(--font-serif); font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 14.5px; }

/* ---------------- FAQ ---------------- */
.faq { background: var(--white); }
.faq-wrap { max-width: 880px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(166, 28, 46, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(166, 28, 46, 0.3); background: var(--white); box-shadow: var(--shadow); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--ink);
  letter-spacing: 0.3px;
  transition: color 0.25s;
}
.faq-q:hover { color: var(--primary); }
.faq-q i {
  position: relative;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--primary); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: var(--white); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; }
.faq-a-inner p {
  color: var(--muted);
  font-size: 14.5px;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

/* ---------------- 法律依据 ---------------- */
.law {
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(201, 160, 99, 0.08), transparent 60%),
    var(--dark);
}
.law .section-kicker { color: var(--gold); }
.law .section-head h2 { color: var(--white); }

.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.law-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 160, 99, 0.2);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.law-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); }
.law-ico { color: var(--gold); margin-bottom: 16px; display: inline-block; }
.law-card h3 { color: var(--white); font-family: var(--font-serif); font-size: 17.5px; margin-bottom: 12px; }
.law-card p { color: rgba(255, 255, 255, 0.66); font-size: 13.8px; }

.tips {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(201, 160, 99, 0.25);
  border-radius: 20px;
  padding: 40px 40px 36px;
}
.tips .section-head.small h3 { color: var(--white); }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tip-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  border-top: 2px solid var(--gold);
}
.tip-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 160, 99, 0.5);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}
.tip-card p { color: rgba(255, 255, 255, 0.7); font-size: 13.8px; }

/* ---------------- 联系我们 ---------------- */
.contact {
  background: linear-gradient(155deg, #7E1422 0%, #5C0E19 60%, #43101A 100%);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.contact::before, .contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 99, 0.14);
}
.contact::before { width: 480px; height: 480px; top: -220px; right: -140px; }
.contact::after { width: 640px; height: 640px; bottom: -320px; left: -200px; }

.contact-inner { position: relative; text-align: center; }
.contact .section-kicker { color: var(--gold); }
.contact .section-head h2 { color: var(--white); }
.contact .section-intro { color: rgba(255, 255, 255, 0.72); }

.contact-box {
  display: inline-block;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(201, 160, 99, 0.35);
  border-radius: 24px;
  padding: 44px 64px;
  margin: 14px 0 40px;
  box-shadow: var(--shadow-lg);
  min-width: 520px;
}
.contact-label { color: rgba(255, 255, 255, 0.6); letter-spacing: 3px; font-size: 14px; margin-bottom: 8px; }
.contact-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 14px;
  transition: color 0.25s;
}
.contact-num:hover { color: var(--white); }
.contact-tip { color: rgba(255, 255, 255, 0.55); font-size: 13.5px; margin-bottom: 26px; }

.contact-rows {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.c-row {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(201, 160, 99, 0.22);
  border-radius: 12px;
  padding: 16px 26px;
  max-width: 460px;
}
.c-row span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.c-row p { color: rgba(255, 255, 255, 0.78); font-size: 14px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #1D0B0D; color: rgba(255, 255, 255, 0.7); padding: 60px 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13.8px; color: rgba(255, 255, 255, 0.55); line-height: 1.9; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14.5px; transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-tel span { display: block; color: rgba(255, 255, 255, 0.45); font-size: 13px; letter-spacing: 2px; margin-bottom: 8px; }
.footer-tel a {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--gold-light);
  letter-spacing: 2px;
  transition: color 0.25s;
}
.footer-tel a:hover { color: var(--white); }

.footer-keywords { padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-keywords h4 { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; font-weight: 500; }
.footer-keywords p { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-keywords a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 14px;
  transition: color 0.25s, border-color 0.25s;
}
.footer-keywords a:hover { color: var(--gold-light); border-color: rgba(201, 160, 99, 0.5); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.disclaimer { max-width: 640px; text-align: right; }

.back-top {
  position: fixed;
  right: 26px; bottom: 110px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--white);
  border: 1.5px solid rgba(166, 28, 46, 0.25);
  border-radius: 50%;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.25s;
  z-index: 80;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: var(--white); }

/* ---------------- 移动端固定拨号栏 ---------------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  border-top: 1px solid rgba(201, 160, 99, 0.4);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
}
.call-bar span { opacity: 0.85; }
.call-bar strong { font-size: 17px; letter-spacing: 1px; }

/* ---------------- 滚动入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .pain-grid, .know-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .about-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .contact-box { min-width: 0; width: 100%; padding: 40px 28px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    flex-direction: column;
    gap: 6px;
    width: min(76vw, 300px);
    height: 100vh;
    padding: 96px 34px 40px;
    background: linear-gradient(180deg, #351017, #2A0C0F);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 17px; padding: 12px 6px; color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .main-nav a::after { display: none; }
  .menu-toggle { display: flex; }
  .nav-tel { padding: 8px 14px; font-size: 14px; }
  .nav-tel span { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .nav-wrap { height: 64px; gap: 14px; }
  .brand-text strong { font-size: 15.5px; letter-spacing: 0.8px; }
  .brand-text small { display: none; }
  .brand-mark svg { width: 32px; height: 32px; }

  .hero { min-height: 0; padding: 120px 0 64px; }
  .hero-kicker { font-size: 11px; padding: 6px 14px; }
  .hero h1 { font-size: 39px; letter-spacing: 2px; }
  .hero-sub { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 26px 22px; }

  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { border-left: none; border-bottom: 1px solid rgba(201, 160, 99, 0.15); padding: 22px 16px; }
  .stat:last-child { border-bottom: none; }

  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; letter-spacing: 1px; }
  .pain-grid, .know-grid, .law-grid, .tips-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 36px; }

  .step { gap: 18px; padding: 16px 0; }
  .step-no { width: 58px; height: 58px; font-size: 18px; }
  .path-steps::before { left: 28px; }
  .step-body { padding: 20px 18px; }

  .contact { padding: 76px 0 84px; }
  .contact-box { padding: 34px 20px; }
  .contact-num { font-size: 30px; letter-spacing: 1px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .disclaimer { text-align: left; }

  /* 拨号栏 + 页脚底部留白 */
  .call-bar { display: block; }
  body { padding-bottom: 62px; }
  .back-top { right: 16px; bottom: 84px; }
}