/* ==========================================================================
   黑龙江航征律师事务所 · 官网样式
   纯静态站，无外部依赖（不加载任何 CDN 字体/脚本）
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --navy: #0e2a47;
  --navy-900: #0a1f35;
  --navy-700: #16395c;
  --gold: #b08a46;
  --gold-light: #c9a96a;
  --gold-pale: #eadfc9;
  --red: #b2232c;
  --green: #3f4a3a;
  --cream: #f5f2ec;
  --paper: #fbfaf7;
  --ink: #1c232b;
  --ink-soft: #3a4450;
  --muted: #5c6672;
  --line: #e2dcd1;
  --line-strong: #cfc7b8;

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, .06);
  --shadow-md: 0 10px 32px rgba(14, 42, 71, .1);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

img { height: auto; }

/* 必须显式声明：作者样式里的 display 会覆盖浏览器对 [hidden] 的默认处理 */
[hidden] { display: none !important; }

a {
  color: var(--navy);
  text-decoration: none;
  transition: color .2s var(--ease);
}

a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--navy-900);
  margin: 0;
}

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }

li { margin-bottom: .45em; }

strong { font-weight: 700; color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow { max-width: 880px; }

.section { padding: 96px 0; }

.section--tight { padding: 64px 0; }

.section--cream { background: var(--cream); }

.section--paper { background: var(--paper); }

.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}

.section--navy h2,
.section--navy h3 { color: #fff; }

.section--edge-top { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  gap: 24px;
}

.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section--navy .eyebrow { color: var(--gold-light); }

.h-section {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin-bottom: 18px;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.section--navy .lede { color: rgba(255, 255, 255, .72); }

.section-head { margin-bottom: 48px; }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head--split .section-head-text { max-width: 62ch; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}

.link-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
}

.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--solid:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-900);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .8);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- 5. 顶栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, .97);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(14, 42, 71, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--gold);
  opacity: .95;
}

.brand-mark svg { width: 20px; height: 20px; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: .22em;
  opacity: .62;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li { margin: 0; }

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  white-space: nowrap;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-list a[aria-current="page"] { color: var(--gold); }

.page-home .site-header:not(.is-scrolled) .nav-list a[aria-current="page"] { color: var(--gold-light); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; margin: 0 auto; }

.nav-toggle .icon-close { display: none; }

.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* 移动端抽屉 */
.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 28px 32px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  overflow-y: auto;
}

.mobile-panel.is-open { display: flex; }

.mobile-panel nav ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-panel nav li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  font-family: var(--serif);
  font-size: 19px;
  color: #fff;
}

.mobile-panel nav a::after { content: "→"; color: var(--gold); opacity: .8; }

.mobile-panel .panel-foot {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

.mobile-panel .panel-foot strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}

/* ---------- 6. 首页首屏 ---------- */
.hero {
  position: relative;
  padding-top: var(--header-h);
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, .035) 59px 60px);
  opacity: .9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h) - 46px);
  max-height: 820px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 72px 72px 0;
}

.hero-copy .eyebrow { color: var(--gold-light); }

.hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.28;
  letter-spacing: .02em;
}

.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: lineIn .85s var(--ease) forwards;
}

.hero h1 .line:nth-child(1) { animation-delay: .12s; }

.hero h1 .line:nth-child(2) { animation-delay: .26s; }

.hero h1 .line:nth-child(3) { animation-delay: .4s; }

@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 46ch;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .76);
}

.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 30px;
  padding: 8px 0 8px 14px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--gold-light);
  letter-spacing: .04em;
}

.hero .btn-row { margin-top: 0; }

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.trust-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-media {
  position: relative;
  margin-right: calc((100vw - var(--wrap)) / -2);
  overflow: hidden;
}

.hero-media .frame {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 26s var(--ease) both;
}

@keyframes heroZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 42, 71, .55) 0%, rgba(14, 42, 71, 0) 45%);
  pointer-events: none;
}

