/* ==========================================================================
   GAJRAJ DENTAL STUDIO — PUBLIC WEBSITE DAY & NIGHT THEME SYSTEM
   Additive, Non-Destructive CSS Custom Properties
   - Day Theme (Default on :root and [data-theme="light"]):
     Clinical White (#ffffff), Pearl/Slate (#f8fafc), Charcoal Ink (#0f172a),
     Royal Burgundy & Clinical Gold Accents.
   - Night Theme ([data-theme="dark"]):
     Obsidian Black (#09090b) & Royal Maroon (#3a0a14 / #24070e) Velvet Gradient,
     Elevated Charcoal Cards (#141115), Warm Ivory Text (#f8f5f0), Champagne Gold (#d4af37).
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Core Surfaces */
  --theme-bg-canvas: #ffffff;
  --theme-bg-canvas-glass: rgba(255, 255, 255, 0.45);
  --theme-bg-subtle: #f8fafc;
  --theme-bg-section-glass: rgba(248, 250, 252, 0.68);
  --theme-bg-card: #ffffff;
  --theme-bg-card-hover: #f8fafc;
  --theme-bg-elevated: #ffffff;
  --theme-bg-glass: rgba(255, 255, 255, 0.92);
  --theme-bg-header: rgba(255, 255, 255, 0.95);
  --theme-bg-header-scrolled: rgba(255, 255, 255, 0.98);
  --theme-bg-footer: rgba(248, 250, 252, 0.84);
  --theme-bg-drawer: #ffffff;
  --theme-bg-input: #f8fafc;

  /* Typography & Ink */
  --theme-text-primary: #0f172a;
  --theme-text-secondary: #334155;
  --theme-text-muted: #475569;
  --theme-text-dim: #64748b;

  /* Royal & Clinical Accents (High Contrast on Light) */
  --theme-accent: #7a162c;
  --theme-accent-strong: #580f20;
  --theme-accent-gold: #a67c1e;
  --theme-accent-gold-bright: #c59b27;
  --theme-accent-soft: rgba(122, 22, 44, 0.08);
  --theme-accent-gold-soft: rgba(166, 124, 30, 0.1);

  /* Borders & Shadows */
  --theme-border-subtle: rgba(15, 23, 42, 0.1);
  --theme-border-card: rgba(15, 23, 42, 0.12);
  --theme-border-accent: rgba(122, 22, 44, 0.28);
  --theme-border-gold: rgba(166, 124, 30, 0.35);
  --theme-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --theme-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --theme-shadow-lg: 0 22px 48px rgba(15, 23, 42, 0.12);
  --theme-shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(166, 124, 30, 0.35);

  /* Hero Scrim & Special Surfaces */
  --theme-hero-scrim: linear-gradient(135deg, rgba(255, 255, 255, 0.74) 0%, rgba(248, 250, 252, 0.56) 52%, rgba(241, 245, 249, 0.42) 100%);
  --theme-hero-vignette: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.58) 65%, rgba(255, 255, 255, 0.9) 100%);
  --theme-cta-bg: linear-gradient(135deg, rgba(248, 250, 252, 0.88) 0%, rgba(241, 245, 249, 0.86) 55%, rgba(238, 242, 247, 0.88) 100%);
  --theme-stats-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.88) 100%);

  /* Override Legacy CSS Variables in style.css so all existing & CMS components inherit seamlessly */
  --obsidian-black: #ffffff;
  --obsidian-dark: #f1f5f9;
  --velvet-charcoal: #f8fafc;
  --velvet-surface: #f1f5f9;
  --velvet-card: #ffffff;
  --velvet-card-hover: #f8fafc;
  --canvas-bg: #ffffff;
  --purple-black: #f8fafc;
  --purple-black-surface: #f1f5f9;
  --purple-black-card: #ffffff;
  --navy: #0f172a;
  --navy-blue: #0f172a;
  --navy-surface: #f1f5f9;
  --navy-card: #ffffff;
  --white: #ffffff;
  --text-ivory: #0f172a;
  --text-main: #0f172a;
  --text-light: #0f172a;
  --text-silver: #475569;
  --text-muted: #475569;
  --text-dim: #64748b;
  --gold-primary: #a67c1e;
  --gold-light: #7a162c;
  --gold-bright: #580f20;
  --violet: #7a162c;
  --violet-light: rgba(122, 22, 44, 0.12);
  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-violet: rgba(122, 22, 44, 0.25);
  --border-navy: rgba(15, 23, 42, 0.14);
  --line-light: rgba(15, 23, 42, 0.1);
  --mint-dark: #0f766e;
  --mint-bright: #0d9488;
}

