/* Landing de barberiacr.app (public/landing.html). Sistema copiado de white-desert.com:
   Oswald condensada para las palabras gigantes, serif (Cormorant, en lugar de su Cardinal
   Classic, que es paga) en mayúsculas para títulos y en cursiva como "firma", Inter Tight
   para la UI. Fondo blanco, tinta azul noche, un solo acento: el verde de la app. Fuentes
   self-hosted: la CSP no deja cargar Google Fonts (ver netlify.toml).

   Regla de las animaciones: este CSS deja TODO visible. Los estados iniciales ocultos los
   pone landing.js con GSAP, así sin JS (o con "reducir movimiento") la página se lee entera. */

@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-latin-var.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-italic-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #eef0f2;
  --ink: #111111;          /* el negro del logo: la página no usa azules */
  --ink-soft: #5f5f5f;
  --ink-faint: #cfcfcf;
  --night: #111111;
  --night-2: #1b1b1b;
  --negro: #111111;        /* el negro del disco del logo */
  --crema: #f4f1ea;        /* el blanco cálido de las letras del logo */
  --accent: #30d158;       /* el verde de la app (DESIGN_SYSTEM.md) */
  --accent-hover: #28b84c;
  --on-accent: #111111;    /* blanco sobre este verde no se lee (1,9:1) */
  --line: rgba(17, 17, 17, 0.07);
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-js, html.reduce { scroll-behavior: smooth; }
/* Lenis (scroll suave) maneja el scroll: el smooth nativo lo pelearía. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--on-accent); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.script { font-family: var(--serif); font-style: italic; font-weight: 400; }
.label {
  font: 500 13px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Máscaras de SplitText (`mask`): recortan con overflow:clip justo a la caja de la letra o
   palabra, y se comerían los acentos (Í, ó, á) y las colas. Aire arriba y abajo. */
.char-mask, .word-mask { padding: 0.22em 0 0.06em; margin: -0.22em 0 -0.06em; }

/* Líneas verticales de fondo */
.grid-lines {
  position: fixed;
  inset: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
  z-index: 1;
}
.grid-lines span { border-left: 1px solid var(--line); }
.grid-lines span:last-child { border-right: 1px solid var(--line); position: absolute; inset: 0 0 0 auto; border-left: 0; }
@media (min-width: 900px) { .grid-lines { grid-template-columns: repeat(6, 1fr); } }

/* Grano de película, muy sutil: le saca lo "digital" a las fotos de 1080 px. */
/* En pantallas táctiles el grano queda quieto (la animación gasta batería y no se nota). */
@media (pointer: coarse), (max-width: 899px) { .grain { animation: none; } }
.grain {
  position: fixed;
  inset: -50%;
  z-index: 70;
  pointer-events: none;
  background: url("/landing/img/grain.webp") repeat;
  opacity: 0.07;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, -1%); }
}

/* ───────── Pantalla de entrada ───────── */
/* El negro lo ponen las dos hojas: al salir se abren hacia arriba y hacia abajo y dejan ver la
   portada, que ya está negra detrás. */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  color: var(--crema);
}
.no-js .preloader, .reduce .preloader { display: none; }
.preloader__leaf { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--negro); }
.preloader__leaf--top { top: 0; }
.preloader__leaf--bottom { bottom: 0; }
.preloader__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 0 var(--gutter);
  text-align: center;
}
.preloader__mark { position: relative; width: 116px; height: 116px; margin-bottom: 10px; }
.preloader__mark img { position: absolute; inset: 9px; width: 98px; height: 98px; opacity: 0; }
.preloader__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader__ring circle {
  fill: none;
  stroke: rgba(244, 241, 234, 0.85);
  stroke-width: 1;
  stroke-dasharray: 358.2;
  stroke-dashoffset: 358.2;
}
.preloader__name {
  overflow: hidden;
  font: 400 clamp(28px, 4.4vw, 52px)/1.05 var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.08em 0 0.04em 0.14em; /* compensa el letter-spacing del último carácter */
}
.preloader__name .char { display: inline-block; }
.preloader__tag { font: italic 400 19px/1 var(--serif); opacity: 0; letter-spacing: 0.02em; }
.preloader__frame, .preloader__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
}
.preloader__frame { top: calc(var(--gutter) + 8px); }
.preloader__foot { bottom: calc(var(--gutter) + 8px); justify-content: flex-start; }
.preloader__count {
  font: 400 clamp(40px, 5vw, 64px)/0.8 var(--display);
  letter-spacing: 0.01em;
  color: var(--crema);
  font-variant-numeric: tabular-nums;
}
.preloader__bar { position: relative; flex: 1; height: 1px; margin: 0 6px; background: rgba(244, 241, 234, 0.14); }
.preloader__bar i { position: absolute; inset: 0; background: var(--crema); transform: scaleX(0); transform-origin: 0 50%; }

