/* ==========================================================================
   湖南首倡律师事务所 · 官网全站样式
   fe-dev 交付 | 移动端优先，断点 768px
   配色：深蓝 #1a3a6b（主） + 金 #c8a063（点缀） + 蓝 #1677ff（汇总数字）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
  --navy: #1a3a6b;
  --navy-700: #152f57;
  --navy-800: #10233f;
  --navy-soft: #2c4d84;
  --navy-tint: rgba(26, 58, 107, .06);

  --gold: #c8a063;
  --gold-soft: #e2c894;
  --gold-tint: rgba(200, 160, 99, .12);

  --stat: #1677ff;

  --ink: #1b2331;
  --body: #3d4756;
  --muted: #6b7482;
  --line: #e3e8f0;
  --line-soft: #eef1f6;

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-alt: #f9fbfd;
  --white: #ffffff;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-sm: 6px;

  --shadow-sm: 0 2px 10px rgba(16, 35, 63, .06);
  --shadow: 0 8px 26px rgba(16, 35, 63, .09);
  --shadow-lg: 0 18px 48px rgba(16, 35, 63, .16);

  --maxw: 1200px;
  --gutter: 20px;
  --header-h: 58px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset / 基础
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
}

h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p { margin: 0 0 1em; }

a {
  color: var(--navy-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--gold); }

img,
svg { max-width: 100%; height: auto; vertical-align: middle; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .4em; }

strong, b { color: var(--navy); font-weight: 600; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

/* 占位符统一视觉 —— 「【待补充：XXX】」 */
:root { --ph-color: #a06a2c; --ph-bg: rgba(200, 160, 99, .14); }

/* 无障碍：跳转链接 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. 布局容器
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow { max-width: 820px; }

main { display: block; }

/* --------------------------------------------------------------------------
   4. 通用版块
   -------------------------------------------------------------------------- */
.section { padding: 48px 0; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark .section-desc { color: rgba(255, 255, 255, .72); }

.section-head {
  margin-bottom: 28px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}
.section-desc {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #3a2a10;
  box-shadow: 0 6px 18px rgba(200, 160, 99, .32);
}
.btn--gold:hover {
  background: #d4b075;
  color: #2b1f0b;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(200, 160, 99, .4);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--gold);
  color: var(--gold);
}
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--navy:hover {
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--block { width: 100%; }
.btn--lg { padding: 14px 30px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.link-more::after {
  content: " →";
  color: var(--gold);
  transition: margin .2s var(--ease);
  display: inline-block;
}
.link-more:hover::after { margin-left: 4px; }

/* --------------------------------------------------------------------------
   6. 顶栏 / 导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--gold) 0%, #a9834a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.brand-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .12em;
}

/* 桌面导航默认隐藏（移动端优先） */
.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-soft); background: rgba(255, 255, 255, .08); }
.main-nav a.is-active { color: var(--gold); }
.main-nav .nav-item { position: relative; }
.main-nav .nav-sub {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 20;
}
/* 透明桥：覆盖父项与子菜单之间的 6px 空隙，
   鼠标移过时 :hover 不断开，子菜单不会提前收起 */
.main-nav .nav-sub::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 6px;
}
.main-nav .nav-item:hover > .nav-sub,
.main-nav .nav-item:focus-within > .nav-sub { display: block; }
.main-nav .nav-sub a {
  color: var(--body);
  padding: 8px 12px;
  font-size: 13.5px;
}
.main-nav .nav-sub a:hover { background: var(--navy-tint); color: var(--navy); }

.header-phone {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.3;
}
.header-phone .hp-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}
.header-phone .hp-num:hover { color: var(--gold-soft, #d4b075); }
.header-phone .hp-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}
.header-phone svg { width: 15px; height: 15px; }
.header-cta { display: none; margin-left: 4px; }

/* 右下角"免费咨询"浮窗（全站）：右侧中间偏下 */
.consult-float {
  position: fixed;
  right: 16px;
  top: 58%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 68px;
  height: 68px;
  padding: 0;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2a10;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease;
}
.consult-float svg { width: 20px; height: 20px; }
.consult-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .34);
  color: #3a2a10;
}

