/* ============================================
   向银律师的博客 - v4 专业律所风格
   配色：深海军蓝 + 暖金色
   灵感来源：君合、中伦等顶级律所官网
   ============================================ */

:root {
  /* 主色 */
  --navy: #1b2a4a;
  --navy-dark: #0f1d38;
  --navy-light: #2c3f64;
  --navy-muted: #3a5078;
  --gold: #b8944b;
  --gold-light: #d4b06a;
  --gold-pale: #f5e6c8;
  --gold-dark: #8a6e32;

  /* 背景 */
  --bg: #f8f7f4;
  --bg-alt: #f0eeea;
  --bg-card: #ffffff;
  --bg-white: #ffffff;
  --bg-warm: #f5f3ef;
  --bg-code: #1e1e2e;

  /* 文字 */
  --text: #1e1e1e;
  --text-light: #4a4a4a;
  --text-muted: #8b8b8b;
  --text-white: #f0ece4;

  /* 边框与分割 */
  --border: #e8e4de;
  --border-light: #f0ede8;

  /* 标签 */
  --tag-bg: #f0ece4;
  --tag-text: #8a7a5a;

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(27,42,74,0.06);
  --shadow: 0 2px 8px rgba(27,42,74,0.08);
  --shadow-hover: 0 8px 28px rgba(27,42,74,0.12);
  --shadow-lg: 0 12px 40px rgba(27,42,74,0.15);

  /* 字体 */
  --font-serif: 'Georgia','Songti SC','STSong','Noto Serif CJK SC',serif;
  --font-sans: -apple-system,'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif;
  --font-mono: 'SF Mono','Menlo',Consolas,monospace;
  --font-en: 'Georgia','Palatino','Times New Roman',serif;

  /* 尺寸 */
  --header-h: 68px;
  --max-w: 1160px;

  /* 旧变量别名（兼容HTML内联） */
  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --accent-light: var(--gold-pale);
  --primary: var(--navy);
  --primary-dark: var(--navy-dark);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-pale); color: var(--navy-dark); }
a { color: var(--navy-light); text-decoration: none; transition: all .25s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ===== 导航 ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  height: 100%; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans);
  font-size: 19px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.3px;
}
.logo .logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.logo .logo-mark img { width: 36px; height: 36px; display: block; }
.logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 10px; color: var(--text-muted);
  font-weight: 400; letter-spacing: 0.8px;
  display: block; line-height: 1.2; text-transform: uppercase;
}

.nav-menu {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
}
.nav-menu a {
  padding: 8px 18px;
  font-size: 14.5px; color: var(--text-light);
  border-radius: 6px; transition: all .25s;
  font-weight: 500; letter-spacing: 0.3px;
}
.nav-menu a:hover { color: var(--navy); background: var(--bg-alt); }
.nav-menu a.active { color: var(--gold); background: var(--gold-pale); font-weight: 600; }

.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; font-size: 22px; color: var(--navy);
  width: 40px; height: 40px; border-radius: 8px;
  transition: background .2s;
}
.menu-toggle:hover { background: var(--bg-alt); }

/* ===== 主布局 ===== */
.main { padding-top: var(--header-h); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header .label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); font-weight: 600;
  margin-bottom: 8px; text-transform: uppercase;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.section-header p {
  font-size: 16px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto;
}