[data-theme="dark"] {
  /* Core Surfaces: Original Obsidian Black, Royal Maroon/Burgundy & Champagne Gold */
  --theme-bg-canvas: #09090b;
  --theme-bg-canvas-glass: transparent;
  --theme-bg-subtle: rgba(18, 16, 19, 0.55);
  --theme-bg-section-glass: rgba(18, 16, 19, 0.52);
  --theme-bg-card: rgba(20, 17, 21, 0.86);
  --theme-bg-card-hover: rgba(28, 20, 24, 0.92);
  --theme-bg-elevated: rgba(20, 17, 21, 0.96);
  --theme-bg-glass: rgba(18, 16, 19, 0.8);
  --theme-bg-header: rgba(9, 9, 11, 0.94);
  --theme-bg-header-scrolled: rgba(9, 9, 11, 0.98);
  --theme-bg-footer: rgba(13, 11, 15, 0.9);
  --theme-bg-drawer: #141115;
  --theme-bg-input: rgba(9, 9, 11, 0.88);

  /* Typography & Ink */
  --theme-text-primary: #f8f5f0;
  --theme-text-secondary: #e7e5e4;
  --theme-text-muted: #a8a29e;
  --theme-text-dim: #8e8782;

  /* Royal Maroon & Brushed Champagne Gold Accents */
  --theme-accent: #e6c775;
  --theme-accent-strong: #d4af37;
  --theme-accent-gold: #e6c775;
  --theme-accent-gold-bright: #f5e6c8;
  --theme-accent-soft: rgba(86, 17, 32, 0.45);
  --theme-accent-gold-soft: rgba(212, 175, 55, 0.14);

  /* Borders & Shadows */
  --theme-border-subtle: rgba(212, 175, 55, 0.16);
  --theme-border-card: rgba(212, 175, 55, 0.22);
  --theme-border-accent: rgba(212, 175, 55, 0.35);
  --theme-border-gold: rgba(212, 175, 55, 0.38);
  --theme-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.5);
  --theme-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.65);
  --theme-shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.82);
  --theme-shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.78), 0 0 28px rgba(86, 17, 32, 0.42), 0 0 14px rgba(212, 175, 55, 0.25);

  /* Hero Scrim & Special Surfaces */
  --theme-hero-scrim: linear-gradient(135deg, rgba(9, 9, 11, 0.92) 0%, rgba(18, 16, 19, 0.82) 45%, rgba(58, 10, 20, 0.78) 100%);
  --theme-hero-vignette: linear-gradient(to bottom, transparent 0%, rgba(9, 9, 11, 0.75) 60%, #09090b 100%);
  --theme-cta-bg: linear-gradient(135deg, #18121a 0%, #3a0a14 38%, #1f060d 72%, #09090b 100%);
  --theme-stats-bg: linear-gradient(135deg, rgba(18, 16, 19, 0.9) 0%, rgba(32, 7, 15, 0.88) 45%, rgba(9, 9, 11, 0.92) 100%);

  /* Override Legacy CSS Variables for Night Mode */
  --obsidian-black: #09090b;
  --obsidian-dark: #050507;
  --velvet-charcoal: rgba(18, 16, 19, 0.65);
  --velvet-surface: rgba(23, 20, 26, 0.85);
  --velvet-card: rgba(20, 17, 21, 0.86);
  --velvet-card-hover: rgba(26, 22, 30, 0.92);
  --canvas-bg: #09090b;
  --purple-black: #09090b;
  --purple-black-surface: rgba(18, 16, 19, 0.85);
  --purple-black-card: rgba(20, 17, 21, 0.86);
  --navy: #f8f5f0;
  --navy-blue: #e6c775;
  --navy-surface: #3a0a14;
  --navy-card: rgba(20, 17, 21, 0.86);
  --white: rgba(20, 17, 21, 0.86);
  --text-ivory: #f8f5f0;
  --text-main: #f8f5f0;
  --text-light: #f8f5f0;
  --text-silver: #a8a29e;
  --text-muted: #a8a29e;
  --text-dim: #8e8782;
  --gold-primary: #d4af37;
  --gold-light: #e6c775;
  --gold-bright: #f5e6c8;
  --violet: #d4af37;
  --violet-light: #e6c775;
  --border-subtle: rgba(212, 175, 55, 0.16);
  --border-violet: rgba(212, 175, 55, 0.32);
  --border-navy: rgba(86, 17, 32, 0.45);
  --line-light: rgba(212, 175, 55, 0.16);
  --mint-dark: #5eead4;
  --mint-bright: #5eead4;
}

/* ==========================================================================
   BASE CANVAS & SECTION INHERITANCE
   ========================================================================== */
html,
body {
  background-color: var(--theme-bg-canvas) !important;
  color: var(--theme-text-primary);
}

/* Night Mode Original Obsidian Black + Royal Maroon Linear Gradient Canvas */
[data-theme="dark"],
[data-theme="dark"] body,
[data-theme="dark"] body.bg-canvas {
  background-color: #09090b !important;
  background-image: linear-gradient(135deg, #09090b 0%, #24070e 45%, #16090d 75%, #09090b 100%) !important;
  background-attachment: fixed !important;
}

[data-theme="dark"] main,
[data-theme="dark"] section.bg-canvas,
[data-theme="dark"] .page-hero {
  background-color: transparent !important;
  background-image: none !important;
}

[data-theme="dark"] .treatment-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .bento-card,
[data-theme="dark"] .stats-strip,
[data-theme="dark"] .cta-banner,
[data-theme="dark"] .cta-quick-card,
[data-theme="dark"] .hero-hologram-card,
[data-theme="dark"] .pill-glass-luxury,
[data-theme="dark"] .hero-hud-pill {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html.theme-transitions,
html.theme-transitions body,
html.theme-transitions header.site-header,
html.theme-transitions .site-footer {
  transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--theme-text-primary);
}

p, li {
  color: var(--theme-text-secondary);
}

.lead,
.text-muted {
  color: var(--theme-text-muted);
}

.eyebrow {
  color: var(--theme-accent);
}

.editorial-italic {
  color: var(--theme-accent-gold);
}

body.bg-canvas {
  background-color: var(--theme-bg-canvas);
  color: var(--theme-text-primary);
}

section.bg-canvas {
  background-color: var(--theme-bg-canvas-glass);
  color: var(--theme-text-primary);
}

.bg-white {
  background-color: var(--theme-bg-section-glass);
  color: var(--theme-text-primary);
  border-top: 1px solid var(--theme-border-subtle);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.bg-mist {
  background-color: var(--theme-bg-section-glass);
  color: var(--theme-text-primary);
  border-top: 1px solid var(--theme-border-subtle);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.bg-purple-black,
.bg-navy {
  background-color: var(--theme-bg-section-glass);
  color: var(--theme-text-primary);
}

.bg-purple-black h1, .bg-purple-black h2, .bg-purple-black h3, .bg-purple-black h4,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 {
  color: var(--theme-text-primary);
}

/* Keep ambient living canvas & background motion crisp and clearly animated in BOTH themes */
#ambientLivingCanvas {
  opacity: 0.95 !important;
  z-index: 0 !important;
}

[data-theme="light"] .ambient-background-motion {
  opacity: 0.72;
}

[data-theme="dark"] .ambient-background-motion {
  opacity: 0.9;
}

[data-theme="light"] .ambient-grain-overlay {
  opacity: 0.02;
}

/* ==========================================================================
   HEADER, NAVIGATION & DROPDOWN MENUS
   Overrides inline <head> <style> rules non-destructively
   ========================================================================== */
html header.site-header,
html #main-header {
  background-color: var(--theme-bg-header) !important;
  border-bottom: 1px solid var(--theme-border-gold) !important;
  box-shadow: var(--theme-shadow-sm);
}

html header.site-header.scrolled,
html #main-header.scrolled {
  background-color: var(--theme-bg-header-scrolled) !important;
  box-shadow: var(--theme-shadow-md) !important;
}

[data-theme="light"] .brand-logo {
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.16));
}

