/* lawyer-mauve-ivory — 藕紫象牙 · port of Full-service-15 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8B7AA0;
  --primary-dark: #6A5A7D;
  --primary-light: #B8A8C8;
  --primary-lighter: #D4C8DE;
  --primary-soft: #F0ECF4;
  --primary-10: rgba(139, 122, 160, 0.10);
  --primary-08: rgba(138, 122, 160, 0.08);
  --primary-06: rgba(138, 122, 160, 0.06);
  --primary-12: rgba(138, 122, 160, 0.12);
  --primary-15: rgba(138, 122, 160, 0.15);
  --text: #2D2D2D;
  --text-secondary: #666666;
  --text-muted: #999999;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --footer: #4A3A5A;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(138, 122, 160, 0.06);
  --shadow-md: 0 8px 40px rgba(138, 122, 160, 0.12);
  --shadow-lg: 0 8px 40px rgba(138, 122, 160, 0.15);
  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --font-sans: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", Georgia, "Times New Roman", serif;
  --nav-h: 4rem;
  --mobile-bar-h: 84px;
}

@media (min-width: 768px) {
  :root { --nav-h: 5rem; }
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding-bottom: var(--mobile-bar-h);
}

@media (min-width: 768px) {
  body { padding-bottom: 88px; }
}

body.nav-open { overflow: hidden; }

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-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

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

.wrap {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .wrap { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .wrap { padding-left: 3rem; padding-right: 3rem; }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.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;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-dark); }

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

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

.kicker {
  display: block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  font-size: 1.875rem;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 36rem;
}
.section-rule {
  width: 4rem;
  height: 4px;
  background: var(--primary-10);
  border-radius: 999px;
  margin: 1rem auto 0;
}
.section-head { text-align: center; margin-bottom: 3rem; }
.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;
  }
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  align-self: flex-start;
  transition: all 0.3s;
}
.link-more:hover {
  background: var(--primary);
  color: var(--white);
}

.section-pad { padding: 4rem 0; }
@media (min-width: 768px) {
  .section-pad { padding: 6rem 0; }
}
.bg-white { background: var(--card); }
.bg-main { background: var(--bg); }

/* ========== Nav ========== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
  background: transparent;
}
#navbar.nav-scrolled,
#navbar.nav-inner {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--primary-08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 1.125rem;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
img.nav-logo-ico {
  object-fit: cover;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}
#navbar.nav-scrolled .nav-logo-ico,
#navbar.nav-inner .nav-logo-ico {
  background: var(--primary);
  color: var(--white);
  backdrop-filter: none;
}
#navbar.nav-scrolled img.nav-logo-ico,
#navbar.nav-inner img.nav-logo-ico {
  background: transparent;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s;
}
@media (min-width: 640px) {
  .nav-logo-text { font-size: 1.125rem; }
}
.nav-firm {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
#navbar.nav-scrolled .nav-logo-text,
#navbar.nav-inner .nav-logo-text { color: var(--text); }
#navbar.nav-scrolled .nav-firm,
#navbar.nav-inner .nav-firm { color: var(--text-muted); }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}
.nav-item {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: all 0.3s;
}
.nav-item:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.nav-item.active {
  background: rgba(139, 122, 160, 0.1);
  color: var(--primary);
}
#navbar.nav-scrolled .nav-item,
#navbar.nav-inner .nav-item { color: var(--text-secondary); }
#navbar.nav-scrolled .nav-item:hover,
#navbar.nav-inner .nav-item:hover {
  color: var(--primary);
  background: var(--primary-10);
}
#navbar.nav-scrolled .nav-item.active,
#navbar.nav-inner .nav-item.active {
  background: var(--primary-10);
  color: var(--primary);
}
.nav-item.is-cta {
  background: var(--white);
  color: var(--primary);
}
.nav-item.is-cta:hover { background: rgba(255, 255, 255, 0.9); color: var(--primary); }
#navbar.nav-scrolled .nav-item.is-cta,
#navbar.nav-inner .nav-item.is-cta {
  background: var(--primary);
  color: var(--white);
}
#navbar.nav-scrolled .nav-item.is-cta:hover,
#navbar.nav-inner .nav-item.is-cta:hover { background: var(--primary-dark); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--white);
  color: var(--primary);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.9); }
#navbar.nav-scrolled .nav-cta,
#navbar.nav-inner .nav-cta {
  background: var(--primary);
  color: var(--white);
}
#navbar.nav-scrolled .nav-cta:hover,
#navbar.nav-inner .nav-cta:hover { background: var(--primary-dark); }
@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
}

.nav-mobile-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}
#navbar.nav-scrolled .nav-mobile-btn,
#navbar.nav-inner .nav-mobile-btn { color: var(--text); }
@media (min-width: 768px) {
  .nav-mobile-btn { display: none; }
}

#mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
}
#mobile-menu-overlay.open { display: block; }
.mobile-overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.35);
}
.mobile-menu-panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--primary-10);
  box-shadow: 0 8px 24px var(--primary-08);
  padding: 1rem;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-10);
  color: var(--primary);
}
.mobile-menu-cta { margin-top: 0.75rem; }
.mobile-menu-cta .btn-primary { width: 100%; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { min-height: 700px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 800px; }
}
.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, #4A3A5A 0%, #6A5A7D 55%, #8B7AA0 100%);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent, rgba(0, 0, 0, 0.4));
}
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 8rem;
}
@media (min-width: 768px) {
  .hero-inner { padding-top: 8rem; padding-bottom: 8rem; }
}
.hero-copy { max-width: 42rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--primary-light); }
.hero h1 {
  font-size: 2.25rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; margin-bottom: 1.5rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 36rem;
  font-style: italic;
}
@media (min-width: 768px) {
  .hero-tagline { font-size: 1.125rem; margin-bottom: 2.5rem; }
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.hero-ctas .btn-primary { padding: 1rem 2rem; font-size: 1rem; }
.hero-about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}
.hero-about-link:hover { color: var(--white); }

/* ========== Profile bar ========== */
.profile-bar {
  position: relative;
  z-index: 20;
  margin-top: -4rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .profile-bar {
    margin-top: -5rem;
    margin-bottom: 6rem;
  }
}
.profile-card {
  max-width: 64rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .profile-card {
    flex-direction: row;
    padding: 2rem;
    gap: 2.5rem;
  }
}
.profile-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .profile-id { gap: 1.5rem; }
}
.profile-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--primary-12);
  flex-shrink: 0;
  background: var(--primary-soft);
}
@media (min-width: 768px) {
  .profile-avatar { width: 6rem; height: 6rem; }
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}
.profile-id h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .profile-id h2 { font-size: 1.875rem; }
}
.profile-title {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}
.profile-firm {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.125rem;
}
.profile-divider {
  display: none;
  width: 1px;
  height: 4rem;
  background: var(--primary-10);
}
@media (min-width: 768px) {
  .profile-divider { display: block; }
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  flex: 1;
}
@media (min-width: 768px) {
  .profile-meta { justify-content: flex-start; gap: 1.5rem; }
}
.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-meta-ico {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-lg);
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}
.profile-meta-item .lbl {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.profile-meta-item .val {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}
.profile-meta-item a.val:hover { color: var(--primary); }
.profile-qr {
  display: none;
  flex-shrink: 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .profile-qr { display: block; }
}
.profile-qr img,
.profile-qr-btn {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-10);
  object-fit: cover;
}
.profile-qr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  cursor: pointer;
  font-size: 0.7rem;
  border: 1px solid var(--primary-10);
}
.profile-qr .hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ========== Intro ========== */
.intro-photo { position: relative; }
.intro-frame {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--primary-soft);
}
.intro-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.intro-deco-br,
.intro-deco-tl {
  position: absolute;
  border-radius: var(--radius-2xl);
  z-index: -1;
}
.intro-deco-br {
  width: 6rem;
  height: 6rem;
  background: var(--primary-10);
  bottom: -1rem;
  right: -1rem;
}
.intro-deco-tl {
  width: 4rem;
  height: 4rem;
  background: rgba(212, 200, 222, 0.4);
  top: -1rem;
  left: -1rem;
}
.intro-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .intro-row {
    flex-direction: row;
    gap: 4rem;
  }
  .intro-photo { width: 40%; flex-shrink: 0; }
  .intro-copy { width: 60%; }
}
.intro-copy p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .intro-copy p { font-size: 1.125rem; }
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .intro-stats { grid-template-columns: repeat(3, 1fr); }
}
.intro-stat {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.intro-stat-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}
.intro-stat strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
}
.intro-stat span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}
.intro-cta { margin-top: 2rem; }