/* ===== Hero ===== */
.hero {
  position: relative; padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,75,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,75,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 2; max-width: 720px; margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(184,148,75,0.12);
  border: 1px solid rgba(184,148,75,0.25);
  border-radius: 50px;
  font-size: 13px; color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 700;
  color: #fff; line-height: 1.3; margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 .accent { color: var(--gold-light); }
.hero .tagline {
  font-size: 18px; line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 统计数据 ===== */
.stats-row {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; padding: 48px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.stat-item .num .suffix { color: var(--gold); font-size: 28px; }
.stat-item .label {
  font-size: 14px; color: var(--text-muted);
  margin-top: 4px; letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border);
}

/* ===== 宣言区 ===== */
.manifesto {
  text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.manifesto .quote-mark {
  font-family: var(--font-serif);
  font-size: 72px; line-height: 1;
  color: var(--gold); opacity: 0.3;
  margin-bottom: -24px;
}
.manifesto blockquote {
  font-family: var(--font-serif);
  font-size: 24px; line-height: 2;
  color: var(--text-light);
  border: none;
  quotes: '\201C' '\201D';
}
.manifesto .attribution {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 15px; color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== 精选文章卡片 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.article-cover {
  height: 180px;
  display: flex; align-items: flex-end; padding: 20px;
  position: relative;
}
.article-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35) 100%);
}
.cover-tag {
  position: relative; z-index: 2;
  display: inline-block; padding: 5px 14px;
  background: rgba(27,42,74,0.85);
  color: var(--gold-light);
  border-radius: 4px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px;
}
.article-body { padding: 24px 24px 26px; }
.article-body h3 {
  font-size: 19px; font-weight: 700; color: var(--navy);
  line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .25s;
}
.article-card:hover .article-body h3 { color: var(--gold-dark); }
.article-body p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag {
  display: inline-block; padding: 4px 12px;
  background: var(--tag-bg); color: var(--tag-text);
  border-radius: 4px; font-size: 12px; cursor: pointer;
  transition: all .2s;
}
.tag:hover { background: var(--gold-pale); color: var(--gold-dark); }
.tag.gold { background: var(--gold-pale); color: var(--gold-dark); }
.tag.active { background: var(--navy); color: var(--gold-light); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  font-size: 13px; color: var(--text-muted);
}
.article-meta .dot { margin: 0 4px; }
.article-views { color: var(--text-muted); margin-left: 8px; font-size: 12px; }

/* ===== 业绩展示 ===== */
.cases-grid {
  display: grid; gap: 16px; max-width: 860px; margin: 0 auto;
}
.case-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
}
.case-item:hover { box-shadow: var(--shadow); border-color: var(--gold-pale); }
.case-num {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 50%; background: var(--gold-pale); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; font-family: var(--font-serif);
}
.case-num-criminal {
  background: var(--navy); color: var(--gold-light);
  font-size: 22px; font-family: var(--font-sans);
}
.case-content { flex: 1; min-width: 0; }
.case-content h3 {
  font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.5;
}
.case-content p {
  font-size: 14.5px; color: var(--text-muted); line-height: 1.7;
}
.case-content .result-tag {
  display: inline-block; margin-bottom: 8px;
  padding: 2px 12px; background: var(--gold-pale); color: var(--gold-dark);
  border-radius: 12px; font-size: 12px; font-weight: 600;
}

/* ===== 作品展示区 ===== */
.works-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.work-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.work-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.work-card .work-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.work-card .work-icon { font-size: 32px; }
.work-card .work-count {
  font-size: 13px; color: var(--text-muted);
  background: var(--bg-alt); padding: 4px 14px; border-radius: 20px;
}
.work-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.work-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }
.work-card .work-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.work-card .work-tags span {
  padding: 2px 10px; background: var(--tag-bg);
  border-radius: 4px; font-size: 12px; color: var(--tag-text);
}

/* ===== 信条 ===== */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.value-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.value-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.value-card .v-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.value-card h3 {
  font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.value-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===== 关于作者卡片 ===== */
.author-showcase {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 48px; align-items: center;
  background: var(--bg-card); padding: 48px 52px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.author-showcase .avatar-wrap {
  text-align: center;
}
.author-showcase .avatar-wrap img {
  width: 180px; height: 180px; border-radius: 50%; margin: 0 auto;
  box-shadow: 0 8px 32px rgba(27,42,74,0.2);
  border: 4px solid var(--gold-pale);
}
.author-showcase .author-body { }
.author-showcase .author-label {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); font-weight: 600;
  margin-bottom: 10px; text-transform: uppercase;
}
.author-showcase h2 {
  font-family: var(--font-serif); font-size: clamp(24px, 3vw, 30px);
  color: var(--navy); margin-bottom: 12px;
}
.author-showcase p {
  color: var(--text-muted); font-size: 17px; line-height: 2;
}
.author-showcase .btn-row {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .3s; border: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--navy); color: #fff;
}
.btn-primary:hover { background: var(--navy-light); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold {
  background: var(--gold); color: #fff;
}
.btn-gold:hover { background: var(--gold-light); color: #fff; transform: translateY(-1px); }
.btn-outline-dark {
  border: 2px solid var(--navy); color: var(--navy); background: transparent;
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.4); color: #fff; background: transparent;
}
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(184,148,75,0.1); }
.btn-gold-outline {
  border: 2px solid var(--gold); color: var(--gold); background: transparent;
}
.btn-gold-outline:hover { background: var(--gold); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== 页头横幅 ===== */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0 56px; text-align: center;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,75,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 700;
  color: #fff; position: relative; z-index: 2;
}
.page-banner p {
  color: rgba(255,255,255,0.65); font-size: 16px;
  margin-top: 10px; position: relative; z-index: 2;
}

