/* Navaja Lenta · barbería clásica (demo). Carbón, latón y rojo sangre de toro; texto crema.
   Tipografía: Barlow Condensed (titulares de rótulo), Bodoni Moda en cursiva (acentos y marca) y Barlow (texto).
   Grano de película, filetes de latón finos y secciones numeradas. Primero el teléfono. */

:root {
  --carbon: #0d0b0a;
  --carbon-2: #14110f;
  --carbon-3: #1d1916;
  --carbon-4: #2a2420;
  --laton: #c9a45c;
  --laton-claro: #e4c992;
  --laton-osc: #8f7038;
  --sangre: #6e1c22;
  --sangre-2: #8a2a31;
  --marino: #22314f;
  --crema: #efe6d4;
  --humo: #a99f90;
  --verde: #6fcf8c;
  --linea: rgb(201 164 92 / .24);
  --linea-suave: rgb(239 230 212 / .09);
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Barlow", system-ui, sans-serif;
  --cab-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--carbon); color: var(--crema); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
.envoltura { width: min(1240px, 100% - 32px); margin-inline: auto; }
::selection { background: var(--laton); color: var(--carbon); }

/* grano de película (capa compuesta que se desplaza a saltos) */
body::after { content: ""; position: fixed; inset: -60px; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grano .9s steps(3) infinite; }
@keyframes grano { 0% { transform: translate(0, 0); } 33% { transform: translate(-22px, 14px); } 66% { transform: translate(16px, -20px); } 100% { transform: translate(0, 0); } }

/* ---------- Tipos ---------- */
.antetitulo { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem; font-family: var(--cond); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--laton); }
.sec-cab { display: grid; gap: .9rem; }
.sec-num { display: flex; align-items: center; gap: .8rem; font-family: var(--cond); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--humo); }
.sec-num b { font-weight: 600; color: var(--laton); }
.sec-num::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--linea), transparent); transform-origin: left; }
.titulo-sec, .titulo-fase { font-family: var(--cond); font-weight: 600; text-transform: uppercase; font-size: clamp(2.9rem, 13.4vw, 6.2rem); line-height: .9; letter-spacing: .005em; text-wrap: balance; }
.titulo-sec em, .titulo-fase em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--laton); letter-spacing: -.015em; font-size: .9em; }
.sec-bajada { color: var(--humo); max-width: 38ch; }
.nota { color: var(--humo); font-size: .82rem; margin-top: 1rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 52px; padding: 0 1.5rem; border-radius: 3px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font-family: var(--cond); font-weight: 600; font-size: 1.08rem; letter-spacing: .1em; text-transform: uppercase; transition: transform .35s var(--ease), background-color .25s, box-shadow .3s, color .25s; }
.btn:active { transform: scale(.97); }
.btn-laton { background: linear-gradient(180deg, #e6c886, #c39a4e); color: #1a1208; box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 12px 30px -14px rgb(201 164 92 / .9); }
.btn-laton:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 16px 40px -12px rgb(228 201 146 / 1); }
.btn-borde { background: rgb(13 11 10 / .45); box-shadow: inset 0 0 0 1px rgb(201 164 92 / .55); color: var(--crema); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-borde:hover { box-shadow: inset 0 0 0 1px var(--laton-claro); color: var(--laton-claro); }
.btn-oscuro { background: var(--carbon); color: var(--laton-claro); }
.btn-oscuro:hover { background: var(--sangre); color: var(--crema); }
.btn-sm { height: 40px; padding: 0 1.05rem; font-size: .95rem; }
.btn-lg { height: 56px; font-size: 1.15rem; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--laton-claro); outline-offset: 3px; border-radius: 3px; }

/* ---------- Carga ---------- */
.carga { position: fixed; inset: 0; z-index: 100; }
.carga-mitad { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--carbon); }
.carga-mitad.arriba { top: 0; }
.carga-mitad.abajo { bottom: 0; }
.carga-centro { position: absolute; left: 0; right: 0; bottom: calc(50% + 26px); display: grid; justify-items: center; gap: .9rem; }
.carga-poste { width: 34px; height: 92px; }
.carga-foco { filter: drop-shadow(0 0 6px #ffe2b0); }
.carga-rayas { animation: rayas .7s linear infinite; }
@keyframes rayas { to { transform: translateY(-24px); } }
.carga-marca { font-family: var(--cond); font-weight: 700; font-size: 2.1rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.carga-marca em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--laton); }
.carga-num { position: absolute; left: 50%; top: calc(100% + 52px); transform: translateX(-50%); font-family: var(--cond); font-size: .85rem; letter-spacing: .22em; color: var(--humo); }
.carga-num b { color: var(--crema); font-weight: 600; font-variant-numeric: tabular-nums; }
.carga-linea { position: absolute; top: 50%; left: 50%; width: min(72vw, 380px); height: 1px; transform: translateX(-50%); }
.carga-linea i { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--laton) 18%, var(--laton-claro)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px rgb(228 201 146 / .6); }
.carga-navaja { position: absolute; top: -9px; left: 0; width: 52px; height: 17px; transform: translateX(-74%); }
html:not(.js) .carga { display: none; }

