/* =====================================================
   广东新桦律师事务所 · 刑事辩护团队 官网样式 v3
   -----------------------------------------------------
   视觉体系：
     · 纸白底（白 / 暖灰交替）承载内容，阅读不压抑
     · 墨色（近黑）作为深色锚点，沉稳、有分量
     · 红只作"信号色"：按钮、下标线、序号、重点词
       —— 大面积红色压顶会让焦虑的家属更紧张，
          专业感来自秩序与留白，不来自色彩压迫
   排版体系：编辑式（editorial）栅格 · 8pt 间距 · 细线分隔
   ===================================================== */

:root {
  /* 墨色锚点 */
  --ink:        #14161A;
  --ink-2:      #1D2027;
  --ink-3:      #33383F;

  /* 纸色 */
  --paper:      #FFFFFF;
  --paper-2:    #F7F6F3;
  --paper-3:    #EFEDE8;

  /* 文字 */
  --text:       #191C22;
  --text-2:     #5B616D;
  --text-3:     #8E939E;

  /* 分隔线 */
  --line:       #E7E4DE;
  --line-2:     #D3CFC7;

  /* 品牌红 */
  --brand:      #A81B23;
  --brand-d:    #88141B;
  --brand-l:    #C8474E;
  --brand-soft: #FBF1F1;
  --brand-line: #EBCACA;

  /* 字体：中文走系统无衬线（Windows 上是微软雅黑，macOS 是苹方），
     英文与数字走 Georgia，两套栈都不会回退到宋体点阵字 */
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --num:  Georgia, "Times New Roman", "Songti SC", "SimSun", serif;

  /* 圆角：克制，接近直角更显专业 */
  --r-sm: 2px;
  --r:    4px;
  --r-lg: 6px;

  /* 阴影：极轻 */
  --shadow-1: 0 1px 2px rgba(20, 22, 26, .04);
  --shadow-2: 0 8px 28px rgba(20, 22, 26, .07);
}

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

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-l); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* 中文标题统一处理：字重足、字距微开，屏幕上更有骨架 */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 700; letter-spacing: .015em; line-height: 1.35; }

/* ============ 顶部信息条 ============ */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  letter-spacing: .04em;
  padding: 9px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.topbar .tb-left { color: rgba(255, 255, 255, .5); }
.topbar strong { font-weight: 500; color: #fff; }
.topbar a { color: #fff; }
.topbar a:hover { color: #F0B9BC; }

/* ============ 主导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  background: var(--brand); color: #fff;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; letter-spacing: 0;
}
.brand-text { display: block; }
/* 品牌区两行均为 block 级，<br> 会额外生成一个继承 body 行高的空行盒（约 29px），
   这是中英文之间空隙过大的真正原因，直接隐藏 */
.brand-text br { display: none; }
.brand-text .cn {
  display: block; font-size: 19px; font-weight: 700;
  color: var(--text); letter-spacing: .08em; line-height: 1.12;
}
.brand-text .en {
  display: block; font-family: var(--num); font-size: 11px;
  color: var(--text-3); letter-spacing: .12em; line-height: 1.2;
  margin-top: 5px;
}
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; position: relative;
  padding: 28px 13px; font-size: 14px; font-weight: 500;
  color: var(--text-2); letter-spacing: .03em;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--text); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px;
  height: 2px; background: var(--brand);
}
.header-cta { flex: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 8px 11px; font-size: 17px;
  color: var(--text); cursor: pointer;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  letter-spacing: .04em; line-height: 1.4; cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-red { background: var(--brand); color: #fff; }
.btn-red:hover { background: var(--brand-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-outline { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline-red { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-outline-red:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* 浅色语境下的描边按钮（首页首屏） */
.hero .btn-outline { border-color: var(--line-2); color: var(--text); }
.hero .btn-outline:hover { border-color: var(--ink); background: transparent; color: var(--ink); }

/* ============ 首页首屏 ============ */
.hero {
  position: relative;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 22, 26, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 22, 26, .035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid; grid-template-columns: 1.32fr 1fr;
  gap: 72px; align-items: end;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em;
  color: var(--brand); margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; background: var(--brand);
}
.hero h1 {
  font-size: 54px; line-height: 1.24; letter-spacing: .01em;
  color: var(--text); margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal; color: var(--brand);
  box-shadow: inset 0 -0.22em 0 var(--brand-soft);
}
.hero-sub {
  font-size: 16.5px; line-height: 1.9; color: var(--text-2);
  max-width: 560px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-note {
  font-size: 12.5px; color: var(--text-3);
  padding-left: 14px; border-left: 2px solid var(--line-2);
}

.hero-card {
  background: var(--ink); color: #fff;
  border-radius: var(--r);
  padding: 38px 34px 32px;
  position: relative;
  box-shadow: 0 20px 48px rgba(20, 22, 26, .16);
}
.hero-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--brand);
  border-radius: var(--r) var(--r) 0 0;
}
.hero-card h3 {
  font-size: 17.5px; color: #fff; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hero-card ol { list-style: none; counter-reset: step; }
.hero-card ol li {
  counter-increment: step;
  position: relative; padding: 11px 0 11px 42px;
  font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .84);
}
.hero-card ol li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.hero-card ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 11px;
  font-family: var(--num); font-size: 15px; font-weight: 400;
  color: var(--brand-l); letter-spacing: .04em;
}
.hero-card .card-tip {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: rgba(255, 255, 255, .55); line-height: 1.7;
}

/* ============ 通用 Section ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--paper-2); }
.section-head { text-align: left; margin-bottom: 56px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--num);
  font-size: 12px; font-weight: 400; letter-spacing: .24em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.section-kicker::before { content: ""; width: 26px; height: 1px; background: var(--brand); }
.section-head h2 { font-size: 34px; color: var(--text); }
.section-head p {
  color: var(--text-2); font-size: 16px; line-height: 1.85;
  max-width: 660px; margin-top: 16px;
}

/* ============ 信任条 ============ */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}
.trust-item + .trust-item { padding-left: 28px; }
.trust-item:last-child { border-right: none; }
.trust-item .t-title {
  position: relative; font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px; padding-top: 14px;
}
.trust-item .t-title::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 18px; height: 2px; background: var(--brand);
}
.trust-item .t-desc { font-size: 13.5px; line-height: 1.75; color: var(--text-2); }

/* ============ 栅格与卡片 ============ */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  color: inherit;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.card::before {
  content: ""; position: absolute; left: -1px; top: 26px; bottom: 26px;
  width: 2px; background: var(--brand);
  transform: scaleY(0); transform-origin: top;
  transition: transform .28s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card:hover::before { transform: scaleY(1); }
a.card:hover { color: inherit; }

.card-icon {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
}
.card h3 { font-size: 19px; color: var(--text); margin-bottom: 12px; }
.card p { font-size: 14.5px; line-height: 1.85; color: var(--text-2); flex: 1; }
.card .tags { margin: 16px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-block;
  font-size: 12px; line-height: 1.6; letter-spacing: .02em;
  color: var(--text-2);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 3px 9px;
}
.tag-gray { color: var(--text-3); background: transparent; }

.card .card-link {
  align-self: flex-start;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--brand); padding-bottom: 2px;
  border-bottom: 1px solid var(--brand-line);
  transition: border-color .18s ease;
}
.card .card-link::after { content: " →"; }
.card:hover .card-link { border-color: var(--brand); }

/* ============ 时间轴 / 流程 ============ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-2);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brand);
}
.tl-item h4 { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.tl-item h4 .tl-stage {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: .06em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-sm); padding: 2px 8px;
  margin-left: 10px; vertical-align: 2px;
}
.tl-item p { font-size: 14.5px; line-height: 1.85; color: var(--text-2); }

/* ============ FAQ ============ */
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
  box-shadow: 0 1px 3px rgba(20, 22, 26, .05);
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: var(--line-2); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 56px 20px 24px;
  font-size: 15.5px; font-weight: 600; color: var(--text);
  position: relative; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--num); font-size: 22px; font-weight: 400;
  color: var(--brand); line-height: 1;
  transition: transform .22s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 14.5px; line-height: 1.85; color: var(--text-2);
}
.faq-item .faq-body p + p { margin-top: 10px; }

/* ============ 法条速查 ============ */
.law-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: var(--r);
  padding: 22px 22px;
  font-size: 14px; line-height: 1.8; color: var(--text-2);
}
.law-box .law-no {
  display: block; font-weight: 700; color: var(--text);
  margin-bottom: 8px; font-size: 14.5px;
}