.photo-fallback {
  width: 100%;
  min-height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

/* ========== Practice cards ========== */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .svc-grid.svc-home { grid-template-columns: repeat(4, 1fr); }
}
.svc-card {
  display: block;
  background: var(--bg);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-10);
}
.svc-list-card {
  background: var(--card);
  padding: 1.5rem 2rem;
}
.svc-ico {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: background 0.3s, color 0.3s;
}
.svc-card:hover .svc-ico {
  background: var(--primary);
  color: var(--white);
}
.svc-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.svc-en {
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.svc-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}
.svc-more {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover .svc-more { opacity: 1; }
.svc-more-always { opacity: 1; }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ========== Text list cards (news / cases, no cover) ========== */
.news-grid,
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .news-grid,
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .news-grid,
  .case-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .news-grid.news-home { grid-template-columns: repeat(4, 1fr); }
}
.list-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.3s, border-color 0.3s;
  height: 100%;
}
.list-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-10);
}
.list-card h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.list-card:hover h3 { color: var(--primary); }
.list-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}
.list-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(139, 122, 160, 0.05);
  margin-top: auto;
}
.list-card-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.tag-anon {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.list-card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========== Process ========== */
.process-banner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .process-banner { margin-bottom: 3.5rem; }
}
.process-banner-media {
  aspect-ratio: 21 / 9;
  min-height: 10rem;
}
@media (min-width: 768px) {
  .process-banner-media { aspect-ratio: 21 / 7; }
}
.process-banner-media img,
.process-banner-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-banner-fallback {
  background: linear-gradient(135deg, #4A3A5A, #6A5A7D);
}
.process-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
}
.process-banner-copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .process-banner-copy { padding: 3rem 4rem; }
}
.process-banner-copy h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .process-banner-copy h3 { font-size: 1.875rem; }
}
.process-banner-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
.step-item {
  position: relative;
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
}
.step-card {
  background: var(--bg);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.steps-section.bg-main .step-card { background: var(--card); }
.step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-arrow {
  display: none;
}
.steps-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.steps-cta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .steps-cta { margin-top: 3.5rem; }
  .steps-cta h3 { font-size: 1.5rem; }
}

