/* ==========================================================================
   上海盛沃律师事务所 · 刑事辩护专题站
   style.css  |  纯静态 · 无第三方框架 · 无圆角(最大3px)
   ========================================================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --navy: #16294D;          /* 主色·深藏蓝 */
  --navy-dark: #0F1D38;     /* 深藏蓝·加深 */
  --navy-light: #22375f;    /* 深藏蓝·浅 */
  --gold: #C9A227;          /* 点缀·金 */
  --gold-light: #E0BE4E;    /* 金·浅 */
  --gold-dark: #A8871F;     /* 金·深 */
  --bg: #F5F1E6;            /* 背景·米白 */
  --bg-alt: #EFEADC;        /* 米白·稍深分区 */
  --muted: #6B7280;         /* 辅助文字 */
  --white: #FFFFFF;
  --line: #E2DCCC;          /* 分隔线 */
  --line-navy: rgba(22, 41, 77, .12);
  --ink: #1B2434;           /* 正文深色 */

  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;

  --maxw: 1200px;
  --radius: 3px;            /* 统一圆角上限 3px */
  --shadow: 0 6px 24px rgba(15, 29, 56, .08);
  --shadow-lg: 0 14px 40px rgba(15, 29, 56, .14);
  --transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- 通用容器 / 排版 ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 82px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--white); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--gold-dark);
  font-weight: 700; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif); font-size: 34px; line-height: 1.3; color: var(--navy);
  font-weight: 700; letter-spacing: 1px; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 54px; height: 3px; background: var(--gold);
  margin: 18px auto 0;
}
.section-sub { margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 1.85; }

h3, h4, h5 { font-family: var(--font-serif); color: var(--navy); }

.lead { font-size: 17px; color: var(--muted); line-height: 1.9; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; font-size: 16px; font-weight: 600; border-radius: var(--radius);
  transition: var(--transition); letter-spacing: 1px; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--navy-dark); box-shadow: 0 6px 18px rgba(201,162,39,.32); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,39,.42); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,.08); }
.btn--outline-navy { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn--outline-navy:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 38px; font-size: 17px; }

/* ---------- 顶部 Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(22, 41, 77, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,162,39,.25); transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15,29,56,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; border-radius: var(--radius);
  background: rgba(201,162,39,.08);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { line-height: 1.2; }
.brand-name { font-family: var(--font-serif); font-size: 19px; color: var(--white); font-weight: 700; letter-spacing: 1px; }
.brand-tag { font-size: 11px; color: var(--gold); letter-spacing: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; padding: 8px 14px; font-size: 15px; color: rgba(255,255,255,.86); font-weight: 500;
  border-radius: var(--radius);
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }

.header-tel { display: flex; align-items: center; gap: 10px; flex: none; }
.header-tel .tel-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy-dark);
  padding: 10px 20px; font-weight: 700; font-size: 16px; border-radius: var(--radius); letter-spacing: .5px;
}
.header-tel .tel-btn svg { width: 17px; height: 17px; }
.header-tel .tel-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* 汉堡按钮 */
.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); }
.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; margin-top: 72px; background: var(--navy);
  color: var(--white); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,162,39,.16), transparent 42%),
    radial-gradient(circle at 8% 88%, rgba(201,162,39,.1), transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr;
  gap: 54px; align-items: center; padding: 64px 0 70px; min-height: calc(100vh - 72px);
}

/* Hero 左侧：电话引导 + 痛点 */
.hero-left .hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px;
  color: var(--gold); border: 1px solid rgba(201,162,39,.4); padding: 6px 14px;
  border-radius: var(--radius); background: rgba(201,162,39,.08); margin-bottom: 22px;
}
.hero-left .hero-badge svg { width: 15px; height: 15px; }
.hero-title {
  font-family: var(--font-serif); font-size: 44px; line-height: 1.28; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 18px;
}
.hero-title .hl { color: var(--gold); }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.9; max-width: 600px; margin-bottom: 26px; }

/* 电话引导条 */
.hero-telbar {
  display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,39,.3); border-left: 4px solid var(--gold);
  padding: 18px 24px; border-radius: var(--radius); margin-bottom: 28px; flex-wrap: wrap;
}
.hero-telbar .tel-ico {
  width: 50px; height: 50px; flex: none; border-radius: var(--radius); background: var(--gold);
  display: flex; align-items: center; justify-content: center; animation: ring 2.6s infinite;
}
.hero-telbar .tel-ico svg { width: 26px; height: 26px; }
@keyframes ring {
  0%,100% { transform: rotate(0); } 8% { transform: rotate(-12deg); }
  16% { transform: rotate(12deg); } 24% { transform: rotate(-8deg); }
  32% { transform: rotate(8deg); } 40% { transform: rotate(0); }
}
.hero-telbar .tel-info { flex: 1; min-width: 180px; }
.hero-telbar .tel-label { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 2px; }
.hero-telbar .tel-num {
  font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--gold); letter-spacing: 1px;
  display: block; line-height: 1.1;
}
.hero-telbar .tel-num:hover { color: var(--gold-light); }