/* 免费咨询弹窗 */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.consult-modal[hidden] { display: none; }
.consult-mask {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 38, .58);
}
.consult-panel {
  position: relative;
  width: min(430px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  padding: 26px 26px 22px;
}
.consult-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 58, 107, .06);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.consult-close:hover { background: rgba(26, 58, 107, .12); }
.consult-eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold, #c9a45c);
  text-transform: uppercase;
}
.consult-panel h3 {
  margin: 6px 0 4px;
  font-size: 22px;
  color: var(--navy);
}
.consult-tip {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.cm-row { margin-bottom: 13px; }
.cm-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.cm-row label em { color: #c0392b; font-style: normal; }
.cm-row input,
.cm-row select,
.cm-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-soft, #e3e8ef);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--body, #333);
  background: #fff;
}
.cm-row input:focus,
.cm-row select:focus,
.cm-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, .1);
}
.cm-row textarea { resize: vertical; min-height: 84px; }
.cm-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  cursor: pointer;
}
.cm-agree input { margin-top: 3px; flex: 0 0 auto; }
.cm-submit {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
}
.cm-submit:hover { background: #16345e; }
.cm-submit[disabled] { opacity: .6; cursor: default; }
.cm-foot {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}
.cm-foot a { color: var(--navy); font-weight: 700; }
.cm-msg {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.cm-msg[hidden] { display: none; }
.cm-msg.err { background: rgba(192, 57, 43, .08); color: #c0392b; }
.cm-msg.ok { background: rgba(46, 139, 87, .1); color: #2e8b57; }
@media (max-width: 480px) {
  .consult-float { width: 60px; height: 60px; font-size: 11.5px; right: 12px; }
  .consult-panel { padding: 22px 18px 18px; }
}

/* 汉堡按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* 移动端抽屉 */
.mobile-nav {
  display: block;
  overflow: hidden;
  max-height: 0;
  background: var(--navy-800);
  transition: max-height .3s var(--ease);
}
.mobile-nav.is-open { max-height: 480px; }
.mobile-nav > ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 16px;
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  color: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 15px;
}
.mobile-nav a:hover,
.mobile-nav a.is-active { color: var(--gold); }
.mobile-nav .mobile-phone {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(200, 160, 99, .14);
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 160, 99, .22) 0%, rgba(200, 160, 99, 0) 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -140px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* hero 两栏：左文案 + 右配图（无图时 media 不渲染，布局退化为单栏） */
.hero-copy { min-width: 0; }
.hero-media { margin-top: 26px; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 160, 99, .35);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 26px;
    align-items: stretch;
  }
  .hero-media { margin-top: 0; height: 100%; }
  .hero-media img {
    height: 100%;
    min-height: 340px;
    object-fit: cover;
  }
  .hero-points { grid-column: 1 / -1; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 160, 99, .5);
  background: rgba(200, 160, 99, .12);
  color: var(--gold-soft);
  font-size: 12.5px;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 28px;
  line-height: 1.32;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 12px;
  max-width: 640px;
}
.hero-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.hero-lines li {
  margin: 0;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: rgba(255, 255, 255, .92);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-actions .btn { width: 100%; }

.hero-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
  margin: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
  padding: 0;
}
.hero-points li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .85);
}
.hero-points .pt-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(200, 160, 99, .22);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   8. 三大业务线卡片
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 58, 107, .2);
}
.svc-card:hover::before { opacity: 1; }

.svc-media { margin: -24px -22px 18px; }
.svc-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { margin-bottom: 6px; font-size: 18px; }
.svc-tagline {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.svc-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.svc-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13.5px;
  color: var(--body);
}
.svc-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line-soft);
}
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
}
.svc-foot { margin-top: auto; }