.detail-shell .steps-section {
  padding: 2.5rem 0 0;
}
.detail-shell .steps-section .wrap {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.detail-shell .steps-cta { margin-top: 1.5rem; }

/* ========== Banners ========== */
.banners-section { padding: 0 0 3rem; }
.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .banner-grid { grid-template-columns: 1fr 1fr; }
}
.banner-card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}
.banner-card h2 {
  font-size: 1.125rem;
  padding: 1rem 1.25rem 0.5rem;
}
.banner-card .btn-primary {
  margin: 0 1.25rem 1.25rem;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--footer);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand .nav-logo-ico {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(184, 168, 200, 0.3);
  color: var(--white);
  font-size: 1.25rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-brand-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.875rem;
  border: 0;
  cursor: pointer;
}
.footer-wechat:hover { background: rgba(255, 255, 255, 0.2); }
.footer-qr {
  margin-top: 0.75rem;
  width: 6rem;
  height: 6rem;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.footer-col h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}
.footer-col a:hover { color: var(--white); }
.footer-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.footer-practices a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}
.footer-practices a:hover { color: var(--white); }
.footer-nap p {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.footer-nap i {
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
}
.footer-nap a:hover { color: var(--white); }
.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-disclaimer,
.footer-beian {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-disclaimer,
  .footer-beian { text-align: left; }
}
.footer-tech {
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.7rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-tech { text-align: right; }
}
.footer-tech a { color: inherit; }
.footer-tech a:hover { color: var(--primary-light); }

/* ========== Trust bar ========== */
.trust-bar {
  background: var(--primary-soft);
  border-top: 1px solid var(--primary-10);
  border-bottom: 1px solid var(--primary-10);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem 1rem;
}
@media (min-width: 768px) {
  .trust-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.trust-item i {
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 0.15rem;
}
.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 600;
}
.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.trust-item a:hover { color: var(--primary); }

/* ========== PC convert / mobile bar ========== */
.pc-convert {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--primary-10);
  box-shadow: 0 -4px 24px var(--primary-08);
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
}
.pc-convert-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pc-convert-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.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;
}

