/* ============================================================
   ÁUREA · ESTUDIO DE BELLEZA
   style.css — Sistema de diseño premium
   Índice:
   00. Tokens (color, tipografía, espaciado, motion)
   01. Reset & base
   02. Utilidades (container, eyebrow, botones, section)
   03. Animaciones base (reveal, stagger, float, marquee)
   04. Header & navegación
   05. Menú móvil
   06. Hero
   07. Sobre nosotros
   08. Servicios
   09. Equipo
   10. Galería + Before/After
   11. Testimonios
   12. Promociones
   13. Reserva
   14. FAQ
   15. Ubicación
   16. Instagram
   17. CTA final
   18. Footer
   19. Lightbox, toast, to-top
   20. Responsive
   21. Reduced motion
============================================================ */

/* ============================================================
   00. TOKENS
============================================================ */
:root {
  /* Paleta "Sand" — light mode (por defecto) */
  --bg:          #f8f4f0;   /* ivory cálido (no cream genérico) */
  --surface:     #ffffff;   /* tarjetas */
  --surface-2:   #f0e8db;   /* beige tint */
  --text:        #221c1a;   /* espresso casi negro */
  --text-muted:  #625751;   /* taupe cálido */
  --line:        #e6ddcf;   /* hairline */
  --accent:      #8a6f4b;   /* mocha / café con leche (beige oscuro) */
  --accent-2:    #9d8055;   /* beige claro */
  --accent-ink:  #ffffff;   /* texto sobre acento */
  --gold:        #b8925a;   /* champagne */
  --gold-soft:   #d9c09a;

  /* Sombras (tintadas espresso) */
  --shadow-sm: 0 1px 2px rgba(34, 28, 26, .05), 0 2px 6px rgba(34, 28, 26, .04);
  --shadow:    0 4px 12px rgba(34, 28, 26, .07), 0 12px 32px rgba(34, 28, 26, .06);
  --shadow-lg: 0 10px 24px rgba(34, 28, 26, .12), 0 28px 60px rgba(34, 28, 26, .12);
  --scrim: linear-gradient(180deg, rgba(24,16,14,.15) 0%, rgba(24,16,14,.35) 45%, rgba(24,16,14,.78) 100%);

  /* Tipografía */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala fluida */
  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.08rem + .35vw, 1.35rem);
  --step-2:  clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.7vw, 3rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 5rem);

  /* Layout & radios */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --pill: 999px;

  /* Motion — curvas fuertes (Emil / Ionic) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 150ms;
  --dur-hover: 220ms;
  --dur-reveal: 560ms;

  color-scheme: light;
}

/* Dark mode automático si no hay override */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg:         #17110f;
    --surface:    #201815;
    --surface-2:  #2a201c;
    --text:       #f1e8e2;
    --text-muted: #b1a49c;
    --line:       #362b26;
    --accent:     #ceb083;
    --accent-2:   #ddc296;
    --accent-ink: #1a1210;
    --gold:       #cca86a;
    --gold-soft:  #e0c99a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
    --shadow:    0 6px 18px rgba(0,0,0,.4);
    --shadow-lg: 0 14px 40px rgba(0,0,0,.55);
    --scrim: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.85) 100%);
    color-scheme: dark;
  }
}

/* Override manual */
[data-theme="dark"] {
  --bg:         #17110f;
  --surface:    #201815;
  --surface-2:  #2a201c;
  --text:       #f1e8e2;
  --text-muted: #b1a49c;
  --line:       #362b26;
  --accent:     #ceb083;
  --accent-2:   #ddc296;
  --accent-ink: #1a1210;
  --gold:       #cca86a;
  --gold-soft:  #e0c99a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow:    0 6px 18px rgba(0,0,0,.4);
  --shadow-lg: 0 14px 40px rgba(0,0,0,.55);
  --scrim: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.85) 100%);
  color-scheme: dark;
}
[data-theme="light"] { color-scheme: light; }