/* --------------------------------------------------------------------------
   9. 核心优势
   -------------------------------------------------------------------------- */
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.adv-item {
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.adv-media {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
}
.adv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.adv-item:hover .adv-media img { transform: scale(1.04); }
.adv-body {
  padding: 13px 15px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.adv-body .adv-num { margin-bottom: 2px; }
.adv-body h3 { margin-bottom: 4px; }
.adv-item:hover { border-color: rgba(200, 160, 99, .6); transform: translateY(-3px); }
.adv-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
  color: var(--gold);
  font-weight: 700;
  opacity: .55;
  margin-bottom: 6px;
}
.adv-item h3 { font-size: 15.5px; margin-bottom: 4px; }
.adv-item p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   10. 数据 / 成果展示（数字统一用蓝色，浅色底与上下板块协调）
   -------------------------------------------------------------------------- */
.cases { background: var(--bg-alt); }
.cases .hero-note { color: #98a1af; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.stat-card {
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(26, 58, 107, .05);
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(26, 58, 107, .10);
}
.stat-num {
  display: block;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--stat);
  letter-spacing: -.02em;
  margin-bottom: 4px;
}
.stat-unit {
  font-size: 15px;
  font-weight: 700;
  color: var(--stat);
  margin-left: 2px;
}
.stat-label {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.stat-note {
  display: block;
  font-size: 12px;
  color: #98a1af;
  line-height: 1.6;
}
.stat-card .stat-num.is-placeholder {
  font-size: 22px;
  color: var(--gold);
  padding: 8px 0;
}

.case-cards { margin-top: 26px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.case-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.case-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(200, 160, 99, .18);
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.case-card h4 { color: #fff; font-size: 15.5px; margin-bottom: 8px; line-height: 1.5; }
.case-card p { font-size: 13.5px; color: rgba(255, 255, 255, .68); margin-bottom: 10px; }
.case-meta { font-size: 12px; color: rgba(255, 255, 255, .45); }

/* --------------------------------------------------------------------------
   11. 律师团队
   -------------------------------------------------------------------------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.team-card {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  height: 130px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 4px;
  position: relative;
}
.team-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}
.team-avatar--photo { height: 240px; }
.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-more { text-align: center; margin-top: 30px; }
.team-more .btn {
  background: #fff;
  color: var(--navy);
  border-color: rgba(26, 58, 107, .35);
}
.team-more .btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.team-body { padding: 18px 20px 20px; }
.team-name {
  font-size: 18px;
  margin-bottom: 2px;
}
.team-role {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.team-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.team-tags li {
  margin: 0;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   12. 服务流程
   -------------------------------------------------------------------------- */
.process { background: var(--bg-soft); }
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  position: relative;
}
.process-list li {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 0 60px;
  min-height: 46px;
  counter-increment: step;
}
.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 58, 107, .25);
}
.process-list li::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(200, 160, 99, .2) 100%);
}
.process-list li:last-child { margin-bottom: 0; }
.process-list li:last-child::after { display: none; }
.process-list h4 {
  margin-bottom: 2px;
  font-size: 16px;
  padding-top: 8px;
}
.process-list p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   13. 资讯区
   -------------------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 100%);
  position: relative;
  display: block;
  overflow: hidden;
}
.news-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease);
}
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-thumb .thumb-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .35);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 6px;
}
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-cat {
  align-self: flex-start;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: #8a6a34;
  margin-bottom: 8px;
  font-weight: 600;
}
/* 标题上方标签行：更新日期 + 栏目（对齐车盾士样式） */
.news-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.news-tags .news-cat { margin-bottom: 0; align-self: auto; }
.news-date {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #eef1f5;
  color: #5b6472;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.news-card h3 {
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card h3 a { color: var(--navy); }
.news-card h3 a:hover { color: var(--gold); }
.news-excerpt {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  margin-top: auto;
  font-size: 12.5px;
  color: #98a1af;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.news-actions { margin-top: 12px; }
.news-actions .btn { font-size: 14px; padding: 9px 18px; }

.news-foot { margin-top: 28px; text-align: center; }

/* --------------------------------------------------------------------------
   14. 律所简介
   -------------------------------------------------------------------------- */
.about-split { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-text { display: flex; flex-direction: column; }
.about-text p { font-size: 14.5px; }
.about-media {
  margin: 18px 0 0;
  flex: 1 1 auto;
  min-height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-quote {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  color: var(--navy);
}
.about-side .about-quote {
  background: transparent;
  border: 0;
  border-top: 1px dashed var(--line);
  border-radius: 0;
  margin: 14px 0 0;
  padding: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.about-side {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.about-side h3 { font-size: 16px; margin-bottom: 12px; }
.kv-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.kv-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.kv-list li:last-child { border-bottom: 0; }
.kv-list dt,
.kv-key {
  flex: 0 0 84px;
  color: var(--muted);
  font-size: 13.5px;
}
.kv-val { color: var(--navy); font-weight: 600; flex: 1; }

/* --------------------------------------------------------------------------
   15. 合规声明
   -------------------------------------------------------------------------- */
.compliance { background: var(--navy-800); color: rgba(255, 255, 255, .72); }
.compliance-box {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  border-left: 4px solid var(--gold);
}
.compliance-box h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compliance-box h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 8px;
}
.compliance-list { margin: 0; padding-left: 1.2em; font-size: 14px; }
.compliance-list li { margin-bottom: 8px; }
.compliance-list li::marker { color: var(--gold); }
.compliance-box strong { color: var(--gold-soft); }
.compliance-disclaimer {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
}

/* --------------------------------------------------------------------------
   16. 联系区 / 表单
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.contact-info { font-size: 14.5px; }
.contact-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-item:last-of-type { border-bottom: 0; }
.contact-item .ci-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .ci-icon svg { width: 17px; height: 17px; }
.ci-key { font-size: 12.5px; color: var(--muted); display: block; }
.ci-val { color: var(--navy); font-weight: 600; }

.map-ph {
  margin-top: 16px;
  height: 180px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: repeating-linear-gradient(45deg, var(--bg-alt) 0 12px, #fff 12px 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.map-ph strong { color: var(--navy); }

/* 办公位置地图 */
.map-card { margin-top: 18px; }
.map-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 4px 14px rgba(26, 58, 107, .08);
}
.map-photo img {
  width: 100%;
  display: block;
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
/* 未配 key 时的兜底卡：高度随内容自适应，避免大片空白 */
.map-frame .map-ph {
  height: auto;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg-alt);
  padding: 26px 16px;
  gap: 6px;
}
/* JS 渲染出底图后加 --live 类，恢复固定高度（底图必须有固定高度才渲染） */
.map-frame--live { height: 260px; }
.map-card--compact .map-frame--live { height: 240px; }
.map-coord { font-size: 12px; color: var(--muted); }
.map-meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
}
.map-addr { font-size: 13px; font-weight: 600; color: var(--navy); }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* 表单 */
.form-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 17px; margin-bottom: 4px; }
.form-tip { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row label .req { color: #d4574a; margin-left: 2px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.form-row select { background-image: none; }
.form-row textarea { min-height: 108px; resize: vertical; line-height: 1.7; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-soft);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 58, 107, .1);
}
.form-row input.is-error,
.form-row textarea.is-error,
.form-row select.is-error { border-color: #d4574a; }
.field-err {
  display: none;
  font-size: 12.5px;
  color: #d4574a;
  margin-top: 5px;
}
.field-err.is-show { display: block; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.form-check input { margin-top: 3px; flex: 0 0 auto; }

.form-msg {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.form-msg.is-show { display: block; }
.form-msg--ok {
  background: rgba(22, 119, 255, .08);
  border: 1px solid rgba(22, 119, 255, .3);
  color: #1257b8;
}
.form-msg--err {
  background: rgba(212, 87, 74, .08);
  border: 1px solid rgba(212, 87, 74, .3);
  color: #a83c31;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   17. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-800);
  color: rgba(255, 255, 255, .62);
  padding: 38px 0 0;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 26px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-col p,
.footer-col li { font-size: 13.5px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: rgba(255, 255, 255, .66); }
.footer-col a:hover { color: var(--gold); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-contact { list-style: none; margin: 0 0 12px; padding: 0; }
.footer-contact li { margin-bottom: 8px; }
.footer-contact .fc-key { color: rgba(255, 255, 255, .42); margin-right: 6px; }

.footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.8;
}
.footer-disclaimer strong { color: rgba(255, 255, 255, .72); }

.footer-bottom {
  padding: 14px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer-lic { line-height: 1.8; }

/* --------------------------------------------------------------------------
   18. 内页通用（面包屑 / 页头 / 侧栏）
   -------------------------------------------------------------------------- */
.page-head {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy) 100%);
  color: #fff;
  padding: 32px 0 30px;
}
.page-head h1 { color: #fff; font-size: 24px; margin-bottom: 8px; }
.page-head .page-desc { color: rgba(255, 255, 255, .74); font-size: 14.5px; margin: 0; max-width: 720px; }

.breadcrumb {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 10px;
}
.breadcrumb a { color: rgba(255, 255, 255, .72); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

.layout-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.sidebar {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.sidebar h3 {
  font-size: 15px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin-bottom: 8px; font-size: 14px; }
.sidebar li a { color: var(--body); }
.sidebar li a:hover { color: var(--gold); }
.sidebar .side-box + .side-box { margin-top: 22px; }

/* --------------------------------------------------------------------------
   19. 业务线页
   -------------------------------------------------------------------------- */
.biz-intro { display: grid; grid-template-columns: 1fr; gap: 22px; }
.biz-hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.biz-hero-points li {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.biz-hero-points .bhp-num {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.biz-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  list-style: none;
  margin: 0;
}
.biz-nav li { margin: 0; flex: 0 0 auto; }
.biz-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  white-space: nowrap;
}
.biz-nav a:hover { border-color: var(--gold); color: var(--gold); }
.biz-nav a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 自查清单 */
.check-list { display: grid; grid-template-columns: 1fr; gap: 14px; }
.check-item {
  padding: 18px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.check-item h4 { font-size: 15.5px; margin-bottom: 6px; }
.check-item p { font-size: 13.5px; color: var(--muted); margin: 0; }
.check-item .chk-evidence {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--navy);
  background: var(--bg-soft);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

/* FAQ 折叠 */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 44px 14px 18px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  line-height: 1.6;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.is-open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA 条 */
.cta-bar {
  padding: 30px 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  text-align: center;
}
.cta-bar h2 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.cta-bar p { color: rgba(255, 255, 255, .75); font-size: 14.5px; margin-bottom: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.cta-actions .btn { width: 100%; max-width: 280px; }
.cta-bar .cta-note { font-size: 12.5px; color: rgba(255, 255, 255, .5); margin: 14px 0 0; }

/* --------------------------------------------------------------------------
   20. 资讯列表页
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  list-style: none;
  margin: 0 0 18px;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--line);
}
.filter-bar li { margin: 0; flex: 0 0 auto; }
.filter-bar a {
  display: block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--body);
  white-space: nowrap;
}
.filter-bar a:hover { border-color: var(--gold); color: var(--gold); }
.filter-bar a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.list-head h2 { font-size: 19px; margin: 0; }
.list-count { font-size: 13px; color: var(--muted); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list > li {
  margin: 0 0 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.news-list > li:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.news-list .nl-title { font-size: 16.5px; margin-bottom: 8px; line-height: 1.5; }
.news-list .nl-title a { color: var(--navy); }
.news-list .nl-title a:hover { color: var(--gold); }
.news-list .nl-summary { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.news-list .nl-meta {
  font-size: 12.5px;
  color: #98a1af;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nl-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy);
}

.empty-state {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.empty-state p { margin-bottom: 0; }

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  list-style: none;
  padding: 0;
}
.pager li { margin: 0; }
.pager a,
.pager span {
  display: inline-block;
  min-width: 36px;
  padding: 7px 12px;
  text-align: center;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--body);
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .is-current span,
.pager .is-current a {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}
.pager .is-disabled span { color: #b6bdc8; background: var(--bg-alt); }

/* --------------------------------------------------------------------------
   21. 文章详情页
   -------------------------------------------------------------------------- */
.article-wrap { padding: 26px 0 44px; }
.article-header {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.article-title { font-size: 24px; line-height: 1.4; margin-bottom: 12px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.article-summary {
  margin: 18px 0 22px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.8;
}
.article-cover {
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy));
  max-height: 380px;
}
.article-cover img { width: 100%; display: block; }

.article-content {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink);
  word-wrap: break-word;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.8em;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}
.article-content h2 { font-size: 20px; }
.article-content h3 { font-size: 17px; }
.article-content h4 { font-size: 15.5px; }
.article-content p { margin-bottom: 1.2em; }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 6px 0;
}
.article-content a { color: var(--navy-soft); text-decoration: underline; }
.article-content blockquote {
  margin: 1.4em 0;
  padding: 12px 18px;
  border-left: 3px solid var(--gold);
  background: var(--bg-soft);
  color: var(--muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-content ul,
.article-content ol { margin-bottom: 1.2em; padding-left: 1.6em; }
.article-content li { margin-bottom: .5em; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.article-content th,
.article-content td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
}
.article-content th { background: var(--bg-soft); color: var(--navy); }
.article-content figure { margin: 1.4em 0; }
.article-content figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

.article-footer { margin-top: 30px; }
.article-disclaimer {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}
.article-disclaimer strong { color: var(--navy); }

/* 合规兜底：标准免责声明（模板统一注入，契约 §8-3） */
.article-statement {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold, #c8a063);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}
.article-statement .statement-title {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}
.article-statement p { margin: 0 0 6px; }
.article-statement p:last-child { margin-bottom: 0; }
.article-statement .statement-case { color: var(--navy); }

.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
.article-nav a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff;
  color: var(--body);
}
.article-nav a:hover { border-color: var(--navy); color: var(--navy); }
.article-nav .an-key { display: block; font-size: 12px; color: var(--muted); margin-bottom: 3px; }

.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.related-list li:last-child { border-bottom: 0; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   22. 工具 / 占位符 / 回到顶部
   -------------------------------------------------------------------------- */
.ph {
  color: #96591f;
  background: var(--ph-bg);
  border-bottom: 1px dotted rgba(200, 160, 99, .7);
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.75;
}
.alert--info {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy-soft);
  color: var(--body);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 800;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.back-to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: #2f2209; }
.back-to-top svg { width: 18px; height: 18px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 28px; }

/* --------------------------------------------------------------------------
   23. 响应式：≥768px（移动端优先向上增强）
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body { font-size: 15.5px; }

  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  h4 { font-size: 17px; }

  :root { --header-h: 68px; --gutter: 28px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 28px; }

  /* 顶栏 */
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .main-nav { display: flex; }
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; align-items: center; }

  /* Hero */
  .hero { padding: 76px 0 66px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn { width: auto; }
  .hero-points { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }

  /* 栅格 */
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .case-cards { grid-template-columns: repeat(3, 1fr); }
  /* 两栏：不足两列时居中，避免末行单卡贴左 */
  .team-grid { justify-content: center; }
  .team-card { width: calc((100% - 18px) / 2); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .check-list { grid-template-columns: repeat(2, 1fr); }

  .process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
  }
  .process-list li {
    padding: 0;
    text-align: center;
  }
  .process-list li::before { position: static; margin: 0 auto 14px; }
  .process-list li::after { display: none; }
  .process-list h4 { padding-top: 0; }

  .about-split { grid-template-columns: 1.4fr 1fr; gap: 36px; }
  .biz-intro { grid-template-columns: 1.3fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .layout-split { grid-template-columns: 1fr 300px; gap: 36px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; max-width: 560px; }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .cta-actions { flex-direction: row; justify-content: center; }
  .cta-actions .btn { width: auto; }

  .article-nav { grid-template-columns: 1fr 1fr; }
  .article-title { font-size: 30px; }
  .map-ph { height: 240px; }
  .map-frame--live { height: 360px; }
  .map-card--compact .map-frame--live { height: 300px; }
  .map-meta { flex-direction: column; align-items: flex-start; }

  .biz-nav { justify-content: center; }
  .filter-bar { overflow-x: visible; flex-wrap: wrap; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 44px; }
  .process-list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  /* 四栏：人数不是 4 的整数倍时，末行卡片居中，两侧留白对称 */
  .team-card { width: calc((100% - 54px) / 4); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .adv-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* 尊重「减少动态效果」的系统设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. 资讯分组（首页三业务线板块）与二类筛选条
   -------------------------------------------------------------------------- */
.news-group { margin-bottom: 34px; }
.news-group:last-of-type { margin-bottom: 0; }
.news-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.news-group-head h3 {
  margin: 0;
  font-size: 20px;
  color: var(--navy);
}
.news-group-head .link-more { flex: 0 0 auto; }
.filter-bar--sub { margin-top: 10px; }
.biz-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   16. 文章横排列表（业务线面板 / 资讯列表页，参考车盾士样式）
   -------------------------------------------------------------------------- */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
  height: 138px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-row:hover {
  box-shadow: var(--shadow-md, 0 10px 24px rgba(26, 58, 107, .12));
  transform: translateY(-2px);
}
.post-row-thumb {
  flex: 0 0 196px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.post-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-row-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 24px;
  letter-spacing: 8px;
  text-indent: 8px;
}
.post-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 8px 2px 0;
}
.post-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.post-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
}
.post-badge--cat {
  background: rgba(26, 58, 107, .08);
  color: var(--navy);
}
.post-badge--type {
  background: rgba(201, 164, 92, .14);
  color: #9a7a2e;
}
.post-badge--pin {
  background: #c9a45c;
  color: #fff;
}
.post-row-date {
  color: var(--muted);
  font-size: 13px;
}
.post-row-title {
  margin: 7px 0 5px;
  font-size: 17px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.post-row-title a { color: var(--navy); }
.post-row-title a:hover { color: var(--gold, #c9a45c); }
.post-row-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 768px) {
  .post-row { height: auto; gap: 12px; }
  .post-row-thumb { flex: 0 0 108px; }
  .post-row-ph { font-size: 16px; letter-spacing: 4px; }
  .post-row-title { font-size: 15px; }
}

/* 首页资讯分组"该领域全部文章"边框按钮 */
.news-group-head { align-items: center; }
.news-group-more {
  background: #fff;
  color: var(--navy);
  border-color: rgba(26, 58, 107, .35);
  padding: 7px 18px;
  font-size: 13.5px;
  white-space: nowrap;
}
.news-group-more:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 律所简介右栏"查看完整简介与资质信息"按钮 */
.about-more-wrap { text-align: center; margin: 16px 0 0; }
.about-more-btn {
  background: #fff;
  color: var(--navy);
  border-color: rgba(26, 58, 107, .35);
  padding: 7px 18px;
  font-size: 13.5px;
  white-space: nowrap;
}
.about-more-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 三大业务线卡片"了解业务详情"边框按钮 */
.svc-foot .link-more {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(26, 58, 107, .35);
  border-radius: 999px;
  background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.svc-foot .link-more:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.svc-foot .link-more:hover::after { color: var(--gold, #c9a45c); }

/* 联系页：联系方式行内「复制号码」按钮（仅复制手机号，不含备注） */
.ci-copy {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(26, 58, 107, .35);
  border-radius: 999px;
  cursor: pointer;
  vertical-align: middle;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.ci-copy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ci-copy.is-done { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ======================================================================
   图片位尺寸兜底
   后台换图后即使比例/尺寸不同，前台各图片位仍按固定比例裁切显示，
   高度不随图片内容跳动（后台上传时另有按规格裁剪，双重保险）。
   ====================================================================== */
.hero-media img { aspect-ratio: 4 / 3; }
@media (min-width: 992px) {
  .hero-media img { aspect-ratio: auto; }
}
.svc-media img { aspect-ratio: 3 / 2; }
/* 以下两处的高度已由布局固定（.adv-media 220px / .team-avatar--photo 240px），
   aspect-ratio 仅在高度未被撑开时兜底，正常状态下不改变现有尺寸 */
.adv-media { aspect-ratio: 3 / 2; }
.team-avatar--photo { aspect-ratio: 3 / 4; }
.about-media { aspect-ratio: 3 / 2; }
.map-photo img { aspect-ratio: 2 / 1; object-fit: cover; }
.post-row-thumb img { aspect-ratio: 5 / 3; }
.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  background: var(--bg-soft, #f5f7fa);
}
.news-thumb img, .svc-media img, .adv-media img,
.team-photo, .post-row-thumb img, .about-media img, .hero-media img {
  background: linear-gradient(135deg, var(--navy-soft, #2b4a7d) 0%, var(--navy, #1a3a6b) 100%);
}

/* ======================================================================
   工作人员名录页（/team.html）
   律师卡片在团队卡片基础上补充可核验字段（执业机构 / 执业证号 + 官方核验入口），
   其他工作人员用紧凑小卡，末尾给出官方核验渠道入口。
   ====================================================================== */
.dir-grid .team-card,
.dir-grid .dir-staff-card { width: 100%; }
.dir-card .team-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dir-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--navy);
  background: var(--gold-tint);
  border: 1px solid rgba(200, 160, 99, .45);
  border-radius: 999px;
  padding: 2px 8px;
}
.dir-meta {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.dir-meta-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  padding: 3px 0;
}
.dir-meta-row dt {
  flex: 0 0 64px;
  margin: 0;
  color: var(--muted);
}
.dir-meta-row dd {
  margin: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  word-break: break-all;
}
.dir-license {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .3px;
  color: var(--navy);
}
.dir-check {
  font-size: 12px;
  color: var(--navy);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dir-check:hover { color: var(--gold); }

.dir-staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.dir-staff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.dsc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dsc-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.dsc-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.dsc-role { font-size: 12px; font-weight: 600; color: var(--gold); }
.dsc-desc { font-size: 13.5px; color: var(--muted); margin: 0; }
.dir-staff-card .team-tags { margin-top: 10px; }

.verify-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.verify-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.verify-link svg { width: 14px; height: 14px; }
.verify-link:hover {
  border-color: var(--navy);
  color: var(--gold);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .dir-grid .team-card,
  .dir-grid .dir-staff-card { width: calc((100% - 18px) / 2); }
  .dir-staff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .dir-grid .team-card,
  .dir-grid .dir-staff-card { width: calc((100% - 36px) / 3); }
  .dir-staff-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   文章分享组件（2026-09-28）：微信扫码 + 复制链接
   ========================================================================== */
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 6px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.share-label {
  font-size: 14px;
  color: var(--muted);
  margin-right: 2px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.share-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.share-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.share-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.share-btn--wechat { color: #1a9d1a; border-color: #bfe3c0; }
.share-btn--wechat:hover { background: #f2fbf3; border-color: #1a9d1a; color: #128012; }

.share-qr-mask {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(16, 35, 63, .55);
}
.share-qr-mask[hidden] { display: none !important; }
.share-qr-card {
  position: relative;
  width: 300px;
  max-width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.share-qr-title {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--navy-800);
}
.share-qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
}
.share-qr-img img,
.share-qr-img canvas { display: block; margin: 0 auto; }
.share-qr-tip {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.share-qr-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: 0;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.share-qr-close:hover { color: var(--navy); }

@media (max-width: 575px) {
  .article-share { padding: 12px 14px; }
  .share-btn { padding: 6px 12px; font-size: 13.5px; }
}
