/*
 * Estel: sistema visual.
 * Una sola lectura: tinta cálida, sal y un único acento, la brasa. Display en Bodoni Moda
 * (cursiva de la misma familia para el énfasis), texto en Geist. Reglas de forma: botones y
 * etiquetas en píldora; paneles de 28 px con un núcleo interior de 20 px (doble bisel);
 * ilustraciones y planos de línea fina. El acento y el oscuro llegan de la ficha: el generador
 * añade al final las variables --navy-* y --blue-* de la marca.
 */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/bodoni-moda-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/bodoni-moda-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/geist-normal.woff2') format('woff2');
}

:root {
  --abyss: var(--navy-950, #12100e);
  --coal: #181512;
  --coal-2: #201c17;
  --salt: #ece6da;
  --salt-dim: #a39a8b;
  --hair: rgba(236, 230, 218, 0.13);
  --hair-strong: rgba(236, 230, 218, 0.26);
  --ember: var(--blue-600, #c4572b);
  --ember-btn: var(--blue-700, #a94621);
  --ember-hi: var(--blue-400, #e07a50);
  --font-display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --font-body: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(20px, 5vw, 64px);
  --r-panel: 28px;
  --r-core: 20px;
  --head-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  background: var(--abyss);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--abyss);
  color: var(--salt);
  font: 400 1.0625rem/1.65 var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Grano de película: una capa fija y sin eventos, nunca sobre contenedores que se desplazan. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--ember);
  color: #fffaf3;
}
:focus-visible {
  outline: 2px solid var(--ember-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--salt);
  color: var(--abyss);
  transition: top 0.3s var(--ease);
}
.skip:focus {
  top: 12px;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.wrap {
  width: min(1240px, 100% - 2 * var(--gut));
  margin-inline: auto;
}
.noscript {
  padding: 24px var(--gut);
  text-align: center;
  color: var(--salt-dim);
}

/* La marca como máscara: hereda el color del texto y no depende de ninguna fuente. */
.wordmark {
  display: block;
  aspect-ratio: 498.3 / 80;
  background: currentColor;
  -webkit-mask: url('/assets/wordmark.svg') center / contain no-repeat;
  mask: url('/assets/wordmark.svg') center / contain no-repeat;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 0.85em 1.35em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 0.95rem/1 var(--font-body);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    color 0.4s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn--sm {
  padding: 0.65em 1.05em;
  font-size: 0.88rem;
}
.btn--lg {
  padding: 1.05em 1.7em;
  font-size: 1rem;
}
.btn--ember {
  background: var(--ember-btn);
  color: #fffaf3;
  padding-right: 0.55em;
}
.btn--ember:hover {
  background: var(--ember);
}
.btn--ember:not(:has(.btn__dot)) {
  padding-right: 1.35em;
}
.btn--ghost {
  background: rgba(236, 230, 218, 0.04);
  border-color: var(--hair-strong);
  color: var(--salt);
}
.btn--ghost:hover {
  border-color: var(--ember-hi);
  background: rgba(236, 230, 218, 0.08);
}
.btn__dot {
  display: grid;
  place-items: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn__dot {
  transform: translate(2px, -1px) scale(1.06);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: var(--ember-hi);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    gap 0.4s var(--ease);
}
.link:focus-visible {
  outline: 2px solid var(--ember-hi);
  outline-offset: 4px;
}
.link:hover {
  border-color: var(--ember-hi);
  gap: 0.8em;
}

/* ---------- Cabecera: isla flotante ---------- */
.head {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 40;
  display: grid;
  justify-items: center;
  pointer-events: none;
}
.head__island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.5);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    0 14px 44px -12px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    background-color 0.6s var(--ease),
    transform 0.7s var(--ease),
    padding 0.6s var(--ease);
}
.head.is-scrolled .head__island {
  background: rgba(18, 16, 14, 0.78);
}
.head.is-hidden .head__island {
  transform: translateY(-140%);
}
.head__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.head__word {
  width: 86px;
  color: var(--salt);
}
.head__nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
  color: var(--salt-dim);
}
.head__nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.head__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ember-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.head__nav a:hover,
.head__nav a.is-active {
  color: var(--salt);
}
.head__nav a:hover::after,
.head__nav a.is-active::after {
  transform: scaleX(1);
}
.head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.burger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: transparent;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--salt);
  transition:
    transform 0.6s var(--ease),
    top 0.6s var(--ease);
}
.burger span:first-child {
  top: 16px;
}
.burger span:last-child {
  top: 23px;
}
.burger[aria-expanded='true'] span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}
.burger[aria-expanded='true'] span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

