/* ============================================================
   DR NASTARAN — COSMETIC DENTISTRY
   Luxury minimal | Mobile-first | Cream palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* TOKENS */
:root {
  --cream:      #F9F5EF;
  --cream-dark: #EFE8DC;
  --gold:       #B8986A;
  --gold-light: #D4B98A;
  --charcoal:   #2C2C2C;
  --mid:        #6B6056;
  --light:      #9B8F84;
  --white:      #FDFAF6;

  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Jost', sans-serif;

  --max-width:  1100px;
  --radius:     2px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.serif-italic { font-style: italic; }
.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* LAYOUT */
.container {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
section { padding-block: clamp(3rem, 8vw, 6rem); }
.divider { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

/* FADE-IN ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* NAV */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249, 245, 239, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 152, 106, 0.15);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(44,44,44,0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--charcoal); transition: var(--transition); }

@media (max-width: 680px) {
  .nav-toggle { display: flex; z-index: 101; position: relative; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 4rem 2rem 2rem;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    width: 100%;
    max-width: 300px;
    text-align: center;
    border-bottom: 1px solid rgba(184,152,106,0.15);
  }

  .nav-links li:first-child {
    border-top: 1px solid rgba(184,152,106,0.15);
  }

  .nav-links li a {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1.2rem 1rem;
    width: 100%;
    color: var(--charcoal);
    transition: color 0.2s ease;
  }

  .nav-links li a:hover,
  .nav-links li a.active { color: var(--gold); }

  .nav-links li a::after { display: none; }

  /* Book Now last item */
  .nav-links li:last-child {
    border: none;
    padding-top: 1.5rem;
  }

  .nav-links li:last-child a {
    display: inline-flex;
    width: auto;
    padding: 0.85rem 1.75rem;
    border: 1px solid rgba(184,152,106,0.4);
    color: var(--charcoal);
    letter-spacing: 0.15em;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

}

/* HERO */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -5%;
  width: clamp(300px, 50vw, 600px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,152,106,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before { content: none; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--mid);
  max-width: 44ch;
  margin-bottom: 1.5rem;
  line-height: 1.9;
}
.hero-trust {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(184,152,106,0.2);
  border-bottom: 1px solid rgba(184,152,106,0.2);
}
.hero-trust-item { text-align: center; }
.hero-trust-item .num {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}
.hero-trust-item .lbl {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.2rem;
}
.hero-locations {
  display: flex;
  gap: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 2.5rem;
}
.hero-locations span { display: flex; align-items: center; gap: 0.4rem; }
.hero-locations span::before { content: '◦'; color: var(--gold); }
.hero-img-wrap { position: relative; }
.hero-img-frame {
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--light);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary { background: var(--charcoal); color: var(--cream); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { background: transparent; color: var(--charcoal); border: 1px solid rgba(44,44,44,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-arrow::after { content: '→'; }

/* CONTACT FORM SECTION */
.form-section {
  background: var(--white);
  border-top: 1px solid rgba(184,152,106,0.12);
  border-bottom: 1px solid rgba(184,152,106,0.12);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1.2fr; } }
.form-intro h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.form-intro p { color: var(--mid); margin-bottom: 2rem; max-width: 38ch; }

/* City toggle */
.city-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(184,152,106,0.3);
  width: fit-content;
}
.city-toggle button {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--mid);
  transition: all 0.25s ease;
}
.city-toggle button.active {
  background: var(--charcoal);
  color: var(--cream);
}

/* Availability note */
.avail-note {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
  min-height: 1.4em;
  transition: opacity 0.3s ease;
}

/* Form fields */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field {
  display: flex; flex-direction: column;
  border: 1px solid rgba(184,152,106,0.2);
  margin: -1px 0 0 -1px;
  background: var(--cream);
  transition: background var(--transition);
}
.field:focus-within { background: var(--white); z-index: 1; border-color: var(--gold); }
.field label {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--light); padding: 1rem 1.25rem 0.2rem;
  transition: color var(--transition);
}
.field:focus-within label { color: var(--gold); }
.field input, .field textarea {
  border: none; background: transparent; outline: none;
  padding: 0.2rem 1.25rem 0.9rem;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 300;
  color: var(--charcoal); width: 100%; resize: none;
}
.field textarea { min-height: 130px; }
.form-submit { margin-top: 1.5rem; align-self: flex-start; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; border: 1px solid rgba(184,152,106,0.3); background: var(--cream); }
.form-success.show { display: block; }
.contact-form.hidden { display: none; }
.form-success .check { font-size: 2.5rem; margin-bottom: 1rem; }
.form-success h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--mid); }

