/* ============================================
   上海盛沃律师事务所 · 离婚纠纷专题落地页
   主题色：#A61C2E  点缀：#C9A063
   圆角规范：最大 3px
   ============================================ */

:root {
  --red: #A61C2E;
  --red-dark: #7E1422;
  --red-deep: #5C0E18;
  --gold: #C9A063;
  --gold-light: #E3C894;
  --ink: #2B2320;
  --ink-2: #5A4A44;
  --paper: #FAF6F0;
  --paper-2: #F3EADF;
  --white: #FFFFFF;
  --line: #E4D8C8;
  --radius: 3px;
  --shadow: 0 4px 18px rgba(92, 14, 24, .10);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
}

img, svg { vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ========== 通用区块 ========== */
.section { padding: 84px 0; }

.sec-head { text-align: center; margin-bottom: 52px; }

.sec-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .28em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
  padding: 2px 0;
  border-bottom: 2px solid var(--gold);
}

.sec-head h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}

.sec-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
}

.sec-sub { margin-top: 16px; font-size: 16px; color: var(--ink-2); }

.sec-cta {
  margin-top: 48px;
  text-align: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
}

.sec-cta p { font-size: 17px; font-weight: 600; margin-bottom: 16px; color: var(--ink); }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn svg { width: 20px; height: 20px; }

.btn-gold { background: var(--gold); color: #3A2A10; }
.btn-gold:hover { background: #B98A4C; color: #fff; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }

.btn-line { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(166,28,46,.15); }
.btn-line:hover { background: #fff; color: var(--red); border-color: #fff; }

.btn-call { animation: btnPulse 2.4s ease-in-out infinite; }

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,160,99,.45); }
  50% { box-shadow: 0 0 0 10px rgba(201,160,99,0); }
}

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(92, 14, 24, .97);
  border-bottom: 2px solid rgba(201,160,99,.35);
  transition: box-shadow .3s ease;
}

.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 44px; height: 44px; flex: none; }
.brand-text { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .08em; line-height: 1.25; }
.brand-text small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .22em; color: var(--gold-light); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: rgba(255,255,255,.92); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; transition: color .25s; }
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.active { color: var(--gold-light); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
}
.main-nav .nav-tel {
  color: var(--gold-light);
  font-weight: 700;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px 16px;
  transition: all .25s;
}
.main-nav .nav-tel:hover { background: var(--gold); color: #3A2A10; }

.header-tel {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
}
.header-tel svg { width: 20px; height: 20px; }

/* ========== 汉堡按钮 ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  transition: all .3s ease;
}
.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); }

/* ========== 移动端侧滑菜单 ========== */
.menu-mask {
  position: fixed;
  inset: 0;
  background: rgba(30, 8, 12, .55);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.menu-mask.show { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  max-width: 82vw;
  background: var(--red-deep);
  z-index: 105;
  padding: 96px 30px 40px;
  transform: translateX(100%);
  transition: transform .32s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav a {
  display: block;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-menu nav a:hover { color: var(--gold-light); }
.mm-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  background: var(--gold);
  color: #3A2A10;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 0;
  border-radius: var(--radius);
}
.mm-call svg { width: 20px; height: 20px; }

body.menu-open { overflow: hidden; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(150deg, #7E1422 0%, #A61C2E 46%, #8A1826 100%);
  color: #fff;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(201,160,99,.08) 45% 45.3%, transparent 45.3% 100%),
    linear-gradient(295deg, transparent 0 60%, rgba(255,255,255,.05) 60% 60.4%, transparent 60.4% 100%);
  background-size: 220px 220px, 300px 300px;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border: 2px solid rgba(201,160,99,.28);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -180px; left: -100px;
  width: 460px; height: 460px;
  border: 2px solid rgba(201,160,99,.16);
  border-radius: 50%;
}

.hero-inner { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--gold-light);
  border: 1px solid rgba(201,160,99,.55);
  border-radius: var(--radius);
  padding: 6px 16px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
}
.hero h1 span { color: var(--gold-light); }

.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
}

.hero-desc {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,.8);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 44px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,.92);
}
.hero-points svg { width: 22px; height: 22px; flex: none; }

/* ========== 数据条 ========== */
.stats { background: var(--red-deep); color: #fff; border-top: 2px solid rgba(201,160,99,.4); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 34px 10px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-size: 40px; font-weight: 800; color: var(--gold-light); line-height: 1.1; }
.stat-item strong em { font-style: normal; font-size: 20px; font-weight: 700; margin-left: 4px; }
.stat-item span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.85); letter-spacing: .1em; }