/* ---------- 7. 图片框 / 占位 ---------- */
.frame {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--cream);
}

.frame--wide { aspect-ratio: 16 / 9; }

.frame--tall { aspect-ratio: 3 / 4; }

.frame--square { aspect-ratio: 1 / 1; }

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.frame img.is-missing {
  object-fit: cover;
  opacity: .9;
}

a.frame:hover img,
.shot:hover img { transform: scale(1.04); }

/* ---------- 8. 军旅底色条 ---------- */
.band-slogan {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
  border-top: 1px solid rgba(176, 138, 70, .38);
  border-bottom: 1px solid rgba(176, 138, 70, .22);
}

.band-slogan .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.band-slogan p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  color: var(--gold-light);
  letter-spacing: .06em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-row li {
  margin: 0;
  padding: 3px 12px;
  border: 1px solid rgba(176, 138, 70, .4);
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .66);
}

/* ---------- 9. 业务领域卡片 ---------- */
.domain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
}

.domain-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--gold);
}

.domain-icon svg { width: 100%; height: 100%; }

.domain-card h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.domain-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}

.domain-card .card-arrow {
  margin-top: auto;
  padding-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
}

.domain-card .card-arrow::after {
  content: " →";
  transition: margin .25s var(--ease);
}

.domain-card:hover .card-arrow::after { margin-left: 4px; }

/* ---------- 10. 退役军人专区 ---------- */
.veteran-zone {
  position: relative;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}

.veteran-zone .zone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 64px;
  align-items: center;
}

.veteran-zone h2 { color: #fff; }

.zone-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: zp;
}

.zone-points li {
  position: relative;
  margin: 0;
  padding: 16px 0 16px 54px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  counter-increment: zp;
}

.zone-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }

.zone-points li::before {
  content: "0" counter(zp);
  position: absolute;
  left: 0;
  top: 17px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
}

.zone-points strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.zone-points span {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
}

.veteran-zone .frame { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }

/* ---------- 11. 团队卡片 ---------- */
.team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.team-card .frame { border-radius: 0; aspect-ratio: 4 / 5; }

.team-card-body { padding: 24px 24px 26px; }

.team-card h3 { margin-bottom: 4px; font-size: 1.12rem; }

.team-role {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gold);
}

.team-meta {
  margin: 0 0 14px;
  font-size: .88rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-row li {
  margin: 0;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--cream);
}

.chip-row--green li {
  border-color: rgba(63, 74, 58, .35);
  background: rgba(63, 74, 58, .08);
  color: var(--green);
}

.team-card .card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  opacity: .55;
  transition: opacity .25s var(--ease);
}

.team-card:hover .card-action { opacity: 1; }

.placeholder-note {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
  background: var(--cream);
}

/* ---------- 12. 为什么选择我们 ---------- */
.value-item {
  position: relative;
  padding: 30px 26px 28px;
  border-top: 2px solid var(--gold);
  background: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-sm);
}

.value-item .value-no {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--gold);
}

.value-item h3 { margin-bottom: 8px; font-size: 1.05rem; }

.value-item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- 13. 办公实景 ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shot {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
  color: inherit;
}

.shot .frame { aspect-ratio: 4 / 3; }

.shot figcaption,
.shot .shot-cap {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 14. 常见问题 ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}

.faq details[open] summary::after { transform: rotate(225deg) translateY(-1px); }

.faq details p {
  margin: 0;
  padding: 0 60px 24px 0;
  font-size: .95rem;
  color: var(--muted);
}

