/* 炭灰沙金 · lawyer-charcoal-sand · Other-services-11 移植 */

:root {
  --charcoal: #4a5568;
  --charcoal-700: #3d4654;
  --charcoal-800: #333c47;
  --charcoal-900: #2b323b;
  --charcoal-50: #f7f8f9;
  --charcoal-100: #e8ebed;
  --ivory: #f7f5ed;
  --ivory-50: #fdfcf9;
  --ivory-200: #f0ece0;
  --ivory-300: #e8e2d1;
  --sand: #c4a472;
  --sand-500: #b8955e;
  --sand-600: #a88452;
  --sand-50: #f8f3ec;
  --sand-100: #efe5d5;
  --white: #ffffff;
  --text: #4a5568;
  --text-muted: rgba(74, 85, 104, 0.6);
  --text-soft: rgba(74, 85, 104, 0.5);
  --radius: 0.75rem;
  --radius-full: 9999px;
  --shadow: 0 10px 30px rgba(43, 50, 59, 0.08);
  --header-h: 4.5rem;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 5.5rem;
}

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

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

a { color: var(--sand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sand-600); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 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;
}

/* —— Buttons —— */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sand);
  color: var(--ivory);
  border-color: var(--sand);
}
.btn-primary:hover { background: var(--sand-600); color: var(--ivory); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(74, 85, 104, 0.25);
}
.btn-outline:hover { border-color: var(--sand); color: var(--sand); }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 245, 237, 0.4);
}
.btn-ghost:hover { background: rgba(247, 245, 237, 0.1); color: var(--ivory); }

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 245, 237, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}
.btn-outline-light:hover { background: rgba(247, 245, 237, 0.1); color: var(--ivory); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8125rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sand);
  font-size: 0.875rem;
  font-weight: 500;
}
.text-link:hover { color: var(--sand-600); }
.text-link-under { border-bottom: 1px solid rgba(196, 164, 114, 0.3); padding-bottom: 0.15rem; }

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s;
  background: transparent;
}

.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(247, 245, 237, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(43, 50, 59, 0.06);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-row { height: 5rem; }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}
.nav-brand:hover { color: inherit; }

.nav-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(196, 164, 114, 0.3);
  background: var(--ivory-200);
}

.nav-logo-ico {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory-200);
  color: var(--sand);
  border: 2px solid rgba(196, 164, 114, 0.3);
  font-size: 1.1rem;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ivory);
  transition: color .3s;
}

.site-header.is-solid .nav-logo-text,
.site-header.is-scrolled .nav-logo-text { color: var(--charcoal); }

.nav-desktop { display: none; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }

.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(247, 245, 237, 0.9);
  white-space: nowrap;
  transition: color .2s;
}
.nav-item:hover,
.nav-item.is-active { color: var(--sand); }

.site-header.is-solid .nav-item,
.site-header.is-scrolled .nav-item { color: var(--charcoal); }
.site-header.is-solid .nav-item:hover,
.site-header.is-solid .nav-item.is-active,
.site-header.is-scrolled .nav-item:hover,
.site-header.is-scrolled .nav-item.is-active { color: var(--sand); }

.nav-item.is-cta {
  background: var(--sand);
  color: var(--ivory) !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
}
.nav-item.is-cta:hover { background: var(--sand-600); color: var(--ivory) !important; }

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--sand);
  color: var(--ivory);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}
.nav-phone:hover { background: var(--sand-600); color: var(--ivory); }
@media (min-width: 900px) { .nav-phone { display: inline-flex; } }

.nav-mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.35rem;
  cursor: pointer;
}
.site-header.is-solid .nav-mobile-btn,
.site-header.is-scrolled .nav-mobile-btn { color: var(--charcoal); }
@media (min-width: 900px) { .nav-mobile-btn { display: none; } }

.mobile-menu {
  background: rgba(247, 245, 237, 0.98);
  border-top: 1px solid rgba(74, 85, 104, 0.1);
  padding: 0.5rem 1rem 1rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(74, 85, 104, 0.05);
}
.mobile-nav-link.is-active { color: var(--sand); }
.mobile-nav-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: var(--sand);
  color: var(--ivory);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}
.mobile-nav-phone:hover { color: var(--ivory); background: var(--sand-600); }

