/* ============================================================
   上海盛沃律师事务所 · 房屋租赁纠纷专题站（纯静态）
   配色：蓝色系为底色，适当留白
   圆角规范：全站不使用圆角，若使用最大弧度 3px
   ============================================================ */

/* ---------- 变量与重置 ---------- */
:root {
  --c-navy0: #050F28;                 /* 最深蓝（页脚） */
  --c-navy1: #081E47;                 /* 深蓝（标题/导航） */
  --c-navy2: #0E3A85;                 /* 中蓝（背景渐变） */
  --c-navy3: #123D77;
  --c-blue:  #1D5BDE;                 /* 主蓝（按钮/链接） */
  --c-blue-d:#15489F;                 /* 主蓝 hover */
  --c-blue-l:#9CC0FF;                 /* 亮蓝（深底高亮文字） */
  --c-warn:  #FFC873;                 /* 告警点缀（用于痛点图标） */
  --c-sky:   #F4F8FE;                 /* 浅蓝屏背景 */
  --c-sky2:  #E7F0FC;                 /* 浅蓝标签底 */
  --c-line:  #D6E2F3;                 /* 分隔线 */
  --c-ink:   #15243C;                 /* 正文深色 */
  --c-mut:   #5B6B87;                 /* 次要文字 */
  --c-white: #FFFFFF;
  --radius: 2px;                      /* 全局最大圆角（<=3px 合规） */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4 { margin: 0; }

h1, h2, h3 { line-height: 1.35; }

::selection { background: #C3D8FA; color: var(--c-navy1); }

:focus-visible {
  outline: 2px solid var(--c-blue-l);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--c-white);
  color: var(--c-navy1);
  padding: 8px 16px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 通用工具 ---------- */
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.ic { width: 20px; height: 20px; flex: none; }

section[id] { scroll-margin-top: 88px; }

/* ---------- 区块通用 ---------- */
.section { padding-block: clamp(64px, 9vw, 108px); }

.bg-white { background: var(--c-white); }
.bg-soft  { background: var(--c-sky); }
.bg-navy  { background: linear-gradient(165deg, #081E47 0%, #0E3A85 100%); color: var(--c-white); }

.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(30px, 4vw, 52px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--c-blue);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-blue);
  display: inline-block;
}

.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--c-ink);
  margin: 18px 0 14px;
  letter-spacing: .02em;
}

.sec-lead { color: var(--c-mut); font-size: 16px; }

/* 深蓝底色区块标题反白 */
.bg-navy .sec-head h2 { color: var(--c-white); }
.bg-navy .sec-lead { color: rgba(255, 255, 255, .78); }
.bg-navy .eyebrow { color: var(--c-blue-l); }
.bg-navy .eyebrow::before { background: var(--c-blue-l); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease,
              border-color .22s ease, box-shadow .22s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-tel { background: var(--c-blue); color: var(--c-white); }
.btn-tel:hover { background: var(--c-blue-d); }

.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--c-white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--c-white); }

.btn-white { background: var(--c-white); color: var(--c-blue); }
.btn-white:hover { background: var(--c-sky2); }