/* ---------- Cabecera ---------- */
.cab { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--cab-h); display: flex; align-items: center; gap: 1rem; padding: 0 16px; transition: background-color .4s, box-shadow .4s; }
.cab.solida { background: rgb(13 11 10 / .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.marca { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 1.4rem; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.marca em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--laton); }
.marca-poste { width: 12px; height: 30px; flex: none; }
.cab-nav { display: none; gap: 2rem; margin-left: auto; }
.cab-nav a { position: relative; text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: .98rem; letter-spacing: .12em; text-transform: uppercase; color: var(--humo); transition: color .25s; }
.cab-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--laton); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.cab-nav a:hover { color: var(--crema); }
.cab-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.cab .btn { margin-left: auto; }
@media (min-width: 900px) { .cab { padding: 0 32px; } .cab-nav { display: flex; } .cab .btn { margin-left: 1.6rem; } }

/* ---------- Inicio ---------- */
.inicio { position: relative; height: 330vh; }
.inicio-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(70% 55% at 70% 55%, #1c1512, var(--carbon) 72%); }
.escena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.escena-respaldo { position: absolute; right: -36%; top: 14%; height: 92%; width: auto; max-width: none; opacity: 0;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 46%, #000 52%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 46%, #000 52%, transparent 100%); }
.sin-3d .escena-respaldo { opacity: .95; }
.inicio-velo { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgb(13 11 10 / .5) 0%, rgb(13 11 10 / 0) 10%, rgb(13 11 10 / 0) 62%, rgb(13 11 10 / .72) 100%); }
.fase { position: absolute; left: 16px; right: 16px; z-index: 2; }
.fase-1 { top: calc(var(--cab-h) + 2.5vh); }
.fase-1 .antetitulo span { color: var(--laton-osc); }
.titulo { display: grid; justify-items: start; width: max-content; max-width: 100%; margin-bottom: 1rem; text-shadow: 0 6px 40px rgb(0 0 0 / .6); }
.titulo .t-1 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(5.4rem, 26vw, 12.5rem); line-height: .8; letter-spacing: .015em; }
.titulo .t-2 { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--laton); font-size: clamp(4.4rem, 20.5vw, 9.8rem); line-height: .86; letter-spacing: -.02em; margin: -.02em 0 0 .72em; }
.js .corte { clip-path: inset(-30% 100% -30% -12%); }
.bajada { max-width: 13.5em; font-size: 1.04rem; color: #d8cfbf; text-shadow: 0 2px 18px rgb(0 0 0 / .9); }
.acciones { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 1.4rem; }
.acciones .btn { min-width: 196px; }
.fase-2, .fase-3 { opacity: 0; visibility: hidden; }
.fase-2 { top: auto; bottom: 8vh; }
.fase-2 .titulo-fase { font-size: clamp(2.2rem, 9.1vw, 5.6rem); text-shadow: 0 6px 30px rgb(0 0 0 / .8); width: max-content; max-width: 100%; }
.fase-3 { top: calc(var(--cab-h) + 3vh); }
.fase-3 .titulo-fase { font-size: clamp(2.6rem, 12vw, 5.6rem); }
.mini-pasos { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; margin: 1.1rem 0 1.3rem; max-width: 330px; }
.mini-pasos li { display: flex; align-items: center; gap: .55rem; font-family: var(--cond); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.mini-pasos b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--laton); color: var(--laton); font-size: .85rem; }
.corte-brillo { position: absolute; z-index: 3; width: 2px; left: 0; top: 0; height: 0; opacity: 0; pointer-events: none; border-radius: 2px;
  background: linear-gradient(180deg, transparent, #fff3d6 30%, #fff3d6 70%, transparent); box-shadow: 0 0 14px 3px rgb(228 201 146 / .65); }
.inicio-bajar { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-family: var(--cond); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--humo); opacity: 0; }
.inicio-bajar i { width: 1px; height: 34px; background: linear-gradient(var(--laton), transparent); transform-origin: top; animation: bajar 1.8s var(--ease) infinite; }
@keyframes bajar { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) {
  .fase-1 { top: auto; bottom: 10vh; left: 6vw; right: auto; max-width: 52vw; }
  .acciones { flex-direction: row; }
  .acciones .btn { min-width: 0; }
  .bajada { max-width: 26em; font-size: 1.12rem; }
  .fase-2 { left: 6vw; right: auto; bottom: 12vh; max-width: 50vw; }
  .fase-2 .titulo-fase { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
  .fase-3 { top: auto; bottom: 12vh; left: 6vw; right: auto; max-width: 46vw; }
  .escena-respaldo { right: 6%; top: 0; height: 100%; }
}

/* ---------- Servicios (carta) ---------- */
.servicios { position: relative; padding: 14vh 0 12vh; }
.carta-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; margin-top: 2.2rem; }
.carta { counter-reset: c; border-top: 1px solid var(--linea); }
.ci { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0 .6rem; padding: 1rem 0 1.05rem; border-bottom: 1px solid var(--linea-suave); }
.ci-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--laton); line-height: 1.6; }
.ci-linea { display: flex; align-items: baseline; gap: .5rem; }
.ci-nombre { font-family: var(--cond); font-weight: 600; font-size: 1.45rem; line-height: 1.15; letter-spacing: .03em; text-transform: uppercase; }
.ci-puntos { flex: 1; min-width: 1.2rem; height: 1px; transform: translateY(-.32em); background: radial-gradient(circle, rgb(201 164 92 / .55) 1px, transparent 1.4px) 0 0 / 7px 1px repeat-x; }
.ci-precio { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--laton-claro); font-variant-numeric: lining-nums; white-space: nowrap; }
.ci-desc { color: var(--humo); font-size: .92rem; margin-top: .15rem; }
.ci-pie { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .55rem; }
.ci-min { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--cond); font-weight: 500; font-size: .95rem; letter-spacing: .08em; color: var(--crema); }
.ci-min svg { width: 15px; height: 15px; fill: none; stroke: var(--laton); stroke-width: 1.6; }
.ci-reservar { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem 0; background: none; border: 0; cursor: pointer; font-family: var(--cond); font-weight: 600; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--laton); }
.ci-reservar i { font-style: normal; transition: transform .35s var(--ease); }
.ci-reservar:hover i { transform: translateX(4px); }
.carta-foto { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; }
.carta-foto img { width: 100%; height: 118%; object-fit: cover; }
.carta-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; font-family: var(--cond); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(transparent, rgb(13 11 10 / .85)); }
@media (min-width: 900px) {
  .carta-grid { grid-template-columns: 1.25fr 1fr; gap: 4.5rem; align-items: start; }
  .carta-foto { position: sticky; top: calc(var(--cab-h) + 30px); aspect-ratio: 4 / 5; }
  .ci { grid-template-columns: 3rem 1fr; padding: 1.2rem 0; }
  .ci-nombre { font-size: 1.7rem; }
  .ci-precio { font-size: 1.6rem; }
}

