/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --coral: #FF6B6B;
  --coral-light: #FF8E8E;
  --coral-dark: #E85555;
  --teal: #4ECDC4;
  --teal-light: #6ED9D2;
  --teal-dark: #3BAFA7;
  --cream: #FFF8F0;
  --plum: #2D1B69;
  --plum-light: #4A3580;
  --lavender: #F0E6FF;
  --lavender-deep: #D9C4FF;
  --yellow: #FFE66D;
  --yellow-light: #FFF0A3;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 30px rgba(45, 27, 105, 0.08);
  --shadow-medium: 0 8px 40px rgba(45, 27, 105, 0.12);
  --shadow-float: 0 16px 60px rgba(45, 27, 105, 0.15);
  --radius-blob: 62% 38% 46% 54% / 60% 44% 56% 40%;
  --radius-blob-2: 42% 58% 70% 30% / 45% 55% 60% 40%;
  --radius-blob-3: 55% 45% 35% 65% / 50% 60% 40% 50%;
  --radius-card: 24px;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Karla', sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--plum);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION BASE ===== */
section { position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lavender);
  color: var(--plum);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--plum-light);
  opacity: 0.85;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}
.wave-divider.flip { transform: rotate(180deg); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 1. STICKY DEMO BANNER ===== */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: var(--white);
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}
.demo-banner span {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
}
.demo-banner a {
  background: var(--white);
  color: var(--coral);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
  white-space: nowrap;
}
.demo-banner a:hover {
  background: var(--yellow);
  color: var(--plum);
  transform: scale(1.05);
}

/* ===== 2. NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(45, 27, 105, 0.06);
}
.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--plum);
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--coral), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--plum);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 10px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  transition: var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
  color: var(--white) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--plum);
  border-radius: 10px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }

/* Nav overlay */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .4s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; z-index: 10001; position: relative; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    align-items: flex-start;
    z-index: 10000;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -10px 0 40px rgba(0,0,0,.15); }
  .nav-links a { font-size: 1.1rem; }
  .demo-banner {
    flex-wrap: nowrap;
    padding: 8px 12px;
    gap: 10px;
  }
  .demo-banner span {
    font-size: .6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
  }
  .demo-banner a { font-size: .68rem; padding: 4px 12px; flex-shrink: 0; }
  .navbar { top: 34px; }
  .nav-inner { padding: 0 16px; }
  [data-theme="dark"] .nav-links { background: #1a1230; box-shadow: none; }
  [data-theme="dark"] .nav-links.open { box-shadow: -10px 0 40px rgba(0,0,0,.4); }
}

/* --- Small phone (≤600px) --- */
@media (max-width: 600px) {
  .demo-banner { padding: 6px 10px; font-size: 11px; }
  .demo-banner span { font-size: .55rem; }
  .demo-banner a { font-size: .62rem; padding: 3px 10px; }
  .navbar { top: 30px; }
}

