/* ============================================================
   湖北久合久律师事务所 · 医疗纠纷律师网
   设计系统：藏青 #0A1B30 × 鎏金 #C6A15B × 暖纸 #F6F3EC
   ============================================================ */
:root {
  --ink: #0a1b30;
  --ink-2: #0f2542;
  --ink-3: #16324f;
  --gold: #c6a15b;
  --gold-2: #e4c98d;
  --gold-3: #9a7a3f;
  --paper: #f6f3ec;
  --paper-2: #efe9dc;
  --line: #e6dfcf;
  --text: #2a3442;
  --muted: #77808d;
  --white: #ffffff;
  --shadow: 0 18px 50px -18px rgba(10, 27, 48, .25);
  --shadow-sm: 0 8px 26px -12px rgba(10, 27, 48, .22);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --wrap: 1200px;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }

.ic { width: 1.15em; height: 1.15em; vertical-align: -0.22em; flex: none; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  letter-spacing: .06em;
  position: relative;
  z-index: 60;
}
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 12px; }
.topbar-en { font-family: var(--serif); letter-spacing: .22em; color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-r { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-r .ic { color: var(--gold); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 27, 48, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(198, 161, 91, .28);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.header-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 2px 6px rgba(198, 161, 91, .35)); }
.brand-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-t b { font-family: var(--serif); font-size: 19px; color: #fff; letter-spacing: .1em; white-space: nowrap; }
.brand-t i { font-style: normal; font-size: 11px; color: var(--gold); letter-spacing: .18em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative; color: rgba(255, 255, 255, .82);
  font-size: 15.5px; padding: 26px 13px; letter-spacing: .08em;
  transition: color .25s; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 18px;
  height: 2px; background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav-link:hover, .nav-link.active { color: var(--gold-2); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.head-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(198, 161, 91, .55); color: var(--gold-2);
  padding: 9px 16px; font-size: 15px; letter-spacing: .04em;
  transition: all .3s; white-space: nowrap; font-family: var(--serif);
}
.head-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-2); transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 首页 HERO ---------- */
.hero { position: relative; height: min(86vh, 780px); min-height: 520px; overflow: hidden; background: var(--ink); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center;
}
.hero-slide.on { opacity: 1; z-index: 1; }
.hero-slide.on .reveal { animation: fadeUp .9s both; }
.hero-slide.on .d1 { animation-delay: .15s; }
.hero-slide.on .d2 { animation-delay: .3s; }
.hero-slide.on .d3 { animation-delay: .45s; }
.hero-slide.on .d4 { animation-delay: .6s; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 15, 28, .88) 0%, rgba(6, 15, 28, .62) 45%, rgba(6, 15, 28, .18) 100%); }
.hero-in { position: relative; z-index: 2; color: #fff; padding-top: 20px; }
.hero-kicker { font-size: 13px; letter-spacing: .34em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 18px; font-family: var(--serif); }
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.28; letter-spacing: .06em;
  max-width: 15em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: 20px; font-size: clamp(14px, 1.6vw, 18px); color: rgba(255, 255, 255, .85); max-width: 34em; letter-spacing: .04em; }