/* ---------- Reserva ---------- */
.reserva { padding: 10vh 0 12vh; background: linear-gradient(180deg, var(--carbon), var(--carbon-2) 18%, var(--carbon-2) 82%, var(--carbon)); }
.reserva-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.reserva-datos { display: grid; gap: .7rem; margin-top: .6rem; }
.reserva-datos li { display: grid; padding-left: 1rem; border-left: 1px solid var(--laton); }
.reserva-datos b { font-family: var(--cond); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.reserva-datos span { color: var(--humo); font-size: .9rem; }
.reserva-datos { display: none; }
.reservador { position: relative; padding: 14px; border-radius: var(--r); background: linear-gradient(180deg, #1b1613, #110e0c); box-shadow: inset 0 0 0 1px var(--linea), 0 40px 80px -40px rgb(0 0 0 / .9); scroll-margin-top: calc(var(--cab-h) + 8px); }
.reservador::before, .reservador::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.reservador::before { left: 5px; top: 5px; border-left: 1px solid var(--laton); border-top: 1px solid var(--laton); }
.reservador::after { right: 5px; bottom: 5px; border-right: 1px solid var(--laton); border-bottom: 1px solid var(--laton); }
.r-progreso { display: grid; gap: 8px; margin-bottom: 12px; }
.r-contador { font-family: var(--cond); font-weight: 600; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--laton); padding-left: 4px; }
.r-etapas { display: flex; justify-content: space-between; gap: 4px; }
.r-etapas button { display: flex; align-items: center; gap: .32rem; padding: 2px; background: none; border: 0; color: var(--humo); font-family: var(--cond); font-weight: 600; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: default; transition: color .3s; }
.r-etapas span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(239 230 212 / .18); font-size: .72rem; flex: none; transition: background-color .3s, color .3s, box-shadow .3s; }
.r-etapas .hecha button { color: var(--crema); cursor: pointer; }
.r-etapas .hecha span { background: var(--laton); color: #1a1208; box-shadow: none; }
.r-etapas .actual button { color: var(--laton-claro); }
.r-etapas .actual span { box-shadow: inset 0 0 0 1.5px var(--laton-claro); color: var(--laton-claro); }
.r-barra { height: 2px; border-radius: 2px; background: rgb(239 230 212 / .08); overflow: hidden; }
.r-barra i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--laton-osc), var(--laton-claro)); box-shadow: 0 0 10px rgb(228 201 146 / .7); transition: width .8s var(--ease); }
.r-vista { overflow: hidden; margin: 0 -14px; transition: height .6s var(--ease); }
.r-pista { display: flex; align-items: flex-start; transition: transform .7s var(--ease); }
.r-paso { flex: 0 0 100%; min-width: 0; padding: 4px 14px 4px; }
.r-titulo { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 10px; outline: none; }
.r-op { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; text-align: left; border: 0; border-radius: 4px; cursor: pointer; color: var(--crema);
  background: rgb(239 230 212 / .035); box-shadow: inset 0 0 0 1px rgb(239 230 212 / .08); transition: background-color .3s, box-shadow .3s; }
