/* =========================================================
   上海盛沃律师事务所 · 婚姻家事法律咨询落地页
   主视觉：中国红 + 金色点缀，庄重大气
   ========================================================= */

/* ---------- 变量与基础 ---------- */
:root {
  --red:        #b01f2d;   /* 主红 */
  --red-deep:   #871525;   /* 深红 */
  --red-dark:   #5e0e19;   /* 暗红（深色区背景） */
  --gold:       #c9a063;   /* 金色 */
  --gold-soft:  #e3cb9c;
  --ink:        #33302e;   /* 正文深灰 */
  --ink-2:      #6d6762;   /* 次级文字 */
  --cream:      #fbf7f1;   /* 米白底 */
  --paper:      #ffffff;
  --line:       #eee3d3;   /* 浅分隔线 */
  --dark-bg:    #201013;   /* 深色底 */
  --shadow:     0 18px 45px rgba(94, 14, 25, .12);
  --radius:     10px;
  --font-serif: Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --font-sans:  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-light { background: var(--paper); }

/* 滚动渐入动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 12px 28px rgba(176, 31, 45, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(176, 31, 45, .45);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn-lg { padding: 19px 46px; font-size: 19px; letter-spacing: 2px; }

/* ---------- 章节标题 ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(42px, 6vw, 64px);
}
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--gold-soft); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  position: relative;
  padding-bottom: 22px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-title.light { color: #f5ede6; }

.section-sub {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}
.section-sub.light { color: #b7a39a; }

/* =========================================================
   顶部导航
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(32, 16, 19, .94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 46px;
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  border: 1px solid rgba(201, 160, 99, .55);
  border-radius: 10px 10px 10px 2px;
  box-shadow: 0 6px 16px rgba(94, 14, 25, .4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 2px;
  color: #f5ede6;
}
.brand-text small {
  margin-top: 3px;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  color: var(--gold-soft);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.main-nav a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .85);
  letter-spacing: 1px;
  padding: 6px 0;
  position: relative;
  transition: color .25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.main-nav .nav-cta {
  color: var(--gold-soft);
  border: 1px solid rgba(201, 160, 99, .5);
  padding: 8px 20px;
  border-radius: 40px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: rgba(201, 160, 99, .12); color: #fff; }

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  transition: color .25s;
}
.header-tel svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-tel:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: all .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero 首屏
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(52% 46% at 82% 18%, rgba(176, 31, 45, .5), transparent 68%),
    radial-gradient(40% 36% at 8% 88%, rgba(135, 21, 37, .55), transparent 70%),
    linear-gradient(160deg, #2b1015 0%, #1d0d11 42%, #16090c 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 160, 99, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 160, 99, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(64% 60% at 50% 42%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(64% 60% at 50% 42%, #000 20%, transparent 100%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  right: -2vw;
  bottom: -13vh;
  font-family: var(--font-serif);
  font-size: clamp(300px, 46vw, 640px);
  line-height: 1;
  color: rgba(255, 255, 255, .025);
  user-select: none;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 130px 0 100px;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  border-top: 1px solid rgba(201, 160, 99, .5);
  border-bottom: 1px solid rgba(201, 160, 99, .5);
  padding: 8px 18px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7.4vw, 76px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 6px;
  color: #f8f1ea;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .45);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-tags {
  margin-top: 22px;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 3px;
  color: rgba(245, 237, 230, .92);
}

.hero-lead {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(14.5px, 1.6vw, 16.5px);
  line-height: 2;
  color: rgba(245, 237, 230, .78);
}

.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 18px; }

.hero-points {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(245, 237, 230, .72);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 160, 99, .18);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(245, 237, 230, .55);
  font-size: 12px;
  letter-spacing: 3px;
  transition: color .3s;
  z-index: 2;
}
.hero-scroll:hover { color: var(--gold-soft); }
.hero-scroll i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold-soft));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* =========================================================
   CTA 引流条
   ========================================================= */
.cta-strip {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 60%, #6d1020 100%);
  padding: 26px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.cta-strip-inner p {
  color: rgba(255, 255, 255, .93);
  font-size: 16.5px;
  letter-spacing: 1px;
}
.cta-strip .btn { padding: 12px 30px; font-size: 15.5px; background: #fff; color: var(--red); box-shadow: none; }
.cta-strip .btn:hover { transform: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }

/* =========================================================
   服务范围
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  transition: all .35s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 160, 99, .6);
}
.service-card:hover::before { transform: scaleX(1); }

.svc-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 14px 14px 14px 4px;
  background: linear-gradient(145deg, rgba(176, 31, 45, .08), rgba(201, 160, 99, .14));
  border: 1px solid rgba(176, 31, 45, .16);
  color: var(--red);
  margin-bottom: 22px;
}
.svc-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--ink);
}
.service-card p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
}

/* =========================================================
   常见问题场景
   ========================================================= */
.problem-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.problem {
  display: flex;
  gap: 26px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 28px 30px;
  transition: all .3s ease;
}
.problem:hover { box-shadow: var(--shadow); transform: translateX(4px); }

.problem-no {
  flex: none;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: rgba(176, 31, 45, .35);
  padding-top: 4px;
}

.problem-body h3 {
  font-family: var(--font-serif);
  font-size: 18.5px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--ink);
}
.problem-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }

.advice-box {
  margin-top: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(120deg, #fdf4ee, #fbf1e9);
  border: 1px dashed rgba(176, 31, 45, .4);
  border-radius: 10px;
  padding: 22px 26px;
}
.advice-icon {
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 17px;
}
.advice-box p { font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.advice-box strong { color: var(--red-deep); font-weight: 600; }

/* =========================================================
   解决流程（深色）
   ========================================================= */
.process {
  position: relative;
  background:
    radial-gradient(46% 40% at 85% 10%, rgba(176, 31, 45, .35), transparent 70%),
    linear-gradient(165deg, #231016 0%, #1a0d11 55%, #150a0d 100%);
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(rgba(201, 160, 99, .05) 1px, transparent 1px);
  background-size: 100% 56px;
  pointer-events: none;
}

.process .container { position: relative; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(201, 160, 99, .22);
  border-radius: var(--radius);
  padding: 30px 22px 28px;
  transition: all .35s ease;
}
.process-step:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(201, 160, 99, .6);
  transform: translateY(-6px);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 160, 99, .55);
  background: rgba(201, 160, 99, .08);
  margin-bottom: 18px;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 2px;
  color: #f5ede6;
  margin-bottom: 10px;
}
.process-step p { font-size: 13.5px; line-height: 1.9; color: #b7a39a; }

/* 步骤间连接线 */
.process-step::after {
  content: "";
  position: absolute;
  top: 51px;
  left: calc(100% + 2px);
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 160, 99, .6), transparent);
}
.process-step:last-child::after { display: none; }

/* =========================================================
   法律知识
   ========================================================= */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.knowledge-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  transition: all .35s ease;
}
.knowledge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 160, 99, .55);
}