/* --- Tiny phone (≤480px) --- */
@media (max-width: 480px) {
  .demo-banner { padding: 5px 8px; }
  .demo-banner span { font-size: .5rem; }
  .demo-banner a { font-size: .58rem; padding: 3px 8px; }
  .navbar { top: 26px; }
  .nav-inner { height: auto; min-height: 50px; }
  .nav-logo { font-size: 1.05rem; gap: 8px; }
  .nav-logo-icon { width: 32px; height: 32px; }
  .theme-toggle { width: 32px; height: 32px; }
  .theme-toggle svg { width: 15px; height: 15px; }
  .hero { padding: 140px 0 50px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .trust-strip { flex-direction: column; align-items: center; gap: 12px; }
}

/* ===== 3. HERO ===== */
.hero {
  padding: 180px 0 100px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(78, 205, 196, 0.06));
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(240, 230, 255, 0.5), rgba(255, 230, 109, 0.15));
  border-radius: 40% 60% 50% 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text h1 {
  color: var(--plum);
  margin-bottom: 20px;
}
.hero-text h1 span {
  background: linear-gradient(135deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--plum-light);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.35);
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 107, 107, 0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--plum);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--lavender-deep);
  transition: var(--transition);
}
.btn-secondary:hover {
  background: var(--lavender);
  border-color: var(--plum);
  transform: translateY(-3px);
}

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--plum);
}
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.trust-icon.coral-bg { background: rgba(255, 107, 107, 0.12); color: var(--coral); }
.trust-icon.teal-bg { background: rgba(78, 205, 196, 0.12); color: var(--teal-dark); }
.trust-icon.yellow-bg { background: rgba(255, 230, 109, 0.25); color: #C5A200; }

/* Hero visual — Credential Cards */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}
.hero-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.hero-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { width: 24px; height: 24px; }
.hero-card-icon.coral-bg { background: rgba(255,107,107,0.12); color: var(--coral); }
.hero-card-icon.teal-bg { background: rgba(78,205,196,0.12); color: var(--teal-dark); }
.hero-card-icon.plum-bg { background: rgba(45,27,105,0.1); color: var(--plum); }
.hero-card-text { display: flex; flex-direction: column; gap: 2px; }
.hero-card-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--plum);
  font-family: var(--font-heading);
  line-height: 1.2;
}
.hero-card-label {
  font-size: 0.82rem;
  color: var(--plum-light);
  line-height: 1.3;
}
.hero-card:nth-child(1) { border-left: 4px solid var(--coral); }
.hero-card:nth-child(2) { border-left: 4px solid var(--teal); }
.hero-card:nth-child(3) { border-left: 4px solid var(--plum-light); }

@media (max-width: 900px) {
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .trust-strip { justify-content: center; }
  .hero-visual { min-height: auto; }
  .hero-cards { max-width: 340px; margin: 0 auto; }
  .hero-card { padding: 18px 20px; }
}

/* ===== 4. TREATMENTS ===== */
.treatments {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.treatment-card {
  background: var(--cream);
  padding: 40px 32px 40px 36px;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 2px solid transparent;
  border-left: 4px solid transparent;
}
.treatment-card:hover {
  box-shadow: var(--shadow-medium);
}
.treatment-card:nth-child(1):hover { border-left-color: var(--teal); background: linear-gradient(135deg, var(--cream), rgba(78,205,196,0.05)); }
.treatment-card:nth-child(2):hover { border-left-color: var(--coral); background: linear-gradient(135deg, var(--cream), rgba(255,107,107,0.05)); }
.treatment-card:nth-child(3):hover { border-left-color: var(--yellow); background: linear-gradient(135deg, var(--cream), rgba(255,230,109,0.08)); }
.treatment-card:nth-child(4):hover { border-left-color: var(--lavender-deep); background: linear-gradient(135deg, var(--cream), rgba(240,230,255,0.1)); }

.treatment-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--plum);
}
.treatment-card:nth-child(1) .treatment-icon { background: rgba(78, 205, 196, 0.15); }
.treatment-card:nth-child(2) .treatment-icon { background: rgba(255, 107, 107, 0.12); }
.treatment-card:nth-child(3) .treatment-icon { background: rgba(255, 230, 109, 0.25); }
.treatment-card:nth-child(4) .treatment-icon { background: rgba(240, 230, 255, 0.6); }

.treatment-card h3 { margin-bottom: 12px; }
.treatment-card p {
  color: var(--plum-light);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.treatment-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.treatment-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--plum);
  border: 1px solid var(--lavender);
}
.treatment-fact .check { color: var(--teal); font-weight: 800; }

@media (max-width: 700px) {
  .treatments-grid { grid-template-columns: 1fr; }
}