.nav-link {
  color: var(--theme-text-primary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--theme-accent);
}

.nav-link::after {
  background: linear-gradient(90deg, var(--theme-accent-gold), var(--theme-accent));
}

.nav-dropdown {
  background-color: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-gold);
  box-shadow: var(--theme-shadow-lg);
}

.dropdown-link {
  color: var(--theme-text-primary);
}

.dropdown-link:hover {
  background-color: var(--theme-accent-gold-soft);
  color: var(--theme-accent);
}

.dropdown-badge {
  background-color: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.nav-phone {
  color: var(--theme-accent);
  background: var(--theme-accent-gold-soft);
  border: 1px solid var(--theme-border-gold);
}

.nav-phone:hover {
  background: linear-gradient(135deg, #e6c775 0%, #d4af37 100%);
  color: #09090b !important;
}

[data-theme="light"] .hamburger span,
[data-theme="light"] .hamburger .bar {
  background: linear-gradient(90deg, #7a162c 0%, #a67c1e 100%);
}

/* ==========================================================================
   SLEEK SUN / MOON THEME TOGGLE BUTTON (Desktop & Mobile)
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--theme-border-gold);
  background: var(--theme-bg-subtle);
  color: var(--theme-accent);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  background: var(--theme-accent-gold-soft);
  border-color: var(--theme-accent-gold);
  box-shadow: var(--theme-shadow-sm);
}

.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Show Moon in Day mode (to switch to Night), Show Sun in Night mode (to switch to Day) */
[data-theme="light"] .theme-toggle-btn .theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-toggle-btn .theme-icon-moon {
  display: block;
}

[data-theme="dark"] .theme-toggle-btn .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-toggle-btn .theme-icon-moon {
  display: none;
}

.theme-toggle-btn .theme-toggle-label {
  display: inline-block;
}

@media (max-width: 1180px) {
  .nav-actions .theme-toggle-btn {
    width: 38px;
    padding: 0;
  }
  .nav-actions .theme-toggle-btn .theme-toggle-label {
    display: none;
  }
}

/* Mobile Drawer Theme Support */
@media (max-width: 900px) {
  .mobile-drawer {
    background: var(--theme-bg-drawer) !important;
    color: var(--theme-text-primary) !important;
    border-left: 1px solid var(--theme-border-gold) !important;
    box-shadow: var(--theme-shadow-lg) !important;
  }

  [data-theme="light"] .mobile-drawer-overlay {
    background: rgba(15, 23, 42, 0.45) !important;
  }

  .mobile-drawer-header {
    border-bottom-color: var(--theme-border-subtle);
  }

  .mobile-nav-link {
    color: var(--theme-text-primary);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active,
  .mobile-sublink:hover,
  .mobile-sublink.active {
    color: var(--theme-accent);
  }

  .mobile-sublink {
    color: var(--theme-text-muted);
  }

  .mobile-sublinks {
    border-left-color: var(--theme-border-gold);
  }

  .drawer-close-btn {
    background: var(--theme-accent-gold-soft);
    border-color: var(--theme-border-gold);
    color: var(--theme-accent);
  }

  .drawer-close-btn:hover {
    background: var(--theme-accent);
    color: #ffffff;
  }

  .mobile-drawer-actions {
    border-top-color: var(--theme-border-subtle);
  }

  .mobile-theme-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 6px;
    background: var(--theme-bg-subtle);
    border: 1px solid var(--theme-border-card);
    color: var(--theme-text-primary);
    font-size: 0.85rem;
    font-weight: 600;
  }
}

/* ==========================================================================
   HERO & PAGE HERO SECTIONS
   ========================================================================== */
.page-hero {
  background-color: var(--theme-bg-section-glass);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.breadcrumbs,
.breadcrumbs a {
  color: var(--theme-text-dim);
}

.breadcrumbs a:hover {
  color: var(--theme-accent);
}

.hero-bg-overlay-dark {
  background: var(--theme-hero-scrim);
}

.hero-bg-vignette-bottom {
  background: var(--theme-hero-vignette);
}

[data-theme="light"] .hero-bg-video {
  filter: saturate(1.12) brightness(1.06) contrast(1.04);
  opacity: 0.65;
}

[data-theme="light"] .hero-bg-overlay-glow {
  mix-blend-mode: normal;
  background: radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.22) 0%, rgba(122, 22, 44, 0.08) 42%, transparent 65%);
}

[data-theme="light"] .hero-bg-overlay-radial {
  background: radial-gradient(ellipse at 25% 45%, rgba(122, 22, 44, 0.14) 0%, transparent 60%), radial-gradient(ellipse at 85% 35%, rgba(212, 175, 55, 0.22) 0%, transparent 60%);
}

[data-theme="light"] .hero-bg-grid-overlay {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
}

.hero-title {
  color: var(--theme-text-primary);
}

[data-theme="light"] .hero-title {
  text-shadow: none;
}

[data-theme="light"] .highlight-luxury-gradient {
  background: linear-gradient(135deg, #7a162c 0%, #a67c1e 55%, #580f20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

[data-theme="dark"] .highlight-luxury-gradient {
  background: linear-gradient(135deg, #fff6d6 0%, #e6c775 35%, #d4af37 75%, #aa8021 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  color: var(--theme-text-muted);
}

.hero-treatment-ticker-bar {
  background: var(--theme-bg-glass);
  border-color: var(--theme-border-gold);
}

.ticker-label {
  color: var(--theme-accent);
}

.ticker-text {
  color: var(--theme-text-primary);
}

.pill-violet-luxury,
.pill-violet {
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
  border-color: var(--theme-border-accent);
}

.pill-glass-luxury,
.pill-purple-black,
.pill-white {
  background: var(--theme-bg-card);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-border-card);
}

.pill-navy {
  background: var(--theme-accent-gold-soft);
  color: var(--theme-accent);
  border: 1px solid var(--theme-border-gold);
}

.hero-hud-pill {
  background: var(--theme-bg-glass);
  border-color: var(--theme-border-card);
  box-shadow: var(--theme-shadow-sm);
}

.hero-live-reel-tag {
  color: var(--theme-text-primary);
}

.hero-hud-btn {
  background: var(--theme-accent-soft);
  border-color: var(--theme-border-accent);
  color: var(--theme-text-primary);
}

.hero-hud-btn:hover {
  background: var(--theme-accent);
  color: #ffffff;
}

[data-theme="dark"] .hero-hud-btn:hover {
  color: #09090b;
}

.hero-trust-item {
  background: var(--theme-bg-glass);
  border-color: var(--theme-border-card);
  color: var(--theme-text-primary);
}

.hero-trust-icon {
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.hero-hologram-card {
  background-color: var(--theme-bg-card);
  border-color: var(--theme-border-gold);
  box-shadow: var(--theme-shadow-lg);
}

.hero-float-badge,
.hero-float-badge.badge-bottom-right {
  background-color: var(--theme-bg-glass);
  border-color: var(--theme-border-gold);
  box-shadow: var(--theme-shadow-md);
}

.hero-float-badge .badge-title {
  color: var(--theme-text-primary);
}

.hero-float-badge .badge-sub {
  color: var(--theme-accent);
}

.badge-icon-box {
  background: var(--theme-accent-soft);
  border-color: var(--theme-border-gold);
  color: var(--theme-accent);
}

.pin-tag {
  background: var(--theme-bg-glass);
  border-color: var(--theme-border-gold);
  color: var(--theme-text-primary);
}

/* Buttons */
.btn-royal-glass,
.btn-luxury-glass {
  background: var(--theme-bg-glass);
  border-color: var(--theme-border-gold);
  color: var(--theme-text-primary) !important;
  box-shadow: var(--theme-shadow-sm);
}

.btn-royal-glass:hover,
.btn-luxury-glass:hover {
  background: var(--theme-accent-gold-soft);
  border-color: var(--theme-accent-gold);
  color: var(--theme-accent) !important;
}

.btn-navy, .btn-forest, .btn-purple-black {
  background-color: var(--theme-bg-card);
  color: var(--theme-accent);
  border: 1px solid var(--theme-border-gold);
}

.btn-outline-navy, .btn-outline-violet, .btn-outline-forest {
  color: var(--theme-accent);
  border-color: var(--theme-accent-gold);
}

.editorial-link {
  color: var(--theme-text-primary);
}

/* ==========================================================================
   STATS STRIP, SERVICE CARDS, WHY CARDS, TESTIMONIALS & BENTO CARDS
   ========================================================================== */
.stats-strip {
  background: var(--theme-stats-bg);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-border-gold);
  box-shadow: var(--theme-shadow-md);
}

.stat-item {
  border-right-color: var(--theme-border-subtle);
}

.stat-number {
  color: var(--theme-text-primary);
}

.stat-suffix,
.stat-label {
  color: var(--theme-accent);
}

.stat-desc {
  color: var(--theme-text-muted);
}

.treatment-card {
  background-color: var(--theme-bg-card);
  border: 1px solid var(--theme-border-card);
  box-shadow: var(--theme-shadow-md);
}

.treatment-card:hover {
  border-color: var(--theme-accent-gold) !important;
  box-shadow: var(--theme-shadow-hover);
}

.treatment-img-wrap {
  background-color: var(--theme-bg-subtle);
}

.treatment-body {
  background: var(--theme-bg-card);
}

[data-theme="dark"] .treatment-body {
  background: transparent;
}

.treatment-title {
  color: var(--theme-text-primary);
}

.treatment-card:hover .treatment-title {
  color: var(--theme-accent);
}

.treatment-desc {
  color: var(--theme-text-muted);
}

.treatment-footer {
  border-top-color: var(--theme-border-subtle);
}

.treatment-meta,
.treatment-action-btn {
  color: var(--theme-accent);
}

.why-card,
.bento-card {
  background-color: var(--theme-bg-card);
  border: 1px solid var(--theme-border-card);
  box-shadow: var(--theme-shadow-sm);
}

.why-card:hover {
  border-color: var(--theme-accent-gold);
  box-shadow: var(--theme-shadow-hover);
}

.why-num {
  color: var(--theme-accent-gold);
}

.why-title {
  color: var(--theme-text-primary);
}

.why-desc {
  color: var(--theme-text-muted);
}

.reviews-section {
  background-color: var(--theme-bg-section-glass);
  border-top: 1px solid var(--theme-border-subtle);
}

.google-badge-pill {
  background-color: var(--theme-bg-card);
  border-color: var(--theme-border-card);
  color: var(--theme-text-primary);
}

.review-card {
  background-color: var(--theme-bg-card);
  border: 1px solid var(--theme-border-card);
  box-shadow: var(--theme-shadow-sm);
}

.review-card:hover {
  background-color: var(--theme-bg-card-hover);
  border-color: var(--theme-accent-gold);
  box-shadow: var(--theme-shadow-hover);
}

.review-text {
  color: var(--theme-text-secondary);
}

.review-author {
  border-top-color: var(--theme-border-subtle);
}

.author-avatar {
  background-color: var(--theme-accent-soft);
  color: var(--theme-accent);
}

.author-name {
  color: var(--theme-accent);
}

.author-treatment {
  color: var(--theme-text-dim);
}

/* ==========================================================================
   BEFORE & AFTER GALLERY SECTION
   ========================================================================== */
.transformation-section {
  background-color: var(--theme-bg-section-glass);
  border-top: 1px solid var(--theme-border-subtle);
  border-bottom: 1px solid var(--theme-border-subtle);
}

.transformation-copy,
.transformation-copy h2,
.transformation-copy span {
  color: var(--theme-text-primary);
}

.transformation-copy .lead,
.transformation-disclaimer {
  color: var(--theme-text-muted);
}

.transformation-disclaimer strong {
  color: var(--theme-accent);
}

.ba-slider-container {
  border-color: var(--theme-border-gold);
  box-shadow: var(--theme-shadow-lg);
}

/* ==========================================================================
   CTA BANNER, QUICK CARD, FORMS & CALENDAR POPOVER
   ========================================================================== */
.cta-banner {
  background: var(--theme-cta-bg);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-border-gold);
  box-shadow: var(--theme-shadow-lg);
}

[data-theme="light"] .cta-title {
  background: linear-gradient(135deg, #0f172a 0%, #7a162c 65%, #a67c1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.cta-desc {
  color: var(--theme-text-muted);
}

.cta-phone-link {
  background: var(--theme-bg-card);
  color: var(--theme-text-primary) !important;
  border: 1px solid var(--theme-border-gold);
}

.cta-banner .btn-white {
  background: linear-gradient(135deg, #e6c775 0%, #d4af37 100%);
  color: #09090b !important;
  border: 1px solid #d4af37;
}

.cta-banner .btn-outline-white {
  background: var(--theme-bg-card);
  color: var(--theme-text-primary) !important;
  border: 1px solid var(--theme-border-gold);
}

.cta-quick-card {
  background: var(--theme-bg-card);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-border-gold);
  box-shadow: var(--theme-shadow-md);
}

[data-theme="light"] .quick-card-title {
  background: linear-gradient(135deg, #0f172a 0%, #7a162c 70%, #a67c1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quick-card-sub {
  color: var(--theme-text-muted);
}

.form-label {
  color: var(--theme-accent);
}

.form-input,
.form-select,
.form-textarea,
.royal-date-display {
  background-color: var(--theme-bg-input) !important;
  color: var(--theme-text-primary) !important;
  border-color: var(--theme-border-gold) !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--theme-text-dim);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background-color: var(--theme-bg-card) !important;
  border-color: var(--theme-accent-gold) !important;
}

.form-select option {
  background-color: var(--theme-bg-card);
  color: var(--theme-text-primary);
}

.royal-calendar-popover {
  background: var(--theme-bg-elevated);
  color: var(--theme-text-primary);
  border-color: var(--theme-border-gold);
  box-shadow: var(--theme-shadow-lg);
}

[data-theme="light"] .rc-month-title {
  background: none;
  -webkit-text-fill-color: #0f172a;
  color: #0f172a;
}

.rc-weekdays {
  color: var(--theme-text-dim);
}

.rc-day {
  color: var(--theme-text-primary);
}

.rc-day:hover:not(.disabled):not(.empty) {
  background: var(--theme-accent-gold-soft);
  color: var(--theme-accent);
}

.rc-nav-btn,
.rc-preset-btn {
  background: var(--theme-accent-gold-soft);
  border-color: var(--theme-border-gold);
  color: var(--theme-accent);
}

/* Pricing / Thank-You / Legacy Inline Overrides */
[data-theme="dark"] .pricing-calc-box,
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"] {
  background: var(--theme-bg-card) !important;
  color: var(--theme-text-primary) !important;
  border-color: var(--theme-border-card) !important;
}

[data-theme="light"] .thankyou-card {
  background: #ffffff !important;
  border-color: var(--theme-border-gold) !important;
  box-shadow: var(--theme-shadow-lg) !important;
}

[data-theme="light"] .thankyou-title {
  background: linear-gradient(135deg, #0f172a 0%, #7a162c 65%, #a67c1e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .thankyou-sub,
[data-theme="light"] .step-desc {
  color: var(--theme-text-muted) !important;
}

[data-theme="light"] .step-box {
  background: var(--theme-bg-subtle) !important;
  border-color: var(--theme-border-card) !important;
}

/* ==========================================================================
   MODAL, FLOATING DOCK & FOOTER
   ========================================================================== */
.modal-dialog {
  background-color: var(--theme-bg-elevated);
  border: 1px solid var(--theme-border-gold);
  color: var(--theme-text-primary);
}

.modal-close-btn {
  background: var(--theme-bg-subtle);
  color: var(--theme-text-primary);
  border-color: var(--theme-border-card);
}

.back-to-top {
  background-color: var(--theme-bg-card);
  color: var(--theme-text-primary);
  border: 1px solid var(--theme-border-gold);
  box-shadow: var(--theme-shadow-sm);
}

.site-footer {
  background: var(--theme-bg-footer);
  color: var(--theme-text-muted);
  border-top: 1px solid var(--theme-border-gold);
}

[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, rgba(20, 9, 13, 0.94) 0%, #09090b 100%) !important;
  border-top: 1px solid rgba(212, 175, 55, 0.22) !important;
}

[data-theme="dark"] .site-footer::before {
  background: radial-gradient(ellipse, rgba(86, 17, 32, 0.34) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 70%) !important;
}

[data-theme="light"] .site-footer::before {
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.14) 0%, rgba(122, 22, 44, 0.05) 50%, transparent 70%) !important;
}

[data-theme="dark"] .hero-bg-overlay-glow {
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.12) 0%, rgba(86, 17, 32, 0.16) 40%, transparent 60%) !important;
}

[data-theme="dark"] .brand:hover .brand-logo {
  filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.38)) !important;
}