.k-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red);
  background: rgba(176, 31, 45, .07);
  border: 1px solid rgba(176, 31, 45, .2);
  border-radius: 30px;
  padding: 3px 13px;
  margin-bottom: 16px;
}

.knowledge-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--ink);
}
.knowledge-card p {
  font-size: 13.8px;
  line-height: 2;
  color: var(--ink-2);
}

.section-footnote {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #9a928a;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

/* =========================================================
   FAQ 手风琴
   ========================================================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open {
  border-color: rgba(176, 31, 45, .4);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 21px 26px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  letter-spacing: 1px;
  color: var(--ink);
  transition: color .25s;
}
.faq-q:hover { color: var(--red); }

.faq-q i {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(176, 31, 45, .45);
  transition: all .3s ease;
}
.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  transition: all .3s ease;
}
.faq-q i::before { width: 11px; height: 1.5px; }
.faq-q i::after { width: 1.5px; height: 11px; }
.faq-item.open .faq-q i {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(180deg);
}
.faq-item.open .faq-q i::before { background: #fff; }
.faq-item.open .faq-q i::after { background: #fff; opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 2.05;
}

.faq-foot {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  text-align: center;
}
.faq-foot p { font-size: 16.5px; font-family: var(--font-serif); letter-spacing: 1px; }

/* =========================================================
   关于律所
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.about-intro p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.about-intro p:first-child { color: var(--ink); }
.about-intro .about-claim {
  font-size: 14px;
  color: #8d847c;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  background: rgba(201, 160, 99, .08);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
}

.about-features { display: grid; gap: 14px; }
.about-features li {
  display: flex;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  transition: all .3s ease;
}
.about-features li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 160, 99, .5);
}

.feat-no {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  border: 1px solid rgba(176, 31, 45, .3);
  border-radius: 10px 10px 10px 3px;
  background: rgba(176, 31, 45, .05);
}

.about-features h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
  color: var(--ink);
}
.about-features p { font-size: 13.8px; color: var(--ink-2); line-height: 1.9; }

/* =========================================================
   联系 CTA
   ========================================================= */
.contact {
  position: relative;
  background:
    radial-gradient(55% 60% at 50% 110%, rgba(176, 31, 45, .55), transparent 70%),
    linear-gradient(170deg, #240f15 0%, #190b0f 60%, #120709 100%);
  text-align: center;
  overflow: hidden;
}
.contact::before {
  content: "联";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(280px, 40vw, 520px);
  color: rgba(255, 255, 255, .022);
  pointer-events: none;
  user-select: none;
}

.contact-inner { position: relative; z-index: 2; padding: 30px 0; }

.contact-eyebrow {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 18px;
}

.contact h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 4px;
  line-height: 1.5;
  color: #f8f1ea;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.contact-sub {
  margin: 20px auto 40px;
  max-width: 540px;
  color: rgba(245, 237, 230, .75);
  font-size: 15.5px;
  line-height: 2;
}

.contact-note {
  margin-top: 30px;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(245, 237, 230, .45);
}

/* =========================================================
   SEO 关键词导航
   ========================================================= */
.seo-keywords {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 44px 0 38px;
}

.seo-keywords-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.kw-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  max-width: 980px;
  margin: 0 auto;
}