/* ============ 提示框 ============ */
.notice {
  border-radius: var(--r);
  padding: 18px 22px;
  font-size: 13.5px; line-height: 1.8;
  margin: 22px 0;
}
.notice-gold { background: var(--brand-soft); border: 1px solid var(--brand-line); color: #6E1116; }
.notice-red { background: #FDF3F3; border: 1px solid var(--brand-line); border-left: 3px solid var(--brand); color: #6E1116; }
.notice-blue { background: var(--paper-2); border: 1px solid var(--line); color: var(--text-2); }

/* ============ 编辑备注（上线前删除） ============ */
.dev-note {
  border: 1px dashed var(--brand-line);
  background: var(--brand-soft);
  border-radius: var(--r);
  padding: 18px 22px;
  font-size: 13px; line-height: 1.8; color: #6E1116;
  margin: 26px 0;
}
.dev-note::before {
  content: "编辑备注（上线前删除本块）";
  display: block; font-weight: 700; margin-bottom: 8px;
}

/* ============ 律师推荐器 ============ */
.match-widget {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px 38px;
}
.match-widget h3 { font-size: 22px; color: var(--text); margin-bottom: 10px; }
.match-widget .mw-sub {
  font-size: 14.5px; line-height: 1.8; color: var(--text-2);
  margin-bottom: 24px; max-width: 660px;
}
.match-row { display: flex; gap: 12px; flex-wrap: wrap; }
.match-row select {
  flex: 1; min-width: 260px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 15px; font-family: var(--sans);
  color: var(--text); background: var(--paper); outline: none;
  transition: border-color .16s ease;
}
.match-row select:focus { border-color: var(--brand); }
.match-result { margin-top: 24px; display: none; }
.match-result.show { display: block; }
.match-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: var(--r);
  padding: 18px 20px; margin-bottom: 12px;
}
.match-item .mi-avatar {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.match-item h4 { font-size: 16px; color: var(--text); }
.match-item .mi-title { font-size: 12.5px; color: var(--brand); margin: 2px 0 6px; letter-spacing: .02em; }
.match-item p { font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.match-empty {
  border: 1px dashed var(--line-2); border-radius: var(--r);
  padding: 18px 20px; font-size: 14px; line-height: 1.8;
  color: var(--text-2); background: var(--paper);
}

/* ============ 团队成员 ============ */
.member-card { position: relative; text-align: center; padding-top: 38px; }
.member-badge {
  position: absolute; top: -1px; right: -1px;
  font-size: 11px; letter-spacing: .06em; color: #fff;
  background: var(--brand); border-radius: 0 var(--r) 0 var(--r);
  padding: 4px 10px;
}
.member-avatar {
  width: 88px; height: 88px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
}
.member-card h3 { font-size: 19px; }
.member-role { font-size: 13px; letter-spacing: .04em; color: var(--brand); margin-bottom: 12px; }
.member-card p { font-size: 14px; text-align: left; }
.member-card .tags { justify-content: center; }
.member-license {
  font-size: 12px; line-height: 1.7; color: var(--text-2);
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line); text-align: left;
}
.member-actions {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 18px; flex-wrap: wrap;
}

/* ============ 律师详情弹窗 ============ */
.profile-modal .modal-box {
  background: var(--paper); border-radius: var(--r);
  max-width: 660px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 40px 40px 34px; position: relative;
}
.profile-head {
  display: flex; gap: 20px; align-items: center;
  margin-bottom: 8px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.profile-head .member-avatar { margin: 0; width: 72px; height: 72px; font-size: 26px; }
/* 形象照模式：圆形裁切，覆盖占位字母样式 */
.member-avatar-photo { overflow: hidden; }
.member-avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.profile-head h3 { font-size: 22px; color: var(--text); }
.profile-head .p-title { font-size: 13px; color: var(--brand); margin-top: 3px; }
.profile-head .p-license { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.profile-sec {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin: 26px 0 12px; padding-left: 12px;
  border-left: 3px solid var(--brand); line-height: 1.4;
}
.profile-modal p { font-size: 14.5px; line-height: 1.85; color: var(--text-2); }
.profile-modal ul { margin: 0 0 8px 20px; }
.profile-modal li { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-bottom: 8px; }
.profile-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ============ 案例卡片 ============ */
.case-card .case-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.case-card .case-year { font-family: var(--num); font-size: 13px; color: var(--text-3); letter-spacing: .06em; }
.case-result {
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 14px 18px; margin-top: 16px;
  font-size: 14px; line-height: 1.8; color: #6E1116;
}
.case-result .cr-label {
  display: block; font-weight: 700; font-size: 12.5px;
  letter-spacing: .06em; margin-bottom: 4px; color: var(--brand);
}
.case-docs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.case-card .case-lawyer {
  margin-top: 18px; padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--text-3); letter-spacing: .02em;
}
.case-card .case-lawyer-link { color: var(--brand); font-weight: 600; }
.case-docs .doc-thumb {
  width: 104px; height: 78px; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); padding: 3px; cursor: zoom-in;
  transition: border-color .16s ease;
}
.case-docs .doc-thumb:hover { border-color: var(--brand); }
.case-work { margin: 14px 0 0 20px; }
.case-work li { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-bottom: 6px; }
.case-sample-badge {
  display: inline-block; font-size: 11px; letter-spacing: .04em;
  color: var(--text-2); background: var(--paper-3);
  border: 1px dashed var(--line-2); border-radius: var(--r-sm);
  padding: 2px 8px; margin-left: 10px; vertical-align: 2px;
  font-weight: 500;
}

/* ============ 文章列表 ============ */
.article-list { align-items: stretch; }
.article-list .card { padding: 30px 30px 28px; }
.article-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--num); font-size: 12.5px; letter-spacing: .06em;
  color: var(--text-3); margin-bottom: 12px;
}
.article-meta .a-cat { font-family: var(--sans); color: var(--brand); font-weight: 600; }

