/* ==========================================================
   上海盛沃律师事务所 · 动迁法律咨询落地页
   主色：中国红 / 点缀：鎏金 / 高端深色系
   ========================================================== */

:root {
  --red: #b3202e;
  --red-deep: #8e1222;
  --red-dark: #6d0d1a;
  --ink: #201216;
  --ink-deep: #170b0e;
  --gold: #c9a063;
  --gold-light: #e0c08a;
  --cream: #f8f4ee;
  --paper: #ffffff;
  --gray: #6b5d60;
  --line: rgba(178, 60, 70, .16);
  --shadow: 0 18px 44px rgba(110, 20, 32, .10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "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%; overflow-x: clip; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { width: min(1160px, 92%); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn-lg { padding: .95em 2.1em; font-size: 1.02rem; }
.btn-xl { padding: 1.05em 2.4em; font-size: 1.12rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff; box-shadow: 0 12px 28px rgba(179, 32, 46, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(179, 32, 46, .45); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .65); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }

/* ---------------- 顶部条 ---------------- */
.topbar { background: var(--ink-deep); color: rgba(255,255,255,.82); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-text { letter-spacing: .08em; }
.topbar-tel { color: var(--gold-light); font-weight: 600; }
.topbar-tel:hover { color: #fff; }

/* ---------------- 导航 ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(23,11,14,.95), rgba(23,11,14,.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,160,99,.22);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7em; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 6px 16px rgba(179,32,46,.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: #fff; font-size: 1.06rem; font-family: var(--serif); letter-spacing: .04em; }
.brand-text em { font-style: normal; font-size: .74rem; color: var(--gold-light); letter-spacing: .18em; }
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: rgba(255,255,255,.86); font-size: .95rem; transition: color .2s; padding: .3em 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .25s;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.nav .nav-cta {
  color: #fff; background: linear-gradient(135deg, var(--red), var(--red-deep));
  padding: .55em 1.4em; border-radius: 999px; box-shadow: 0 8px 20px rgba(179,32,46,.35);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { transform: translateY(-2px); }
.nav-toggle { display: none; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 78% 20%, rgba(201,160,99,.16), transparent 60%),
    radial-gradient(ellipse 55% 55% at 18% 85%, rgba(179,32,46,.35), transparent 65%),
    linear-gradient(160deg, #2a0d13 0%, #1a0a0e 45%, #120609 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-decor {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(201,160,99,.22);
  box-shadow: 0 0 0 46px rgba(201,160,99,.05), 0 0 0 92px rgba(201,160,99,.04),
    0 0 0 138px rgba(201,160,99,.03), 0 0 0 184px rgba(201,160,99,.02);
  pointer-events: none;
}
.hero-decor::after {
  content: "法"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 13rem; font-weight: 700;
  color: rgba(201,160,99,.10);
}
.hero-inner { position: relative; z-index: 2; padding: 7.5rem 0 9rem; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .65em;
  color: var(--gold-light); letter-spacing: .42em; font-size: .86rem; margin-bottom: 1.5rem;
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-kicker::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-title {
  font-family: var(--serif); font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  font-weight: 700; line-height: 1.28; margin-bottom: 1.4rem;
  text-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.hero-title span {
  display: inline-block; margin-top: .35rem;
  background: linear-gradient(90deg, var(--gold-light), var(--gold) 55%, #f4e3bd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: .62em; letter-spacing: .06em;
}
.hero-sub { font-size: 1.04rem; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 2.4rem; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 2.9rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; color: rgba(255,255,255,.78); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: .5em; }
.hero-points svg { width: 1.1em; height: 1.1em; fill: var(--gold-light); flex: none; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--gold-light);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- 区块通用 ---------------- */
.section { padding: 6.2rem 0; }
.section-dark { background: var(--ink-deep); color: #fff; position: relative; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(179,32,46,.12), transparent 70%);
}
.section-dark .container { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.6rem; }
.section-tag {
  display: inline-block; color: var(--red); font-size: .82rem; font-weight: 600;
  letter-spacing: .3em; margin-bottom: .9rem; position: relative; padding-left: 2.2em; padding-right: 2.2em;
}
.section-tag::before, .section-tag::after { content: ""; position: absolute; top: 50%; width: 1.5em; height: 1px; background: var(--red); opacity: .5; }
.section-tag::before { right: 100%; }
.section-tag::after { left: 100%; }
.section-dark .section-tag { color: var(--gold); }
.section-dark .section-tag::before, .section-dark .section-tag::after { background: var(--gold); }
.section-head h2 {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.35; margin-bottom: 1rem;
}
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.section-dark .section-head h2::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-lead { color: var(--gray); font-size: 1rem; }
.section-dark .section-lead { color: rgba(255,255,255,.72); }
.section-note { text-align: center; max-width: 780px; margin: 3rem auto 0; font-size: .95rem; color: var(--gray); }
.section-dark .section-note { color: rgba(255,255,255,.65); }

/* ---------------- 律所介绍 ---------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; }
.about-text h3 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.5; margin-bottom: 1.2rem; }
.about-text p { color: var(--gray); margin-bottom: 1rem; }
.about-text p strong { color: var(--red); font-weight: 600; }
.about-list { margin-top: 1.6rem; display: grid; gap: .85rem; }
.about-list li { display: flex; align-items: flex-start; gap: .65em; font-weight: 500; }
.about-list svg {
  width: 1.3em; height: 1.3em; fill: var(--red); flex: none; margin-top: .18em;
  background: rgba(179,32,46,.10); border-radius: 50%; padding: 2px;
}
.about-cards { display: grid; gap: 1.2rem; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 14px; padding: 1.5rem 1.6rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 26px 52px rgba(110,20,32,.16); }
.value-icon {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  box-shadow: 0 8px 18px rgba(179,32,46,.32);
}
.value-icon svg { width: 26px; height: 26px; fill: currentColor; }
.value-card h4 { font-family: var(--serif); font-size: 1.12rem; margin-bottom: .15rem; }
.value-card p { color: var(--gray); font-size: .92rem; }

/* ---------------- 常见困境 ---------------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.problem-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; padding: 1.9rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.problem-card:hover { transform: translateY(-5px); border-color: rgba(201,160,99,.45); background: rgba(255,255,255,.07); }
.problem-no {
  position: absolute; right: 1.1rem; top: .8rem;
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px rgba(201,160,99,.28);
}
.problem-card h3 { font-family: var(--serif); font-size: 1.14rem; margin-bottom: .7rem; color: var(--gold-light); padding-right: 2.2rem; }
.problem-card p { color: rgba(255,255,255,.7); font-size: .93rem; }

/* ---------------- 服务领域 ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--paper); border-radius: 18px; padding: 2rem 1.8rem 1.6rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(110,20,32,.18); }
.service-icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 1.2rem;
  display: grid; place-items: center; color: var(--red);
  background: radial-gradient(circle at 30% 25%, #fdeef0, #f6d9dd);
  border: 1px solid rgba(179,32,46,.18);
}
.service-icon svg { width: 28px; height: 28px; fill: currentColor; }
.service-card h3 { font-family: var(--serif); font-size: 1.16rem; margin-bottom: .6rem; }
.service-card p { color: var(--gray); font-size: .93rem; flex: 1; }
.card-tel {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6em;
  color: var(--red); font-size: .9rem; font-weight: 600;
}
.card-tel::before { content: ""; width: 26px; height: 1px; background: var(--red); opacity: .45; }
.card-tel span { color: var(--red-deep); letter-spacing: .05em; }
.card-tel:hover { color: var(--red-deep); }

/* ---------------- 解决路径 ---------------- */
.process-list { max-width: 860px; margin: 0 auto; position: relative; }
.process-list::before {
  content: ""; position: absolute; left: 29px; top: 12px; bottom: 12px;
  width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,160,99,.15));
}
.process-item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; padding-bottom: 2.2rem; }
.process-item:last-child { padding-bottom: 0; }
.process-step {
  width: 60px; height: 60px; border-radius: 50%; z-index: 1;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border: 4px solid rgba(201,160,99,.35);
  box-shadow: 0 0 0 6px var(--ink-deep), 0 10px 24px rgba(179,32,46,.4);
}
.process-body h3 { font-family: var(--serif); font-size: 1.22rem; margin: .5rem 0 .45rem; }
.process-body p { color: rgba(255,255,255,.74); font-size: .96rem; }
.process-cta {
  margin-top: 3.4rem; text-align: center;
  border: 1px dashed rgba(201,160,99,.4); border-radius: 18px; padding: 2.2rem 1.5rem;
  background: rgba(201,160,99,.05);
}
.process-cta p { margin-bottom: 1.3rem; color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* ---------------- 法律依据 ---------------- */
.law-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.law-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.law-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--red));
}
.law-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.law-item h3 { font-family: var(--serif); font-size: 1.08rem; margin-bottom: .5rem; color: var(--red-deep); }
.law-item p { color: var(--gray); font-size: .92rem; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(201,160,99,.45); }
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.6rem; font-weight: 600; font-size: 1.02rem; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; width: 22px; height: 22px; border-radius: 50%; position: relative;
  border: 1.5px solid var(--gold); transition: transform .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 1.5px; background: var(--gold-light);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--gold-light); }
