/*
Theme Name: 在商言法白金
Theme URI: https://www.zaishangyanfa.com/
Author: 商言法（北京）文化有限公司
Author URI: https://www.zaishangyanfa.com/
Description: 「在商言法白金」企业/个人/事业单位法律顾问与各类案件法律咨询主题。金 #c29a45 主色、墨金棕 #241c10/#3d3018、暖白背景；公司无开庭资质，与北京百环律师事务所为战略合作伙伴，公司承接业务、律所负责交付。
Version: 1.0.0
Text Domain: zaishangyanfa
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/* =============================================================
   在商言法 · 全新官网 — 设计系统 (Design System)
   品牌色：深海军蓝 (信任/权威) + 金 (专业/尊贵) + 青 (理性)
   原则：克制、留白、可读性、移动优先、无障碍 (WCAG 2.1 AA)
   ============================================================= */

:root {
  /* 品牌色：白 + 香槟金 / 古铜金（原 navy 色阶重映射为金棕墨） */
  --navy-900: #241c10;
  --navy-800: #3d3018;
  --navy-700: #6b5426;
  --navy-600: #96763a;
  --navy-500: #b8924a;
  --gold-600: #a8812f;
  --gold-500: #c29a45;
  --gold-400: #d9ba72;
  --gold-100: #f7f0dd;
  --teal-600: #8a6d35;
  --teal-500: #b8924a;

  /* 中性色（暖调墨灰） */
  --ink-900: #231e16;
  --ink-700: #4a4237;
  --ink-500: #756c5e;
  --ink-300: #a99f8d;
  --line: #e7ddc8;
  --line-soft: #f3ecdb;
  --bg: #ffffff;
  --bg-soft: #faf6ee;
  --bg-tint: #f4ecdb;
  --white: #ffffff;

  /* 语义 */
  --danger: #c0392b;
  --ok: #1d7a4d;

  /* 排版 */
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* 间距/圆角/阴影 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(66, 50, 24, 0.08), 0 1px 2px rgba(66, 50, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(66, 50, 24, 0.10);
  --shadow-lg: 0 18px 50px rgba(66, 50, 24, 0.16);
  --header-h: 72px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy-900); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(28px, 4.2vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy-900); color: #e6d8b8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #cdbd9c; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-600); font-weight: 700; margin: 0 0 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); display: inline-block; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-500); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: var(--sans); line-height: 1; white-space: nowrap;
}
.btn--primary { background: var(--gold-500); color: #2a200a; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-400); color: #2a200a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-700); border-color: var(--gold-400); }
.btn--ghost:hover { border-color: var(--gold-500); background: var(--gold-100); }
.btn--light { background: #fff; color: var(--navy-800); border: 1px solid var(--line); }
.btn--light:hover { background: var(--gold-100); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

/* ---------- 顶部公告条 ---------- */
.topbar { background: var(--navy-900); color: #d8c9a8; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #d8c9a8; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark {
  width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.brand .logo-text { line-height: 1.1; }
.brand .logo-text b { font-family: var(--serif); font-size: 19px; color: var(--navy-900); letter-spacing: 1px; }
.brand .logo-text span { display: block; font-size: 11px; color: var(--ink-500); letter-spacing: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  color: var(--ink-700); font-weight: 500; font-size: 15px;
}
.nav-menu > li > a:hover, .nav-menu > li.is-active > a { color: var(--navy-800); background: var(--bg-soft); }
.nav-menu .caret { font-size: 10px; opacity: .6; }

/* 下拉 / mega menu */
.dropdown {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease; z-index: 110;
}
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-700); font-size: 14.5px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--navy-800); }
.dropdown .dd-title { font-size: 12px; color: var(--ink-300); padding: 6px 12px; letter-spacing: 1px; text-transform: uppercase; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); margin: 4px 0; border-radius: 2px; }