.btn-line { border-color: var(--c-blue); color: var(--c-blue); background: transparent; }
.btn-line:hover { background: var(--c-blue); color: var(--c-white); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(6, 22, 52, .96) 0%, rgba(8, 30, 71, .9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(3, 12, 32, .35); }

/* 头部容器略宽于正文容器，为 PC 导航预留稳定空间 */
.site-header .container { width: min(1240px, 96%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-mark {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--c-blue) 0%, var(--c-navy2) 100%);
  color: var(--c-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  border-radius: var(--radius);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { color: var(--c-white); font-size: 17px; white-space: nowrap; }
.brand-text small {
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav ul { display: flex; align-items: center; gap: 2px; }

.site-nav li { white-space: nowrap; }

.site-nav a {
  display: inline-block;
  padding: 8px 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: color .2s ease, background-color .2s ease;
}
.site-nav a:hover { color: var(--c-white); background: rgba(255, 255, 255, .09); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  color: var(--c-white);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.header-phone:hover { background: rgba(255, 255, 255, .12); border-color: var(--c-white); }
.header-phone .ic { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(158deg, #071A40 0%, #0C2F6B 52%, #12448F 100%);
  color: var(--c-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 9vw, 118px) 0 clamp(60px, 8vw, 100px);
}
/* 网格纹理装饰（纯几何线条，无圆角元素） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(0deg,  rgba(255, 255, 255, .035) 0 1px, transparent 1px 58px);
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 560px;
  height: 560px;
  pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 26px);
  transform: rotate(45deg);
  opacity: .8;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}

.h1-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 20px;
}
.h1-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--c-blue-l);
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.h1-strong { color: var(--c-blue-l); }

.hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 16.5px;
  max-width: 560px;
  margin-bottom: 26px;
}

.pain-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--c-warn);
  margin-bottom: 10px;
}
.pain-bar { width: 4px; height: 18px; background: var(--c-warn); display: inline-block; }

.pain-list { margin-bottom: 30px; }

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
  font-size: 15px;
  color: rgba(255, 255, 255, .94);
}
.pain-list li:last-child { border-bottom: none; }

.pain-ic {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 200, 115, .12);
  border: 1px solid rgba(255, 200, 115, .35);
  color: var(--c-warn);
  border-radius: var(--radius);
}
.pain-ic svg { width: 14px; height: 14px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 首屏右侧电话引导卡片 */
.hero-right { display: flex; flex-direction: column; gap: 20px; }

.call-card {
  background: var(--c-white);
  color: var(--c-ink);
  padding: clamp(24px, 2.6vw, 34px);
  border-top: 4px solid var(--c-blue);
  box-shadow: 0 26px 60px rgba(3, 12, 32, .42);
}

.call-card-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--c-navy1);
  margin-bottom: 8px;
}
.call-card-tip { font-size: 13px; color: var(--c-mut); margin-bottom: 18px; }

.phone-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0;
  border-block: 1px solid var(--c-line);
  margin-bottom: 16px;
  color: var(--c-navy1);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: .02em;
  transition: color .2s ease;
}
.phone-main .ic { width: 26px; height: 26px; color: var(--c-blue); }
.phone-main:hover { color: var(--c-blue); }

.call-meta { display: grid; gap: 9px; margin-bottom: 20px; }
.call-meta p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #41516D;
  line-height: 1.6;
}
.call-meta .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--c-blue); }

.btn-call { padding: 16px 20px; font-size: 17px; }
.call-foot { font-size: 12.5px; color: var(--c-mut); text-align: center; margin-top: 12px; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-points > div {
  text-align: center;
  padding: 16px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-points > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-points strong { font-size: 19px; font-weight: 800; color: var(--c-white); }
.hero-points span { font-size: 12px; color: rgba(255, 255, 255, .66); }

/* ---------- 律所与律师团队 ---------- */
.team { background: var(--c-white); }

.firm-intro {
  max-width: 900px;
  margin: 0 auto 44px;
  padding: 28px 30px;
  background: var(--c-sky);
  border-left: 4px solid var(--c-blue);
}
.firm-intro p { font-size: 15.5px; color: #33435F; line-height: 1.9; }
.firm-intro strong { color: var(--c-navy1); }

.firm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.firm-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--c-navy3);
  font-weight: 600;
}
.firm-chips .ic { width: 15px; height: 15px; color: var(--c-blue); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: #9DBDF2;
  box-shadow: 0 18px 40px rgba(11, 42, 94, .10);
}

.team-head { display: flex; align-items: center; gap: 14px; }

.avatar {
  flex: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--c-blue) 0%, var(--c-navy2) 100%);
  color: var(--c-white);
  font-size: 24px;
  font-weight: 700;
  border-radius: var(--radius);
}

.team-head h3 { font-size: 20px; font-weight: 800; color: var(--c-navy1); }
.team-head p { font-size: 13px; color: var(--c-blue); font-weight: 600; }

