/* ============================================================
   VD Medicina Estética — Design Tokens
   ============================================================ */
:root {
  /* Warm neutral palette */
  --cream:        oklch(0.972 0.012 75);
  --cream-2:      oklch(0.955 0.018 72);
  --bone:         oklch(0.93 0.022 68);
  --nude:         oklch(0.89 0.028 38);
  --nude-deep:    oklch(0.80 0.045 32);
  --champagne:    oklch(0.78 0.060 80);
  --gold:         oklch(0.68 0.085 75);
  --gold-ink:     oklch(0.50 0.075 65);
  --espresso:     oklch(0.27 0.020 50);
  --ink:          oklch(0.20 0.015 50);
  --muted:        oklch(0.46 0.020 55);

  /* Surfaces */
  --bg:           var(--cream);
  --surface:      #ffffff;
  --surface-2:    var(--cream-2);

  /* Borders / hairlines */
  --hair:         color-mix(in oklab, var(--espresso) 12%, transparent);
  --hair-strong:  color-mix(in oklab, var(--espresso) 22%, transparent);

  /* Type */
  --f-display:    "Italiana", "Cormorant Garamond", serif;
  --f-serif:      "Cormorant Garamond", "Times New Roman", serif;
  --f-sans:       "Jost", system-ui, sans-serif;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(60, 40, 20, 0.04), 0 6px 18px -8px rgba(60, 40, 20, 0.10);
  --shadow-2: 0 4px 14px -6px rgba(60, 40, 20, 0.12), 0 24px 48px -20px rgba(60, 40, 20, 0.18);
  --shadow-3: 0 30px 80px -30px rgba(60, 40, 20, 0.32);

  /* Layout */
  --max-w: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "kern";
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ============================================================
   Typography
   ============================================================ */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--espresso);
}
.serif-italic {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
}
.eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
  transform: translateY(-1px);
}
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
.lead {
  font-size: clamp(16px, 1.05vw + 12px, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }
.section-pad { padding: clamp(72px, 9vw, 140px) 0; }
.section-pad-sm { padding: clamp(56px, 6vw, 96px) 0; }

.divider-stamp {
  display: flex; align-items: center; gap: 18px;
  color: var(--gold-ink);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.divider-stamp::before, .divider-stamp::after {
  content: ""; flex: 1; height: 1px; background: var(--hair);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--f-sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--ink);
  box-shadow: var(--shadow-2);
}
.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--hair-strong);
}
.btn-ghost:hover { background: var(--surface); }
.btn-gold {
  background: linear-gradient(180deg, oklch(0.84 0.07 80), oklch(0.72 0.085 75));
  color: oklch(0.22 0.03 60);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 0 0 1px oklch(0.65 0.08 70) inset;
}
.btn-gold:hover { filter: brightness(1.04); box-shadow: var(--shadow-2); }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-lg { padding: 18px 34px; font-size: 13px; }

/* ============================================================
   Photo placeholder — warm cinematic gradient + label
   ============================================================ */
.ph {
  position: relative;
  background:
    radial-gradient(120% 80% at 20% 10%, oklch(0.94 0.03 60) 0%, transparent 55%),
    radial-gradient(100% 100% at 100% 100%, oklch(0.74 0.06 40) 0%, transparent 50%),
    linear-gradient(135deg, oklch(0.88 0.035 50), oklch(0.78 0.05 35));
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 0%, rgba(255,255,255,0.25), transparent 50%);
  pointer-events: none;
}
.ph .ph-label {
  position: absolute; left: 16px; bottom: 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: oklch(0.30 0.03 50);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  padding: 5px 9px;
  border-radius: 99px;
  text-transform: uppercase;
  z-index: 2;
}
.ph-rose { background:
  radial-gradient(120% 80% at 20% 10%, oklch(0.95 0.03 30) 0%, transparent 55%),
  radial-gradient(100% 100% at 100% 100%, oklch(0.72 0.07 20) 0%, transparent 50%),
  linear-gradient(135deg, oklch(0.90 0.04 25), oklch(0.78 0.06 18)); }
.ph-champagne { background:
  radial-gradient(120% 80% at 20% 10%, oklch(0.96 0.04 85) 0%, transparent 55%),
  radial-gradient(100% 100% at 100% 100%, oklch(0.72 0.08 70) 0%, transparent 50%),
  linear-gradient(135deg, oklch(0.90 0.05 75), oklch(0.76 0.07 65)); }
.ph-bone { background:
  radial-gradient(120% 80% at 30% 10%, oklch(0.97 0.015 60) 0%, transparent 55%),
  radial-gradient(100% 100% at 100% 100%, oklch(0.82 0.03 50) 0%, transparent 50%),
  linear-gradient(135deg, oklch(0.93 0.02 55), oklch(0.84 0.035 50)); }