/* ===== 文章详情 ===== */
.article-detail {
  max-width: 780px; margin: 40px auto 0; padding: 0 32px 60px;
}
.article-detail-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.article-detail-header { margin-bottom: 36px; }
.article-detail-header h1 {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700;
  color: var(--navy); line-height: 1.4; margin: 18px 0;
}
.article-detail-header .meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 14px; color: var(--text-muted);
}
.article-footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.back-link { font-size: 14px; color: var(--text-muted); }
.back-link:hover { color: var(--gold); }
.related { margin-top: 48px; }
.related h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.related-card {
  display: block; border-radius: 10px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
  transition: all .25s; text-decoration: none;
}
.related-card:hover { background: var(--bg-card); box-shadow: var(--shadow); border-color: var(--gold-pale); }
.related-card-cover {
  height: 100px; position: relative;
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: 12px;
}
.related-card-tag {
  font-size: 11px; background: rgba(255,255,255,.9); color: var(--navy);
  padding: 3px 10px; border-radius: 20px; font-weight: 600;
}
.rec-reason {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 10px; z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.rec-reason-inline {
  display: inline-block;
  background: var(--gold-pale, #f3e9d6); color: var(--gold-dark, #8a6d2f);
  font-size: 11px; font-weight: 600;
  padding: 1px 7px; border-radius: 10px; margin-right: 6px;
}
.related-card-body { padding: 14px 16px; }
.related-card-body h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.5; }
.related-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.related-card-body span { font-size: 12px; color: var(--text-muted); }

/* ===== 热门文章排行 ===== */
.popular-section-wrap { margin-bottom: 36px; }
.popular-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.popular-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.popular-header h3 { font-size: 18px; font-weight: 700; color: var(--navy); }
.popular-sub { font-size: 13px; color: var(--text-muted); }
.popular-list { display: grid; gap: 8px; }
.popular-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--bg); border: 1px solid transparent;
  text-decoration: none; transition: all .2s;
  position: relative; overflow: hidden;
}
.popular-item:hover { background: var(--bg-card); border-color: var(--gold-pale); }
.popular-rank {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  background: var(--bg); flex-shrink: 0;
  position: relative; z-index: 1;
}
.popular-rank.rank-top {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
}
.popular-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.popular-title { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popular-meta { display: block; font-size: 12px; color: var(--text-muted); }
.popular-bar-wrap {
  position: absolute; left: 0; top: 0; bottom: 0;
  pointer-events: none;
}
.popular-bar {
  height: 100%; background: var(--gold-pale);
  opacity: .15; border-radius: 8px;
  transition: width .6s ease;
}
@media (max-width: 768px) {
  .popular-section { padding: 16px; }
  .popular-title { font-size: 13px; }
  .popular-item { padding: 8px 12px; }
  .related-card-cover { height: 70px; }
}

/* ===== Markdown 渲染 ===== */
.markdown-body { font-size: 16px; line-height: 2; color: var(--text); }
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  color: var(--navy); margin: 36px 0 18px;
}
.markdown-body h1 { font-size: 26px; border-bottom: 2px solid var(--gold-pale); padding-bottom: 10px; }
.markdown-body h2 { font-size: 22px; padding-left: 12px; border-left: 3px solid var(--gold); }
.markdown-body h3 { font-size: 18px; }
.markdown-body p { margin: 18px 0; }
.markdown-body ul, .markdown-body ol { margin: 14px 0; padding-left: 26px; }
.markdown-body li { margin: 6px 0; }
.markdown-body blockquote {
  margin: 24px 0; padding: 18px 26px;
  background: var(--bg); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
}
.markdown-body strong { color: var(--navy); }
.markdown-body code {
  padding: 2px 6px; background: var(--bg-alt);
  border-radius: 4px; font-family: var(--font-mono); font-size: 14px; color: var(--navy);
}
.markdown-body pre {
  margin: 24px 0; padding: 24px;
  background: var(--bg-code); color: #cdd6f4;
  border-radius: var(--radius-sm); overflow-x: auto;
}
.markdown-body pre code { background: none; padding: 0; color: inherit; }
.markdown-body table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
}
.markdown-body th, .markdown-body td {
  padding: 12px 16px; border: 1px solid var(--border);
  text-align: left; font-size: 14px;
}
.markdown-body th { background: var(--bg-alt); font-weight: 600; color: var(--navy); }
.markdown-body a { color: var(--navy-light); }
.markdown-body a:hover { color: var(--gold); text-decoration: underline; }

