/* =========================================================
   Espino Clinic Spa — Prototipo
   Estructura inspirada en la plantilla "Spa – Home 4" (thewebmax),
   con la identidad de marca de Espino (rosa empolvado, malva, crema,
   negro y dorado).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Paleta: 1 primario (malva), 1 acento (dorado), neutros cálidos */
  --cream: #faf6f3;
  --blush: #f3e4e0;
  --blush-strong: #e7cfca;
  --mauve: #8a5a63;
  --mauve-dark: #6f4550;
  --ink: #231c1f;
  --ink-soft: #3a3033;
  --muted: #6b5f63;
  --gold: #b8925a;
  --white-warm: #fffdfb;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala de espacio (base 4px) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgb(35 28 31 / .06), 0 2px 8px rgb(35 28 31 / .06);
  --shadow-md: 0 4px 12px rgb(35 28 31 / .08), 0 12px 32px rgb(35 28 31 / .10);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --nav-h: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--s-4)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--mauve); outline-offset: 2px; border-radius: 2px; }
.hero :focus-visible, .nav :focus-visible, .footer :focus-visible,
.appointment__form :focus-visible, .plan--dark :focus-visible, .plan--featured :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: var(--s-2) var(--s-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s-4); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-4); }
@media (min-width: 768px) { .container { padding-inline: var(--s-6); } }

.section { padding-block: var(--s-16); }
@media (min-width: 1024px) { .section { padding-block: var(--s-24); } }
.section--tint { background: var(--blush); }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
  color: var(--mauve); margin-bottom: var(--s-3);
}
.eyebrow--light { color: var(--blush-strong); }
.title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); color: var(--ink); }
.title em { font-style: italic; color: var(--mauve); font-weight: 600; }
.title--sm { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.title--xl { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem); }
.lead { font-size: 1.125rem; font-weight: 500; color: var(--ink-soft); }

.section-head { max-width: 640px; margin: 0 auto var(--s-12); text-align: center; }
.section-head p { color: var(--muted); }
.section-head--light .title, .section-head--light p { color: var(--ink); }

.divider { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin: var(--s-4) 0; color: var(--gold); }
.divider span { width: 56px; height: 1px; background: currentColor; }
.divider svg { width: 32px; height: 24px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-6); min-height: 48px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out, transform .2s ease-out;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--mauve); color: var(--white-warm); }
.btn--primary:hover { background: var(--mauve-dark); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-soft); }
.btn--ghost { border-color: rgb(255 253 251 / .7); color: var(--white-warm); }
.btn--ghost:hover { background: rgb(255 253 251 / .12); }
.btn--outline { border-color: var(--mauve); color: var(--mauve); }
.btn--outline:hover { background: var(--mauve); color: var(--white-warm); }
.btn--light { background: var(--white-warm); color: var(--ink); }
.btn--light:hover { background: var(--blush); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Topbar ---------- */
.topbar { background: var(--mauve); color: var(--white-warm); font-size: .8125rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 40px; }
.topbar__contact { display: flex; gap: var(--s-6); }
.topbar__contact li { display: flex; align-items: center; gap: var(--s-2); }
.topbar__contact a { text-decoration: none; }
.topbar__contact a:hover { text-decoration: underline; }
.topbar__contact li:first-child { display: none; }
@media (min-width: 640px) { .topbar__contact li:first-child { display: flex; } }

.social { display: flex; gap: var(--s-2); }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid currentColor; text-decoration: none; transition: background-color .2s ease-out, color .2s ease-out;
}
.social a:hover { background: var(--cream); color: var(--ink); }
.social--sm a { width: 28px; height: 28px; border: 0; }
.social--sm a:hover { background: rgb(255 253 251 / .16); color: inherit; }

/* ---------- Header ---------- */
.header { background: var(--white-warm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding-block: var(--s-4); }
.header__info { display: none; align-items: center; gap: var(--s-8); }
@media (min-width: 1024px) { .header__info { display: flex; } }
.info-item { display: flex; align-items: center; gap: var(--s-3); font-size: .875rem; line-height: 1.3; }
.info-item i { font-size: 1.25rem; color: var(--mauve); width: 24px; text-align: center; }
.info-item strong { display: block; font-weight: 600; }
.info-item span { color: var(--muted); }

.logo { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--ink); }
.logo__crown { width: 44px; height: 33px; color: var(--mauve); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; letter-spacing: .14em; }
.logo__tag { font-size: .6875rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-1); padding-left: 2px; }
.logo--light { color: var(--cream); }
.logo--light .logo__crown { color: var(--gold); }
.logo--light .logo__tag { color: var(--blush-strong); }