.ph-mocha { background:
  radial-gradient(120% 80% at 30% 10%, oklch(0.80 0.03 50) 0%, transparent 55%),
  radial-gradient(100% 100% at 100% 100%, oklch(0.40 0.04 40) 0%, transparent 60%),
  linear-gradient(135deg, oklch(0.62 0.04 45), oklch(0.36 0.04 40)); }
.ph-mocha .ph-label { color: oklch(0.92 0.02 60); background: rgba(0,0,0,0.35); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 16px 0;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 240, 230, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--hair);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  object-fit: contain;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 20px; color: var(--espresso); letter-spacing: 0.06em; }
.brand-sub { font-size: 9px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 13px; letter-spacing: 0.04em; color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta-hide { display: none; }
  .nav-burger {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--hair-strong);
  }
}

/* Compact brand on phones so the name doesn't wrap to 3 lines and
   collide with the hero eyebrow below the fixed header. */
@media (max-width: 600px) {
  .nav { padding: 12px 0; }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; letter-spacing: 0.03em; }
  .brand-sub { font-size: 8px; letter-spacing: 0.24em; margin-top: 4px; }
}

/* Mobile drawer */
.drawer-bg {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(40, 28, 18, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 88vw);
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  padding: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.drawer-link {
  font-family: var(--f-display);
  font-size: 34px;
  color: var(--espresso);
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 130px;
  padding-bottom: clamp(80px, 8vw, 130px);
  background:
    radial-gradient(60% 50% at 88% 18%, oklch(0.93 0.04 70 / 0.55), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, oklch(0.92 0.04 30 / 0.45), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-utility {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 90px;
}
@media (max-width: 760px) { .hero-utility { display: none; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.hero-portrait-col { position: relative; align-self: stretch; }
@media (max-width: 960px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: end; }
  .hero-portrait-col { align-self: auto; }
}
@media (max-width: 600px) {
  .hero { padding-top: 124px; }
  .hero-eyebrow-row { margin-bottom: 22px; }
}

.hero-headline {
  font-family: var(--f-display);
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 1.08;
  color: var(--espresso);
  letter-spacing: -0.01em;
}
.hero-headline em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-ink);
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.hero-eyebrow-row .line { flex: 1; height: 1px; background: var(--hair); max-width: 120px; }

.hero-sub {
  margin-top: 36px;
  font-size: clamp(16px, 1.1vw + 12px, 20px);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.55;
}
.hero-cta-row { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
}
@media (max-width: 960px) {
  .hero-portrait { height: auto; aspect-ratio: 4/5; }
}
.hero-portrait .ph-label { left: 22px; bottom: 22px; }
.hero-badge {
  position: absolute;
  left: -28px; top: 18%;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--espresso);
  letter-spacing: 0.04em;
  line-height: 1.25;
  box-shadow: var(--shadow-2);
  transform: rotate(-8deg);
  border: 1px solid var(--hair);
}
.hero-badge .num {
  display: block;
  font-size: 38px;
  color: var(--gold-ink);
  margin-bottom: 2px;
}
@media (max-width: 760px) {
  .hero-badge { width: 110px; height: 110px; font-size: 11px; left: -8px; top: 8%; }
  .hero-badge .num { font-size: 28px; }
}

/* Hero scroll arrow */
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust {
  padding: 36px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--cream-2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: var(--f-display); font-size: 38px; color: var(--espresso); line-height: 1; }
.trust-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* ============================================================
   Philosophy
   ============================================================ */
#filosofia {
  background: var(--cream-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  /* Tighter than the default section-pad to close the gap to Tratamientos */
  padding: clamp(56px, 6.5vw, 104px) 0;
}
.philo {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
@media (max-width: 880px) { .philo { grid-template-columns: 1fr; } }
.philo-quote {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: 1.05;
  color: var(--espresso);
  text-wrap: pretty;
}
.philo-quote em { font-family: var(--f-serif); font-style: italic; font-weight: 300; color: var(--gold-ink); }
.philo-text { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 52ch; }
.philo-text + .philo-text { margin-top: 16px; }
.philo-sign { margin-top: 28px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--gold-ink); }

/* ============================================================
   Services
   ============================================================ */
.services-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px; align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 760px) { .services-head { grid-template-columns: 1fr; } }
.section-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1;
  color: var(--espresso);
}
.section-title em { font-family: var(--f-serif); font-style: italic; font-weight: 300; color: var(--gold-ink); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--hair);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .3s;
  cursor: pointer;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--hair-strong); }