/* ---------- 15. 结尾 CTA ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: 84px 0;
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-band .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: grayscale(.3);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 31, 53, .82), rgba(10, 31, 53, .92));
}

.cta-band .slogan {
  margin: 0 auto 14px;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  letter-spacing: .06em;
  color: #fff;
}

.cta-band p { margin: 0; color: rgba(255, 255, 255, .68); }

.cta-band .btn-row { justify-content: center; }

/* ---------- 16. 页脚 ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand { color: #fff; }

.footer-brand .brand-sub { opacity: .5; }

.footer-slogan {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-light);
  letter-spacing: .04em;
}

.site-footer h3 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .92);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin-bottom: 10px; }

.site-footer a { color: inherit; }

.site-footer a:hover { color: var(--gold-light); }

.footer-contact li {
  display: flex;
  gap: 10px;
}

.footer-contact .k {
  flex: 0 0 44px;
  color: rgba(255, 255, 255, .38);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom p { margin: 0; }

/* ---------- 17. 悬浮咨询 / 移动端底栏 ---------- */
.float-consult {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 90;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(14, 42, 71, .9);
  border: 1px solid rgba(176, 138, 70, .35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.float-consult a,
.float-consult button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 62px;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.float-consult a:hover,
.float-consult button:hover {
  background: var(--gold);
  color: var(--navy-900);
}

.float-consult svg { width: 20px; height: 20px; }

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  background: var(--navy-900);
  border-top: 1px solid rgba(176, 138, 70, .3);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.mobile-bar a,
.mobile-bar button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 4px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
}

.mobile-bar svg { width: 17px; height: 17px; }

.mobile-bar .primary {
  background: var(--gold);
  color: var(--navy-900);
  border-radius: 2px;
  font-weight: 600;
}

/* ---------- 18. 内页页头 ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + 76px) 0 68px;
  background: var(--navy);
  color: rgba(255, 255, 255, .74);
  overflow: hidden;
}

.page-hero .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(10, 31, 53, .96) 12%, rgba(14, 42, 71, .82) 62%, rgba(14, 42, 71, .62));
}

.page-hero h1 {
  max-width: 100%;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.85rem, 3.1vw, 2.7rem);
  line-height: 1.32;
}

.page-hero .lede { color: rgba(255, 255, 255, .72); }

.page-hero .eyebrow { color: var(--gold-light); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
}

.crumbs li { margin: 0; }

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .3);
}

.crumbs a { color: inherit; }

.crumbs a:hover { color: var(--gold-light); }

/* 浅色背景上的面包屑 */
.crumbs--dark { color: var(--muted); }

.crumbs--dark li + li::before { color: var(--line-strong); }

.crumbs--dark a:hover { color: var(--gold); }

/* ---------- 19. 锚点导航 ---------- */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(251, 250, 247, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.anchor-nav ul {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.anchor-nav li { margin: 0; flex: 0 0 auto; }

.anchor-nav a {
  display: block;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.anchor-nav a:hover { border-color: var(--line-strong); color: var(--navy); }

.anchor-nav a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- 20. 业务领域页 ---------- */
.practice-block { padding: 72px 0; border-bottom: 1px solid var(--line); }

.practice-block:last-of-type { border-bottom: 0; }

.practice-block.is-special { background: var(--cream); }

.practice-grid {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  gap: 56px;
  align-items: start;
}

.practice-head { position: sticky; top: calc(var(--header-h) + 72px); }

.practice-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--gold);
}

.practice-head h2 { margin-bottom: 10px; font-size: 1.55rem; }

.practice-tag { margin: 0; font-size: .92rem; color: var(--muted); }

.practice-body > p:first-child { margin-top: 0; }

.practice-body h3 {
  margin: 32px 0 12px;
  font-size: 1.02rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .02em;
}

.practice-body h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  vertical-align: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.practice-body ul {
  padding-left: 0;
  list-style: none;
}

.practice-body ul li {
  position: relative;
  padding-left: 16px;
  font-size: .95rem;
  color: var(--ink-soft);
}

.practice-body ul li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: st;
}

.steps li {
  margin: 0;
  padding: 16px 14px;
  background: #fff;
  counter-increment: st;
  font-size: .88rem;
  color: var(--ink-soft);
}

.steps li::before {
  content: "0" counter(st);
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.practice-body .btn { margin-top: 26px; }

.flow-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  color: var(--ink-soft);
}

.flow-line li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.flow-line li + li::before {
  content: "→";
  color: var(--gold);
}

/* ---------- 21. 团队页 ---------- */
.team-way .cols-3 { margin-top: 0; }

.way-item {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.way-item h3 { margin-bottom: 8px; font-size: 1.05rem; }

.way-item p { margin: 0; font-size: .92rem; color: var(--muted); }

.team-hero-media { margin-top: -40px; position: relative; z-index: 2; }

/* ---------- 22. 关于我们 ---------- */
.culture {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.culture-col h3 { margin-bottom: 14px; font-size: 1.2rem; }

.culture-col ul {
  padding-left: 0;
  list-style: none;
}

.culture-col li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
  color: var(--ink-soft);
}

.culture-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery .shot .frame { aspect-ratio: 3 / 4; }

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.timeline li {
  position: relative;
  margin: 0 0 34px;
  padding-left: 6px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 9px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

.timeline .year {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: .04em;
}

.timeline p { margin: 2px 0 0; font-size: .93rem; color: var(--muted); }

/* ---------- 23. 新闻列表 ---------- */
.news-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.entry-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}

.entry-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--ink-soft);
}