/* ============ 文章正文 ============ */
.article-page { background: var(--paper); }
/* 独立成篇的正文（文章页）：限宽居中，一行不超过 76 个字符左右，长文才好读 */
.section > .article-body { max-width: 740px; margin: 0 auto; padding: 0 28px; }
/* 作为栅格一栏使用时的正文（如"关于本所"页）：不额外限宽与内缩 */
.grid .article-body { max-width: none; margin: 0; padding: 0; }
/* 文章页可见元信息（发布/更新日期）：内容新鲜度信号，人与 AI 都读得懂 */
.art-meta {
  margin-top: 12px; font-size: 13px; color: var(--text-3);
  font-family: var(--num); letter-spacing: .02em;
}
.art-meta time { font-family: var(--num); }
/* 本文要点：置于正文开头的直答式摘要块，便于快速阅读与 AI 摘录引用 */
.key-points {
  margin: 0 0 38px; padding: 22px 26px 20px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
}
.kp-title {
  font-size: 13px; font-weight: 700; color: var(--brand);
  letter-spacing: .12em; margin-bottom: 10px;
}
.key-points ul { margin: 0 0 0 18px; padding: 0; }
.key-points li { margin-bottom: 8px; font-size: 14.5px; line-height: 1.85; color: var(--text-2); }
.key-points li:last-child { margin-bottom: 0; }
.key-points li::marker { color: var(--brand); }
.article-body h2 {
  font-size: 22px; color: var(--text);
  margin: 42px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--brand);
}
.article-body h3 { font-size: 17px; color: var(--text); margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; font-size: 15.5px; line-height: 1.95; color: var(--text-2); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 9px; font-size: 15px; line-height: 1.9; color: var(--text-2); }
.article-body blockquote {
  border-left: 3px solid var(--brand-line);
  background: var(--paper-2);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px; margin: 24px 0;
  font-size: 14.5px; line-height: 1.9; color: var(--text-2);
}

/* ============ 内页页头 ============ */
.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 54px;
}
.page-hero h1 { font-size: 38px; color: var(--text); margin-bottom: 16px; }
.page-hero p {
  color: var(--text-2); font-size: 16px; line-height: 1.9;
  max-width: 760px;
}
.breadcrumb {
  font-size: 12.5px; letter-spacing: .04em;
  color: var(--text-3); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--brand); }

/* 文章页页头（标题较长） */
.page-hero h1 + p { margin-top: 4px; }

/* ============ CTA 区 ============ */
.cta-band {
  position: relative;
  background: var(--ink); color: #fff;
  padding: 72px 0; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 27, 35, .5), transparent 68%);
  pointer-events: none;
}
.cta-band .container {
  position: relative;
  display: grid; grid-template-columns: 1.42fr 1fr;
  gap: 56px; align-items: center;
}
.cta-band h2 { font-size: 27px; color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .68); font-size: 15px; line-height: 1.9; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .cta-phone {
  display: block; margin-bottom: 6px;
  font-family: var(--num); font-size: 32px; letter-spacing: .04em;
  color: #fff; line-height: 1.2;
}
.cta-band .cta-phone::before {
  content: "咨询电话"; display: block;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; color: rgba(255, 255, 255, .5);
  margin-bottom: 6px;
}