/* —— Hero banner —— */
.hero-banner {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-banner { height: 600px; }
}
@media (min-width: 1024px) {
  .hero-banner { height: 700px; }
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
}
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #4a5568 0%, #3d4654 45%, #2b323b 100%);
}
.hero-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(74, 85, 104, 0.5), rgba(74, 85, 104, 0.3), rgba(74, 85, 104, 0.6));
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  max-width: 56rem;
  margin-top: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(247, 245, 237, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  color: rgba(247, 245, 237, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sand);
}

.hero-banner h1 {
  color: var(--ivory);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-sub {
  font-family: var(--font-serif);
  color: rgba(247, 245, 237, 0.8);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.hero-lead {
  color: rgba(247, 245, 237, 0.6);
  font-size: 0.9375rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(247, 245, 237, 0.4);
  font-size: 0.75rem;
  z-index: 2;
}
.hero-scroll-hint i {
  animation: cs-bounce 1s infinite;
}
@keyframes cs-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25%); }
}

/* —— Lawyer info (ivory) —— */
.lawyer-info {
  background: var(--ivory);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .lawyer-info { padding: 6rem 0; }
}

.lawyer-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .lawyer-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.sec-pill {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(74, 85, 104, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.lawyer-info h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.35rem;
}
.lawyer-info-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--sand);
  margin-bottom: 2rem;
}

.info-rows { display: flex; flex-direction: column; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(74, 85, 104, 0.1);
  font-size: 0.875rem;
  gap: 1rem;
}
.info-row span { color: var(--text-muted); }
.info-row strong,
.info-row a,
.info-link-btn {
  color: var(--charcoal);
  font-weight: 500;
  background: none;
  border: none;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.info-row a:hover,
.info-link-btn:hover { color: var(--sand); }

.lawyer-info-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.lawyer-avatars {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.lawyer-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.lawyer-avatar,
.lawyer-qr {
  width: 6rem;
  height: 6rem;
  overflow: hidden;
  border: 4px solid rgba(196, 164, 114, 0.2);
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .lawyer-avatar, .lawyer-qr { width: 7rem; height: 7rem; }
}
.lawyer-avatar { border-radius: 50%; }
.lawyer-qr { border-radius: 0.75rem; background: var(--ivory); }
.lawyer-avatar img,
.lawyer-qr img { width: 100%; height: 100%; object-fit: cover; }

.lawyer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--ivory-200);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--charcoal);
}
.chip i { color: var(--sand); }

/* —— Intro (white) —— */
.intro-section {
  background: var(--white);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .intro-section { padding: 6rem 0; }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.intro-copy h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.35rem;
}
.intro-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 300;
  color: rgba(74, 85, 104, 0.4);
  margin-bottom: 2rem;
}
.intro-lead {
  color: rgba(74, 85, 104, 0.7);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.intro-firm {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.intro-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.intro-traits span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: rgba(74, 85, 104, 0.7);
}
.intro-traits i { color: var(--sand); font-size: 1.15rem; }

.intro-photo-frame {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(43, 50, 59, 0.12);
}
@media (min-width: 1024px) {
  .intro-photo-frame { margin-left: auto; margin-right: 0; }
}
.intro-photo-frame img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}
.intro-photo-fallback {
  min-height: 20rem;
  background: linear-gradient(145deg, var(--ivory-200), var(--charcoal-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 1.5rem;
}
.intro-photo-caption {
  position: absolute;
  bottom: -0.5rem;
  left: -0.5rem;
  background: var(--ivory);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  padding: 0.85rem 1rem;
  max-width: 11rem;
}
@media (min-width: 768px) {
  .intro-photo-caption { left: -1.5rem; bottom: -1rem; }
}
.intro-photo-name { font-size: 0.875rem; font-weight: 500; margin: 0; color: var(--charcoal); }
.intro-photo-title { font-size: 0.75rem; color: var(--text-muted); margin: 0.15rem 0 0; }

/* —— Services (ivory-200) —— */
.services-section {
  background: var(--ivory-200);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .services-section { padding: 6rem 0; }
}

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.35rem;
}
.section-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
.section-desc-serif {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-soft);
  margin-top: 0.25rem;
}
.section-head { text-align: center; margin-bottom: 2.5rem; }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.svc-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: inherit;
  transition: box-shadow .25s, border-color .25s;
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .svc-card { padding: 2rem; }
}
.svc-list .svc-card {
  border-color: rgba(74, 85, 104, 0.1);
}
.svc-card:hover {
  box-shadow: var(--shadow);
  color: inherit;
  border-color: rgba(196, 164, 114, 0.3);
}
.svc-ico {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory-200);
  border-radius: var(--radius);
  color: var(--sand);
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
  transition: background .2s;
}
.svc-card:hover .svc-ico { background: rgba(196, 164, 114, 0.12); }
.svc-card h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.svc-card p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.15rem;
  color: var(--sand);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity .2s;
}
.svc-card:hover .svc-more { opacity: 1; }

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* —— Cases / News home —— */
.cases-home {
  background: var(--ivory);
  padding: 4rem 0;
}
.news-home {
  background: var(--white);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .cases-home, .news-home { padding: 6rem 0; }
}

