/* ==========================================================================
   沈悠悠律师 · 宁乡个人品牌官网 — 全站样式
   设计语言：藏青 × 金 · 专业 / 可信 / 克制 / 高级感
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  /* 主色板 */
  --navy: #1a4b8c;
  --navy-deep: #16335f;
  --navy-dark: #0d2247;
  --navy-ink: #0a1b38;
  --gold: #b3863a;
  --gold-bright: #cfa14e;
  --gold-dark: #8f6a2a;
  --gold-light: #f8f1e2;
  --navy-light: #eef3fa;

  /* 中性色 */
  --heading: #0f2444;  /* 标题专用深藏青（比正文更深、更重） */
  --ink: #1b2436;
  --text: #3a4152;
  --muted: #6a7284;
  --faint: #7b8394;   /* 元信息；已修正至 WCAG AA（≥4.5:1），原 #9aa1b1 仅 ≈2.6:1 */
  --line: #e6e9f1;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong",
    "SimSun", Georgia, serif;

  /* 尺寸与质感 */
  --radius: 14px;
  --radius-sm: 10px;
  /* 多层冷色阴影（Stripe 式：远层蓝调贴品牌色 + 近层中性），营造精密的高级感
     —— 阴影永远带蓝调 rgba(19,42,86,…)，从不使用中性灰/黑影 */
  --shadow-sm: 0 1px 2px rgba(13, 34, 71, .05), 0 4px 14px rgba(19, 42, 86, .06);
  --shadow-md: 0 4px 10px -2px rgba(23, 43, 77, .05), 0 18px 44px -18px rgba(23, 43, 77, .16), 0 2px 6px rgba(13, 34, 71, .04);
  --shadow-xl: 0 30px 60px -30px rgba(19, 42, 86, .28), 0 18px 36px -18px rgba(0, 0, 0, .08);
  --shadow-gold: 0 8px 24px rgba(179, 134, 58, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .68, .28, 1);
  --dur: .45s;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 数字（电话/证号/日期）等宽对齐，避免跳动 */
  font-feature-settings: "tnum" 1, "lnum" 1;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.35; margin: 0 0 .5em; }
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
::selection { background: rgba(179, 134, 58, .22); }

/* 跳转到主内容（无障碍 / 键盘用户） */
.skip-link {
  position: absolute; left: 50%; top: -64px; z-index: 200;
  transform: translateX(-50%);
  padding: 12px 22px; border-radius: 0 0 12px 12px;
  background: var(--navy-deep); color: #fff;
  font-size: 14.5px; font-weight: 600; letter-spacing: .03em;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ==========================================================================
   顶部导航
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(13, 34, 71, .07);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 4px 12px rgba(13, 34, 71, .25);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 8px;
  border: 1px solid rgba(207, 161, 78, .55); pointer-events: none;
}
.brand-name {
  display: block; font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; letter-spacing: .06em;
  color: var(--navy-deep); line-height: 1.2;
}
.brand-sub { display: block; font-size: 11.5px; letter-spacing: .04em; color: var(--muted); line-height: 1.3; }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 14px;
  font-size: 15px; color: var(--ink); letter-spacing: .02em;
  border-radius: 8px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--navy-deep); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy-deep); font-weight: 600; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--navy-deep);
  transition: transform .3s var(--ease), opacity .2s;
}
.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); }