.svc-img {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.svc-num {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--f-serif); font-style: italic;
  font-size: 13px; color: var(--gold-ink); z-index: 2;
  background: rgba(255,255,255,0.7);
  padding: 4px 10px; border-radius: 99px;
  backdrop-filter: blur(6px);
}
.svc-title {
  font-family: var(--f-display);
  font-size: 28px;
  color: var(--espresso);
  margin-bottom: 8px;
  line-height: 1.05;
}
.svc-desc { color: var(--muted); font-size: 14px; line-height: 1.6; min-height: 60px; }
.svc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--hair);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink);
  text-decoration: none; cursor: pointer;
}
.svc-foot .arr { transition: transform .35s; }
.svc:hover .svc-foot .arr { transform: translateX(4px); }

/* Featured service card (large) */
.svc-feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 0;
}
@media (max-width: 960px) {
  .svc-feature { grid-column: span 1; grid-template-columns: 1fr; }
}
.svc-feature .svc-img {
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  min-height: 360px;
}
.svc-feature-body { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.svc-feature-title { font-family: var(--f-display); font-size: clamp(34px, 3.2vw, 48px); color: var(--espresso); line-height: 1.02; }

/* ============================================================
   Before / After
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 960px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-stage {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  user-select: none;
  touch-action: none;
}
.ba-img { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--ba-x, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba-x, 50%);
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
  transform: translateX(-1px);
  z-index: 3;
}
.ba-knob {
  position: absolute; top: 50%; left: var(--ba-x, 50%);
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--hair-strong);
  display: grid; place-items: center;
  box-shadow: var(--shadow-2);
  z-index: 4;
  cursor: ew-resize;
}
.ba-knob svg { color: var(--gold-ink); }
.ba-tag {
  position: absolute; top: 18px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  color: var(--espresso);
  z-index: 2;
}
.ba-tag.before { left: 18px; }
.ba-tag.after { right: 18px; background: var(--espresso); color: var(--cream); }

.ba-caselist {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 32px;
  border-top: 1px solid var(--hair);
}
.ba-case {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  cursor: pointer;
  transition: padding-left .3s;
}
.ba-case:hover { padding-left: 12px; }
.ba-case.is-active { padding-left: 12px; }
.ba-case.is-active .ba-case-title { color: var(--gold-ink); }
.ba-case-title { font-family: var(--f-display); font-size: 24px; color: var(--espresso); transition: color .3s; }
.ba-case-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.ba-case-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hair-strong);
  transition: background .3s;
}
.ba-case.is-active .ba-case-dot { background: var(--gold); }

/* ============================================================
   Doctor
   ============================================================ */
.doctor {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(80px, 9vw, 140px) 0;
}
.doctor .eyebrow { color: var(--champagne); }
.doctor-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
@media (max-width: 960px) { .doctor-grid { grid-template-columns: 1fr; } }
.doctor-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-3);
}
.doctor h2 { color: var(--cream); }
.doctor .lead { color: oklch(0.86 0.02 70); max-width: 56ch; }

.doctor-stats {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.doctor-stat-num { font-family: var(--f-display); font-size: 42px; color: var(--champagne); line-height: 1; }
.doctor-stat-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(0.7 0.02 70); margin-top: 8px; }

.doctor-creds { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; }
.doctor-cred { display: flex; gap: 12px; align-items: center; font-size: 14px; color: oklch(0.86 0.02 70); }
.doctor-cred::before {
  content: ""; width: 22px; height: 1px; background: var(--champagne);
}

/* ============================================================
   Testimonials
   ============================================================ */
.tst-wrap { background: var(--surface-2); }
.tst-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.tst-stage {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: clamp(48px, 5vw, 80px) clamp(40px, 6vw, 88px);
  box-shadow: var(--shadow-1);
  min-height: 0;
  border-left: 3px solid var(--champagne);
}
@media (max-width: 760px) { .tst-stage { padding: 32px 24px; } }
.tst-avatar { display: none; }
.tst-quote {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.25;
  color: var(--espresso);
  text-wrap: pretty;
}
.tst-quote::before {
  content: "”";
  font-family: var(--f-display);
  font-size: 120px;
  color: var(--champagne);
  line-height: 0;
  margin-right: 8px;
  vertical-align: -28px;
  opacity: 0.6;
}
.tst-meta { margin-top: 28px; font-family: var(--f-serif); font-style: italic; color: var(--gold-ink); font-size: 18px; }
.tst-meta-name { font-style: normal; font-family: var(--f-sans); font-weight: 500; color: var(--espresso); margin-right: 12px; }

.tst-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
}
.tst-dots { display: flex; gap: 8px; }
.tst-dot {
  width: 24px; height: 4px;
  background: var(--hair-strong);
  border-radius: 99px;
  transition: background .3s, width .3s;
}
.tst-dot.is-active { background: var(--gold); width: 40px; }
.tst-arrows { display: flex; gap: 10px; }
.arrow-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  display: grid; place-items: center;
  transition: background .25s, color .25s, border-color .25s;
  color: var(--espresso);
}
.arrow-btn:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* ============================================================
   Education / Blog teasers
   ============================================================ */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .edu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .edu-grid { grid-template-columns: 1fr; } }