/* ───────── Header ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  transition: transform 0.5s var(--ease);
  /* Tema según la sección que tiene debajo (data-nav-theme, lo decide landing.js).
     Oscuro = foto o fondo noche: vidrio oscuro y texto blanco. Claro = vidrio blanco. */
  --nav-fg: #fff;
  --nav-pill: rgba(17, 17, 17, 0.5);
  --nav-pill-hover: rgba(17, 17, 17, 0.75);
  --nav-pill-border: rgba(255, 255, 255, 0.14);
  --nav-veil: rgba(17, 17, 17, 0.72);
  --nav-veil-2: rgba(17, 17, 17, 0.45);
}
.nav[data-theme="light"] {
  --nav-fg: var(--ink);
  --nav-pill: rgba(255, 255, 255, 0.72);
  --nav-pill-hover: rgba(255, 255, 255, 0.95);
  --nav-pill-border: rgba(17, 17, 17, 0.1);
  --nav-veil: rgba(255, 255, 255, 0.92);
  --nav-veil-2: rgba(255, 255, 255, 0.75);
}
/* Velo detrás del nav (siempre visible): que no se pierda ni se monte sobre lo que pasa por
   debajo. Blanco sobre secciones claras, negro sobre fotos y secciones oscuras. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -18px;
  z-index: -1;
  background: linear-gradient(180deg, var(--nav-veil) 0%, var(--nav-veil-2) 60%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  transition: background 0.45s;
  pointer-events: none;
}
.nav__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.nav__side { display: flex; gap: 6px; }
.nav__side--end { justify-content: flex-end; }
.pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid var(--nav-pill-border);
  background: var(--nav-pill);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--nav-fg);
  font: 500 13px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.45s, color 0.45s, border-color 0.45s;
}
.pill:hover { background: var(--nav-pill-hover); }
.pill--solid { background: var(--accent); border-color: transparent; color: var(--on-accent); font-weight: 600; }
.pill--solid:hover { background: var(--accent-hover); }
.nav__brand { display: block; border-radius: 50%; transition: transform 0.5s var(--ease); }
.nav__brand:hover { transform: rotate(-8deg) scale(1.04); }
/* El logo original (disco negro, letras blancas): se lee sobre fondo claro y oscuro. */
.nav__brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 6px 18px -8px rgba(0, 0, 0, 0.5);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Botón del menú: solo en pantallas angostas, donde no entran las secciones. */
.nav__menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid var(--nav-pill-border);
  background: var(--nav-pill);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--nav-fg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__menu span[aria-hidden] { display: block; width: 18px; height: 1.5px; background: currentColor; }
@media (max-width: 899px) {
  .nav__side:not(.nav__side--end) .pill { display: none; }
  .nav__menu { display: inline-flex; }
  .pill--hide-sm { display: none; }
}
/* Pantallas táctiles: todo lo que se toca, de al menos 44 px. */
@media (pointer: coarse) {
  .pill { height: 44px; padding: 0 18px; }
  .footer ul { gap: 0; }
  .footer ul a { display: inline-block; padding: 12px 0; }
  .card__link, .card__value a { display: inline-flex; align-items: center; min-height: 44px; }
  .card__link { margin-top: 0; }
}