/* ============ 表单 ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.form-field label .req { color: var(--brand); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 15px; font-size: 15px; font-family: var(--sans);
  color: var(--text); background: var(--paper); outline: none;
  transition: border-color .16s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--brand); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-consent {
  grid-column: 1 / -1;
  font-size: 12.5px; line-height: 1.75; color: var(--text-3);
}
.consent-check {
  display: flex; gap: 9px; align-items: flex-start;
  cursor: pointer; font-size: 13px; line-height: 1.75; color: var(--text-2);
}
.consent-check input[type="checkbox"] {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 3px 0 0;
  accent-color: var(--brand); cursor: pointer;
}
.consent-check a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.consent-note { margin: 10px 0 0; padding-left: 24px; font-size: 12px; line-height: 1.75; color: var(--text-3); }
.consent-err {
  display: none; margin: 8px 0 0 24px;
  font-size: 12.5px; font-weight: 600; color: #C0392B;
}
.consent-err.show { display: block; }
.consent-check input[type="checkbox"].shake { animation: consentShake .38s ease; }
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ============ 联系信息卡 ============ */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.contact-card .cc-icon {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm);
  background: var(--brand-soft); border: 1px solid var(--brand-line);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-card h3 { font-size: 14px; color: var(--text-3); font-weight: 600; letter-spacing: .08em; margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.contact-card .cc-strong {
  font-family: var(--num); font-size: 21px; font-weight: 400;
  color: var(--text); letter-spacing: .02em;
}

/* ============ 执业许可证展示 ============ */
.license-card img { width: 100%; border-radius: var(--r-sm); border: 1px solid var(--line); }
.license-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
  margin-top: 16px; font-size: 13.5px; line-height: 1.7; color: var(--text-2);
}
.license-meta strong { color: var(--text); font-weight: 600; }

/* ============ 徽记列表 ============ */
.check-list { list-style: none; }
.check-list li {
  position: relative; padding: 8px 0 8px 30px;
  font-size: 15px; line-height: 1.8; color: var(--text-2);
}
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
/* 有序列表（ol.check-list）用序号，去掉对勾，避免序号与勾叠在一起 */
ol.check-list { list-style: decimal; padding-left: 22px; }
ol.check-list li { padding-left: 4px; }
ol.check-list li::before { content: none; border: 0; }

/* ============ 罪名页交叉内链块 ============ */
.cross-block {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r);
  margin: 40px 0 8px; overflow: hidden;
}
.cross-col { background: var(--paper); padding: 22px 22px 18px; }
.cross-col h3 {
  font-size: 13px; letter-spacing: .06em; color: var(--brand);
  margin: 0 0 12px; font-weight: 700;
}
.cross-col ul { list-style: none; margin: 0; padding: 0; }
.cross-col li { padding: 6px 0; border-bottom: 1px dashed var(--paper-3); }
.cross-col li:last-child { border-bottom: 0; }
.cross-col li a {
  font-size: 14px; line-height: 1.7; color: var(--text);
  border-bottom: 1px solid var(--line-2);
  transition: color .18s ease, border-color .18s ease;
}
.cross-col li a:hover { color: var(--brand); border-color: var(--brand); }
.cross-col li span {
  display: block; font-size: 12px; color: var(--text-3);
  line-height: 1.6; margin-top: 2px;
}
@media (max-width: 860px) {
  .cross-block { grid-template-columns: 1fr; }
}

/* ============ 家属行动清单 ============ */
.ck-block {
  border-top: 1px solid var(--line);
  padding: 26px 0 6px;
  break-inside: avoid;
}
.ck-head {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.ck-day {
  display: inline-block; padding: 3px 10px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  border-radius: 2px; white-space: nowrap;
}
.ck-head h2 { font-size: 20px; margin: 0; color: var(--text); }
.ck-item {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 9px 0; cursor: pointer;
  font-size: 15px; line-height: 1.8; color: var(--text-2);
  border-bottom: 1px dashed var(--paper-3);
}
.ck-item:last-of-type { border-bottom: 0; }
.ck-item input[type="checkbox"] {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 5px 0 0;
  accent-color: var(--brand); cursor: pointer;
}
.ck-item input:checked + span { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--line-2); }
.ck-warn {
  margin: 14px 0 4px;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  font-size: 14px; line-height: 1.85; color: var(--text-2);
}
.ck-warn strong { color: var(--brand); }