/* ===== 搜索框 ===== */
.search-box {
  margin-bottom: 32px; position: relative;
  max-width: 640px;
}
.search-box .search-wrap {
  position: relative; display: flex; align-items: center;
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 50px; overflow: hidden; transition: all .3s;
}
.search-box .search-wrap:focus-within {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,148,75,0.1);
}
.search-box .search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--text-muted); pointer-events: none; transition: color .2s;
}
.search-box .search-wrap:focus-within .search-icon { color: var(--gold); }
.search-box input {
  width: 100%; padding: 14px 48px 14px 48px; border: none;
  font-size: 16px; background: transparent; outline: none;
  color: var(--text);
}
.search-box input::placeholder { color: #bbb; }
.search-box .search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: none; background: var(--bg-alt);
  border-radius: 50%; cursor: pointer; display: none; align-items: center;
  justify-content: center; font-size: 14px; color: var(--text-muted);
  transition: all .2s;
}
.search-box .search-clear:hover { background: var(--gold-pale); color: var(--gold-dark); }
.search-box .search-clear.visible { display: flex; }
.search-result-info {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 0 4px;
  font-size: 14px; color: var(--text-muted);
}
.search-result-info .count { font-weight: 700; color: var(--gold-dark); }
.search-hint {
  font-size: 12px; color: var(--text-muted); margin-top: 8px;
  display: flex; align-items: center; gap: 4px;
}
.search-hint kbd {
  display: inline-block; padding: 1px 6px; background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: 3px;
  font-family: inherit; font-size: 11px;
}

/* ===== 标签筛选 ===== */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px;
}
.filter-label { font-size: 14px; color: var(--text-muted); margin-right: 4px; }