.entry-card h3 { margin-bottom: 4px; font-size: 1.14rem; }

.entry-card p { margin: 0; font-size: .88rem; color: var(--muted); }

.entry-card .count {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: .85;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
  align-items: start;
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.filter-btn {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.filter-btn:hover { border-color: var(--gold); color: var(--navy); }

.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.news-list { margin: 0; padding: 0; list-style: none; }

.news-list li { margin: 0; }

.news-item {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.news-item:hover { color: inherit; }

.news-item h3 {
  margin: 8px 0 6px;
  font-size: 1.14rem;
  transition: color .2s var(--ease);
}

.news-item:hover h3 { color: var(--gold); }

.news-item p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 2px;
  font-size: 11.5px;
  letter-spacing: .04em;
  line-height: 1.7;
}

.badge--type {
  background: rgba(14, 42, 71, .07);
  color: var(--navy);
}

.badge--cat {
  background: rgba(176, 138, 70, .12);
  color: #8a6a2f;
}

.badge--pin {
  background: var(--red);
  color: #fff;
}

.news-item--feature {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.news-item--feature .frame { margin-bottom: 20px; aspect-ratio: 16 / 9; }

.news-item--feature h3 {
  margin-top: 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.news-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 36px;
}

.news-count { font-size: 12.5px; color: var(--muted); }

.empty-state {
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

.side-card {
  padding: 26px 24px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-card h3 {
  margin-bottom: 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--navy);
}

.side-card ul { margin: 0; padding: 0; list-style: none; }

.side-card li { margin-bottom: 10px; font-size: .9rem; }

.side-card li a { color: var(--ink-soft); }

.side-card li a:hover { color: var(--gold); }

.side-card--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255, 255, 255, .72);
}

.side-card--navy h3 { color: #fff; }

.side-card--navy p { font-size: .9rem; }

.side-card--navy .btn { margin-top: 6px; }

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-cloud li { margin: 0; }

.tag-cloud a {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.tag-cloud a:hover,
.tag-cloud a.is-active {
  border-color: var(--gold);
  background: rgba(176, 138, 70, .1);
  color: #8a6a2f;
}

/* ---------- 24. 文章详情 ---------- */
.article-head { padding: calc(var(--header-h) + 56px) 0 0; background: var(--paper); }

.article-head .wrap { max-width: 900px; }

.article-head .crumbs { margin-bottom: 18px; }

.article-head .news-meta { margin-bottom: 12px; }

.article-head h1 {
  margin: 10px 0 16px;
  font-size: clamp(1.6rem, 2.9vw, 2.35rem);
  line-height: 1.35;
}

.article-summary {
  margin: 0 0 22px;
  padding: 16px 0 16px 18px;
  border-left: 2px solid var(--gold);
  font-size: .98rem;
  color: var(--ink-soft);
  background: linear-gradient(90deg, rgba(176, 138, 70, .05), transparent);
}

.article-cover { margin: 32px 0 0; }

.article-cover .frame { aspect-ratio: 16 / 9; }

.article-cover figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: start;
  padding: 52px 0 0;
}

.article-layout .wrap { max-width: 900px; }

.article-body { max-width: 720px; font-size: 1rem; color: var(--ink-soft); }

.article-body h2 {
  margin: 40px 0 14px;
  padding-top: 8px;
  font-size: 1.28rem;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 { margin: 28px 0 10px; font-size: 1.05rem; }

.article-body ul { padding-left: 0; list-style: none; }

.article-body ul li {
  position: relative;
  padding-left: 18px;
}

.article-body ul li::before {
  content: "·";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}

.article-figure { margin: 30px 0; }

.article-figure figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

.article-body blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-family: var(--serif);
  color: var(--navy-900);
}

.article-body ol { padding-left: 1.4em; }

.article-body ol li::marker { color: var(--gold); }

.article-note {
  margin: 32px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream);
  font-size: .9rem;
  color: var(--muted);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.related {
  padding: 64px 0 0;
}

.related h2 { font-size: 1.2rem; margin-bottom: 24px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.related-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
}

.related-card:hover { border-color: var(--gold); color: inherit; }

.related-card .frame { flex: 0 0 96px; width: 96px; aspect-ratio: 1 / 1; }

.related-card h3 { margin-bottom: 4px; font-size: .95rem; line-height: 1.5; }

.related-card p { margin: 0; font-size: 12px; color: var(--muted); }

.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- 25. 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}

.info-card .k {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

.info-card .v {
  display: block;
  font-family: var(--serif);
  font-size: 1.16rem;
  color: var(--navy-900);
  word-break: break-all;
}

.info-card .note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.info-card .qr { width: 96px; margin-top: 10px; border: 1px solid var(--line); border-radius: 2px; }

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: start;
}

.form {
  padding: 34px 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form h2 { margin-bottom: 6px; font-size: 1.35rem; }

.form .form-intro { margin-bottom: 26px; font-size: .9rem; color: var(--muted); }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.field .req { color: var(--red); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 70, .16);
}

.field .hint { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); }

.field .err {
  display: none;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--red);
}

