/* ============================================================
   LUXESMILE DENTAL CLINIC — Hident-Style Design System
   Fonts: Poppins (headings) + DM Sans (body) — matching Hident
   Colors: Navy #0F172A + Gold #D4AF37 (Hident teal → Luxesmile gold)
   ============================================================ */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Palette */
  --primary:       #D4AF37;
  --primary-dark:  #B8962E;
  --primary-light: #F0D060;
  --primary-bg:    rgba(212,175,55,0.10);
  --navy:          #0F172A;
  --navy-light:    #1E293B;
  --navy-mid:      #334155;

  /* Light Mode Semantic Tokens */
  --white:         #FFFFFF;
  --off-white:     #F8FAFC;
  --light-gray:    #F1F5F9;
  --mid-gray:      #E2E8F0;
  --text-dark:     #0F172A;
  --text-mid:      #475569;
  --text-light:    #94A3B8;
  --red-accent:    #FF4B2B;

  /* Page surface tokens (light mode defaults) */
  --bg-page:       #FFFFFF;
  --bg-off:        #F8FAFC;
  --bg-card:       #FFFFFF;
  --bg-section-alt:#F1F5F9;
  --border-color:  #E2E8F0;
  --input-bg:      #FFFFFF;

  /* Typography */
  --font-head:     'Poppins', sans-serif;
  --font-body:     'DM Sans', sans-serif;

  /* Spacing Scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-lg:  0 10px 40px rgba(15,23,42,0.14), 0 4px 8px rgba(15,23,42,0.08);
  --shadow-xl:  0 20px 60px rgba(15,23,42,0.18);
  --shadow-gold: 0 8px 32px rgba(212,175,55,0.30);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── DARK MODE TOKENS ── */
html.dark {
  /* Deep luxury dark palette */
  --white:         #1A2538;
  --off-white:     #0D1626;
  --light-gray:    #1A2538;
  --mid-gray:      #263349;
  --text-dark:     #F0EEE6;   /* warm ivory — premium feel */
  --text-mid:      #C8C4B8;   /* warm silver */
  --text-light:    #8A8880;   /* muted warm grey */

  --bg-page:       #0D1626;   /* deep navy-black */
  --bg-off:        #111D30;   /* slightly lighter navy */
  --bg-card:       #162035;   /* card surface */
  --bg-section-alt:#0F1B2D;   /* alt section bg */
  --border-color:  #243244;   /* subtle border */
  --input-bg:      #0D1626;

  /* Richer gold in dark mode */
  --primary-bg:    rgba(212,175,55,0.12);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.50), 0 2px 6px rgba(0,0,0,0.30);
  --shadow-lg:  0 10px 48px rgba(0,0,0,0.60), 0 4px 12px rgba(0,0,0,0.35);
  --shadow-xl:  0 20px 70px rgba(0,0,0,0.70);
  --shadow-gold: 0 8px 32px rgba(212,175,55,0.20);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-page);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-base); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography Scale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
p { color: var(--text-mid); line-height: 1.75; }

/* ── Section Labels (Hident eyebrow style) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-fluid { width: 100%; padding: 0 24px; }

/* ── Section Padding ── */
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-3xl) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.12); }

.btn-primary {
  background: var(--primary);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ── Out of Stock Button ── */
.btn-out-of-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: not-allowed;
  border: 1.5px solid var(--mid-gray);
  background: var(--light-gray);
  color: var(--text-light);
  opacity: 0.85;
  transition: none;
  pointer-events: none;
  user-select: none;
}
.btn-out-of-stock i { color: var(--text-light); font-size: 0.9rem; }
html.dark .btn-out-of-stock {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.35);
}
html.dark .btn-out-of-stock i { color: rgba(255,255,255,0.30); }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #0F172A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  padding: 20px;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  width: 100%;
  max-width: 320px;
}

/* The tooth SVG icon */
.loader-tooth {
  width: clamp(160px, 38vw, 220px);
  height: clamp(160px, 38vw, 220px);
  animation: toothPulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.preloader-logo h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
.preloader-logo h2 span { color: var(--primary); }

@keyframes toothPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

.preloader-bar {
  width: min(200px, 80vw);
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  animation: barFill 1.8s ease forwards;
}
@keyframes barFill {
  from { width: 0; }
  to { width: 100%; }
}

/* ── Top Bar ── */
.top-bar {
  background: #070e1c;
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: var(--primary); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-info i { color: var(--primary); font-size: 0.85rem; }
.top-social { display: flex; gap: 12px; }
.top-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
  transition: all var(--transition-base);
}
.top-social a:hover { background: var(--primary); color: var(--navy); }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-page);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, box-shadow var(--transition-base), border-color var(--transition-base);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(15,23,42,0.12);
  border-bottom-color: var(--border-color);
}
html.dark .navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.40);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo-icon {
  width: 48px; height: 48px;
  background: #0F172A;        /* Navy blue brand colour */
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  border: 1.5px solid rgba(212,175,55,0.35);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  padding: 4px;
  object-fit: contain;
}
html.dark .nav-logo-icon {
  background: #0F172A;
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 2px 8px rgba(0,0,0,0.50);
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--primary); }
/* Footer logo text — always on navy, must be white */
.footer .nav-logo-text       { color: #FFFFFF !important; }
.footer .nav-logo-text span  { color: var(--primary) !important; }
.footer .nav-logo-sub        { color: rgba(255,255,255,0.55) !important; }
.nav-logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-bg);
}
.nav-link i { font-size: 0.65rem; opacity: 0.6; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all var(--transition-base);
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-dropdown a:hover {
  background: var(--primary-bg);
  color: var(--primary);
  padding-left: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.nav-phone i { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: var(--light-gray); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Premium Dark / Light Mode Toggle ── */
.theme-toggle {
  position: relative;
  width: 64px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
}
.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

/* Track — golden gradient in light mode */
.theme-toggle-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F6D860 0%, #E8A020 100%);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: 0 2px 8px rgba(232,160,32,0.40), inset 0 1px 0 rgba(255,255,255,0.30);
  overflow: hidden;
}

/* Track — deep navy in dark mode */
.theme-toggle input:checked + .theme-toggle-track {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  box-shadow: 0 2px 8px rgba(99,102,241,0.30), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Track label text */
.toggle-label-light,
.toggle-label-dark {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
  transition: opacity 0.25s ease;
  user-select: none;
  letter-spacing: 0.03em;
}
.toggle-label-light { color: #7C4A00; opacity: 1; }
.toggle-label-dark  { color: #C7D2FE; opacity: 0; }
.theme-toggle input:checked + .theme-toggle-track .toggle-label-light { opacity: 0; }
.theme-toggle input:checked + .theme-toggle-track .toggle-label-dark  { opacity: 1; }

/* Thumb — the sliding circle */
.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle input:checked ~ .theme-toggle-thumb {
  transform: translateX(32px);
  background: #1E293B;
  box-shadow: 0 2px 6px rgba(0,0,0,0.50), 0 0 0 1px rgba(255,255,255,0.08);
}

/* Sun/Moon icon inside thumb */
.thumb-icon-sun,
.thumb-icon-moon {
  position: absolute;
  font-size: 0.7rem;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.thumb-icon-sun  { color: #F59E0B; opacity: 1;  transform: rotate(0deg); }
.thumb-icon-moon { color: #A5B4FC; opacity: 0;  transform: rotate(-90deg); }
.theme-toggle input:checked ~ .theme-toggle-thumb .thumb-icon-sun  { opacity: 0;  transform: rotate(90deg); }
.theme-toggle input:checked ~ .theme-toggle-thumb .thumb-icon-moon { opacity: 1;  transform: rotate(0deg); }

/* ── HERO SECTION (Hident style) ── */
.hero {
  position: relative;
  background: var(--bg-off);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 60px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-bg);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-label i { font-size: 0.75rem; }
.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--primary);
  position: relative;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-play {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--transition-base);
}
.hero-play:hover { color: var(--primary); }
.play-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  padding-left: 3px;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}
.hero-play:hover .play-icon { background: var(--primary); color: var(--navy); }

/* Hero trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-check {
  width: 28px; height: 28px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}
.trust-item span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
}
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--light-gray);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating cards on hero */
.hero-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card-1 {
  top: 30px;
  right: -28px;
  animation-delay: 0s;
}
.hero-card-2 {
  bottom: 60px;
  left: -28px;
  animation-delay: 1.5s;
}
.hero-card-3 {
  bottom: 160px;
  right: -20px;
  animation-delay: 0.8s;
  flex-direction: column;
  text-align: center;
  gap: 6px;
  padding: 18px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-card-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}
.hero-card-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Rating card special */
.rating-stars { color: #F59E0B; font-size: 0.75rem; margin-bottom: 2px; }
.rating-num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--text-dark); }

/* Decorative shape background */
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}
.hero-bg-shape-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -100px; right: -100px;
}
.hero-bg-shape-2 {
  width: 300px; height: 300px;
  background: var(--navy);
  bottom: -50px; left: 20%;
}

/* ── Feature Strip (icons row) ── */
.feature-strip {
  background: var(--navy);
  padding: 0;
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition-base);
  cursor: default;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.04); }