/* ===== 评论 ===== */
.comments-section {
  margin-top: 60px; padding-top: 44px; border-top: 1px solid var(--border);
}
.comments-section .cmt-title {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.comments-section .cmt-title h3 {
  font-size: 20px; font-weight: 700; color: var(--navy); margin: 0;
}
.comments-section .cmt-count {
  font-size: 13px; color: var(--text-muted);
  background: var(--bg-alt); padding: 2px 14px; border-radius: 20px;
}
.comment-item {
  display: flex; gap: 16px; padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.comment-item:last-child { border-bottom: none; }
.comment-item .cmt-avatar {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 6px rgba(27,42,74,0.1);
}
.comment-item:nth-child(2n) .cmt-avatar { background: var(--navy-light); }
.comment-item:nth-child(3n) .cmt-avatar { background: var(--gold-dark); }
.comment-item:nth-child(4n) .cmt-avatar { background: var(--navy-muted); }
.comment-item .cmt-main { flex: 1; min-width: 0; }
.comment-item .cmt-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.comment-item .cmt-name {
  font-weight: 700; font-size: 15px; color: var(--navy);
}
.comment-item .cmt-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.comment-item .cmt-body {
  font-size: 15px; line-height: 1.7; color: var(--text);
  word-break: break-word;
}
.cmt-empty {
  text-align: center; padding: 48px 20px;
  color: var(--text-muted);
}
.cmt-empty .cmt-empty-icon { font-size: 36px; margin-bottom: 12px; display: block; }

.comment-form {
  margin-top: 36px; padding: 28px;
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comment-form h4 {
  font-size: 16px; font-weight: 700; color: var(--navy);
  margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.comment-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 14px;
}
.comment-form input, .comment-form textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px;
  font-family: inherit; outline: none; transition: border-color .3s, box-shadow .3s;
  background: var(--bg-card);
}
.comment-form input:focus, .comment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,148,75,0.08);
}
.comment-form textarea { min-height: 100px; resize: vertical; }
.comment-form .form-footer {
  display: flex; justify-content: space-between; align-items: center; margin-top: 14px;
}
.comment-form .char-count { font-size: 12px; color: var(--text-muted); }
.comment-form .cmt-submit {
  background: var(--navy); color: #fff; border: none;
  padding: 10px 28px; border-radius: 6px; font-size: 15px;
  cursor: pointer; transition: all .3s; font-weight: 600;
}
.comment-form .cmt-submit:hover { background: var(--navy-light); transform: translateY(-1px); }
.comment-form .cmt-submit:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--navy-dark);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand .logo {
  color: #fff;
}
.footer-brand .logo .logo-mark { background: var(--gold); }
.footer-brand .logo .logo-mark img { filter: none; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin-top: 14px; line-height: 1.7;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; color: var(--gold-light);
  margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 16px;
  color: #e8eef7;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--gold-light);
  background: rgba(184,148,75,0.16);
  border-color: var(--gold);
  text-decoration: underline;
}

/* ===== 标签云 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-lg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; cursor: pointer; transition: all .25s;
  font-size: 15px; color: var(--text-light);
}
.tag-lg:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-pale); }
.tag-lg .count { font-size: 12px; color: var(--text-muted); }

/* ===== 业务领域 ===== */
.practice-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.practice-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.practice-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.practice-card .p-icon { font-size: 32px; margin-bottom: 16px; }
.practice-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.practice-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

