/* lawyer-navy-mist — 藏青雾蓝 · port of Marriage-04 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #003B5C;
  --primary-hover: #004E7C;
  --deep: #0a2540;
  --deep-hover: #0d3054;
  --ink: #1A2A3A;
  --bg-cool: #F7F9FC;
  --bg-warm: #FDFCFA;
  --bg-sand: #F5F3EF;
  --bg-hero: #F0F5FA;
  --bg-disclaimer: #FDF6EC;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --border: rgba(0, 59, 92, 0.12);
  --border-soft: rgba(0, 0, 0, 0.06);
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.14);
  --font-sans: "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Noto Sans SC", serif;
  --nav-h: 4.5rem;
  --mobile-bar-h: 84px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-h);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

.page-px {
  width: 100%;
  max-width: 72rem; /* 1152px：内容居中，避免超宽屏全铺 */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .page-px { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .page-px { padding-left: 2rem; padding-right: 2rem; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ——— utilities ——— */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.min-w-0 { min-width: 0; }
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.shrink-0 { flex-shrink: 0; }
.whitespace-nowrap { white-space: nowrap; }
.object-cover { object-fit: cover; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: var(--radius); }
.rounded-2xl { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none !important; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:gap-5 { gap: 1.25rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:mb-14 { margin-bottom: 3.5rem; }
  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:h-20 { height: 5rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:block { display: block; }
  .lg\:w-auto { width: auto; }
  .lg\:sticky { position: sticky; }
}

.bg-cool { background: var(--bg-cool); }
.bg-warm { background: var(--bg-warm); }
.bg-sand { background: var(--bg-sand); }
.bg-white { background: var(--white); }
.bg-primary { background: var(--primary); }
.bg-deep { background: var(--deep); }

.text-primary { color: var(--primary); }
.text-ink { color: var(--ink); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.7; }
.tracking-wider { letter-spacing: 0.05em; }

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* ——— buttons ——— */
.btn-primary,
.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn-primary:hover,
.btn-navy:hover {
  background: var(--primary-hover);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-outline-navy:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-pill-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-pill-navy:hover { background: var(--primary-hover); }

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.btn-pill-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-cta-deep {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--deep);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-cta-deep:hover { background: var(--deep-hover); }
.btn-cta-deep .cta-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ——— nav ——— */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#navbar.nav-transparent {
  background: transparent;
  box-shadow: none;
}
#navbar.nav-transparent .nav-brand-text,
#navbar.nav-transparent .nav-toggle {
  color: var(--white);
}
#navbar.nav-transparent .nav-logo-ico {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
#navbar.nav-transparent .nav-link {
  color: rgba(255, 255, 255, 0.92);
}
#navbar.nav-transparent .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
#navbar.nav-transparent .nav-link.is-cta {
  background: var(--white);
  color: var(--primary);
}
#navbar.nav-transparent .nav-link.is-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}
#navbar.nav-transparent .nav-firm {
  color: rgba(255, 255, 255, 0.65);
}

