/* 律师个人网站 - 全站样式 */
:root {
  --blue-deep: #14418f;
  --blue-mid: #1f5bb5;
  --gold: #c8a45c;
  --ink: #22303f;
  --ink-soft: #55636f;
  --bg: #f6f7f9;
  --card: #ffffff;
  --line: #e3e7ec;
}

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

body {
  font-family: "Songti SC", "Noto Serif SC", "SimSun", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
}

a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--blue-deep); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue-deep);
  letter-spacing: 1px;
}
.brand small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: normal; letter-spacing: 2px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--ink); font-size: 15px; }
.site-nav a:hover, .site-nav a.active { color: var(--blue-deep); font-weight: bold; }

/* 首屏 */
.hero {
  background: linear-gradient(135deg, #0f2f66 0%, #14418f 60%, #1f5bb5 100%);
  color: #ffffff;
  padding: 72px 0 64px;
}
.hero h1 { font-size: 34px; line-height: 1.5; letter-spacing: 1px; }
.hero p.sub { margin-top: 16px; font-size: 18px; color: #d9e4f5; max-width: 720px; }
.hero .cta { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 1px;
}
.btn-primary { background: var(--gold); color: #2b2410; font-weight: bold; }
.btn-primary:hover { background: #d8b571; color: #2b2410; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.7); color: #ffffff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #ffffff; }

/* 区块 */
.section { padding: 56px 0; }
.section-title { font-size: 24px; color: var(--blue-deep); margin-bottom: 8px; letter-spacing: 1px; }
.section-desc { color: var(--ink-soft); margin-bottom: 28px; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
}
.card h3 { font-size: 18px; color: var(--blue-deep); margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .more { display: inline-block; margin-top: 14px; font-size: 14px; }

/* 列表 */
.list-tick { list-style: none; }
.list-tick li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.list-tick li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 10px; height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* 文章页 */
.article-body { background: #ffffff; border: 1px solid var(--line); border-radius: 8px; padding: 40px 48px; }
.article-body h2 { font-size: 20px; color: var(--blue-deep); margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--gold); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin-bottom: 14px; text-indent: 2em; }
.article-body ul, .article-body ol { margin: 0 0 14px 2em; }
.article-body li { margin-bottom: 8px; }
.article-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.faq dt { font-weight: bold; color: var(--blue-deep); margin-top: 18px; }
.faq dd { margin-left: 0; color: var(--ink-soft); text-indent: 0; }

/* 提示框 */
.notice {
  background: #fdf6e8;
  border: 1px solid #ecd9ad;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 15px;
  color: #6b5a2a;
  margin: 20px 0;
}

/* 待补充占位高亮 */
.todo {
  background: #fff3cd;
  border-bottom: 1px dashed #c8a45c;
  padding: 0 4px;
  color: #8a6d1a;
}

/* 表格 */
.table-wrap { overflow-x: auto; }
table.info { width: 100%; border-collapse: collapse; background: #ffffff; }
table.info th, table.info td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; font-size: 15px; }
table.info th { background: #eef2f8; color: var(--blue-deep); white-space: nowrap; }

/* 页脚 */
.site-footer { background: #14243c; color: #b8c4d6; padding: 40px 0 28px; margin-top: 56px; font-size: 14px; }
.site-footer a { color: #d9e4f5; }
.site-footer .footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer .disclaimer { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; line-height: 1.8; }

@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .site-header .container { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .article-body { padding: 24px 20px; }
}

/* 文末作者框 */
.author-box {
  margin-top: 32px;
  background: #f4f7fc;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  padding: 26px 30px;
}
.author-box h2 {
  font-size: 18px;
  color: var(--blue-deep);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
}
.author-box p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.9;
}
.author-box .author-contact {
  border-top: 1px dashed #c5d3e6;
  padding-top: 12px;
  margin-top: 14px;
  color: var(--ink-soft);
}
.author-box .author-contact strong { color: var(--blue-deep); font-size: 16px; }