/* ===== 5. BEFORE / AFTER ===== */
.before-after {
  padding: 100px 0;
  background: var(--lavender);
  position: relative;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ba-slider {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--cream);
}
.ba-before, .ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-before .ba-label,
.ba-after .ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 5;
}
.ba-before .ba-label {
  left: 12px;
  background: var(--coral);
  color: var(--white);
}
.ba-after .ba-label {
  right: 12px;
  background: var(--teal);
  color: var(--white);
}

/* CSS teeth representations */
.teeth-row {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}
.tooth-block {
  width: 24px;
  background: var(--white);
  border: 2px solid var(--plum);
  border-radius: 4px 4px 8px 8px;
  transition: 0.3s ease;
}
/* "Crooked" teeth — before */
.ba-before .tooth-block:nth-child(1) { height: 50px; transform: rotate(-12deg) translateY(4px); }
.ba-before .tooth-block:nth-child(2) { height: 58px; transform: rotate(5deg) translateY(-6px); }
.ba-before .tooth-block:nth-child(3) { height: 44px; transform: rotate(-8deg) translateY(8px); }
.ba-before .tooth-block:nth-child(4) { height: 62px; transform: rotate(10deg) translateY(-3px); }
.ba-before .tooth-block:nth-child(5) { height: 48px; transform: rotate(-15deg) translateY(6px); }
.ba-before .tooth-block:nth-child(6) { height: 56px; transform: rotate(7deg) translateY(-5px); }
.ba-before .tooth-block:nth-child(7) { height: 42px; transform: rotate(-6deg) translateY(10px); }
.ba-before .tooth-block:nth-child(8) { height: 54px; transform: rotate(12deg) translateY(-2px); }

/* "Straight" teeth — after */
.ba-after .tooth-block { border-color: var(--teal-dark); }
.ba-after .tooth-block:nth-child(1) { height: 50px; }
.ba-after .tooth-block:nth-child(2) { height: 56px; }
.ba-after .tooth-block:nth-child(3) { height: 52px; }
.ba-after .tooth-block:nth-child(4) { height: 58px; }
.ba-after .tooth-block:nth-child(5) { height: 58px; }
.ba-after .tooth-block:nth-child(6) { height: 52px; }
.ba-after .tooth-block:nth-child(7) { height: 56px; }
.ba-after .tooth-block:nth-child(8) { height: 50px; }

/* Case 2: Overbite (Überbiss) — teeth protrude forward in center */
.ba-case-2 .ba-before .tooth-block:nth-child(1) { height: 44px; transform: rotate(-3deg) translateY(4px); }
.ba-case-2 .ba-before .tooth-block:nth-child(2) { height: 50px; transform: rotate(4deg) translateY(-6px); }
.ba-case-2 .ba-before .tooth-block:nth-child(3) { height: 60px; transform: rotate(10deg) translateY(-14px); }
.ba-case-2 .ba-before .tooth-block:nth-child(4) { height: 66px; transform: rotate(14deg) translateY(-18px); }
.ba-case-2 .ba-before .tooth-block:nth-child(5) { height: 64px; transform: rotate(12deg) translateY(-16px); }
.ba-case-2 .ba-before .tooth-block:nth-child(6) { height: 56px; transform: rotate(8deg) translateY(-10px); }
.ba-case-2 .ba-before .tooth-block:nth-child(7) { height: 46px; transform: rotate(2deg) translateY(-2px); }
.ba-case-2 .ba-before .tooth-block:nth-child(8) { height: 42px; transform: rotate(-4deg) translateY(6px); }
/* Case 2: Perfectly aligned after treatment */
.ba-case-2 .ba-after .tooth-block:nth-child(1) { height: 54px; }
.ba-case-2 .ba-after .tooth-block:nth-child(2) { height: 56px; }
.ba-case-2 .ba-after .tooth-block:nth-child(3) { height: 56px; }
.ba-case-2 .ba-after .tooth-block:nth-child(4) { height: 58px; }
.ba-case-2 .ba-after .tooth-block:nth-child(5) { height: 58px; }
.ba-case-2 .ba-after .tooth-block:nth-child(6) { height: 56px; }
.ba-case-2 .ba-after .tooth-block:nth-child(7) { height: 56px; }
.ba-case-2 .ba-after .tooth-block:nth-child(8) { height: 54px; }