#navbar.nav-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
#navbar.nav-solid .nav-brand-text,
#navbar.nav-solid .nav-toggle {
  color: var(--primary);
}
#navbar.nav-solid .nav-logo-ico {
  background: var(--primary);
  color: var(--white);
}
#navbar.nav-solid .nav-link {
  color: var(--gray-600);
}
#navbar.nav-solid .nav-link:hover {
  color: var(--primary);
  background: var(--gray-50);
}
#navbar.nav-solid .nav-link.is-cta {
  background: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  padding-left: 1rem;
  padding-right: 1rem;
}
#navbar.nav-solid .nav-link.is-cta:hover {
  background: var(--primary-hover);
  color: var(--white);
}
#navbar.nav-solid .nav-firm {
  color: var(--gray-400);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) {
  .nav-inner { height: 5rem; }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-logo-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .nav-logo-ico {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.125rem;
  }
}
.nav-brand-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .nav-brand-text { font-size: 1.125rem; }
}
.nav-brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.nav-firm {
  display: none;
  font-size: 0.6875rem;
  font-weight: 400;
  margin-top: 0.15rem;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .nav-firm { display: block; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
@media (min-width: 1024px) {
  .nav-desktop { gap: 0.5rem; }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .nav-link { padding: 0.5rem 1rem; }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--deep);
  padding: 5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.nav-open { overflow: hidden; }

.site-main {
  min-height: 50vh;
}

/* ——— hero ——— */
.hero {
  position: relative;
  min-height: 720px;
  background: var(--bg-hero);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { min-height: 820px; }
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img,
.hero-fallback-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback-bg {
  background: linear-gradient(135deg, #003B5C 0%, #0a2540 50%, #004E7C 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 59, 92, 0.9), rgba(0, 59, 92, 0.7), rgba(0, 59, 92, 0.4));
}
.hero-inner {
  position: relative;
  z-index: 10;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .hero-inner {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}
.hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-row {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
}
.hero-copy {
  width: 100%;
}
@media (min-width: 1024px) {
  .hero-copy { width: 45%; }
}
@media (min-width: 1280px) {
  .hero-copy { width: 40%; }
}
.hero-copy h1 {
  font-size: 1.875rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-copy h1 { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .hero-copy h1 { font-size: 3rem; }
}
.hero-copy h1 .serif-em {
  font-family: var(--font-serif);
  font-style: italic;
}
.hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 28rem;
}
@media (min-width: 768px) {
  .hero-tagline { font-size: 1rem; }
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (min-width: 768px) {
  .hero-glass { padding: 1.25rem; }
}
.hero-glass-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .hero-glass-inner { gap: 1.25rem; }
}
.hero-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: var(--white);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .hero-avatar {
    width: 5rem;
    height: 5rem;
  }
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-glass-info {
  flex: 1;
  min-width: 0;
}
.hero-glass-info h2 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .hero-glass-info h2 { font-size: 1.125rem; }
}
.hero-glass-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .hero-glass-info p { font-size: 0.875rem; }
}
.hero-wechat-qr {
  display: none;
  flex-shrink: 0;
  text-align: center;
}
@media (min-width: 640px) {
  .hero-wechat-qr { display: block; }
}
.hero-wechat-qr .qr-box {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--white);
  padding: 0.25rem;
}
@media (min-width: 768px) {
  .hero-wechat-qr .qr-box {
    width: 5rem;
    height: 5rem;
  }
}
.hero-wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}
.hero-wechat-qr .qr-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-align: center;
  margin-top: 0.25rem;
}
.hero-wechat-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  font: inherit;
}
.hero-wechat-btn .qr-box { display: block; }
.hero-wechat-btn .qr-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.hero-portrait {
  display: none;
  width: 55%;
}
@media (min-width: 1024px) {
  .hero-portrait {
    display: block;
    width: 55%;
  }
}
@media (min-width: 1280px) {
  .hero-portrait { width: 60%; }
}
.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-portrait-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  max-width: 480px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}
.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-portrait-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-portrait-badge .ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(0, 59, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
}
.hero-portrait-badge .lbl {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.hero-portrait-badge .val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin-top: 1.25rem;
}
.hero-about-link:hover { color: var(--white); }

.photo-fallback {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--deep));
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

/* ——— section kickers ——— */
.section-pill {
  display: inline-block;
  border: 1px solid rgba(0, 59, 92, 0.2);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1rem;
}
.section-pill span {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.section-dot-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.section-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .section-title { font-size: 1.875rem; }
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .section-desc { font-size: 1rem; }
}

/* ——— practice cards (hover invert) ——— */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(4, 1fr); }
}

.practice-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
@media (min-width: 768px) {
  .practice-card { padding: 1.5rem; }
}
.practice-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.practice-card .pc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(0, 59, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
  transition: background 0.3s, color 0.3s;
}
.practice-card:hover .pc-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.practice-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.practice-card:hover h3 { color: var(--white); }
.practice-card p {
  color: var(--gray-500);
  font-size: 0.75rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .practice-card p { font-size: 0.875rem; }
}
.practice-card:hover p { color: rgba(255, 255, 255, 0.7); }
.practice-card .pc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s;
}
.practice-card:hover .pc-more { color: var(--white); }