/* ───────── Menú (celular) ───────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 88px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--negro);
  color: var(--crema);
  opacity: 0;
  transition: opacity 0.35s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__close {
  position: absolute;
  top: 10px; left: var(--gutter);
  width: 44px; height: 44px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--crema);
  font-size: 26px;
  line-height: 1;
}
.menu__links { display: grid; }
.menu__links a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  font: 400 clamp(34px, 9vw, 48px)/1.1 var(--serif);
  text-decoration: none;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s;
}
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu__foot { display: grid; gap: 10px; }
.menu__foot p { margin-top: 8px; font-size: 13px; color: rgba(244, 241, 234, 0.6); text-align: center; }

/* ───────── Portada ─────────
   Lo de acá es el estado FINAL (variante 06B): ventana con foto a la izquierda, texto a la
   derecha. landing.js arma el inicial (06C: ventana chica al centro y "BARBERÍA" gigante) y la
   transición con el scroll, animando el rectángulo de la ventana (la foto adentro es `cover`,
   así nunca quedan bordes vacíos). */
.hero {
  --wl: 32px;                 /* ventana: izquierda */
  --wt: 96px;                 /*          arriba */
  --wb: 32px;                 /*          abajo */
  --ww: 57vw;                 /*          ancho */
  --seal: 92px;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  color: var(--crema);
  background: var(--negro);
}
.hero__window {
  position: absolute;
  left: var(--wl);
  top: var(--wt);
  width: var(--ww);
  height: calc(100% - var(--wt) - var(--wb));
  overflow: hidden;
  border-radius: 28px;
  background: #1b1b1b;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
}
/* El corte va encima del sillón: al apagarse, deja ver el sillón. */
.hero__photo--a { opacity: 0; z-index: 1; }
.hero__curtain { position: absolute; inset: 0; z-index: 2; background: var(--negro); transform: scaleY(0); transform-origin: 50% 0; }

/* "BARBERÍA" en tres capas iguales y superpuestas (la variante B, y la C con el mouse):
   --fill  sólida, por DETRÁS de la ventana: se ve solo afuera de la foto.
   --line  en contorno, por DELANTE: sobre la foto queda el trazo y se ve el corte a través.
   --inv   negra, por delante pero recortada a la ventana (clip-path, lo actualiza landing.js):
           con el mouse sobre la foto reemplaza al contorno, y la palabra cambia de color justo
           en el borde de la ventana.
   GSAP anima las <p> (aparecer, separarse, apagarse); el cambio contorno ↔ negra va en el
   <span> de adentro, para que las dos animaciones no se pisen. */
.hero__word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font: 400 clamp(110px, 23vw, 380px)/0.8 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
.hero__word span { display: block; transition: opacity 0.5s var(--ease); }
.hero__word--fill { z-index: 0; color: var(--crema); }
.hero__word--line { z-index: 2; color: transparent; -webkit-text-stroke: 2px var(--crema); }
.hero__word--inv { z-index: 2; color: var(--negro); }
.hero__word--inv span { opacity: 0; }
.hero.is-invert .hero__word--line span { opacity: 0; }
.hero.is-invert .hero__word--inv span { opacity: 1; }
.hero__window { z-index: 1; }

.hero__seal {
  position: absolute;
  left: calc(var(--wl) + var(--ww) - var(--seal) / 2);
  top: calc(var(--wt) + 48px);
  width: var(--seal);
  height: var(--seal);
  border-radius: 50%;
  box-shadow: 0 0 0 9px var(--negro);
  z-index: 3;
}