.field.has-error .err { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.field .checkbox { display: flex; font-weight: 400; }

.checkbox input { width: auto; margin-top: 4px; flex: 0 0 auto; }

.modal-inner .qr {
  width: 168px;
  height: auto;
  margin: 6px 0 0;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(63, 74, 58, .35);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(63, 74, 58, .07);
  font-size: .92rem;
  color: var(--green);
}

.form-success.is-visible { display: block; }

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.visit-list { margin: 0; padding: 0; list-style: none; }

.visit-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}

.visit-list .k { color: var(--muted); font-size: 13px; letter-spacing: .06em; }

.visit-list .v { color: var(--ink-soft); }

/* ---------- 26. 弹窗 / 灯箱 ---------- */
dialog.modal {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(10, 31, 53, .35);
}

dialog.modal::backdrop { background: rgba(10, 31, 53, .62); }

.modal-inner { padding: 34px 32px 30px; }

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover { background: var(--cream); color: var(--navy); }

dialog.lightbox {
  max-width: min(1080px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  background: transparent;
}

dialog.lightbox::backdrop { background: rgba(8, 20, 34, .86); }

dialog.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--navy-900);
}

dialog.lightbox .lb-cap {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
  text-align: center;
}

dialog.lightbox .modal-close {
  top: -46px;
  right: -6px;
  color: #fff;
}