/* 移动端抽屉导航 */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  pointer-events: none;
}
.drawer-mask {
  position: absolute; inset: 0;
  background: rgba(10, 27, 56, .45);
  opacity: 0; transition: opacity .3s;
}
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(320px, 84vw);
  background: #fff;
  box-shadow: -16px 0 48px rgba(13, 34, 71, .18);
  padding: calc(var(--header-h) + 20px) 28px 32px;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 4px;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-mask { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 6px; font-size: 16.5px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer-panel a.drawer-link::after { content: "›"; color: var(--gold); font-size: 18px; }
.drawer-panel .btn { margin-top: 22px; justify-content: center; }
.drawer-entity { margin-top: 22px; font-size: 12px; line-height: 1.7; color: var(--faint); }

/* ==========================================================================
   按钮系统（统一高度 / 字重 / 焦点态）
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  font-size: 15px; font-weight: 600; letter-spacing: .03em;
  border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 16.5px; border-radius: 14px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2260ae 0%, var(--navy) 45%, var(--navy-deep) 100%);
  box-shadow: 0 8px 22px rgba(26, 75, 140, .32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(26, 75, 140, .42); transform: translateY(-2px); }

.btn-gold {
  color: #2b1f08;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, #a37c31 100%);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { color: #2b1f08; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(179, 134, 58, .45); }

.btn-outline {
  color: var(--navy-deep); border-color: rgba(26, 75, 140, .35); background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-light); }

.btn-ghost-light {
  color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06);
}
.btn-ghost-light:hover { color: #fff; border-color: var(--gold-bright); background: rgba(207, 161, 78, .14); }

.btn .tel-ico { font-size: 1.05em; }

/* ==========================================================================
   Hero（首屏 · 藏青深底 + 金色光晕）
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 0;
  /* 首屏整屏：桌面端撑满一屏，滚动一屏即是"关于我" */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #e9edf6;
  /* 背景图替换入口：把下方 url 换成自己的图片路径即可（建议深色、≥1536px 宽） */
  background:
    linear-gradient(160deg, rgba(10, 27, 56, .86) 0%, rgba(13, 34, 71, .68) 46%, rgba(22, 51, 95, .80) 100%),
    url("../img/hero-bg.jpg") center / cover no-repeat,
    linear-gradient(158deg, var(--navy-ink) 0%, var(--navy-dark) 46%, var(--navy-deep) 100%);
  overflow: hidden;
}
.hero::before { /* 细格纹肌理 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .033) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
}
.hero::after { /* 底部金色发丝线 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 161, 78, .6), transparent);
}
.hero-inner {
  position: relative; z-index: 1;
  margin-top: auto;            /* 内容贴底，使首屏整屏为蓝色 */
  display: grid; grid-template-columns: 1.12fr .88fr;
  grid-template-areas: "head fig" "body fig";
  grid-template-rows: auto auto;
  gap: 0 40px; align-items: start;
}
.hero-head { grid-area: head; text-align: left; max-width: 620px; }
.hero-body { grid-area: body; text-align: left; max-width: 620px; padding-bottom: 88px; }

/* 首屏人物（抠图） */
.hero-figure {
  grid-area: fig;
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  align-self: end;
}
.hero-figure::before {
  content: ""; position: absolute; left: 50%; bottom: -2%;
  transform: translateX(-50%);
  width: 128%; height: 76%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(207, 161, 78, .26), rgba(207, 161, 78, .05) 62%, transparent 76%);
  pointer-events: none;
}
.hero-figure picture { position: relative; z-index: 1; display: block; }
.hero-figure img {
  display: block; width: auto; max-width: 100%;
  height: clamp(360px, 43vw, 588px);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, .45));
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .34em; text-indent: .34em;
  color: var(--gold-bright); text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 161, 78, .8));
}
.hero-eyebrow::after { background: linear-gradient(90deg, rgba(207, 161, 78, .8), transparent); }

.hero-title { display: block; margin: 0 0 26px; }
.hero-title-top {
  display: block; margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 1.35vw, 16px); font-weight: 600;
  letter-spacing: .46em; text-indent: .46em;
  color: var(--gold-bright);
}
.hero-title-main {
  position: relative; display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 55px);
  font-weight: 700; letter-spacing: .05em; line-height: 1.22;
  color: #fff;
  padding-bottom: 20px;
}
.hero-title-main::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 76px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-bright), rgba(207, 161, 78, 0));
}
.hero-sub {
  max-width: 600px; margin: 0 0 22px;
  font-size: clamp(15px, 1.5vw, 16.5px); line-height: 1.9;
  color: rgba(233, 237, 246, .82);
}
.hero-entity {
  max-width: 600px; margin: 0 0 34px;
  padding: 16px 22px;
  font-size: 13.5px; line-height: 1.85; text-align: left;
  color: rgba(233, 237, 246, .68);
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-actions { display: flex; justify-content: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-meta {
  display: flex; justify-content: flex-start; flex-wrap: wrap;
  gap: 10px 0;
  font-size: 13.5px; letter-spacing: .03em;
  color: rgba(233, 237, 246, .6);
}
.hero-meta span { display: inline-flex; align-items: center; padding: 0 22px; position: relative; }
.hero-meta span:first-child { padding-left: 0; }
.hero-meta span + span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 1px; height: 14px; transform: translateY(-50%);
  background: rgba(207, 161, 78, .45);
}
.hero-meta i { font-style: normal; color: var(--gold-bright); margin-right: 7px; }

/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 72px 0; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-indent: .3em;
  color: var(--gold-dark); text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700; letter-spacing: .03em;
  color: var(--heading); margin-bottom: 14px;
}
.section-title::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(179, 134, 58, .15));
}
.section-head.center .section-title::after { margin-left: auto; margin-right: auto; }
.section-lead { font-size: 16px; color: var(--muted); margin: 0; }