/* ——— text-only case / news cards ——— */
.case-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .case-news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.case-card-navy {
  display: block;
  background: var(--primary);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  height: 100%;
  transition: background 0.2s, transform 0.2s;
}
.case-card-navy:hover { background: var(--primary-hover); }
.case-card-navy .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
}
.case-card-navy h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .case-card-navy h3 { font-size: 1.125rem; }
}
.case-card-navy p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .case-card-navy p { font-size: 0.875rem; }
}

.news-card-text,
.case-card-text {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--gray-100);
  height: 100%;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.news-card-text:hover,
.case-card-text:hover {
  box-shadow: var(--shadow);
  border-color: rgba(0, 59, 92, 0.15);
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}
.news-card-meta .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 500;
}
.news-card-meta .sep { color: var(--gray-300); }
.news-card-meta .date { color: var(--gray-400); }
.news-card-text h3,
.case-card-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.news-card-text:hover h3,
.case-card-text:hover h3 { color: var(--primary); }
.news-card-text p,
.case-card-text p {
  color: var(--gray-500);
  font-size: 0.75rem;
  line-height: 1.65;
}
@media (min-width: 768px) {
  .news-card-text p,
  .case-card-text p { font-size: 0.875rem; }
}
.case-card-text .tag-anon {
  display: inline-block;
  font-size: 0.6875rem;
  color: var(--primary);
  background: rgba(0, 59, 92, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.news-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-list-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.news-list-item:hover {
  border-color: rgba(0, 59, 92, 0.2);
  box-shadow: var(--shadow-sm);
}
.news-list-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.news-list-item:hover h3 { color: var(--primary); }
.news-list-item p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ——— consult steps ——— */
.steps-section {
  background: var(--white);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .steps-section { padding: 6rem 0; }
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-item .step-line {
  display: none;
}
@media (min-width: 768px) {
  .step-item:not(:last-child) .step-line {
    display: block;
    position: absolute;
    top: 2rem;
    left: 60%;
    width: 80%;
    height: 2px;
    background: rgba(0, 59, 92, 0.1);
  }
}
.step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(0, 59, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-size: 1.5rem;
}
.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.step-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step-item p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 20rem;
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  background: var(--primary);
  overflow: hidden;
}
.cta-band-deco {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}
.cta-band-deco::before,
.cta-band-deco::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}
.cta-band-deco::before {
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}
.cta-band-deco::after {
  bottom: 0;
  right: 0;
  transform: translate(33%, 33%);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band-inner { padding: 7rem 0; }
}
.cta-band h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .cta-band h2 { font-size: 1.875rem; }
}
@media (min-width: 768px) {
  .cta-band h2 { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .cta-band h2 { font-size: 3rem; }
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  max-width: 32rem;
}
@media (min-width: 768px) {
  .cta-band p { font-size: 1rem; }
}
.cta-band .cta-actions { margin-top: 1.5rem; }

/* ——— banners ——— */
.banners-section {
  background: var(--bg-cool);
  padding: 3rem 0;
}
.banner-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 1.25rem;
  overflow: hidden;
}
.banner-card img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  max-height: 220px;
  object-fit: cover;
}
.banner-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ——— light page header ——— */
.page-header {
  background: var(--bg-cool);
  padding-top: 6rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .page-header {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }
}
.page-header .section-pill { margin-bottom: 1rem; }
.page-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .page-header h1 { font-size: 2.25rem; }
}
.page-header .page-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  max-width: 36rem;
}
@media (min-width: 768px) {
  .page-header .page-desc { font-size: 1rem; }
}
.page-header.page-header-center {
  text-align: center;
}
.page-header.page-header-center .page-desc {
  margin-left: auto;
  margin-right: auto;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--primary); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .current { color: var(--gray-600); }
.crumbs i { font-size: 0.875rem; color: var(--gray-300); }