.case-grid,
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: 1fr 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.list-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  color: inherit;
  transition: box-shadow .25s, border-color .25s;
  position: relative;
}
.list-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(196, 164, 114, 0.3);
  color: inherit;
}
.list-card-tinted {
  background: var(--sand-50);
  border-color: transparent;
}
.list-card-tinted:nth-child(2n) { background: var(--ivory-200); }
.list-card-tinted:nth-child(3n) { background: var(--white); border-color: rgba(74, 85, 104, 0.08); }
.list-card-tinted:nth-child(4n) { background: var(--ivory); }

.list-card-date {
  font-size: 0.75rem;
  color: rgba(74, 85, 104, 0.4);
  margin-bottom: 0.5rem;
}
.list-card h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color .2s;
}
.list-card:hover h3 { color: var(--sand); }
.list-card p {
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  color: var(--sand);
  font-size: 0.875rem;
  font-weight: 500;
}
.tag-anon {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: var(--sand-50);
  color: var(--sand-600);
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta-band { padding: 8rem 0; }
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3d4654, #2b323b);
  background-size: cover;
  background-position: center;
}
.cta-band-bg.has-img {
  background-color: #3d4654;
}
.cta-band-veil {
  position: absolute;
  inset: 0;
  background: rgba(74, 85, 104, 0.6);
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}
.cta-band h2 {
  color: var(--ivory);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.cta-band p {
  color: rgba(247, 245, 237, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 32rem;
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cta-band-actions { flex-direction: row; }
}
.cta-band-meta {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(247, 245, 237, 0.5);
}
.cta-band-meta p { margin: 0 0 0.35rem; color: inherit; }
.cta-band-meta a { color: rgba(247, 245, 237, 0.7); }
.cta-band-meta a:hover { color: var(--sand); }

/* —— Consult steps —— */
.steps-section {
  background: var(--ivory);
  padding: 4rem 0;
}
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid rgba(74, 85, 104, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
}
.step-item h3,
.step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--sand-50);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9375rem;
}
.step-item h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.steps-cta {
  text-align: center;
  margin-top: 2rem;
}

/* —— Page hero (charcoal dark) —— */
.page-hero {
  background: var(--charcoal-700);
  padding: 6.5rem 0 3rem;
  position: relative;
}
@media (min-width: 768px) {
  .page-hero { padding: 7.5rem 0 4rem; }
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-center { text-align: center; }
.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.page-hero-desc {
  color: rgba(247, 245, 237, 0.6);
  font-size: 0.9375rem;
  margin: 0;
}

.crumbs-bar {
  background: var(--ivory);
  border-bottom: 1px solid rgba(74, 85, 104, 0.1);
}
.crumbs-bar .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.crumbs-bar a { color: var(--text-muted); }
.crumbs-bar a:hover { color: var(--sand); }
.crumbs-bar i { font-size: 0.75rem; opacity: 0.6; }
.crumbs-bar .crumb-current,
.crumbs-bar span:last-child { color: var(--sand); }
.crumb-current {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

/* —— About —— */
.about-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--ivory);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .about-card {
    flex-direction: row;
    gap: 3rem;
    padding: 2.5rem;
  }
}
.about-photo {
  flex-shrink: 0;
  align-self: flex-start;
  width: 16rem;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .about-photo { margin: 0; width: 16rem; }
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.about-body { flex: 1; min-width: 0; }
.about-name {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 0.35rem;
}
.about-role {
  color: var(--sand);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.about-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .about-info-grid { grid-template-columns: 1fr 1fr; }
}
.about-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.about-info-item i {
  color: rgba(196, 164, 114, 0.8);
  margin-top: 0.15rem;
}
.meta-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}
.meta-val {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
}
.meta-val.sand { color: var(--sand); font-size: 1.05rem; }

