/* ==========================================================================
   HEATH WATTE — Personal Real Estate Brand
   Serhant-inspired: Bold, dark, personality-forward
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --dark-2: #1c1c1c;
  --dark-3: #242424;
  --gold: #c9a94e;
  --gold-light: #e6d5a0;
  --white: #ffffff;
  --off-white: #f5f5f0;
  --text: #e8e8e8;
  --text-muted: #999;
  --border: #333;
  --radius: 4px;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Light Theme */
[data-theme="light"] {
  --black: #ffffff;
  --dark: #f5f5f0;
  --dark-2: #eaeae5;
  --dark-3: #e0e0db;
  --gold: #9a7b2e;
  --gold-light: #7a6224;
  --white: #1a1a1a;
  --off-white: #f8f8f5;
  --text: #2a2a2a;
  --text-muted: #666;
  --border: #d4d4d0;
}

[data-theme="light"] .site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav-logo { color: #1a1a1a; }
[data-theme="light"] .nav-links a { color: #666; }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a[aria-current="page"] { color: #1a1a1a; }
[data-theme="light"] .nav-toggle span { background: #1a1a1a; }

[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.9) 100%);
}
[data-theme="light"] .hero-title { color: #1a1a1a; }
[data-theme="light"] .hero-subtitle { color: #555; }
[data-theme="light"] .hero-eyebrow { color: #9a7b2e; }

[data-theme="light"] .stat-item { background: var(--dark); }
[data-theme="light"] .stat-number { color: #9a7b2e; }
[data-theme="light"] .stat-label { color: #666; }
[data-theme="light"] .stats-bar { background: var(--border); }

[data-theme="light"] .feature-card { background: #fff; border-color: var(--border); }
[data-theme="light"] .feature-card:hover { border-color: #9a7b2e; }
[data-theme="light"] .feature-card h3 { color: #1a1a1a; }

[data-theme="light"] .testimonial-card { background: #fff; border-color: var(--border); }
[data-theme="light"] .testimonial-stars { color: #9a7b2e; }
[data-theme="light"] .testimonial-text { color: #333; }

[data-theme="light"] .bio-text h2 { color: #1a1a1a; }

[data-theme="light"] .section-title { color: #1a1a1a; }
[data-theme="light"] .section-subtitle { color: #666; }

[data-theme="light"] .cta-band { background: #9a7b2e; }

[data-theme="light"] .site-footer { background: #1a1a1a; color: #ccc; border-top-color: #333; }
[data-theme="light"] .site-footer .footer-logo { color: #fff; }
[data-theme="light"] .site-footer .footer-col h3 { color: #c9a94e; }
[data-theme="light"] .site-footer .footer-col p,
[data-theme="light"] .site-footer .footer-col a { color: #aaa; }
[data-theme="light"] .site-footer .footer-bottom p { color: #777; }

[data-theme="light"] .page-content h1,
[data-theme="light"] .page-content h2 { color: #1a1a1a; }
[data-theme="light"] .page-content h3 { color: #9a7b2e; }
[data-theme="light"] .page-content p,
[data-theme="light"] .page-content li { color: #444; }
[data-theme="light"] .page-content strong { color: #1a1a1a; }
[data-theme="light"] .page-content .btn-primary { color: #0a0a0a; }

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: #fff;
  border-color: var(--border);
  color: #1a1a1a;
}

[data-theme="light"] .btn-outline {
  background: rgba(154,123,46,0.06);
  color: #9a7b2e;
  border-color: #9a7b2e;
}
[data-theme="light"] .btn-outline:hover {
  background: #9a7b2e;
  color: #fff;
}

/* Light mode: city cards, credibility, mobile bar */
[data-theme="light"] .city-card {
  background: #fff;
  border-color: var(--border);
  color: #333 !important;
}
[data-theme="light"] .city-card:hover {
  color: #9a7b2e !important;
  border-color: #9a7b2e;
}
[data-theme="light"] .credibility-strip {
  background: #f5f5f0;
}
[data-theme="light"] .mobile-cta-bar {
  background: #fff;
  border-top-color: var(--border);
}
[data-theme="light"] .mobile-cta-btn {
  background: #f5f5f0;
  border-color: var(--border);
  color: #333 !important;
}
[data-theme="light"] .mobile-cta-btn svg { stroke: #9a7b2e; }
[data-theme="light"] .segment-pill {
  background: rgba(154,123,46,0.06);
  border-color: rgba(154,123,46,0.3);
  color: #9a7b2e !important;
}
[data-theme="light"] .segment-pill:hover {
  background: #9a7b2e;
  color: #fff !important;
}

[data-theme="light"] .a11y-floating-btn {
  background: #fff;
  border-color: var(--border);
  color: #9a7b2e;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
[data-theme="light"] .a11y-dialog-inner {
  background: #f5f5f0;
}
[data-theme="light"] .a11y-dialog-header h2 { color: #9a7b2e; }
[data-theme="light"] .a11y-control-label { color: #9a7b2e; }
[data-theme="light"] .a11y-toggle { background: #e0e0db; border-color: var(--border); }
[data-theme="light"] .a11y-toggle::after { background: #999; }
[data-theme="light"] .a11y-size-btn { color: #666; border-color: var(--border); }
[data-theme="light"] .a11y-size-btn.active,
[data-theme="light"] .a11y-size-btn:hover { color: #9a7b2e; border-color: #9a7b2e; }

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 991;
  width: 48px;
  height: 48px;
  background: var(--dark-2);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #0a0a0a;
  transform: scale(1.1);
}
.theme-toggle svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 480px) {
  .theme-toggle { width: 42px; height: 42px; bottom: 16px; right: 16px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ==========================================================================
   HEADER / NAV (Serhant: minimal, logo left, links right, CTA button)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
  margin-right: 36px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
  padding: 6px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta {
  background: var(--gold) !important;
  color: #0a0a0a !important;
  padding: 10px 24px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  min-height: 44px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: #0a0a0a !important; }
.lang-switcher { display: flex; gap: 8px; align-items: center; margin-left: 4px; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(201,169,78,0.1); border: 1px solid rgba(201,169,78,0.3);
  color: var(--gold) !important; font-size: 0.75rem; font-weight: 700;
  text-decoration: none !important; letter-spacing: 0; transition: all 0.3s;
}
.lang-btn:hover { background: var(--gold); color: #0a0a0a !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: all var(--transition);
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    min-height: 48px;
    padding: 12px 8px;
    font-size: 0.85rem;
  }
  .nav-links.nav-open { display: flex; }
  .lang-switcher { flex-direction: row; justify-content: center; margin-left: 0; padding-top: 8px; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  min-height: 52px;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0a0a;
  border-color: var(--gold-light);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}
.btn-lg { padding: 20px 48px; font-size: 1rem; }

/* ==========================================================================
   HERO (Serhant: full-viewport, photo background, bold text overlay)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--black) 50%, #1a1a2e 100%);
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 16px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 100px 32px;
}
/* Hero Segmentation Pills */
.hero-segments {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.segment-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: rgba(201,169,78,0.1);
  border: 1px solid rgba(201,169,78,0.3);
  border-radius: 50px;
  color: var(--gold) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  min-height: 44px;
}
.segment-pill:hover {
  background: var(--gold);
  color: #0a0a0a !important;
  border-color: var(--gold);
}

/* Credibility Strip */
.credibility-strip {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  overflow: hidden;
}
.credibility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.credibility-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.credibility-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
}
.credibility-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 1px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.credibility-item:hover { opacity: 1; }
@media (max-width: 768px) {
  .credibility-inner { flex-direction: column; gap: 12px; }
  .credibility-logos { gap: 20px; }
}

/* City Cards (ROA-inspired) */
.city-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.3s;
  min-height: 52px;
}
.city-card:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: rgba(201,169,78,0.06);
  transform: translateY(-2px);
}

/* Sticky Mobile CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  gap: 8px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--border);
  color: var(--text) !important;
  text-decoration: none !important;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 52px;
  transition: all 0.3s;
}
.mobile-cta-btn svg { stroke: var(--gold); }
.mobile-cta-btn:hover { border-color: var(--gold); }
.mobile-cta-primary {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #0a0a0a !important;
}
.mobile-cta-primary svg { stroke: #0a0a0a; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 80px; }
  .a11y-floating-btn { bottom: 80px; }
  .theme-toggle { bottom: 80px; }
}

.section-dark { background: var(--dark); }
.section-darker { background: var(--black); }
.section-light { background: var(--off-white); color: #0a0a0a; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.section-light .section-title { color: #0a0a0a; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section-light .section-subtitle { color: #666; }

/* ==========================================================================
   STATS BAR (Serhant: big numbers, social proof strip)
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  background: var(--dark);
  padding: 40px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FEATURE CARDS (Why Heath)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--text);
}
.testimonial-author {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   ABOUT / BIO SECTION (Serhant: side-by-side photo + text)
   ========================================================================== */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
}
.bio-image img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.bio-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.bio-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   CONTENT PAGES
   ========================================================================== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}
.page-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 16px;
}
.page-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 32px 0 12px;
}
.page-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.page-content ul, .page-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.page-content li { margin-bottom: 8px; }
.page-content strong { color: var(--white); }
.page-content a { color: var(--gold); }
.page-content .btn-outline {
  background: rgba(201,169,78,0.08);
  color: var(--gold);
  border-color: var(--gold);
}
.page-content .btn-outline:hover {
  background: var(--gold);
  color: #0a0a0a;
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--gold);
  padding: 60px 32px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(0,0,0,0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .btn-primary {
  background: #0a0a0a;
  color: var(--gold);
  border-color: #0a0a0a;
}
.cta-band .btn-primary:hover {
  background: #1c1c1c;
  color: #e6d5a0;
  border-color: #1c1c1c;
}
[data-theme="light"] .cta-band {
  background: #9a7b2e;
}
[data-theme="light"] .cta-band h2 {
  color: #fff;
}
[data-theme="light"] .cta-band p {
  color: rgba(255,255,255,0.8);
}
[data-theme="light"] .cta-band .btn-primary {
  background: #fff;
  color: #9a7b2e;
  border-color: #fff;
}
[data-theme="light"] .cta-band .btn-primary:hover {
  background: #f5f5f0;
  color: #7a6224;
  border-color: #f5f5f0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 32px 32px;
}
.footer-container { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-col h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 4px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-3); color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: #0a0a0a; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.footer-disclaimer { font-size: 0.75rem !important; line-height: 1.6; max-width: 800px; margin-left: auto; margin-right: auto; }
.footer-license { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select:focus {
  border-color: var(--gold);
  outline: none;
}

/* Form CTA Section (reusable component) */
.form-cta-section {
  margin-top: 64px;
}
.form-cta-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.form-cta-header {
  margin-bottom: 32px;
}
.form-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.form-cta-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 8px;
}
.form-cta-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.heath-form {
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}
.form-submit-btn {
  width: 100%;
  margin-top: 8px;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */
body.high-contrast {
  --black: #000000;
  --dark: #0a0a0a;
  --dark-2: #000000;
  --dark-3: #111;
  --gold: #ffd700;
  --gold-light: #ffe44d;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: #e0e0e0;
  --border: rgba(255,215,0,0.4);
}

[data-theme="light"] body.high-contrast,
[data-theme="light"].high-contrast body {
  --black: #ffffff;
  --dark: #f0f0f0;
  --dark-2: #ffffff;
  --dark-3: #e8e8e8;
  --gold: #6b5000;
  --gold-light: #4a3800;
  --white: #000000;
  --text: #000000;
  --text-muted: #1a1a1a;
  --border: rgba(0,0,0,0.4);
}

body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

body.highlight-links a {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
}

/* Reading Guide */
.reading-guide {
  display: none;
  position: fixed;
  left: 0; right: 0;
  height: 40px;
  background: rgba(201,169,78,0.08);
  border-top: 2px solid rgba(201,169,78,0.2);
  border-bottom: 2px solid rgba(201,169,78,0.2);
  pointer-events: none;
  z-index: 9998;
  transition: top 0.05s linear;
}
body.reading-guide-active .reading-guide { display: block; }

/* A11y Floating Button */
.a11y-floating-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 991;
  width: 48px;
  height: 48px;
  background: var(--dark-2);
  border: 2px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 0;
}
.a11y-floating-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #0a0a0a;
  transform: scale(1.1);
}
.a11y-floating-btn svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* A11y Dialog */
.a11y-dialog {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100%; max-height: 100%;
}
.a11y-dialog::backdrop {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.a11y-dialog-inner {
  position: absolute;
  right: 0; top: 0;
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: var(--dark);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  padding: 32px 24px;
  color: var(--text);
}
.a11y-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.a11y-dialog-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}
.a11y-dialog-close {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  border-radius: 50%;
}
.a11y-dialog-close:hover { background: var(--gold); color: #0a0a0a; }
.a11y-control-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.a11y-control-group:last-child { border-bottom: none; }
.a11y-control-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.a11y-size-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.a11y-size-btn {
  padding: 8px 16px;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: var(--radius);
}
.a11y-size-btn.active,
.a11y-size-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,78,0.08);
}
.a11y-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.a11y-toggle-row span { font-size: 0.92rem; color: var(--text); }
.a11y-toggle {
  width: 52px; height: 28px; min-width: 52px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.a11y-toggle::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  background: var(--text-muted);
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: all 0.3s;
}
.a11y-toggle[aria-checked="true"] {
  background: var(--gold);
  border-color: var(--gold);
}
.a11y-toggle[aria-checked="true"]::after {
  left: 26px;
  background: var(--black);
}
.a11y-statement-block h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin: 16px 0 6px;
}
.a11y-statement-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.a11y-statement-block ul { list-style: none; padding: 0; margin-bottom: 10px; }
.a11y-statement-block li {
  position: relative;
  padding-left: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3px;
}
.a11y-statement-block li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.a11y-statement-block a { color: var(--gold); text-decoration: underline; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: #0a0a0a;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 8px;
}

@media (max-width: 480px) {
  .a11y-dialog-inner { width: 100%; }
  .a11y-floating-btn { width: 42px; height: 42px; bottom: 16px; left: 16px; }
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
  display: block;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-decoration: none !important;
  transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.blog-card-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
[data-theme="light"] .blog-card { background: #fff; border-color: var(--border); }
[data-theme="light"] .blog-card:hover { border-color: #9a7b2e; }
[data-theme="light"] .blog-card h3 { color: #1a1a1a; }

/* Blog Post Layout */
.blog-post .blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.blog-post .blog-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.blog-post .blog-related h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.blog-post .blog-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 600px) {
  .blog-post .blog-related-grid { grid-template-columns: 1fr; }
}
.blog-related-card {
  display: block;
  padding: 20px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: border-color 0.3s;
}
.blog-related-card:hover { border-color: var(--gold); }
.blog-related-card h3 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.blog-related-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   LINKEDIN FEED
   ========================================================================== */
.linkedin-feed {
  text-align: center;
}
.linkedin-placeholder {
  padding: 48px 32px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.linkedin-embeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.linkedin-embed-wrapper {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.linkedin-embed-wrapper iframe {
  display: block;
  width: 100%;
}
[data-theme="light"] .linkedin-placeholder { background: #fff; border-color: var(--border); }
[data-theme="light"] .linkedin-embed-wrapper { background: #fff; }

/* ==========================================================================
   HERO LANGUAGE BADGE
   ========================================================================== */
.hero-lang-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 40px;
  padding: 8px 20px;
  background: rgba(201,169,78,0.12);
  border: 1px solid rgba(201,169,78,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}
[data-theme="light"] .hero-lang-badge {
  background: rgba(154,123,46,0.08);
  border-color: rgba(154,123,46,0.3);
  color: #9a7b2e;
}

/* ==========================================================================
   NEWSLETTER FORM
   ========================================================================== */
.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
  outline: none;
}
[data-theme="light"] .newsletter-form input[type="email"] {
  background: #fff;
  border-color: var(--border);
  color: #1a1a1a;
}

/* ==========================================================================
   FLOATING CONTACT BUTTON & PANEL
   ========================================================================== */
.floating-contact-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 993;
  width: 52px;
  height: 52px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,169,78,0.4);
  transition: all 0.3s ease;
  padding: 0;
}
.floating-contact-btn:hover {
  background: var(--gold-light);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(201,169,78,0.5);
}
.floating-contact-btn .fc-icon-close { display: none; }
.floating-contact-btn.fc-active .fc-icon-msg { display: none; }
.floating-contact-btn.fc-active .fc-icon-close { display: block; }
.floating-contact-btn.fc-active {
  background: var(--dark-2);
  color: var(--gold);
  border: 2px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Panel */
.floating-contact-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 995;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--dark);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.floating-contact-panel.fc-open {
  transform: translateX(0);
}
.fc-panel-inner {
  padding: 32px 24px 48px;
}
.fc-panel-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.fc-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.fc-panel-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.fc-form .form-group textarea {
  min-height: 100px;
}
.fc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* Overlay */
.fc-overlay {
  position: fixed;
  inset: 0;
  z-index: 994;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fc-overlay.fc-open {
  opacity: 1;
  pointer-events: auto;
}

/* Language Switch Pill (ES/ZH only) */
.lang-switch-pill {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: #0a0a0a !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201,169,78,0.4);
  white-space: nowrap;
}
.lang-switch-pill:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #0a0a0a !important;
  transform: translateX(-50%) scale(1.05);
}
.lang-switch-pill svg {
  stroke: currentColor;
}

/* Light mode overrides */
[data-theme="light"] .floating-contact-btn {
  box-shadow: 0 4px 20px rgba(154,123,46,0.3);
}
[data-theme="light"] .floating-contact-btn.fc-active {
  background: #fff;
  border-color: var(--border);
}
[data-theme="light"] .floating-contact-panel {
  background: #f5f5f0;
  border-left-color: var(--border);
}
[data-theme="light"] .fc-panel-header h3 { color: #1a1a1a; }
[data-theme="light"] .fc-overlay {
  background: rgba(0,0,0,0.3);
}
[data-theme="light"] .lang-switch-pill {
  background: #9a7b2e;
  border-color: #9a7b2e;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(154,123,46,0.3);
}
[data-theme="light"] .lang-switch-pill:hover {
  background: #7a6224;
  border-color: #7a6224;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 144px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .floating-contact-panel {
    width: 100vw;
    border-left: none;
  }
  .lang-switch-pill {
    top: 80px;
    font-size: 0.7rem;
    padding: 8px 16px;
  }
}
@media (max-width: 480px) {
  .floating-contact-btn {
    bottom: 140px;
    right: 16px;
  }
}

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   SOCIAL SHARE BUTTONS
   ========================================================================== */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted) !important;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 44px;
}
.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}
.share-btn svg { flex-shrink: 0; }
[data-theme="light"] .share-btn { background: #fff; border-color: var(--border); }
[data-theme="light"] .share-btn:hover { border-color: #9a7b2e; color: #9a7b2e !important; }

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