/* ---------- 关于我 ---------- */
.profile-grid {
  display: grid; grid-template-columns: 366px 1fr;
  gap: 60px; align-items: center;
}
.profile-card {
  position: relative; text-align: center;
  padding: 24px 24px 30px;
  border-radius: 20px;
  color: var(--text);
  background: linear-gradient(168deg, #ffffff 0%, #eef3fa 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.profile-card::after {
  content: ""; position: absolute; inset: 8px; border-radius: 14px;
  border: 1px solid rgba(179, 134, 58, .3); pointer-events: none;
}
.profile-card .portrait {
  position: relative; z-index: 1;
  margin: 0 auto 24px; padding: 0;
  width: 100%; border-radius: 12px; overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(207, 161, 78, .55);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38);
}
.profile-card .portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(10, 27, 56, .5) 100%);
}
.profile-card .portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 14%;
  transition: transform .6s var(--ease);
}
.profile-card:hover .portrait img { transform: scale(1.03); }
.profile-card .p-name {
  position: relative; display: inline-block;
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  letter-spacing: .12em; color: var(--navy-deep); margin: 2px 0 12px; padding-bottom: 12px;
}
.profile-card .p-name::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 34px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.profile-card .p-firm { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.profile-card .p-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.profile-card .p-tags span {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  color: var(--gold-dark);
  border: 1px solid rgba(179, 134, 58, .38);
  background: var(--gold-light);
}
.profile-body p { font-size: 16px; }
.profile-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 30px; padding: 0; list-style: none; }
.profile-points li {
  position: relative; padding-left: 26px;
  font-size: 15px; color: var(--ink);
}
.profile-points li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- 领域卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(179, 134, 58, .1));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(179, 134, 58, .35); }
.card:hover::before { transform: scaleX(1); }

.card .num {
  display: block; margin-bottom: 12px;
  font-family: var(--font-serif); font-size: 15px; font-weight: 700;
  letter-spacing: .18em; color: var(--gold);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 20px; letter-spacing: .04em;
  color: var(--navy-deep); margin-bottom: 10px;
}
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--navy);
}
.card .more::after { content: "→"; transition: transform .25s var(--ease); }
.card .more:hover { color: var(--gold-dark); }
.card .more:hover::after { transform: translateX(4px); }

