/* ==========================================================
   宋文舟律师个人网站 - 样式文件（一般不需要修改这个文件）
   ========================================================== */
:root {
  --navy: #16243d;
  --navy-deep: #0e1830;
  --gold: #c9a45c;
  --gold-light: #e3c98f;
  --text: #333;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

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

/* ---- 顶部导航 ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 24, 48, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.35);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px; flex-wrap: wrap;
}
.logo { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 15px; padding: 6px 12px; border-radius: 4px;
  transition: all .2s;
}
.nav a:hover { color: var(--gold); }
.header-phone {
  color: var(--gold); text-decoration: none; font-weight: 700;
  font-size: 16px; white-space: nowrap;
}

/* ---- 首屏 ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #24395e 100%);
  color: #fff; text-align: center; padding: 90px 20px 100px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(201,164,92,.25);
}
.hero-firm { color: var(--gold-light); letter-spacing: 4px; font-size: 15px; margin-bottom: 14px; }
.hero-name { font-size: 42px; letter-spacing: 6px; margin-bottom: 16px; }
.hero-tagline { color: rgba(255,255,255,.8); font-size: 17px; max-width: 640px; margin: 0 auto 34px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 34px; border-radius: 4px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: all .2s; letter-spacing: 1px;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- 通用板块 ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-deep); color: #fff; }
.section-title {
  text-align: center; font-size: 30px; color: var(--navy);
  letter-spacing: 3px; margin-bottom: 8px;
}
.section-title.light { color: #fff; }
.section-title::after {
  content: ""; display: block; width: 46px; height: 3px;
  background: var(--gold); margin: 14px auto 0; border-radius: 2px;
}
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 44px; }

/* ---- 律师介绍 ---- */
.about-card {
  display: flex; gap: 44px; align-items: flex-start;
  background: #fff; border: 1px solid #eee; border-radius: 8px;
  padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.about-avatar { text-align: center; flex-shrink: 0; }
.avatar-circle {
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2c4674);
  color: var(--gold); font-size: 52px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; border: 3px solid var(--gold);
}
.avatar-caption { color: var(--text-light); font-size: 14px; }
.about-text p { margin-bottom: 14px; text-align: justify; }
.stats { display: flex; gap: 36px; margin-top: 26px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-size: 30px; font-weight: 700; color: var(--navy); }
.stat-num span { color: var(--gold); font-size: 18px; }
.stat-label { color: var(--text-light); font-size: 13px; }

/* ---- 业务范围 ---- */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
  background: #fff; border-radius: 8px; padding: 30px 24px;
  text-align: center; border: 1px solid #e8e8e8;
  transition: all .25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(22,36,61,.12);
  border-color: var(--gold);
}
.service-icon { font-size: 34px; margin-bottom: 12px; }
.service-name { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--text-light); }

/* ---- 收费 ---- */
.fee-card {
  background: #fff; border-radius: 8px; padding: 36px 30px;
  border-top: 4px solid var(--gold); box-shadow: 0 4px 18px rgba(0,0,0,.06);
}
.fee-tag {
  display: inline-block; background: var(--navy); color: #fff;
  font-size: 14px; padding: 4px 16px; border-radius: 20px; margin-bottom: 14px;
}
.fee-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.fee-desc { color: var(--text-light); font-size: 15px; }

/* ---- 联系 ---- */
.contact-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,164,92,.4);
  border-radius: 10px; padding: 44px 30px;
}
.contact-name { font-size: 24px; color: var(--gold-light); margin-bottom: 20px; letter-spacing: 2px; }
.contact-row {
  display: flex; justify-content: center; gap: 10px;
  padding: 8px 0; font-size: 16px; flex-wrap: wrap;
}
.contact-row .label { color: rgba(255,255,255,.55); }
.contact-big {
  margin-top: 22px; font-size: 26px; color: var(--gold);
  font-weight: 700; letter-spacing: 1px;
}
.contact-big a { color: inherit; text-decoration: none; }

/* ---- 页脚 ---- */
.site-footer {
  background: #0a1224; color: rgba(255,255,255,.5);
  text-align: center; padding: 26px 20px; font-size: 14px;
}
.footer-icp { margin-top: 6px; font-size: 13px; }
.footer-icp a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ---- 移动端适配 ---- */
@media (max-width: 820px) {
  .grid, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .about-card { flex-direction: column; align-items: center; text-align: left; }
  .hero-name { font-size: 32px; letter-spacing: 3px; }
}
@media (max-width: 520px) {
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero { padding: 60px 16px 70px; }
}