.hero__tag {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  font: italic 400 clamp(19px, 1.6vw, 24px)/1.3 var(--serif);
  color: rgba(244, 241, 234, 0.85);
  opacity: 0;
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
  opacity: 0;
}
.hero__hint span { width: 1px; height: 46px; background: linear-gradient(rgba(244, 241, 234, 0), rgba(244, 241, 234, 0.7)); animation: hint 2.2s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

/* Botón de reservar del estado inicial: que se pueda reservar sin bajar. */
.hero__cta {
  position: absolute;
  right: clamp(56px, 5vw, 80px);
  bottom: 36px;
  padding: 0 26px;
  opacity: 0;
  visibility: hidden;
}

.hero__panel {
  position: absolute;
  left: calc(var(--wl) + var(--ww) + clamp(48px, 5vw, 88px));
  right: clamp(56px, 6vw, 96px);
  top: var(--wt);
  bottom: var(--wb);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.hero__title { font-weight: 400; display: grid; gap: 18px; }
.hero__eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 241, 234, 0.6); }
.hero__headline { font: 400 clamp(52px, 5.6vw, 92px)/0.95 var(--serif); }
.hero__headline em { font-style: italic; color: rgba(244, 241, 234, 0.78); }
.hero__lead { max-width: 40ch; color: rgba(244, 241, 234, 0.72); font-size: 16px; line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ctas .btn { padding: 0 24px; }
.btn--line { border: 1px solid rgba(244, 241, 234, 0.35); color: var(--crema); transition: border-color 0.3s; }
.btn--line:hover { border-color: var(--crema); }
.hero__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}
.hero__data dt { font-size: 12px; color: rgba(244, 241, 234, 0.55); }
.hero__data dd { margin: 0; font: 500 19px/1.3 var(--sans); }

/* El nav no repite el logo mientras la portada (que ya lo tiene) está debajo. */
.nav.en-hero .nav__brand { opacity: 0; pointer-events: none; }
.nav__brand { transition: transform 0.5s var(--ease), opacity 0.4s; }

@media (max-width: 899px) {
  /* Celular: ventana arriba a todo el ancho, texto abajo. */
  .hero { --wl: 16px; --wt: 76px; --wb: calc(100svh - 76px - 40svh); --ww: calc(100vw - 32px); --seal: 64px; }
  .hero__seal { left: auto; right: 28px; top: calc(76px + 40svh - var(--seal) / 2); }
  .hero__panel { left: var(--gutter); right: var(--gutter); top: calc(76px + 40svh + 46px); bottom: calc(18px + env(safe-area-inset-bottom)); justify-content: flex-start; gap: 16px; }
  .hero__title { gap: 10px; }
  .hero__headline { font-size: clamp(40px, 11vw, 56px); }
  .hero__word { font-size: 22vw; }
  .hero__lead { font-size: 15px; }
  .hero__data { display: none; }
  .hero__tag { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .hero__hint { display: none; }
  .hero .hero__cta { display: none; }   /* en el celular ya está el botón flotante (.btn, más abajo, pisaría un selector simple) */
}

/* ───────── La historia ───────── */
.intro { position: relative; z-index: 2; padding: clamp(96px, 14vw, 200px) 0 clamp(64px, 9vw, 140px); }
.intro__grid { display: grid; gap: 28px; }
.intro__script { position: relative; font-size: clamp(20px, 1.7vw, 26px); color: var(--ink); padding-left: 8px; }
.scribble { position: absolute; width: 170px; left: -18px; top: -28px; color: var(--ink-faint); overflow: visible; }
.statement {
  font: 400 clamp(28px, 3.3vw, 50px)/1.08 var(--serif);
  text-transform: uppercase;
  letter-spacing: -0.005em;
  max-width: 21ch;
  margin-left: auto;
  margin-right: auto;
  text-indent: 2.2em;
}
/* SplitText hace de cada palabra un inline-block, que heredaría la sangría. */
.statement .w { text-indent: 0; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 2fr 4fr; align-items: start; }
  .statement { margin: 0; max-width: 22ch; }
}