/* ============================================================
   01. RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}

img, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: fixed;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: .6rem 1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   02. UTILIDADES
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* Desplazamiento de anclas para no quedar bajo el header fijo */
section[id], main[id] { scroll-margin-top: 84px; }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__title { font-size: var(--step-3); }
.section__intro { color: var(--text-muted); margin-top: 1rem; font-size: var(--step-1); }

/* Eyebrow (etiqueta versalita) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--gold-soft); }

/* Botones */
.btn {
  --_pad-y: .85rem; --_pad-x: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--_pad-y) var(--_pad-x);
  border-radius: var(--pill);
  font-weight: 600; font-size: var(--step-0);
  letter-spacing: .01em;
  transition: transform var(--dur-press) var(--ease-out),
              background-color var(--dur-hover) ease,
              color var(--dur-hover) ease,
              border-color var(--dur-hover) ease,
              box-shadow var(--dur-hover) ease;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn--outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn--on-dark { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn--sm { --_pad-y: .55rem; --_pad-x: 1.1rem; font-size: var(--step--1); }
.btn--lg { --_pad-y: 1.05rem; --_pad-x: 2.2rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-2); box-shadow: var(--shadow); }
  .btn--ghost:hover { border-color: var(--text); }
  .btn--outline:hover { background: var(--accent); color: var(--accent-ink); }
  .btn--on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; }
}

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--step--1); color: var(--text-muted);
}

/* Social */
.social { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.social__link {
  font-size: var(--step--1); color: var(--text-muted);
  letter-spacing: .04em;
  transition: color var(--dur-hover) ease;
  position: relative;
}
.social__link::after {
  content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .social__link:hover { color: var(--accent); }
  .social__link:hover::after { transform: scaleX(1); }
}
.social--sm .social__link { font-weight: 600; }

/* Card base */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* Grids reutilizables */
.cards-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* ============================================================
   03. ANIMACIONES BASE
============================================================ */
/* Scroll reveal — fade + subir. Transición (interrumpible), no keyframes */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Header entra sin desplazamiento (sólo fade) */
[data-reveal-static] { opacity: 0; transition: opacity .5s var(--ease-out); }
[data-reveal-static].is-visible { opacity: 1; }

/* Stagger: cada hijo con delay según --i */
[data-stagger] [data-reveal] { transition-delay: calc(var(--i, 0) * 55ms); }

/* Float ambiental */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
[data-float] { animation: float 6s var(--ease-in-out) infinite; }

/* Marquee (linear, ambiental) */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: 1rem;
}
.marquee__track {
  display: inline-flex; gap: 1.4rem; align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--text-muted);
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee__track span { color: var(--text-muted); }
.marquee__track span:nth-child(4n+1) { color: var(--accent); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (hover:hover) and (pointer:fine){
  .marquee:hover .marquee__track { animation-play-state: paused; }
}

/* Lazy image reveal (shimmer -> imagen) */
.lazy-img { opacity: 0; transition: opacity .6s var(--ease-out); }
.lazy-img.is-loaded { opacity: 1; }

/* ============================================================
   04. HEADER & NAVEGACIÓN
============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background-color .3s ease, box-shadow .3s ease,
              backdrop-filter .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
  padding-block: .7rem;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  padding-top: 2px;
}
.brand__word { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }

/* Color del header sobre el hero (antes de scroll) */
.site-header:not(.is-scrolled) .nav__list a,
.site-header:not(.is-scrolled) .brand__word,
.site-header:not(.is-scrolled) .theme-toggle,
.site-header:not(.is-scrolled) .nav-toggle__bar { color: #fff; }
.site-header:not(.is-scrolled) .nav-toggle__bar { background: #fff; }

.nav__list { display: flex; gap: 1.9rem; }
.nav__list a {
  font-size: var(--step--1); font-weight: 500; letter-spacing: .02em;
  position: relative; padding-block: .3rem;
  transition: color var(--dur-hover) ease;
}
.nav__list a::after {
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .nav__list a:hover { color: var(--accent); }
  .nav__list a:hover::after { transform: scaleX(1); }
}

.header__actions { display: flex; align-items: center; gap: .9rem; }

/* Theme toggle */
.theme-toggle {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--pill);
  border: 1px solid var(--line);
  transition: transform var(--dur-press) var(--ease-out), border-color var(--dur-hover) ease, background-color var(--dur-hover) ease;
}
.site-header:not(.is-scrolled) .theme-toggle { border-color: rgba(255,255,255,.4); }
.theme-toggle:active { transform: scale(0.94); }
@media (hover:hover) and (pointer:fine){ .theme-toggle:hover { border-color: var(--accent); } }
.theme-toggle__icon { transition: opacity .2s ease, transform .3s var(--ease-out); }
.theme-toggle__icon--moon { display: none; }
[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
[data-theme="dark"] .theme-toggle__icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle__icon--sun { display: none; }
  :root:not([data-theme]) .theme-toggle__icon--moon { display: block; }
}

/* Hamburguesa */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   05. MENÚ MÓVIL
============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: clamp(5rem, 18vw, 7rem) var(--gutter) 3rem;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease-out), transform .32s var(--ease-drawer), visibility 0s .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .28s var(--ease-out), transform .32s var(--ease-drawer); }
.mobile-menu__inner { display: flex; flex-direction: column; gap: .35rem; }
.mobile-menu__link {
  font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding-block: .35rem; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
}
.mobile-menu.is-open .mobile-menu__link {
  opacity: 1; transform: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  transition-delay: calc(var(--mi, 0) * 45ms + 80ms);
}
.mobile-menu__cta { margin-top: 1.5rem; }