.r-op:hover { box-shadow: inset 0 0 0 1px rgb(201 164 92 / .55); }
.r-op:active { transform: scale(.985); }
.r-op[aria-checked="true"] { background: rgb(110 28 34 / .55); box-shadow: inset 0 0 0 1.5px var(--laton); }
.r-op b { display: block; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.r-op small { display: block; color: var(--humo); font-size: .8rem; line-height: 1.3; }
.r-servicios, .r-barberos { display: grid; gap: 6px; }
.r-precio { text-align: right; font-family: var(--cond); font-weight: 600; font-size: 1.2rem; line-height: 1.1; color: var(--laton-claro); white-space: nowrap; }
.r-precio small { font-family: var(--cond); font-weight: 500; font-size: .85rem; letter-spacing: .05em; color: var(--humo); }
.r-barbero { grid-template-columns: 52px 1fr; gap: 12px; padding: 8px 12px 8px 8px; }
.r-avatar { width: 52px; height: 52px; }
.r-avatar svg { width: 100%; height: 100%; display: block; }
.r-barbero .r-descansa { color: var(--laton); font-family: var(--cond); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 1px; }
.r-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 12px; }
.r-dia { display: grid; justify-items: center; gap: 0; padding: 6px 0 5px; border: 0; border-radius: 4px; cursor: pointer; color: var(--crema); font-family: var(--cond); line-height: 1.15;
  background: rgb(239 230 212 / .04); box-shadow: inset 0 0 0 1px rgb(239 230 212 / .09); transition: background-color .3s, box-shadow .3s, color .3s; }