.story {
  display: grid;
  gap: 32px;
  margin-top: clamp(64px, 9vw, 140px);
}
.story__body p { max-width: 58ch; color: var(--ink-soft); font-size: 16px; }
.story__body p + p { margin-top: 1em; }
.signature { margin-top: 2em !important; display: flex; flex-direction: column; }
.signature__name { font: italic 400 34px/1 var(--serif); color: var(--ink); }
.signature__role { font: 500 12px/2 var(--sans); letter-spacing: 0.04em; color: var(--ink-soft); }
.story__photo { overflow: hidden; }
.story__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) {
  /* 6 columnas, alineadas con las líneas de fondo */
  .story { grid-template-columns: repeat(6, 1fr); gap: 0; }
  .story__label { grid-column: 1; padding-left: 12px; }
  .story__body { grid-column: 2 / 5; padding: 0 48px 0 12px; }
  .story__photo { grid-column: 5 / 7; margin-top: -40px; }
}

/* ───────── Banner ───────── */
/* La foto es de 1080 px: a pantalla completa se notaba la falta de definición. Va como mucho
   a 760 px de ancho (más chica que su resolución real) y con el mismo redondeo que la
   ventana de la portada. */
.banner { position: relative; z-index: 2; display: flex; justify-content: center; padding: clamp(16px, 3vw, 48px) var(--gutter) 0; }
.banner__frame { position: relative; overflow: hidden; width: min(760px, 100%); aspect-ratio: 1080 / 696; border-radius: 22px; background: var(--night); }
.banner__img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; filter: grayscale(1) contrast(1.02) brightness(0.88); }
.banner__caption {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 40px);
  color: #fff;
  font-size: clamp(18px, 1.8vw, 26px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* ───────── El ritual ───────── */
.ritual { position: relative; z-index: 2; padding: clamp(96px, 12vw, 160px) 0 clamp(48px, 6vw, 80px); }
/* En compu la sección queda fija arriba de todo: el título necesita aire bajo el nav. */
@media (min-width: 900px) {
  .ritual { padding-top: clamp(24px, 4vw, 60px); }
  .ritual__pin { padding-top: 96px; background: var(--paper); }
}
.section-title {
  position: relative;
  text-align: center;
  font: 400 clamp(40px, 4.4vw, 64px)/1 var(--serif);
  text-transform: uppercase;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-title--sm { font-size: clamp(32px, 3vw, 44px); margin-bottom: 16px; }
.section-title--left { text-align: left; margin-bottom: 20px; }
.scribble--title { left: 50%; top: -34px; width: 200px; transform: translateX(-60%); }

.panels {
  display: flex;
  gap: 6px;
  height: clamp(460px, 62vh, 640px);
  padding: 0 var(--gutter);
}
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  transition: flex-grow 0.9s var(--ease);
}
.panel.is-active { flex-grow: 4.5; }
.panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transform: scale(1.08);
  filter: grayscale(1) contrast(1.05);
  transition: opacity 0.9s, transform 1.6s var(--ease);
}
.panel.is-active .panel__img { opacity: 0.92; transform: scale(1); }
.panel:hover .panel__img { opacity: 0.85; }
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.45), transparent 35%, transparent 55%, rgba(17, 17, 17, 0.78));
  pointer-events: none;
}
.panel__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: center;
}
.panel__num { font: 500 12px/1 var(--sans); opacity: 0.8; }
.panel__name {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: italic 400 22px/1 var(--serif);
  transition: opacity 0.4s;
}
.panel.is-active .panel__hit { pointer-events: none; }
.panel.is-active .panel__num,
.panel.is-active .panel__name { opacity: 0; }
.panel__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.4vw, 36px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s, transform 0.5s;
}
.panel.is-active .panel__body { opacity: 1; transform: none; transition: opacity 0.8s 0.45s, transform 1s 0.45s var(--ease); }
.panel__title { font: italic 400 clamp(34px, 3.2vw, 46px)/1 var(--serif); max-width: 10ch; }
.panel__meta {
  display: flex;
  gap: 14px;
  margin-top: auto;
  margin-bottom: 10px;
  font: 600 13px/1 var(--sans);
}
.panel__meta span + span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.5); font-weight: 500; }
.panel__text { max-width: 34ch; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.ritual__hint { display: none; }
@media (min-width: 900px) {
  .ritual__hint { display: flex; justify-content: center; margin-top: 22px; }
  .ritual__bar { position: relative; width: 160px; height: 1px; background: var(--ink-faint); overflow: hidden; }
  .ritual__bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0.25); transform-origin: 0 50%; }
}