/* Raíl de los cuatro actos (solo mientras se está en la portada) */
.rail {
  position: fixed;
  left: clamp(14px, 2.4vw, 36px);
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.in-hero .rail {
  opacity: 1;
}
.menu-open .rail {
  opacity: 0;
}
.rail li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--salt-dim);
  transition: color 0.5s var(--ease);
}
.rail i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  font: italic 400 0.85rem/1 var(--font-display);
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease);
}
.rail span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.rail li.is-on {
  color: var(--salt);
}
.rail li.is-on i {
  background: var(--ember-btn);
  border-color: transparent;
  color: #fffaf3;
}
.rail li.is-on span {
  opacity: 1;
  transform: none;
}

/* Menú móvil a pantalla completa */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  align-content: center;
  gap: 40px;
  padding: 96px var(--gut) 48px;
  background: rgba(18, 16, 14, 0.94);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.6s var(--ease),
    visibility 0s linear 0.6s;
}
.overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.overlay nav {
  display: grid;
  gap: 8px;
}
.overlay nav a {
  font: 400 clamp(2.2rem, 10vw, 3.4rem) / 1.15 var(--font-display);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: 0s;
}
.overlay.is-open nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.12s + var(--i) * 0.06s);
}
.overlay__foot {
  color: var(--salt-dim);
  font-size: 0.9rem;
}

/* ---------- Portada en cuatro actos ---------- */
/* Sin JS o sin escena (movimiento reducido, sin WebGL): cuatro paneles apilados. */
.hero__pin {
  position: relative;
}
.act {
  position: relative;
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 100dvh;
  padding: 120px var(--gut) 96px;
}
.hero__canvas,
.hero__vignette {
  display: none;
}
.hero__static {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(196, 87, 43, 0.28), transparent 70%), var(--abyss);
}
.hero__title {
  line-height: 0;
}
.hero__word {
  width: min(86vw, 1060px);
  color: var(--salt);
}
.act__title {
  font: 400 clamp(2.5rem, 7.4vw, 7.2rem) / 0.98 var(--font-display);
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.act__title em {
  font-style: italic;
  color: var(--ember-hi);
}
.act__sub {
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(236, 230, 218, 0.8);
}
.act--brasa {
  justify-items: center;
  text-align: center;
}
.act--mesa {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.act__copy {
  display: grid;
  gap: 22px;
}
.act__plate {
  width: min(100%, 560px);
  justify-self: center;
}
.act__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 56px);
  margin: 14px 0 0;
}
.facts div {
  display: grid;
  gap: 4px;
}
.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--salt-dim);
}
.facts dd {
  margin: 0;
  font: 400 clamp(1.8rem, 3.4vw, 2.8rem) / 1 var(--font-display);
}

/* Escena activa: un solo escenario fijo; los actos se funden entre sí con el scroll. */
.scene .hero {
  height: 560vh;
}
.scene .hero__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}
.scene .hero__canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene .hero__static {
  display: none;
}
.scene .hero__vignette {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 38%, rgba(10, 9, 8, 0.86) 100%),
    linear-gradient(to bottom, rgba(10, 9, 8, 0.55), transparent 20%, transparent 68%, rgba(10, 9, 8, 0.72));
}
.scene .act {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0 calc(var(--gut) + 56px);
  opacity: var(--o, 0);
  transform: translate3d(0, var(--y, 0px), 0);
  pointer-events: none;
  will-change: opacity, transform;
}
.scene .act.is-live {
  pointer-events: auto;
}
.scene .act--mar {
  align-content: end;
  padding-bottom: 14vh;
}
.scene .act--noche {
  align-content: center;
}
.scene .act__plate .p-ln {
  animation: none;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 0));
}

