@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ===== 藏青象牙：海军蓝 + 象牙底的律师个人站 ===== */
:root {
  --navy-50: #E8EBF0;
  --navy-100: #C5CDD9;
  --navy-200: #9BA8BB;
  --navy-300: #72839D;
  --navy-400: #4A5D7A;
  --navy-500: #1B2A4A;
  --navy-600: #16223B;
  --navy-700: #111A2E;
  --navy-800: #0C1120;
  --navy-900: #070912;

  --ivory-50: #FFFFF5;
  --ivory-100: #FFFFF0;
  --ivory-200: #FAF9F6;
  --ivory-300: #F5F5F3;
  --ivory-400: #F0F0EC;

  --slate: #5A6570;
  --bg: var(--ivory-200);
  --surface: #ffffff;
  --text: #1B2A4A;
  --muted: #5A6570;
  --border: #E8EBF0;
  --shadow: 0 8px 24px rgba(27, 42, 74, 0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-full: 999px;
  --header-h: 80px;
  --bar-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover { opacity: 0.9; }

h1, h2, h3, h4 {
  font-family: "Noto Sans SC", sans-serif;
  color: var(--navy-500);
  line-height: 1.3;
  font-weight: 700;
}

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

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { opacity: 1; }
.btn-primary {
  background: var(--navy-500);
  color: var(--ivory-100);
}
.btn-primary:hover { background: var(--navy-600); }
.btn-ivory {
  background: var(--ivory-100);
  color: var(--navy-700);
}
.btn-ivory:hover {
  background: var(--ivory-300);
  box-shadow: 0 8px 20px rgba(255, 255, 240, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-500);
  border-color: var(--navy-100);
}
.btn-ghost:hover { background: var(--navy-50); }
.btn-ghost-light {
  background: transparent;
  color: var(--ivory-100);
  border-color: rgba(255, 255, 240, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy-700); color: var(--ivory-100); }
.btn-navy:hover { background: var(--navy-600); }

/* ===== 顶栏：叠在藏青 Hero 上，滚动后变象牙白 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(17, 26, 46, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  font-size: 24px;
  color: var(--ivory-100);
  transition: color 0.3s;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-primary {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ivory-100);
  transition: color 0.3s;
}
.brand-secondary {
  font-size: 11px;
  color: rgba(255, 255, 240, 0.7);
  margin-top: 2px;
  transition: color 0.3s;
}
.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 240, 0.8);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover {
  color: var(--ivory-100);
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}
.nav-link.nav-cta {
  background: var(--ivory-100);
  color: var(--navy-700);
  font-weight: 600;
  margin-left: 8px;
  border-radius: var(--radius-full);
  padding: 8px 20px;
}
.nav-link.nav-cta:hover { background: var(--ivory-300); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ivory-100);
  white-space: nowrap;
  font-size: 14px;
  transition: color 0.3s;
}
.header-phone i { font-size: 18px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ivory-100);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
.mobile-nav {
  display: none;
  background: rgba(17, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px 16px;
}
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  color: rgba(255, 255, 240, 0.8);
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a.nav-cta {
  color: var(--ivory-100);
  background: rgba(255, 255, 255, 0.12);
}
.mobile-nav a.nav-cta {
  margin-top: 8px;
  text-align: center;
  font-weight: 600;
}
body.nav-open .mobile-nav { display: block; }

body.is-scrolled .site-header,
body.nav-open .site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
body.is-scrolled .brand-icon,
body.is-scrolled .brand-primary,
body.is-scrolled .header-phone,
body.is-scrolled .nav-toggle,
body.nav-open .brand-icon,
body.nav-open .brand-primary,
body.nav-open .header-phone,
body.nav-open .nav-toggle { color: var(--navy-500); }
body.is-scrolled .brand-secondary,
body.nav-open .brand-secondary { color: var(--slate); }
body.is-scrolled .nav-link,
body.nav-open .nav-link { color: var(--navy-500); }
body.is-scrolled .nav-link:hover,
body.nav-open .nav-link:hover { background: rgba(27, 42, 74, 0.08); color: var(--navy-500); }
body.is-scrolled .nav-link.nav-cta,
body.nav-open .nav-link.nav-cta {
  background: var(--navy-500);
  color: var(--ivory-100);
}
body.is-scrolled .nav-link.nav-cta:hover,
body.nav-open .nav-link.nav-cta:hover { background: var(--navy-600); }
body.is-scrolled .mobile-nav,
body.nav-open.is-scrolled .mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  border-top-color: var(--border);
}
body.is-scrolled .mobile-nav a { color: var(--navy-500); }
body.is-scrolled .mobile-nav a.nav-cta {
  background: var(--navy-500);
  color: var(--ivory-100);
}

/* ===== 首页 Hero ===== */
.lawyer-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-700);
  color: var(--ivory-100);
  padding: calc(var(--header-h) + 48px) 0 64px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lawyer-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 26, 46, 0.92), rgba(17, 26, 46, 0.8), rgba(22, 34, 59, 0.7));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 240, 0.8);
  background: var(--ivory-100);
  flex-shrink: 0;
}
.hero-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-avatar-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  color: var(--navy-500);
  background: var(--ivory-100);
}
.hero-id-meta {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 240, 0.7);
}
.hero-id-meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ivory-100);
}
.hero-text h1 {
  font-family: "Noto Serif SC", serif;
  font-weight: 400;
  color: var(--ivory-100);
  font-size: 42px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 28px;
  font-weight: 700;
  color: var(--ivory-100);
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-about-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: rgba(255, 255, 240, 0.85);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 240, 0.35);
  padding-bottom: 2px;
}