/* Slider control */
.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transform: translateX(-50%);
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
  border: 3px solid var(--coral);
}
.ba-handle::before {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  font-size: 1.2rem;
  color: var(--coral);
  pointer-events: none;
}
.ba-info {
  padding: 24px;
}
.ba-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--plum);
}
.ba-info p {
  font-size: 0.9rem;
  color: var(--plum-light);
}
.ba-note {
  text-align: center;
  margin-top: 32px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  font-size: 0.88rem;
  color: var(--plum-light);
  font-style: italic;
}

@media (max-width: 700px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ===== 6. AGE SECTIONS ===== */
.age-section {
  padding: 100px 0;
  background: var(--white);
}
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.age-card {
  text-align: center;
  padding: 48px 32px 40px;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.age-card:hover {
  transform: scale(1.03);
}
.age-card:nth-child(1):hover { box-shadow: 0 12px 40px rgba(255,230,109,0.25); }
.age-card:nth-child(2):hover { box-shadow: 0 12px 40px rgba(78,205,196,0.25); }
.age-card:nth-child(3):hover { box-shadow: 0 12px 40px rgba(240,230,255,0.35); }
.age-card:nth-child(1) { background: linear-gradient(160deg, rgba(255,230,109,0.15), rgba(255,248,240,1)); }
.age-card:nth-child(2) { background: linear-gradient(160deg, rgba(78,205,196,0.12), rgba(255,248,240,1)); }
.age-card:nth-child(3) { background: linear-gradient(160deg, rgba(240,230,255,0.5), rgba(255,248,240,1)); }

.age-blob {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--plum);
}
.age-card:nth-child(1) .age-blob { background: rgba(255,230,109,0.3); }
.age-card:nth-child(2) .age-blob { background: rgba(78,205,196,0.2); }
.age-card:nth-child(3) .age-blob { background: rgba(240,230,255,0.6); }

.age-card h3 { margin-bottom: 6px; }
.age-card .age-range {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 14px;
}
.age-card p {
  font-size: 0.95rem;
  color: var(--plum-light);
  line-height: 1.7;
}
.age-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  display: inline-flex;
}
.age-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}
.age-feature .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.age-card:nth-child(1) .dot { background: var(--yellow); }
.age-card:nth-child(2) .dot { background: var(--teal); }
.age-card:nth-child(3) .dot { background: var(--lavender-deep); }

@media (max-width: 800px) {
  .age-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ===== 7. FINANCING ===== */
.financing {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}
.financing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.finance-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius-card);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}
.finance-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-bottom: 3px solid var(--coral);
}
.finance-card:hover .finance-icon { transform: scale(1.1); }
.finance-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  transition: transform 0.3s ease;
}
.finance-card:nth-child(1) .finance-icon { background: rgba(78, 205, 196, 0.12); }
.finance-card:nth-child(2) .finance-icon { background: rgba(240, 230, 255, 0.5); }
.finance-card:nth-child(3) .finance-icon { background: rgba(255, 230, 109, 0.2); }

.finance-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.finance-card p {
  font-size: 0.92rem;
  color: var(--plum-light);
  line-height: 1.7;
}
.finance-detail {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--lavender-deep);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
}