.team-desc { font-size: 14.5px; color: var(--c-mut); }

.team-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.team-tags li {
  padding: 4px 12px;
  background: var(--c-sky2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--c-navy3);
  font-weight: 600;
}

.team-note {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--c-mut);
}

/* ---------- 团队优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-card {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.adv-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-4px);
}

.adv-ic {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .4);
  color: var(--c-blue-l);
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius);
}
.adv-ic svg { width: 22px; height: 22px; }

.adv-card h3 { font-size: 18px; font-weight: 800; color: var(--c-white); }
.adv-card p { font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.85; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  gap: 20px;
}
.stats-row div { text-align: center; }
.stats-row dt { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--c-white); }
.stats-row dd { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .68); }

/* ---------- 服务领域九大专题 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #9DBDF2;
  box-shadow: 0 18px 40px rgba(11, 42, 94, .09);
}

.svc-no {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 34px;
  font-weight: 800;
  color: rgba(29, 91, 222, .14);
  line-height: 1;
}

.service-card h3 { font-size: 18.5px; font-weight: 800; color: var(--c-navy1); padding-right: 44px; }
.service-card > p { font-size: 13.5px; color: var(--c-mut); line-height: 1.85; }

.service-card ul { display: grid; gap: 7px; margin-top: auto; }
.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #33435F;
  line-height: 1.6;
}
.service-card ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  background: var(--c-blue);
}

.sec-cta {
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--c-sky);
  border: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.sec-cta p { font-size: 15.5px; color: #33435F; }

/* ---------- 胜诉案例参考 ---------- */
.case-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  background: #EAF1FD;
  border: 1px solid #C9DAF5;
  color: #34507F;
}
.case-notice .ic { width: 22px; height: 22px; margin-top: 3px; color: var(--c-blue); }
.case-notice p { font-size: 13px; line-height: 1.8; }
.case-notice strong { color: var(--c-navy1); }

.case-list { max-width: 960px; margin-inline: auto; }

.case-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 26px 28px;
  margin-bottom: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.case-row:hover {
  transform: translateX(4px);
  border-color: #9DBDF2;
  box-shadow: 0 14px 34px rgba(11, 42, 94, .08);
}

.case-no {
  flex: none;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--c-blue) 0%, var(--c-navy2) 100%);
  color: var(--c-white);
  font-size: 19px;
  font-weight: 800;
  border-radius: var(--radius);
}

.case-body h3 { font-size: 18px; font-weight: 800; color: var(--c-navy1); margin-bottom: 8px; }
.case-body > p { font-size: 14px; color: var(--c-mut); line-height: 1.85; }

.case-outcome {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-navy3);
}
.case-badge {
  padding: 2px 10px;
  border: 1px solid #A9C6F2;
  color: var(--c-blue);
  background: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* ---------- 委托流程 ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1020px;
  margin-inline: auto;
  counter-reset: step;
}

.step {
  border-top: 2px solid rgba(255, 255, 255, .28);
  padding-top: 20px;
}

.step-no {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--c-blue-l);
  margin-bottom: 14px;
}

.step h3 { font-size: 18.5px; font-weight: 800; color: var(--c-white); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: rgba(255, 255, 255, .76); line-height: 1.85; }

.process-cta { text-align: center; margin-top: 52px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; margin-inline: auto; }

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: #9DBDF2;
  box-shadow: 0 10px 26px rgba(11, 42, 94, .07);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy1);
  line-height: 1.6;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-blue); }

.faq-ic {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  color: var(--c-blue);
  border-radius: var(--radius);
  transition: transform .25s ease, background-color .2s ease;
}
.faq-ic svg { width: 15px; height: 15px; }
.faq-item[open] .faq-ic { transform: rotate(180deg); background: var(--c-sky2); }

.faq-a { padding: 0 22px 20px; }
.faq-a p { font-size: 14.5px; color: var(--c-mut); line-height: 1.95; }