.feature-icon {
  width: 50px; height: 50px;
  background: rgba(212,175,55,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--navy);
}
.feature-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.feature-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-section-alt);
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.about-image-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.about-image-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
}

.about-content { padding-left: 20px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-section-alt);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.about-feature-item:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
}
.about-feature-item i {
  color: var(--primary);
  margin-top: 2px;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-feature-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}
.about-feature-item span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Services Section ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px; height: 64px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}
.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: var(--navy);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-base);
}
.service-link:hover { gap: 10px; }

/* ── Stats Section ── */
.stats-section { background: var(--navy); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-suffix { font-size: 1.6rem; }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  font-weight: 500;
}

/* ── Before & After Slider ── */
.before-after-section {
  background: var(--off-white);
  overflow: hidden;
}
.before-after-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.before-after-content { }
.before-after-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.ba-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  border: 2px solid var(--mid-gray);
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition-base);
}
.ba-tab.active, .ba-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

/* The slider widget */
.ba-slider-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  user-select: none;
  background: var(--light-gray);
  box-shadow: var(--shadow-xl);
}
.ba-after-img, .ba-before-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-after-img img, .ba-before-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-before-img {
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: ew-resize;
  box-shadow: var(--shadow-lg);
  z-index: 4;
  transition: transform var(--transition-fast);
}
.ba-handle:hover { transform: translate(-50%, -50%) scale(1.1); }
.ba-handle i { color: var(--navy); font-size: 0.9rem; }
.ba-labels {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  pointer-events: none;
}
.ba-label {
  background: rgba(15,23,42,0.7);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Process Steps ── */
.process-section { background: var(--bg-page); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 24px 40px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-light);
  transition: all var(--transition-base);
  position: relative;
}
.process-step.active .process-num,
.process-step:hover .process-num {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { font-size: 0.85rem; line-height: 1.6; }

/* ── Team Section ── */
.team-section { background: var(--bg-off); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-img {
  aspect-ratio: 3/4;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.team-card:hover .team-card-img img { transform: scale(1.06); }
.team-card-socials {
  position: absolute;
  bottom: -60px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(transparent, rgba(15,23,42,0.7));
  transition: bottom var(--transition-base);
}
.team-card:hover .team-card-socials { bottom: 0; }
.team-card-socials a {
  width: 34px; height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  color: var(--navy);
  transition: all var(--transition-fast);
}
.team-card-socials a:hover { background: var(--primary); }
.team-card-body {
  padding: 20px;
  text-align: center;
}
.team-card-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-card-body span {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* ── Testimonials ── */
.testimonials-section { background: var(--navy); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.80);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--light-gray);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
.testimonial-author-info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ── Appointment / CTA Section ── */
.appointment-section {
  background: var(--bg-off);
}
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.appointment-form-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--input-bg);
  transition: border-color var(--transition-fast), background 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Blog Cards ── */
.blog-section { background: var(--bg-page); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img {
  aspect-ratio: 16/10;
  background: var(--bg-section-alt);
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.blog-tag {
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex; align-items: center; gap: 5px;
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color var(--transition-base);
}
.blog-card:hover h3 { color: var(--primary); }
.blog-card p { font-size: 0.85rem; line-height: 1.65; margin-bottom: 16px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
}
.blog-read-more:hover { gap: 10px; }

/* ── Shop / Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img {
  aspect-ratio: 1;
  background: var(--bg-section-alt);
  overflow: hidden;
  position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-badge.sale { background: var(--red-accent); color: white; }
.product-actions {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.product-action-btn:hover { background: var(--primary); color: var(--navy); }
.product-body { padding: 16px; }
.product-body h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.price-current {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.price-old {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-rating { font-size: 0.75rem; color: #F59E0B; margin-bottom: 12px; }

/* ── Page Hero (Inner Pages) ── */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero-title span { color: var(--primary); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb .current { color: var(--primary); }

/* ── FAQ Accordion ── */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--bg-card);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  gap: 16px;
  transition: color var(--transition-fast);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-chevron {
  width: 32px; height: 32px;
  background: var(--bg-section-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.faq-item.open .faq-chevron {
  background: var(--primary);
  color: var(--navy);
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ── Pricing Cards ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover, .pricing-card.featured {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}
.pricing-card.featured { background: var(--navy); }
.pricing-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--primary);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.pricing-icon {
  width: 64px; height: 64px;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.pricing-card.featured .pricing-icon { background: rgba(255,255,255,0.10); }
.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-name { color: var(--white); }
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin: 16px 0;
}
.pricing-currency { font-size: 1.4rem; vertical-align: super; }
.pricing-period { font-size: 0.8rem; color: var(--text-light); font-weight: 400; }
.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.7); }
.pricing-features li i { color: var(--primary); font-size: 0.8rem; flex-shrink: 0; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin: 16px 0 24px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all var(--transition-base);
}
.footer-social a:hover { background: var(--primary); color: var(--navy); }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-base);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
/* Sidebar contact widget: not on navy bg — must use dark readable text */
.sidebar-widget .footer-contact-item span {
  color: var(--text-mid) !important;
}
.sidebar-widget .footer-contact-item a {
  color: var(--text-mid) !important;
}
.sidebar-widget .footer-contact-item a:hover {
  color: var(--primary) !important;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-copyright a { color: var(--primary); }
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-base);
}
.footer-legal a:hover { color: var(--primary); }

/* ── Cart Sidebar ── */
#cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 2000;
  box-shadow: -4px 0 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
#cart-sidebar.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 1999;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section-alt);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-dark);
}
.cart-close:hover { background: var(--border-color); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.cart-empty i { font-size: 3rem; margin-bottom: 16px; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--bg-section-alt);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; color: var(--primary); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-section-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-dark);
}
.qty-btn:hover { background: var(--primary); color: var(--navy); }
.qty-num { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
  font-size: 0.85rem;
  padding: 4px;
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--red-accent); }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border-color); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 700;
}
.cart-total-price { font-size: 1.2rem; color: var(--primary); }

