/* ============================================================
   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; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 99;
    width: 100%;
    padding: 0 2rem;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(184,152,106,0.12);
  }
  .nav-links li:first-child {
    border-top: 1px solid rgba(184,152,106,0.12);
  }
  .nav-links a {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    padding: 1.4rem 2rem;
    width: 100%;
  }
  /* Book Now button in mobile menu */
  .nav-links li:last-child {
    border: none;
    padding: 2rem;
  }
  .nav-links li:last-child a {
    display: inline-flex;
    width: auto;
    padding: 1rem 2rem;
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .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); }
  /* Keep toggle above the menu */
  .nav-toggle { z-index: 101; position: relative; }
}

/* 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 */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 2rem;
}
.ba-item { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-dark); }
.ba-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.ba-item:hover img { transform: scale(1.04); }
.ba-tag {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  background: rgba(249,245,239,0.9); color: var(--charcoal);
  padding: 0.3rem 0.65rem;
}
.ba-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--light);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.ba-placeholder .dot { font-size: 2rem; opacity: 0.25; }

/* 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); }

/* ─── BEFORE/AFTER SLIDERS ───────────────────────────────── */
.ba-sliders-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.5rem;
}

/* Mobile: horizontal scroll with snap */
@media (max-width: 600px) {
  .ba-sliders-wrap {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    /* hide scrollbar but keep scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ba-sliders-wrap::-webkit-scrollbar { display: none; }
  .ba-slider {
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }
}

.ba-slider {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-dark);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
}

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

/* After panel clips from left — handle controls clip */
.ba-after {
  clip-path: inset(0 0 0 30%); /* default: 70% after visible */
  transition: clip-path 0.05s linear;
}

/* Labels */
.ba-label {
  position: absolute;
  bottom: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(249,245,239,0.88);
  color: var(--charcoal);
  padding: 0.25rem 0.6rem;
  pointer-events: none;
}
.ba-label-before { left: 0.75rem; }
.ba-label-after  { right: 0.75rem; }

/* Handle */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 30%; /* matches default clip */
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  transition: left 0.05s linear;
  z-index: 10;
  cursor: col-resize;
}

.ba-line {
  width: 2px;
  height: 100%;
  background: var(--white);
  box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

.ba-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-arrows {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1;
}

/* ─── DARK MODE ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  :root {
    --cream:      #2C2825;
    --cream-dark: #342F2B;
    --white:      #3A3430;
    --charcoal:   #F0EBE3;
    --mid:        #C4B5A8;
    --light:      #8C7E74;
    --gold:       #CEB07A;
    --gold-light: #DFC08A;
  }

  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 */
  .ba-circle,
  .hero-img-placeholder,
  .treatment-visual-placeholder { filter: none; }

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

  /* Slider labels */
  .ba-label {
    background: rgba(30,28,26,0.85);
    color: var(--charcoal);
  }
  .ba-circle {
    background: var(--cream);
  }

  /* 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; }
}

/* ─── VERTICAL BEFORE/AFTER SLIDER ──────────────────────── */
.ba-slider.vertical {
  aspect-ratio: 3/4;
  cursor: row-resize;
}

/* Before on top, After on bottom */
.ba-slider.vertical .ba-before,
.ba-slider.vertical .ba-after {
  position: absolute;
  inset: 0;
}

/* After clips from top — handle controls how much after is visible */
.ba-slider.vertical .ba-after {
  clip-path: inset(30% 0 0 0); /* default: 70% after visible from top */
  transition: clip-path 0.05s linear;
}

/* Labels repositioned for vertical */
.ba-slider.vertical .ba-label-before {
  top: 0.75rem;
  left: 0.75rem;
  bottom: auto;
  right: auto;
}

.ba-slider.vertical .ba-label-after {
  bottom: 0.75rem;
  right: 0.75rem;
  top: auto;
  left: auto;
}

/* Vertical handle — horizontal bar instead of vertical line */
.ba-slider.vertical .ba-handle {
  position: absolute;
  left: 0; right: 0;
  top: 30%; /* matches default clip */
  height: auto;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  transform: translateY(-50%);
  transition: top 0.05s linear;
  cursor: row-resize;
}

.ba-slider.vertical .ba-line {
  width: 100%;
  height: 2px;
  background: var(--white);
  box-shadow: 0 0 6px rgba(0,0,0,0.25);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ba-slider.vertical .ba-circle {
  position: relative;
  top: auto;
  transform: none;
  flex-shrink: 0;
  z-index: 2;
}

/* ─── SLIDER IMAGE FIT FIX ───────────────────────────────── */
/* Show full image without cropping */
.ba-slider .ba-before img,
.ba-slider .ba-after img {
  object-fit: contain;
  background: #1a1a1a;
}
