/* =========================================================
   黄钊律师 · 个人网站样式表
   风格：深墨蓝 + 金 / 衬线标题 / 克制留白
   ========================================================= */

:root {
  --ink: #0d2135;
  --ink-2: #14304a;
  --ink-3: #1d4160;
  --gold: #b28a4d;
  --gold-2: #d3b47c;
  --gold-soft: #f0e6d2;
  --paper: #f8f6f2;
  --paper-2: #efeae1;
  --line: #e3ddd2;
  --text: #26313d;
  --muted: #6d7885;
  --white: #ffffff;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px -24px rgba(13, 33, 53, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(13, 33, 53, 0.45);
  --radius: 3px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.4; letter-spacing: 0.02em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
}
.topbar-list { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-list li { display: flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 13px; height: 13px; opacity: 0.7; flex: none; }
.topbar a:hover { color: var(--gold-2); }
.topbar-tel strong { color: var(--gold-2); letter-spacing: 0.06em; font-weight: 600; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(13, 33, 53, 0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 82px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  background: linear-gradient(180deg, #fffdf9, #f6f1e7);
  flex: none;
}
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}
.brand-text span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: #34404d;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  font-size: 14px;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-gold {
  background: linear-gradient(180deg, #c19a5c, #a97f45);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(170, 128, 70, 0.9);
}
.btn-gold:hover { background: linear-gradient(180deg, #cfa76a, #b2894d); transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(255, 255, 255, 0.04); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; letter-spacing: 0.08em; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.link-more::after { content: "→"; transition: transform 0.22s ease; }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 80% 8%, rgba(178, 138, 77, 0.26), transparent 62%),
    linear-gradient(150deg, #0b1d2f 0%, #14314c 52%, #0b1d2f 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 86px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  border: 1px solid rgba(211, 180, 124, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(211, 180, 124, 0.04), 0 0 0 120px rgba(211, 180, 124, 0.03);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 78px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--gold-2);
  margin-bottom: 26px;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); display: block; }

.hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.42;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-lead {
  font-size: 16px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.74);
  max-width: 33em;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.slogan-rotator {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.62);
  min-height: 24px;
}
.slogan-rotator .slogan { transition: opacity 0.45s ease, transform 0.45s ease; }
.slogan-rotator .slogan.is-out { opacity: 0; transform: translateY(-6px); }
.slogan-dots { display: flex; gap: 6px; }
.slogan-dots i {
  width: 16px; height: 2px; background: rgba(255, 255, 255, 0.24); display: block; transition: background 0.3s;
}
.slogan-dots i.on { background: var(--gold-2); }

/* 首屏名片 */
.hero-card {
  position: relative;
  border: 1px solid rgba(211, 180, 124, 0.32);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(6px);
  padding: 34px 32px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.hero-card h2 {
  font-size: 19px;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 4px;
}
.hero-card .card-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.hero-card dl { margin: 0; display: grid; gap: 0; }
.hero-card dl > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13.5px;
}
.hero-card dt { color: rgba(255, 255, 255, 0.5); letter-spacing: 0.08em; }
.hero-card dd { margin: 0; color: rgba(255, 255, 255, 0.92); line-height: 1.65; }
.hero-card .card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* 首屏数据条 */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}
.hero-stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0 24px;
}
.hero-stats div {
  padding: 24px 0;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stats div:first-child { border-left: 0; }
.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.hero-stats span { font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.55); }

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { margin-bottom: 46px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold); margin-bottom: 16px; }
.section-head .eyebrow::before { background: var(--gold); }
.section-head h2 {
  font-size: clamp(26px, 2.9vw, 36px);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-wrap: balance;
}
.section--ink .section-head h2 { color: #fff; }
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.section--ink .section-head p { color: rgba(255, 255, 255, 0.66); }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 40em; }