.r-dia small { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--humo); }
.r-dia b { font-size: 1.3rem; font-weight: 600; }
.r-dia em { font-style: normal; font-size: .58rem; letter-spacing: .04em; text-transform: uppercase; color: var(--humo); min-height: 1.1em; }
.r-dia:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgb(201 164 92 / .6); }
.r-dia[aria-checked="true"] { background: var(--laton); color: #1a1208; box-shadow: none; }
.r-dia[aria-checked="true"] small, .r-dia[aria-checked="true"] em { color: #3a2a12; }
.r-dia:disabled { cursor: not-allowed; opacity: .42; }
.r-dia:disabled b { text-decoration: line-through; text-decoration-thickness: 1px; }
.r-grupo + .r-grupo { margin-top: 9px; }
.r-grupo > p { font-family: var(--cond); font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--humo); margin-bottom: 5px; }
.r-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.r-hora { height: 36px; border: 0; border-radius: 4px; cursor: pointer; background: transparent; color: var(--crema); font-family: var(--cond); font-weight: 600; font-size: 1.02rem; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgb(201 164 92 / .38); transition: background-color .25s, box-shadow .25s, color .25s; }
.r-hora:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--laton-claro); }
.r-hora:disabled { cursor: not-allowed; color: rgb(239 230 212 / .26); text-decoration: line-through; text-decoration-thickness: 1px; box-shadow: inset 0 0 0 1px rgb(239 230 212 / .06);
  background: repeating-linear-gradient(-45deg, transparent 0 5px, rgb(239 230 212 / .035) 5px 6px); }
.r-hora[aria-pressed="true"] { background: var(--laton); color: #1a1208; box-shadow: none; }
.r-vacio { padding: 1rem; border-radius: 4px; background: rgb(239 230 212 / .04); color: var(--humo); font-size: .92rem; }
.r-leyenda { display: flex; gap: 1.2rem; margin-top: 10px; font-family: var(--cond); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--humo); }
.r-leyenda span { display: inline-flex; align-items: center; gap: .4rem; }
.r-leyenda span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.ley-libre::before { box-shadow: inset 0 0 0 1px rgb(201 164 92 / .6); }
.ley-ocupado::before { background: repeating-linear-gradient(-45deg, transparent 0 2px, rgb(239 230 212 / .25) 2px 3px); box-shadow: inset 0 0 0 1px rgb(239 230 212 / .12); }
.r-resumen { border-top: 1px solid var(--linea); }
.r-resumen div { display: grid; grid-template-columns: 5.4rem 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed rgb(201 164 92 / .22); }
.r-resumen dt { font-family: var(--cond); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--humo); }
.r-resumen dd { font-weight: 500; line-height: 1.3; }
.r-resumen dd small { display: block; color: var(--humo); font-size: .8rem; }
.r-resumen .r-cambiar { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--cond); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--laton); }
.r-resumen .r-fila-total { border-bottom: 0; padding-top: 9px; }
.r-resumen .r-fila-total dd { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1; color: var(--laton-claro); }
.r-nombre { display: grid; gap: 6px; margin-top: 12px; font-family: var(--cond); font-weight: 600; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--humo); }
.r-nombre input { height: 48px; padding: 0 14px; border: 0; border-radius: 4px; background: rgb(0 0 0 / .3); box-shadow: inset 0 0 0 1px rgb(201 164 92 / .4); color: var(--crema);
  font-family: var(--sans); font-weight: 500; font-size: 1.05rem; letter-spacing: 0; text-transform: none; transition: box-shadow .25s; }