@media (max-width: 799px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 76px; transition: height 0.8s var(--ease); }
  .panel.is-active { height: 460px; }
  .panel__hit { flex-direction: row; padding: 0 20px; }
  .panel__name { writing-mode: horizontal-tb; transform: none; }
}

/* ───────── 1991 → 2026 ───────── */
.years { position: relative; z-index: 2; color: #fff; }
.years__inner {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 480px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--night);
}
.years__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.45);
}
.years__word {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  font: 300 clamp(72px, 16vw, 280px)/0.9 var(--display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}
.years__dash { opacity: 0.6; }
.years__caption {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: 0; right: 0;
  text-align: center;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.years__caption .script { text-transform: none; font-size: 22px; letter-spacing: 0; margin-right: 6px; }
@media (max-width: 699px) {
  .years__caption { bottom: calc(92px + env(safe-area-inset-bottom)); padding: 0 var(--gutter); line-height: 1.6; }
}

/* ───────── Lo que dicen (reseñas) ───────── */
.reviews { position: relative; z-index: 2; background: var(--paper); padding: clamp(96px, 12vw, 160px) 0 clamp(24px, 4vw, 48px); }
.reviews__list { display: grid; gap: 14px; }
@media (min-width: 900px) { .reviews__list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}
.review blockquote { margin: 0; }
.review blockquote::before {
  content: "“";
  display: block;
  height: 0.5em;
  font: 400 72px/1 var(--serif);
  color: var(--ink-faint);
}
.review p { font: italic 400 clamp(22px, 1.9vw, 27px)/1.3 var(--serif); }
.review figcaption { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--sans); }
.review figcaption::before { content: ""; width: 22px; height: 1px; background: var(--ink); }
.reviews__more { margin-top: 26px; text-align: center; }

/* ───────── Visitanos ───────── */
.visit { position: relative; z-index: 2; background: var(--paper); }
.visit__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(72px, 9vw, 140px) var(--gutter) clamp(48px, 6vw, 80px);
  text-align: center;
}
.visit__intro p { max-width: 44ch; margin: 0 auto; color: var(--ink-soft); }
.coord { font: 500 12px/1.5 var(--sans); color: var(--ink-soft); letter-spacing: 0.02em; }
@media (min-width: 900px) {
  .visit__head { grid-template-columns: 1fr 2fr 1fr; align-items: start; }
  .coord { text-align: left; }
  .coord--end { text-align: right; }
}
@media (max-width: 899px) { .coord { display: none; } }