.mobile-bar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--primary-10);
  box-shadow: 0 -2px 12px var(--primary-08);
  padding-bottom: max(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.2rem;
  padding: 0.6rem 0.25rem 0.5rem;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  cursor: pointer;
}
.mobile-bar-item i { font-size: 1.15rem; }
.mobile-bar-item.mobile-cta {
  color: var(--primary);
  font-weight: 600;
}
.mobile-bar-item.mobile-cta i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== Wechat modal ========== */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(45, 45, 45, 0.45);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--bg);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-secondary);
}
.wechat-modal-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: #07c160;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.wechat-modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.wechat-modal-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.wechat-qr {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border-radius: var(--radius-lg);
}
.wechat-modal-dismiss {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--primary-10);
  background: var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-secondary);
}
.wechat-id-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
.wechat-id-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.wechat-id-value { font-size: 0.95rem; }
.wechat-id-row button {
  border: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.wechat-id-hint {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.wechat-id-hint strong {
  color: #c4564a;
  font-weight: 700;
}
@media (min-width: 768px) {
  /* 仅在弹层有二维码时隐藏复制区，避免无码站点电脑端无法添加微信 */
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

/* ========== Page hero (inner) ========== */
.page-hero {
  position: relative;
  padding: 5.5rem 0 3rem;
  background: rgba(139, 122, 160, 0.05);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .page-hero { padding: 7rem 0 5rem; }
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-fallback {
  width: 100%;
  height: 100%;
  background: rgba(139, 122, 160, 0.05);
}
.page-hero.has-img .page-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(74, 58, 90, 0.55), rgba(74, 58, 90, 0.4));
}
.page-hero.has-img h1,
.page-hero.has-img .page-hero-desc,
.page-hero.has-img .kicker { color: var(--white); }
.page-hero.has-img .crumbs a,
.page-hero.has-img .crumbs span { color: rgba(255, 255, 255, 0.8); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .page-hero h1 { font-size: 2.25rem; }
}
.page-hero-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.75rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .page-hero-desc { font-size: 1.125rem; }
}
.page-hero .section-rule { margin-left: auto; margin-right: auto; }
.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.crumbs a:hover { color: var(--primary); }
.crumbs .current { color: var(--text-secondary); }

.page-body { padding: 3rem 0 4rem; }
@media (min-width: 768px) {
  .page-body { padding: 3rem 0 5rem; }
}

/* ========== About ========== */
.about-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: 0 2px 12px var(--primary-08);
}
@media (min-width: 768px) {
  .about-card { padding: 2.5rem; }
}
@media (min-width: 1024px) {
  .about-card { padding: 3rem; }
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .about-info-grid { grid-template-columns: 1fr 1fr; }
}
.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.about-info-ico {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-lg);
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 0.875rem;
}
.about-info-item .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.about-info-item .val {
  font-weight: 600;
  color: var(--text);
}
.about-info-item a.val:hover { color: var(--primary); }
.about-photo-inline {
  width: 7rem;
  height: 9rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.about-photo-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-divider {
  height: 1px;
  background: var(--primary-10);
  margin-bottom: 2.5rem;
}
.about-section { margin-bottom: 2.5rem; }
.about-section:last-child { margin-bottom: 0; }
.about-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.about-section-title .ico {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.honor-list { padding-left: 2rem; }
.honor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.honor-item img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.35rem;
}

/* ========== Contact tiles ========== */
.contact-wrap { max-width: 56rem; margin: 0 auto; }
.contact-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 2px 12px var(--primary-08);
}
@media (min-width: 768px) {
  .contact-card { padding: 3rem; }
}
.contact-lead {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .contact-lead { font-size: 1.125rem; margin-bottom: 3rem; }
}
.contact-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-tiles { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--bg);
}
.contact-tile-ico {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-tile .lbl {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-tile .val {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.contact-tile a.val:hover { color: var(--primary); }
.contact-hint {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--primary-10);
  border: 1px solid var(--primary-10);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-hint strong { color: var(--primary); }

/* ========== Detail ========== */
.detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .detail-shell {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}
.detail-panel {
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .detail-panel { padding: 2.5rem; }
}
.article-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.meta-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--primary-10);
}
.meta-card img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}
.meta-card strong { display: block; }
.meta-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.alert-soft {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.alert-soft i { color: var(--primary); }
.result-box {
  padding: 1.1rem 1.25rem;
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 1.5rem;
}
.result-box strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--primary-10);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.faq-item p { color: var(--text-secondary); font-size: 0.9rem; }
.mt-section { margin-top: 2rem; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.font-semibold { font-weight: 600; }
.mb-4 { margin-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }

.related-section { padding: 0 0 4rem; }
.related-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.related-lawyer {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.related-lawyer img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
}
.related-lawyer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.related-block { margin-top: 1.5rem; }
.related-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.related-item:hover { color: var(--primary); }

/* ========== Pager ========== */
.pager {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
}
.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-radius: var(--radius);
  border: 1px solid var(--primary-10);
  background: var(--card);
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.pagination li a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination li.active span,
.pagination li.active a {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.pagination li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ========== Forms: shared fields ========== */
.mi-form h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.form-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--primary-10);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field textarea { min-height: 6rem; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-check input { margin-top: 0.2rem; }
.form-check label { margin: 0; font-size: 0.8rem; }
.form-check a { color: var(--primary); text-decoration: underline; }
.form-btn { width: 100%; }
.form-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.consult-error {
  color: #c4564a;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* form-band: home / list bottoms — left copy + right form */
.form-band {
  padding: 4rem 0;
  background: var(--primary-dark);
  color: var(--white);
}
@media (min-width: 768px) {
  .form-band { padding: 5rem 0; }
}
.form-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .form-band-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
  }
}
.form-band-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.form-band-kicker .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--primary-light);
}
.form-band-intro h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .form-band-intro h2 { font-size: 1.875rem; }
}
.form-band-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.form-band-meta p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}
.form-band-meta a { color: var(--white); text-decoration: underline; }
.form-band-card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .form-band-card { padding: 1.75rem; }
}
.form-band .mi-form h3 { color: var(--text); }
.form-band .form-sub { color: var(--text-secondary); }