.hero-btns { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 5; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: .3s; }
.hero-dots button.on { background: var(--gold); }
.hero-scroll { position: absolute; z-index: 5; bottom: 30px; right: 42px; width: 26px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- 通用装饰 ---------- */
.en-label {
  font-size: 12px; letter-spacing: .34em; color: var(--gold-3);
  text-transform: uppercase; font-family: var(--serif); margin-bottom: 10px;
}
.en-label.light { color: var(--gold-2); }
.gold-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.gold-divider i { display: block; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.gold-divider i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.gold-divider em { font-style: normal; color: var(--gold); font-size: 12px; }
.gold-divider.left { justify-content: flex-start; }
.sec-head { margin-bottom: 46px; }
.sec-head.center { text-align: center; }
.sec-head.center .gold-divider { justify-content: center; }
.sec-title { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); color: var(--ink); letter-spacing: .1em; font-weight: 700; }
.sec-sub { margin-top: 12px; color: var(--muted); font-size: 15px; letter-spacing: .04em; }

.section { padding: 92px 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; font-size: 15px; letter-spacing: .1em;
  border: 1px solid transparent; cursor: pointer; transition: all .3s;
  font-family: var(--serif); position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(198, 161, 91, .7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(198, 161, 91, .8); filter: brightness(1.05); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(198, 161, 91, .08); }
.btn-ink { background: var(--ink); color: var(--gold-2); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-line { border-color: var(--gold); color: var(--gold-3); background: transparent; }
.btn-line:hover { background: var(--gold); color: var(--ink); }
.btn-line.light { color: var(--gold-2); }

/* ---------- 数据统计条 ---------- */
.stats-band { background: var(--ink); position: relative; border-top: 1px solid rgba(198, 161, 91, .3); border-bottom: 1px solid rgba(198, 161, 91, .3); }
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23E4C98D' stroke-width='1'/%3E%3C/svg%3E");
}
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat { text-align: center; padding: 42px 12px; color: #fff; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: rgba(198, 161, 91, .25); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); color: var(--gold-2); line-height: 1.1; font-weight: 700; }
.stat b small { font-size: .45em; margin-left: 4px; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .66); letter-spacing: .12em; }

/* ---------- 律师简介（首页） ---------- */
.sec-about { background:
  radial-gradient(1000px 500px at 110% -10%, rgba(198, 161, 91, .08), transparent 60%),
  var(--paper);
}
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: center; }
.about-fig { position: relative; padding: 18px; background: var(--white); box-shadow: var(--shadow); }
.about-fig img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-fig figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: linear-gradient(0deg, rgba(10, 27, 48, .92), rgba(10, 27, 48, .55) 70%, transparent);
  color: #fff; padding: 34px 22px 16px; display: flex; flex-direction: column;
}
.about-fig figcaption b { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; color: var(--gold-2); }
.about-fig figcaption span { font-size: 12.5px; color: rgba(255, 255, 255, .8); letter-spacing: .1em; margin-top: 2px; }
.frame-corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold); }
.frame-corner.tl { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.frame-corner.br { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.about-text .sec-head { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; color: #3d4757; text-align: justify; }
.about-text strong { color: var(--ink); }
.about-points { margin: 22px 0 30px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; color: #33404f; }
.about-points .ic { color: var(--gold); margin-top: 5px; }

/* ---------- 专业领域 ---------- */
.sec-areas { background: var(--white); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.area-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: 38px 30px 30px; transition: all .35s; overflow: hidden; display: block;
}
.area-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; border-color: rgba(198, 161, 91, .5); }
.area-card:hover::before { transform: scaleX(1); }
.area-ic { display: inline-flex; width: 64px; height: 64px; padding: 12px; border: 1px solid rgba(198, 161, 91, .4); border-radius: 50%; margin-bottom: 20px; background: #fff; transition: .35s; }
.area-ic img { width: 100%; height: 100%; }
.area-card:hover .area-ic { background: var(--ink); }
.area-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: .1em; margin-bottom: 10px; }
.area-card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.area-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--gold-3); letter-spacing: .12em; opacity: 0; transform: translateX(-6px); transition: .35s; }
.area-card:hover .area-more { opacity: 1; transform: none; }

/* ---------- 文章/案例 ---------- */
.sec-news { background: var(--paper-2); }
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.news-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  transition: all .3s; overflow: hidden;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.flag-top { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); font-size: 12px; padding: 4px 12px; letter-spacing: .1em; font-style: normal; }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-date { font-size: 12.5px; color: var(--gold-3); letter-spacing: .14em; font-family: var(--serif); }
.news-body h3 { font-family: var(--serif); font-size: 17.5px; color: var(--ink); line-height: 1.55; letter-spacing: .03em; transition: color .3s; }
.news-card:hover h3 { color: var(--gold-3); }
.news-body p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: auto; font-size: 12.5px; color: #9aa2ad; letter-spacing: .06em; }
.more-row { text-align: center; margin-top: 40px; }