/* 痛点清单 */
.pain-title { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--white); margin-bottom: 16px; font-weight: 600; }
.pain-title svg { width: 20px; height: 20px; color: var(--gold); }
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 30px; }
.pain-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255,255,255,.86); line-height: 1.5; }
.pain-list li svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero 右侧：快速咨询卡片 */
.hero-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
}
.hero-card h3 { font-size: 22px; margin-bottom: 6px; }
.hero-card .card-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #FBFAF6; color: var(--ink); font-size: 15px; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(201,162,39,.14); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
textarea.form-control { resize: vertical; min-height: 84px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.6; }
.form-note svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--gold-dark); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 34px; }
.hero-stats .stat { background: rgba(255,255,255,.04); padding: 18px 10px; text-align: center; }
.hero-stats .stat b { display: block; font-family: var(--font-serif); font-size: 28px; color: var(--gold); font-weight: 700; }
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,.72); }

/* ---------- 团队律师 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lawyer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.lawyer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.lawyer-top { background: var(--navy); padding: 26px 26px 22px; position: relative; overflow: hidden; }
.lawyer-top::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border: 2px solid rgba(201,162,39,.2); border-radius: 50%; }
.lawyer-avatar {
  width: 74px; height: 74px; border-radius: var(--radius); background: rgba(201,162,39,.14);
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 28px; color: var(--gold); font-weight: 700; margin-bottom: 16px;
}
.lawyer-name { font-family: var(--font-serif); font-size: 24px; color: var(--white); font-weight: 700; }
.lawyer-title { font-size: 13px; color: var(--gold); margin-top: 6px; letter-spacing: .5px; }
.lawyer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lawyer-badges span { font-size: 12px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 3px 10px; border-radius: var(--radius); }
.lawyer-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.lawyer-focus { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--line); }
.lawyer-focus svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.lawyer-focus .fc-label { font-size: 13px; color: var(--muted); }
.lawyer-focus .fc-text { font-size: 15px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.lawyer-desc { font-size: 14.5px; color: var(--muted); line-height: 1.85; margin-bottom: 18px; flex: 1; }
.lawyer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lawyer-tags span { font-size: 12.5px; color: var(--navy); background: var(--bg); border: 1px solid var(--line); padding: 4px 11px; border-radius: var(--radius); }
.lawyer-cta { display: flex; gap: 10px; margin-top: 20px; }
.lawyer-cta a { flex: 1; text-align: center; padding: 10px; font-size: 14px; font-weight: 600; border-radius: var(--radius); }
.lawyer-cta .cta-call { background: var(--gold); color: var(--navy-dark); }
.lawyer-cta .cta-call:hover { background: var(--gold-light); }
.lawyer-cta .cta-chat { border: 1px solid var(--navy); color: var(--navy); }
.lawyer-cta .cta-chat:hover { background: var(--navy); color: var(--white); }

/* ---------- 团队优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 30px 26px; transition: var(--transition); }
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv-ico { width: 56px; height: 56px; border-radius: var(--radius); background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid var(--line); }
.adv-ico svg { width: 30px; height: 30px; color: var(--navy); }
.adv-card h4 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.adv-card .adv-num { font-family: var(--font-serif); font-size: 14px; color: var(--gold); font-weight: 700; letter-spacing: 1px; margin-bottom: 6px; }

/* ---------- 罪名专题 ---------- */
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.topic-nav button {
  padding: 9px 18px; font-size: 14.5px; color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: var(--transition);
}
.topic-nav button:hover { border-color: var(--gold); color: var(--gold-dark); }
.topic-nav button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.topic-list { display: grid; gap: 20px; }
.topic-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.topic-item.active { border-color: var(--gold); box-shadow: var(--shadow); }
.topic-head {
  display: flex; align-items: center; gap: 16px; padding: 22px 26px; cursor: pointer;
  transition: var(--transition); user-select: none;
}
.topic-head:hover { background: var(--bg); }
.topic-idx { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--gold); flex: none; width: 46px; opacity: .8; }
.topic-head .th-main { flex: 1; }
.topic-head h3 { font-size: 21px; margin-bottom: 3px; }
.topic-head .th-sub { font-size: 13.5px; color: var(--muted); }
.topic-toggle { width: 32px; height: 32px; flex: none; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.topic-toggle svg { width: 16px; height: 16px; color: var(--navy); transition: var(--transition); }
.topic-item.active .topic-toggle { background: var(--gold); border-color: var(--gold); }
.topic-item.active .topic-toggle svg { transform: rotate(180deg); color: var(--navy-dark); }
.topic-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.25,.8,.25,1); }
.topic-body-inner { padding: 4px 26px 28px; border-top: 1px solid var(--line); }
.topic-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 22px; }
.tb-block h5 { font-size: 15px; color: var(--gold-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: .5px; }
.tb-block h5 svg { width: 17px; height: 17px; }
.tb-block p { font-size: 14.5px; color: var(--ink); line-height: 1.85; margin-bottom: 10px; }
.tb-block ul li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink); line-height: 1.8; margin-bottom: 8px; }
.tb-block ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; background: var(--gold); }
.tb-quote { background: var(--bg); border-left: 3px solid var(--navy); padding: 14px 18px; font-size: 14px; color: var(--navy); line-height: 1.8; margin-top: 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.tb-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.tb-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; font-size: 14.5px; font-weight: 600; border-radius: var(--radius); }
.tb-actions a svg { width: 16px; height: 16px; }
.tb-actions .a-call { background: var(--navy); color: var(--white); }
.tb-actions .a-call:hover { background: var(--navy-light); }
.tb-actions .a-gold { background: var(--gold); color: var(--navy-dark); }
.tb-actions .a-gold:hover { background: var(--gold-light); }