.visit__map {
  position: relative;
  min-height: clamp(560px, 56vw, 760px);
  background: var(--night);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__street { stroke: rgba(255, 255, 255, 0.22); stroke-width: 2; fill: none; }
.map__street-name { fill: rgba(255, 255, 255, 0.4); font: 500 13px var(--sans); letter-spacing: 0.3em; }
.map__route { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.map__dot { fill: var(--accent); }
.map__halo {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3.6); opacity: 0; }
}
.map__pin-script { fill: #fff; font: italic 400 22px var(--serif); }
.map__pin-name { fill: #fff; font: 600 11px var(--sans); letter-spacing: 0.12em; }
.cards {
  position: relative;
  display: grid;
  gap: 8px;
  padding: var(--gutter);
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 300px)); }
}
.card {
  padding: 18px 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card__label { font: italic 400 16px/1 var(--serif); color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; }
.card__value { font: 400 clamp(24px, 2.2vw, 32px)/1.1 var(--sans); letter-spacing: -0.01em; }
.card__value a { text-decoration: none; }
.card__link { display: inline-block; margin-top: 10px; font: 500 13px/1 var(--sans); color: var(--accent); text-decoration: none; }

/* ───────── Cómo reservar ───────── */
.steps { position: relative; z-index: 2; padding: clamp(96px, 12vw, 180px) 0; background: var(--paper); }
.steps__flow { display: grid; grid-template-columns: 1fr 34vw; gap: 18px; align-items: start; margin-bottom: 36px; }
/* Sin esto la columna del teléfono toma el ancho natural de la captura (540 px) y se sale. */
.steps__flow > * { min-width: 0; }
@media (min-width: 900px) {
  .steps__flow { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  /* El celular queda fijo mientras pasan los pasos. */
  .steps__phone { position: sticky; top: calc(50vh - 300px); }
  .steps__list li { min-height: 22vh; }
}
.steps__lead { color: var(--ink-soft); max-width: 46ch; margin-bottom: 36px; }
.steps__list { display: grid; border-top: 1px solid var(--line); margin-bottom: 36px; }
.steps__list li {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  align-content: start;
  transition: opacity 0.5s;
}
.steps__list li::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease);
}
/* 0,6 y no menos: más tenue, el texto gris de los pasos inactivos no llega a leerse bien. */
.js-steps .steps__list li { opacity: 0.6; }
.js-steps .steps__list li.is-on { opacity: 1; }
.js-steps .steps__list li.is-on::before { transform: scaleX(1); }
@media (min-width: 600px) { .steps__list li { grid-template-columns: 220px 1fr; gap: 24px; } }
.steps__list h3 { font: 500 22px/1.2 var(--serif); }
.steps__list p { color: var(--ink-soft); font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}
.store:hover { background: #2a2a2a; }
.store svg { width: 22px; height: 22px; }
.store span { display: flex; flex-direction: column; font: 600 16px/1.1 var(--sans); }
.store small { font: 400 11px/1.2 var(--sans); opacity: 0.75; }
.text-link { display: inline-block; font: 500 14px/1 var(--sans); color: var(--ink); }
.steps__note { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.hero__note { margin-top: -10px; font-size: 13px; color: rgba(244, 241, 234, 0.6); }
.steps__phone { justify-self: center; position: sticky; top: 88px; width: 100%; }
@media (max-width: 899px) {
  .steps__list { margin-bottom: 0; }
  .steps__list li { min-height: 36vh; }
  .steps__list h3 { font-size: 20px; }
  .steps__phone .phone { width: 100%; padding: 6px; border-radius: 26px; }   /* .phone (más abajo) lo pisaría */
  .steps__phone .phone__screens { border-radius: 21px; }
  .steps__phone .notif { left: 4px; right: 4px; top: 14px; padding: 6px; gap: 6px; border-radius: 10px; }
  .steps__phone .notif__icon { width: 18px; height: 18px; border-radius: 5px; }
  .steps__phone .notif__app { font-size: 7px; }
  .steps__phone .notif__title { font-size: 9px; }
  .steps__phone .notif__body { font-size: 8px; }
}
.phone {
  width: min(290px, 72vw);
  padding: 10px;
  border-radius: 46px;
  background: #0d0f14;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone__screens { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 9 / 19; background: #3e3e3e; }
.phone__screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.6s, transform 0.8s var(--ease); transform: scale(1.03); }
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__screen.is-on { opacity: 1; transform: none; }
.no-js .phone__screen[data-screen="1"] { opacity: 1; }
.notif {
  position: absolute;
  left: 8px; right: 8px; top: 34px;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(245, 245, 247, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #111;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transform: translateY(-140%);
  transition: transform 0.8s 0.25s var(--ease);
}
.phone__screen.is-on .notif { transform: none; }
.notif__icon { width: 30px; height: 30px; border-radius: 8px; background: #111; padding: 2px; flex: none; }
.notif__app { font: 600 10px/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.03em; color: #555; }
.notif__app span { text-transform: none; font-weight: 400; margin-left: 4px; }
.notif__title { font: 600 13px/1.25 var(--sans); }
.notif__body { font: 400 12px/1.3 var(--sans); }

/* ───────── Abierto ahora ───────── */
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 13px/1.3 var(--sans); }
.open-status[hidden] { display: none; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; flex: none; }
.open-status.is-open::before { background: var(--accent); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6); animation: latido 2.2s ease-out infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
.hero__data .open-status { color: rgba(244, 241, 234, 0.75); }
.card .open-status { color: rgba(244, 241, 234, 0.75); }

/* ───────── Preguntas frecuentes ───────── */
.faq { position: relative; z-index: 2; background: var(--paper); padding: 0 0 clamp(96px, 12vw, 160px); }
.faq__grid { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
  .faq__title { position: sticky; top: 110px; }
}
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 16px 0;
  font: 500 clamp(19px, 1.7vw, 23px)/1.25 var(--serif);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
  font: 400 18px/1 var(--sans);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq details p { padding: 0 48px 22px 0; max-width: 62ch; color: var(--ink-soft); }

/* ───────── Footer ───────── */
.footer { position: relative; z-index: 2; background: var(--paper-2); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1.3fr 1fr 1fr; } }
.footer__logo { width: 120px; }
.footer__head { font: italic 400 20px/1 var(--serif); margin-bottom: 12px; }
.footer__head ~ .footer__head { margin-top: 26px; }
.footer ul { display: grid; gap: 6px; font-size: 14px; color: var(--ink-soft); }
.footer ul a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease), color 0.3s; }
.footer ul a:hover { color: var(--ink); background-size: 100% 1px; }
.footer__word {
  font: 500 clamp(56px, 17vw, 290px)/0.8 var(--display);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  margin: clamp(48px, 7vw, 96px) 0 0;
  letter-spacing: 0.005em;
  overflow: hidden;
  padding-top: 0.05em;
}
.footer__word .char { display: inline-block; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--ink-soft);
}
.footer__bottom .script { font-size: 18px; color: var(--ink); }