/* ========== 常见困境 ========== */
.pain { background: var(--paper); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pain-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
  font-style: italic;
  letter-spacing: .02em;
}
.pain-card h3 { font-size: 19px; font-weight: 700; margin: 12px 0 10px; color: var(--ink); }
.pain-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

/* ========== 专题总览 ========== */
.topics { background: linear-gradient(160deg, #5C0E18 0%, #7E1422 55%, #5C0E18 100%); }
.topics .sec-tag { color: var(--gold-light); }
.topics .sec-head h2 { color: #fff; }
.topics .sec-sub { color: rgba(255,255,255,.82); }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.topic-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,160,99,.4);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  color: #fff;
  transition: all .28s ease;
}
.topic-card:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-5px); }
.topic-card:hover .topic-idx { color: #5C0E18; }
.topic-card:hover h3 { color: #3A2A10; }
.topic-card:hover p { color: #4A3A20; }
.topic-idx { display: block; font-size: 20px; font-weight: 800; color: var(--gold-light); font-style: italic; }
.topic-card h3 { font-size: 17px; font-weight: 700; margin: 8px 0 6px; }
.topic-card p { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.78); }

/* ========== 专题详解 ========== */
.detail { background: var(--paper); padding-top: 40px; }

.detail-block {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-bottom: 26px;
  scroll-margin-top: 92px;
}

.detail-head h2 { font-size: 26px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 14px; }
.detail-head h2::after { content: ""; width: 34px; height: 3px; background: var(--gold); display: inline-block; }
.detail-head > p { margin-top: 12px; font-size: 15px; color: var(--ink-2); line-height: 1.9; max-width: 960px; }

.detail-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.detail-col {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.detail-col h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.detail-col ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 8px;
}
.detail-col ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.detail-tel {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  transition: color .25s;
}
.detail-tel:hover { color: #7E1422; }

/* ========== 律师团队 ========== */
.team { background: var(--paper-2); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--red);
  border-radius: var(--radius);
  text-align: center;
  padding: 36px 28px 30px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-avatar { width: 84px; height: 84px; margin: 0 auto 18px; border: 2px solid var(--gold); border-radius: 50%; overflow: hidden; background: var(--paper); }
.team-avatar svg { width: 100%; height: 100%; display: block; }
.team-card h3 { font-size: 21px; font-weight: 700; color: var(--ink); }
.team-exp { display: inline-block; margin: 8px 0 14px; font-size: 13px; letter-spacing: .1em; color: var(--gold); font-weight: 600; border: 1px solid var(--gold); border-radius: var(--radius); padding: 3px 12px; }
.team-card > p:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.85; text-align: left; }

.team-note {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 26px;
}
.team-note p { font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

/* ========== 团队优势 ========== */
.advantage { background: var(--paper); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv-card svg { width: 48px; height: 48px; display: block; margin-bottom: 16px; }
.adv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.adv-card p { font-size: 14px; color: var(--ink-2); line-height: 1.85; }

/* ========== 案件经验 ========== */
.cases { background: linear-gradient(160deg, #5C0E18 0%, #7E1422 55%, #5C0E18 100%); }
.cases .sec-tag { color: var(--gold-light); }
.cases .sec-head h2 { color: #fff; }
.cases .sec-sub { color: rgba(255,255,255,.82); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,160,99,.4);
  border-radius: var(--radius);
  padding: 26px;
  color: #fff;
  transition: all .28s ease;
}
.case-card:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateY(-5px); }
.case-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #3A2A10;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 4px 12px;
}
.case-card h3 { font-size: 17px; font-weight: 700; margin: 14px 0 10px; }
.case-card p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.82); }

.case-disclaimer {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255,255,255,.66);
  text-align: center;
  line-height: 1.8;
}

/* ========== 法律依据 ========== */
.law { background: var(--paper); }
.law-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.law-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.law-no {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 12px;
  margin-bottom: 12px;
}
.law-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.law-card p { font-size: 13.8px; color: var(--ink-2); line-height: 1.9; }

/* ========== 服务流程 ========== */
.process { background: var(--paper-2); }
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--ink-2); line-height: 1.8; text-align: left; }
.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.process-step:last-child::after { display: none; }