.side-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.side-title span { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: .12em; position: relative; padding-bottom: 10px; }
.side-title span::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.side-title a { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }
.side-title a:hover { color: var(--gold-3); }
.news-side, .list-side, .detail-side { display: grid; gap: 28px; }
.side-list li + li { border-top: 1px dashed var(--line); }
.side-list a { display: flex; gap: 10px; padding: 13px 4px; font-size: 14.5px; color: #3d4757; transition: .25s; align-items: baseline; }
.side-list a i { font-style: normal; color: var(--gold); font-size: 10px; transform: translateY(-2px); }
.side-list a:hover { color: var(--gold-3); padding-left: 10px; }
.side-cta { background: var(--ink); color: #fff; padding: 28px 26px; position: relative; overflow: hidden; }
.side-cta::after { content: "◆"; position: absolute; right: -14px; bottom: -30px; font-size: 120px; color: rgba(198, 161, 91, .12); }
.side-cta b { font-family: var(--serif); font-size: 20px; color: var(--gold-2); letter-spacing: .1em; }
.side-cta p { font-size: 13.5px; color: rgba(255, 255, 255, .75); margin: 10px 0 18px; }
.side-box { background: #fff; border: 1px solid var(--line); padding: 24px; }
.side-nav li a { display: block; padding: 12px 14px; font-size: 15px; color: #3d4757; border-left: 3px solid transparent; transition: .25s; letter-spacing: .06em; }
.side-nav li a:hover { color: var(--gold-3); background: var(--paper); }
.side-nav li.on a { color: var(--ink); border-left-color: var(--gold); background: var(--paper); font-weight: 600; }

.sec-cases { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); position: relative; overflow: hidden; }
.sec-cases .sec-title { color: #fff; }
.sec-cases::before {
  content: ""; position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath fill='none' stroke='%23E4C98D' stroke-width='1.4' d='M4 28h48M28 4v48M10 10l36 36M46 10L10 46'/%3E%3C/svg%3E");
}
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; }
.case-card {
  display: flex; flex-direction: column; background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(198, 161, 91, .25); transition: all .3s; overflow: hidden;
  backdrop-filter: blur(2px);
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(198, 161, 91, .6); background: rgba(255, 255, 255, .07); }
.case-cover { aspect-ratio: 21/9; overflow: hidden; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; opacity: .92; }
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; color: rgba(255, 255, 255, .8); }
.case-body > span:first-child { font-size: 12.5px; color: var(--gold-2); letter-spacing: .12em; font-family: var(--serif); }
.case-body h3 { font-family: var(--serif); font-size: 18px; color: #fff; line-height: 1.6; letter-spacing: .03em; }
.case-body > p { font-size: 13.5px; color: rgba(255, 255, 255, .62); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-result { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 8px 14px; margin-top: 4px; letter-spacing: .04em; }
.case-result .ic { color: var(--ink); }
.case-meta { margin-top: auto; font-size: 12.5px; color: rgba(255, 255, 255, .5); display: inline-flex; align-items: center; gap: 8px; letter-spacing: .06em; }

/* ---------- 流程 ---------- */
.sec-process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 40px 26px 30px; border: 1px solid var(--line); background: var(--paper); transition: .3s; }
.step:hover { background: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.step:hover h3, .step:hover p { color: #fff; }
.step b {
  position: absolute; top: -26px; left: 18px; font-family: var(--serif);
  font-size: 58px; color: rgba(198, 161, 91, .32); line-height: 1; font-weight: 700;
}
.step h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: .14em; margin: 18px 0 10px; transition: .3s; }
.step p { font-size: 13.5px; color: var(--muted); transition: .3s; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); padding: 96px 0; }
.cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 15, 28, .9), rgba(6, 15, 28, .55)); }
.cta-in { position: relative; z-index: 2; color: #fff; text-align: center; }
.cta-in h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); letter-spacing: .1em; margin-bottom: 18px; }
.cta-in > p { color: rgba(255, 255, 255, .85); font-size: 16px; letter-spacing: .06em; }
.cta-tel { font-family: var(--serif); font-size: 1.5em; color: var(--gold-2); letter-spacing: .08em; }
.cta-btns { margin-top: 30px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 内页通用头 ---------- */
.sub-hero { position: relative; background: var(--ink); color: #fff; padding: 84px 0 64px; overflow: hidden; }
.sub-hero.slim { padding: 54px 0 30px; }
.sub-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .42; }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 15, 28, .92), rgba(6, 15, 28, .45)); }
.sub-hero-in { position: relative; z-index: 2; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .6); letter-spacing: .08em; margin-bottom: 14px; }
.crumb a:hover { color: var(--gold-2); }
.crumb i { font-style: normal; margin: 0 8px; color: var(--gold); }
.crumb b { color: var(--gold-2); font-weight: 500; }
.sub-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: .16em; }
.sub-hero-desc { margin-top: 14px; max-width: 46em; color: rgba(255, 255, 255, .75); font-size: 15px; letter-spacing: .03em; }