/* ---------- Secciones ---------- */
.sec {
  padding-block: clamp(96px, 13vw, 190px);
}
.sec__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.sec__head h2 {
  font: 400 clamp(2.2rem, 5vw, 4.4rem) / 1.02 var(--font-display);
  letter-spacing: -0.012em;
}
.sec__head p {
  max-width: 52ch;
  color: var(--salt-dim);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.12s !important;
}
.d2 {
  transition-delay: 0.24s !important;
}

/* La casa */
.casa {
  display: grid;
  gap: clamp(48px, 7vw, 100px);
}
.casa__text {
  max-width: 30em;
  font: 400 clamp(1.7rem, 3.5vw, 3.1rem) / 1.2 var(--font-display);
  letter-spacing: -0.01em;
}
.casa__text .w {
  display: inline;
}
@supports (animation-timeline: view()) {
  .casa__text .w {
    opacity: 0.16;
    animation: word-lit linear both;
    animation-timeline: view();
    animation-range: entry 60% cover 38%;
  }
  @keyframes word-lit {
    to {
      opacity: 1;
    }
  }
}
.casa__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  width: min(720px, 100%);
  margin-left: auto;
}
.casa__facts b {
  display: block;
  font: 400 clamp(1.3rem, 2vw, 1.7rem) / 1.15 var(--font-display);
}
.casa__facts span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--salt-dim);
}

/* Pestañas y etiquetas: todo en píldora */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.tab {
  padding: 0.7em 1.2em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--salt-dim);
  font-size: 0.92rem;
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.tab:hover {
  color: var(--salt);
  border-color: var(--salt-dim);
}
.tab:active {
  transform: scale(0.98);
}
.tab[aria-selected='true'] {
  background: var(--salt);
  border-color: var(--salt);
  color: var(--abyss);
}
.tab small {
  margin-left: 0.6em;
  opacity: 0.7;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.95em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.82rem;
  color: var(--salt-dim);
}
button.chip {
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}
button.chip:hover {
  color: var(--salt);
  border-color: var(--salt-dim);
}
button.chip:active {
  transform: scale(0.97);
}
button.chip[aria-pressed='true'] {
  background: var(--ember-btn);
  border-color: transparent;
  color: #fffaf3;
}

/* El menú: explorador */
.explorer {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.explorer__list {
  display: grid;
  gap: 34px;
}
.course-group h4 {
  margin-bottom: 8px;
  font: italic 400 1.15rem/1.2 var(--font-display);
  color: var(--ember-hi);
}
.course {
  position: relative;
  display: grid;
  grid-template-columns: 2.2em 1fr auto;
  align-items: baseline;
  gap: 4px 12px;
  width: 100%;
  padding: 11px 14px 11px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
.course::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--ember-hi);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}
.course:hover {
  background: rgba(236, 230, 218, 0.04);
}
.course[aria-selected='true'] {
  background: rgba(236, 230, 218, 0.06);
}
.course[aria-selected='true']::before {
  transform: scaleY(1);
}
.course__n {
  font: italic 400 0.95rem/1 var(--font-display);
  color: var(--salt-dim);
}
.course__name {
  font: 400 1.12rem/1.3 var(--font-display);
}
.course__star {
  width: 0.95em;
  height: 0.95em;
  color: var(--ember-hi);
}
.course__hit {
  grid-column: 2 / -1;
  display: none;
  font-size: 0.8rem;
  color: var(--ember-hi);
}
.course.is-hit {
  opacity: 0.55;
}
.course.is-hit .course__name {
  text-decoration: line-through;
  text-decoration-color: rgba(236, 230, 218, 0.35);
}
.course.is-hit .course__hit {
  display: block;
}
.course__price {
  font-size: 0.95rem;
  color: var(--salt-dim);
}
.explorer__stage {
  position: sticky;
  top: 96px;
  margin: 0;
  display: grid;
  gap: 28px;
}
.stage__plate {
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #26211b 0%, #15120f 62%, #0f0d0b 100%);
  box-shadow:
    inset 0 0 0 1px var(--hair),
    0 50px 120px -50px rgba(0, 0, 0, 0.9);
}
.stage__plate svg {
  width: 100%;
  height: 100%;
}
.stage__caption {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.stage__cat {
  font: italic 400 1rem/1 var(--font-display);
  color: var(--ember-hi);
}
.stage__caption h3 {
  font: 400 clamp(1.5rem, 2.6vw, 2.1rem) / 1.15 var(--font-display);
}
.stage__caption p {
  color: var(--salt-dim);
}
.stage__caption.is-swap {
  animation: swap 0.6s var(--ease-out);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Plato dibujado por código: línea fina, se traza al elegirlo */
.p-ln {
  fill: none;
  stroke: var(--salt);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.88;
}
.p-em {
  stroke: var(--ember-hi);
}
.p-dim {
  opacity: 0.35;
}
.p-fill {
  fill: var(--ember-hi);
  stroke: none;
}
.p-fill-s {
  fill: var(--salt);
  stroke: none;
  opacity: 0.8;
}
.p-ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.drawn .p-ln {
  animation: draw 1.5s var(--ease-out) forwards;
  animation-delay: calc(var(--k, 0) * 38ms);
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.p-fill,
.p-fill-s {
  opacity: 0;
}
.drawn .p-fill {
  animation: fade-in 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--k, 0) * 38ms + 400ms);
}
.drawn .p-fill-s {
  animation: fade-in-soft 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--k, 0) * 38ms + 400ms);
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes fade-in-soft {
  to {
    opacity: 0.8;
  }
}
.scene .act__plate .p-fill,
.scene .act__plate .p-fill-s {
  animation: none;
  opacity: var(--draw, 0);
}