.faq-foot { text-align: center; margin-top: 28px; }
.faq-foot p { font-size: 14px; color: var(--c-mut); }
.faq-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-blue);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.faq-foot a:hover { border-color: var(--c-blue); }
.faq-foot .ic { width: 18px; height: 18px; }

/* ---------- 联系区 CTA ---------- */
.contact {
  background: linear-gradient(165deg, #050F28 0%, #0B2A63 100%);
  color: var(--c-white);
}
.contact .sec-head { margin-bottom: 30px; }

.contact-inner { text-align: center; }

.contact-phone { margin-bottom: 26px; }
.contact-phone span {
  display: block;
  font-size: 13px;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 6px;
}
.phone-big {
  display: inline-block;
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c-white);
  transition: color .2s ease;
}
.phone-big:hover { color: var(--c-blue-l); }

.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 40px; }

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-info div { padding: 0 26px; }
.contact-info div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.contact-info dt { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.contact-info dd { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, .92); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #040E27;
  color: rgba(255, 255, 255, .75);
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 64px) 26px;
}

.footer-brand .f-name { font-size: 19px; font-weight: 800; color: var(--c-white); }
.footer-brand .f-en {
  font-size: 11px;
  letter-spacing: .34em;
  color: rgba(255, 255, 255, .45);
  margin: 4px 0 14px;
}
.footer-brand p { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .62); }
.f-note { margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .4); }

.footer-col h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255, 255, 255, .68); transition: color .2s ease; }
.footer-col a:hover { color: var(--c-white); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.7;
}
.footer-contact .ic { width: 15px; height: 15px; margin-top: 5px; color: rgba(255, 255, 255, .45); }
.footer-contact li a { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.footer-contact li a:hover { color: var(--c-blue-l); }
.footer-contact .f-note { margin-top: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, .45); }

/* ---------- 移动端一键拨号栏 ---------- */
.m-callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(4, 14, 39, .97);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.m-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 0;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 16.5px;
  font-weight: 800;
  border-radius: var(--radius);
  transition: background-color .2s ease;
}
.m-callbar a:hover { background: var(--c-blue-d); }
.callbar-space { display: none; }

/* ---------- 滚动渐显动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 响应式 ---------- */
/* PC 中窄屏：隐藏品牌英文副标，为导航让位 */
@media (max-width: 1400px) {
  .brand-text small { display: none; }
}

@media (max-width: 1180px) {
  .hero-grid { gap: 40px; }
  .stats-row { gap: 12px; }
}

@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { max-width: 720px; }
  .hero-right { max-width: 640px; }
  .hero-sub { max-width: none; }
  .team-grid { grid-template-columns: 1fr; gap: 18px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0A2152 0%, #0E3A85 100%);
    border-top: 1px solid rgba(255, 255, 255, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 560px; box-shadow: 0 20px 40px rgba(3, 12, 32, .4); }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .site-nav a { display: block; padding: 12px 22px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
  .site-nav a:hover { background: rgba(255, 255, 255, .08); }

  .m-callbar { display: block; }
  .callbar-space { display: block; height: calc(58px + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

@media (max-width: 720px) {
  .section { padding-block: 52px; }
  .adv-grid, .service-grid, .step-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .hero { padding-block: 56px 48px; }
  .pain-list li { font-size: 14.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .case-row { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .case-no { width: 46px; height: 46px; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .contact-info { flex-direction: column; align-items: center; gap: 14px; }
  .contact-info div + div { border-left: none; }
  .firm-intro { padding: 22px 20px; }
  .team-card { padding: 24px 20px; }
  .sec-cta { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .header-inner { height: 66px; }
  .site-nav { top: 100%; }
  .hero h1 { font-size: 30px; }
  .h1-kicker { letter-spacing: .16em; }
  .call-card { padding: 22px 18px; }
  .phone-main { font-size: 24px; }
  .hero-points strong { font-size: 17px; }
  .faq-item summary { padding: 15px 16px; font-size: 15px; }
  .faq-a { padding: 0 16px 16px; }
  .adv-card, .service-card { padding: 24px 20px; }
}