/* ——— about ——— */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-layout {
    flex-direction: row;
    gap: 4rem;
  }
}
.about-photo-col {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .about-photo-col { width: 38%; }
}
.about-photo-sticky {
  position: relative;
}
@media (min-width: 1024px) {
  .about-photo-sticky {
    position: sticky;
    top: 7rem;
  }
}
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  max-width: 28rem;
  margin: 0 auto;
  background: var(--bg-hero);
}
@media (min-width: 1024px) {
  .about-photo-frame { margin: 0; }
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content-col { flex: 1; min-width: 0; }
.about-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .about-info-card { padding: 2rem; }
}
.about-info-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .about-info-card h2 { font-size: 1.25rem; }
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
}
@media (min-width: 640px) {
  .about-info-grid { grid-template-columns: repeat(2, 1fr); }
}
.about-info-grid .lbl {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.25rem;
}
.about-info-grid .val {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.about-body-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .about-body-card { padding: 2rem; }
}
.about-body-card > h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-body-card > h2::before {
  content: "";
  width: 3px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
}

/* ——— contact tiles ——— */
.contact-tiles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
a.contact-tile:hover {
  border-color: rgba(0, 59, 92, 0.2);
  box-shadow: var(--shadow-sm);
}
.contact-tile-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: rgba(0, 59, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.25rem;
}
.contact-tile-body { flex: 1; min-width: 0; }
.contact-tile-body .lbl {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 0.125rem;
}
.contact-tile-body .val {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-tile .arrow {
  color: var(--gray-300);
  flex-shrink: 0;
}
.contact-tip {
  background: rgba(0, 59, 92, 0.05);
  border: 1px solid rgba(0, 59, 92, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}
.contact-tip i { color: var(--primary); font-size: 1.125rem; margin-top: 0.125rem; }
.contact-tip p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.65; }

/* ——— detail shell ——— */
.detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .detail-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
  }
}
.detail-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .detail-panel { padding: 2rem; }
}
.detail-aside {
  position: relative;
}
@media (min-width: 1024px) {
  .detail-aside {
    position: sticky;
    top: 6.5rem;
  }
}
.alert-soft {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--bg-disclaimer);
  border: 1px solid rgba(0, 59, 92, 0.08);
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}
.alert-soft i { color: var(--primary); flex-shrink: 0; }
.meta-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem;
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}
.meta-card:hover { border-color: rgba(0, 59, 92, 0.2); }
.meta-card img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
}
.meta-card strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}
.meta-card span {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
}
.result-box {
  background: var(--bg-cool);
  border-left: 3px solid var(--primary);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.result-box strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.result-box p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.65;
}
.article-lead {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 0.9375rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.faq-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.mt-section { margin-top: 2rem; }

/* ——— related ——— */
.related-section {
  padding: 3rem 0 4rem;
  background: var(--bg-warm);
}
.related-section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}
.related-lawyer {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.related-lawyer img {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  object-fit: cover;
}
.related-block { margin-bottom: 1.5rem; }
.related-block > h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}
.related-item:hover {
  border-color: rgba(0, 59, 92, 0.25);
  color: var(--primary);
}
.related-item i { color: var(--gray-300); }

/* ——— forms multi-context ——— */
.nm-form h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.nm-form .form-sub {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  background: var(--white);
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 59, 92, 0.1);
}
.form-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-check input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}
.form-check label {
  margin: 0;
  font-weight: 400;
  color: var(--gray-600);
  font-size: 0.8125rem;
}
.form-check a {
  color: var(--primary);
  text-decoration: underline;
}
.form-btn {
  width: 100%;
  margin-top: 0.25rem;
}
.form-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.55;
}
.consult-error {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 0.375rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}

/* form-band: home / list bottoms */
.form-band {
  background: var(--bg-cool);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .form-band { padding: 5rem 0; }
}
.form-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .form-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.form-band-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-band-kicker span {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}
.form-band-intro h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}
@media (min-width: 768px) {
  .form-band-intro h2 { font-size: 1.875rem; }
}
.form-band-desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.form-band-meta p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}
.form-band-meta i { color: var(--primary); }
.form-band-meta a {
  color: var(--primary);
  font-weight: 600;
}
.form-band-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .form-band-card { padding: 1.75rem; }
}