.allergy {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: clamp(56px, 8vw, 110px);
}
.allergy h3 {
  font: 400 clamp(1.5rem, 2.6vw, 2.1rem) / 1.15 var(--font-display);
}
.allergy > p {
  color: var(--salt-dim);
}
.allergy__result {
  min-height: 1.6em;
  color: var(--salt);
}

/* Experiencias: bento sin celdas vacías */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.panel {
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: rgba(236, 230, 218, 0.03);
}
.panel__core {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  height: 100%;
  padding: clamp(22px, 3vw, 40px);
  overflow: hidden;
  border-radius: var(--r-core);
  background: var(--coal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.bento .panel:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 2;
}
.bento .panel:nth-child(2) {
  grid-column: 8 / span 5;
}
.bento .panel:nth-child(3) {
  grid-column: 8 / span 5;
}
.bento .panel:nth-child(4) {
  grid-column: 1 / span 5;
}
.bento .panel:nth-child(5) {
  grid-column: 6 / span 7;
}
.panel h3 {
  font: 400 clamp(1.4rem, 2.2vw, 1.9rem) / 1.15 var(--font-display);
}
.panel p {
  color: var(--salt-dim);
  max-width: 44ch;
}
.price {
  font: 400 clamp(2.6rem, 5vw, 4.4rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
}
.price small {
  margin-left: 0.4em;
  font: 400 0.95rem/1 var(--font-body);
  letter-spacing: 0;
  color: var(--salt-dim);
}
.panel--hero .panel__core {
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(196, 87, 43, 0.26), transparent 62%), var(--coal);
  min-height: 420px;
}
.panel--hero .panel__plate {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 440px;
  opacity: 0.55;
  pointer-events: none;
}
.panel--hero .panel__plate .p-ln {
  stroke-dashoffset: 0;
  animation: none;
}
.panel--hero .panel__plate .p-fill,
.panel--hero .panel__plate .p-fill-s {
  opacity: 0.8;
  animation: none;
}
.checks {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
  color: var(--salt);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
}
.checks .ic {
  color: var(--ember-hi);
}
.rows {
  display: grid;
  gap: 14px;
}
.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.rows li span:first-child {
  font: 400 1.05rem/1.3 var(--font-display);
}
.rows li span:last-child {
  white-space: nowrap;
  color: var(--ember-hi);
}
.rows--sm li span:first-child {
  font-size: 0.98rem;
}

/* La sala: plano */
.plan {
  display: grid;
  gap: 24px;
}
.plan__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.plan__controls .tabs {
  margin: 0;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(236, 230, 218, 0.08);
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.stepper button:hover {
  background: rgba(236, 230, 218, 0.16);
}
.stepper button:active {
  transform: scale(0.94);
}
.stepper output {
  min-width: 8.5em;
  text-align: center;
  font-size: 0.95rem;
}
.plan__body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.plan__canvas {
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: rgba(236, 230, 218, 0.03);
}
.plan__canvas svg {
  width: 100%;
  height: auto;
  border-radius: var(--r-core);
  background:
    radial-gradient(rgba(236, 230, 218, 0.1) 1px, transparent 1.4px) 0 0 / 28px 28px, var(--coal);
}
.plan__info {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(8px, 2vw, 24px) 0;
}
.plan__info h3 {
  font: 400 clamp(1.7rem, 3vw, 2.5rem) / 1.1 var(--font-display);
}
.plan__info p {
  color: var(--salt-dim);
}
.plan__info .plan__fit {
  color: var(--salt);
}
.plan__info .btn {
  justify-self: start;
  margin-top: 6px;
}
.t {
  fill: rgba(236, 230, 218, 0.06);
  stroke: var(--hair-strong);
  stroke-width: 1.5;
  transition:
    fill 0.5s var(--ease),
    stroke 0.5s var(--ease);
}
.tbl {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    transform 0.6s var(--ease),
    opacity 0.5s var(--ease);
}
.tbl:hover {
  transform: scale(1.04);
}
.tbl.is-fit .t {
  fill: rgba(196, 87, 43, 0.26);
  stroke: var(--ember-hi);
}
.tbl.is-dim {
  opacity: 0.32;
}
.tbl text {
  font: 500 15px var(--font-body);
  fill: var(--salt);
  text-anchor: middle;
  pointer-events: none;
}
.tbl .cap {
  font-size: 12px;
  fill: var(--salt-dim);
}
.seat {
  fill: var(--salt);
  opacity: 0.55;
}
.room-label {
  font: italic 400 20px var(--font-display);
  fill: var(--salt-dim);
}

/* Enlace a la demo del camarero digital */
.ways__mesa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 0.8em;
  margin-top: 28px;
  color: var(--salt-dim);
  font-size: 0.95rem;
}
.ways__mesa .ic:first-child {
  width: 1.25em;
  height: 1.25em;
  color: var(--ember-hi);
}

/* Disponibilidad en vivo (plano) y carta en vivo */
.live {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: rgba(236, 230, 218, 0.03);
}
.live[hidden],
.live__pill[hidden] {
  display: none;
}
.live__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 0.9em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--salt-dim);
}
.live__pill--solo {
  width: fit-content;
  margin: -12px 0 24px;
}
.live__pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fcf97;
  box-shadow: 0 0 0 0 rgba(111, 207, 151, 0.5);
  animation: live-pulse 2.4s var(--ease) infinite;
}
@keyframes live-pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(111, 207, 151, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(111, 207, 151, 0);
  }
}
.live__date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--salt-dim);
}
.live__date input {
  padding: 0.55em 0.9em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--salt);
  font: inherit;
  color-scheme: dark;
}
.live__date input:focus-visible,
.live__slots .chip:focus-visible {
  outline: 2px solid var(--ember-hi);
  outline-offset: 3px;
}
.live__slots .chip {
  padding: 0.55em 1.1em;
  font-size: 0.92rem;
}
.live__slots .chip small {
  opacity: 0.7;
}
.live__slots .chip[aria-checked='true'] {
  background: var(--salt);
  border-color: var(--salt);
  color: var(--abyss);
}
.live__slots .chip[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
}
.live__note {
  min-height: 1.4em;
  color: var(--salt-dim);
  font-size: 0.9rem;
}
.tbl.is-busy .t {
  fill: rgba(236, 230, 218, 0.03);
  stroke: var(--hair-strong);
  stroke-dasharray: 5 5;
}
.tbl.is-busy {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .live__pill i {
    animation: none;
  }
}