.r-nombre input::placeholder { color: rgb(239 230 212 / .3); }
.r-nombre input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--laton-claro), 0 0 0 4px rgb(201 164 92 / .14); }
.r-nombre.error input { box-shadow: inset 0 0 0 1.5px #e0707a; }
.r-error { margin-top: 6px; color: #f0a0a6; font-size: .86rem; }
.r-error[hidden] { display: none; }
#rReservar { width: 100%; margin-top: 12px; }
.r-nota { margin-top: 8px; color: var(--humo); font-size: .8rem; text-align: center; }
.r-pie { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linea); }
.r-atras { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: rgb(239 230 212 / .07); color: var(--crema); transition: opacity .3s, background-color .25s; }
.r-atras:hover { background: rgb(201 164 92 / .2); }
.r-atras svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.r-atras.oculto, .r-siguiente.oculto { opacity: 0; pointer-events: none; visibility: hidden; }
.r-total { flex: 1; min-width: 0; font-family: var(--cond); font-weight: 500; font-size: 1rem; letter-spacing: .03em; line-height: 1.2; color: var(--humo); }
.r-total b { color: var(--crema); font-weight: 600; }
.r-total strong { color: var(--laton-claro); font-weight: 600; }
.r-siguiente:disabled { opacity: .32; cursor: not-allowed; box-shadow: none; }
@media (min-width: 560px) { .r-slots { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 900px) {
  .reserva-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4.5rem; align-items: start; }
  .reserva-cab { position: sticky; top: calc(var(--cab-h) + 40px); }
  .reserva-cab .titulo-sec, .visita .titulo-sec { font-size: clamp(3rem, 5vw, 5rem); }
  .reserva-datos { display: grid; }
  .reservador { padding: 22px; }
  .r-vista { margin: 0 -22px; }
  .r-paso { padding: 4px 22px; }
  .r-etapas button { font-size: .9rem; gap: .45rem; }
  .r-titulo { font-size: 2.1rem; margin-bottom: 14px; }
  .r-op { padding: 12px 16px; }
  .r-dias { gap: 7px; }
  .r-dia { padding: 9px 0 7px; }
}

/* ---------- El ritual ---------- */
.ritual { position: relative; height: 340vh; }
.ritual-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: var(--cab-h); }
.ritual-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.ritual-cab .titulo-sec { font-size: clamp(2.6rem, 12vw, 5.6rem); }
.ritual-escena { position: relative; aspect-ratio: 4 / 3.15; border-radius: var(--r); overflow: hidden; background: var(--carbon-3); box-shadow: inset 0 0 0 1px var(--linea); }
.rf { position: absolute; inset: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.rf:first-child { clip-path: none; }
.rf img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.rf:nth-child(3) img { object-position: 50% 35%; }
.ritual-filo { position: absolute; z-index: 2; top: -20%; height: 140%; width: 2px; left: 0; opacity: 0; transform-origin: 50% 50%; pointer-events: none;
  background: linear-gradient(transparent, #fff3d6 35%, #fff3d6 65%, transparent); box-shadow: 0 0 16px 3px rgb(228 201 146 / .6); }
.ritual-pasos { position: relative; min-height: 118px; }
.rp { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; opacity: 0; }
.rp:first-child { opacity: 1; }
.rp b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 3.3rem; line-height: .82; color: var(--laton); }
.rp h3 { font-family: var(--cond); font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: .03em; text-transform: uppercase; margin-bottom: .35rem; }
.rp p { color: var(--humo); max-width: 34ch; }
.ritual-avance { height: 2px; background: rgb(239 230 212 / .08); }
.ritual-avance i { display: block; height: 100%; background: linear-gradient(90deg, var(--laton-osc), var(--laton-claro)); transform-origin: left; transform: scaleX(0); }
@media (min-width: 900px) {
  .ritual-grid { grid-template-columns: .9fr 1.25fr; grid-template-rows: auto 1fr auto; gap: 1.6rem 4.5rem; align-items: end; }
  .ritual-cab { grid-column: 1; grid-row: 1; }
  .ritual-escena { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 3.4; max-height: 76vh; justify-self: stretch; }
  .ritual-pasos { grid-column: 1; grid-row: 2; align-self: start; margin-top: 2rem; min-height: 160px; }
  .ritual-avance { grid-column: 1; grid-row: 3; }
  .rp b { font-size: 4.6rem; }
  .rp h3 { font-size: 2.3rem; }
}

/* ---------- Galería ---------- */
.galeria { padding: 14vh 0 10vh; }
.galeria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2.2rem; }
.g { position: relative; overflow: hidden; border-radius: var(--r); background: var(--carbon-3); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.06); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; padding: 2.2rem .8rem .7rem; background: linear-gradient(transparent, rgb(13 11 10 / .88)); }
.g figcaption b { font-family: var(--cond); font-weight: 600; font-size: 1.1rem; line-height: 1.1; letter-spacing: .05em; text-transform: uppercase; }
.g figcaption span { font-size: .78rem; color: var(--humo); }
.g-1 { grid-column: span 2; aspect-ratio: 16 / 11; }
.g-2 { grid-row: span 2; }
.g-3, .g-4 { aspect-ratio: 1 / 1; }
.g-5, .g-6 { aspect-ratio: 4 / 5; }
.g-1 img { object-position: 50% 30%; }
@media (min-width: 900px) {
  .galeria-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
  .g-1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .g-2 { grid-row: span 2; }
  .g-3, .g-4, .g-5, .g-6 { aspect-ratio: auto; }
  .g-5, .g-6 { grid-column: span 2; }
  .g figcaption { padding: 3rem 1.2rem 1rem; }
  .g figcaption b { font-size: 1.35rem; }
}