/* ---------- Hero（沉浸式全屏轮播，自研） ---------- */
.hero {
  position: relative; min-height: min(92vh, 880px); display: flex; align-items: center;
  background:
    radial-gradient(1100px 560px at 78% -10%, rgba(217,186,114,.18), transparent 60%),
    radial-gradient(900px 520px at 12% 108%, rgba(168,129,47,.12), transparent 60%),
    linear-gradient(180deg, #fffdf8 0%, #faf3e3 100%);
  color: var(--ink-900); overflow: hidden;
}
.hero .container { position: relative; z-index: 3; width: 100%; padding-top: 96px; padding-bottom: 132px; }
.hero h1 { color: var(--ink-900); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.hero-badges .pill {
  background: rgba(255,255,255,.7); border: 1px solid var(--gold-400); color: var(--navy-700);
  padding: 7px 14px; border-radius: 999px; font-size: 13px;
}
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.hero-stats .stat { border-left: 2px solid var(--gold-500); padding-left: 16px; text-align: left; }
.hero-stats .num { font-family: var(--serif); font-size: 24px; color: var(--gold-600); font-weight: 700; }
.hero-stats .lbl { font-size: 15px; color: var(--ink-900); font-weight: 600; margin-top: 2px; }
.hero-stats .stat-desc { font-size: 13px; color: var(--ink-500); margin: 6px 0 0; line-height: 1.6; }
.hero-stats-note { margin-top: 22px; font-size: 13px; color: var(--ink-500); max-width: 72em; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #e3d3ac; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-600); font-size: 22px; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { color: var(--ink-500); font-size: 14.5px; margin: 0 0 14px; }
.card .more { font-weight: 600; color: var(--navy-600); font-size: 14px; }
.card--link { display: block; }
.card--link:hover { color: inherit; }

/* 服务/业务 icon 颜色变体 */
.ico--navy { background: var(--gold-100); color: var(--gold-600); }
.ico--teal { background: #f3ecdb; color: var(--navy-700); }

/* ---------- 标签 / badges ---------- */
.tag {
  display: inline-block; font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-tint); color: var(--navy-700); margin: 0 6px 6px 0; font-weight: 500;
}
.tag--gold { background: var(--gold-100); color: var(--gold-600); }
.tag--teal { background: #f3ecdb; color: var(--navy-700); }

/* ---------- 数据展示条 ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .item { text-align: center; }
.statband .num { font-family: var(--serif); font-size: 40px; color: var(--gold-500); font-weight: 700; line-height: 1; }
.statband .lbl { color: #cdbd9c; font-size: 14px; margin-top: 6px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 30px; color: var(--gold-500); font-weight: 700; }
.step h4 { margin: 8px 0 6px; font-size: 17px; }
.step p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* ---------- 团队 ---------- */
.lawyer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.lawyer:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lawyer .avatar {
  height: 220px; background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: grid; place-items: center; color: var(--gold-400); font-family: var(--serif); font-size: 54px; font-weight: 700;
  position: relative;
}
.lawyer .avatar .initials { filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.lawyer .body { padding: 18px 20px 22px; }
.lawyer .body h3 { margin: 0 0 2px; font-size: 19px; }
.lawyer .body .role { color: var(--gold-600); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.lawyer .body p { font-size: 13.5px; color: var(--ink-500); margin: 0 0 12px; }
.lawyer .meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 案例 ---------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case .cat { font-size: 12.5px; color: var(--gold-600); font-weight: 700; letter-spacing: 1px; }
.case h3 { font-size: 18px; margin: 0; }
.case .result { background: var(--bg-tint); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; color: var(--ink-700); }
.case .result b { color: var(--ok); }
.case .excerpt { font-size: 14px; color: var(--ink-500); margin: 0; }
.case .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-300); }

/* ---------- 文章列表 ---------- */
.post {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.post:hover { border-color: #e3d3ac; box-shadow: var(--shadow-sm); }
.post .thumb { height: 96px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); display: grid; place-items: center; color: #fff; font-size: 30px; }
.post .cat { font-size: 12px; color: var(--gold-600); font-weight: 700; letter-spacing: 1px; }
.post h3 { font-size: 17px; margin: 4px 0 6px; }
.post p { font-size: 13.5px; color: var(--ink-500); margin: 0 0 8px; }
.post .date { font-size: 12.5px; color: var(--ink-300); }

/* ---------- 侧栏 / 工具 ---------- */
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.tool-card h3 { margin-top: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: 15px; color: var(--ink-900); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy-500); outline-offset: 1px; border-color: var(--navy-500); }
.field .hint { font-size: 12.5px; color: var(--ink-300); margin-top: 4px; }
.result-box {
  background: var(--bg-tint); border: 1px dashed var(--navy-500); border-radius: var(--r-md);
  padding: 18px 20px; margin-top: 8px; font-size: 15px;
}
.result-box .big { font-family: var(--serif); font-size: 28px; color: var(--navy-800); font-weight: 700; }
.result-box .note { font-size: 12.5px; color: var(--ink-500); margin-top: 8px; }

/* ---------- 报价 / 服务包 ---------- */
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; position: relative;
}
.price.is-feature { border: 2px solid var(--gold-500); box-shadow: var(--shadow-md); }
.price .flag { position: absolute; top: -12px; left: 24px; background: var(--gold-500); color: #2a200a; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price .pname { font-family: var(--serif); font-size: 20px; color: var(--navy-900); }
.price .pfrom { font-size: 14px; color: var(--ink-500); }
.price .amount { font-family: var(--serif); font-size: 36px; color: var(--navy-800); font-weight: 700; }
.price .amount small { font-size: 14px; color: var(--ink-500); font-weight: 400; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.price ul li { font-size: 14.5px; color: var(--ink-700); padding-left: 24px; position: relative; }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

/* ---------- 归档区 ---------- */
.archive-note {
  background: linear-gradient(135deg, #fbf6ea, #f4ecdb); border: 1px solid var(--gold-100);
  border-left: 4px solid var(--gold-500); border-radius: var(--r-md); padding: 20px 22px; margin-bottom: 26px;
}
.archive-note h3 { margin: 0 0 6px; font-size: 18px; }
.archive-note p { font-size: 14px; color: var(--ink-700); margin: 0; }
.timeline { border-left: 2px solid var(--line); padding-left: 22px; margin-left: 8px; }
.timeline .tl-item { position: relative; padding-bottom: 22px; }
.timeline .tl-item::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold-100); }
.timeline .tl-year { font-family: var(--serif); font-weight: 700; color: var(--navy-800); }
.timeline .tl-item p { font-size: 14px; color: var(--ink-500); margin: 4px 0 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13.5px; color: var(--ink-300); padding: 18px 0; }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb span.sep { margin: 0 8px; }
.breadcrumb .cur { color: var(--navy-700); font-weight: 600; }

/* ---------- 页内 CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--gold-600), #8a6826); color: #fff; border-radius: var(--r-lg); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #f6e9cf; margin: 0; }

/* ---------- 列表过滤器 ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14px; color: var(--ink-700); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--navy-500); color: var(--navy-700); }
.chip.is-active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }

/* ---------- 搜索框 ---------- */
.searchbar { display: flex; gap: 10px; max-width: 520px; }
.searchbar input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.searchbar input:focus { outline: 2px solid var(--navy-500); border-color: var(--navy-500); }

/* ---------- 评价 / 客户 ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold-500); letter-spacing: 2px; }
.quote p { font-size: 15px; color: var(--ink-700); margin: 12px 0 16px; }
.quote .who { font-size: 14px; color: var(--ink-500); }
.quote .who b { color: var(--navy-800); }

/* 客户 logo 墙 */
.logos { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.logos .logo-chip {
  flex: 1 1 140px; min-height: 70px; border: 1px solid var(--line); border-radius: var(--r-md);
  display: grid; place-items: center; color: var(--ink-500); font-weight: 600; letter-spacing: 1px; background: #fff;
}

/* ---------- 页脚 ---------- */
.site-footer { background: #2a2113; color: #cdbd9c; padding: 56px 0 24px; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 0 0 16px; font-family: var(--sans); letter-spacing: .5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer a { color: #cdbd9c; }
.site-footer a:hover { color: var(--gold-400); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col p { font-size: 14px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #b3a488; }
.footer-bottom { border-top: 1px solid rgba(217,186,114,.18); margin-top: 36px; padding-top: 20px; font-size: 13px; color: #9c8d70; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #b3a488; }
.disclaimer { background: rgba(217,186,114,.10); border-radius: var(--r-md); padding: 14px 18px; font-size: 12.5px; color: #b3a488; margin-top: 18px; line-height: 1.6; }

/* 页脚低调辅助区：用户中心 / 公共服务名录（后台可整体显隐，不进主导航） */
.footer-aux { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(217,186,114,.12); font-size: 12.5px; }
.footer-aux-label { color: var(--gold-400); letter-spacing: 1px; font-weight: 600; min-width: 64px; }
.footer-aux a { color: #a8987a; }
.footer-aux a:hover { color: var(--gold-400); }
.footer-aux-note { color: #8c7e63; font-size: 11.5px; }

/* ---------- 移动端浮动 CTA ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px; gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.mobile-cta a { flex: 1; }

/* ---------- 无障碍 ---------- */
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-menu, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; box-shadow: var(--shadow-md); gap: 0;
  }
  .nav-menu.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .nav-menu.open > li > a { display: flex; }
  .grid-2, .grid-3, .grid-4, .hero-stats, .statband { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
  .post { grid-template-columns: 1fr; }
  .post .thumb { height: 120px; }
  .cta-band { padding: 28px; }
}
@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4, .hero-stats, .statband, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
}

/* 打印 */
@media print {
  .site-header, .topbar, .mobile-cta, .site-footer, .hero-actions, .nav { display: none !important; }
  body { font-size: 12px; }
}

/* =========================================================
   新增组件（2026-10 优化：行业方案 Tabs / Alert / 表单校验 / 律师详情抽屉）
   —— 与现有设计系统共用令牌，不新增外部依赖
   ========================================================= */

/* ---------- 行业方案 Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tab-btn {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--ink-700); cursor: pointer; font-family: var(--sans);
  transition: all .15s ease;
}
.tab-btn:hover { border-color: var(--navy-500); color: var(--navy-700); }
.tab-btn[aria-selected="true"] { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.tab-panel { animation: fade .25s ease; }
.tab-panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.industry-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.industry-pains { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; }
.industry-pains li { padding-left: 24px; position: relative; font-size: 14.5px; color: var(--ink-700); }
.industry-pains li::before { content: "▸"; position: absolute; left: 0; color: var(--gold-600); font-weight: 700; }
.industry-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.industry-table caption { text-align: left; color: var(--ink-500); font-size: 13px; padding: 10px 14px; background: var(--bg-soft); }
.industry-table th, .industry-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13.5px; vertical-align: top; }
.industry-table th { background: var(--bg-tint); color: var(--navy-800); font-weight: 600; }
.industry-table tr:last-child td { border-bottom: 0; }
.industry-cta { margin-top: 16px; }

/* ---------- 提示 Alert ---------- */
.alert { border-radius: var(--r-md); border: 1px solid; border-left-width: 4px; padding: 14px 16px; font-size: 14px; margin: 18px 0; line-height: 1.6; }
.alert--info { background: #f7f0dd; border-color: #d9ba72; color: #6b5426; }
.alert--warning { background: #fdf6e9; border-color: #f0dcae; color: #7b5500; }
.alert--success { background: #ecf7f0; border-color: #bfe3d2; color: #1d5a3c; }
.alert strong { font-weight: 700; }

/* ---------- 表单校验与增强 ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid .field-error { display: block; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-700); font-weight: 400; margin: 0; }
.checkbox input { width: auto; margin-top: 3px; }
.form-success { display: none; background: #ecf7f0; border: 1px solid #bfe3d2; color: #1d5a3c; border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 18px; }
.form-success h3 { color: #1d5a3c; margin: 0 0 6px; font-size: 18px; }
.form-success.is-show { display: block; }

/* ---------- 律师详情抽屉 ---------- */
.scrim { position: fixed; inset: 0; background: rgba(36,28,16,.5); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 200; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 92vw);
  background: #fff; z-index: 210; padding: 28px; overflow: auto;
  transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 14px; color: var(--ink-700); font-family: var(--sans); }
.drawer-close:hover { border-color: var(--navy-500); color: var(--navy-700); }
.lawyer-detail .dd-avatar {
  width: 66px; height: 66px; border-radius: 14px; float: left; margin: 0 16px 12px 0;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); color: var(--gold-400);
  display: grid; place-items: center; font-family: var(--serif); font-size: 28px; font-weight: 700;
}
.lawyer-detail h2 { font-size: 22px; margin: 0; }
.lawyer-detail .dd-role { color: var(--gold-600); font-weight: 600; font-size: 14px; }
.lawyer-detail .dd-quote { clear: both; font-family: var(--serif); font-size: 16px; color: var(--navy-800); border-left: 3px solid var(--gold-500); padding: 6px 0 6px 14px; margin: 14px 0; font-style: italic; }
.lawyer-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 14px 0; font-size: 14px; }
.lawyer-detail dt { color: var(--ink-500); }
.lawyer-detail dd { margin: 0; color: var(--ink-900); }
.lawyer-detail .dd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.lawyer-detail .dd-intro { font-size: 14px; color: var(--ink-700); line-height: 1.7; }
.lawyer-card-btn { margin-top: 12px; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 860px) {
  .industry-split, .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-panel, .drawer, .scrim { animation: none !important; transition: none !important; }
}

/* 首页指标口径说明 */
.hero-stats-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-500); max-width: 64em; line-height: 1.6; }
.hero-stats-note .hero-note-key { color: var(--gold-400); font-weight: 700; }

/* =========================================================
   首页全屏轮播图（自研，学习头部律所全屏轮播的叙事与商业感）
   —— 无外部图片依赖，使用 navy+gold 的 SVG 商业视觉
   ========================================================= */
/* ===== 首页全屏轮播（自研，参考头部律所沉浸式叙事，无第三方模板） ===== */
.hero-stage { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: min(72vh, 640px); padding: 60px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s ease, visibility .7s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

/* 背景层：深蓝渐变 + 缓慢漂移动光斑 + 细网格，切换时轻微 ken-burns 缩放 */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; transform: scale(1.07); transition: transform 6.5s ease-out; }
.hero-slide.is-active .hero-bg { transform: scale(1); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-glow-a { width: 520px; height: 520px; left: -120px; top: -150px; background: radial-gradient(circle, rgba(217,186,114,.30), transparent 65%); animation: glowA 14s ease-in-out infinite alternate; }
.hero-glow-b { width: 640px; height: 640px; right: -170px; bottom: -220px; background: radial-gradient(circle, rgba(168,129,47,.20), transparent 65%); animation: glowB 18s ease-in-out infinite alternate; }
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(168,129,47,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(168,129,47,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 78%);
}
@keyframes glowA { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,42px) scale(1.15); } }
@keyframes glowB { from { transform: translate(0,0) scale(1); } to { transform: translate(-52px,-32px) scale(1.1); } }

/* 文案层：居中舒展，标签 → 大标题 → 副标题 → 按钮，逐层上浮 */
.hero-copy { position: relative; z-index: 2; max-width: 880px; padding: 0 20px; }
.hero-tag {
  display: inline-block; font-size: 14px; letter-spacing: 3px; color: var(--gold-600);
  border: 1px solid rgba(168,129,47,.45); border-radius: 999px; padding: 7px 20px; margin-bottom: 24px;
  background: rgba(247,240,221,.8);
}
.hero-slide h1 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 52px); line-height: 1.4; font-weight: 700; letter-spacing: 1px; margin: 0 0 18px; color: var(--ink-900); }
.hero-lead { font-size: clamp(15px, 1.35vw, 18px); color: var(--ink-700); max-width: 36em; margin: 0 auto 32px; line-height: 1.9; }
.hero-slide .hero-tag,
.hero-slide h1,
.hero-slide .hero-lead,
.hero-slide .hero-actions { opacity: 0; transform: translateY(18px); }
.hero-slide.is-active .hero-tag { animation: heroIn .7s .05s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-slide.is-active h1 { animation: heroIn .7s .15s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-slide.is-active .hero-lead { animation: heroIn .7s .26s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-slide.is-active .hero-actions { animation: heroIn .7s .37s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* 控制条：箭头 + 分段进度指示器 + 页码，悬浮底部居中 */
.hero-ui { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 0 20px; }
.hero-arrow {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 999px; border: 1px solid rgba(168,129,47,.4);
  background: rgba(255,255,255,.7); color: var(--navy-700); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: all .2s ease;
}
.hero-arrow:hover { background: var(--gold-500); color: #fff; border-color: var(--gold-500); transform: translateY(-1px); }
.hero-indicators { display: flex; gap: 12px; align-items: center; }
.hero-ind { width: 36px; height: 2px; padding: 0; border: 0; border-radius: 2px; background: rgba(168,129,47,.25); cursor: pointer; overflow: hidden; }
.hero-ind-bar { display: block; height: 100%; width: 0; background: var(--gold-600); }
.hero-ind.is-active .hero-ind-bar.run { animation: indBar 6500ms linear forwards; }
.hero:hover .hero-ind.is-active .hero-ind-bar.run,
.hero:focus-within .hero-ind.is-active .hero-ind-bar.run { animation-play-state: paused; }
@keyframes indBar { from { width: 0; } to { width: 100%; } }
.hero-count { font-family: var(--serif); font-size: 15px; color: var(--ink-500); letter-spacing: 1px; }
.hero-count b { color: var(--gold-600); font-size: 20px; }

@media (max-width: 860px) {
  .hero-slide { min-height: 64vh; padding: 40px 0; }
  .hero-ui { gap: 12px; bottom: 22px; }
  .hero-ind { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active .hero-tag, .hero-slide.is-active h1,
  .hero-slide.is-active .hero-lead, .hero-slide.is-active .hero-actions, .hero-bg { animation: none !important; transition: none !important; }
  .hero-slide .hero-tag, .hero-slide h1, .hero-slide .hero-lead, .hero-slide .hero-actions { opacity: 1; transform: none; }
  .hero-glow-a, .hero-glow-b { animation: none !important; }
  .hero-ind.is-active .hero-ind-bar.run { animation: none !important; width: 100%; }
}

/* =========================================================
   WP theme preview: article list / single / sidebar / badge
   ========================================================= */
.wp-note{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;letter-spacing:.5px;color:var(--gold-600);background:var(--gold-100);border:1px dashed var(--gold-500);border-radius:999px;padding:3px 11px;margin-bottom:10px}
.layout-2col{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start}
@media(max-width:960px){.layout-2col{grid-template-columns:1fr}}
.post-row{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid var(--line-soft)}
.post-row .thumb{flex:0 0 150px;height:104px;border-radius:var(--r-md);background:linear-gradient(135deg,var(--gold-400),var(--gold-600));display:grid;place-items:center;color:#fff;font-size:34px}
.post-row .body{flex:1}
.post-row .cat{font-size:12px;color:var(--gold-600);font-weight:700;letter-spacing:1px}
.post-row h3{font-size:19px;margin:4px 0 8px}
.post-row h3 a{color:var(--navy-900)}
.post-row h3 a:hover{color:var(--navy-600)}
.post-row p{font-size:14px;color:var(--ink-500);margin:0 0 8px}
.post-row .date{font-size:12.5px;color:var(--ink-300)}
@media(max-width:640px){.post-row{flex-direction:column}.post-row .thumb{flex:none;width:100%}}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.pagination a,.pagination span{min-width:40px;height:40px;padding:0 12px;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--r-sm);font-size:14px;color:var(--ink-700)}
.pagination .is-active{background:var(--navy-700);color:#fff;border-color:var(--navy-700)}
.pagination a:hover{border-color:var(--navy-500);color:var(--navy-700)}
.side-card{background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:var(--r-lg);padding:24px;margin-bottom:22px}
.side-card h4{margin:0 0 12px;font-size:17px}
.side-card ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.side-card ul a{font-size:14px;color:var(--ink-700)}
.side-card ul a:hover{color:var(--navy-600)}
.side-card .side-phone{font-family:var(--serif);font-size:22px;color:var(--navy-800);font-weight:700}
.article-head{padding:40px 0 8px}
.article-head .cat{font-size:13px;color:var(--gold-600);font-weight:700;letter-spacing:1px}
.article-head h1{font-size:clamp(26px,3.4vw,38px);margin:10px 0 14px}
.article-head .meta{font-size:13.5px;color:var(--ink-300)}
.article-body{font-size:16.5px;color:var(--ink-700);line-height:1.9}
.article-body h2{font-size:22px;margin:30px 0 12px}
.article-body h3{font-size:18px;margin:22px 0 10px}
.article-body p{margin:0 0 16px}
.article-body ul{margin:0 0 16px;padding-left:22px}
.article-body ul li{margin-bottom:8px}
.article-body blockquote{margin:20px 0;padding:16px 20px;border-left:3px solid var(--gold-500);background:var(--gold-100);border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--ink-700)}
.article-nav{display:flex;justify-content:space-between;gap:16px;margin:36px 0;flex-wrap:wrap}
.article-nav a{flex:1;min-width:220px;background:var(--bg-soft);border:1px solid var(--line-soft);border-radius:var(--r-md);padding:16px 18px;font-size:14px;color:var(--ink-700)}
.article-nav a:hover{border-color:var(--navy-500);color:var(--navy-700)}