/* Equipo */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 7vw, 120px);
}
.team li:nth-child(even) {
  transform: translateY(56px);
}
.person {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 4px 20px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.person__mono {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c, var(--hair-strong));
  border-radius: 50%;
  font: italic 400 1.2rem/1 var(--font-display);
  transition:
    background-color 0.5s var(--ease),
    transform 0.6s var(--ease);
}
.person:hover .person__mono,
.person[aria-expanded='true'] .person__mono {
  background: var(--c, var(--hair));
  transform: scale(1.05);
}
.person__name {
  font: 400 clamp(1.5rem, 2.6vw, 2.1rem) / 1.1 var(--font-display);
}
.person__title {
  color: var(--ember-hi);
  font-size: 0.9rem;
}
.person__bio {
  grid-column: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.person__bio span {
  overflow: hidden;
  color: var(--salt-dim);
  max-width: 44ch;
}
.person[aria-expanded='true'] .person__bio {
  grid-template-rows: 1fr;
}
.person[aria-expanded='true'] .person__bio span {
  padding-top: 8px;
}

/* Reservar */
.ways {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
.way {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: var(--coal);
}
.way--main {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(196, 87, 43, 0.22), transparent 62%), var(--coal);
}
.way__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--ember-hi);
}
.way h3 {
  font: 400 clamp(1.4rem, 2.1vw, 1.85rem) / 1.15 var(--font-display);
}
.way p {
  color: var(--salt-dim);
}
.way p b {
  color: var(--salt);
  font-weight: 500;
}
.way .btn,
.way .link {
  justify-self: start;
  margin-top: 6px;
}