.hero-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px;
}
.hero-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 360px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--navy-600);
}
.hero-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-lead {
  font-size: 14px;
  color: rgba(255, 255, 240, 0.8);
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-nap { display: flex; flex-direction: column; gap: 10px; }
.hero-nap-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 240, 0.9);
}
.hero-nap-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ivory-100);
}

/* ===== 栏目头图（无图时藏青渐变兜底） ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: var(--ivory-100);
  padding: calc(var(--header-h) + 48px) 0 56px;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 42, 74, 0.72), rgba(17, 26, 46, 0.85));
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-kicker {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--ivory-100);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.page-hero-content h1 {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  color: var(--ivory-100);
  font-size: 36px;
}
.page-hero-desc {
  margin: 12px auto 0;
  font-size: 15px;
  color: rgba(255, 255, 240, 0.7);
  max-width: 640px;
}

/* ===== 区块 ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--ivory-300); }
.section-white { background: var(--surface); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.section-title {
  font-size: 32px;
  color: var(--navy-500);
}
.section-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.section-title-row .section-sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--slate);
}
.section-desc { font-size: 14px; color: #6b7280; margin-top: 8px; }
.section-more {
  color: var(--navy-500);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--navy-500);
  color: var(--ivory-100);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-full);
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.practice-card, .case-card, .news-card, .banner-card {
  background: var(--surface);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.practice-card:hover, .case-card:hover, .news-card:hover, .banner-card:hover {
  box-shadow: 0 12px 28px rgba(27, 42, 74, 0.06);
  border-color: var(--navy-100);
  opacity: 1;
}
.practice-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--navy-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: background 0.3s;
}
.practice-icon i {
  font-size: 24px;
  color: var(--navy-500);
  transition: color 0.3s;
}
.practice-card:hover .practice-icon { background: var(--navy-500); }
.practice-card:hover .practice-icon i { color: var(--ivory-100); }
.practice-card h3, .case-card h3, .news-card h3, .banner-card h2 {
  font-size: 17px;
  color: var(--navy-700);
  margin-bottom: 10px;
}
.practice-card p, .case-card p, .news-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
}
.card-more {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}
.card-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-500);
  transition: background 0.3s, color 0.3s;
}
.practice-card:hover .card-arrow,
.case-card:hover .card-arrow {
  background: var(--navy-500);
  color: var(--ivory-100);
}
.case-result { color: var(--navy-500) !important; font-weight: 500; }
.news-card { padding: 0; overflow: hidden; }
.news-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 10px;
}
.news-tag {
  padding: 2px 8px;
  background: var(--navy-50);
  color: var(--navy-600);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.news-date { font-size: 12px; color: #9ca3af; margin-top: 10px; }
.news-card h3 { font-size: 15px; }
.banner-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}
.banner-card .btn { align-self: flex-start; margin-top: auto; }

/* ===== 步骤 ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-item {
  background: var(--surface);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-500);
  color: var(--ivory-100);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--navy-700); }
.step-item p { font-size: 14px; color: var(--muted); }

/* ===== 表单 ===== */
.form-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-panel h3 { font-size: 22px; margin-bottom: 8px; color: var(--navy-700); }
.form-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--text);
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--ivory-300);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.12);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 96px; }
.form-check { display: flex; align-items: flex-start; gap: 8px; }
.form-check input { margin-top: 3px; }
.form-check label { font-size: 13px; color: var(--muted); margin: 0; }
.form-check a { color: var(--navy-500); text-decoration: underline; }
.form-disclaimer { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.6; }
.form-btn { width: 100%; font-size: 16px; padding: 14px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

/* ===== 信任条 ===== */
.trust-bar {
  background: var(--navy-700);
  color: var(--ivory-100);
  padding: 36px 0;
}
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item i { font-size: 26px; color: var(--ivory-100); margin-top: 2px; }
.trust-item strong { display: block; font-size: 15px; margin-bottom: 3px; color: var(--ivory-100); }
.trust-item span { font-size: 13px; color: rgba(255, 255, 240, 0.65); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr 0.9fr; gap: 40px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ivory-100);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 600;
}
.footer-brand i { font-size: 22px; }
.footer-title {
  color: var(--ivory-100);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: "Noto Sans SC", sans-serif;
}
.footer-nap p { font-size: 14px; margin-bottom: 8px; line-height: 1.7; color: #9ca3af; }
.footer-nap a { color: var(--ivory-100); }
.footer-practices { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-practices a {
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.8);
}
.footer-practices a:hover { border-color: var(--ivory-100); color: var(--ivory-100); opacity: 1; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #9ca3af; }
.footer-links a:hover { color: var(--ivory-100); }
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  border-radius: var(--radius-full);
  color: var(--ivory-100);
  font-size: 14px;
  cursor: pointer;
  margin: 8px 0;
  font-family: inherit;
}
.footer-wechat:hover { background: rgba(255, 255, 255, 0.2); }
.footer-qr {
  width: 96px; height: 96px;
  border-radius: 8px;
  background: #fff;
  margin-top: 12px;
  object-fit: cover;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 24px;
  text-align: center;
}
.footer-disclaimer { font-size: 12px; color: rgba(255, 255, 255, 0.45); line-height: 1.7; }
.footer-beian { font-size: 12px; color: rgba(255, 255, 255, 0.4); margin-top: 6px; }
.footer-beian a { color: rgba(255, 255, 255, 0.4); }
.footer-tech { font-size: 12px; color: rgba(255, 255, 255, 0.32); margin-top: 10px; }
.footer-tech a { color: var(--navy-200); }
.footer-tech a:hover { color: var(--ivory-100); }

/* ===== PC 转化条 ===== */
.pc-convert {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(27, 42, 74, 0.08);
  display: none;
}
.pc-convert-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.pc-convert-text strong { display: block; font-size: 16px; color: var(--navy-700); }
.pc-convert-text span { font-size: 13px; color: var(--muted); }
.pc-convert-actions { display: flex; align-items: center; gap: 16px; }
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-500);
  white-space: nowrap;
}
.pc-convert-phone i { font-size: 20px; }