.about-section { margin-top: 2rem; }
.about-section h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--sand);
}
.about-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.honor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.honor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.honor-item img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.35rem;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.contact-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .contact-tiles { grid-template-columns: 1fr 1fr; }
}
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  color: inherit;
}
.contact-tile:hover { color: inherit; border-color: rgba(196, 164, 114, 0.3); }
.contact-tile-ico {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  border-radius: var(--radius);
  color: var(--sand);
  font-size: 1.25rem;
}
.contact-form-wrap,
.form-consult-page .cs-form {
  background: var(--ivory);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .contact-form-wrap,
  .form-consult-page .cs-form { padding: 2rem; }
}
.contact-extra { margin-top: 2.5rem; }
.form-consult-page { max-width: 36rem; margin: 0 auto; }
.form-consult-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* —— Forms —— */
.cs-form h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.form-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--charcoal);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(74, 85, 104, 0.15);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sand);
}
.form-field textarea { min-height: 6rem; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-check input { width: auto; margin-top: 0.2rem; }
.form-check label { margin: 0; font-weight: 400; }
.form-btn { width: 100%; margin-top: 0.5rem; }
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: 0.85rem;
  margin-bottom: 0;
  line-height: 1.55;
}
.consult-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-sidebar .cs-form {
  background: var(--ivory);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  position: sticky;
  top: 6rem;
}
.form-sidebar .cs-form h3 {
  padding-left: 0.65rem;
  border-left: 3px solid var(--sand);
}
.form-consult-page .cs-form {
  box-shadow: 0 8px 24px rgba(43, 50, 59, 0.06);
  border-color: rgba(196, 164, 114, 0.35);
}

/* —— Detail —— */
.detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 960px) {
  .detail-shell {
    grid-template-columns: 1fr 20rem;
    gap: 2.5rem;
    align-items: start;
  }
}
.detail-panel {
  background: var(--white);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}
.article-lead {
  background: var(--ivory);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: rgba(74, 85, 104, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.result-box {
  background: var(--sand-50);
  border: 1px solid rgba(196, 164, 114, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.result-box strong {
  display: block;
  color: var(--sand-600);
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}
.result-box p { margin: 0; font-size: 0.9375rem; }
.alert-soft {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ivory);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.alert-soft i { color: var(--sand); }
.meta-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--ivory);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  color: inherit;
}
.meta-card:hover { color: inherit; }
.meta-card img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.meta-card strong { display: block; font-size: 0.9375rem; }
.meta-card span { font-size: 0.75rem; color: var(--text-muted); }
.detail-practice {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.faq-section { margin-top: 2.5rem; }
.faq-section h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.faq-item {
  border-bottom: 1px solid rgba(74, 85, 104, 0.1);
  padding: 1rem 0;
}
.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
}
.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.related-block { margin-top: 2.5rem; }
.related-block h2,
.related-block h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.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.85rem 1rem;
  background: var(--ivory);
  border-radius: 0.5rem;
  color: var(--charcoal);
  font-size: 0.875rem;
}
.related-item:hover { color: var(--sand); }
.related-section {
  background: var(--ivory);
  padding: 3rem 0;
}
.related-section > .wrap > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}
.related-lawyer {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: inherit;
}
.related-lawyer:hover { color: inherit; }
.related-lawyer img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}
.related-lawyer-name { font-weight: 600; font-size: 0.9375rem; }
.related-lawyer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
}

/* —— Pager —— */
.pager {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.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: 0.4rem;
  font-size: 0.875rem;
  border: 1px solid rgba(74, 85, 104, 0.15);
  color: var(--charcoal);
  background: var(--white);
}
.pagination li a:hover {
  border-color: var(--sand);
  color: var(--sand);
}
.pagination li.active span,
.pagination .active a {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ivory);
}
.pagination li.disabled span {
  opacity: 0.4;
  cursor: not-allowed;
}

/* —— Privacy / Thanks / 404 —— */
.privacy-wrap {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
}