.faq-body { padding: 0 1.6rem 1.5rem; color: rgba(255,255,255,.72); font-size: .95rem; animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------------- 联系我们 ---------------- */
.section-contact {
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(179,32,46,.5), transparent 70%),
    linear-gradient(180deg, #170b0e, #20090d);
  color: #fff; padding: 5.5rem 0;
}
.contact-box { text-align: center; max-width: 760px; margin: 0 auto; }
.contact-box h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.contact-box p { color: rgba(255,255,255,.78); margin-bottom: 2.2rem; }
.contact-meta {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.2rem;
  color: rgba(255,255,255,.7); font-size: .92rem;
}
.contact-meta li { display: flex; align-items: center; gap: .5em; }
.contact-meta li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}

/* ---------------- 页脚 ---------------- */
.footer { background: #110608; color: rgba(255,255,255,.68); padding: 4rem 0 1.8rem; font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-light .brand-mark { width: 40px; height: 40px; font-size: 1.2rem; }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.8; }
.footer-col h3 { color: var(--gold-light); font-size: .98rem; margin-bottom: 1rem; font-family: var(--serif); letter-spacing: .08em; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: rgba(255,255,255,.62); transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-tel a { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; font-family: var(--serif); }
.footer-tel a:hover { color: var(--gold-light); }
.footer-keywords { padding: 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-keywords h3 { color: var(--gold-light); font-size: .92rem; margin-bottom: .9rem; font-family: var(--serif); letter-spacing: .12em; }
.footer-keywords p { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-keywords a {
  font-size: .82rem; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: .28em .9em; transition: all .2s;
}
.footer-keywords a:hover { color: var(--gold-light); border-color: var(--gold); }
.footer-bottom { padding-top: 1.6rem; text-align: center; color: rgba(255,255,255,.42); font-size: .82rem; }
.disclaimer { margin-top: .4rem; }

/* ---------------- 移动端拨号栏 ---------------- */
.mobile-callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem env(safe-area-inset-right) calc(.7rem + env(safe-area-inset-bottom)) env(safe-area-inset-left);
  background: linear-gradient(180deg, rgba(17,6,8,.92), rgba(17,6,8,.98));
  border-top: 1px solid rgba(201,160,99,.3);
  backdrop-filter: blur(8px);
}
.mobile-callbar-btn {
  display: flex; align-items: center; justify-content: center; gap: .8em;
  width: 100%; margin: 0 auto; max-width: 420px;
  border-radius: 999px; padding: .85em 1.2em;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-weight: 700; font-size: 1.06rem;
  box-shadow: 0 10px 26px rgba(179,32,46,.45);
  animation: callPulse 2.6s ease-in-out infinite;
}
.mobile-callbar-btn svg { width: 1.3em; height: 1.3em; fill: currentColor; flex: none; }
.mobile-callbar-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.mobile-callbar-btn em { font-style: normal; font-size: .78rem; font-weight: 400; opacity: .85; letter-spacing: .1em; }
@keyframes callPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(179,32,46,.45); }
  50% { box-shadow: 0 10px 34px rgba(179,32,46,.75); }
}

/* ---------------- 回到顶部 ---------------- */
.back-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff;
  box-shadow: 0 10px 24px rgba(179,32,46,.4);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------------- 滚动渐显动画 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-scroll span, .mobile-callbar-btn, .hero-decor { animation: none; }
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1024px) {
  .problem-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-decor { width: 380px; height: 380px; right: -140px; opacity: .6; }
  .hero-decor::after { font-size: 9rem; }
}