/* ===== 手机底栏 ===== */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  display: none;
  grid-template-columns: repeat(4, 1fr);
}
.mobile-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  font-size: 10px;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.mobile-bar-item i { font-size: 20px; color: #9ca3af; }
.mobile-bar-item.mobile-cta { color: var(--navy-500); }
.mobile-bar-item.mobile-cta i { color: var(--navy-500); }

/* ===== 微信弹窗 ===== */
#wechat-modal,
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 9, 18, 0.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#wechat-modal.is-open,
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px 20px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--shadow);
}
.wechat-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border: 1px solid var(--navy-100);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy-700);
}
.wechat-modal-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--navy-50); color: var(--navy-500); font-size: 22px;
}
.wechat-modal-title {
  font-size: 17px; font-weight: 700; color: var(--navy-700); margin: 0 0 6px; line-height: 1.3;
}
.wechat-modal-desc {
  font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5;
}
.wechat-qr { width: 180px; height: 180px; margin: 16px auto 4px; border-radius: 8px; object-fit: contain; background: #fff; }
.wechat-id-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin: 14px 0 6px;
}
.wechat-id-label { font-size: 13px; color: var(--muted); }
.wechat-id-value { font-size: 16px; letter-spacing: .04em; color: var(--navy-700); }
.wechat-id-hint {
  font-size: 14px !important; font-weight: 700 !important;
  color: #c2410c !important; margin: 10px 0 12px !important; line-height: 1.5;
}
.wechat-id-hint strong { font-size: 16px; color: #b91c1c; }
.wechat-modal-box [data-copy-wechat] {
  border: 1px solid var(--navy-500); background: #fff;
  color: var(--navy-700); padding: 6px 12px; cursor: pointer; font-size: 13px;
  border-radius: 8px;
}
.wechat-modal-box [data-copy-wechat].is-copied { opacity: .7; }
.wechat-modal-dismiss {
  display: block; width: 100%; margin-top: 4px; padding: 10px 16px;
  border: 1px solid var(--navy-100); border-radius: 8px;
  background: #fff; color: var(--muted); font-size: 15px; cursor: pointer;
}
.wechat-modal-dismiss:hover { background: var(--navy-50); color: var(--navy-700); }

/* ===== 正文富文本 ===== */
.prose { font-size: 15.5px; line-height: 1.9; color: var(--slate); }
.prose h2 { font-size: 24px; margin: 30px 0 14px; color: var(--navy-700); }
.prose h3 { font-size: 19px; margin: 24px 0 12px; color: var(--navy-500); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 16px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.prose table th, .prose table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose table th { background: var(--navy-50); font-weight: 600; color: var(--navy-700); }
.prose blockquote { border-left: 4px solid var(--navy-500); padding-left: 16px; color: var(--muted); margin: 16px 0; }
.prose a { color: var(--navy-500); text-decoration: underline; }

/* ===== 面包屑 ===== */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy-500); }
.crumb-sep { color: var(--navy-100); }