/* BEFORE/AFTER on treatments page */

/* FOOTER */
.site-footer { background: var(--charcoal); color: rgba(253,250,246,0.6); padding-block: clamp(2.5rem,6vw,4rem); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 600px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .logo { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); margin-bottom: 0.75rem; }
.footer-brand .logo span { color: var(--gold-light); }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; max-width: 32ch; }
.footer-col h4 { font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); font-weight: 400; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(253,250,246,0.1); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; }

/* PAGE HERO (about/treatments) */
.page-hero {
  padding-top: calc(70px + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.page-hero-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .page-hero-inner { grid-template-columns: 1.2fr 1fr; } }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.page-hero .lead { font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--mid); line-height: 1.9; margin-bottom: 2rem; }

/* ABOUT PORTRAIT */
.about-portrait { aspect-ratio: 3/4; max-width: 400px; background: var(--cream-dark); border-radius: var(--radius); overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-portrait-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--light); background: var(--cream-dark); }

/* CREDENTIALS */
.credentials { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.credential-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.credential-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 0.55rem; flex-shrink: 0; }
.credential-item strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 400; margin-bottom: 0.1rem; }
.credential-item span { font-size: 0.85rem; color: var(--mid); }

/* LOCATIONS */
.locations-section { background: var(--cream-dark); }
.locations-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(184,152,106,0.2); margin-top: 3rem; }
@media (min-width: 600px) { .locations-grid { grid-template-columns: 1fr 1fr; } }
.location-card { background: var(--cream); padding: clamp(1.5rem, 4vw, 3rem); }
.location-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.location-card p { color: var(--mid); font-size: 0.9rem; line-height: 1.8; }
.location-tag { display: inline-block; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,152,106,0.35); padding: 0.3rem 0.75rem; margin-bottom: 1.25rem; }

/* TREATMENTS */
.treatment-list { display: flex; flex-direction: column; gap: 0; }
.treatment-item {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid rgba(184,152,106,0.2);
  padding: clamp(2rem, 5vw, 4rem) 0;
  gap: 2rem;
}
@media (min-width: 768px) {
  .treatment-item { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .treatment-item:nth-child(even) .treatment-visual { order: -1; }
}
.treatment-number { font-family: var(--serif); font-size: 5rem; color: rgba(184,152,106,0.15); line-height: 1; margin-bottom: 0.5rem; }
.treatment-item h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.treatment-item p { color: var(--mid); margin-bottom: 1.5rem; }
.treatment-benefits { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.benefit { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--mid); }
.benefit::before { content: '–'; color: var(--gold); font-size: 1rem; }
.treatment-visual { aspect-ratio: 4/3; background: var(--cream-dark); border-radius: var(--radius); overflow: hidden; }
.treatment-visual img { width: 100%; height: 100%; object-fit: cover; }
.treatment-visual-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; color: var(--light); }
.treatment-visual-placeholder .icon { font-size: 2.5rem; opacity: 0.3; }

@media (max-width: 767px) {
  .treatment-visual { aspect-ratio: 16/9; }
}

/* VIDEO EMBED */
.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* CTA */
.cta-section { background: var(--charcoal); text-align: center; }
.cta-section h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--cream); margin-bottom: 1rem; }
.cta-section p { color: rgba(253,250,246,0.55); margin-bottom: 2.5rem; font-size: 1.05rem; }
.cta-section .btn-primary { background: var(--gold); color: var(--cream); }
.cta-section .btn-primary:hover { background: var(--gold-light); }


/* Mobile: horizontal scroll with snap */


/* After panel clips from left — handle controls clip */

/* Labels */

/* Handle */