/* ---------- 为什么选择我 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 36px 30px;
  border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-ico {
  display: grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-light), #f3e7cd);
  border: 1px solid rgba(179, 134, 58, .3);
}
.why-ico svg { width: 26px; height: 26px; stroke: var(--gold-dark); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-family: var(--font-serif); font-size: 19px; color: var(--navy-deep); letter-spacing: .04em; }
.why-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- FAQ 折叠 ---------- */
.faq-list { max-width: 780px; }
.section-head.center + .faq-list, .faq-list.center { margin-left: auto; margin-right: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(179, 134, 58, .45); box-shadow: var(--shadow-md); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-a {
  padding: 0 22px 20px; font-size: 14.5px; line-height: 1.85; color: var(--muted);
  border-top: 1px dashed var(--line); padding-top: 16px; margin: 0 22px 20px; padding-left: 0; padding-right: 0;
}
.faq-more { text-align: center; margin-top: 32px; }

/* ---------- 联系我（转化区 · 深底） ---------- */
.contact-section {
  position: relative; color: #e9edf6;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(207, 161, 78, .14), transparent 60%),
    linear-gradient(150deg, var(--navy-ink) 0%, var(--navy-dark) 55%, var(--navy-deep) 100%);
  overflow: hidden;
}
.contact-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 100%, #000 20%, transparent 75%);
}
.contact-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.contact-inner .section-title { color: #fff; }
.contact-inner .section-title::after { margin-left: auto; margin-right: auto; }
.contact-inner .lead { color: rgba(233, 237, 246, .75); max-width: 560px; margin: 0 auto 34px; }
.contact-card {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 44px; text-align: left;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius); overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.contact-cell { padding: 22px 26px; background: rgba(13, 34, 71, .55); }
.contact-cell .k {
  display: block; margin-bottom: 5px;
  font-size: 12px; letter-spacing: .2em; color: var(--gold-bright);
}
.contact-cell .v { font-size: 16px; font-weight: 600; color: #fff; }
.contact-cell .v a { color: #fff; }
.contact-cell .v a:hover { color: var(--gold-bright); }

/* ==========================================================================
   内页页头（知识库 / FAQ / 文章）
   ========================================================================== */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 60px;
  color: #e9edf6;
  background:
    radial-gradient(700px 320px at 82% -20%, rgba(207, 161, 78, .18), transparent 60%),
    linear-gradient(150deg, var(--navy-ink) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 161, 78, .55), transparent);
}
.page-head .container { position: relative; z-index: 1; }
.crumb { font-size: 13px; color: rgba(233, 237, 246, .55); margin-bottom: 18px; letter-spacing: .04em; }
.crumb a { color: rgba(233, 237, 246, .75); }
.crumb a:hover { color: var(--gold-bright); }
.crumb .sep { margin: 0 10px; color: rgba(207, 161, 78, .6); }
.pillar-tag {
  display: inline-block; margin-bottom: 14px;
  padding: 4px 14px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .14em;
  color: var(--gold-bright);
  border: 1px solid rgba(207, 161, 78, .5);
  background: rgba(207, 161, 78, .1);
}
.page-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; letter-spacing: .03em; color: #fff;
  margin-bottom: 12px;
}
.page-head .page-lead { max-width: 640px; font-size: 15.5px; color: rgba(233, 237, 246, .7); margin: 0; }

/* ==========================================================================
   知识库分组卡
   ========================================================================== */
.lib-card { scroll-margin-top: calc(var(--header-h) + 16px); }
.lib-card .lib-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px;
}
.lib-card .lib-head .num { margin: 0; }
.lib-card ul.art-list { list-style: none; padding: 0; margin: 12px 0 0; }
.lib-card ul.art-list li { border-top: 1px dashed var(--line); }
.lib-card ul.art-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 2px; font-size: 14.5px; color: var(--ink);
}
.lib-card ul.art-list a::after { content: "›"; color: var(--gold); transition: transform .25s var(--ease); }
.lib-card ul.art-list a:hover { color: var(--navy); }
.lib-card ul.art-list a:hover::after { transform: translateX(4px); }
.lib-empty { font-size: 13px; color: var(--faint); margin: 12px 0 0; padding: 10px 14px; background: var(--bg-soft); border-radius: 8px; }

/* ==========================================================================
   文章页
   ========================================================================== */
.article { max-width: 780px; margin: 0 auto; }
.article-meta { color: var(--faint); font-size: 13px; letter-spacing: .05em; margin: 0 0 26px; }
.article h2 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--navy-deep); letter-spacing: .03em;
  margin: 44px 0 16px; padding-left: 16px; position: relative;
}
.article h2::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em;
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--gold), rgba(179, 134, 58, .25));
}
.article p { font-size: 16px; }
.article ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.article ul li {
  position: relative; padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--line); font-size: 15.5px;
}
.article ul li::before {
  content: ""; position: absolute; left: 6px; top: 1.15em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(179, 134, 58, .18);
}
.conclusion {
  position: relative; margin: 8px 0 34px;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--navy-light), #f6f9fd);
  border: 1px solid rgba(26, 75, 140, .14);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
}
.conclusion strong {
  display: inline-block; margin-bottom: 8px;
  font-size: 12.5px; letter-spacing: .26em; text-indent: .26em;
  color: var(--gold-dark);
}
.conclusion p { margin: 0; font-size: 15.5px; line-height: 1.9; color: var(--navy-deep); }