/* Te llamamos */
.sec--call {
  background: linear-gradient(to bottom, transparent, rgba(236, 230, 218, 0.03));
}
.call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}
.call h2 {
  margin-bottom: 18px;
  font: 400 clamp(2.1rem, 4.4vw, 3.8rem) / 1.04 var(--font-display);
}
.call h2 em {
  font-style: italic;
  color: var(--ember-hi);
}
.call p {
  color: var(--salt-dim);
  max-width: 50ch;
}
.call__box {
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: rgba(236, 230, 218, 0.03);
}
.call__mount,
.call__demo {
  min-height: 120px;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--r-core);
  background: var(--coal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.call__mount:empty {
  display: none;
}
.call__demo {
  display: grid;
  gap: 10px;
}
.call__demo[hidden] {
  display: none;
}
.call__tag {
  justify-self: start;
  padding: 0.3em 0.85em;
  border: 1px solid var(--ember-hi);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-hi);
}
.call__demo h3 {
  margin: 6px 0 8px;
  font: 400 1.7rem/1.1 var(--font-display);
}
.call__demo label {
  font-size: 0.85rem;
  color: var(--salt-dim);
}
.call__demo input[type='text'],
.call__demo input[type='tel'],
.call__demo input:not([type]) {
  width: 100%;
  padding: 0.9em 1em;
  border: 1px solid var(--hair-strong);
  border-radius: 14px;
  background: var(--coal-2);
  color: var(--salt);
  font: inherit;
  transition: border-color 0.3s var(--ease);
}
.call__demo input:focus-visible {
  outline: none;
  border-color: var(--ember-hi);
  box-shadow: 0 0 0 3px rgba(224, 122, 80, 0.25);
}
.call__demo .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 10px;
  line-height: 1.45;
}
.call__demo .check input {
  margin-top: 3px;
  accent-color: var(--ember);
}
.call__demo .btn {
  justify-self: start;
}
.call__msg {
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--salt);
}
.call__msg.is-err {
  color: var(--ember-hi);
}
.call__note {
  font-size: 0.8rem;
  color: var(--salt-dim);
}