.edu-card { display: flex; flex-direction: column; gap: 18px; transition: transform .4s; cursor: pointer; }
.edu-card:hover { transform: translateY(-3px); }
.edu-img { aspect-ratio: 4/3; border-radius: var(--r-md); }
.edu-tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); }
.edu-title { font-family: var(--f-display); font-size: 26px; color: var(--espresso); line-height: 1.1; }
.edu-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

/* ============================================================
   Instagram
   ============================================================ */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
.ig-tile {
  aspect-ratio: 1/1;
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .5s;
}
.ig-tile:hover { transform: scale(1.03); }
.ig-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(40,28,18,0.4));
  opacity: 0; transition: opacity .3s;
}
.ig-tile:hover::after { opacity: 1; }
/* On phones the tiles are only ~1/3 viewport wide, so shrink the label
   pill to keep it proportionate and prevent the text from wrapping. */
@media (max-width: 760px) {
  .ig-tile .ph-label {
    left: 8px; bottom: 8px;
    font-size: 8px;
    letter-spacing: 0.06em;
    padding: 4px 7px;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%;
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  text-align: left;
  padding: 26px 4px;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--espresso);
  gap: 24px;
  transition: padding .25s;
}
.faq-q:hover { padding-left: 12px; }
.faq-q .plus { color: var(--gold-ink); font-size: 22px; transition: transform .35s; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.2,.7,.2,1);
}
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 4px 28px;
  font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 64ch;
}

/* ============================================================
   Contact / Booking
   ============================================================ */
.contact-wrap {
  background: var(--espresso);
  color: var(--cream);
}
.contact-wrap .eyebrow { color: var(--champagne); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.contact-info {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.contact-info:last-child { border-bottom: 0; }
.contact-info-ico {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: grid; place-items: center;
  color: var(--champagne);
}
.contact-info-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: oklch(0.7 0.02 70); margin-bottom: 4px; }
.contact-info-val { font-family: var(--f-display); font-size: 22px; color: var(--cream); }
.contact-info-val a:hover { color: var(--champagne); }

.booking {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-3);
}
.booking-steps { display: flex; gap: 6px; margin-bottom: 28px; }
.booking-step {
  flex: 1; height: 3px;
  background: var(--hair-strong);
  border-radius: 99px;
  transition: background .3s;
}
.booking-step.is-done { background: var(--gold); }
.booking-step-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.booking-title { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 38px); color: var(--espresso); margin-bottom: 6px; line-height: 1.05; }
.booking-help { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px oklch(0.78 0.06 80 / 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.svc-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill {
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  font-size: 13px;
  cursor: pointer;
  transition: all .25s;
}
.pill:hover { border-color: var(--gold); }
.pill.is-selected { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 480px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot {
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--hair-strong);
  background: var(--surface);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.slot:hover { border-color: var(--gold); }
.slot.is-selected { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.slot.is-disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.booking-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.booking-confirm { text-align: center; padding: 20px 0; }
.confirm-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(160deg, oklch(0.92 0.05 80), oklch(0.78 0.07 75));
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: oklch(0.30 0.03 60);
}

/* ============================================================
   Footer
   ============================================================ */
.footer { background: oklch(0.20 0.018 50); color: oklch(0.78 0.02 70); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-family: var(--f-display); font-size: 18px; color: var(--cream); margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-link { display: block; padding: 6px 0; font-size: 14px; color: oklch(0.74 0.02 70); transition: color .2s; }
.footer-link:hover { color: var(--champagne); }
.footer p { font-size: 14px; line-height: 1.7; color: oklch(0.74 0.02 70); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: oklch(0.62 0.02 70);
}

/* ============================================================
   Floating CTAs
   ============================================================ */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  filter: drop-shadow(0 10px 24px rgba(37, 211, 102, 0.45));
  z-index: 70;
  cursor: pointer;
  transition: transform .25s;
}
.wa-fab-logo { width: 100%; height: 100%; display: block; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.sticky-cta {
  position: fixed; left: 50%; bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 22px;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 99px;
  box-shadow: var(--shadow-3);
  z-index: 65;
  opacity: 0; pointer-events: none;
  transition: opacity .4s, transform .4s;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.sticky-cta.is-shown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.sticky-cta .pill-go {
  background: var(--champagne);
  color: oklch(0.22 0.03 60);
  padding: 10px 22px;
  border-radius: 99px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .sticky-cta { display: none; }
  .wa-fab { right: 16px; bottom: 16px; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ============================================================
   Misc utils
   ============================================================ */
.muted { color: var(--muted); }
.center { text-align: center; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