/* ============ 打印样式（家属清单 PDF） ============ */
.print-sign { display: none; }
@media print {
  .topbar, .site-header, .float-contact, .back-top, .cta-band,
  .site-footer, .content-meta-bar, .chat-panel, .modal-mask,
  #print-btn, .page-hero .btn { display: none !important; }
  body { background: #fff; }
  .page-hero {
    padding: 0 0 14px !important;
    background: #fff !important;
    border-bottom: 2px solid #A81B23;
    margin-bottom: 18px;
  }
  .page-hero::before, .page-hero::after { display: none !important; }
  .page-hero h1 { font-size: 21pt !important; color: #14161A !important; margin: 0 0 6px; }
  .page-hero p { font-size: 9.5pt !important; color: #5B616D !important; line-height: 1.6; }
  .page-hero .breadcrumb { display: none; }
  .section { padding: 0 !important; }
  .section .container { max-width: 100% !important; padding: 0 !important; }
  .ck-block { page-break-inside: avoid; break-inside: avoid; padding: 14px 0 4px; }
  .ck-head h2 { font-size: 12.5pt !important; }
  .ck-item { font-size: 9.8pt !important; line-height: 1.55; padding: 5px 0; }
  .ck-item input[type="checkbox"] { width: 9px; height: 9px; margin-top: 3px; }
  .ck-warn { font-size: 9pt; padding: 9px 12px; margin: 8px 0 2px; }
  .notice { font-size: 9.2pt !important; padding: 10px 12px !important; }
  .cmp-table { font-size: 9pt !important; }
  .cmp-table th, .cmp-table td { padding: 6px 8px !important; }
  h2 { font-size: 13pt !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .print-sign {
    display: block;
    margin-top: 20px; padding-top: 10px;
    border-top: 1px solid #C9C5BD;
    font-size: 8.4pt; line-height: 1.7; color: #6B7078;
  }
  @page { size: A4; margin: 14mm 13mm; }
}

/* ============ 取保候审材料清单工具 ============ */
.bail-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.bail-form-head h2, .bail-out-head h2 {
  font-size: 21px; margin: 8px 0 10px; color: var(--text);
}
.bail-form-head p, .bail-out-head p {
  font-size: 13.5px; line-height: 1.8; color: var(--text-3); margin: 0 0 18px;
}
.bail-form-head .section-kicker, .bail-out-head .section-kicker { font-size: 11px; }
.bail-group {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px 12px; margin: 0 0 16px;
  background: var(--paper);
}
.bail-group legend {
  padding: 0 8px; margin-left: -4px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand);
}
.bail-opt {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; cursor: pointer;
  font-size: 14px; line-height: 1.7; color: var(--text-2);
  border-bottom: 1px dashed transparent;
}
.bail-opt:hover { color: var(--text); }
.bail-opt input[type="checkbox"] {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 4px 0 0;
  accent-color: var(--brand); cursor: pointer;
}
.bail-opt input:checked + span { color: var(--text); font-weight: 600; }
.bail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

.bail-out {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px 20px;
}
.bail-group-out { margin-bottom: 22px; }
.bail-group-out:last-child { margin-bottom: 0; }
.bail-group-out h3 {
  font-size: 14px; margin: 0 0 10px; color: var(--text);
  letter-spacing: .02em; display: flex; align-items: baseline; gap: 8px;
}
.bail-group-out h3 em {
  font-style: normal; font-size: 11.5px; color: var(--text-3); font-weight: 400;
}
.bail-group-out ul { list-style: none; margin: 0; padding: 0; }
.bail-group-out li {
  position: relative; padding: 6px 0 6px 24px;
  font-size: 13.5px; line-height: 1.75; color: var(--text-2);
}
.bail-group-out li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 9px; height: 9px; border: 1.5px solid var(--line-2); border-radius: 1px;
}
.bail-empty {
  font-size: 13.5px; line-height: 1.9; color: var(--text-3);
  padding: 14px 0;
}
@media (max-width: 900px) {
  .bail-wrap { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ 37 天倒计时工具 ============ */
.calc-card {
  margin: 30px 0 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 28px 20px;
}
.calc-head .calc-kicker {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--brand); margin-bottom: 8px;
}
.calc-head h3 { font-size: 19px; line-height: 1.5; margin: 0 0 8px; color: var(--text); }
.calc-head p { font-size: 13px; line-height: 1.8; color: var(--text-3); margin: 0 0 18px; }
.calc-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.calc-row label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.calc-row input[type="date"] {
  padding: 9px 12px; font-size: 14px; font-family: var(--num);
  border: 1px solid var(--line-2); border-radius: 2px; background: #fff;
  color: var(--text);
}
.calc-row input[type="date"]:focus { outline: none; border-color: var(--brand); }
.calc-out { border-top: 1px solid var(--line); padding-top: 20px; }
.calc-status {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.calc-day {
  font-family: var(--num); font-size: 34px; line-height: 1;
  color: var(--brand); letter-spacing: .02em;
}
.calc-day small { font-size: 13px; color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.calc-phase {
  display: inline-block; padding: 4px 11px; border-radius: 2px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 600;
}
.calc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  margin-bottom: 16px;
}
.calc-cell { background: #fff; padding: 14px 16px; }
.calc-cell .cc-k { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.calc-cell .cc-v {
  font-family: var(--num); font-size: 19px; color: var(--text); letter-spacing: .02em;
}
.calc-cell .cc-v em { font-style: normal; font-size: 12px; color: var(--text-3); margin-left: 6px; font-family: inherit; }
.calc-advice {
  font-size: 14px; line-height: 1.9; color: var(--text-2);
  padding: 14px 16px; background: var(--paper-2); border-left: 3px solid var(--brand);
}
.calc-advice strong { color: var(--text); }
.calc-note { font-size: 12px; line-height: 1.8; color: var(--text-3); margin: 16px 0 0; }
@media (max-width: 640px) {
  .calc-card { padding: 20px 18px 16px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-day { font-size: 28px; }
}

/* ============ 编号步骤条（团队办案模式） ============ */
.step-list { margin: 0; display: flex; flex-direction: column; gap: 0; }
.step-item {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr; gap: 0 20px;
  padding: 0 0 34px;
}
.step-item::before {
  content: ""; position: absolute; left: 31px; top: 52px; bottom: 0;
  width: 1px; background: var(--line);
}
.step-item:last-child { padding-bottom: 0; }
.step-item:last-child::before { display: none; }
.step-no {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--num); font-size: 19px; letter-spacing: .04em;
  color: var(--brand); font-weight: 600;
}
.step-body h3 {
  margin: 14px 0 12px;
  font-size: 18.5px; line-height: 1.5; color: var(--text);
}
.step-body p {
  font-size: 15.5px; line-height: 1.95; color: var(--text-2);
  margin-bottom: 14px;
}
.step-body p:last-child { margin-bottom: 0; }
.step-body .check-list { margin: 4px 0 14px; }
@media (max-width: 640px) {
  .step-item { grid-template-columns: 46px 1fr; gap: 0 14px; }
  .step-no { width: 46px; height: 46px; font-size: 15px; }
  .step-item::before { left: 22px; top: 40px; }
  .step-body h3 { margin-top: 8px; font-size: 16.5px; }
}

/* ============ 悬浮咨询条 ============ */
.float-contact {
  position: fixed; right: 24px; bottom: 92px; z-index: 80;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  border: none; cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .04em;
  color: #fff;
  box-shadow: 0 6px 20px rgba(20, 22, 26, .22);
  transition: transform .16s ease, background .16s ease;
}
.float-btn:hover { transform: translateX(-3px); }
.float-btn .fb-icon { font-size: 17px; line-height: 1.15; }
.float-phone { background: var(--brand); }
.float-phone:hover { background: var(--brand-d); }
.float-wx { background: var(--ink-2); }
.float-chat { background: var(--ink-3); }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 18, 22, .62);
  backdrop-filter: blur(2px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: var(--paper); border-radius: var(--r);
  padding: 38px 34px 32px; max-width: 380px; width: 100%;
  text-align: center; position: relative;
}
.modal h3 { font-size: 19px; color: var(--text); margin-bottom: 8px; }
.modal .m-sub { font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; }
.modal img.m-qr {
  width: 240px; height: 240px; margin: 0 auto 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 8px; background: var(--paper);
}
.modal img.m-large { max-width: min(780px, 88vw); max-height: 78vh; margin: 0 auto; border-radius: var(--r-sm); }
.modal .m-tip { font-size: 13px; line-height: 1.7; color: var(--text-3); }
.modal-close {
  position: absolute; right: 16px; top: 14px;
  background: none; border: none; font-size: 24px;
  color: var(--text-3); cursor: pointer; line-height: 1; z-index: 2;
}
.modal-close:hover { color: var(--text); }

/* ============ AI 问答 ============ */
.chat-panel {
  position: fixed; right: 24px; bottom: 156px;
  width: 348px; max-width: calc(100vw - 48px);
  height: 470px; max-height: calc(100vh - 210px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 22px 54px rgba(20, 22, 26, .22);
  z-index: 85; display: none; flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-head {
  background: var(--ink); color: #fff;
  padding: 15px 18px; font-size: 14.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-head .ch-sub {
  display: block; font-size: 11.5px; font-weight: 400;
  letter-spacing: .02em; color: rgba(255, 255, 255, .6); margin-top: 2px;
}
.chat-head button {
  background: none; border: none; color: rgba(255, 255, 255, .8);
  font-size: 20px; cursor: pointer; line-height: 1;
}
.chat-body {
  flex: 1; overflow-y: auto; padding: 18px;
  background: var(--paper-2);
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 88%; font-size: 13.5px; line-height: 1.75;
  padding: 11px 15px; border-radius: var(--r); white-space: pre-line;
}
.chat-msg.bot {
  background: var(--paper); border: 1px solid var(--line);
  color: var(--text-2); align-self: flex-start;
}
.chat-msg.user { background: var(--brand); color: #fff; align-self: flex-end; }
.chat-suggest {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 18px 12px; background: var(--paper-2);
}
.chat-suggest button {
  font-family: var(--sans); font-size: 12px;
  border: 1px solid var(--line-2); background: var(--paper);
  color: var(--text-2); border-radius: 20px; padding: 5px 13px;
  cursor: pointer; transition: all .16s ease;
}
.chat-suggest button:hover { border-color: var(--brand); color: var(--brand); }
.chat-input { display: flex; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input input {
  flex: 1; border: none; outline: none; padding: 14px 16px;
  font-size: 14px; font-family: var(--sans); color: var(--text);
}
.chat-input button {
  border: none; background: var(--brand); color: #fff;
  padding: 0 22px; font-size: 14px; font-weight: 600;
  font-family: var(--sans); cursor: pointer;
}
.chat-input button:hover { background: var(--brand-d); }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--ink); color: rgba(255, 255, 255, .62);
  font-size: 13.5px; padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 44px; padding-bottom: 48px;
}
.footer-grid h4 {
  color: #fff; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; margin-bottom: 20px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; line-height: 1.7; }
.footer-grid a { color: rgba(255, 255, 255, .62); }
.footer-grid a:hover { color: #fff; }
.footer-brand .cn {
  font-size: 19px; font-weight: 700; color: #fff;
  letter-spacing: .08em; margin-bottom: 16px;
}
.footer-brand p { line-height: 1.9; max-width: 320px; }
.footer-phone {
  font-family: var(--num); font-size: 24px; letter-spacing: .04em;
  color: #fff; margin-top: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; font-size: 12.5px; line-height: 1.8;
  color: rgba(255, 255, 255, .42);
}
.footer-bottom .container {
  display: flex; align-items: baseline; flex-wrap: wrap;
  justify-content: flex-start; gap: 6px 18px;
}
/* 版权与备案号归左成组，免责声明靠右 */
.footer-bottom .container > span:last-child { margin-left: auto; }
/* 备案号：法规要求首页底部标注并链接工信部 */
.footer-bottom .beian a {
  color: rgba(255, 255, 255, .58);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: color .18s ease, border-color .18s ease;
}
.footer-bottom .beian a:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .footer-bottom { padding: 18px 0; }
  .footer-bottom .container { gap: 3px 12px; }
  .footer-bottom .container > span:last-child { margin-left: 0; flex-basis: 100%; }
}

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 24px; bottom: 26px; z-index: 80;
  width: 52px; height: 52px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--paper); color: var(--text-2);
  font-size: 17px; cursor: pointer; display: none;
  box-shadow: 0 6px 20px rgba(20, 22, 26, .12);
  transition: all .16s ease;
}
.back-top.show { display: block; }
.back-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =====================================================
   办 案 指 南 · 律 师 核 验 · 内 容 密 度 组 件
   ===================================================== */

/* ---------- 律师信息的核验标签 ---------- */
.verify-badge {
  position: absolute; top: -1px; left: -1px; z-index: 1;
  font-size: 10.5px; letter-spacing: .04em; line-height: 1.5;
  padding: 4px 9px;
  border-radius: var(--r) 0 var(--r) 0;
  border: 1px solid var(--line);
  border-top: none; border-left: none;
  background: var(--paper-2); color: var(--text-3);
}
.verify-badge.vb-official { background: #EEF4EE; border-color: #CBDCCB; color: #2F5B34; }
.verify-badge.vb-platform { background: var(--paper-2); border-color: var(--line-2); color: var(--text-2); }
.verify-badge.vb-pending  { background: #FBF4E8; border-color: #E7D6B4; color: #7A5A16; }
.verify-badge.vb-certificate { background: #EEF4EE; border-color: #CBDCCB; color: #2F5B34; }

.member-source {
  font-size: 12.5px; line-height: 1.65; color: var(--text-2);
  margin-top: 12px; padding-top: 12px; text-align: left;
  border-top: 1px solid var(--line);
}
.profile-modal .p-source { font-size: 13px; }

/* ---------- 案例卡片补充 ---------- */
.case-sub {
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--text); margin: 20px 0 8px;
}
.case-doc-text {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px; margin-top: 16px;
}
.case-doc-text .case-sub { margin-top: 0; }
.case-doc-text p { font-size: 13.5px; line-height: 1.85; color: var(--text-2); }
.case-doc-text .doc-cap { font-size: 12px; color: var(--text-3); margin-top: 8px; }
.case-sample-badge.badge-warn {
  background: #FBF4E8; border-color: #E7D6B4; color: #7A5A16;
}
.case-pending-note {
  margin-top: 16px; padding: 12px 16px;
  border: 1px dashed #E7D6B4; background: #FDFAF3;
  border-radius: var(--r); font-size: 12.5px; line-height: 1.75; color: #7A5A16;
}

/* ---------- 案例筛选条 ---------- */
.case-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.case-filter button {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  letter-spacing: .03em; cursor: pointer;
  padding: 9px 18px; border-radius: 40px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text-2);
  transition: all .16s ease;
}
.case-filter button:hover { border-color: var(--brand); color: var(--brand); }
.case-filter button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 律所登记信息表 ---------- */
.fact-table { border-top: 1px solid var(--line); }
.fact-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.7;
}
.fact-row .fr-k { color: var(--text-3); font-size: 13.5px; }
.fact-row .fr-v { color: var(--text); }

/* ---------- 数字条 ---------- */
.stat-band {
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.stat-band .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 30px 26px; border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: none; }
.stat-item .s-num {
  font-family: var(--num); font-size: 32px; line-height: 1.1;
  color: var(--text); letter-spacing: .02em;
}
.stat-item .s-num small { font-size: 15px; font-size: 0.5em; }
.stat-item .s-label {
  font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.6;
}

/* ---------- 指南栏目卡片 ---------- */
.guide-card { display: flex; gap: 20px; align-items: flex-start; }
.guide-card .g-num {
  font-family: var(--num); font-size: 26px; line-height: 1;
  color: var(--brand); flex: none; padding-top: 3px;
}
.guide-card .g-body { flex: 1; }
.guide-card h3 { margin-bottom: 10px; }

/* ---------- 流程：双列（律师 / 家属） ---------- */
.flow-block { position: relative; padding-left: 34px; padding-bottom: 44px; }
.flow-block:last-child { padding-bottom: 0; }
.flow-block::before {
  content: ""; position: absolute; left: 7px; top: 12px; bottom: 0;
  width: 1px; background: var(--line-2);
}
.flow-block:last-child::before { display: none; }
.flow-block::after {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brand);
}
.flow-head {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.flow-head h3 { font-size: 20px; color: var(--text); }
.flow-time {
  font-family: var(--num); font-size: 12.5px; letter-spacing: .05em;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: var(--r-sm);
  padding: 2px 9px;
}
.flow-desc { font-size: 14.5px; line-height: 1.85; color: var(--text-2); margin-bottom: 18px; }
.flow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.flow-col {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; background: var(--paper);
}
.flow-col.todo { background: var(--paper-2); }
.flow-col h4 {
  font-size: 13px; letter-spacing: .1em; font-weight: 600;
  color: var(--text-3); margin-bottom: 12px;
}
.flow-col ul { list-style: none; }
.flow-col li {
  position: relative; padding-left: 16px; margin-bottom: 9px;
  font-size: 14px; line-height: 1.8; color: var(--text-2);
}
.flow-col li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; background: var(--brand); border-radius: 50%;
}
.flow-col.todo li::before { background: var(--line-2); }

/* ---------- 文章目录 ---------- */
.article-toc {
  border: 1px solid var(--line); border-left: 2px solid var(--brand);
  background: var(--paper-2); border-radius: var(--r);
  padding: 22px 26px; margin-bottom: 34px;
}
.article-toc .toc-title {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--text-3); margin-bottom: 12px;
}
.article-toc ol { margin-left: 20px; }
.article-toc li { font-size: 14px; line-height: 1.9; color: var(--text-2); }
.article-toc a { color: var(--text-2); }
.article-toc a:hover { color: var(--brand); }

/* ---------- 对照表 ---------- */
.cmp-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.cmp-table th, .cmp-table td {
  border: 1px solid var(--line); padding: 12px 15px;
  text-align: left; line-height: 1.75; vertical-align: top;
}
.cmp-table th { background: var(--paper-2); font-weight: 600; color: var(--text); font-size: 13.5px; }
.cmp-table td { color: var(--text-2); }
.cmp-table tr:hover td { background: var(--paper-2); }

/* ---------- FAQ 分组 ---------- */
.faq-group { margin-bottom: 52px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 {
  font-size: 22px; color: var(--text); margin-bottom: 22px;
  padding-left: 14px; border-left: 3px solid var(--brand);
}
.faq-jump {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px;
}
.faq-jump a {
  font-size: 13.5px; padding: 8px 16px; border-radius: 40px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text-2);
}
.faq-jump a:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 920px) {
  .stat-band .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 20px; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow-cols { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 620px) {
  .stat-band .container { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .stat-item:last-child { border-bottom: none; }
  .flow-block { padding-left: 26px; }
  .cmp-table { font-size: 13px; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }
  .article-toc { padding: 18px 20px; }
}

/* ---------- 首页阶段卡 ---------- */
.step-card { padding: 28px 26px; }
.step-card .s-idx {
  font-family: var(--num); font-size: 12.5px; letter-spacing: .14em;
  color: var(--brand); margin-bottom: 10px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card .s-time {
  display: inline-block; font-size: 12px; line-height: 1.5;
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid var(--brand-line); border-radius: var(--r-sm);
  padding: 2px 8px; margin-bottom: 12px;
}
.step-card p { font-size: 13.5px; line-height: 1.8; }

/* ---------- 首页团队预览 ---------- */
.member-card-mini { padding: 28px 20px 24px; text-align: center; }
.member-card-mini .member-avatar {
  width: 68px; height: 68px; font-size: 25px; margin-bottom: 14px;
}
.member-card-mini h3 { font-size: 17px; margin-bottom: 6px; }
.member-card-mini .member-role { margin-bottom: 12px; }
.member-card-mini .tags { justify-content: center; margin: 0; }
.member-card-mini .tag { font-size: 11px; padding: 2px 7px; }

/* ---------- 首页文章简条 ---------- */
.post-list { border-top: 1px solid var(--line); }
.post-row {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 22px;
  align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  color: inherit;
}
.post-row:hover { background: var(--paper-2); }
.post-row .p-cat {
  font-size: 12.5px; letter-spacing: .06em; color: var(--brand);
  font-weight: 600;
}
.post-row h3 {
  font-size: 16.5px; color: var(--text); margin-bottom: 4px;
  transition: color .16s ease;
}
.post-row:hover h3 { color: var(--brand); }
.post-row p { font-size: 13.5px; line-height: 1.7; color: var(--text-2); margin: 0; }
.post-row .p-time {
  font-family: var(--num); font-size: 12.5px;
  color: var(--text-3); white-space: nowrap;
}

@media (max-width: 920px) {
  .post-row { grid-template-columns: 1fr; gap: 6px; }
  .post-row .p-time { display: none; }
}

/* ============ 滚动出现 ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero .container { gap: 44px; }
  .hero h1 { font-size: 44px; }
}

@media (max-width: 920px) {
  .hero .container,
  .cta-band .container { grid-template-columns: 1fr; }
  .hero { padding: 68px 0 72px; }
  .hero h1 { font-size: 38px; }

  /* 平板/手机：右侧悬浮按钮改为底部固定条，避免遮挡正文 */
  .float-contact {
    left: 0; right: 0; bottom: 0;
    flex-direction: row; gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(20, 22, 26, .10);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .float-btn {
    flex: 1; width: auto; height: 54px;
    flex-direction: row; gap: 8px;
    border-radius: 0; font-size: 13px;
    box-shadow: none;
  }
  .float-btn:hover { transform: none; }
  .back-top { display: none !important; }
  body { padding-bottom: 54px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 26px 22px 26px 0; }
  .trust-item + .trust-item { padding-left: 22px; }
  .trust-item:nth-child(2n) { border-right: none; padding-left: 22px; }
  .trust-item:nth-child(2n+1) { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .main-nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(20, 22, 26, .1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 18px 16px; gap: 0; }
  .main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { color: var(--brand); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: 28px; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 30px; }
  .license-meta { grid-template-columns: 1fr; }
  .cta-band { padding: 56px 0; }
  .article-body h2 { font-size: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; line-height: 1.78; }
  .container { padding: 0 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar .container { justify-content: center; }
  .topbar .tb-left { display: none; }
  .hero { padding: 52px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15.5px; }
  .hero-card { padding: 30px 24px 26px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }
  .page-hero { padding: 36px 0 32px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero p { font-size: 15px; }
  .card { padding: 28px 22px; }
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { padding: 22px 0 !important; border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .match-widget { padding: 28px 22px; }
  .match-row select { min-width: 100%; }
  .chat-panel { right: 14px; left: 14px; width: auto; bottom: 64px; }
  .profile-modal .modal-box { padding: 30px 22px 26px; }
  .article-body { padding: 0 20px; }
  .article-body p, .article-body li { font-size: 15px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band .cta-phone { font-size: 26px; }
}

/* =====================================================
   GEO 增强：页面开头「一句话回答」
   ===================================================== */
.quick-answer{
  margin:20px 0 0; padding:16px 20px;
  background:var(--paper-2, #fafaf8);
  border-left:3px solid var(--brand);
  border-radius:4px;
  font-size:15.5px; line-height:1.8; color:var(--text);
}
.quick-answer .qa-label{
  display:block; font-size:11.5px; font-weight:700; letter-spacing:.12em;
  color:var(--brand); margin-bottom:6px;
}

/* =====================================================
   GEO 增强：内容更新时间与团队署名
   ===================================================== */
.content-meta-bar{
  border-top:1px solid var(--line);
  background:var(--paper, #fafaf8);
  padding:22px 0;
}
.content-meta-bar .container{
  display:flex; gap:10px 22px; flex-wrap:wrap;
  font-size:12.5px; line-height:1.7; color:var(--text-3);
}
.content-meta-bar .container span:first-child{
  white-space:nowrap; font-weight:600; color:var(--text-2);
}