/* Preguntas */
.faq {
  display: grid;
  gap: 8px;
  max-width: 860px;
}
.faq__list details {
  border-top: 1px solid var(--hair);
}
.faq__list details:last-child {
  border-bottom: 1px solid var(--hair);
}
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font: 400 clamp(1.2rem, 2vw, 1.55rem) / 1.25 var(--font-display);
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--salt), var(--salt)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--salt), var(--salt)) center / 1.5px 100% no-repeat;
  transition: transform 0.6s var(--ease);
}
.faq__list details[open] summary::after {
  transform: rotate(45deg);
}
.faq__list p {
  padding: 0 4px 26px;
  max-width: 62ch;
  color: var(--salt-dim);
}

/* Pie */
.foot {
  padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 12vw, 120px);
  border-top: 1px solid var(--hair);
}
.foot__in {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px clamp(24px, 6vw, 96px);
}
.foot__word {
  width: 190px;
  margin-bottom: 22px;
  color: var(--salt);
}
.foot__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.foot__brand p,
.foot__hours p {
  color: var(--salt-dim);
}
.foot__hours h3 {
  margin-bottom: 10px;
  font: italic 400 1.15rem/1 var(--font-display);
  color: var(--ember-hi);
}
.foot__legal,
.foot__demo {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--salt-dim);
}
.foot__demo {
  max-width: 78ch;
}
.foot a:hover {
  color: var(--salt);
}

/* Barra móvil y aviso */
.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 38;
  display: none;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(18, 16, 14, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.mbar .btn {
  flex: 1;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  max-width: min(92vw, 460px);
  padding: 14px 20px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(32, 28, 23, 0.96);
  font-size: 0.92rem;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 24px);
  pointer-events: none;
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Adaptación ---------- */
@media (max-width: 1100px) {
  .head__nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .head__island {
    padding-left: 16px;
  }
}
@media (max-width: 900px) {
  .head {
    top: 10px;
  }
  .head__call {
    display: none;
  }
  .rail {
    left: 50%;
    top: auto;
    bottom: 92px;
    flex-direction: row;
    gap: 10px;
    transform: translateX(-50%);
  }
  .rail span {
    display: none;
  }
  .rail i {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }
  .mbar {
    display: flex;
  }
  .scene .act {
    padding-inline: var(--gut);
  }
  .scene .hero {
    height: 480vh;
  }
  .act--mesa {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 14px;
  }
  .act__plate {
    width: min(64vw, 300px);
    justify-self: start;
    order: -1;
  }
  .scene .act--mesa .act__sub {
    display: none;
  }
  .facts {
    gap: 24px;
  }
  .casa__facts {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .explorer {
    grid-template-columns: 1fr;
  }
  .explorer__stage {
    order: -1;
    top: 70px;
    z-index: 6;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    background: linear-gradient(var(--abyss) 82%, transparent);
  }
  .stage__plate {
    width: 112px;
  }
  .stage__caption {
    gap: 6px;
  }
  .stage__caption h3 {
    font-size: 1.15rem;
  }
  .stage__caption p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .panel:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .panel--hero .panel__core {
    min-height: 0;
  }
  .panel--hero .panel__plate {
    width: 300px;
    right: -80px;
    bottom: -90px;
    opacity: 0.35;
  }
  .plan__body {
    grid-template-columns: 1fr;
  }
  .team {
    grid-template-columns: 1fr;
  }
  .team li:nth-child(even) {
    transform: none;
  }
  .ways {
    grid-template-columns: 1fr;
  }
  .call {
    grid-template-columns: 1fr;
  }
  .foot__in {
    grid-template-columns: 1fr;
  }
  [data-nexunia-widget] {
    --nxw-offset-y: 78px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .casa__text .w {
    opacity: 1;
    animation: none;
  }
  .p-ln {
    stroke-dashoffset: 0;
  }
  .p-fill,
  .p-fill-s {
    opacity: 1;
  }
}

/* Marca del cliente */
:root {
  --navy-950: #12100e;
  --navy-900: #201d19;
  --navy-800: #322c27;
  --blue-700: #9e4623;
  --blue-600: #c4572b;
  --blue-500: #d66d42;
  --blue-400: #de8a68;
  --blue-300: #e9b19a;
  --blue-200: #f5dbd1;
  --blue-100: #f9ece6;
  --blue-50: #fcf5f2;
  --ink: #361c12;
  --muted: #816256;
  --line: #f7e5de;
}