/* ---------- Nav (barra oscura tipo plantilla) ---------- */
.nav { position: sticky; top: 0; z-index: 50; }
.nav__bar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: var(--nav-h); background: var(--ink); color: var(--cream);
  transition: box-shadow .2s ease-out;
}
.nav.is-stuck .nav__bar { box-shadow: var(--shadow-md); }
@media (min-width: 1024px) { .nav__bar { padding-inline: var(--s-4); } }

.nav__toggle {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-2);
  background: none; border: 0; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.nav__menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); padding: var(--s-2) var(--s-4) var(--s-4); box-shadow: var(--shadow-md);
}
.nav__menu.is-open { display: block; }
.nav__menu a {
  display: block; padding: var(--s-3) var(--s-2); text-decoration: none;
  font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid rgb(250 246 243 / .08); transition: color .15s ease-out;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--blush-strong); }
.nav__wa {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid rgb(250 246 243 / .5); text-decoration: none; font-size: 1.25rem;
  transition: background-color .2s ease-out;
}
.nav__wa:hover { background: var(--mauve); border-color: var(--mauve); }

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; position: static; padding: 0; background: none; box-shadow: none; gap: var(--s-1); }
  .nav__menu a { border: 0; padding: var(--s-4) var(--s-3); position: relative; }
  .nav__menu a::after {
    content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 12px; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out;
  }
  .nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78svh; overflow: hidden; background: var(--ink); color: var(--white-warm); }
@media (min-width: 1024px) { .hero { min-height: min(86vh, 760px); margin-top: calc(var(--nav-h) * -1); } }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease-in-out, visibility 0s linear .5s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease-in-out; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(35 28 31 / .82) 0%, rgb(35 28 31 / .55) 45%, rgb(35 28 31 / .1) 100%);
}
@media (max-width: 767px) {
  .hero__slide::after { background: linear-gradient(0deg, rgb(35 28 31 / .88) 0%, rgb(35 28 31 / .55) 55%, rgb(35 28 31 / .2) 100%); }
}
.hero__content {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--s-24); padding-bottom: var(--s-16); min-height: inherit;
}
@media (min-width: 768px) { .hero__content { justify-content: center; padding-bottom: var(--s-24); } }
@media (min-width: 1024px) { .hero__content { padding-top: calc(var(--nav-h) + var(--s-16)); } }
.hero__slide { min-height: inherit; }
.hero__title { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem); max-width: 16ch; color: var(--white-warm); text-wrap: balance; }
.hero__title em { display: block; font-style: italic; color: var(--blush-strong); font-weight: 500; }
.hero__text { max-width: 46ch; margin-top: var(--s-4); font-size: 1.0625rem; color: rgb(255 253 251 / .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero__dots { position: absolute; z-index: 2; left: 50%; bottom: var(--s-6); transform: translateX(-50%); display: flex; gap: var(--s-2); }
.hero__dots button {
  width: 32px; height: 32px; padding: 0; border: 0; background: none; display: grid; place-items: center;
}
.hero__dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--white-warm);
  transition: background-color .2s ease-out, transform .2s ease-out;
}
.hero__dots button.is-active::before { background: var(--white-warm); transform: scale(1.2); }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
.about__media { position: relative; padding: 0 var(--s-8) var(--s-12) 0; max-width: 520px; }
.about__img-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about__img-accent {
  position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute; left: var(--s-4); bottom: var(--s-4);
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4);
  background: var(--ink); color: var(--cream); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.about__badge strong { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--gold); }
.about__badge span { font-size: .8125rem; line-height: 1.3; max-width: 10ch; }
.about__content > * + * { margin-top: var(--s-4); }
.about__content p:not(.eyebrow):not(.lead):not(.signature) { color: var(--muted); max-width: 62ch; }
.checklist li { display: flex; gap: var(--s-3); align-items: baseline; }
.checklist li + li { margin-top: var(--s-2); }
.checklist i { color: var(--mauve); font-size: .875rem; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 2.5rem; color: var(--gold); line-height: 1.1; }
.about__content .btn-row { margin-top: var(--s-6); }