/* ===== 文章布局 ===== */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding: 40px 24px 64px; }
.article-main { min-width: 0; }
.article-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.article-meta span { margin-right: 16px; }
.article-practice {
  display: inline-block;
  font-size: 13px;
  padding: 4px 12px;
  background: var(--navy-50);
  color: var(--navy-600);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.article-lead {
  font-size: 16px;
  color: var(--muted);
  border-left: 3px solid var(--navy-500);
  padding-left: 14px;
  margin-bottom: 24px;
}
.article-side { position: sticky; top: 96px; align-self: start; }

/* ===== 作者卡 ===== */
.author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--ivory-200);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 32px;
}
.author-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.author-name { font-size: 16px; font-weight: 600; color: var(--navy-700); }
.author-title { font-size: 13px; color: var(--navy-400); margin-left: 6px; font-weight: 400; }
.author-lead { font-size: 13px; color: var(--muted); margin-top: 4px; }
.author-firm { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid #f3f4f6; border-radius: var(--radius-lg); padding: 22px 26px; }
.faq-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--navy-700); }
.faq-item p { font-size: 14px; color: var(--muted); }

/* ===== 相关推荐 ===== */
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  transition: border-color 0.2s;
}
.related-item:hover { border-color: var(--navy-100); opacity: 1; }
.related-item i { color: var(--navy-500); }
.related-lawyer {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid #f3f4f6;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
}
.related-lawyer img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.related-lawyer-name { font-size: 16px; font-weight: 600; color: var(--navy-700); }
.related-lawyer-lead { font-size: 13px; color: var(--muted); margin-top: 4px; }
.related-block { margin-bottom: 28px; }
.related-block h3 { font-size: 19px; margin-bottom: 16px; }