.thanks-page,
.error-page {
  padding: 7rem 0 4rem;
  min-height: 60vh;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
}
.thanks-inner,
.error-inner {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}
.thanks-icon,
.error-icon {
  font-size: 3rem;
  color: var(--sand);
  margin-bottom: 1rem;
}
.error-icon { color: var(--charcoal-700); }
.thanks-lead,
.error-lead {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}
.thanks-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.thanks-wechat {
  background: var(--white);
  border: 1px solid rgba(74, 85, 104, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.thanks-wechat img {
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
}
.thanks-hours {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.thanks-hours h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.thanks-disclaimer {
  font-size: 0.75rem;
  color: var(--text-soft);
}
.off-hours-tip {
  font-size: 0.8125rem;
  color: var(--sand-600);
  margin-top: 0.5rem;
}
.error-practices-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.error-practices a {
  padding: 0.35rem 0.85rem;
  background: var(--ivory);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--charcoal);
}
.error-practices a:hover { color: var(--sand); }

/* —— Prose —— */
.prose {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: rgba(74, 85, 104, 0.85);
}
.prose h2, .prose h3, .prose h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.35rem; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}
.prose a { color: var(--sand); text-decoration: underline; }
.prose blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--sand);
  background: var(--ivory);
  color: var(--text-muted);
}

/* —— Trust bar —— */
.trust-bar {
  background: var(--ivory-200);
  border-top: 1px solid rgba(74, 85, 104, 0.08);
  padding: 1.5rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 900px) {
  .trust-inner { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
}
.trust-item i {
  color: var(--sand);
  font-size: 1.15rem;
  margin-top: 0.1rem;
}
.trust-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.8125rem;
}
.trust-item span { color: var(--text-muted); font-size: 0.75rem; }
.trust-item a { color: var(--sand); }

/* —— Footer —— */
.site-footer {
  background: var(--charcoal-700);
  color: rgba(247, 245, 237, 0.8);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.footer-firm,
.footer-license,
.footer-phone,
.footer-addr {
  font-size: 0.8125rem;
  color: rgba(247, 245, 237, 0.6);
  margin: 0 0 0.4rem;
}
.footer-phone a { color: rgba(247, 245, 237, 0.7); }
.footer-phone a:hover { color: var(--sand); }
.footer-disclaimer-inline {
  font-size: 0.75rem;
  color: rgba(247, 245, 237, 0.4);
  margin-top: 1rem;
  line-height: 1.55;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 245, 237, 0.5);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-nav-links a,
.footer-link {
  display: block;
  font-size: 0.875rem;
  color: rgba(247, 245, 237, 0.7);
  margin-bottom: 0.5rem;
}
.footer-nav-links a {
  margin-bottom: 0;
  line-height: 1.45;
}
.footer-nav-links a:hover,
.footer-link:hover { color: var(--sand); }
.footer-contact-col .btn-outline-light { margin-top: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(247, 245, 237, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy,
.footer-beian,
.footer-tech {
  font-size: 0.75rem;
  color: rgba(247, 245, 237, 0.4);
  margin: 0;
}
.footer-tech a {
  color: rgba(247, 245, 237, 0.45);
}
.footer-tech a:hover { color: var(--sand); }

/* —— PC convert / Mobile bar —— */
.pc-convert {
  display: none;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
}
@media (min-width: 768px) {
  .pc-convert { display: block; }
}
.pc-convert-inner {
  background: var(--white);
  border: 1px solid rgba(74, 85, 104, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(43, 50, 59, 0.14);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 15rem;
}
.pc-convert-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--charcoal);
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.pc-convert-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sand);
}

.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(247, 245, 237, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(74, 85, 104, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  height: 4rem;
  align-items: stretch;
  justify-content: space-around;
  padding: 0 0.25rem;
}
@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;
  background: none;
  border: none;
  color: rgba(74, 85, 104, 0.6);
  font-size: 0.625rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0.35rem;
  text-decoration: none;
}
.mobile-bar-item i { font-size: 1.15rem; }
.mobile-bar-item:hover,
.mobile-bar-item.mobile-cta { color: var(--sand); }

/* —— Wechat modal —— */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(43, 50, 59, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.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: 0 20px 50px rgba(43, 50, 59, 0.25);
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}
.wechat-modal-icon {
  font-size: 2.25rem;
  color: #07c160;
  margin-bottom: 0.5rem;
}
.wechat-modal-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.wechat-modal-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.wechat-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 0 auto 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(74, 85, 104, 0.1);
}
.wechat-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}
.wechat-id-label { color: var(--text-muted); }
.wechat-id-value { color: var(--charcoal); }
.wechat-id-row button {
  background: var(--sand);
  color: var(--ivory);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}
.wechat-id-row button:hover { background: var(--sand-600); }
.wechat-id-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.wechat-id-hint strong {
  color: #c45c4a;
  font-weight: 600;
}
.wechat-modal-dismiss {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid rgba(74, 85, 104, 0.15);
  border-radius: var(--radius-full);
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}