/* ---------- Visítanos ---------- */
.visita { padding: 10vh 0 14vh; }
.visita-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
.estado { display: inline-flex; align-items: center; gap: .6rem; margin: 1.6rem 0 1rem; padding: .5rem 1rem; border-radius: 99px; background: rgb(111 207 140 / .1); box-shadow: inset 0 0 0 1px rgb(111 207 140 / .25); font-size: .92rem; }
.estado .punto { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); animation: titila 1.8s infinite; }
.estado.cerrado { background: rgb(239 230 212 / .06); box-shadow: inset 0 0 0 1px var(--linea-suave); }
.estado.cerrado .punto { background: var(--humo); box-shadow: none; animation: none; }
@keyframes titila { 50% { opacity: .35; } }
.horario { max-width: 460px; }
.horario div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linea-suave); }
.horario dt { color: var(--humo); }
.horario dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.horario .hoy dt { color: var(--crema); }
.horario .hoy dt::after { content: "Hoy"; margin-left: .6rem; padding: .05rem .45rem; border-radius: 3px; background: var(--laton); color: #1a1208; font-family: var(--cond); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }
.direccion { margin-top: 1.3rem; }
.direccion span { color: var(--humo); font-size: .8rem; }
.datos { display: grid; gap: .5rem; margin-top: 1.3rem; max-width: 460px; }
.datos li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.datos b { font-family: var(--cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.datos span { color: var(--humo); text-align: right; }
.visita-lado { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visita-foto { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; }
.visita-foto img { width: 100%; height: 100%; object-fit: cover; }
.mapa { position: relative; overflow: hidden; border-radius: var(--r); background: #15110f; box-shadow: inset 0 0 0 1px var(--linea); }
.mapa svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa figcaption { position: absolute; left: 10px; bottom: 8px; font-family: var(--cond); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--humo); }
.mapa-mar { fill: #121a26; }
.mapa-costa { fill: none; stroke: rgb(201 164 92 / .5); stroke-width: 1.5; }
.mapa-calles path { fill: none; stroke: rgb(239 230 212 / .13); stroke-width: 7; }
.mapa-avenida { fill: none; stroke: rgb(239 230 212 / .2); stroke-width: 13; }
.mapa-parque { fill: #1b2219; }
.mapa-arboles { fill: #2c3a28; }
.mapa-pin path { fill: var(--laton); }
.mapa-pin > circle:last-child { fill: var(--carbon); }
.mapa-onda { fill: rgb(201 164 92 / .25); transform-box: fill-box; transform-origin: center; animation: onda 2.2s var(--ease) infinite; }
@keyframes onda { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@media (min-width: 900px) { .visita-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; } .visita-lado { gap: 14px; } }

/* ---------- Pie ---------- */
.pie { padding: 4rem 0 7rem; border-top: 1px solid var(--linea); }
.pie-marca { font-family: var(--cond); font-weight: 700; font-size: clamp(4.4rem, 23vw, 15rem); line-height: .85; letter-spacing: .02em; text-transform: uppercase; color: var(--carbon-4); }
.pie-marca em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -.02em; color: #3a2e22; }
.pie-aviso { margin-top: 1.2rem; color: var(--humo); font-size: .82rem; max-width: 72ch; }
.pie-firma { margin-top: .8rem; font-size: .9rem; }
.pie-firma a { color: var(--laton); font-weight: 600; }
@media (min-width: 900px) { .pie { padding-bottom: 4rem; } }

/* ---------- Barra fija (teléfono) ---------- */
.barra-reserva { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 560px; margin-inline: auto;
  padding: 8px 8px 8px 16px; border-radius: var(--r); background: rgb(22 18 16 / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--linea), 0 20px 50px -14px rgb(0 0 0 / .9); transform: translateY(160%); transition: transform .55s var(--ease); }
.barra-reserva.visible { transform: none; }
.barra-reserva p { display: grid; line-height: 1.2; min-width: 0; }
.barra-reserva b { font-family: var(--cond); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.barra-reserva span { color: var(--humo); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barra-reserva span.abierto::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .4rem; border-radius: 50%; background: var(--verde); vertical-align: 1px; }
@media (min-width: 900px) { .barra-reserva { display: none; } }

/* ---------- Panel de vista previa ---------- */
.panel { width: min(500px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--r); background: #f3ecdf; color: var(--carbon); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .9); }
.panel::backdrop { background: rgb(13 11 10 / .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.panel-in { position: relative; padding: 1.5rem 1.4rem 1.4rem; }
.panel .antetitulo { color: var(--sangre-2); margin-bottom: .4rem; }
.panel h2 { font-family: var(--cond); font-weight: 700; font-size: 2.1rem; line-height: .95; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1rem; padding-right: 2.6rem; }
.panel .nota { color: #5d5347; margin-top: .9rem; }
.cerrar { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(13 11 10 / .08); font-size: 1.6rem; line-height: 1; cursor: pointer; color: inherit; }
.wa-chat { padding: 1rem; border-radius: 12px; background: #0b141a; }
.wa-burbuja { margin-left: auto; max-width: 92%; padding: .7rem .9rem 1.25rem; border-radius: 12px 12px 2px 12px; background: #005c4b; color: #e9edef; font-size: .9rem; line-height: 1.45; white-space: pre-line; position: relative; }
.wa-burbuja::after { content: "✓✓"; position: absolute; right: 8px; bottom: 4px; font-size: .65rem; color: #53bdeb; }
.demo-cta { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid rgb(13 11 10 / .12); display: grid; gap: .7rem; }
.demo-cta p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1.1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  .inicio { height: auto; }
  .inicio-fijo { position: relative; }
  .js .corte { clip-path: none; }
  .ritual { height: auto; }
  .ritual-fijo { position: relative; height: auto; padding: 12vh 0; }
  .rf:not(:first-child), .ritual-filo, .ritual-avance { display: none; }
  .ritual-pasos { min-height: 0; display: grid; gap: 1.4rem; }
  .rp { position: static; opacity: 1; }
  .inicio-bajar i, .estado .punto, .mapa-onda { animation: none; }
}