/* form-sidebar: detail aside — compact, sticky */
.form-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
}
.form-sidebar .mi-form h3 {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.form-sidebar .mi-form h3::before {
  content: "";
  width: 3px;
  height: 1rem;
  background: var(--primary);
  border-radius: 999px;
}
.form-sidebar .form-sub { font-size: 0.75rem; }
.form-sidebar .form-field { margin-bottom: 0.75rem; }
.form-sidebar .form-field textarea { min-height: 4.5rem; }

/* form-about: inside existing white card, no nested card */
.form-about {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--primary-10);
}
.form-about .mi-form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
}
.form-about .mi-form h3::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: var(--primary-10);
  background-image: none;
}

/* form-contact: same tile language as contact page */
.form-contact {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--bg);
}
@media (min-width: 768px) {
  .form-contact { padding: 1.5rem; }
}
.form-contact .mi-form {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* form-consult-page: dedicated consult — slightly stronger */
.form-consult-page { max-width: 36rem; margin: 0 auto; }
.form-consult-lead {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.form-consult-lead a { color: var(--primary); font-weight: 600; }
.form-consult-page .mi-form {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-10);
}
@media (min-width: 768px) {
  .form-consult-page .mi-form { padding: 2.25rem; }
}
.form-consult-page .form-btn { padding: 0.9rem; }

/* ========== Thanks / 404 / privacy ========== */
.thanks-page,
.error-page {
  padding: 6.5rem 0 4rem;
  text-align: center;
}
.thanks-icon,
.error-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.thanks-lead,
.error-lead {
  color: var(--text-secondary);
  margin: 0.75rem 0 1.5rem;
}
.thanks-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.thanks-wechat {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thanks-wechat img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
}
.thanks-hours {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  text-align: left;
}
.off-hours-tip {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #c4564a;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.error-practices a {
  padding: 0.4rem 0.85rem;
  background: var(--card);
  border-radius: 999px;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}
.error-practices a:hover { color: var(--primary); }
.privacy-wrap {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-2xl);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
}

/* ========== Prose ========== */
.prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.prose h2 { font-size: 1.25rem; }
.prose h3 { font-size: 1.125rem; }
.prose p { margin-bottom: 1.15rem; }
.prose ul,
.prose ol {
  margin: 0 0 1.15rem 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: var(--radius-lg);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.prose th,
.prose td {
  border: 1px solid var(--primary-10);
  padding: 0.5rem 0.7rem;
  text-align: left;
}
.prose th { background: var(--primary-soft); }

@media (max-width: 767px) {
  .svc-more { opacity: 1; }
}