/* ===== 关于页 ===== */
.story-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0 64px;
  position: relative; overflow: hidden;
}
.story-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,75,0.06) 0%, transparent 60%);
}
.story-hero-inner {
  display: flex; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.story-hero-inner img {
  width: 180px; height: 180px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 4px solid rgba(184,148,75,0.3);
}
.story-hero-text h1 {
  font-family: var(--font-serif);
  font-size: 40px; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}
.story-hero-text .title-line {
  font-size: 16px; color: var(--gold-light);
  margin-bottom: 16px; letter-spacing: 0.5px;
}
.story-hero-text .bio {
  font-size: 17px; line-height: 1.9;
  color: rgba(255,255,255,0.7);
}
.story-section {
  padding: 72px 0;
}
.story-section h2 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700;
  color: var(--navy); margin-bottom: 24px;
}
.story-section p {
  font-size: 16px; line-height: 2;
  color: var(--text-light); margin-bottom: 16px;
}
.story-label {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 3px;
  color: var(--gold); font-weight: 600;
  margin-bottom: 8px; text-transform: uppercase;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.story-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all .25s;
}
.story-card:hover { box-shadow: var(--shadow); border-color: var(--gold-pale); }
.story-card .s-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.story-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.story-card p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.story-card .s-meta {
  font-size: 13px; color: var(--gold-dark);
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ===== 时间线 ===== */
.timeline { position: relative; padding-left: 36px; margin-top: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 6px; bottom: 0;
  width: 2px; background: var(--gold-pale);
}
.timeline-item {
  position: relative; padding-bottom: 40px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .year {
  font-size: 18px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.timeline-item .desc {
  font-size: 15px; color: var(--text-muted); line-height: 1.8;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px; margin-top: 36px;
}
.credential-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 24px 20px; text-align: center;
  transition: all .25s;
}
.credential-card:hover { box-shadow: var(--shadow); border-color: var(--gold-pale); }
.credential-card .cred-icon { font-size: 28px; margin-bottom: 8px; }
.credential-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.credential-card p { font-size: 13px; color: var(--text-muted); }

/* ===== 联系页 ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
.contact-form-wrap p {
  color: var(--text-muted); font-size: 14px; margin-bottom: 28px; line-height: 1.7;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--text-light); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px;
  font-family: inherit; outline: none; transition: all .3s;
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,148,75,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.phone-link, .email-link { font-weight: 600; color: var(--gold-dark); }
.phone-link:hover, .email-link:hover { color: var(--gold); }

/* ===== 地图导航按钮 ===== */
.map-buttons {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px;
}
.map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all .3s;
  text-decoration: none;
}
.map-btn-amap {
  background: linear-gradient(135deg, #1a6dff, #0050e0);
  color: #fff;
}
.map-btn-amap:hover { background: linear-gradient(135deg, #3385ff, #1a6dff); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,109,255,0.3); }
.map-btn-bmap {
  background: linear-gradient(135deg, #3388ff, #2266dd);
  color: #fff;
}
.map-btn-bmap:hover { background: linear-gradient(135deg, #4d9aff, #3388ff); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(51,136,255,0.3); }
.map-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== 联系CTA大色块 ===== */
.contact-prominent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff; padding: 72px 0; text-align: center;
  position: relative; overflow: hidden;
}
.contact-prominent::before {
  content: '';
  position: absolute; top: -40%; left: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,75,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.contact-prominent h2 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; margin-bottom: 10px;
  position: relative; z-index: 2;
}
.contact-prominent p {
  font-size: 16px; opacity: .65; position: relative; z-index: 2;
}
.contact-cta-row {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 36px; flex-wrap: wrap; position: relative; z-index: 2;
}
.cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 180px;
  backdrop-filter: blur(8px);
  transition: all .3s;
}
.cta-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(184,148,75,0.3); }
.cta-card .cta-label {
  font-size: 12px; color: var(--gold-light);
  margin-bottom: 6px; letter-spacing: 0.5px;
}
.cta-card .cta-value {
  font-size: 18px; font-weight: 600;
}
.cta-card .cta-value a { color: #fff; }
.cta-card .cta-value a:hover { color: var(--gold-light); }

/* ===== 空状态 ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .emoji { font-size: 48px; margin-bottom: 16px; display: block; }

/* ===== 管理后台 ===== */
.admin-container { max-width: 800px; margin: 60px auto; padding: 0 20px; }
.admin-login-box {
  max-width: 400px; margin: 100px auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.admin-login-box h2 { text-align: center; margin-bottom: 24px; color: var(--navy); }
.admin-login-box input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 16px; margin-bottom: 16px; outline: none;
}
.admin-login-box input:focus { border-color: var(--gold); }
.admin-login-box button {
  width: 100%; padding: 12px; background: var(--navy); color: #fff;
  border: none; border-radius: var(--radius-sm); font-size: 16px; cursor: pointer;
  transition: background .3s;
}
.admin-login-box button:hover { background: var(--navy-light); }
.admin-editor input, .admin-editor textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 12px;
  font-family: inherit; outline: none;
}
.admin-editor input:focus, .admin-editor textarea:focus { border-color: var(--gold); }
.admin-editor textarea { min-height: 200px; resize: vertical; }
.admin-editor label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 14px; color: var(--text-light); }
.admin-editor .btn-row { display: flex; gap: 12px; margin-top: 20px; }
.admin-note {
  text-align: center; padding: 12px; margin-top: 16px;
  background: var(--gold-pale); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--gold-dark);
}

/* ===== 业务领域流程步骤 ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  text-align: center; padding: 40px 24px;
  background: var(--bg-card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: all .3s;
}
.process-step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; margin: 0 auto 18px;
  font-family: var(--font-serif);
}
.process-step h4 {
  font-family: var(--font-serif);
  color: var(--navy); font-size: 18px; margin-bottom: 10px;
}
.process-step p { font-size: 14px; color: var(--text-muted); }

/* ===== 咨询须知卡片 ===== */
.notice-card {
  padding: 28px;
  background: var(--bg-card); border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.notice-card h4 {
  font-family: var(--font-serif);
  color: var(--navy); font-size: 18px; margin-bottom: 10px;
}
.notice-card p {
  font-size: 15px; color: var(--text-muted); line-height: 1.8;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 16px; }
  .markdown-body { font-size: 15px; }
  .works-showcase { grid-template-columns: 1fr; }
  .author-showcase { grid-template-columns: 1fr; text-align: center; }
  .author-showcase .btn-row { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .story-hero-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .site-header { background: #fff; }
  .nav-overlay {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27,42,74,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
  }
  .nav-overlay.open { display: block; }
  .nav-menu {
    display: none; position: fixed; top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column; padding: 20px;
    z-index: 1001;
    overflow-y: auto; max-height: calc(100vh - var(--header-h));
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 14px 20px; font-size: 17px; width: 100%; border-radius: 8px; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 28px; }
  .hero .stats { gap: 24px; }
  .section { padding: 56px 0; }
  .article-detail-wrap { padding: 28px; }
  .article-detail-header h1 { font-size: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .works-showcase { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .admin-container { margin: 30px auto; }
  .stats-row { gap: 24px; }
  .stat-item .num { font-size: 28px; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .page-banner { padding: 56px 0 40px; }
  .page-banner h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 24px; }
  .hero .tagline { font-size: 15px; }
  .hero .stats .stat .num { font-size: 24px; }
  .hero .stats { gap: 16px; }
  .hero-badge { font-size: 12px; padding: 4px 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .section-header h2 { font-size: 24px; }
  .page-banner { padding: 48px 0 32px; }
  .page-banner h1 { font-size: 24px; }
  .article-card { border-radius: var(--radius); }
  .article-cover { height: 140px; }
  .article-body { padding: 18px; }
  .article-body h3 { font-size: 16px; }
  .article-detail { padding: 0 16px 40px; }
  .article-detail-wrap { padding: 20px; border-radius: var(--radius); }
  .article-detail-header h1 { font-size: 20px; }
  .article-detail { margin-top: 24px; }
  .markdown-body { font-size: 15px; }
  .markdown-body h1 { font-size: 22px; }
  .markdown-body h2 { font-size: 18px; }
  .markdown-body pre { padding: 16px; font-size: 13px; }
  .manifesto blockquote { font-size: 18px; }
  .tag-lg { padding: 8px 18px; font-size: 13px; }
  .search-box input { font-size: 15px; padding: 12px 40px 12px 44px; }
  .comment-item { padding: 16px 0; }
  .comment-form { padding: 20px; }
  .comment-form .form-row { grid-template-columns: 1fr; }
  .contact-prominent { padding: 48px 0; }
  .contact-prominent h2 { font-size: 22px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; gap: 16px; padding: 32px 0; }
  .stat-divider { display: none; }
  .cta-card { padding: 16px 20px; min-width: 140px; }
  .cta-card .cta-value { font-size: 16px; }
  .author-showcase { padding: 32px 24px; }
  .author-showcase .avatar-wrap img { width: 140px; height: 140px; }
  .contact-wrap { gap: 24px; }
  .contact-form-wrap { padding: 24px; }
  .story-hero { padding: 48px 0 40px; }
  .story-hero-inner img { width: 140px; height: 140px; }
  .story-hero-text h1 { font-size: 30px; }
  .process-steps { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 32px; }
  .notice-card { padding: 20px; }
}

/* ===== 联系页微信卡片 ===== */
.wechat-card {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
  border: 2px solid #1aad19;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px rgba(26, 173, 25, 0.08);
}
.wechat-card-qr {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  padding: 6px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wechat-card-qr img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
}
.wechat-card-text { flex: 1; min-width: 0; }
.wechat-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1aad19;
  margin-bottom: 8px;
}
.wechat-card-desc {
  font-size: 15px;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 6px;
}
.wechat-card-hint {
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .wechat-card { flex-direction: column; text-align: center; padding: 20px; }
  .wechat-card-qr { width: 160px; height: 160px; }
}

/* ===== 全站悬浮微信按钮 ===== */
#wechat-float {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 90;
}
.wechat-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1aad19;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(26, 173, 25, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.wechat-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(26, 173, 25, 0.55);
}
.wechat-float-btn svg { display: block; }
#wechat-float.open .wechat-float-btn { background: #129911; }

.wechat-float-popup {
  position: absolute;
  right: 72px;
  bottom: 0;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 16px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
}
#wechat-float.open .wechat-float-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.wechat-float-popup img {
  width: 188px;
  height: 188px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 6px;
}
.wechat-float-popup p {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
}
.wechat-float-popup span {
  font-size: 12px;
  color: var(--text-muted);
}
.wechat-float-arrow {
  position: absolute;
  right: -8px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  #wechat-float { right: 16px; bottom: 80px; }
  .wechat-float-btn { width: 50px; height: 50px; }
  .wechat-float-btn svg { width: 24px; height: 24px; }
  .wechat-float-popup { right: 66px; width: 200px; }
  .wechat-float-popup img { width: 168px; height: 168px; }
}

/* ==========================================
   电子名片模块
   ========================================== */
.business-card-single {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.business-card-thumb {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.business-card-thumb:hover,
.business-card-thumb:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.25);
  outline: none;
}
.business-card-thumb img {
  display: block;
  width: 100%;
}
.business-card-zoom {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(27, 42, 74, 0.78);
  color: #fff;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
  pointer-events: none;
}
.business-card-thumb:hover .business-card-zoom,
.business-card-thumb:focus-visible .business-card-zoom {
  opacity: 1;
}
.business-card-hint {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 名片放大弹窗 */
.card-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 29, 56, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.card-modal.active {
  display: flex;
}
.card-modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 92%;
}
.card-modal img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.card-save-btn {
  display: inline-block;
  background: var(--gold, #b8944b);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(184, 148, 75, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.card-save-btn:hover {
  transform: translateY(-2px);
  background: var(--gold-dark, #9c7d3e);
}
.card-modal-tip {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-align: center;
  margin: 0;
}
.card-modal-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 1;
}
.card-modal-close:hover { opacity: 1; }

/* ==========================================
   律所背书模块
   ========================================== */
.firm-endorsement {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.06);
}
.firm-intro {
  margin-bottom: 40px;
}
.firm-intro p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 16px;
}
.firm-intro strong {
  color: var(--navy);
  font-weight: 700;
}
.firm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  padding: 32px 0;
  border-top: 2px solid var(--border-light);
  border-bottom: 2px solid var(--border-light);
}
.firm-stat-item {
  text-align: center;
}
.firm-stat-num {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.firm-stat-num span {
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
}
.firm-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}
.firm-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
.firm-cities {
  margin-bottom: 36px;
}
.firm-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.city-tag {
  padding: 7px 18px;
  font-size: 14px;
  border-radius: 20px;
  background: rgba(27, 42, 74, 0.05);
  color: var(--text-body);
  border: 1px solid rgba(27, 42, 74, 0.08);
  transition: all 0.2s ease;
}
.city-tag:hover {
  background: rgba(27, 42, 74, 0.1);
}
.city-tag.city-active {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.25);
}
.firm-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-tag {
  padding: 7px 18px;
  font-size: 14px;
  border-radius: 8px;
  background: rgba(184, 148, 75, 0.08);
  color: var(--gold);
  border: 1px solid rgba(184, 148, 75, 0.2);
  font-weight: 500;
  transition: all 0.2s ease;
}
.area-tag:hover {
  background: rgba(184, 148, 75, 0.15);
}
.firm-website {
  text-align: center;
  margin-top: 36px;
}

/* ==========================================
   响应式
   ========================================== */
@media (max-width: 768px) {
  .business-card-single img {
    max-width: 100%;
  }
  .firm-endorsement {
    padding: 28px 20px;
    border-radius: 14px;
  }
  .firm-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .firm-stat-num {
    font-size: 34px;
  }
  .card-info-item {
    gap: 10px;
    padding: 14px 0;
  }
  .copy-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}