/* form-sidebar: detail aside */
.form-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.form-sidebar .nm-form h3 {
  font-size: 1rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--primary);
}
.form-sidebar .form-sub { font-size: 0.75rem; }
.form-sidebar .form-field { margin-bottom: 0.75rem; }
.form-sidebar .form-field input[type="text"],
.form-sidebar .form-field input[type="tel"],
.form-sidebar .form-field textarea {
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
}
.form-sidebar .form-field textarea { min-height: 4.5rem; }

/* form-embed: about — 与简介白卡同级，自带白底，避免雾蓝底上输入框「隐身」 */
.form-embed .nm-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
}
@media (min-width: 768px) {
  .form-embed .nm-form { padding: 2rem; }
}
.form-embed .nm-form h3 {
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-embed .nm-form h3::before {
  content: "";
  width: 3px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
}
.form-embed .form-field input[type="text"],
.form-embed .form-field input[type="tel"],
.form-embed .form-field textarea {
  background: var(--bg-cool);
  border-color: var(--gray-100);
}

/* form-contact: contact page */
.form-contact {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .form-contact { padding: 2rem; }
}
.form-contact .nm-form {
  text-align: left;
}
.form-contact .form-field input[type="text"],
.form-contact .form-field input[type="tel"],
.form-contact .form-field textarea {
  border-radius: var(--radius);
}

/* form-consult-page: dedicated consult */
.form-consult-page {
  max-width: 48rem; /* 加宽，避免咨询专页过窄 */
  margin: 0 auto;
}
.form-consult-page .form-consult-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.form-consult-page .nm-form {
  background: var(--white);
  border: 2px solid rgba(0, 59, 92, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .form-consult-page .nm-form { padding: 2.5rem 2.75rem; }
}
.form-consult-page .nm-form h3 {
  font-size: 1.25rem;
  color: var(--primary);
}
.form-consult-page .form-field input[type="text"],
.form-consult-page .form-field input[type="tel"],
.form-consult-page .form-field textarea {
  padding: 0.75rem 1rem;
}
.form-consult-page .form-field textarea {
  min-height: 7rem;
}
.form-consult-page .form-btn {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  font-size: 1rem;
  width: 100%;
}

/* ——— pager ——— */
.pager,
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
  padding: 0.5rem 0;
}
.pager a,
.pager span,
.pagination a,
.pagination span,
.pager li a,
.pager li span,
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pager a:hover,
.pagination a:hover,
.pager li a:hover,
.pagination li a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pager .active,
.pager .current,
.pagination .active,
.pagination .current,
.pager span.current,
.pagination span.current,
.pager li.active span,
.pagination li.active span {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}
.pager .disabled,
.pagination .disabled,
.pager li.disabled span,
.pagination li.disabled span {
  opacity: 0.45;
  pointer-events: none;
}
.pager ul,
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  list-style: none;
}

/* ——— prose ——— */
.prose {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.prose h2,
.prose h3,
.prose h4 {
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
  font-weight: 700;
}
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.125rem; }
.prose p { margin-bottom: 1rem; }
.prose ul,
.prose ol {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img {
  margin: 1rem 0;
  border-radius: 0.5rem;
}
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1rem 0;
  color: var(--gray-600);
  background: var(--bg-cool);
  border-radius: 0 0.375rem 0.375rem 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}
.prose th,
.prose td {
  border: 1px solid var(--gray-200);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.prose th { background: var(--bg-cool); }

/* ——— trust bar ——— */
.trust-bar {
  background: var(--bg-sand);
  border-top: 1px solid rgba(0, 59, 92, 0.06);
  border-bottom: 1px solid rgba(0, 59, 92, 0.06);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
}
@media (min-width: 640px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.trust-item > i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 600;
}
.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.15rem;
  line-height: 1.45;
}
.trust-item a {
  color: var(--primary);
  font-weight: 500;
}