/* ---------- Servicios ---------- */
.svc-tabs {
  display: flex; gap: var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s-4); margin-bottom: var(--s-8); scrollbar-width: thin;
}
@media (min-width: 1024px) { .svc-tabs { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; gap: 0; } }
.svc-tab {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-2);
  min-width: 120px; padding: var(--s-4) var(--s-3);
  background: var(--white-warm); border: 1px solid var(--blush-strong); border-radius: var(--radius-sm);
  font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve);
  transition: background-color .2s ease-out, color .2s ease-out;
}
@media (min-width: 1024px) { .svc-tab { border-radius: 0; } .svc-tab + .svc-tab { border-left: 0; } }
.svc-tab i { font-size: 1.5rem; }
.svc-tab:hover { background: var(--blush); }
.svc-tab[aria-selected="true"] { background: var(--mauve); color: var(--white-warm); border-color: var(--mauve); }
@media (min-width: 1024px) {
  .svc-tab[aria-selected="true"]::after {
    content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
    border: 9px solid transparent; border-bottom: 0; border-top-color: var(--mauve);
  }
}

.svc-panel { display: grid; gap: var(--s-8); }
@media (min-width: 768px) { .svc-panel { grid-template-columns: 240px 1fr; } .svc-detail { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .svc-panel { grid-template-columns: 260px 1fr 1fr; align-items: start; } .svc-detail { grid-column: auto; } }
.svc-list { background: var(--white-warm); border: 1px solid var(--blush-strong); border-radius: var(--radius-sm); overflow: hidden; align-self: start; }
.svc-list button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: var(--s-4); min-height: 52px; text-align: left; background: none; border: 0;
  border-bottom: 1px solid var(--blush-strong); font-size: .9375rem;
  transition: background-color .15s ease-out, color .15s ease-out;
}
.svc-list li:last-child button { border-bottom: 0; }
.svc-list button:hover { background: var(--blush); }
.svc-list button[aria-pressed="true"] { background: var(--mauve); color: var(--white-warm); }
.svc-list button i { font-size: .75rem; opacity: 0; transition: opacity .15s ease-out; }
.svc-list button[aria-pressed="true"] i { opacity: 1; }
.svc-figure { margin: 0; }
.svc-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--blush-strong); }
.svc-detail h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
.svc-price { margin-top: var(--s-2); font-weight: 600; color: var(--mauve); font-size: 1.125rem; }
.svc-price:empty { display: none; }
.svc-detail p:not(.svc-price) { margin-top: var(--s-4); color: var(--muted); max-width: 60ch; }
.svc-detail .btn { margin-top: var(--s-6); }

/* ---------- Beneficios ---------- */
.benefits {
  background:
    radial-gradient(circle at 12% 20%, rgb(231 207 202 / .55), transparent 40%),
    radial-gradient(circle at 88% 80%, rgb(231 207 202 / .55), transparent 40%),
    var(--cream);
}
.benefits__grid { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 1024px) { .benefits__grid { grid-template-columns: 1fr 380px 1fr; gap: var(--s-12); } }
.benefits__media { order: -1; justify-self: center; width: min(320px, 80%); }
@media (min-width: 1024px) { .benefits__media { order: 0; width: 100%; } }
.benefits__media img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 8px solid var(--white-warm); box-shadow: var(--shadow-md);
}
.benefits__col { display: grid; gap: var(--s-8); }
@media (min-width: 640px) and (max-width: 1023px) { .benefits__col { grid-template-columns: 1fr 1fr; } }
.benefit { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--s-4); }
.benefit i {
  grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blush); color: var(--mauve); font-size: 1.25rem;
}
.benefit h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; align-self: end; }
.benefit p { color: var(--muted); font-size: .9375rem; margin-top: var(--s-1); }
@media (min-width: 1024px) {
  .benefits__col--left .benefit { grid-template-columns: 1fr 48px; text-align: right; }
  .benefits__col--left .benefit i { grid-column: 2; grid-row: 1 / span 2; }
  .benefits__col--left .benefit h3, .benefits__col--left .benefit p { grid-column: 1; }
}