/* ─── DARK MODE ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --cream:      #3D3733;
    --cream-dark: #453E3A;
    --white:      #4A4440;
    --charcoal:   #F5F0EA;
    --mid:        #CEC0B2;
    --light:      #9E8F84;
    --gold:       #D4B87A;
    --gold-light: #E0C48A;
  }

  body { background: #2C2825; }

  .nav-links a { color: #C4B5A8; }
  .nav-links a:hover, .nav-links a.active { color: #F0EBE3; }
  .form-section { background: #342F2B; }
  .cta-section { background: #1E1B18; }
  .site-footer { background: #1A1714 !important; }

  /* Nav */
  .site-nav {
    background: rgba(30, 28, 26, 0.93);
    border-bottom-color: rgba(201,168,108,0.15);
  }

  /* Buttons */
  .btn-primary {
    background: var(--gold);
    color: #1E1C1A;
  }
  .btn-primary:hover { background: var(--gold-light); }
  .btn-outline {
    border-color: rgba(240,235,227,0.25);
    color: var(--charcoal);
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

  /* Nav book now button */
  .nav-links .btn-outline {
    border-color: rgba(240,235,227,0.25);
  }


  /* Form fields */
  .field {
    background: var(--cream-dark);
    border-color: rgba(201,168,108,0.2);
  }
  .field:focus-within { background: var(--white); }
  .field input,
  .field textarea {
    color: var(--charcoal);
  }

  /* City toggle */
  .city-toggle {
    border-color: rgba(201,168,108,0.3);
  }
  .city-toggle button.active {
    background: var(--gold);
    color: #1E1C1A;
  }

  /* Images: never invert */
  img { filter: none !important; }

  /* Inline SVG or emoji icons — don't invert */

  /* Video wrapper */
  .video-wrap { background: #111; }


  /* Location cards */
  .location-card { background: var(--cream); }
  .locations-section { background: var(--cream-dark); }

  /* CTA section */
  .cta-section { background: #111; }
  .cta-section h2 { color: var(--charcoal); }

  /* Credential dots */
  .credential-dot { background: var(--gold); }

  /* Hero trust bar */
  .hero-trust {
    border-color: rgba(201,168,108,0.2);
  }

  /* Form success */
  .form-success {
    background: var(--cream-dark);
    border-color: rgba(201,168,108,0.25);
  }
}

/* ─── GENERAL RESPONSIVENESS ─────────────────────────────── */

/* Prevent any section overflowing horizontally */
section, .container { max-width: 100%; }

/* Video: always 16/9, never overflow */
.video-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Treatment visuals: cap height on large screens */
@media (min-width: 1100px) {
  .treatment-visual { max-height: 480px; }
}

/* Hero image: don't go too tall on large screens */
@media (min-width: 1100px) {
  .hero-img-frame { max-height: 620px; }
}

/* About portrait: responsive max width */
@media (max-width: 500px) {
  .about-portrait { max-width: 100%; }
}

/* Locations grid: single column below 500px */
@media (max-width: 499px) {
  .locations-grid { grid-template-columns: 1fr; }
}

/* Treatment items: tighten padding on small mobile */
@media (max-width: 400px) {
  .treatment-item { padding: 2rem 0; }
  .treatment-number { font-size: 3.5rem; }
}

/* Footer: stack fully on small screens */
@media (max-width: 400px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Ensure hero buttons don't overflow on tiny screens */
@media (max-width: 360px) {
  .hero .btn { padding: 0.85rem 1.25rem; font-size: 0.7rem; }
}


/* ─── VIDEO PLAY BUTTON OVERLAY ──────────────────────────── */
.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
  cursor: pointer;
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Play button overlay */
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  transition: background 0.3s ease;
  z-index: 5;
  pointer-events: none;
}

.video-wrap.playing .video-play-btn { display: none; }

.video-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(253,250,246,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: all;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.video-play-icon:hover {
  transform: scale(1.08);
  background: white;
}

.video-play-icon svg {
  width: 22px;
  height: 22px;
  margin-left: 3px; /* optical centering */
  fill: var(--charcoal);
}

@media (max-width: 480px) {
  .video-play-icon { width: 52px; height: 52px; }
  .video-play-icon svg { width: 18px; height: 18px; }
}

/* ─── FORM VALIDATION ────────────────────────────────────── */
.field-invalid {
  border-color: #C0392B !important;
}
.field-error {
  font-size: 0.7rem;
  color: #C0392B;
  padding: 0.2rem 1.25rem 0.6rem;
  letter-spacing: 0.03em;
}

/* ─── CONTACT PREFERENCE TOGGLE ─────────────────────────── */
.contact-pref {
  padding: 1rem 0 0.5rem;
}

.contact-pref-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 0.75rem;
}

.contact-pref-options {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.pref-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(184,152,106,0.25);
  margin: -1px 0 0 -1px;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pref-btn:hover {
  color: var(--charcoal);
  border-color: var(--gold);
  z-index: 1;
}

.pref-btn.active {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
  z-index: 1;
}

@media (prefers-color-scheme: dark) {
  .pref-btn.active {
    background: var(--gold);
    color: #2C2825;
    border-color: var(--gold);
  }
}

/* ─── FORM VALIDATION ────────────────────────────────────── */
.field-invalid {
  border-color: #b94040 !important;
}

.field-error {
  font-size: 0.7rem;
  color: #b94040;
  padding: 0.2rem 1.25rem 0.6rem;
  letter-spacing: 0.03em;
}

/* ─── WHATSAPP FLOATING BUTTON ───────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 200;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 480px) {
  .whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
  }
  .whatsapp-btn svg { width: 24px; height: 24px; }
}


/* Before on top, After on bottom */

/* After clips from top — handle controls how much after is visible */

/* Labels repositioned for vertical */


/* Vertical handle — horizontal bar instead of vertical line */


/* ─── FOOTER CREDIT ──────────────────────────────────────── */
.footer-credit {
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(253,250,246,0.3);
  margin-top: 0.75rem;
  border-top: 1px solid rgba(253,250,246,0.06);
  padding-top: 0.75rem;
}

.footer-credit a {
  color: rgba(253,250,246,0.4);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover { color: var(--gold-light); }

/* ─── LOCATION SINGLE ────────────────────────────────────── */
.location-single {
  background: var(--cream);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(184,152,106,0.2);
  max-width: 480px;
  margin-top: 3rem;
}

/* ─── TREATMENTS MOBILE STACK ────────────────────────────── */
@media (max-width: 767px) {
  .treatment-item {
    grid-template-columns: 1fr !important;
  }

  .treatment-item .fade-up:nth-child(2) {
    order: 2;
  }

  .treatment-visual {
    aspect-ratio: 16/9;
    max-height: 220px;
  }


  .hero-img-frame { max-height: 400px; }
  .about-portrait { max-height: 360px; }
}

/* ─── THEME TOGGLE ───────────────────────────────────────── */
.theme-toggle {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(184,152,106,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.theme-toggle:hover {
  border-color: var(--gold);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .theme-toggle { bottom: 1rem; left: 1rem; width: 38px; height: 38px; font-size: 0.9rem; }
}

/* ─── FORCE THEME CLASSES ────────────────────────────────── */
body.force-light {
  --cream:      #F9F5EF;
  --cream-dark: #EFE8DC;
  --white:      #FDFAF6;
  --charcoal:   #2C2C2C;
  --mid:        #6B6056;
  --light:      #9B8F84;
  background: #F9F5EF;
  color-scheme: light;
}

body.force-dark {
  --cream:      #3D3733;
  --cream-dark: #453E3A;
  --white:      #4A4440;
  --charcoal:   #F5F0EA;
  --mid:        #CEC0B2;
  --light:      #9E8F84;
  --gold:       #D4B87A;
  background: #3D3733;
  color-scheme: dark;
}

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE DARK MODE OVERRIDE
   Covers every section background, not just variables
   ═══════════════════════════════════════════════════════════ */

/* Auto dark mode from system */
@media (prefers-color-scheme: dark) {
  body:not(.force-light) {
    background: #2E2A27;
  }
  body:not(.force-light) .nav-links a { color: #C4B5A8; }
  body:not(.force-light) .nav-links a:hover,
  body:not(.force-light) .nav-links a.active { color: #F0EBE3; }
  body:not(.force-light) .site-nav {
    background: rgba(46,42,39,0.95);
    border-bottom-color: rgba(206,176,122,0.15);
  }
  body:not(.force-light) .hero,
  body:not(.force-light) .page-hero { background: #2E2A27; }
  body:not(.force-light) .form-section { background: #352F2C; }
  body:not(.force-light) section { background: #2E2A27; }
  body:not(.force-light) .location-card,
  body:not(.force-light) .location-single { background: #352F2C; border-color: rgba(206,176,122,0.15); }
  body:not(.force-light) .locations-section { background: #282422; }
  body:not(.force-light) .field { background: #352F2C; border-color: rgba(206,176,122,0.18); }
  body:not(.force-light) .field input,
  body:not(.force-light) .field textarea { color: #F0EBE3; }
  body:not(.force-light) .field:focus-within { background: #3A3430; }
  body:not(.force-light) .btn-primary { background: #CEB07A; color: #2E2A27; }
  body:not(.force-light) .btn-outline { border-color: rgba(240,235,227,0.25); color: #F0EBE3; }
  body:not(.force-light) .site-footer { background: #1A1714; }
  body:not(.force-light) .nav-links { background: #2E2A27; }
  body:not(.force-light) .hero-trust { border-color: rgba(206,176,122,0.2); }
  body:not(.force-light) .treatment-visual,
  body:not(.force-light)
  body:not(.force-light) .cta-section { background: #1A1714; }
  body:not(.force-light) .cta-section h2 { color: #F0EBE3; }
  body:not(.force-light) .cta-section p { color: rgba(240,235,227,0.65); }
  body:not(.force-light) .cta-section .btn-primary { background: #CEB07A; color: #1A1714; }
  body:not(.force-light) .credentials section { background: #352F2C; }
  body:not(.force-light) .city-toggle { border-color: rgba(206,176,122,0.25); }
  body:not(.force-light) .pref-btn { color: #C4B5A8; border-color: rgba(206,176,122,0.2); }
  body:not(.force-light) .pref-btn.active { background: #CEB07A; color: #2E2A27; border-color: #CEB07A; }
  body:not(.force-light) .theme-toggle { background: #352F2C; border-color: rgba(206,176,122,0.3); }
}

/* Force dark — same overrides */
body.force-dark .site-nav { background: rgba(46,42,39,0.95) !important; border-bottom-color: rgba(206,176,122,0.15) !important; }
body.force-dark .form-section { background: #352F2C !important; }
body.force-dark .location-card,
body.force-dark .location-single { background: #352F2C !important; border-color: rgba(206,176,122,0.15) !important; }
body.force-dark .locations-section { background: #282422 !important; }
body.force-dark .field { background: #352F2C !important; border-color: rgba(206,176,122,0.18) !important; }
body.force-dark .field input,
body.force-dark .field textarea { color: #F0EBE3 !important; }
body.force-dark .field:focus-within { background: #3A3430 !important; }
body.force-dark .btn-primary { background: #CEB07A !important; color: #2E2A27 !important; }
body.force-dark .btn-outline { border-color: rgba(240,235,227,0.25) !important; color: #F0EBE3 !important; }
body.force-dark .site-footer { background: #1A1714 !important; }
body.force-dark .nav-links { background: #2E2A27 !important; }
body.force-dark .treatment-visual { background: #352F2C !important; }
body.force-dark .cta-section { background: #1A1714 !important; }
body.force-dark .cta-section h2 { color: #F0EBE3 !important; }
body.force-dark .cta-section p { color: rgba(240,235,227,0.65) !important; }
body.force-dark .cta-section .btn-primary { background: #CEB07A !important; color: #1A1714 !important; }
body.force-dark .theme-toggle { background: #352F2C !important; border-color: rgba(206,176,122,0.3) !important; }
body.force-dark .pref-btn { color: #C4B5A8 !important; border-color: rgba(206,176,122,0.2) !important; }
body.force-dark .pref-btn.active { background: #CEB07A !important; color: #2E2A27 !important; }
body.force-dark section[style*="background:var(--white)"] { background: #352F2C !important; }

/* Force light */
body.force-light .site-nav { background: rgba(249,245,239,0.93) !important; }
body.force-light section { background: #F9F5EF !important; }
body.force-light .form-section { background: #FDFAF6 !important; }
body.force-light .site-footer { background: #2C2C2C !important; }
body.force-light .field { background: #F9F5EF !important; }
body.force-light .btn-primary { background: #2C2C2C !important; color: #F9F5EF !important; }
body.force-light .nav-links { background: #F9F5EF !important; }
body.force-light .nav-links a { color: #6B6056 !important; }
body.force-light .nav-links a:hover,
body.force-light .nav-links a.active { color: #2C2C2C !important; }
body.force-light .site-nav { background: rgba(249,245,239,0.95) !important; }
body.force-light .cta-section { background: #2C2C2C !important; }
body.force-light .cta-section h2 { color: #F9F5EF !important; }
body.force-light .cta-section p  { color: rgba(249,245,239,0.65) !important; }
body.force-light .cta-section .section-label { color: #D4B98A !important; }
body.force-light .cta-section .btn-primary { background: #B8986A !important; color: #F9F5EF !important; }
body.force-light .locations-section { background: #EFE8DC !important; }
body.force-light .location-card { background: #F9F5EF !important; }
body.force-light .site-footer { background: #2C2C2C !important; }
body.force-light .footer-brand .logo { color: #F9F5EF !important; }
body.force-light .footer-brand .logo span { color: #D4B98A !important; }
body.force-light .footer-brand p { color: rgba(253,250,246,0.6) !important; }
body.force-light .footer-col h4 { color: #D4B98A !important; }
body.force-light .footer-col ul a { color: rgba(253,250,246,0.6) !important; }
body.force-light .footer-col ul a:hover { color: #F9F5EF !important; }
body.force-light .footer-bottom { color: rgba(253,250,246,0.4) !important; border-top-color: rgba(253,250,246,0.1) !important; }
body.force-light .footer-credit { color: rgba(253,250,246,0.35) !important; }
body.force-light .footer-credit a { color: rgba(253,250,246,0.45) !important; }

/* ═══════════════════════════════════════════════════════════
   NAV — FIX DISAPPEARING ON SCROLL
   ═══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
  /* Never hide it */
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════
   BEFORE/AFTER SLIDERS — STACK VERTICALLY (no side scroll)
   ═══════════════════════════════════════════════════════════ */

/* On desktop show side by side */


/* Remove old horizontal scroll on mobile */

/* ═══════════════════════════════════════════════════════════
   FOOTER — REMOVE CHELTENHAM FROM BOTTOM
   ═══════════════════════════════════════════════════════════ */
.footer-bottom .footer-location {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   NAV HAMBURGER — ENSURE VISIBLE ON ALL PAGES
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  .nav-toggle {
    display: flex !important;
    z-index: 102 !important;
    position: relative !important;
  }
  .nav-inner {
    position: relative;
    z-index: 102;
  }
}

/* ─── INVISALIGN VIDEO WRAP ──────────────────────────────── */
.inv-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius, 2px);
  overflow: hidden;
  background: #111;
  margin-bottom: 0;
}

/* ─── TREATMENT NUMBERS — LIGHT MODE VISIBILITY ──────────── */
.treatment-number {
  font-family: var(--serif);
  font-size: 5rem;
  color: rgba(184,152,106,0.35) !important;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Darker in dark mode so they don't disappear */
body.force-dark .treatment-number {
  color: rgba(206,176,122,0.25) !important;
}

@media (prefers-color-scheme: dark) {
  body:not(.force-light) .treatment-number {
    color: rgba(206,176,122,0.25) !important;
  }
}

/* ─── CTA SECTION DARK MODE — FULL FIX ──────────────────── */
body.force-dark .cta-section,
body.force-dark .cta-section * {
  visibility: visible !important;
  opacity: 1 !important;
}

body.force-dark .cta-section {
  background: #1A1714 !important;
}

body.force-dark .cta-section h2 {
  color: #F0EBE3 !important;
  display: block !important;
}

body.force-dark .cta-section p {
  color: rgba(240,235,227,0.65) !important;
  display: block !important;
}

body.force-dark .cta-section .section-label {
  color: #CEB07A !important;
  display: block !important;
}

body.force-dark .cta-section .btn-primary {
  background: #CEB07A !important;
  color: #1A1714 !important;
  display: inline-flex !important;
}

/* System dark mode same fix */
@media (prefers-color-scheme: dark) {
  body:not(.force-light) .cta-section { background: #1A1714; }
  body:not(.force-light) .cta-section h2 { color: #F0EBE3; }
  body:not(.force-light) .cta-section p { color: rgba(240,235,227,0.65); }
  body:not(.force-light) .cta-section .section-label { color: #CEB07A; }
  body:not(.force-light) .cta-section .btn-primary { background: #CEB07A; color: #1A1714; }
}

/* ─── FOOTER DARK MODE — LIGHTER BACKGROUND ─────────────── */
body.force-dark .site-footer {
  background: #252220 !important;
}

body.force-dark .footer-bottom {
  border-top-color: rgba(240,235,227,0.08) !important;
  color: rgba(240,235,227,0.45) !important;
}

body.force-dark .footer-brand p {
  color: rgba(240,235,227,0.55) !important;
}

body.force-dark .footer-col ul a {
  color: rgba(240,235,227,0.5) !important;
}

body.force-dark .footer-col ul a:hover {
  color: #F0EBE3 !important;
}

@media (prefers-color-scheme: dark) {
  body:not(.force-light) .site-footer { background: #252220; }
  body:not(.force-light) .footer-bottom { color: rgba(240,235,227,0.45); }
  body:not(.force-light) .footer-brand p { color: rgba(240,235,227,0.55); }
}


/* After clips from left */

/* Handle: vertical line + circle */


/* Labels: before=left, after=right */


/* Touch: only handle activates drag, not whole image */


/* Tighter on mobile */


/* ═══════════════════════════════════════════════════════════
   BEFORE / AFTER SLIDERS — SINGLE SOURCE OF TRUTH
   ═══════════════════════════════════════════════════════════ */

.ba-sliders-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .ba-sliders-wrap {
    flex-direction: row;
  }
}

/* Slider container */
.ba-slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: #1a1a1a;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  flex: 1;
}

/* Before and After layers */
.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* After panel — clipped from left, JS controls the clip */
.ba-after {
  clip-path: inset(0 0 0 30%);
  transition: clip-path 0.04s linear;
}

/* Labels */
.ba-label {
  position: absolute;
  bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(249, 245, 239, 0.88);
  color: #2C2C2C;
  padding: 0.2rem 0.6rem;
  pointer-events: none;
  z-index: 10;
}

.ba-label-before { left: 0.75rem; }
.ba-label-after  { right: 0.75rem; }

/* Handle — vertical divider line + circle */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  z-index: 20;
  cursor: col-resize;
  touch-action: none;
}

.ba-line {
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.ba-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-arrows {
  font-size: 1rem;
  color: #2C2C2C;
  line-height: 1;
  pointer-events: none;
}

/* ─── CLICK TO TOGGLE BEFORE/AFTER ──────────────────────── */
.ba-toggle-wrap {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  width: 100%;
}

.ba-toggle {
  position: relative;
  flex: 1;
  height: auto;
  aspect-ratio: 5/3;  /* less wide, shows more teeth */
  margin: 0 auto;     /* center it */
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  background: #1a1a1a;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ba-img.active {
  opacity: 1;
}

.ba-state-label {
  position: absolute;
  bottom: 0.6rem;
  left: 0.75rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(249,245,239,0.88);
  color: #2C2C2C;
  padding: 0.2rem 0.6rem;
  z-index: 10;
  transition: none;
}

.ba-toggle-label {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249,245,239,0.75);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ba-toggle-label::before {
  content: '⟳';
  font-size: 0.75rem;
}

/* Pulse on load to hint it's clickable */
@keyframes pulse-hint {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.ba-toggle-label {
  animation: pulse-hint 2s ease 1.5s 2;
}

/* Mobile: stack vertically */
@media (max-width: 480px) {
  .ba-toggle-wrap {
    flex-direction: column;
    gap: 10px; /* smaller gap */}
  .ba-toggle {
    max-width: 180px
    aspect-ratio: 4/3;
  }
}