.kw-list a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: .5px;
  color: #8d847c;
  transition: color .25s;
  white-space: nowrap;
}
.kw-list a:hover { color: var(--red); }
.kw-list a::after {
  content: "·";
  position: absolute;
  right: -14px;
  color: rgba(176, 31, 45, .3);
}
.kw-list a:last-child::after { display: none; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  background: #120709;
  color: rgba(245, 237, 230, .65);
  padding: 54px 0 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 4px;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.footer-brand p { font-size: 14px; letter-spacing: 2px; color: rgba(245, 237, 230, .8); }

.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(245, 237, 230, .65);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--gold-soft); }

.footer-tel { text-align: right; }
.footer-tel span {
  display: block;
  font-size: 12.5px;
  letter-spacing: 2px;
  color: rgba(245, 237, 230, .45);
}
.footer-tel a {
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--gold-soft);
  transition: color .25s;
}
.footer-tel a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(245, 237, 230, .38);
}

/* =========================================================
   移动端拨号栏
   ========================================================= */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  box-shadow: 0 -8px 30px rgba(94, 14, 25, .5);
  transform: translateY(110%);
  transition: transform .4s ease;
}
.call-bar.show { transform: translateY(0); }

.call-bar-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  animation: callPulse 2.2s ease infinite;
}
.call-bar-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); }
  60%, 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.call-bar-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.call-bar-text small {
  font-size: 11.5px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .78);
}
.call-bar-text strong {
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
}

.call-bar-btn {
  margin-left: auto;
  flex: none;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 1px;
  border-radius: 40px;
  padding: 10px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 64px; }

  .nav-toggle { display: flex; }
  .header-tel { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: linear-gradient(180deg, #260f16 0%, #170a0e 100%);
    padding: 96px 34px 40px;
    margin: 0;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    box-shadow: -16px 0 44px rgba(0, 0, 0, .5);
    z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    width: 100%;
    padding: 15px 4px;
    font-size: 16.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta {
    margin-top: 26px;
    text-align: center;
    border: 1px solid rgba(201, 160, 99, .5);
    border-radius: 40px;
  }

  .about-grid { grid-template-columns: 1fr; }
  .hero-bg-text { right: -20vw; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }

  .brand-badge { width: 40px; height: 40px; font-size: 15px; }
  .brand-text strong { font-size: 15px; letter-spacing: 1px; }
  .brand-text small { display: none; }

  .hero-inner { padding: 116px 0 90px; }
  .hero h1 { letter-spacing: 3px; }
  .hero-tags { letter-spacing: 2px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .btn-ghost { width: 100%; }
  .hero-scroll { display: none; }

  .cta-strip-inner { justify-content: center; text-align: center; }
  .cta-strip .btn { width: 100%; }

  .card-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  .problem { flex-direction: column; gap: 10px; padding: 22px 20px; }
  .problem-no { font-size: 26px; }

  .faq-q { font-size: 15px; padding: 18px 18px; }
  .faq-a p { padding: 0 18px 20px; }
  .faq-foot { flex-direction: column; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-tel { text-align: left; }
  .footer-bottom { flex-direction: column; }

  .btn-lg { font-size: 17px; }

  /* 拨号栏常驻展示（滚动后由 JS 控制淡入） */
  .call-bar { padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 861px) {
  .call-bar { display: none; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll i::after,
  .call-bar-icon { animation: none; }
}