/* ---------- Resultados ---------- */
.reels { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1000px; margin-inline: auto; }
.reel { margin: 0; }
.reel__frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-md); }
.reel__frame video { width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0;
  background: linear-gradient(0deg, rgb(35 28 31 / .45), transparent 50%); color: var(--white-warm);
  transition: opacity .2s ease-out;
}
.reel__play i {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgb(255 253 251 / .9); color: var(--mauve); font-size: 1.25rem; padding-left: 4px;
  box-shadow: var(--shadow-md); transition: transform .2s ease-out;
}
.reel__play:hover i { transform: scale(1.06); }
.reel.is-playing .reel__play { opacity: 0; }
.reel.is-playing .reel__play:focus-visible { opacity: 1; }
.reel figcaption { margin-top: var(--s-3); text-align: center; }
.reel figcaption strong { display: block; font-weight: 600; }
.reel figcaption span { color: var(--muted); font-size: .9375rem; }

.compare-card {
  display: grid; gap: var(--s-8); align-items: center; margin-top: var(--s-16);
  background: var(--white-warm); border-radius: var(--radius); padding: var(--s-6); box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .compare-card { grid-template-columns: minmax(0, 420px) 1fr; padding: var(--s-8); gap: var(--s-12); } }
.compare-card__text > * + * { margin-top: var(--s-4); }
.compare-card__text p:not(.eyebrow) { color: var(--muted); max-width: 52ch; }
.compare-card__text .btn { margin-top: var(--s-6); }
.compare { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--blush); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white-warm);
  transform: translateX(-1px); pointer-events: none;
}
.compare__handle i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white-warm); color: var(--mauve); box-shadow: var(--shadow-md);
}
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare__range:focus-visible + * , .compare:focus-within .compare__handle i { outline: 2px solid var(--mauve); outline-offset: 2px; }
.compare__label {
  position: absolute; top: var(--s-3); padding: var(--s-1) var(--s-3); border-radius: 999px;
  background: rgb(35 28 31 / .75); color: var(--white-warm); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.compare__label--before { left: var(--s-3); }
.compare__label--after { right: var(--s-3); }

/* ---------- Oferta ---------- */
.offer { background: linear-gradient(180deg, var(--cream), var(--blush) 100%); overflow: hidden; }
.offer__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .offer__grid { grid-template-columns: 5fr 7fr; } .offer__content { text-align: right; } }
.offer__media { justify-self: center; width: min(420px, 100%); }
.offer__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); transform: rotate(-3deg); }
.offer__content > * + * { margin-top: var(--s-4); }
.offer__content p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 56ch; }
@media (min-width: 1024px) { .offer__content p { margin-left: auto; } }
.offer__content .btn { margin-top: var(--s-6); }
.stats { display: grid; gap: var(--s-6); margin-top: var(--s-12) !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (min-width: 1024px) { .stats { justify-items: end; } }
.stats li { display: flex; align-items: center; gap: var(--s-3); text-align: left; }
.stats i { font-size: 1.75rem; color: var(--mauve); }
.stats strong { display: block; font-family: var(--font-display); font-size: 2.25rem; line-height: 1; font-weight: 700; }
.stats span { font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); margin-bottom: var(--s-8); }
.filters button {
  min-height: 40px; padding: var(--s-2) var(--s-4); border: 1px solid var(--blush-strong); border-radius: 999px;
  background: var(--white-warm); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.filters button:hover { border-color: var(--mauve); }
.filters button.is-active { background: var(--mauve); border-color: var(--mauve); color: var(--white-warm); }
/* Cuadrícula uniforme: 12 fotos llenan exacto 2, 3 y 4 columnas */
.masonry { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .masonry { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .masonry { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.masonry__item button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--blush-strong); }
.masonry__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s ease-out; }

/* El display de .fab no debe anular el atributo hidden */
.fab[hidden] { display: none; }

/* En móvil la pestaña vertical de la caja de horario se sale del borde */
@media (max-width: 767px) { .hours-box__tab { display: none; } .hours-box { padding: var(--s-8) var(--s-6); } }
.masonry__item button:hover img { transform: scale(1.04); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(35 28 31 / .85); }
.lightbox img { max-height: 88vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.lightbox__close {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--white-warm); color: var(--ink); font-size: 1.25rem;
}

/* ---------- Paquetes ---------- */
.pricing {
  position: relative;
  background:
    linear-gradient(rgb(250 246 243 / .88), rgb(250 246 243 / .92)),
    url("../img/hero-2.jpg") center / cover no-repeat;
}
.plans { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1000px; margin-inline: auto; }
.plan {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-2);
  padding: 0 var(--s-6) var(--s-8); background: var(--white-warm); border: 1px solid var(--blush-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.plan__badge {
  margin-bottom: var(--s-4); padding: var(--s-2) var(--s-6); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--blush-strong); color: var(--ink);
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.plan__price { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.plan__price span { font-size: 1.75rem; vertical-align: super; margin-right: 2px; }
.plan__meta { color: var(--muted); font-size: .9375rem; }
.plan__list { margin: var(--s-4) 0 var(--s-6); display: grid; gap: var(--s-3); }
.plan__list li { display: flex; gap: var(--s-2); align-items: baseline; justify-content: center; }
.plan__list i { color: var(--mauve); font-size: .8125rem; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--mauve); border-color: var(--mauve); color: var(--white-warm); box-shadow: var(--shadow-md); }
.plan--featured .plan__badge { background: var(--ink); color: var(--cream); }
.plan--featured .plan__meta, .plan--featured .plan__list i { color: var(--blush); }
.plan--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.plan--dark .plan__badge { background: var(--gold); color: var(--ink); }
.plan--dark .plan__meta { color: var(--blush-strong); }
.plan--dark .plan__list i { color: var(--gold); }
@media (min-width: 1024px) { .plan--featured { transform: translateY(-12px); } }

.areas { margin-top: var(--s-12); text-align: center; }
.areas p { font-weight: 600; margin-bottom: var(--s-3); }
.areas ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.areas li { padding: var(--s-1) var(--s-3); border-radius: 999px; background: var(--white-warm); border: 1px solid var(--blush-strong); font-size: .875rem; }

/* ---------- Experiencias ---------- */
.exp-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.exp {
  padding: var(--s-8) var(--s-6); background: var(--white-warm); border-radius: var(--radius);
  border-top: 3px solid var(--gold); box-shadow: var(--shadow-sm); text-align: center;
}
.exp i { font-size: 1.75rem; color: var(--mauve); }
.exp h3 { margin-top: var(--s-4); font-size: 1.75rem; }
.exp__price { margin-top: var(--s-1); font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--mauve); line-height: 1.1; }
.exp__price small { font-family: var(--font-body); font-size: .875rem; font-weight: 500; color: var(--muted); }
.exp p:last-child { margin-top: var(--s-3); color: var(--muted); }

/* ---------- Promociones ---------- */
.promo-grid { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.promo { display: flex; flex-direction: column; background: var(--white-warm); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease-out, transform .2s ease-out; }
.promo:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.promo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--blush-strong); }
.promo__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); flex: 1; }
.promo__tag { align-self: flex-start; padding: var(--s-1) var(--s-3); border-radius: 999px; background: var(--blush); color: var(--mauve-dark); font-size: .8125rem; font-weight: 600; }
.promo h3 { font-size: 1.5rem; }
.promo__body p:not(.promo__tag) { color: var(--muted); font-size: .9375rem; }
.promo a { margin-top: auto; padding-top: var(--s-2); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mauve); text-decoration: none; }
.promo a:hover { text-decoration: underline; }
.promo a i { margin-left: var(--s-1); font-size: .75rem; }