[data-theme="dark"] .hero-hud-pill:hover,
[data-theme="dark"] .hero-trust-item:hover {
  background: rgba(58, 10, 20, 0.55) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 8px 24px rgba(86, 17, 32, 0.35) !important;
}

[data-theme="dark"] .media-switch-tab.active {
  background: linear-gradient(135deg, #e6c775 0%, #d4af37 100%) !important;
  color: #09090b !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45) !important;
}

[data-theme="dark"] .modal-overlay {
  background-color: rgba(9, 9, 11, 0.78) !important;
}

.footer-brand-col .brand-name,
.footer-title {
  color: var(--theme-text-primary);
}

[data-theme="dark"] .footer-title {
  color: var(--theme-accent-gold);
}

.footer-bio,
.footer-link,
.footer-contact-item,
.footer-bottom {
  color: var(--theme-text-muted);
}

.footer-link:hover,
.footer-legal-links a:hover {
  color: var(--theme-accent);
}

.footer-contact-icon {
  color: var(--theme-accent);
}

.footer-bottom {
  border-top-color: var(--theme-border-subtle);
}

/* Ensure inner white-tinted cards on dark-only sections in about.html adapt cleanly in Day mode */
[data-theme="light"] [style*="rgba(255,255,255,0.1)"],
[data-theme="light"] [style*="rgba(255, 255, 255, 0.1)"] {
  background: #ffffff !important;
  border-color: var(--theme-border-card) !important;
  color: var(--theme-text-primary) !important;
}

[data-theme="light"] [style*="rgba(245,243,255"] {
  color: var(--theme-text-muted) !important;
}

/* ==========================================================================
   DAY MODE INTERACTIVE ANIMATION VISIBILITY (Spotlights, Cursor, Scanline)
   ========================================================================== */
[data-theme="light"] .treatment-card::before,
[data-theme="light"] .stat-item::before,
[data-theme="light"] .why-card::before,
[data-theme="light"] .review-card::before,
[data-theme="light"] .cta-banner::before {
  background: radial-gradient(
    460px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 175, 55, 0.24),
    rgba(122, 22, 44, 0.08) 42%,
    transparent 68%
  );
}

[data-theme="light"] .luxury-cursor-follower {
  border-color: rgba(122, 22, 44, 0.65);
  box-shadow: 0 0 14px rgba(166, 124, 30, 0.28);
}

[data-theme="light"] .luxury-cursor-follower.is-hovering {
  border-color: #a67c1e;
  background-color: rgba(212, 175, 55, 0.16);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.36);
}

[data-theme="light"] .biometric-scanline {
  background: linear-gradient(90deg, transparent 0%, #d4af37 30%, #7a162c 70%, transparent 100%);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.85);
}