/* ---------- 业务领域 ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.practice-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 38px 32px 32px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.practice-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8cfbd; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card .num {
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: rgba(178, 138, 77, 0.14);
  letter-spacing: 0.04em;
}
.practice-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-soft);
  background: #fdfaf4;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.practice-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.3; }
.practice-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 12px; letter-spacing: 0.05em; }
.practice-card p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #7a6a4e;
  background: #faf6ee;
  border: 1px solid #ece1cd;
  padding: 3px 10px;
  border-radius: 999px;
}

.sub-practices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 22px;
}
.sub-practices > div {
  background: var(--white);
  padding: 24px 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background 0.25s ease;
}
.sub-practices > div:hover { background: #fdfaf5; }
.sub-practices > div > div { flex: 1; min-width: 0; }
.sub-practices b {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.03em;
  padding-top: 2px;
  flex: none;
}
.sub-practices h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.sub-practices p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 个人简介 ---------- */
.profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 62px;
  align-items: start;
}
.profile-photo {
  position: relative;
  padding: 12px;
  border: 1px solid var(--gold-soft);
  background: linear-gradient(180deg, #fffdf9, #f4efe4);
}
.profile-photo .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(120% 90% at 50% 0%, #f0e8d8, #ddd2bd 70%, #cfc2a9 100%);
  overflow: hidden;
  display: grid;
  place-items: end center;
}
.profile-photo .frame svg { width: 76%; height: auto; opacity: 0.42; }
.profile-photo .ph-tip {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  background: rgba(13, 33, 53, 0.86);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px 6px;
  line-height: 1.6;
}
.profile-body h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); margin-bottom: 6px; letter-spacing: 0.06em; }
.profile-sub {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 22px;
}
.profile-body > p { font-size: 15px; line-height: 2.05; color: #44505c; }
.profile-body > p strong { color: var(--ink); font-weight: 600; }

.info-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 28px 0;
}
.info-table div { background: var(--white); padding: 16px 20px; }
.info-table dt { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.info-table dd { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.6; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 服务流程 ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.process-step { position: relative; padding-top: 30px; }
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(211, 180, 124, 0.55) 0 6px, transparent 6px 14px);
}
.process-step::after {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.process-step b {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
}
.process-step h4 { font-size: 18px; color: var(--ink); margin-bottom: 10px; letter-spacing: 0.05em; }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.9; margin: 0; }

/* 深色底时的反色 */
.section--ink .process-step b { color: var(--gold-2); }
.section--ink .process-step h4 { color: #fff; }
.section--ink .process-step p { color: rgba(255, 255, 255, 0.62); }

/* ---------- 文章列表 ---------- */
.insight-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 54px;
}
.col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 6px;
}
.col-head h3 { font-size: 20px; color: var(--ink); letter-spacing: 0.08em; }
.col-head span { font-size: 11px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; }