/* ── Toast Notification ── */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  min-width: 260px;
}
.toast i { color: var(--primary); }
.toast.success i { color: #22C55E; }
.toast.error i { color: var(--red-accent); }
@keyframes toastIn {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  to { transform: translateX(100px); opacity: 0; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ── Section Header ── */
.section-header {
  margin-bottom: var(--space-lg);
}
.section-header.centered { text-align: center; }
.section-header .section-label { justify-content: center; }

.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; font-size: 1rem; }
.section-header.centered p { margin: 0 auto; }

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-gold { color: var(--primary); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.bg-navy { background: var(--navy); }
.bg-gold { background: var(--primary); }
.bg-off-white { background: var(--off-white); }
.bg-light { background: var(--light-gray); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ── Responsive Breakpoints ── */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 500px; }
  .about-content { padding-left: 0; }
  .appointment-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .before-after-inner { grid-template-columns: 1fr; gap: 48px; }
  .btn-lg { padding: 16px 32px; font-size: 0.95rem; }
}

@media (max-width: 768px) {
  /* ── Top bar ── */
  .top-bar-left { display: none; }
  .top-bar-right { width: 100%; justify-content: space-between; }

  /* ── Navbar ── */
  .nav-inner { padding: 12px 0; gap: 12px; }
  /* Mobile menu drawer */
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 340px;
    height: 100dvh; /* use dvh for proper mobile height */
    background: var(--bg-card);
    flex-direction: column;
    padding: 72px 20px 40px;
    gap: 2px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    z-index: 1100;
    overflow-y: auto;
    align-items: flex-start;
    border-left: 1px solid var(--border-color);
  }
  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 16px;
    display: none;
    width: 100%;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a { color: var(--text-mid); font-size: 0.9rem; }
  .nav-link { width: 100%; font-size: 0.95rem; padding: 12px 14px; border-radius: var(--radius-md); }
  .nav-phone { display: none; }

  /* Tighten nav-actions on mobile */
  .nav-actions { gap: 8px; }
  .nav-actions .btn-sm { font-size: 0.76rem; padding: 9px 12px; white-space: nowrap; }
  /* Hide "Book Appointment" text on mobile, show only icon */
  .nav-actions .btn-sm .btn-book-text { display: none; }

  /* ── Hero ── */
  .hero { padding: 0; }
  .hero-inner { padding: 48px 0 40px; gap: 32px; }
  .hero-label { font-size: 0.72rem; padding: 7px 14px; }
  .hero-desc { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { gap: 12px; }
  .hero-trust { gap: 16px; }

  /* ── Feature strip ── */
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-item { padding: 24px 20px; gap: 12px; }
  .feature-item:nth-child(even) { border-right: none; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 40px 20px; }
  .stat-num { font-size: 2.4rem; }

  /* ── About ── */
  .about-image-badge { right: 0; bottom: -16px; padding: 18px; }
  .about-image-badge strong { font-size: 1.8rem; }
  .about-features { grid-template-columns: 1fr; }

  /* ── Process ── */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-step { padding: 0 16px 32px; }

  /* ── Team ── */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Testimonials ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── Appointment ── */
  .appointment-form-wrap { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; }

  /* ── Products ── */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { justify-content: center; }

  /* ── Cart ── */
  #cart-sidebar { width: 100%; max-width: 100%; }

  /* ── Sections padding ── */
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

@media (max-width: 480px) {
  /* ── Container padding ── */
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero-inner { padding: 40px 0 32px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem) !important; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { justify-content: center; }
  .hero-play { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }

  /* ── Nav actions — hide Book btn on really small screens ── */
  .nav-actions .btn-sm span { display: none; } /* fallback if wrapped in span */

  /* ── Feature strip ── */
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .feature-item:last-child { border-bottom: none; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 16px; }
  .stat-num { font-size: 2rem; }

  /* ── Team ── */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* ── Products ── */
  .products-grid { grid-template-columns: 1fr; }

  /* ── Appointment form ── */
  .appointment-form-wrap { padding: 22px 18px; border-radius: var(--radius-lg); }
  .form-title { font-size: 1.3rem; }

  /* ── Buttons ── */
  .btn-lg { padding: 14px 24px; font-size: 0.9rem; }
  .btn { white-space: normal; text-align: center; }

  /* ── Footer ── */
  .footer-bottom { padding: 16px 0; }

  /* ── CTA section ── */
  section .btn-lg { width: 100%; justify-content: center; }
}

/* ── Dark mode — sections with hardcoded bg ── */
html.dark .section[style*="background: var(--white)"],
html.dark .section[style*="background:var(--white)"] {
  background: var(--bg-page) !important;
}
html.dark .section[style*="background: var(--off-white)"],
html.dark .section[style*="background:var(--off-white)"] {
  background: var(--bg-off) !important;
}

/* Inline style overrides for dark mode on sections */
html.dark [style*="background:var(--navy)"],
html.dark [style*="background: var(--navy)"] {
  /* navy sections already look fine in dark mode — keep them */
}
html.dark [style*="background:var(--off-white)"],
html.dark [style*="background: var(--off-white)"] {
  background: var(--bg-off) !important;
}
html.dark [style*="background:var(--white)"],
html.dark [style*="background: var(--white)"] {
  background: var(--bg-page) !important;
}

/* Inline style text color overrides in dark mode */
html.dark [style*="color:var(--navy)"],
html.dark [style*="color: var(--navy)"] {
  color: var(--text-dark) !important;
}
html.dark [style*="color:var(--text-dark)"],
html.dark [style*="color: var(--text-dark)"] {
  color: var(--text-dark) !important;
}
html.dark [style*="color:var(--text-mid)"],
html.dark [style*="color: var(--text-mid)"] {
  color: var(--text-mid) !important;
}
/* Icon background boxes in why-choose & appointment sections */
html.dark [style*="background:var(--primary-bg)"],
html.dark [style*="background: var(--primary-bg)"] {
  background: rgba(212,175,55,0.15) !important;
}
html.dark [style*="background:var(--light-gray)"],
html.dark [style*="background: var(--light-gray)"] {
  background: var(--bg-section-alt) !important;
}

/* Appointment section inline strong text */
html.dark .appointment-grid strong { color: var(--text-dark); }
html.dark .appointment-grid span { color: var(--text-mid); }

/* Why choose us section */
html.dark .about-grid strong { color: var(--text-dark) !important; }
html.dark .about-grid p { color: var(--text-mid) !important; }

/* Team card span */
html.dark .team-card-body span { color: var(--primary); }

/* h2, h3, h4 color fix in dark mode (they inherit text-dark which is now light) */
html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6 {
  color: var(--text-dark);
}

/* Fix color: var(--navy) in heading contexts */
html.dark .hero-title,
html.dark .service-card h3,
html.dark .process-step h4,
html.dark .blog-card h3 {
  color: var(--text-dark);
}

/* Section-specific inline fixes */
html.dark .section-header h2,
html.dark .section-header p { color: inherit; }

/* Appointment info text */
html.dark .appointment-grid .btn-white {
  background: rgba(255,255,255,0.12);
  color: var(--text-dark);
}
html.dark .appointment-grid .btn-white:hover {
  background: rgba(255,255,255,0.18);
}

/* Fix the navy bg emergency box within appointment */
html.dark [style*="background:var(--navy)"][style*="border-radius"] {
  background: #0a1120 !important;
}

/* Blog section header in dark mode */
html.dark .blog-section h2 { color: var(--text-dark); }

/* Page hero stays dark always */
.page-hero { background: var(--navy) !important; }

/* ── Top bar in dark mode — stays navy ── */
html.dark .top-bar {
  background: #070e1c;
  border-bottom-color: rgba(255,255,255,0.04);
}

/* ── Stats section stays navy — readability already fine ── */

/* ── Testimonials section stays navy ── */

/* ── Footer stays navy ── */

/* ── CTA band stays navy ── */

/* ── Mobile nav menu close area — add semi-opaque overlay ── */
html.dark .cart-overlay.open {
  background: rgba(0,0,0,0.65);
}

/* ── Dark mode select option (browser-native) ── */
html.dark .form-group select option {
  background: var(--bg-card);
  color: var(--text-dark);
}

/* ── Scrollbar in dark mode ── */
html.dark ::-webkit-scrollbar { width: 8px; }
html.dark ::-webkit-scrollbar-track { background: var(--bg-off); }
html.dark ::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 4px; }
html.dark ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ════════════════════════════════════════════════════════════
   COMPREHENSIVE DARK MODE LEGIBILITY FIXES
   Ensures all text is clearly visible across every section
   ════════════════════════════════════════════════════════════ */

/* Fix inline color:var(--navy) on text elements — navy is near-black and invisible on dark bg */
html.dark [style*="color:var(--navy)"],
html.dark [style*="color: var(--navy)"] {
  color: var(--text-dark) !important;
}

/* Sidebar widget headings (blog_single.html) */
html.dark .sidebar-widget h4 {
  color: var(--text-dark) !important;
}

/* Sidebar widget background in dark mode */
html.dark .sidebar-widget {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

/* Contact page: Opening Hours box background */
html.dark [style*="background:var(--white)"],
html.dark [style*="background: var(--white)"] {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}

/* Contact page: Opening Hours heading color override (inline color:var(--navy)) 
   Already handled by the rule above but ensuring border too */
html.dark .hours-table td:first-child { color: var(--text-dark); }
html.dark .hours-table td:last-child { color: var(--text-mid); }
html.dark .hours-table tr { border-bottom-color: var(--border-color); }

/* Process section steps text on dark mode */
html.dark .process-step h4 { color: var(--text-dark) !important; }
html.dark .process-step p { color: var(--text-mid) !important; }
html.dark .process-num { color: var(--text-light); background: var(--bg-card); border-color: var(--border-color); }

/* Why Choose Us section — inline strong/p text */
html.dark [style*="color:var(--navy);margin-bottom:4px"],
html.dark [style*="color: var(--navy); margin-bottom: 4px"] {
  color: var(--text-dark) !important;
}

/* Appointment section info boxes text */
html.dark .appointment-section strong { color: var(--text-dark); }
html.dark .appointment-section span { color: var(--text-mid); }

/* Team section — p tag inside team-card-body */
html.dark .team-card-body p { color: var(--text-mid) !important; }

/* Services page — inline section backgrounds */
html.dark .service-block-content p { color: var(--text-mid) !important; }
html.dark .service-list-item { color: var(--text-mid); }

/* Blog page — blog card content */
html.dark .blog-card-body p { color: var(--text-mid) !important; }
html.dark .blog-card-meta .blog-date { color: var(--text-light); }

/* Blog single page — article body text */
html.dark .article-body p { color: var(--text-mid) !important; }
html.dark .article-body h2,
html.dark .article-body h3 { color: var(--text-dark) !important; }
html.dark .article-body li { color: var(--text-mid); }
html.dark .article-body blockquote { border-left-color: var(--primary); background: var(--bg-section-alt); color: var(--text-mid); }
html.dark .callout { background: var(--bg-section-alt) !important; color: var(--text-mid); }

/* Blog single: Share section */
html.dark [style*="color:var(--navy)"][style*="font-size:0.88rem"] {
  color: var(--text-dark) !important;
}

/* Shop page: Delivery Info box */
html.dark .shop-section [style*="background:var(--white)"] {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}
html.dark .shop-section h4 { color: var(--text-dark) !important; }
html.dark .shop-section p { color: var(--text-mid) !important; }

/* Careers page: benefits section and job listings */
html.dark .benefit-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .benefit-card h4 { color: var(--text-dark) !important; }
html.dark .benefit-card p { color: var(--text-mid) !important; }
html.dark .job-listing { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .job-listing h3 { color: var(--text-dark) !important; }
html.dark .job-meta span { color: var(--text-mid) !important; }

/* Careers: Closed position tag dark mode fix */
html.dark [style*="background:#fee2e2"] {
  background: rgba(185,28,28,0.2) !important;
  color: #fca5a5 !important;
}
html.dark [style*="color:#b91c1c"] {
  color: #fca5a5 !important;
}
html.dark .job-tag[style*="background:#fee2e2"] {
  background: rgba(185,28,28,0.2) !important;
  color: #fca5a5 !important;
}

/* Careers: hero stats bar is on primary/gold background — keep navy text */
html.dark .hero-stat-item strong { color: var(--navy) !important; }
html.dark .hero-stat-item span { color: var(--navy) !important; }

/* Services page: sticky service nav */
html.dark .service-nav-sticky {
  background: var(--bg-card) !important;
  border-bottom-color: var(--border-color) !important;
}
html.dark .service-nav-link { color: var(--text-mid) !important; }
html.dark .service-nav-link:hover,
html.dark .service-nav-link.active { color: var(--primary) !important; }

/* Services page: service-price-note */
html.dark .service-price-note { color: var(--text-mid) !important; background: var(--bg-section-alt) !important; border-color: var(--border-color) !important; }

/* Services: FAQ section */
html.dark .faq-question { color: var(--text-dark) !important; }
html.dark .faq-answer-inner { color: var(--text-mid) !important; }

/* About section feature items */
html.dark .about-feature-item strong { color: var(--text-dark) !important; }
html.dark .about-feature-item span { color: var(--text-light) !important; }

/* Ensure section background variants work */
html.dark .section[style*="background: var(--white)"],
html.dark .section[style*="background:var(--white)"] {
  background: var(--bg-page) !important;
}
html.dark div[style*="background:var(--white)"],
html.dark div[style*="background: var(--white)"] {
  background: var(--bg-card) !important;
}

/* Contact page inline text */
html.dark .contact-option-card h4 { color: var(--text-dark) !important; }
html.dark .contact-option-card p { color: var(--text-light) !important; }
html.dark .contact-option-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }

/* Form labels and input text in dark mode */
html.dark .form-group label { color: var(--text-dark); }
html.dark .form-group input,
html.dark .form-group select,
html.dark .form-group textarea {
  color: var(--text-dark);
  background: var(--input-bg);
  border-color: var(--border-color);
}
html.dark .form-group input::placeholder,
html.dark .form-group textarea::placeholder {
  color: var(--text-light);
}

/* Page hero stays dark — text already white */

/* Blog single: author bio card (no avatar version) */
html.dark .author-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .author-card .author-info h4 { color: var(--text-dark) !important; }
html.dark .author-card .author-info p { color: var(--text-mid) !important; }
html.dark .author-card .author-info span { color: var(--primary) !important; }

/* Blog page: filter buttons and search */
html.dark .filter-btn { background: var(--bg-card) !important; border-color: var(--border-color) !important; color: var(--text-mid) !important; }
html.dark .filter-btn:hover, html.dark .filter-btn.active { border-color: var(--primary) !important; color: var(--primary) !important; background: var(--primary-bg) !important; }
html.dark .blog-search-wrap input { background: var(--input-bg) !important; border-color: var(--border-color) !important; color: var(--text-dark) !important; }

/* Blog page: featured article */
html.dark .featured-article { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .featured-article-body h2 { color: var(--text-dark) !important; }
html.dark .featured-article-body p { color: var(--text-mid) !important; }

/* Blog page: author meta text */
html.dark .blog-author-name { color: var(--text-dark) !important; }
html.dark .blog-author-role { color: var(--text-light) !important; }

/* Ensure all inline p tags with no explicit color are legible */
html.dark p { color: var(--text-mid); }

/* Ensure strong tags in content areas are visible */
html.dark .service-card strong,
html.dark .process-step strong,
html.dark .about-feature-item strong { color: var(--text-dark) !important; }

/* ════════════════════════════════════════════════════════════
   EXTENDED TEXT VISIBILITY FIXES — LIGHT & DARK MODE
   Covers all sections, cards, footer, blog, and inline styles
   ════════════════════════════════════════════════════════════ */

/* ── LIGHT MODE: Ensure body text contrast is always sufficient ── */
p { color: var(--text-mid); }
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); }

/* ── DARK MODE: Deep luxury premium enhancements ── */
html.dark body {
  background: var(--bg-page);
  color: var(--text-dark);
}

/* Navbar in dark mode — luxurious dark surface */
html.dark .navbar {
  background: var(--bg-page);
  border-bottom-color: var(--border-color);
}
html.dark .navbar.scrolled {
  background: rgba(13, 22, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.50);
}

/* Nav links readable in dark mode */
html.dark .nav-link { color: var(--text-dark); }
html.dark .nav-logo-text { color: var(--text-dark); }
html.dark .nav-logo-sub { color: var(--text-light); }
html.dark .nav-toggle span { background: var(--text-dark); }

/* Hero section dark mode */
html.dark .hero { background: var(--bg-off); }
html.dark .hero-title { color: var(--text-dark); }
html.dark .hero-desc { color: var(--text-mid); }
html.dark .hero-play { color: var(--text-dark); }
html.dark .trust-item span { color: var(--text-mid); }
html.dark .hero-card { background: var(--bg-card); border: 1px solid var(--border-color); }
html.dark .hero-card-num { color: var(--text-dark); }
html.dark .hero-card-label { color: var(--text-light); }
html.dark .rating-num { color: var(--text-dark); }

/* Cards in dark mode — luxury elevated surface */
html.dark .service-card,
html.dark .blog-card,
html.dark .product-card,
html.dark .pricing-card:not(.featured),
html.dark .faq-item {
  background: var(--bg-card);
  border-color: var(--border-color);
}
html.dark .service-card h3 { color: var(--text-dark); }
html.dark .service-card p { color: var(--text-mid); }

/* About / feature items */
html.dark .about-feature-item { background: var(--bg-section-alt); border: 1px solid var(--border-color); }
html.dark .about-feature-item strong { color: var(--text-dark) !important; }
html.dark .about-feature-item span { color: var(--text-light) !important; }

/* Process section */
html.dark .process-section { background: var(--bg-page); }
html.dark .process-num {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-light);
}
html.dark .process-step h4 { color: var(--text-dark) !important; }
html.dark .process-step p { color: var(--text-mid) !important; }

/* Appointment section */
html.dark .appointment-section { background: var(--bg-off); }
html.dark .appointment-form-wrap {
  background: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}
html.dark .form-title { color: var(--text-dark); }
html.dark .form-subtitle { color: var(--text-mid); }

/* Sidebar widgets */
html.dark .sidebar-widget {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}
html.dark .sidebar-widget h4 { color: var(--text-dark) !important; }
html.dark .sidebar-article-info h5 { color: var(--text-dark); }
html.dark .sidebar-article-info span { color: var(--text-light); }
html.dark .sidebar-article { border-bottom-color: var(--border-color); }

/* Blog cards */
html.dark .blog-card h3 { color: var(--text-dark) !important; }
html.dark .blog-card p { color: var(--text-mid) !important; }
html.dark .blog-date { color: var(--text-light); }

/* Author card in dark mode */
html.dark .author-card {
  background: var(--bg-card) !important;
  border-left-color: var(--primary);
}
html.dark .author-info h4 { color: var(--text-dark) !important; }
html.dark .author-info span { color: var(--primary) !important; }
html.dark .author-info p { color: var(--text-mid) !important; }

/* Article body */
html.dark .article-body { color: var(--text-mid); }
html.dark .article-body h2 { color: var(--text-dark) !important; }
html.dark .article-body h3 { color: var(--text-dark) !important; }
html.dark .article-body strong { color: var(--text-dark) !important; }
html.dark .article-body li { color: var(--text-mid); }
html.dark .article-body blockquote {
  background: var(--bg-section-alt);
  border-left-color: var(--primary);
  color: var(--text-mid);
}
html.dark .callout {
  background: var(--bg-section-alt) !important;
  color: var(--text-mid);
}
html.dark .callout div { color: var(--text-mid); }
html.dark .callout strong { color: var(--text-dark) !important; }

/* Share bar */
html.dark .share-bar {
  border-top-color: var(--border-color);
  border-bottom-color: var(--border-color);
}
html.dark .share-copy {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

/* All headings in dark mode globally */
html.dark h1, html.dark h2, html.dark h3,
html.dark h4, html.dark h5, html.dark h6 {
  color: var(--text-dark);
}

/* All paragraphs in dark mode */
html.dark p { color: var(--text-mid); }

/* All strong/b in content */
html.dark strong, html.dark b { color: var(--text-dark); }

/* Inline navy color fixes globally */
html.dark [style*="color:var(--navy)"],
html.dark [style*="color: var(--navy)"] {
  color: var(--text-dark) !important;
}
html.dark [style*="color:var(--text-dark)"],
html.dark [style*="color: var(--text-dark)"] {
  color: var(--text-dark) !important;
}
html.dark [style*="color:var(--text-mid)"],
html.dark [style*="color: var(--text-mid)"] {
  color: var(--text-mid) !important;
}
html.dark [style*="color:rgba(255,255,255,0.55)"],
html.dark [style*="color: rgba(255,255,255,0.55)"] {
  color: rgba(255,255,255,0.65) !important;
}

/* Inline bg overrides */
html.dark [style*="background:var(--off-white)"],
html.dark [style*="background: var(--off-white)"] {
  background: var(--bg-off) !important;
}
html.dark [style*="background:var(--white)"],
html.dark [style*="background: var(--white)"] {
  background: var(--bg-card) !important;
}
html.dark [style*="background:var(--light-gray)"],
html.dark [style*="background: var(--light-gray)"] {
  background: var(--bg-section-alt) !important;
}
html.dark [style*="background:var(--primary-bg)"],
html.dark [style*="background: var(--primary-bg)"] {
  background: rgba(212,175,55,0.15) !important;
}

/* Section backgrounds */
html.dark .section[style*="background:var(--off-white)"],
html.dark .section[style*="background: var(--off-white)"] {
  background: var(--bg-off) !important;
}
html.dark .section[style*="background:var(--white)"],
html.dark .section[style*="background: var(--white)"] {
  background: var(--bg-page) !important;
}

/* LIGHT MODE LUXURY ENHANCEMENTS */
/* Make light mode feel more premium with refined surfaces */
:root {
  /* Subtle warm-white for luxury feel */
  --bg-page:       #FDFCFA;
  --bg-off:        #F7F5F0;
  --bg-card:       #FFFFFF;
  --bg-section-alt:#F0EDE6;
  --off-white:     #F7F5F0;
}

/* Light mode — refined card surfaces */
.service-card,
.blog-card,
.product-card,
.pricing-card:not(.featured) {
  background: #FFFFFF;
}

/* Light mode hero — warm off-white */
.hero { background: var(--bg-off); }

/* All strong tags in light mode content */
strong, b { color: var(--text-dark); }

/* Light mode: all footer text on navy */
.footer h5, .footer-col h5 { color: #FFFFFF !important; }
.footer-links a { color: rgba(255,255,255,0.60) !important; }
.footer-contact-item span { color: rgba(255,255,255,0.60) !important; }
.footer-brand-text { color: rgba(255,255,255,0.55) !important; }
.footer-copyright { color: rgba(255,255,255,0.45) !important; }
.footer-legal a { color: rgba(255,255,255,0.45) !important; }

/* Light mode: cards and sections with white/off-white backgrounds */
.blog-card h3 { color: var(--text-dark); }
.blog-card p  { color: var(--text-mid); }
.service-card h3 { color: var(--text-dark); }
.service-card p  { color: var(--text-mid); }
.process-step h4 { color: var(--text-dark); }
.process-step p  { color: var(--text-mid); }
.about-feature-item strong { color: var(--text-dark); }
.about-feature-item span   { color: var(--text-light); }
.team-card-body h4  { color: var(--text-dark); }
.team-card-body p   { color: var(--text-light); }
.faq-question       { color: var(--text-dark); }
.faq-answer-inner   { color: var(--text-mid); }

/* Light mode footer — always on navy so text must be light */
.footer h5              { color: #FFFFFF; }
.footer-brand-text      { color: rgba(255,255,255,0.6); }
.footer-links a         { color: rgba(255,255,255,0.6); }
.footer-contact-item span{ color: rgba(255,255,255,0.6); }
.footer-copyright       { color: rgba(255,255,255,0.5); }
.footer-legal a         { color: rgba(255,255,255,0.5); }

/* Light mode: nav-logo-sub, breadcrumbs inside page-hero */
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb   { color: rgba(255,255,255,0.55); }
.page-hero-title         { color: #FFFFFF; }

/* Light mode: testimonials on navy bg */
.testimonial-text { color: rgba(255,255,255,0.82); }
.testimonial-author-info strong { color: #FFFFFF; }
.testimonial-author-info span   { color: rgba(255,255,255,0.5); }

/* Light mode: stats on navy bg */
.stat-label { color: rgba(255,255,255,0.65); }

/* Light mode: feature strip on navy bg */
.feature-text strong { color: #FFFFFF; }
.feature-text span   { color: rgba(255,255,255,0.55); }

/* Light mode: newsletter section on navy bg */
.newsletter-section h3 { color: #FFFFFF; }
.newsletter-section p  { color: rgba(255,255,255,0.65); }

/* Light mode: sidebar widget headings and body */
.sidebar-widget h4 { color: var(--navy); }
.sidebar-article-info h5 { color: var(--text-dark); }
.sidebar-article-info span { color: var(--text-light); }

/* Light mode: blog_single article body */
.article-body          { color: var(--text-mid); }
.article-body h2       { color: var(--text-dark); }
.article-body h3       { color: var(--text-dark); }
.article-body strong   { color: var(--text-dark); }
.article-body blockquote { color: var(--text-dark); }
.article-body .callout { background: var(--light-gray); color: var(--text-dark); }

/* Light mode: author card (no avatar — text only, premium left-border style) */
.author-card           { background: var(--light-gray); border-left: 4px solid var(--primary); }
.author-info h4        { color: var(--text-dark); }
.author-info p         { color: var(--text-mid); }
.author-info span      { color: var(--primary); font-weight: 600; }

/* Light mode: share bar label */
.share-bar strong      { color: var(--navy); }

/* ── DARK MODE: Comprehensive coverage ── */

/* Body & base */
html.dark body { color: var(--text-mid); }

/* Navigation */
html.dark .nav-logo-text { color: var(--text-dark); }
html.dark .nav-logo-sub  { color: var(--text-light); }
html.dark .nav-link      { color: var(--text-dark); }
html.dark .nav-toggle span { background: var(--text-dark); }

/* Mobile nav drawer */
html.dark .nav-menu { background: var(--bg-card); border-left-color: var(--border-color); }
html.dark .nav-dropdown a { color: var(--text-mid); }

/* Hero section (light bg in light mode, respects dark token) */
html.dark .hero-title    { color: var(--text-dark) !important; }
html.dark .hero-desc     { color: var(--text-mid)  !important; }
html.dark .hero-play span{ color: var(--text-dark) !important; }
html.dark .trust-item span { color: var(--text-mid) !important; }
html.dark .hero-card-num   { color: var(--text-dark) !important; }
html.dark .hero-card-label { color: var(--text-light) !important; }
html.dark .rating-num      { color: var(--text-dark) !important; }

/* Services section */
html.dark .service-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .service-card h3 { color: var(--text-dark) !important; }
html.dark .service-card p  { color: var(--text-mid)  !important; }

/* About section */
html.dark .about-content h2 { color: var(--text-dark) !important; }
html.dark .about-content p  { color: var(--text-mid)  !important; }

/* Featured article (blog page) */
html.dark .featured-article { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .featured-article-body h2 { color: var(--text-dark) !important; }
html.dark .featured-article-body p  { color: var(--text-mid)  !important; }
html.dark .featured-label            { color: var(--primary)   !important; background: var(--primary-bg) !important; }

/* Blog cards */
html.dark .blog-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .blog-card h3 { color: var(--text-dark) !important; }
html.dark .blog-card p  { color: var(--text-mid)  !important; }
html.dark .blog-date    { color: var(--text-light) !important; }

/* Blog single: article */
html.dark .article-body p  { color: var(--text-mid)  !important; }
html.dark .article-body h2 { color: var(--text-dark) !important; }
html.dark .article-body h3 { color: var(--text-dark) !important; }
html.dark .article-body li { color: var(--text-mid)  !important; }
html.dark .article-body strong { color: var(--text-dark) !important; }
html.dark .article-body blockquote {
  background: var(--bg-section-alt) !important;
  color: var(--text-mid) !important;
  border-left-color: var(--primary) !important;
}
html.dark .article-body .callout {
  background: var(--bg-section-alt) !important;
  color: var(--text-mid) !important;
}
html.dark .article-body .callout strong { color: var(--text-dark) !important; }

/* Blog single: meta info */
html.dark #article-title { color: var(--text-dark) !important; }
html.dark .article-meta .blog-date { color: var(--text-light) !important; }

/* Blog single: author card */
html.dark .author-card { background: var(--bg-card) !important; }
html.dark .author-info h4 { color: var(--text-dark) !important; }
html.dark .author-info p  { color: var(--text-mid)  !important; }

/* Blog single: share bar */
html.dark .share-bar { border-color: var(--border-color) !important; }
html.dark .share-bar strong { color: var(--text-dark) !important; }
html.dark .share-copy { background: var(--bg-section-alt) !important; color: var(--text-dark) !important; }

/* Blog single: sidebar */
html.dark .sidebar-widget { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .sidebar-widget h4 { color: var(--text-dark) !important; border-bottom-color: var(--primary) !important; }
html.dark .sidebar-article { border-color: var(--border-color) !important; }
html.dark .sidebar-article-info h5  { color: var(--text-dark)  !important; }
html.dark .sidebar-article-info span{ color: var(--text-light) !important; }
html.dark .sidebar-cta h4  { color: #FFFFFF !important; }
html.dark .sidebar-cta p   { color: rgba(255,255,255,0.6) !important; }

/* Blog single: related articles section */
html.dark #related-articles .blog-card h3 { color: var(--text-dark) !important; }

/* Contact widget inside sidebar */
html.dark .sidebar-widget .footer-contact-item span { color: var(--text-mid) !important; }
html.dark .sidebar-widget .footer-contact-item a    { color: var(--text-mid) !important; }

/* Newsletter section (navy) — always light text regardless of mode */
.newsletter-section { background: var(--navy) !important; }
.newsletter-section .section-label { color: var(--primary) !important; }
.newsletter-section h3 { color: #FFFFFF !important; }
.newsletter-section p  { color: rgba(255,255,255,0.65) !important; }
.newsletter-form input { color: var(--navy) !important; background: #FFFFFF !important; }

/* Footer — always on navy, ensure full text legibility */
.footer                  { background: var(--navy) !important; }
html.dark .footer        { background: #0a0f1e !important; }
.footer h5               { color: #FFFFFF          !important; }
.footer-brand-text       { color: rgba(255,255,255,0.58) !important; }
.footer-links a          { color: rgba(255,255,255,0.58) !important; }
.footer-links a:hover    { color: var(--primary)   !important; }
.footer-contact-item span{ color: rgba(255,255,255,0.58) !important; }
.footer-contact-item a   { color: rgba(255,255,255,0.58) !important; }
.footer-copyright        { color: rgba(255,255,255,0.42) !important; }
.footer-copyright a      { color: var(--primary)   !important; }
.footer-legal a          { color: rgba(255,255,255,0.42) !important; }
.footer-social a         { color: rgba(255,255,255,0.65) !important; }

/* Footer bottom border */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }

/* ── Inline color:var(--navy) on any dark bg ── */
html.dark [style*="color:var(--navy)"],
html.dark [style*="color: var(--navy)"] {
  color: var(--text-dark) !important;
}

/* ── Inline color for "Share this article:" label ── */
html.dark [style*="color:var(--navy)"][style*="font-size"] {
  color: var(--text-dark) !important;
}

/* Pricing cards on dark mode */
html.dark .pricing-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .pricing-card.featured { background: var(--navy-light) !important; }
html.dark .pricing-name { color: var(--text-dark) !important; }
html.dark .pricing-period { color: var(--text-light) !important; }
html.dark .pricing-features li { color: var(--text-mid) !important; }

/* FAQ on dark mode */
html.dark .faq-item { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .faq-question { color: var(--text-dark) !important; }
html.dark .faq-answer-inner { color: var(--text-mid) !important; }
html.dark .faq-chevron { background: var(--bg-section-alt) !important; color: var(--text-mid) !important; }

/* Product cards on dark mode */
html.dark .product-card { background: var(--bg-card) !important; border-color: var(--border-color) !important; }
html.dark .product-body h4 { color: var(--text-dark) !important; }
html.dark .product-rating   { color: #F59E0B !important; }

/* Contact page form and info */
html.dark .form-title    { color: var(--text-dark) !important; }
html.dark .form-subtitle { color: var(--text-light) !important; }
html.dark .form-group label { color: var(--text-dark) !important; }

/* Appointment section content */
html.dark .appointment-form-wrap {
  background: var(--bg-card) !important;
  border-color: var(--border-color) !important;
}
html.dark .form-title    { color: var(--text-dark) !important; }
html.dark .form-subtitle { color: var(--text-light) !important; }

/* Section headers (centered) on white/off-white bgs */
html.dark .section-header h2 { color: var(--text-dark) !important; }
html.dark .section-header p  { color: var(--text-mid)  !important; }

/* Careers page */
html.dark .job-listing h3  { color: var(--text-dark)  !important; }
html.dark .job-listing p   { color: var(--text-mid)   !important; }
html.dark .job-meta span   { color: var(--text-light) !important; }

/* Services page: detail blocks */
html.dark .service-block h2 { color: var(--text-dark) !important; }
html.dark .service-block p  { color: var(--text-mid)  !important; }
html.dark .service-list-item { color: var(--text-mid) !important; }
html.dark .price-note        { color: var(--text-mid) !important; }

/* Process numbers in dark mode */
html.dark .process-num { color: var(--text-light) !important; background: var(--bg-card) !important; border-color: var(--border-color) !important; }

/* Inline dark text headings on off-white backgrounds */
html.dark [style*="color:var(--text-dark)"],
html.dark [style*="color: var(--text-dark)"] {
  color: var(--text-dark) !important;
}
html.dark [style*="color:var(--text-mid)"],
html.dark [style*="color: var(--text-mid)"] {
  color: var(--text-mid) !important;
}

/* ── TOP BAR always dark bg with light text ── */
.top-bar        { color: rgba(255,255,255,0.78) !important; }
.top-bar span   { color: rgba(255,255,255,0.78) !important; }
.top-bar a      { color: rgba(255,255,255,0.78) !important; }
.top-bar a:hover{ color: var(--primary) !important; }

/* ════════════════════════════════════════════════════════════
   TARGETED BUG FIXES — Round 2
   ════════════════════════════════════════════════════════════ */

/* FIX 1 — FOOTER LOGO: 'Luxe' text always white on navy background */
.footer .nav-logo .nav-logo-text      { color: #FFFFFF !important; }
.footer .nav-logo .nav-logo-text span { color: var(--primary) !important; }
.footer .nav-logo .nav-logo-sub       { color: rgba(255,255,255,0.55) !important; }
footer .nav-logo-text                 { color: #FFFFFF !important; }
footer .nav-logo-text span            { color: var(--primary) !important; }
footer .nav-logo-sub                  { color: rgba(255,255,255,0.55) !important; }

/* FIX 2 — CTA BAND btn-white in dark mode (gradient navy bg — needs real white button) */
html.dark section[style*="linear-gradient"] .btn-white {
  background: rgba(255,255,255,0.90) !important;
  color: #0F172A !important;
}
html.dark section[style*="linear-gradient"] .btn-white:hover {
  background: #FFFFFF !important;
  color: #0F172A !important;
}
/* CTA band paragraph text legibility in both modes */
section[style*="linear-gradient"][style*="var(--navy)"] p[style*="rgba(255,255,255"] {
  color: rgba(255,255,255,0.72) !important;
}
html.dark section[style*="linear-gradient"] p { color: rgba(255,255,255,0.75) !important; }
html.dark section[style*="linear-gradient"] h2 { color: #FFFFFF !important; }

/* FIX 3 — BLOG_SINGLE SIDEBAR CONTACTS: reinforce light mode readability */
.sidebar-widget .footer-contact-item span { color: var(--text-mid) !important; }
.sidebar-widget .footer-contact-item a    { color: var(--primary)  !important; }
.sidebar-widget .footer-contact-item i    { color: var(--primary)  !important; }
html.dark .sidebar-widget .footer-contact-item span { color: var(--text-mid) !important; }
html.dark .sidebar-widget .footer-contact-item a    { color: var(--primary)  !important; }

/* FIX 4 — CAREERS 'Nairobi' tag: hardcode white so it's never remapped by --white variable */
.job-tag-location {
  background: var(--navy);
  color: #FFFFFF !important;  /* hardcoded — never remapped in dark mode */
}
html.dark .job-tag-location {
  background: #0F172A !important;
  border: 1px solid rgba(255,255,255,0.20);
  color: #FFFFFF !important;
}

/* FIX 5 — EMERGENCY BOX: inline navy bg — ensure text/link always legible */
/* The box uses inline style background:var(--navy) — in dark mode navy is still very dark */
html.dark [style*="background:var(--navy)"] strong {
  color: #FFFFFF !important;
}
html.dark [style*="background:var(--navy)"] span {
  color: rgba(255,255,255,0.80) !important;
}
html.dark [style*="background:var(--navy)"] a {
  color: var(--primary) !important;
}
/* Also catch: inline margin-top boxes (appointment section emergency box) */
html.dark [style*="margin-top:32px"][style*="background:var(--navy)"] strong {
  color: #FFFFFF !important;
}
html.dark [style*="margin-top:32px"][style*="background:var(--navy)"] span {
  color: rgba(255,255,255,0.80) !important;
}

/* ════════════════════════════════════════════════════════════
   PREMIUM LUXURY REFINEMENTS — Round 2
   ════════════════════════════════════════════════════════════ */

/* ── LIGHT MODE: Elevated warm-ivory luxury surfaces ── */
:root {
  --off-white:     #F8F5EF;
  --bg-page:       #FDFBF7;
  --bg-off:        #F8F5EF;
  --bg-card:       #FFFFFF;
  --bg-section-alt:#F2EDE5;
  --light-gray:    #EDE9E1;
  --mid-gray:      #D8D2C8;
  --shadow-sm:  0 1px 4px rgba(60,45,20,0.07), 0 1px 2px rgba(60,45,20,0.04);
  --shadow-md:  0 4px 20px rgba(60,45,20,0.10), 0 2px 6px rgba(60,45,20,0.05);
  --shadow-lg:  0 10px 44px rgba(60,45,20,0.13), 0 4px 10px rgba(60,45,20,0.07);
  --shadow-xl:  0 20px 64px rgba(60,45,20,0.16);
}

/* Light mode: cards with warm shadow */
.service-card  { background:#FFFFFF; box-shadow:0 2px 14px rgba(60,45,20,0.08); }
.blog-card     { background:#FFFFFF; box-shadow:0 2px 14px rgba(60,45,20,0.08); }
.product-card  { background:#FFFFFF; box-shadow:0 2px 14px rgba(60,45,20,0.08); }
.sidebar-widget{ background:#FFFFFF; box-shadow:0 2px 14px rgba(60,45,20,0.08); }
.appointment-form-wrap { box-shadow:0 8px 48px rgba(60,45,20,0.12); }

/* Light mode: gold button glow */
.btn-primary { box-shadow:0 4px 18px rgba(212,175,55,0.28); }
.btn-primary:hover { box-shadow:0 6px 26px rgba(212,175,55,0.40); }

/* ── DARK MODE: Deeper, richer luxury surfaces ── */
html.dark {
  --primary-bg:  rgba(212,175,55,0.09);
  --shadow-gold: 0 6px 28px rgba(212,175,55,0.14);
}

/* Dark mode: navbar refined with gold accent border */
html.dark .navbar {
  background: rgba(13,22,38,0.98) !important;
  border-bottom: 1px solid rgba(212,175,55,0.07) !important;
}
html.dark .navbar.scrolled {
  background: rgba(10,17,30,0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212,175,55,0.12) !important;
  box-shadow: 0 2px 28px rgba(0,0,0,0.55) !important;
}

/* Dark mode: deeper card surfaces */
html.dark .service-card {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.35) !important;
}
html.dark .service-card:hover {
  border-color: rgba(212,175,55,0.28) !important;
  box-shadow: 0 8px 36px rgba(0,0,0,0.50), 0 0 0 1px rgba(212,175,55,0.12) !important;
}
html.dark .blog-card {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
}
html.dark .blog-card:hover { border-color:rgba(212,175,55,0.25) !important; }
html.dark .product-card {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
}
html.dark .sidebar-widget {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
}
html.dark .appointment-form-wrap {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.08) !important;
  box-shadow: 0 8px 52px rgba(0,0,0,0.52) !important;
}
html.dark .faq-item {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
}
html.dark .pricing-card:not(.featured) {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.07) !important;
}

/* Dark mode: testimonials more vivid */
html.dark .testimonial-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(212,175,55,0.10);
}
html.dark .testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,175,55,0.20);
}

/* Dark mode: hero */
html.dark .hero { background: linear-gradient(135deg, #0D1626 0%, #111D30 100%) !important; }

/* Dark mode: form inputs premium feel */
html.dark .form-group input,
html.dark .form-group select,
html.dark .form-group textarea {
  background: #0D1626 !important;
  border-color: rgba(212,175,55,0.12) !important;
  color: var(--text-dark) !important;
}
html.dark .form-group input:focus,
html.dark .form-group select:focus,
html.dark .form-group textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.10) !important;
}

/* Dark mode: process numbers */
html.dark .process-num {
  background: #16202E !important;
  border-color: rgba(212,175,55,0.15) !important;
}

/* Dark mode: deeper footer */
html.dark .footer { background: #080f1c !important; }

/* Dark mode: page hero refined */
html.dark .page-hero {
  background: linear-gradient(135deg, #080f1c 0%, #0F172A 60%, #0D1626 100%) !important;
}

/* Dark mode: section bg variants */
html.dark .before-after-section { background: #0F1B2D !important; }
html.dark .appointment-section  { background: #111D30 !important; }