/* ---------- 列表页 ---------- */
.list-sec { background: var(--paper); }
.list-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.empty { background: #fff; border: 1px dashed var(--line); padding: 80px 20px; text-align: center; color: var(--muted); letter-spacing: .1em; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.page-btn { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; color: #3d4757; transition: .25s; }
.page-btn:hover { border-color: var(--gold); color: var(--gold-3); }
.page-btn.on { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.page-btn.dis { opacity: .4; pointer-events: none; }
.page-dots { align-self: center; color: var(--muted); }

/* ---------- 详情页 ---------- */
.detail-sec { background: var(--paper); }
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.detail-main { background: #fff; border: 1px solid var(--line); padding: 46px 52px; }
.detail-head { text-align: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.detail-sub { font-size: 13.5px; color: var(--gold-3); letter-spacing: .16em; margin-bottom: 12px; font-family: var(--serif); }
.detail-head h1 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); line-height: 1.6; letter-spacing: .04em; }
.detail-meta { margin-top: 16px; font-size: 13px; color: #9aa2ad; letter-spacing: .08em; }
.detail-meta i { font-style: normal; margin: 0 10px; color: var(--line); }
.detail-cover { margin: 0 0 28px; }
.case-verdict { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #fbf7ec, #f4ecd9); border: 1px solid rgba(198, 161, 91, .45); padding: 18px 22px; margin-bottom: 26px; }
.case-verdict > .ic { width: 30px; height: 30px; color: var(--gold-3); }
.case-verdict b { font-family: var(--serif); color: var(--gold-3); letter-spacing: .2em; font-size: 13px; display: block; }
.case-verdict p { color: var(--ink); font-size: 15.5px; font-weight: 600; margin-top: 2px; }

.rich { font-size: 16px; color: #333d4c; line-height: 1.95; }
.rich p { margin: 0 0 18px; }
.rich h3 {
  font-family: var(--serif); color: var(--ink); font-size: 20px; letter-spacing: .06em;
  margin: 38px 0 18px; padding-left: 16px; position: relative;
}
.rich h3::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.rich strong { color: var(--ink); }
.rich blockquote { border-left: 3px solid var(--gold); background: var(--paper); padding: 20px 26px; margin: 24px 0; color: #4a5566; font-family: var(--serif); letter-spacing: .03em; }
.rich .case-note { font-size: 13px; color: #9aa2ad; border-top: 1px dashed var(--line); padding-top: 14px; }
.rich ul, .rich ol { margin: 0 0 18px 1.3em; }
.rich li { margin-bottom: 8px; }
.rich img { margin: 12px auto; }
.detail-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.detail-tags span { font-size: 12.5px; color: var(--gold-3); border: 1px solid rgba(198, 161, 91, .4); padding: 4px 12px; letter-spacing: .06em; }
.disclaimer { margin-top: 26px; font-size: 13px; color: #9aa2ad; background: var(--paper); border: 1px dashed var(--line); padding: 14px 18px; line-height: 1.8; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.pn { border: 1px solid var(--line); padding: 16px 20px; transition: .25s; display: block; }
.pn em { display: block; font-style: normal; font-size: 12px; color: var(--gold-3); letter-spacing: .2em; margin-bottom: 6px; }
.pn span { font-size: 14px; color: #3d4757; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn:hover { border-color: var(--gold); background: var(--paper); }
.pn-next { text-align: right; }
.side-lawyer { background: var(--ink); color: #fff; text-align: center; padding: 30px 24px; border: 1px solid rgba(198, 161, 91, .3); }
.side-lawyer img { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 14px; border: 2px solid var(--gold); object-fit: cover; background: #fff; }
.side-lawyer b { font-family: var(--serif); font-size: 20px; color: var(--gold-2); letter-spacing: .16em; display: block; }
.side-lawyer p { font-size: 12.5px; color: rgba(255, 255, 255, .65); margin: 6px 0 18px; letter-spacing: .06em; }

/* ---------- 单页（律师简介/专业领域/联系我们） ---------- */
.page-sec { background: var(--paper); }
.page-wrap { max-width: 980px; background: #fff; border: 1px solid var(--line); padding: 54px 60px; }
.rich-about .about-hero { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: center; margin-bottom: 10px; }
.rich-about .about-hero-text h2 { font-family: var(--serif); font-size: 42px; color: var(--ink); letter-spacing: .1em; }
.rich-about .about-hero-text h2 span { color: var(--gold-3); font-size: 26px; }
.rich-about .about-titles { font-size: 15px; color: var(--muted); letter-spacing: .1em; line-height: 2; }
.rich-about .about-lead { margin-top: 8px; color: #3d4757; text-align: justify; }
.rich-about .about-hero-fig { border: 1px solid var(--line); padding: 14px; background: var(--paper); }
.rich-about .about-hero-fig figcaption { text-align: center; font-size: 12px; color: var(--muted); padding-top: 10px; letter-spacing: .1em; }
.block-title { margin: 46px 0 24px; }
.block-title span { font-family: var(--serif); font-size: 22px; color: var(--ink); letter-spacing: .12em; padding-left: 16px; border-left: 4px solid var(--gold); }
.about-grid .about-item, .rich-about .about-item { border: 1px solid var(--line); padding: 22px 24px; background: var(--paper); transition: .3s; }
.about-grid .about-item:hover, .rich-about .about-item:hover { border-color: rgba(198, 161, 91, .5); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.rich-about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rich-about .about-item b { font-family: var(--serif); color: var(--gold-3); letter-spacing: .1em; font-size: 16.5px; display: block; margin-bottom: 8px; }
.rich-about .about-item p { font-size: 14px; color: #55606e; }
.rich-about .about-list { display: grid; gap: 12px; }
.rich-about .about-list li { position: relative; padding-left: 26px; color: #3d4757; }
.rich-about .about-list li::before { content: "◆"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 5px; }
.rich-about .about-quote { background: var(--ink); color: var(--gold-2); font-family: var(--serif); padding: 34px 40px; letter-spacing: .06em; line-height: 2; margin: 0; }

.rich-areas .area-intro { font-size: 16.5px; color: #3d4757; padding-bottom: 24px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.rich-areas .area-rows { display: grid; gap: 0; }
.rich-areas .area-row { display: grid; grid-template-columns: 76px 1fr; gap: 22px; padding: 26px 6px; border-bottom: 1px solid var(--line); transition: .3s; }
.rich-areas .area-row:hover { background: var(--paper); }
.rich-areas .area-ic { width: 64px; height: 64px; padding: 12px; border: 1px solid rgba(198, 161, 91, .45); border-radius: 50%; background: #fff; }
.rich-areas .area-ic img { width: 100%; height: 100%; }
.rich-areas .area-row h4 { font-family: var(--serif); font-size: 19px; color: var(--ink); letter-spacing: .1em; margin-bottom: 8px; }
.rich-areas .area-row p { font-size: 14.5px; color: var(--muted); }

.rich-contact .contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.rich-contact .ccard { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.rich-contact .ccard b { font-family: var(--serif); color: var(--gold-3); letter-spacing: .14em; display: block; margin-bottom: 8px; }
.rich-contact .ccard p { font-size: 13.5px; color: var(--muted); }
.rich-contact .contact-tip { font-size: 14.5px; color: #55606e; background: #fbf7ec; border: 1px dashed rgba(198, 161, 91, .5); padding: 16px 20px; }
.rich-contact .contact-tip strong { color: var(--gold-3); }

.contact-panel { display: grid; grid-template-columns: 340px 1fr; gap: 0; margin-top: 40px; border: 1px solid var(--line); background: #fff; }
.contact-info { background: var(--ink); color: #fff; padding: 36px 30px; }
.contact-info .side-title span { color: var(--gold-2); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.contact-list b { display: block; font-size: 13px; color: var(--gold-2); letter-spacing: .16em; margin-bottom: 4px; font-family: var(--serif); }
.contact-list a, .contact-list span { font-size: 14.5px; color: rgba(255, 255, 255, .85); display: block; }
.contact-list a:hover { color: var(--gold-2); }
.contact-form { padding: 36px 38px; }
.contact-form h3 { font-family: var(--serif); color: var(--ink); font-size: 22px; letter-spacing: .14em; margin-bottom: 8px; }
.form-tip { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: 13.5px; color: #4a5566; margin-bottom: 18px; letter-spacing: .05em; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; border: 1px solid var(--line); background: var(--paper);
  padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--text);
  transition: border .25s; border-radius: 0; -webkit-appearance: none;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(198, 161, 91, .12); }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 22px; letter-spacing: .04em; }
.form-msg.ok { color: #1d7a46; }
.form-msg.err { color: #b3372f; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; }
.foot-pattern { position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Cpath d='M2 14V6h6V2h10v4h6v8h-6v-4H8v4H2zm28 0V6h6V2h10v4h-2V4h-6v2h-6v6h6v2h-4v2h-4z' fill='%23E4C98D'/%3E%3C/svg%3E"); background-size: 48px 16px; }
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; padding: 64px 24px 48px; }
.foot-col h4 { font-family: var(--serif); color: var(--gold-2); font-size: 17px; letter-spacing: .2em; margin-bottom: 20px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col ul a { font-size: 14px; transition: .25s; letter-spacing: .04em; }
.foot-col ul a:hover { color: var(--gold-2); padding-left: 6px; }
.brand-foot .brand-t b { font-size: 17px; }
.foot-desc { margin-top: 18px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .55); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.foot-contact .ic { color: var(--gold); margin-top: 5px; }
.foot-bar { border-top: 1px solid rgba(198, 161, 91, .2); position: relative; }
.foot-bar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); font-size: 12.5px; color: rgba(255, 255, 255, .45); letter-spacing: .05em; flex-wrap: wrap; }

/* ---------- 移动端停靠栏 / 微信弹窗 / 返回顶部 ---------- */
.mobile-dock { display: none; }
.wechat-pop { position: fixed; inset: 0; background: rgba(6, 15, 28, .7); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: .3s; padding: 20px; }
.wechat-pop.show { opacity: 1; pointer-events: auto; }
.wechat-card { background: #fff; padding: 34px 30px 28px; text-align: center; position: relative; max-width: 320px; box-shadow: var(--shadow); transform: translateY(16px); transition: .3s; }
.wechat-pop.show .wechat-card { transform: none; }
.wechat-card img { width: 220px; height: 220px; margin: 0 auto 16px; }
.wechat-card p { font-size: 15px; margin-bottom: 6px; }
.wechat-card .muted { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.wechat-close { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; }
.wechat-close:hover { color: var(--ink); }
.backtop { position: fixed; right: 26px; bottom: 90px; z-index: 90; width: 46px; height: 46px; background: var(--ink); border: 1px solid rgba(198, 161, 91, .5); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; opacity: 0; pointer-events: none; transition: .3s; font-size: 9px; letter-spacing: .1em; }
.backtop .ic { width: 16px; height: 16px; transform: rotate(-90deg); }
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop:hover { background: var(--gold); color: var(--ink); }

/* ---------- 404 ---------- */
.nf { background: var(--paper); padding: 130px 0; text-align: center; }
.nf-code { font-family: var(--serif); font-size: 110px; color: var(--ink); line-height: 1; display: block; opacity: .9; }
.nf h1 { font-family: var(--serif); color: var(--ink); letter-spacing: .14em; margin: 18px 0 10px; font-size: 26px; }
.nf p { color: var(--muted); }
.nf-btns { margin-top: 30px; display: flex; gap: 14px; justify-content: center; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============================================================
   响应式：手机端
   ============================================================ */
@media (max-width: 1100px) {
  .header-in { gap: 14px; }
  .nav-link { padding: 26px 9px; font-size: 14.5px; }
  .about-grid { grid-template-columns: 360px 1fr; gap: 44px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .contact-panel { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .topbar-r { display: none; }
  .header-in { height: 64px; }
  .brand-t i { display: none; }
  .brand-t b { font-size: 16px; }
  .logo-mark { width: 38px; height: 38px; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 320px);
    background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 90px 10px 30px; gap: 4px; transform: translateX(100%);
    transition: transform .35s ease; box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
    border-left: 1px solid rgba(198, 161, 91, .3); z-index: 80;
  }
  .nav.open { transform: none; }
  .nav-link { padding: 14px 20px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); letter-spacing: .14em; }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 90; }
  .head-cta { display: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(6, 15, 28, .55); z-index: 70; }

  .hero { height: 84vh; min-height: 560px; padding-top: 0; }
  .hero-in { padding-bottom: 20px; }
  .hero-scroll { display: none; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 8px; }
  .stat:nth-child(3)::before { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-fig { max-width: 420px; margin: 0 auto; }
  .news-layout, .list-layout, .detail-layout { grid-template-columns: 1fr; }
  .news-side, .list-side, .detail-side { order: 2; }
  .news-cards { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .rich-about .about-hero { grid-template-columns: 1fr; }
  .rich-about .about-hero-fig { max-width: 340px; margin: 0 auto; }
  .rich-about .about-grid { grid-template-columns: 1fr; }
  .rich-contact .contact-cards { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .page-wrap { padding: 34px 22px; }
  .detail-main { padding: 28px 20px; }
  .prev-next { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 36px; }
  .foot-bar-in { justify-content: center; text-align: center; }

  .mobile-dock {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: rgba(10, 27, 48, .97); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(198, 161, 91, .4);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; color: rgba(255, 255, 255, .85); font-size: 11px; letter-spacing: .1em; }
  .mobile-dock a:active { background: rgba(198, 161, 91, .15); }
  .mobile-dock .ic { width: 20px; height: 20px; color: var(--gold-2); }
  body { padding-bottom: 56px; }
  .backtop { bottom: 76px; right: 16px; width: 40px; height: 40px; }
  .cta-band, .sub-hero { padding-left: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { height: 80vh; min-height: 520px; }
  .hero-btns .btn { padding: 12px 20px; font-size: 14px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .rich h3 { font-size: 18px; }
  .detail-main { padding: 22px 16px; }
  .page-wrap { padding: 26px 16px; }
  .side-box, .side-cta, .side-lawyer { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