/* ===== 致谢页 ===== */
.thanks { padding: calc(var(--header-h) + 48px) 0 80px; }
.thanks-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-icon { font-size: 60px; color: var(--navy-500); margin-bottom: 18px; }
.thanks-inner h1 { font-size: 32px; margin-bottom: 16px; }
.thanks-main { font-size: 17px; margin-bottom: 28px; color: var(--slate); }
.thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.thanks-wechat { margin-bottom: 28px; }
.thanks-wechat img { width: 200px; height: 200px; margin: 0 auto 16px; border-radius: 8px; }
.thanks-hours { background: var(--surface); border: 1px solid #f3f4f6; border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; text-align: left; }
.thanks-hours h2 { font-size: 18px; margin-bottom: 8px; }
.thanks-hours p { font-size: 14px; color: var(--muted); }
.thanks-disclaimer { font-size: 12px; color: var(--muted); }
.off-hours-tip-inner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--navy-600);
  text-align: left;
}
.off-hours-tip-inner i { font-size: 18px; margin-top: 1px; }

/* ===== 404 ===== */
.error-page { padding: calc(var(--header-h) + 60px) 0 100px; text-align: center; }
.error-inner { max-width: 640px; margin: 0 auto; }
.error-code { font-size: 80px; font-weight: 700; color: var(--navy-100); line-height: 1; margin-bottom: 8px; }
.error-inner h1 { font-size: 28px; margin-bottom: 16px; }
.error-desc { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.error-practice-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.error-practice-links a {
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
}

/* ===== 通用布局 ===== */
.about-layout, .contact-layout, .page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 24px 64px;
}
.consult-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 64px;
}
.consult-main {
  width: 100%;
  max-width: 640px;
  text-align: center;
  margin-bottom: 32px;
}
.consult-form-wrap {
  width: 100%;
  max-width: 560px;
}
.about-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--navy-600);
  background: var(--navy-50);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 20px;
}
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-item i { font-size: 22px; color: var(--navy-500); margin-top: 3px; }
.contact-item strong { display: block; font-size: 15px; color: var(--navy-700); margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--muted); display: block; }
.contact-item a { color: var(--navy-500); }
.consult-intro { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.consult-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-500);
  margin-bottom: 26px;
}
.privacy-layout { padding: 40px 24px 64px; max-width: 860px; margin: 0 auto; }

/* ===== 响应式 ===== */
@media (min-width: 1025px) {
  .pc-convert { display: block; }
  .mobile-bar { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-text h1 { font-size: 32px; }
  .hero-sub { font-size: 22px; }
  .card-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .about-layout, .contact-layout, .page-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .mobile-bar { display: grid; }
  .pc-convert { display: none; }
  .header-inner { height: 64px; }
  .lawyer-hero { min-height: 0; padding: calc(var(--header-h) + 28px) 0 40px; }
  .hero-text h1 { font-size: 26px; }
  .hero-sub { font-size: 20px; }
  .hero-avatar { width: 56px; height: 56px; }
  .page-hero { padding: calc(var(--header-h) + 28px) 0 36px; }
  .page-hero-content h1 { font-size: 24px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .card-grid, .card-grid-4, .steps-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-panel { padding: 24px; }
  .about-layout, .contact-layout, .page-layout, .consult-layout { padding: 28px 16px 48px; }
  .article-layout { padding: 28px 16px 48px; }
}