@media (max-width: 800px) {
  .financing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ===== 8. CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  background: var(--cream);
  padding: 40px;
  border-radius: var(--radius-card);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--plum);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--lavender);
  border-radius: 14px;
  background: var(--white);
  color: var(--plum);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232D1B69' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-group .error-msg {
  display: none;
  color: var(--coral);
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--coral); }
.form-group.has-error .error-msg { display: block; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--coral);
  cursor: pointer;
}
.form-checkbox label {
  font-size: 0.85rem;
  color: var(--plum-light);
  line-height: 1.5;
  cursor: pointer;
}
.form-checkbox label a { color: var(--coral); text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 25px rgba(255, 107, 107, 0.3);
  transition: var(--transition);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.45);
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  margin: 0 auto 20px;
}
.form-success h3 { margin-bottom: 10px; color: var(--plum); }
.form-success p { color: var(--plum-light); font-size: 0.95rem; }

/* Contact info side */
.contact-info {
  padding-top: 20px;
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.contact-info .practice-subtitle {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--plum);
}
.info-content h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.info-content p {
  font-size: 0.9rem;
  color: var(--plum-light);
  line-height: 1.6;
}
.hours-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}
.hours-table tr td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--lavender);
}
.hours-table tr td:first-child { font-weight: 600; }
.hours-table tr td:last-child { text-align: right; color: var(--plum-light); }
.hours-table tr:last-child td { border-bottom: none; }