.art-cta {
  margin-top: 48px; padding: 34px 32px;
  border-radius: var(--radius);
  color: #e9edf6; text-align: center;
  background:
    radial-gradient(400px 160px at 85% 0%, rgba(207, 161, 78, .2), transparent 60%),
    linear-gradient(150deg, var(--navy-dark), var(--navy-deep));
  box-shadow: var(--shadow-md);
}
.art-cta p { font-family: var(--font-serif); font-size: 19px; color: #fff; letter-spacing: .04em; margin-bottom: 20px; }
.art-cta .hero-actions { margin: 0; }

.related { margin-top: 52px; }
.related h2 { margin-top: 0; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-bottom: 1px dashed var(--line); }
.related a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; font-size: 15.5px; color: var(--ink);
}
.related a::after { content: "›"; color: var(--gold); transition: transform .25s var(--ease); }
.related a:hover { color: var(--navy); }
.related a:hover::after { transform: translateX(4px); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  color: rgba(233, 237, 246, .62);
  background: var(--navy-ink);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px;
}
.site-footer h4 {
  font-family: var(--font-serif);
  font-size: 16px; letter-spacing: .1em; color: #fff;
  margin-bottom: 18px; padding-bottom: 12px; position: relative;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--gold);
}
.site-footer p { font-size: 13.5px; line-height: 1.9; margin: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.site-footer ul li { margin-bottom: 10px; break-inside: avoid; }
.site-footer ul a { font-size: 13.5px; color: rgba(233, 237, 246, .62); }
.site-footer ul a:hover { color: var(--gold-bright); }
.footer-contact li { font-size: 13.5px; margin-bottom: 12px; line-height: 1.7; }
.footer-contact .fk { color: var(--gold-bright); margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 26px 0 30px;
  font-size: 12.5px; line-height: 2; text-align: center;
  color: rgba(233, 237, 246, .42);
}

/* ==========================================================================
   404
   ========================================================================== */
.page-404 { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 60px) 0 80px; }
.page-404 .code {
  font-family: var(--font-serif); font-size: clamp(72px, 14vw, 120px); font-weight: 700;
  background: linear-gradient(135deg, var(--navy) 30%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 18px;
}
.page-404 p { color: var(--muted); margin-bottom: 30px; }

/* ==========================================================================
   滚动显现动效
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   移动端底部悬浮咨询条
   ========================================================================== */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(13, 34, 71, .1);
  gap: 10px;
}
.mobile-cta a, .mobile-cta button {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  border: none; cursor: pointer; white-space: nowrap;
}
.mcta-call {
  color: #2b1f08;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, #a37c31 100%);
  box-shadow: var(--shadow-gold);
}
.mcta-call:active { transform: translateY(1px); }
.mcta-wechat {
  color: #fff;
  background: linear-gradient(135deg, #2260ae 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: 0 8px 22px rgba(26, 75, 140, .3);
}
.mcta-wechat:active { transform: translateY(1px); }
.mcta-ico { display: inline-block; line-height: 1; flex-shrink: 0; }
.mcta-toast {
  position: fixed; left: 50%; bottom: 84px; z-index: 120;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 20px; border-radius: 999px;
  background: rgba(10, 27, 56, .92); color: #fff;
  font-size: 14px; letter-spacing: .03em;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.mcta-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 992px) {
  .cards, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-2 { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 44px; }
  .profile-card { max-width: 430px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { margin-left: 0; }
  /* 首屏回退为单列：标题 → 照片 → 详情 */
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "body"; gap: 16px; }
  .hero-head, .hero-body { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-body { padding-bottom: 6px; }
  .hero-figure { align-self: center; }
  .hero-sub, .hero-entity { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-figure img { height: clamp(320px, 50vw, 440px); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .cards, .why-grid { grid-template-columns: 1fr; }
  .hero { padding: calc(var(--header-h) + 34px) 0 0; }
  .hero-inner { gap: 14px; }
  .hero-title-main { display: block; font-size: clamp(26px, 7.2vw, 34px); letter-spacing: .04em; padding-bottom: 12px; overflow-wrap: break-word; }
  .hero-title-main::after { left: 50%; transform: translateX(-50%); width: 56px; }
  .hero-title-top { letter-spacing: .3em; text-indent: .3em; }
  .hero-figure img { height: clamp(320px, 84vw, 420px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { flex-direction: column; gap: 8px; align-items: center; }
  .hero-meta span { padding: 0; }
  .hero-meta span + span::before { display: none; }
  .header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
  .brand-sub { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-cell { padding: 18px 20px; }
  .contact-cell .v { font-size: 17px; }
  .profile-points { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .art-cta .hero-actions { flex-direction: column; }
  .art-cta .btn { justify-content: center; width: 100%; }
  .page-head { padding: calc(var(--header-h) + 44px) 0 44px; }
  /* 移动端显示悬浮条，并为底部内容留出空间 */
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .site-footer { padding-bottom: 0; }
}