/* ---------- 办案流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.process-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; position: relative; transition: var(--transition); }
.process-step:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: var(--shadow); }
.process-step .ps-num { width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 20px; font-weight: 700; }
.process-step h4 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 胜诉案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; transition: var(--transition); }
.case-card:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.case-badge { flex: none; width: 60px; text-align: center; }
.case-badge .cb-tag { display: block; background: var(--navy); color: var(--gold); font-size: 12px; padding: 6px 4px; border-radius: var(--radius); font-weight: 600; line-height: 1.3; }
.case-main h4 { font-size: 18px; margin-bottom: 10px; }
.case-main .case-crime { display: inline-block; font-size: 12px; color: var(--gold-dark); border: 1px solid var(--gold); padding: 2px 10px; border-radius: var(--radius); margin-bottom: 12px; }
.case-main p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.case-result { font-size: 14.5px; color: var(--navy); font-weight: 600; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; }
.case-result svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; }
.case-disclaimer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 30px; }

/* ---------- 政策法规 ---------- */
.policy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.policy-list { display: flex; flex-direction: column; gap: 14px; }
.policy-item { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 18px 22px; }
.policy-item .pi-date { font-size: 12.5px; color: var(--gold-dark); font-weight: 600; margin-bottom: 5px; }
.policy-item h4 { font-size: 16.5px; margin-bottom: 7px; }
.policy-item p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.policy-aside { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 34px 30px; position: sticky; top: 96px; }
.policy-aside h4 { color: var(--white); font-size: 22px; margin-bottom: 14px; }
.policy-aside p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.85; margin-bottom: 22px; }
.policy-aside .pa-tel { display: block; font-family: var(--font-serif); font-size: 28px; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.policy-aside .pa-tel:hover { color: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item.open { border-color: var(--gold); }
.faq-q { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--navy); }
.faq-q .fq-mark { font-family: var(--font-serif); color: var(--gold); font-size: 20px; flex: none; }
.faq-q .fq-text { flex: 1; }
.faq-q .fq-ico { width: 22px; height: 22px; flex: none; position: relative; }
.faq-q .fq-ico::before, .faq-q .fq-ico::after { content: ""; position: absolute; background: var(--navy); transition: var(--transition); }
.faq-q .fq-ico::before { left: 2px; right: 2px; top: 10px; height: 2px; }
.faq-q .fq-ico::after { top: 2px; bottom: 2px; left: 10px; width: 2px; }
.faq-item.open .fq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 24px 22px 60px; font-size: 15px; color: var(--muted); line-height: 1.9; }
.faq-a-inner p { margin-bottom: 8px; }