/* Map placeholder */
.contact-map {
  margin-top: 30px;
  height: 320px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--lavender), rgba(78, 205, 196, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

/* ===== 9. FOOTER ===== */
.footer {
  background: #1E1245;
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--coral));
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand .footer-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--coral), var(--teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand > p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.87rem;
}
.footer-contact-row svg { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }
.footer-contact-row a { transition: var(--transition); }
.footer-contact-row a:hover { color: var(--coral-light); }
.footer h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.footer ul li a:hover { color: var(--coral-light); padding-left: 4px; }
.footer ul li a:hover::before { background: var(--coral-light); }
.footer-cta-col {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-cta-col h4 { margin-bottom: 12px; }
.footer-cta-col h4::after { display: none; }
.footer-cta-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.85;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.footer-cta-btn:hover { background: var(--coral-dark); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  opacity: 0.75;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--coral-light); opacity: 1; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-cta-col { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2D1B69;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(45,27,105,0.3);
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #FF6B6B;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255,107,107,0.35);
}
.back-to-top svg { width: 20px; height: 20px; }
[data-theme="dark"] .back-to-top {
  background: #333;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
[data-theme="dark"] .back-to-top:hover {
  background: #FF6B6B;
  box-shadow: 0 6px 24px rgba(255,107,107,0.3);
}
/* ===== DARK THEME ===== */
[data-theme="dark"] {
  --cream: #0F0F0F;
  --white: #1A1A1A;
  --plum: #F3F4F6;
  --plum-light: #B0B8C4;
  --lavender: #2A2A3A;
  --lavender-deep: #3A3A5A;
  --shadow-soft: 0 4px 30px rgba(0,0,0,0.3);
  --shadow-medium: 0 8px 40px rgba(0,0,0,0.4);
  --shadow-float: 0 16px 60px rgba(0,0,0,0.5);
}
[data-theme="dark"] .navbar { background: rgba(15,15,15,0.92); border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .nav-toggle span { background: #F3F4F6; }
[data-theme="dark"] .before-after { background: #1A1A2A; }
[data-theme="dark"] .ba-card { background: #222; }
[data-theme="dark"] .ba-slider { background: #1A1A1A; }
[data-theme="dark"] .ba-note { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .treatment-card { background: #222; }
[data-theme="dark"] .treatment-card:nth-child(1):hover { background: linear-gradient(135deg, #222, rgba(78,205,196,0.06)); }
[data-theme="dark"] .treatment-card:nth-child(2):hover { background: linear-gradient(135deg, #222, rgba(255,107,107,0.06)); }
[data-theme="dark"] .treatment-card:nth-child(3):hover { background: linear-gradient(135deg, #222, rgba(255,230,109,0.06)); }
[data-theme="dark"] .treatment-card:nth-child(4):hover { background: linear-gradient(135deg, #222, rgba(240,230,255,0.08)); }
[data-theme="dark"] .treatment-fact { background: #0F0F0F; border-color: #333; }
[data-theme="dark"] .age-card:nth-child(1) { background: linear-gradient(160deg, rgba(255,230,109,0.08), #1A1A1A); }
[data-theme="dark"] .age-card:nth-child(2) { background: linear-gradient(160deg, rgba(78,205,196,0.08), #1A1A1A); }
[data-theme="dark"] .age-card:nth-child(3) { background: linear-gradient(160deg, rgba(240,230,255,0.08), #1A1A1A); }
[data-theme="dark"] .finance-card { background: #1A1A1A; }
[data-theme="dark"] .finance-card:hover { border-color: var(--coral-light); }
[data-theme="dark"] .contact-form { background: #222; }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea { background: #1A1A1A; border-color: #333; color: #F3F4F6; }
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus { border-color: var(--coral); }
[data-theme="dark"] .form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F3F4F6' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
[data-theme="dark"] .contact-map { background: linear-gradient(135deg, #2A2A3A, rgba(78,205,196,0.05)); }
[data-theme="dark"] .hours-table tr td { border-bottom-color: #333; }
[data-theme="dark"] .section-label { background: #2A2A3A; }
[data-theme="dark"] .info-icon { background: #2A2A3A; }
[data-theme="dark"] .tooth-block { border-color: #9CA3AF; }
[data-theme="dark"] .ba-after .tooth-block { border-color: var(--teal); }
[data-theme="dark"] .hero-card { background: #1A1A1A; border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hero-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
[data-theme="dark"] .hero-card-number { color: #F3F4F6; }
[data-theme="dark"] .hero-card-label { color: #9CA3AF; }
[data-theme="dark"] .hero-card-icon.coral-bg { background: rgba(255,107,107,0.15); }
[data-theme="dark"] .hero-card-icon.teal-bg { background: rgba(78,205,196,0.15); }
[data-theme="dark"] .hero-card-icon.plum-bg { background: rgba(240,230,255,0.12); color: #C4B5FD; }
[data-theme="dark"] .footer { background: #0A0A0A; color: rgba(255,255,255,0.85); }
[data-theme="dark"] .footer h4 { color: #fff; }
[data-theme="dark"] .footer-bottom { border-top-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .footer-cta-col { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .wave-divider { display: none; }
[data-theme="dark"] .hero::before, [data-theme="dark"] .hero::after { opacity: 0.03; }
[data-theme="dark"] .demo-banner { color: #fff !important; }
[data-theme="dark"] .demo-banner a { background: #fff !important; color: var(--coral-dark) !important; }
@media (max-width: 900px) {
  [data-theme="dark"] .nav-links { background: #0F0F0F; box-shadow: none; }
  [data-theme="dark"] .nav-links.open { box-shadow: -10px 0 40px rgba(0,0,0,.4); }
}

/* ===== NAV END & THEME TOGGLE ===== */
.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.theme-toggle:hover { transform: scale(1.1); box-shadow: 0 3px 12px rgba(0,0,0,0.1); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; color: #2D1B69; }
[data-theme="dark"] .theme-toggle { background: rgba(30,30,30,0.9); border-color: rgba(255,255,255,0.12); box-shadow: 0 1px 6px rgba(0,0,0,0.3); }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; color: #FFE66D; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  background: #1A1A2E;
  color: rgba(255,255,255,0.9);
  padding: 20px 24px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.25);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-top {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong { color: #fff; display: block; margin-bottom: 6px; font-size: 0.95rem; font-family: var(--font-heading); }
.cookie-text p { font-size: 0.84rem; line-height: 1.6; margin: 0; opacity: 0.8; }
.cookie-text a { color: var(--coral-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
  font-family: inherit;
}
.cookie-btn--accept { background: var(--coral); color: #fff; }
.cookie-btn--accept:hover { background: var(--coral-dark); transform: translateY(-1px); }
.cookie-btn--settings { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn--settings:hover { border-color: #fff; }
.cookie-btn--necessary { background: transparent; color: rgba(255,255,255,0.6); border: none; font-size: 0.8rem; text-decoration: underline; padding: 10px 12px; }
.cookie-btn--necessary:hover { color: #fff; }

/* Cookie Settings Panel */
.cookie-settings {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-settings.visible { display: block; }
.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-setting-row:last-child { border-bottom: none; }
.cookie-setting-info { flex: 1; }
.cookie-setting-name { font-size: 0.88rem; font-weight: 600; color: #fff; }
.cookie-setting-desc { font-size: 0.78rem; opacity: 0.6; margin-top: 2px; }
.cookie-setting-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  margin-left: 12px;
  white-space: nowrap;
}
.cookie-setting-badge.required { background: rgba(78,205,196,0.15); color: var(--teal); }

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  cursor: pointer;
  transition: 0.3s ease;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s ease;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--coral); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }

.cookie-save-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-btn--save {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
  transition: 0.3s ease;
  border: none;
  font-family: inherit;
  background: var(--teal);
  color: #fff;
}
.cookie-btn--save:hover { background: var(--teal-dark); transform: translateY(-1px); }

@media (max-width: 600px) {
  .cookie-top { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
}

/* ===== MAP CONSENT ===== */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  text-align: center;
  padding: 20px;
}
.map-consent p { font-size: 0.8rem; color: var(--plum-light); margin: 0; max-width: 260px; line-height: 1.5; }
.map-consent-btn {
  padding: 8px 20px;
  background: var(--coral);
  color: #fff;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  font-family: inherit;
}
.map-consent-btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.contact-map iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; display: block; }
.contact-map.map-loaded { background: none !important; }
.contact-map.map-loaded::before { display: none; }
[data-theme="dark"] .map-consent p { color: #9CA3AF; }

/* ══ LANGUAGE SWITCHER ══ */
.lang-switcher{position:relative;flex-shrink:0}
.lang-trigger{display:flex;align-items:center;gap:5px;padding:6px 10px;border-radius:20px;background:transparent;border:1.5px solid rgba(0,0,0,.1);font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;color:inherit}
.lang-trigger:hover{border-color:var(--coral)}
.lang-chevron{width:10px;height:10px;transition:transform .2s}
.lang-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1.5px solid rgba(0,0,0,.08);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);min-width:150px;z-index:200;opacity:0;visibility:hidden;transform:translateY(-4px);transition:all .2s}
.lang-dropdown.show{opacity:1;visibility:visible;transform:translateY(0)}
.lang-option{display:block;width:100%;padding:8px 14px;text-align:left;font-size:13px;font-weight:500;color:#666;background:none;border:none;cursor:pointer;transition:all .15s}
.lang-option:first-child{border-radius:9px 9px 0 0}
.lang-option:last-child{border-radius:0 0 9px 9px}
.lang-option:hover{background:#f8f8f8;color:var(--coral)}
.lang-option.active{color:var(--coral);font-weight:700;background:rgba(0,0,0,.03)}
[data-theme="dark"] .lang-trigger{border-color:rgba(255,255,255,.15);color:#F3F4F6}
[data-theme="dark"] .lang-trigger:hover{border-color:var(--coral-light)}
[data-theme="dark"] .lang-dropdown{background:#1A1A1A;border-color:rgba(255,255,255,.1);box-shadow:0 8px 24px rgba(0,0,0,.4)}
[data-theme="dark"] .lang-option{color:#9CA3AF}
[data-theme="dark"] .lang-option:hover{background:rgba(255,255,255,.05);color:var(--coral-light)}
[data-theme="dark"] .lang-option.active{color:var(--coral-light);background:rgba(255,255,255,.03)}