/* ——— footer ——— */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 4rem 0;
  }
}
.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .footer-brand-name { font-size: 1.75rem; }
}
.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 20rem;
  margin-bottom: 1rem;
}
.footer-nap p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.footer-nap a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-nap a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer-practices a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-practices a:hover { color: var(--white); }
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.footer-wechat:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}
.footer-qr {
  margin-top: 0.75rem;
  width: 96px;
  height: 96px;
  border-radius: 0.5rem;
  object-fit: cover;
  background: var(--white);
  padding: 0.25rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 1.5rem;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.footer-beian {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.35rem;
}
.footer-tech {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.28);
}
.footer-tech a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: underline;
}
.footer-tech a:hover { color: rgba(255, 255, 255, 0.55); }

/* ——— pc convert ——— */
.pc-convert {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -4px 20px rgba(10, 37, 64, 0.06);
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
  body { padding-bottom: 72px; }
}
.pc-convert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
}
.pc-convert-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.pc-convert-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ——— mobile bar ——— */
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -2px 12px rgba(10, 37, 64, 0.08);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem 0.25rem;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.6875rem;
  cursor: pointer;
  text-decoration: none;
}
.mobile-bar-item i {
  font-size: 1.25rem;
  color: var(--primary);
}
.mobile-bar-item.mobile-cta {
  color: var(--white);
}
.mobile-bar-item.mobile-cta i,
.mobile-bar-item.mobile-cta span {
  color: var(--white);
}
.mobile-bar-item.mobile-cta {
  background: var(--primary);
  border-radius: 0.5rem;
  margin: 0.15rem;
}

/* ——— wechat modal ——— */
#wechat-modal,
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 37, 64, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#wechat-modal.is-open,
.wechat-modal.is-open {
  display: flex;
}
.wechat-modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--gray-400);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}
.wechat-modal-close:hover { color: var(--ink); background: var(--gray-50); }
.wechat-modal-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 59, 92, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.wechat-modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.wechat-modal-desc {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.wechat-qr {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-100);
}
.wechat-modal-dismiss {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.875rem;
  cursor: pointer;
}
.wechat-modal-dismiss:hover { background: var(--gray-50); }

.wechat-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.wechat-id-label { color: var(--gray-500); }
.wechat-id-value { color: var(--ink); font-weight: 700; }
.wechat-id-row button {
  border: 1px solid var(--primary);
  background: rgba(0, 59, 92, 0.06);
  color: var(--primary);
  border-radius: 0.375rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}
.wechat-id-row button:hover { background: var(--primary); color: var(--white); }
.wechat-id-hint {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.wechat-id-hint strong {
  color: #b45309;
  font-weight: 700;
}

/* ——— thanks / 404 ——— */
.thanks-page,
.error-page {
  padding: 7rem 0 4rem;
  text-align: center;
  background: var(--bg-cool);
  min-height: 60vh;
}
.thanks-icon,
.error-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: rgba(0, 59, 92, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.thanks-page h1,
.error-page h1 {
  font-size: 1.75rem;
  color: var(--primary);
  font-family: var(--font-serif);
}
.thanks-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.thanks-wechat {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 20rem;
}
.thanks-wechat img {
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
}
.thanks-hours {
  margin-top: 1.5rem;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}
.thanks-hours h2 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.off-hours-tip {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #b45309;
  background: var(--bg-disclaimer);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  line-height: 1.5;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.error-practices a {
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  color: var(--primary);
}
.error-practices a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ——— section spacing helpers ——— */
.section-pad {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .section-pad { padding: 6rem 0; }
}
.section-head {
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-head { margin-bottom: 3.5rem; }
}
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
  }
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.link-more:hover { text-decoration: underline; }

.list-section {
  background: var(--bg-cool);
  padding: 3rem 0 4rem;
}
@media (min-width: 768px) {
  .list-section { padding: 4rem 0 5rem; }
}

/* animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy,
.hero-glass,
.hero-portrait-wrap {
  animation: fadeUp 0.7s ease-out both;
}
.hero-glass { animation-delay: 0.12s; }
.hero-portrait-wrap { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