@media (max-width: 768px) {
  .topbar-text { display: none; }
  .topbar-inner { justify-content: center; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 105;
    width: min(78vw, 320px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: linear-gradient(180deg, #1c0b10 0%, #120609 100%);
    border-left: 1px solid rgba(201,160,99,.25);
    padding: 5.4rem 2rem 2rem;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,.5);
  }
  .nav.open { transform: none; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav .nav-cta { margin-top: 1.4rem; text-align: center; border-radius: 999px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px; z-index: 110;
  }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: all .3s; }
  .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); }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5);
  }
  .section { padding: 4.4rem 0; }
  .hero-inner { padding: 5.5rem 0 7rem; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .process-list::before { left: 23px; }
  .process-step { width: 48px; height: 48px; font-size: 1.1rem; }
  .process-item { gap: 1.2rem; grid-template-columns: auto 1fr; }
  .law-grid { grid-template-columns: 1fr; }
  .contact-meta { flex-direction: column; align-items: center; gap: .5rem; }
  .back-top { bottom: 84px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 620px) {
  .problem-grid, .service-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .hero-sub { font-size: .97rem; }
  .hero-points { flex-direction: column; gap: .7rem; }
  .about-cards { grid-template-columns: 1fr; }
  .process-body h3 { font-size: 1.08rem; }
}

/* 移动端底部拨号栏仅在窄屏显示 */
@media (max-width: 768px) {
  .mobile-callbar { display: block; }
  body { padding-bottom: 74px; }
}