/* 朱贵胜律师个人网站 - 样式 */
:root {
  --navy: #16324f;
  --navy-deep: #0e2338;
  --gold: #c9a25e;
  --gold-light: #e3c892;
  --ink: #2b3a4a;
  --muted: #6b7a89;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --line: #e3e8ee;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
}

h1, h2, h3, .brand-text { font-family: "Noto Serif SC", "STSong", "SimSun", serif; }

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

/* ---------- 导航 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14, 35, 56, 0.96);
  backdrop-filter: blur(6px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; font-family: serif;
}
.brand-text { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.2; }
.brand-text small { display: block; font-size: 11px; color: var(--gold-light); font-weight: 400; font-family: sans-serif; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: #d7e0e9; text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-light) !important;
  padding: 7px 18px; border-radius: 4px;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; }
.menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #1f4062 100%);
  color: #fff;
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "法"; position: absolute; right: -40px; bottom: -70px;
  font-size: 340px; font-family: serif; color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero-tag {
  color: var(--gold-light); letter-spacing: 4px; font-size: 14px;
  margin-bottom: 16px; border-left: 3px solid var(--gold); padding-left: 12px;
}
.hero h1 { font-size: 52px; letter-spacing: 6px; margin-bottom: 18px; }
.hero h1 span { font-size: 26px; color: var(--gold-light); margin-left: 10px; letter-spacing: 3px; }
.hero-sub { color: #b9c6d3; font-size: 16px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 4px;
  text-decoration: none; font-size: 15px; transition: all .2s;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 28px 30px;
}
.hero-card h3 {
  color: var(--gold-light); font-size: 18px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.hero-card ul { list-style: none; }
.hero-card li { padding: 6px 0; color: #dbe4ec; font-size: 15px; }
.hero-note { margin-top: 14px; font-size: 13px; color: #8fa3b5; }

/* ---------- 通用 section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head.left { text-align: left; margin-bottom: 24px; }
.section-eyebrow {
  color: var(--gold); font-size: 12px; letter-spacing: 5px; margin-bottom: 8px;
}
.section-head h2 { font-size: 32px; color: var(--navy); letter-spacing: 3px; }
.section-desc { color: var(--muted); margin-top: 12px; font-size: 15px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 专业领域卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 26px; transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(22,50,79,.10); border-color: var(--gold); }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2a5380);
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--muted); }

/* ---------- 案例 ---------- */
.case-card {
  background: #fff; border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 26px 28px;
  box-shadow: 0 3px 14px rgba(22,50,79,.06);
}
.case-tag {
  display: inline-block; background: var(--navy); color: var(--gold-light);
  font-size: 12px; padding: 3px 12px; border-radius: 20px; margin-bottom: 12px;
}
.case-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.case-card h3 a { color: inherit; text-decoration: none; }
.case-card h3 a:hover { color: var(--gold); }
.case-card p { font-size: 14px; color: var(--muted); }
.case-note { margin-top: 28px; font-size: 12px; color: #9aa8b5; text-align: center; }

/* ---------- 法律知识 ---------- */
.article-list { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin: 0 auto; }
.article-item {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 26px;
  transition: all .25s;
}
.article-item:hover { border-color: var(--gold); box-shadow: 0 8px 20px rgba(22,50,79,.08); }
.article-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--gold); margin-bottom: 8px; }
.article-meta time { color: #9aa8b5; }
.article-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.article-item p { font-size: 14px; color: var(--muted); }

/* ---------- 关于 ---------- */
.about-inner { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.photo-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 12px;
  background: linear-gradient(160deg, #dfe6ee, #c3cedb);
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-size: 15px; text-align: center; line-height: 2;
  border: 2px dashed #a9b8c9;
}
.photo-img {
  width: 100%; aspect-ratio: 5/7; object-fit: cover;
  border-radius: 12px; box-shadow: 0 16px 40px rgba(22,50,79,.18);
}
.about-text p { margin-bottom: 14px; font-size: 15px; }
.about-list { list-style: none; margin-top: 18px; }
.about-list li {
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px;
}
.about-list strong { color: var(--navy); }

/* ---------- 联系 ---------- */
.contact { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); }
.contact .section-head h2 { color: #fff; }
.contact .section-desc { color: #a7b8c8; }
.contact .section-eyebrow { color: var(--gold-light); }
.contact-grid { margin-top: 8px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 28px 24px; text-align: center; color: #d7e0e9;
}
.contact-card h3 { color: var(--gold-light); font-size: 17px; margin-bottom: 12px; }
.contact-value { font-size: 18px; color: #fff; font-weight: 600; margin-bottom: 10px; }
.contact-card p:last-child { font-size: 13px; color: #93a6b8; }
.qr-card .qr-img {
  width: 150px; max-width: 70%; border-radius: 8px;
  display: block; margin: 0 auto 14px;
  background: #fff; padding: 4px;
}

/* ---------- 案例详情页 ---------- */
.article-page { padding: 130px 0 70px; }
.article-page .container { max-width: 820px; }
.article-hero { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 3px solid var(--gold); }
.article-hero .case-tag { margin-bottom: 14px; }
.article-hero h1 { font-size: 30px; color: var(--navy); line-height: 1.5; letter-spacing: 1px; }
.article-hero p.lead { color: var(--muted); margin-top: 14px; font-size: 16px; }
.article-body h2 {
  font-size: 22px; color: var(--navy); margin: 38px 0 16px;
  padding-left: 14px; border-left: 4px solid var(--gold);
}
.article-body h3 { font-size: 17px; color: var(--navy); margin: 24px 0 10px; }
.article-body p { margin-bottom: 14px; font-size: 15.5px; }
.article-body ul, .article-body ol { margin: 0 0 14px 24px; font-size: 15.5px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--navy); }
.article-box {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: 20px 24px; margin: 22px 0;
}
.article-box h3 { margin-top: 0; }
.article-law {
  background: #f7f3ea; border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 22px 0; font-size: 14px;
}
.article-law strong { color: var(--navy); }
.article-disclaimer {
  margin-top: 40px; padding-top: 20px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: #9aa8b5;
}
.article-back {
  display: inline-block; margin-bottom: 26px; color: var(--navy);
  text-decoration: none; font-size: 14px;
}
.article-back:hover { color: var(--gold); }
.case-more {
  margin-top: 44px; background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 12px; padding: 30px 32px; color: #fff;
}
.case-more h3 { color: var(--gold-light); font-size: 19px; margin-bottom: 10px; }
.case-more p { color: #c3d0dc; font-size: 14px; margin-bottom: 16px; }

/* ---------- 法律问答页 ---------- */
.qa-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 24px; margin-bottom: 14px;
}
.qa-item .q {
  color: var(--navy); font-weight: 700; font-size: 16px;
  margin-bottom: 8px; padding-left: 34px; position: relative;
}
.qa-item .q::before {
  content: "问"; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--navy); color: var(--gold-light);
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.qa-item .a {
  color: var(--ink); font-size: 15px; padding-left: 34px; position: relative;
}
.qa-item .a::before {
  content: "答"; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--gold); color: var(--navy-deep);
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.qa-subhead {
  font-size: 15px; font-weight: 700; color: #8a6a2f;
  margin: 30px 0 14px; padding-left: 12px;
  border-left: 3px solid var(--gold); letter-spacing: .4px;
}
.qa-subhead:first-child { margin-top: 0; }
.update-note {
  background: #f7f3ea; border-radius: 10px; padding: 14px 20px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 24px;
}
.update-note strong { color: var(--navy); }
.footer { background: #0a1c2e; color: #7d92a6; text-align: center; padding: 36px 0; font-size: 13px; }
.footer-brand { color: var(--gold-light); font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.footer p { margin-bottom: 6px; }
.footer a { color: #7d92a6; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; gap: 0;
    padding: 10px 0; box-shadow: 0 10px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 13px 0; }
  .about-inner { gap: 30px; }
  .photo-img { max-width: 280px; margin: 0 auto; display: block; }
}