/* ============================================================
   06. HERO
============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(2rem, 5vh, 3rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  /* Reveal de carga: clip-path (signature) */
  clip-path: inset(0 0 0 0);
  animation: heroReveal 1.1s var(--ease-drawer) both;
  transform: scale(1.06);
}
@keyframes heroReveal {
  from { clip-path: inset(0 0 100% 0); transform: scale(1.14); }
  to   { clip-path: inset(0 0 0 0);    transform: scale(1.06); }
}
.hero__scrim { position: absolute; inset: 0; background: var(--scrim); }

.hero__content { position: relative; max-width: 46rem; color: #fff; }
.hero__eyebrow { color: var(--gold-soft); }
.hero__eyebrow::before { background: var(--gold-soft); }
.hero__title {
  font-size: var(--step-4);
  font-weight: 500; line-height: 1.02;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__subtitle {
  font-size: var(--step-1); color: rgba(255,255,255,.9);
  max-width: 34rem; margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); }
.trust { display: flex; flex-direction: column; }
.trust__num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.trust__label { font-size: var(--step--1); color: rgba(255,255,255,.78); margin-top: .35rem; }

.hero__footer {
  position: relative; margin-top: auto; padding-top: clamp(2rem, 6vh, 3.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.hero__hours { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.9); font-size: var(--step--1); }
.hero__hours strong { color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6ac47a; box-shadow: 0 0 0 4px rgba(106,196,122,.25); }
.hero__social .social__link { color: rgba(255,255,255,.82); }
@media (hover:hover) and (pointer:fine){ .hero__social .social__link:hover { color: #fff; } }

/* ============================================================
   07. SOBRE NOSOTROS
============================================================ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about__badge {
  position: absolute; right: -14px; bottom: 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1rem 1.3rem; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.about__badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--accent); }
.about__badge-text { font-size: var(--step--1); color: var(--text-muted); }

.about__lead { color: var(--text-muted); font-size: var(--step-1); margin-top: 1.2rem; }
.about__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-top: 2.4rem; }
.pillar { border-left: 2px solid var(--gold); padding-left: 1.1rem; }
.pillar__title { font-size: var(--step-1); margin-bottom: .3rem; }
.pillar p { color: var(--text-muted); font-size: var(--step--1); line-height: 1.65; }

/* ============================================================
   08. SERVICIOS
============================================================ */
.services__grid { grid-template-columns: repeat(3, 1fr); }
.service { overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out); }
.service__media { overflow: hidden; aspect-ratio: 5/4; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.service__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.service__name { font-size: var(--step-2); }
.service__price { font-family: var(--font-body); font-weight: 600; font-size: var(--step--1); color: var(--accent); white-space: nowrap; }
.service__desc { color: var(--text-muted); font-size: var(--step--1); flex: 1; }
.service__meta { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.service__book { font-weight: 600; font-size: var(--step--1); color: var(--accent); transition: gap .2s ease, opacity .2s ease; }

@media (hover:hover) and (pointer:fine){
  .service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .service:hover .service__media img { transform: scale(1.06); }
  .service__book:hover { opacity: .75; }
}

/* ============================================================
   09. EQUIPO
============================================================ */
.team__grid { grid-template-columns: repeat(4, 1fr); }
.team-card { overflow: hidden; transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out); }
.team-card__media { aspect-ratio: 5/6; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); filter: grayscale(.15); }
.team-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.team-card__name { font-size: var(--step-2); }
.team-card__role { color: var(--accent); font-weight: 600; font-size: var(--step--1); margin-top: .2rem; }
.team-card__spec, .team-card__exp { color: var(--text-muted); font-size: var(--step--1); margin-top: .35rem; }
.team-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

@media (hover:hover) and (pointer:fine){
  .team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .team-card:hover .team-card__media img { transform: scale(1.05); filter: grayscale(0); }
}

/* ============================================================
   10. GALERÍA + BEFORE/AFTER (signature)
============================================================ */
.ba { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.ba__frame {
  position: relative; width: 100%; aspect-ratio: 16/10; max-height: 70vh;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before {
  position: absolute; inset: 0; width: 100%; height: 100%;
  clip-path: inset(0 50% 0 0); /* controlado por JS */
  overflow: hidden;
}
.ba__before .ba__img { width: 100%; }
.ba__tag {
  position: absolute; top: 1rem; z-index: 3;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .05em;
  padding: .35rem .8rem; border-radius: var(--pill);
  background: rgba(24,16,14,.55); color: #fff; backdrop-filter: blur(4px);
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; }
.ba__handle {
  position: absolute; top: 0; left: 50%; z-index: 4;
  width: 44px; height: 100%; transform: translateX(-50%);
  display: grid; place-items: center; cursor: ew-resize;
}
.ba__handle::before {
  content:""; position: absolute; top:0; bottom:0; left: 50%; width: 2px;
  background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.ba__handle-grip {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--accent); font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow); letter-spacing: -2px;
}
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible .ba__handle-grip { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.8rem; }
.filter {
  padding: .5rem 1.1rem; border-radius: var(--pill);
  border: 1px solid var(--line); font-size: var(--step--1); font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur-hover) ease, background-color var(--dur-hover) ease,
              border-color var(--dur-hover) ease, transform var(--dur-press) var(--ease-out);
}
.filter:active { transform: scale(0.97); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (hover:hover) and (pointer:fine){
  .filter:not(.is-active):hover { border-color: var(--accent); color: var(--accent); }
}

/* Grid galería */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4/5; cursor: zoom-in; margin: 0;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.gallery__item.is-hidden { display: none; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1rem .9rem; color: #fff; font-size: var(--step--1); font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(24,16,14,.75));
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .gallery__item:hover .gallery__img { transform: scale(1.06); }
  .gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
}

/* ============================================================
   11. TESTIMONIOS
============================================================ */
.reviews { background: var(--surface-2); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: none; }
.reviews__score { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.reviews__num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.reviews__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin-top: .3rem; }
.reviews__meta { color: var(--text-muted); font-size: var(--step--1); margin-top: .35rem; }

.reviews__grid { grid-template-columns: repeat(3, 1fr); }
.review { padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; }
.review__stars { color: var(--gold); letter-spacing: 2px; }
.review__star--off { color: var(--line); }
.review__text { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.5; }
.review__author { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review__name { font-weight: 600; font-size: var(--step-0); }
.review__date { color: var(--text-muted); font-size: var(--step--1); }

/* ============================================================
   12. PROMOCIONES
============================================================ */
.promos__grid { grid-template-columns: 1.3fr 1fr 1fr; }
.promo {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.9rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.promo--feature {
  background: linear-gradient(150deg, var(--accent) 0%, #5c4526 100%);
  color: #fff; border-color: transparent;
}
.promo--feature .promo__desc, .promo--feature .promo__fine { color: rgba(255,255,255,.85); }
.promo__badge {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .05em;
  padding: .3rem .8rem; border-radius: var(--pill);
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
}
.promo--feature .promo__badge { background: rgba(255,255,255,.18); color: #fff; }
.promo__badge--alt { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
.promo__title { font-size: var(--step-2); }
.promo--feature .promo__title { font-size: var(--step-3); }
.promo__desc { color: var(--text-muted); font-size: var(--step--1); }
.promo__price { font-size: var(--step-1); }
.promo__price s { color: var(--text-muted); font-size: var(--step-0); }
.promo__price strong { color: var(--accent); }
.promo__fine { font-size: var(--step--1); color: var(--text-muted); }
.promo .btn { margin-top: auto; }
@media (hover:hover) and (pointer:fine){
  .promo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
}

/* ============================================================
   13. RESERVA
============================================================ */
.booking { background: var(--surface-2); }
.booking__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking__aside { position: sticky; top: 100px; }
.booking__lead { color: var(--text-muted); font-size: var(--step-1); margin-top: 1rem; }
.booking__perks { display: flex; flex-direction: column; gap: .7rem; margin: 1.6rem 0; }
.booking__perks li { position: relative; padding-left: 1.7rem; color: var(--text-muted); font-size: var(--step--1); }
.booking__perks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.booking__call { font-size: var(--step-0); }
.booking__call a { color: var(--accent); font-weight: 600; }

.booking__form { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: var(--step--1); font-weight: 600; }
.field__opt { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  padding: .8rem .95rem; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
  transition: border-color var(--dur-hover) ease, box-shadow var(--dur-hover) ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field__error { font-size: var(--step--1); color: var(--accent); min-height: 0; opacity: 0; max-height: 0; transition: opacity .2s ease; }
.field.has-error input, .field.has-error select { border-color: var(--accent); }
.field.has-error .field__error { opacity: 1; max-height: 3em; }
.booking__note { font-size: var(--step--1); color: var(--text-muted); text-align: center; }

/* Shake para inputs inválidos al enviar */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.field.shake { animation: shake .4s var(--ease-in-out); }

/* ============================================================
   14. FAQ
============================================================ */
.faq__wrap { max-width: 60rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500;
  transition: color var(--dur-hover) ease;
}
.faq__q::-webkit-details-marker { display: none; }
@media (hover:hover) and (pointer:fine){ .faq__q:hover { color: var(--accent); } }
.faq__icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after {
  content:""; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.faq__icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__icon::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

/* Acordeón: grid 0fr -> 1fr (contenido en pantalla, curva suave) */
.faq__a { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .3s var(--ease-in-out); }
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; color: var(--text-muted); padding-bottom: 1.25rem; font-size: var(--step-0); }

/* ============================================================
   15. UBICACIÓN
============================================================ */
.location__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.location__list { display: flex; flex-direction: column; gap: 1.4rem; margin: 1.6rem 0 2rem; }
.location__list li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; align-items: start; }
.location__k { font-size: var(--step--1); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); padding-top: .15rem; }
.location__v { color: var(--text-muted); }
.location__v a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.location__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 360px; border: 1px solid var(--line); }
.location__map iframe { width: 100%; height: 100%; filter: grayscale(.2) contrast(1.05); }
[data-theme="dark"] .location__map iframe { filter: grayscale(.3) invert(.9) hue-rotate(180deg) contrast(.9); }

/* ============================================================
   16. INSTAGRAM
============================================================ */
.insta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: none; }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.5rem, 1.2vw, .9rem); }
.insta__cell { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); }
.insta__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.insta__hover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 70%, transparent); color: #fff; font-size: 1.6rem;
  opacity: 0; transition: opacity var(--dur-hover) var(--ease-out);
}
@media (hover:hover) and (pointer:fine){
  .insta__cell:hover img { transform: scale(1.08); }
  .insta__cell:hover .insta__hover { opacity: 1; }
}

/* ============================================================
   17. CTA FINAL
============================================================ */
.cta-final { position: relative; padding-block: clamp(5rem, 12vw, 9rem); overflow: hidden; text-align: center; }
.cta-final__media { position: absolute; inset: 0; z-index: -1; }
.cta-final__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-final__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,16,14,.55), rgba(24,16,14,.72)); }
.cta-final__content { position: relative; max-width: 40rem; margin-inline: auto; color: #fff; }
.cta-final__title { font-size: var(--step-4); margin: .3rem 0 1rem; }
.cta-final__text { font-size: var(--step-1); color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.cta-final .eyebrow--light { justify-content: center; }

/* ============================================================
   18. FOOTER
============================================================ */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.brand--footer { margin-bottom: 1rem; }
.footer__tag { color: var(--text-muted); font-size: var(--step--1); max-width: 26rem; margin-bottom: 1.2rem; }
.footer__title { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a, .footer__col li { color: var(--text-muted); font-size: var(--step-0); transition: color var(--dur-hover) ease; }
@media (hover:hover) and (pointer:fine){ .footer__col a:hover { color: var(--accent); } }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  color: var(--text-muted); font-size: var(--step--1);
}
.footer__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
@media (hover:hover) and (pointer:fine){ .footer__legal a:hover { color: var(--accent); } }

/* ============================================================
   19. LIGHTBOX, TOAST, TO-TOP
============================================================ */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background-color var(--dur-hover) ease;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(0.94); }
@media (hover:hover) and (pointer:fine){ .to-top:hover { background: var(--accent-2); } }

/* Lightbox (modal, centrado) */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18,12,10,.86); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease-out), visibility 0s .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease-out); }
.lightbox__figure { max-width: min(1000px, 92vw); max-height: 84vh; margin: 0; text-align: center; }
.lightbox__figure img {
  max-width: 100%; max-height: 78vh; border-radius: var(--r); object-fit: contain;
  transform: scale(0.96); opacity: 0;
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
}
.lightbox.is-open .lightbox__figure img { transform: none; opacity: 1; }
.lightbox__cap { color: rgba(255,255,255,.85); margin-top: .8rem; font-size: var(--step-0); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(255,255,255,.1);
  transition: background-color var(--dur-hover) ease, transform var(--dur-press) var(--ease-out);
}
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__close:active, .lightbox__nav:active { transform: scale(0.92); }
.lightbox__nav--prev:active { transform: translateY(-50%) scale(0.92); }
.lightbox__nav--next:active { transform: translateY(-50%) scale(0.92); }
@media (hover:hover) and (pointer:fine){
  .lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: clamp(1.2rem, 4vw, 2.4rem); z-index: 160;
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1.3rem; border-radius: var(--pill);
  background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg);
  transform: translate(-50%, 140%); opacity: 0;
  /* Salida rápida (respuesta del sistema) */
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
  max-width: calc(100vw - 2rem);
}
/* Entrada más pausada (aparición deliberada) */
.toast.is-open { transform: translate(-50%, 0); opacity: 1; transition: transform .4s var(--ease-out), opacity .4s var(--ease-out); }
.toast__icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #6ac47a; color: #fff; font-size: .8rem; flex: 0 0 auto; }
.toast__msg { font-size: var(--step--1); font-weight: 500; }

/* ============================================================
   20. RESPONSIVE
============================================================ */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .promos__grid { grid-template-columns: 1fr 1fr; }
  .promo--feature { grid-column: 1 / -1; }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 320px; aspect-ratio: 16/10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --section-y: clamp(3.5rem, 12vw, 5rem); }
  .services__grid, .team__grid, .reviews__grid, .promos__grid { grid-template-columns: 1fr; }
  .promo--feature { grid-column: auto; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: 1fr; }
  .hero__footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .reviews__head, .insta__head { flex-direction: column; align-items: flex-start; }
  .reviews__score { text-align: left; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .ba__frame { aspect-ratio: 4/5; }
}

/* ============================================================
   21. REDUCED MOTION
   Mantiene opacidad/color; elimina movimiento y transformaciones.
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { transform: none; }
  .hero__img { transform: none; clip-path: none; }
  [data-float] { animation: none; }
  .marquee__track { animation: none; }
}