/* ---------- Cita + horario ---------- */
.appointment {
  background:
    linear-gradient(rgb(250 246 243 / .72), rgb(250 246 243 / .72)),
    url("../img/about-1.jpg") center 30% / cover no-repeat;
}
.appointment__grid { display: grid; padding-inline: 0; }
@media (min-width: 768px) { .appointment__grid { padding-inline: var(--s-6); } }
@media (min-width: 1024px) { .appointment__grid { grid-template-columns: 5fr 7fr; } }
.appointment__form { background: var(--mauve); color: var(--white-warm); padding: var(--s-12) var(--s-6); }
@media (min-width: 768px) { .appointment__form { padding: var(--s-16) var(--s-8); } }
.appointment__kicker { font-size: 1.125rem; }
.appointment__title { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem); font-style: italic; font-weight: 500; color: var(--white-warm); margin-bottom: var(--s-6); }
.appointment form { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .appointment form { grid-template-columns: 1fr 1fr; } .field--full, .form-error, .appointment form .btn, .form-note { grid-column: 1 / -1; } }
.field { display: grid; gap: var(--s-1); }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: var(--s-2) 0; border: 0; border-bottom: 1px solid rgb(255 253 251 / .75);
  background: transparent; color: var(--white-warm); border-radius: 0; transition: border-color .15s ease-out;
}
.field textarea { resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--gold); }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); }
.form-error { padding: var(--s-2) var(--s-3); background: var(--white-warm); color: #9b1c1c; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; }
.appointment form .btn { justify-self: start; margin-top: var(--s-2); }
.form-note { font-size: .8125rem; color: rgb(255 253 251 / .85); }

.appointment__hours { display: grid; place-items: center; padding: var(--s-12) var(--s-4); }
@media (min-width: 768px) { .appointment__hours { padding: var(--s-16) var(--s-12); } }
.hours-box {
  position: relative; width: 100%; max-width: 480px; padding: var(--s-12) var(--s-8) var(--s-8);
  border: 4px solid var(--mauve); background: rgb(255 253 251 / .82); text-align: right;
}
.hours-box__tab {
  position: absolute; left: -2px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  padding: var(--s-2) var(--s-4); background: var(--mauve); color: var(--white-warm); text-decoration: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.hours-box__tab:hover { background: var(--mauve-dark); }
.hours-box__kicker { font-size: 1.125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.hours-box__title { font-family: var(--font-body); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem); font-weight: 600; text-transform: uppercase; color: var(--mauve); letter-spacing: -0.01em; }
.hours-box > p { color: var(--muted); margin-top: var(--s-3); }
.hours { margin: var(--s-6) 0 0; display: grid; gap: var(--s-2); }
.hours div { display: flex; justify-content: flex-end; gap: var(--s-3); font-style: italic; }
.hours dt { font-weight: 500; }
.hours dt::after { content: ":"; }
.hours dd { margin: 0; }

/* ---------- Ubicación ---------- */
.location__grid { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .location__grid { grid-template-columns: 5fr 7fr; } }
.location__info > * + * { margin-top: var(--s-4); }
.contact-list { display: grid; gap: var(--s-4); margin-block: var(--s-6) !important; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: baseline; }
.contact-list i { color: var(--mauve); text-align: center; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.location__map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--blush); }
@media (min-width: 1024px) { .location__map { aspect-ratio: 16 / 10; } }
.location__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--mauve); color: var(--white-warm); padding-block: var(--s-12); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); }
.cta-band h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); color: var(--white-warm); }
.cta-band p { margin-top: var(--s-2); color: rgb(255 253 251 / .9); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgb(250 246 243 / .82); padding-top: var(--s-16); }
.footer__grid { display: grid; gap: var(--s-12); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: var(--s-12); }
.footer__col > * + * { margin-top: var(--s-4); }
.footer__col p { max-width: 36ch; font-size: .9375rem; }
.footer .social a { color: var(--cream); }
.footer__title {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cream);
  padding-bottom: var(--s-3); position: relative;
}
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 1px; background: var(--gold); }
.footer__links li + li { margin-top: var(--s-1); }
.footer__links a {
  display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; font-size: .9375rem;
  transition: color .15s ease-out;
}
.footer__links a:hover { color: var(--blush-strong); }
.footer__contact { display: grid; gap: var(--s-3); font-size: .9375rem; }
.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: baseline; }
.footer__contact i { color: var(--gold); }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgb(250 246 243 / .1); padding-block: var(--s-6); font-size: .8125rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }

/* ---------- Botones flotantes ---------- */
.fab {
  position: fixed; right: var(--s-4); z-index: 40; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; border: 0; text-decoration: none;
  box-shadow: var(--shadow-md); transition: transform .2s ease-out, background-color .2s ease-out;
}
.fab:hover { transform: translateY(-2px); }
.fab--wa { bottom: var(--s-4); background: var(--mauve); color: var(--white-warm); font-size: 1.5rem; }
.fab--wa:hover { background: var(--mauve-dark); }
.fab--top { bottom: calc(var(--s-4) + 64px); background: var(--white-warm); color: var(--ink); width: 44px; height: 44px; right: calc(var(--s-4) + 4px); }

/* ---------- Animación de aparición (solo si hay JS y se permite movimiento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s ease-out, transform .4s ease-out; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