dialog.lightbox .modal-close:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- 27. 404 ---------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  text-align: center;
  background: var(--cream);
}

.error-page .code {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  opacity: .18;
}

.error-page h1 { margin: -18px 0 14px; font-size: clamp(1.4rem, 3vw, 1.9rem); }

.error-page p { color: var(--muted); }

/* ---------- 28. 动效 ---------- */
/* 入场动画：默认可见；只有脚本正常运行时才隐藏待动画的元素，
   浏览器禁用 JS、或脚本出错时内容不会被藏起来 */
.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: .08s; }

.reveal-d2 { transition-delay: .16s; }

.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }

  .reveal,
  .js .reveal { opacity: 1; transform: none; }

  .hero h1 .line { opacity: 1; transform: none; }

  .hero-media img { animation: none; transform: none; }
}

/* ---------- 29. 响应式 ---------- */
@media (max-width: 1180px) {
  .hero-copy { padding-right: 40px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .nav { gap: 18px; }

  .nav-list { gap: 22px; }

  .nav-list a { font-size: 14px; }

  .news-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .sidebar { position: static; }

  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .article-aside { position: static; }

  .practice-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .practice-head { position: static; }

  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

  .float-consult { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }

  .nav { display: none; }

  .nav-toggle { display: block; }

  .float-consult { display: none; }

  .mobile-bar { display: flex; }

  body { padding-bottom: 62px; }

  .wrap { padding: 0 20px; }

  .section { padding: 68px 0; }

  .section--tight { padding: 48px 0; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    max-height: none;
  }

  .hero-copy { padding: 44px 0 36px; }

  .hero-media {
    margin-right: -20px;
    margin-left: -20px;
    height: auto;
  }

  .hero-media .frame { aspect-ratio: 4 / 3; height: auto; }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(14, 42, 71, .5), rgba(14, 42, 71, 0) 55%);
  }

  .hero h1 { font-size: clamp(1.7rem, 6.4vw, 2.2rem); }

  .hero-slogan { margin-bottom: 24px; }

  .cols-2,
  .cols-3,
  .cols-4 { grid-template-columns: minmax(0, 1fr); }

  .cols-4--pair { grid-template-columns: minmax(0, 1fr); }

  .veteran-zone .zone-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .veteran-zone .zone-grid .frame { order: -1; }

  .shots { grid-template-columns: minmax(0, 1fr); }

  .culture { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .contact-main { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .news-entry { grid-template-columns: minmax(0, 1fr); }

  .related-grid { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-hero { padding: calc(var(--header-h) + 52px) 0 48px; }

  .band-slogan .wrap { padding-top: 16px; padding-bottom: 16px; }

  .band-slogan p { font-size: .96rem; }

  .cta-band { padding: 62px 0; }

  .form { padding: 26px 22px 28px; }

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-bottom: 36px; }
}

@media (max-width: 560px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .domain-card { padding: 24px 20px 22px; }

  .domain-icon { margin-bottom: 14px; }

  .btn-row { gap: 10px; }

  .btn-row .btn { flex: 1 1 100%; }

  .trust-points { gap: 8px 18px; }

  .section-head { margin-bottom: 32px; }

  .article-head .wrap { padding-bottom: 0; }

  .related-card .frame { flex: 0 0 72px; width: 72px; }

  .gallery { grid-template-columns: minmax(0, 1fr); }

  .timeline { padding-left: 20px; }

  .timeline li::before { left: -26px; }
}

/* ---------- 30. 打印 ---------- */
@media print {
  .site-header,
  .float-consult,
  .mobile-bar,
  .cta-band,
  .site-footer { display: none !important; }

  body { background: #fff; padding: 0; }

  .page-hero { padding: 24px 0; background: #fff; color: var(--ink); }

  .page-hero h1,
  .page-hero .lede { color: var(--ink); }

  .page-hero::after,
  .page-hero .bg { display: none; }
}