.article-list li { border-bottom: 1px dashed var(--line); }
.article-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.article-list a:hover { color: var(--gold); padding-left: 6px; }
.article-list .t { font-size: 15px; color: #33404d; line-height: 1.7; }
.article-list a:hover .t { color: var(--ink); }
.article-list time { font-size: 12.5px; color: #9aa3ad; letter-spacing: 0.06em; flex: none; font-variant-numeric: tabular-nums; }

/* ---------- 咨询条 ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, #0d2135, #1a3d59 60%, #0d2135);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
}
.cta-band .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 54px 24px;
}
.cta-band h3 { font-size: 26px; letter-spacing: 0.06em; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.cta-phone { display: flex; align-items: center; gap: 18px; }
.cta-phone .label { font-size: 12px; letter-spacing: 0.2em; color: var(--gold-2); text-align: right; line-height: 1.9; }
.cta-phone strong {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0.05em;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 联系 & 表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-list > div { background: var(--white); display: flex; gap: 16px; padding: 22px 24px; }
.contact-list .ico {
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--gold-soft);
  background: #fdfaf4;
  display: grid; place-items: center;
  border-radius: 50%;
}
.contact-list .ico svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.4; }
.contact-list dt { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 3px; }
.contact-list dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.7; }
.contact-list dd a:hover { color: var(--gold); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.06em; }
.form-card .form-note { font-size: 12.5px; color: var(--muted); margin-bottom: 24px; line-height: 1.8; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 7px; }
.field label b { color: #c0603f; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fcfbf8;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.field .err { display: none; font-size: 12px; color: #c0603f; margin-top: 5px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d08a72; }
.field.has-error .err { display: block; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { font-size: 12px; color: var(--muted); line-height: 1.7; }
.form-ok {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #cfe0d2;
  background: #f2f8f3;
  color: #2f6b45;
  font-size: 13.5px;
  border-radius: var(--radius);
}
.form-ok.show { display: block; }

/* ---------- 子页 banner ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, #0b1d2f, #173a56 62%, #0b1d2f);
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 78px);
}
.page-hero .wrap { position: relative; z-index: 2; padding: 74px 24px 62px; }
.crumb { font-size: 12.5px; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-2); }
.crumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1, .page-hero .page-title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: 0.08em; margin-bottom: 14px; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 14.5px; max-width: 44em; line-height: 1.95; }

/* ---------- 正文排版 ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 24px; color: var(--ink); margin: 40px 0 14px; letter-spacing: 0.05em; }
.prose h3 { font-size: 19px; color: var(--ink); margin: 30px 0 12px; }
.prose p { font-size: 15.5px; line-height: 2.1; color: #3b4854; margin-bottom: 1.1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; }
.prose ul li { position: relative; padding-left: 20px; font-size: 15px; line-height: 2; color: #3b4854; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.prose blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  border-left: 2px solid var(--gold);
  background: #fbf8f1;
  color: #5a4c36;
  font-size: 14.5px;
  line-height: 1.95;
}
.prose blockquote p:last-child { margin: 0; }

/* 案例卡 */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 32px 30px;
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case-card .case-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #7a6a4e;
  background: #faf6ee;
  border: 1px solid #ece1cd;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.case-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 12px; line-height: 1.55; }
.case-card p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 16px; }
.case-card .case-meta { font-size: 12.5px; color: #96a0aa; border-top: 1px dashed var(--line); padding-top: 14px; }

/* 时间轴（执业经历） */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 4px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--line));
}
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -26px; top: 9px;
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  background: #fff;
  border-radius: 50%;
}
.timeline b { display: block; font-size: 12.5px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 4px; }
.timeline h4 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.timeline p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a1a2a; color: rgba(255, 255, 255, 0.6); font-size: 13.5px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 46px;
  padding-top: 62px;
  padding-bottom: 46px;
}
.footer-brand .brand-mark { border-color: rgba(211, 180, 124, 0.5); background: transparent; color: var(--gold-2); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(255, 255, 255, 0.42); }
.footer-brand p { margin-top: 18px; font-size: 13px; line-height: 2; color: rgba(255, 255, 255, 0.5); max-width: 30em; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { transition: color 0.2s ease; }
.footer-links a:hover { color: var(--gold-2); }
.footer-contact li { margin-bottom: 12px; line-height: 1.8; }
.footer-contact span { color: rgba(255, 255, 255, 0.38); display: inline-block; min-width: 42px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.9;
}
.footer-bottom .wrap { display: block; }
.footer-disclaimer { margin: 0 0 12px; font-size: 11.5px; color: rgba(255, 255, 255, 0.3); line-height: 1.85; }
.footer-legal { text-align: center; }

/* ---------- 动效 ---------- */
/* 默认可见：无 JS 时内容照常显示；JS 就绪后才启用淡入 */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(22px); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding-top: 68px; padding-bottom: 58px; }
  .hero-card { max-width: 520px; }
  .profile { grid-template-columns: 300px 1fr; gap: 40px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-practices { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .topbar-list li:nth-child(2) { display: none; }
  .header-inner { height: 70px; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid #f3efe7; }
  .nav a::after { display: none; }
  .nav a.active { background: #fbf8f2; }
  .section { padding: 66px 0; }
  .hero-stats .wrap { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(3) { border-left: 0; }
  .hero-stats div { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .hero-stats div:nth-child(-n+2) { border-top: 0; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { max-width: 260px; margin-bottom: 8px; }
  .process { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .insight-cols { grid-template-columns: 1fr; gap: 40px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .info-table { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar-list { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand-mark { width: 40px; height: 40px; font-size: 19px; }
  .brand-text strong { font-size: 18px; letter-spacing: 0.12em; }
  .brand-text span { font-size: 8.5px; letter-spacing: 0.1em; }
  .practice-grid, .sub-practices { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .cta-phone strong { font-size: 26px; }
  .cta-phone { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta-phone .label { text-align: left; }
  .form-card { padding: 26px 20px; }
  .section-head { margin-bottom: 34px; }
}

/* =========================================================
   2026-10-28 改版新增
   1) 真实形象照  2) 两大业务板块  3) 刑事三阶段
   4) 高德地图与到访指引
   ========================================================= */

/* ---------- 形象照 ---------- */
.profile-photo .frame { aspect-ratio: 3 / 4; }
.profile-photo .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* ---------- 两大业务板块 ---------- */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 38px 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-en {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pillar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.pillar-head h3 { font-size: 23px; color: var(--ink); letter-spacing: 0.04em; }
.pillar-head .ico {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--gold-soft);
  background: #fdfaf4;
  display: grid; place-items: center;
  border-radius: 50%;
}
.pillar-head .ico svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 1.3; }
.pillar-card > p { font-size: 14px; color: var(--muted); line-height: 1.95; margin-bottom: 20px; }

.pillar-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 10px 20px;
  margin-bottom: 22px;
}
.pillar-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13.8px;
  line-height: 1.75;
  color: #3d4a57;
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  background: #fdfaf4;
}
.pillar-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.pillar-foot span { font-size: 11.5px; letter-spacing: 0.08em; color: #9aa3ad; }

/* ---------- 刑事三阶段（深底） ---------- */
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stage-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 28px 26px 26px;
  border-radius: var(--radius);
}
.stage-card b {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  margin-bottom: 10px;
}
.stage-card h4 { font-size: 18px; color: #fff; margin-bottom: 12px; letter-spacing: 0.05em; }
.stage-card p { font-size: 13.2px; line-height: 1.9; color: rgba(255, 255, 255, 0.6); margin: 0 0 12px; }
.stage-card ul { display: grid; gap: 7px; }
.stage-card ul li {
  position: relative; padding-left: 14px;
  font-size: 12.8px; line-height: 1.7; color: rgba(255, 255, 255, 0.72);
}
.stage-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border: 1px solid rgba(211, 180, 124, 0.7);
}

/* ---------- 罪名 / 关键词条 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: #6d5f47;
  background: #fbf8f1;
  border: 1px solid #ece1cd;
  padding: 6px 13px;
  border-radius: 3px;
}
.section--ink .chip { color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }

/* ---------- 高德地图 ---------- */
.map-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; }
.map-canvas {
  height: 380px;
  width: 100%;
  background: #e9ecef;
  display: none;
}
.map-card.is-live .map-canvas { display: block; }
.map-card.is-live .map-fallback { display: none; }
.map-fallback {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 42px 26px;
  background:
    linear-gradient(rgba(13, 33, 53, 0.05) 1px, transparent 1px) 0 0 / 100% 36px,
    linear-gradient(90deg, rgba(13, 33, 53, 0.05) 1px, transparent 1px) 0 0 / 36px 100%,
    #f5f3ee;
}
.map-pin {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  background: #fffaf1;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 18px;
  display: grid; place-items: center;
}
.map-pin span { transform: rotate(45deg); font-size: 12px; color: var(--gold); letter-spacing: 0.02em; }
.map-fallback strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.04em; }
.map-fallback p { margin: 0; font-size: 13.5px; color: #5c6772; line-height: 1.85; }
.map-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.map-note { font-size: 11.5px; color: #9aa3ad; margin-top: 16px; line-height: 1.8; }
.map-foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.map-foot > div {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.map-foot > div:first-child { border-left: 0; }
.map-foot b { display: block; font-size: 12px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 5px; font-weight: 600; }

/* ---------- 联系页人物卡 ---------- */
.contact-person {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 18px;
}
.contact-person img {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--gold-soft);
  flex: none;
}
.contact-person strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); letter-spacing: 0.06em; }
.contact-person span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.7; }

/* ---------- 文章作者头像 ---------- */
.author-box img {
  width: 58px; height: 58px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: center 20%;
  border: 1px solid rgba(178, 138, 77, 0.35);
}

@media (max-width: 1080px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .map-foot { grid-template-columns: 1fr; }
  .map-foot > div { border-left: 0; border-top: 1px solid var(--line); }
  .map-foot > div:first-child { border-top: 0; }
}
@media (max-width: 600px) {
  .pillar-card { padding: 28px 22px 24px; }
  .pillar-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .pillar-head h3 { font-size: 20px; }
  .map-canvas { height: 300px; }
}

/* ---------- 地图：常驻地址栏 ---------- */
.map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.map-bar strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.map-bar .addr { display: block; font-size: 12.8px; color: var(--muted); line-height: 1.75; }
.map-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-card .map-canvas { height: 400px; }
@media (max-width: 860px) {
  .map-bar { padding: 16px 18px; gap: 14px; }
  .map-bar-actions { width: 100%; }
  .map-bar-actions .btn { flex: 1; }
  .map-card .map-canvas { height: 320px; }
}

/* ---------- 7 项导航的中间宽度适配 ---------- */
@media (max-width: 1180px) and (min-width: 861px) {
  .header-inner { gap: 16px; }
  .nav a { padding: 10px 10px; font-size: 14px; letter-spacing: 0.03em; }
  .nav a::after { left: 10px; right: 10px; }
}
@media (max-width: 980px) and (min-width: 861px) {
  .nav a { padding: 10px 7px; font-size: 13.5px; }
  .nav a::after { left: 7px; right: 7px; }
  .brand-text span { display: none; }
}

/* ---------- 业务领域：案由 / 罪名 卡片 ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8cfbd; }
.area-ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: #fdfaf4;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.area-ico svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.area-card h3 { font-size: 17px; color: var(--ink); letter-spacing: 0.04em; margin-bottom: 7px; }
.area-card p { margin: 0; font-size: 12.8px; color: var(--muted); line-height: 1.8; }

/* 深色底（刑事专区） */
.section--ink .area-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.13); }
.section--ink .area-card:hover { border-color: rgba(211, 180, 124, 0.45); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.7); }
.section--ink .area-ico { background: rgba(255, 255, 255, 0.05); border-color: rgba(211, 180, 124, 0.32); }
.section--ink .area-ico svg { stroke: var(--gold-2); }
.section--ink .area-card h3 { color: #fff; }
.section--ink .area-card p { color: rgba(255, 255, 255, 0.58); }

/* 板块小标题条 */
.area-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin: 46px 0 22px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.area-head h3 { font-size: 18px; color: var(--ink); letter-spacing: 0.05em; }
.area-head span { font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.section--ink .area-head { border-color: rgba(255, 255, 255, 0.14); }
.section--ink .area-head h3 { color: #fff; }

@media (max-width: 1080px) {
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .area-grid { grid-template-columns: 1fr; gap: 14px; }
  .area-card { padding: 22px 20px; }
  .area-head { margin: 34px 0 16px; }
}

/* 案例卡片上的业务类型作为内链 */
a.case-tag { color: inherit; text-decoration: none; }
a.case-tag:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 法律观察 · 文章索引 */
.idx-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.idx-bar p { margin: 0; font-size: 13.5px; color: var(--muted); letter-spacing: 0.04em; }
.idx-bar strong { color: var(--ink); font-weight: 500; }
.idx-bar input {
  width: 300px; max-width: 100%; padding: 10px 14px; font-size: 13.5px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-family: inherit; border-radius: 2px;
}
.idx-bar input:focus { outline: none; border-color: var(--gold); }
.idx-group { margin-bottom: 46px; }
.idx-group h2 {
  font-size: 20px; color: var(--ink); letter-spacing: 0.06em; margin-bottom: 18px;
  padding-left: 14px; border-left: 3px solid var(--gold);
}
.idx-group h2 span { font-size: 13px; color: var(--muted); margin-left: 8px; letter-spacing: 0.04em; }
.idx-list { columns: 2; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.idx-list li { break-inside: avoid; margin-bottom: 2px; }
.idx-list li a {
  display: block; padding: 9px 0; font-size: 14px; color: #3b4854;
  border-bottom: 1px solid #eee8dc; line-height: 1.7; transition: color 0.2s ease;
}
.idx-list li a:hover { color: var(--gold-dark); }
.idx-empty { font-size: 14px; color: var(--muted); padding: 30px 0; }
@media (max-width: 760px) {
  .idx-list { columns: 1; }
  .idx-bar input { width: 100%; }
}

/* 成功案例卡片：标题与查看链接 */
.case-card h3 a { color: inherit; text-decoration: none; }
.case-card h3 a:hover { color: var(--gold-dark); }
.case-more {
  display: inline-block; margin-top: 14px; font-size: 13px; color: var(--gold-dark);
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.case-more:hover { border-bottom-color: var(--gold-dark); }

/* 相关文章列表 */
ul.rel-list { list-style: none; padding: 0; margin: 0; }
ul.rel-list li { border-bottom: 1px solid #eee8dc; }
ul.rel-list li:last-child { border-bottom: none; }
ul.rel-list a {
  display: block; padding: 10px 0; font-size: 14px; color: #3b4854;
  text-decoration: none; line-height: 1.7; transition: color 0.2s ease;
}
ul.rel-list a:hover { color: var(--gold-dark); }

/* ---------- 页脚紧凑化 ---------- */
.footer-main {
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 22px;
  align-items: start;
}
.footer-brand .brand { margin-bottom: 0; }
.footer-brand p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 26em;
}
.site-footer h4 {
  margin-bottom: 9px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
}
.footer-links li { margin-bottom: 4px; }
.footer-links a { font-size: 12.8px; }
.footer-contact li { margin-bottom: 4px; line-height: 1.55; font-size: 12.8px; }
.footer-bottom {
  padding: 11px 0 13px;
  font-size: 11.5px;
  line-height: 1.65;
}
.footer-disclaimer {
  margin: 0 0 5px;
  font-size: 11px;
  line-height: 1.6;
}
.footer-legal { font-size: 11.5px; }
@media (max-width: 1080px) {
  .footer-main { gap: 22px; padding-top: 26px; padding-bottom: 18px; }
}

/* 手机端页脚：链接两列并排，减少纵向占用 */
@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    padding-top: 24px;
    padding-bottom: 16px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-brand p { margin-top: 6px; }
  .footer-contact li { margin-bottom: 3px; }
  .footer-disclaimer { font-size: 10.5px; line-height: 1.55; }
}

/* ---------- 浅色区块内的四栏卡片（民商事专章） ---------- */
.section--paper .stage-grid { grid-template-columns: repeat(4, 1fr); }
.section--paper .stage-card {
  border-color: var(--line);
  background: #fff;
}
.section--paper .stage-card b { color: var(--gold-dark); }
.section--paper .stage-card h4 { color: var(--ink); }
.section--paper .stage-card p { color: #4a5768; }
.section--paper .stage-card ul li { color: #4a5768; }
.section--paper .stage-card ul li::before { border-color: rgba(180, 150, 95, 0.75); }
@media (max-width: 1080px) {
  .section--paper .stage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .section--paper .stage-grid { grid-template-columns: 1fr; }
}

/* 法律观察 · 左刑右民四列布局 */
.idx-layout { display: grid; grid-template-columns: 330px 1fr; gap: 52px; align-items: start; }
.idx-list--one { columns: 1; }
.idx-list--four { columns: 4; column-gap: 28px; }
.idx-aside .idx-group { margin-bottom: 0; }
.idx-aside .idx-list li a { font-size: 13.2px; padding: 7px 0; }
.idx-body .idx-list li a { font-size: 13.2px; }
@media (max-width: 1200px) {
  .idx-layout { grid-template-columns: 280px 1fr; gap: 36px; }
  .idx-list--four { columns: 3; }
}
@media (max-width: 980px) {
  .idx-layout { grid-template-columns: 1fr; gap: 38px; }
  .idx-list--four { columns: 2; }
}
@media (max-width: 620px) {
  .idx-list--four { columns: 1; }
}

/* 窄屏：民商事优先展示，刑事辩护排在其后 */
@media (max-width: 980px) {
  .idx-layout { display: flex; flex-direction: column; }
  .idx-body { order: -1; }
}

/* 四列仅在大屏启用，中等屏三列，避免标题折行 */
@media (max-width: 1500px) {
  .idx-list--four { columns: 3; }
}
@media (max-width: 1180px) {
  .idx-list--four { columns: 2; }
}
@media (max-width: 980px) {
  .idx-list--four { columns: 2; }
}
@media (max-width: 620px) {
  .idx-list--four { columns: 1; }
}