/* ---------- 联系区块 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.contact-info { padding: 40px 38px; }
.contact-info h3 { font-size: 26px; margin-bottom: 8px; }
.contact-info .ci-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.contact-line { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-of-type { border-bottom: none; }
.contact-line .cl-ico { width: 44px; height: 44px; flex: none; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.contact-line .cl-ico svg { width: 22px; height: 22px; color: var(--navy); }
.contact-line .cl-label { font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.contact-line .cl-text { font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.contact-line .cl-text a { color: var(--gold-dark); }
.contact-line .cl-text a:hover { color: var(--navy); }
.contact-map { background: var(--navy); position: relative; display: flex; flex-direction: column; justify-content: center; padding: 40px 38px; color: var(--white); overflow: hidden; }
.contact-map::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 40px 40px; }
.contact-map .map-inner { position: relative; z-index: 2; }
.map-pin { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(201,162,39,.15); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.map-pin svg { width: 32px; height: 32px; color: var(--gold); }
.contact-map h4 { color: var(--white); font-size: 20px; text-align: center; margin-bottom: 10px; }
.contact-map .map-addr { text-align: center; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 22px; }
.contact-map .map-hours { text-align: center; font-size: 14px; color: var(--gold); border: 1px dashed rgba(201,162,39,.4); padding: 10px; border-radius: var(--radius); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.footer-col h5 { color: var(--white); font-size: 17px; margin-bottom: 20px; font-family: var(--font-serif); position: relative; padding-bottom: 12px; }
.footer-col h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.68); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.66); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 14px; color: rgba(255,255,255,.72); }
.footer-contact li svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.9; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { max-width: 900px; margin: 0 auto 12px; font-size: 12.5px; color: rgba(255,255,255,.42); line-height: 1.8; }

/* ---------- 悬浮工具 ---------- */
.float-tools { position: fixed; right: 18px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: var(--shadow-lg); transition: var(--transition); color: var(--white); }
.float-btn svg { width: 24px; height: 24px; }
.float-btn span { font-size: 11px; line-height: 1; }
.float-tel { background: var(--gold); color: var(--navy-dark); }
.float-tel:hover { background: var(--gold-light); transform: scale(1.06); }
.float-top { background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(12px); }
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--navy-light); }

/* 移动端底部拨号条 */
.mobile-callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--navy); box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
.mobile-callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font-size: 16px; font-weight: 700; }
.mobile-callbar .mc-call { background: var(--gold); color: var(--navy-dark); }
.mobile-callbar .mc-chat { background: var(--navy); color: var(--white); border-left: 1px solid rgba(255,255,255,.15); }
.mobile-callbar svg { width: 20px; height: 20px; }

/* ---------- 滚动进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.25,.8,.25,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 46px 0 54px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .team-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .policy-aside { position: static; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-tel { display: none; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-dark); max-height: 0; overflow: hidden; transition: max-height .4s ease;
    border-bottom: 1px solid rgba(201,162,39,.2);
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav a { padding: 15px 24px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 16px; }
  .main-nav a::after { display: none; }
  .policy-layout, .contact-layout { grid-template-columns: 1fr; }
  .topic-cols { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: 36px; }
  .hero { margin-top: 64px; }
  .header-inner { height: 64px; }
  .main-nav { top: 64px; }
  .hero-title { font-size: 28px; line-height: 1.35; }
  .hero-desc { font-size: 15px; }
  .pain-list { grid-template-columns: 1fr; gap: 10px; }
  .hero-telbar .tel-num { font-size: 25px; }
  .hero-stats .stat b { font-size: 22px; }
  .team-grid, .adv-grid, .case-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 30px; }
  .brand-name { font-size: 17px; }
  .topic-head { padding: 18px; gap: 12px; }
  .topic-idx { width: 34px; font-size: 21px; }
  .topic-head h3 { font-size: 18px; }
  .topic-body-inner { padding: 4px 18px 22px; }
  .contact-info, .contact-map { padding: 30px 24px; }
  .float-tools { right: 12px; bottom: 74px; }
  .float-btn { width: 50px; height: 50px; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 54px; }
  .faq-q { font-size: 15.5px; padding: 17px 18px; }
  .faq-a-inner { padding: 0 18px 20px 46px; font-size: 14.5px; }
}

@media (max-width: 420px) {
  .container { padding: 0 15px; }
  .hero-title { font-size: 25px; }
  .hero-card { padding: 26px 20px; }
  .btn { padding: 12px 22px; font-size: 15px; }
  .process-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}


/* 头部容器：保证一行排列，不被挤爆 */
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;               /* 如仍放不下可再缩小到 16px */
  flex-wrap: nowrap;       /* 关键：禁止整体换行 */
  width: 100%;
  box-sizing: border-box;
}

/* 导航：不换行、不压缩 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;               /* 可缩小到 14~16px 给导航腾空间 */
  flex-wrap: nowrap;       /* 关键：禁止导航换行 */
  margin-left: auto;       /* 让导航靠右，电话在最右 */
  white-space: nowrap;
}

/* 每个导航链接：文字永远一行 */
.main-nav a {
  white-space: nowrap;     /* 关键：单个链接文字不折行 */
  flex-shrink: 0;          /* 关键：禁止链接被压缩 */
  font-size: 15px;         /* 如仍放不下可降到 14px */
}

/* 电话按钮：不换行、不压缩 */
.header-tel {
  flex-shrink: 0;
  white-space: nowrap;
}