/* ========== FAQ ========== */
.faq { background: var(--paper); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 22px;
  transition: color .25s, background .25s;
}
.faq-q:hover { color: var(--red); }
.faq-q[aria-expanded="true"] { color: var(--red); background: var(--paper); }
.faq-arrow {
  position: relative;
  width: 10px; height: 10px;
  flex: none;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(-135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-a p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.9;
  padding: 0 22px 20px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin: 0 22px 0;
}

/* ========== 联系我们 ========== */
.contact { background: linear-gradient(160deg, #5C0E18 0%, #7E1422 55%, #5C0E18 100%); }
.contact .sec-tag { color: var(--gold-light); }
.contact .sec-head h2 { color: #fff; }
.contact .sec-sub { color: rgba(255,255,255,.82); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,160,99,.4);
  border-radius: var(--radius);
  text-align: center;
  padding: 32px 20px;
  color: #fff;
  transition: all .28s ease;
}
.contact-card:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateY(-5px); }
.contact-card svg { width: 44px; height: 44px; margin-bottom: 14px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--gold-light); }
.contact-card p { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.88); }
.contact-card a { color: var(--gold-light); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

.contact-cta {
  margin-top: 40px;
  text-align: center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(201,160,99,.4);
  border-radius: var(--radius);
  padding: 34px 24px;
}
.contact-cta p { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 18px; }

/* ========== 页脚 ========== */
.site-footer { background: #3D0A12; color: rgba(255,255,255,.78); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px 40px;
}
.footer-name { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; margin-bottom: 8px; }
.footer-brand a { color: var(--gold-light); }
.footer-brand a:hover { text-decoration: underline; }
.footer-title { font-size: 15px; font-weight: 700; color: var(--gold-light); margin-bottom: 14px; letter-spacing: .1em; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.72); transition: color .25s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.55); text-align: center; }

/* ========== 移动端底部拨号栏 ========== */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(92, 14, 24, .97);
  border-top: 2px solid var(--gold);
}
.mcb-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background: var(--gold);
  color: #3A2A10;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 14px 0;
  border-radius: var(--radius);
}
.mcb-main svg { width: 22px; height: 22px; }
.mcb-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  animation: mcbPulse 1.8s ease-out infinite;
}
@keyframes mcbPulse {
  0% { box-shadow: 0 0 0 0 rgba(201,160,99,.55); }
  100% { box-shadow: 0 0 0 14px rgba(201,160,99,0); }
}

/* ========== 回顶部 ========== */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 96;
  width: 46px; height: 46px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold); color: #3A2A10; }
.back-top svg { width: 20px; height: 20px; }

/* ========== 滚动入场动画 ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ========== 响应式：1024 ========== */
@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}

/* ========== 响应式：900 ========== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-tel { display: flex; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 130px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .section { padding: 64px 0; }
  .sec-head h2 { font-size: 28px; }
}

/* ========== 响应式：560 ========== */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { height: 62px; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-text { font-size: 15px; }
  .header-tel { display: none; }

  .hero { padding: 112px 0 56px; min-height: 0; }
  .hero-tag { font-size: 12px; letter-spacing: .14em; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 14.5px; }
  .hero-desc { font-size: 13.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 10px 18px; }
  .hero-points li { font-size: 13.5px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .stat-item:nth-child(n+3) { border-bottom: 0; }
  .stat-item strong { font-size: 32px; }

  .section { padding: 52px 0; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: 24px; }
  .sec-sub { font-size: 14px; }
  .sec-cta { padding: 24px 16px; }
  .sec-cta p { font-size: 15px; }
  .sec-cta .btn { width: 100%; }

  .pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .pain-card { padding: 24px 20px; }

  .topics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .topic-card { padding: 20px 12px; }
  .topic-card h3 { font-size: 15px; }
  .topic-card p { font-size: 11.5px; }

  .detail { padding-top: 30px; }
  .detail-block { padding: 24px 18px; }
  .detail-head h2 { font-size: 21px; gap: 10px; flex-wrap: wrap; }
  .detail-col { padding: 18px; }

  .adv-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { grid-template-columns: 1fr; gap: 14px; }

  .law-grid { grid-template-columns: 1fr; gap: 14px; }

  .process-list { grid-template-columns: 1fr; gap: 14px; }
  .process-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
  .step-no { margin-bottom: 0; flex: none; }
  .process-step h3 { margin-bottom: 6px; }
  .process-step p { text-align: left; }

  .faq-q { font-size: 15px; padding: 15px 16px; }
  .faq-a p { padding-left: 16px; padding-right: 16px; }

  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-cta { padding: 26px 16px; }
  .contact-cta p { font-size: 15px; }
  .contact-cta .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 16px 30px; }

  /* 移动端拨号栏显示 */
  .mobile-callbar { display: block; }
  body { padding-bottom: 74px; }

  .back-top { right: 14px; bottom: 88px; width: 42px; height: 42px; }

  .hero-pattern { background-size: 120px 120px, 160px 160px; }
}