/* ───────── Pestaña + panel lateral ───────── */
.tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 12px;
  border: 0;
  border-radius: 4px 0 0 4px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 13px/1 var(--sans);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  transition: padding 0.3s, background 0.3s;
}
.tab:hover { padding-right: 16px; background: var(--accent-hover); }
.tab__plus { font-size: 18px; transform: rotate(180deg); }
@media (max-width: 699px) {
  .tab {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: 16px;
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 999px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px -10px rgba(48, 209, 88, 0.6);
  }
  .tab:hover { padding-right: 20px; }
  .tab__plus { transform: none; }
}

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.55); opacity: 0; transition: opacity 0.4s; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--paper);
  padding: 64px 32px calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border: 0;
  background: var(--paper-2);
  border-radius: 4px;
  font-size: 24px;
  line-height: 1;
}
.drawer__title { font: 400 32px/1 var(--serif); text-transform: uppercase; margin-bottom: 12px; }
.drawer__lead { color: var(--ink-soft); margin-bottom: 8px; }
.drawer__opcion { display: grid; gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.drawer__opcion h3 { font: 500 22px/1.2 var(--serif); }
.drawer__opcion p { font-size: 14px; color: var(--ink-soft); margin-bottom: 4px; }
.drawer__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 4px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
}
.btn--accent { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn--ghost { border: 1px solid var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
}
