/*
 * HambuPizza: sistema visual «brasa nocturna».
 * Una sola lectura: carbón casi negro, humo cálido y un único acento, la brasa. Display en Fraunces
 * (serif con carácter; la 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 de 20 px (doble bisel); el
 * fuego, el humo y los platos los pinta la escena WebGL, no el CSS. 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: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-latin-wght-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, #0b0807);
  --coal: #120d0b;
  --coal-2: #1a1310;
  --coal-3: #251a15;
  --smoke: #f4ebdd;
  --smoke-dim: #b9ab9a;
  --hair: rgba(244, 235, 221, 0.13);
  --hair-strong: rgba(244, 235, 221, 0.27);
  --ember: var(--blue-600, #ff4d1c);
  --ember-btn: var(--blue-700, #d93a0e);
  --ember-hi: var(--blue-400, #ff7a4a);
  --amber: #ffb02e;
  --gold: #ffd27a;
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, 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);
  scrollbar-color: var(--coal-3) var(--abyss);
}
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--abyss);
  color: var(--smoke);
  font: 400 1.0625rem/1.65 var(--font-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  caret-color: var(--ember-hi);
}
/* 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.06;
  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>");
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--abyss);
}
::-webkit-scrollbar-thumb {
  border: 2px solid var(--abyss);
  border-radius: 999px;
  background: var(--coal-3);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ember-btn);
}
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;
}
em {
  font-style: italic;
}

.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(--smoke);
  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(--smoke-dim);
}

/* La marca como máscara: hereda el color del texto y no depende de ninguna fuente. */
.wordmark {
  display: block;
  aspect-ratio: 900 / 117;
  background: currentColor;
  -webkit-mask: url('/assets/brand/wordmark.svg') center / contain no-repeat;
  mask: url('/assets/brand/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),
    box-shadow 0.5s 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;
  box-shadow: 0 10px 34px -12px var(--ember);
}
.btn--ember:hover {
  background: var(--ember);
  box-shadow: 0 14px 40px -10px var(--ember);
}
.btn--ember:not(:has(.btn__dot)) {
  padding-right: 1.35em;
}
.btn--ghost {
  background: rgba(244, 235, 221, 0.04);
  border-color: var(--hair-strong);
  color: var(--smoke);
}
.btn--ghost:hover {
  border-color: var(--ember-hi);
  background: rgba(244, 235, 221, 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 con termómetro ---------- */
.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, 40px);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(11, 8, 7, 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.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    background-color 0.6s var(--ease),
    transform 0.7s var(--ease);
}
.head.is-scrolled .head__island {
  background: rgba(11, 8, 7, 0.8);
}
.head__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.head__mark {
  width: 36px;
  height: 36px;
}
.head__word {
  width: 156px;
  color: var(--smoke);
}
.head__nav {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.9rem;
  color: var(--smoke-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(--smoke);
}
.head__nav a:hover::after,
.head__nav a.is-active::after {
  transform: scaleX(1);
}
.head__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Termómetro del horno: sube de 24 a 430 °C mientras avanza la portada. */
.temp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.45em 0.8em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--smoke);
  transition:
    border-color 0.6s var(--ease),
    color 0.6s var(--ease);
}
.temp .ic {
  margin-right: 2px;
  color: var(--temp-c, var(--smoke-dim));
  transition: color 0.4s var(--ease);
}
.temp b {
  min-width: 2.2em;
  text-align: right;
  font-weight: 600;
}
.temp small {
  color: var(--smoke-dim);
}
.temp.is-hot {
  border-color: var(--ember-hi);
}
.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(--smoke);
  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 las cuatro fases (solo mientras se está en la portada) */
.rail {
  position: fixed;
  left: clamp(14px, 2.4vw, 36px);
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.in-hero .rail {
  opacity: 1;
}
.in-hero .rail button {
  pointer-events: auto;
}
.menu-open .rail {
  opacity: 0;
}
.rail button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--smoke-dim);
  cursor: pointer;
  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 500 0.82rem/1 var(--font-display);
  transition:
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease),
    transform 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 button:hover i {
  border-color: var(--ember-hi);
}
.rail li.is-on button {
  color: var(--smoke);
}
.rail li.is-on i {
  background: var(--ember-btn);
  border-color: transparent;
  color: #fffaf3;
  transform: scale(1.08);
}
.rail li.is-on span,
.rail button:hover 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(11, 8, 7, 0.95);
  -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: 700 clamp(2.2rem, 10vw, 3.4rem) / 1.12 var(--font-display);
  letter-spacing: -0.02em;
  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(--smoke-dim);
  font-size: 0.9rem;
}

/* ---------- Portada en cuatro fases ---------- */
/* Sin JS o sin escena (movimiento reducido, sin WebGL): cartel estático y cuatro paneles apilados. */
.hero__pin {
  position: relative;
  overflow: clip;
}
.hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 8, 7, 0.86) 0%, rgba(11, 8, 7, 0.4) 46%, transparent 74%);
}
.hero__canvas,
.hero__vignette {
  display: none;
}
.act {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  min-height: 100dvh;
  padding: 120px var(--gut) 96px;
}
.hero__title {
  line-height: 0;
}
.hero__word {
  width: min(88vw, 1020px);
  color: var(--smoke);
}
.act__title {
  max-width: 13ch;
  font: 700 clamp(2.5rem, 7vw, 6rem) / 0.98 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.act__title em {
  font-weight: 500;
  color: var(--ember-hi);
}
.act__sub {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(244, 235, 221, 0.84);
}
.act__cue {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}
.act__cue .ic {
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  50% {
    transform: translateY(5px);
  }
}
.act__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.act--fuego {
  justify-items: center;
  text-align: center;
}
.act--fuego .act__sub {
  max-width: 48ch;
}

/* Escena activa: un solo escenario fijo; las fases se funden entre sí con el scroll. */
.scene .hero {
  height: 600vh;
}
.scene .hero__pin {
  position: sticky;
  top: 0;
  height: 100dvh;
}
.scene .hero__poster {
  display: none;
}
.scene .hero__canvas {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.scene .hero__vignette {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 6, 5, 0.74) 0%, rgba(8, 6, 5, 0.4) 34%, transparent 58%),
    radial-gradient(120% 90% at 55% 45%, transparent 40%, rgba(8, 6, 5, 0.85) 100%),
    linear-gradient(to bottom, rgba(8, 6, 5, 0.5), transparent 18%, transparent 70%, rgba(8, 6, 5, 0.7));
}
.scene .act {
  text-shadow: 0 2px 26px rgba(8, 6, 5, 0.9);
}
.scene .act--fuego {
  background: radial-gradient(46% 36% at 50% 52%, rgba(8, 6, 5, 0.62), transparent 100%);
}
.scene .act {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0 calc(var(--gut) + 64px);
  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--masa,
.scene .act--brasa {
  align-content: end;
  padding-bottom: 12vh;
}
.scene .act--mesa {
  align-content: center;
}

/* ---------- Cinta ---------- */
.ticker {
  overflow: clip;
  border-block: 1px solid var(--hair);
  background: var(--coal);
  padding-block: 20px;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: tick 38s linear infinite;
}
.ticker span {
  font: 600 clamp(1.4rem, 2.6vw, 2.2rem) / 1 var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--smoke);
}
.ticker span:nth-of-type(even) {
  font-style: italic;
  font-weight: 400;
  color: var(--ember-hi);
}
.ticker i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember);
}
@keyframes tick {
  to {
    transform: translateX(calc(-50% - 14px));
  }
}

/* ---------- Secciones ---------- */
.sec {
  padding-block: clamp(96px, 13vw, 190px);
}
.sec__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.sec__head h2 {
  max-width: 16ch;
  font: 700 clamp(2.3rem, 5.2vw, 4.6rem) / 1 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sec__head h2 em,
.call h2 em {
  font-weight: 500;
  color: var(--ember-hi);
}
.sec__head p {
  max-width: 54ch;
  color: var(--smoke-dim);
}

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

/* La casa */
.casa {
  display: grid;
  gap: 36px;
}
.casa__text {
  max-width: 30em;
  font: 600 clamp(1.7rem, 3.5vw, 3.1rem) / 1.2 var(--font-display);
  letter-spacing: -0.02em;
}
.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__sign {
  color: var(--smoke-dim);
  font-size: 0.95rem;
}

/* Pestañas, segmentos y etiquetas: todo en píldora */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.tabs--sm {
  margin-bottom: 0;
}
.tab {
  padding: 0.7em 1.2em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--smoke-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(--smoke);
  border-color: var(--smoke-dim);
}
.tab:active {
  transform: scale(0.98);
}
.tab[aria-selected='true'] {
  background: var(--smoke);
  border-color: var(--smoke);
  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(--smoke-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(--smoke);
  border-color: var(--smoke-dim);
}
button.chip:active {
  transform: scale(0.97);
}
button.chip[aria-pressed='true'] {
  background: var(--ember-btn);
  border-color: transparent;
  color: #fffaf3;
}
.chip--tog {
  padding: 0.6em 1.05em;
  font-size: 0.88rem;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: rgba(244, 235, 221, 0.03);
}
.seg button {
  padding: 0.6em 1.05em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.88rem;
  color: var(--smoke-dim);
  cursor: pointer;
  transition:
    background-color 0.5s var(--ease),
    color 0.5s var(--ease);
}
.seg button:hover {
  color: var(--smoke);
}
.seg button[aria-checked='true'] {
  background: var(--smoke);
  color: var(--abyss);
}

/* La carta: explorador con visor */
.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: 30px;
}
.course-group h4 {
  margin-bottom: 8px;
  font: italic 500 1.2rem/1.2 var(--font-display);
  color: var(--ember-hi);
}
.course {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 2px 14px;
  width: 100%;
  padding: 9px 14px 9px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    opacity 0.4s var(--ease);
}
.course:hover {
  background: rgba(244, 235, 221, 0.04);
}
.course[aria-selected='true'] {
  background: rgba(244, 235, 221, 0.07);
  box-shadow: inset 0 0 0 1px var(--hair-strong);
}
.course__thumb {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--coal-2);
}
.course__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course__name {
  font: 600 1.12rem/1.25 var(--font-display);
  letter-spacing: -0.01em;
}
.course__star {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.4em;
  color: var(--amber);
  vertical-align: -0.1em;
}
.course__desc {
  grid-column: 2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--smoke-dim);
}
.course__hit {
  grid-column: 2 / -1;
  display: none;
  font-size: 0.8rem;
  color: var(--ember-hi);
}
.course.is-hit {
  opacity: 0.5;
}
.course.is-hit .course__name {
  text-decoration: line-through;
  text-decoration-color: rgba(244, 235, 221, 0.35);
}
.course.is-hit .course__hit {
  display: block;
}
.course__price {
  grid-row: 1;
  grid-column: 3;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--smoke);
}
.course--nothumb {
  grid-template-columns: 1fr auto;
}
.course--nothumb .course__desc {
  grid-column: 1;
}
.course--nothumb .course__price {
  grid-column: 2;
}
.course--nothumb .course__hit {
  grid-column: 1 / -1;
}
.explorer__stage {
  position: sticky;
  top: 92px;
  margin: 0;
  display: grid;
  gap: 22px;
}
.stage__view {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-panel);
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(255, 77, 28, 0.2), transparent 70%), var(--coal);
  box-shadow:
    inset 0 0 0 1px var(--hair),
    0 50px 120px -50px rgba(0, 0, 0, 0.9);
}
.stage__img,
.stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stage__img {
  object-fit: cover;
  transition: opacity 0.7s var(--ease);
}
.stage__canvas {
  opacity: 0;
  cursor: grab;
  touch-action: pan-y;
  transition: opacity 0.7s var(--ease);
}
.stage__canvas:active {
  cursor: grabbing;
}
.stage__view.is-gl .stage__canvas {
  opacity: 1;
}
.stage__view.is-gl .stage__img {
  opacity: 0;
}
.stage__drag {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: rgba(11, 8, 7, 0.6);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.stage__view.is-gl .stage__drag {
  opacity: 1;
}
.stage__view.is-dragged .stage__drag {
  opacity: 0;
}
.stage__ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.stage__caption {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.stage__cat {
  font: italic 500 1rem/1 var(--font-display);
  color: var(--ember-hi);
}
.stage__caption h3 {
  font: 700 clamp(1.6rem, 2.8vw, 2.3rem) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.stage__caption p {
  color: var(--smoke-dim);
}
.stage__caption.is-swap {
  animation: swap 0.6s var(--ease-out);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.stage__act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}
.stage__price {
  font: 700 clamp(1.8rem, 3vw, 2.4rem) / 1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

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

/* Monta la tuya */
.sec--monta {
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(255, 77, 28, 0.1), transparent 70%), var(--abyss);
}
.builder {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.builder__view {
  position: sticky;
  top: 92px;
}
.builder__ctl {
  display: grid;
  gap: 24px;
}
.field {
  display: grid;
  gap: 8px;
}
.field span,
.builder__group legend {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smoke-dim);
}
.field select {
  width: 100%;
  appearance: none;
  padding: 0.9em 2.6em 0.9em 1.1em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23f4ebdd' stroke-width='1.5'/></svg>") right 1.1em center / 12px no-repeat,
    var(--coal);
  color: var(--smoke);
  font: inherit;
  color-scheme: dark;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.field select:focus-visible {
  outline: none;
  border-color: var(--ember-hi);
  box-shadow: 0 0 0 3px rgba(255, 122, 74, 0.25);
}
.builder__group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.builder__group legend {
  padding: 0;
  margin-bottom: 12px;
}
.builder__sum {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: var(--coal);
}
.builder__sum > p:first-child {
  font: 500 1.15rem/1.4 var(--font-display);
}
.builder__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.builder__note {
  font-size: 0.82rem;
  color: var(--smoke-dim);
}

/* En la mesa: bento */
.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(244, 235, 221, 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 5;
}
.bento .panel:nth-child(2) {
  grid-column: 6 / span 7;
}
.bento .panel:nth-child(3) {
  grid-column: 1 / span 7;
}
.bento .panel:nth-child(4) {
  grid-column: 8 / span 5;
}
.panel h3 {
  font: 700 clamp(1.4rem, 2.2vw, 1.9rem) / 1.12 var(--font-display);
  letter-spacing: -0.02em;
}
.panel p {
  color: var(--smoke-dim);
  max-width: 44ch;
}
.price {
  font: 700 clamp(2.6rem, 5vw, 4.4rem) / 1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.price small {
  display: block;
  margin-top: 8px;
  font: 400 0.95rem/1.4 var(--font-body);
  letter-spacing: 0;
  color: var(--smoke-dim);
}
.panel--glow .panel__core {
  background:
    radial-gradient(90% 70% at 90% 0%, rgba(255, 77, 28, 0.3), transparent 62%), var(--coal);
}
.panel--qr .panel__core {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.qr {
  width: 156px;
  padding: 10px;
  border-radius: 18px;
  background: var(--smoke);
  color: var(--abyss);
}
.qr svg {
  width: 100%;
  height: auto;
}
.checks {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
  color: var(--smoke);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
}
.checks .ic {
  color: var(--ember-hi);
}
.rows {
  display: grid;
  gap: 10px;
}
.rows li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.rows li span:first-child {
  font: 600 1.02rem/1.3 var(--font-display);
}
.rows li span:last-child {
  white-space: nowrap;
  color: var(--ember-hi);
}

/* 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(244, 235, 221, 0.08);
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}
.stepper button:hover {
  background: rgba(244, 235, 221, 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(244, 235, 221, 0.03);
}
.plan__canvas svg {
  width: 100%;
  height: auto;
  border-radius: var(--r-core);
  background:
    radial-gradient(rgba(244, 235, 221, 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: 700 clamp(1.7rem, 3vw, 2.5rem) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.plan__info p {
  color: var(--smoke-dim);
}
.plan__info .plan__fit {
  color: var(--smoke);
}
.plan__info .btn {
  justify-self: start;
  margin-top: 6px;
}
.t {
  fill: rgba(244, 235, 221, 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(255, 77, 28, 0.28);
  stroke: var(--ember-hi);
}
.tbl.is-dim {
  opacity: 0.32;
}
.tbl text {
  font: 500 15px var(--font-body);
  fill: var(--smoke);
  text-anchor: middle;
  pointer-events: none;
}
.tbl .cap {
  font-size: 12px;
  fill: var(--smoke-dim);
}
.seat {
  fill: var(--smoke);
  opacity: 0.55;
}
.room-label {
  font: italic 500 20px var(--font-display);
  fill: var(--smoke-dim);
}

/* 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(244, 235, 221, 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(--smoke-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(--smoke-dim);
}
.live__date input {
  padding: 0.55em 0.9em;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--smoke);
  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(--smoke);
  border-color: var(--smoke);
  color: var(--abyss);
}
.live__slots .chip[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
}
.live__note {
  min-height: 1.4em;
  color: var(--smoke-dim);
  font-size: 0.9rem;
}
.tbl.is-busy .t {
  fill: rgba(244, 235, 221, 0.03);
  stroke: var(--hair-strong);
  stroke-dasharray: 5 5;
}
.tbl.is-busy {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 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: 20px 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 500 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: 700 clamp(1.5rem, 2.6vw, 2.1rem) / 1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.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(--smoke-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(255, 77, 28, 0.26), 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: 700 clamp(1.4rem, 2.1vw, 1.85rem) / 1.12 var(--font-display);
  letter-spacing: -0.02em;
}
.way p {
  color: var(--smoke-dim);
}
.way p b {
  color: var(--smoke);
  font-weight: 500;
}
.way .btn,
.way .link {
  justify-self: start;
  margin-top: 6px;
}

/* Te llamamos */
.sec--call {
  background: linear-gradient(to bottom, transparent, rgba(244, 235, 221, 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: 700 clamp(2.1rem, 4.4vw, 3.8rem) / 1.02 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.call p {
  color: var(--smoke-dim);
  max-width: 50ch;
}
.call__box {
  padding: 6px;
  border: 1px solid var(--hair);
  border-radius: var(--r-panel);
  background: rgba(244, 235, 221, 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: 700 1.7rem/1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.call__demo label {
  font-size: 0.85rem;
  color: var(--smoke-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(--smoke);
  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(255, 122, 74, 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(--smoke);
}
.call__msg.is-err {
  color: var(--ember-hi);
}
.call__note {
  font-size: 0.8rem;
  color: var(--smoke-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: 600 clamp(1.2rem, 2vw, 1.5rem) / 1.25 var(--font-display);
  letter-spacing: -0.01em;
  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(--smoke), var(--smoke)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--smoke), var(--smoke)) 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(--smoke-dim);
}

/* Pie */
.foot {
  padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 12vw, 120px);
  border-top: 1px solid var(--hair);
}
.foot__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px clamp(24px, 6vw, 96px);
}
.foot__word {
  width: 300px;
  margin-bottom: 22px;
  color: var(--smoke);
}
.foot__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.foot__brand p,
.foot__hours p {
  color: var(--smoke-dim);
}
.foot__hours h3 {
  margin-bottom: 10px;
  font: italic 500 1.15rem/1 var(--font-display);
  color: var(--ember-hi);
}
.foot__seal {
  position: absolute;
  right: 0;
  top: 0;
  width: 132px;
  height: 132px;
  opacity: 0.85;
  animation: spin 40s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.foot__legal,
.foot__demo {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--smoke-dim);
}
.foot__demo {
  max-width: 78ch;
}
.foot a:hover {
  color: var(--smoke);
}

/* 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(11, 8, 7, 0.84);
  -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(26, 19, 16, 0.97);
  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: 14px;
  }
}
@media (max-width: 900px) {
  .head {
    top: 10px;
  }
  .head__call,
  .head__actions .btn--ember {
    display: none;
  }
  .head__word {
    width: 126px;
  }
  .rail {
    left: 50%;
    top: 84px;
    bottom: auto;
    flex-direction: row;
    gap: 10px;
    transform: translateX(-50%);
  }
  .rail span {
    display: none;
  }
  .rail i {
    width: 28px;
    height: 28px;
    font-size: 0.74rem;
  }
  .mbar {
    display: flex;
  }
  .scene .act {
    padding-inline: var(--gut);
  }
  .scene .hero {
    height: 520vh;
  }
  .scene .act--masa,
  .scene .act--brasa {
    padding-bottom: 20vh;
  }
  .scene .act--mesa {
    align-content: end;
    padding-bottom: 17vh;
  }
  .scene .act--mesa .act__sub {
    display: none;
  }
  .scene .hero__vignette {
    background:
      linear-gradient(to top, rgba(8, 6, 5, 0.86) 0%, rgba(8, 6, 5, 0.5) 38%, transparent 62%),
      radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(8, 6, 5, 0.8) 100%);
  }
  .scene .act--masa .act__sub,
  .scene .act--brasa .act__sub {
    display: none;
  }
  .act__title {
    max-width: 11ch;
  }
  .explorer,
  .builder {
    grid-template-columns: 1fr;
  }
  .explorer__stage {
    order: -1;
    top: 64px;
    z-index: 6;
    gap: 12px;
    padding-bottom: 12px;
    background: linear-gradient(var(--abyss) 88%, transparent);
  }
  .stage__view {
    width: min(100%, 340px);
  }
  .stage__caption p,
  .stage__caption .chips {
    display: none;
  }
  .builder__view {
    position: static;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .panel:nth-child(n) {
    grid-column: auto;
  }
  .panel--qr .panel__core {
    grid-template-columns: 1fr;
  }
  .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;
  }
  .foot__seal {
    position: static;
    order: 3;
  }
  [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;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .casa__text .w {
    opacity: 1;
    animation: none;
  }
  .ticker__track {
    animation: none;
  }
}

/* =====================================================================
   Versión fotográfica: fotos reales, humo/llama reales en mezcla «screen»
   ===================================================================== */
.hero__pin {
  isolation: isolate;
}
.hero__stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--abyss, #0b0807);
}
.hero__stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 8, 7, 0.86) 0%, rgba(11, 8, 7, 0.4) 46%, transparent 74%);
}
.shot {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  transform-origin: 62% 55%;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 55%;
  filter: saturate(1.06) contrast(1.06) brightness(0.9);
}
.shot:not(:first-child),
.hero__fx,
.hero__glow {
  display: none;
}
.scene .shot:not(:first-child),
.scene .hero__fx,
.scene .hero__glow {
  display: block;
}
.scene .hero__stack::after {
  display: none;
}
.scene .shot {
  will-change: transform, opacity;
}
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  --flames: 0.9;
  --smoke: 0.3;
  --sparks: 0.6;
}
.fx {
  position: absolute;
  z-index: 1;
  display: block;
  max-width: none;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero__fx .fx--smoke {
  width: max(118vw, 1000px);
  height: auto;
  aspect-ratio: 1;
  opacity: calc(var(--smoke) * 0.9);
}
.hero__fx .fx--s1 {
  left: -14%;
  bottom: -34%;
  animation: smokeA 46s ease-in-out infinite alternate;
}
.hero__fx .fx--s2 {
  right: -26%;
  bottom: -44%;
  animation: smokeB 58s ease-in-out infinite alternate;
}
.hero__fx .fx--s3 {
  left: 18%;
  top: -48%;
  opacity: calc(var(--smoke) * 0.7);
  animation: smokeA 70s ease-in-out infinite alternate-reverse;
}
.hero__fx .fx--flames {
  left: 0;
  bottom: -4%;
  width: 100%;
  height: 46%;
  object-fit: cover;
  object-position: 50% 100%;
  opacity: var(--flames);
  transform-origin: 50% 100%;
  animation: flicker 3.1s ease-in-out infinite alternate;
}
.hero__fx .fx--sparks {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--sparks);
  animation: sparksUp 14s linear infinite;
}
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
  --heat: 0;
  background: radial-gradient(70% 55% at 62% 112%, rgb(255 86 20 / calc(var(--heat) * 0.5)), transparent 72%);
}
.is-paused .fx {
  animation-play-state: paused;
}
@keyframes smokeA {
  from {
    transform: translate3d(-4%, 3%, 0) rotate(-3deg) scale(1);
  }
  to {
    transform: translate3d(8%, -9%, 0) rotate(4deg) scale(1.14);
  }
}
@keyframes smokeB {
  from {
    transform: translate3d(5%, 4%, 0) scaleX(-1) rotate(2deg) scale(1.02);
  }
  to {
    transform: translate3d(-9%, -8%, 0) scaleX(-1) rotate(-5deg) scale(1.18);
  }
}
@keyframes flicker {
  0% {
    transform: scaleY(1) translate3d(0, 0, 0);
    filter: brightness(0.95);
  }
  45% {
    transform: scaleY(1.05) translate3d(0.4%, 0, 0);
    filter: brightness(1.12);
  }
  100% {
    transform: scaleY(1.02) translate3d(-0.4%, 0, 0);
    filter: brightness(1);
  }
}
@keyframes sparksUp {
  from {
    transform: translate3d(0, 6%, 0);
  }
  to {
    transform: translate3d(0, -8%, 0);
  }
}

/* Visor de la carta: la foto del plato con calor, vapor y lupa */
.stage__view {
  isolation: isolate;
  --heat: 0.62;
  --zx: 50%;
  --zy: 50%;
}
.stage__img {
  scale: var(--z, 1);
  transform-origin: var(--zx) var(--zy);
  filter: saturate(calc(0.9 + var(--heat) * 0.3)) brightness(calc(0.86 + var(--heat) * 0.2)) contrast(1.05);
  transition:
    scale 0.55s var(--ease),
    filter 0.6s var(--ease),
    opacity 0.6s var(--ease);
}
.stage__view.is-zoom .stage__img {
  --z: 1.6;
  transition:
    scale 0.55s var(--ease),
    transform-origin 0.16s linear,
    filter 0.6s var(--ease);
}
.stage__view.is-zoom {
  cursor: zoom-out;
}
.stage__view.is-in .stage__img {
  animation: dishIn 0.9s var(--ease) both;
}
@keyframes dishIn {
  from {
    opacity: 0;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.stage__fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.stage__fx .fx--smoke {
  width: 125%;
  height: auto;
  aspect-ratio: 1;
  opacity: calc(0.04 + var(--heat) * 0.55);
  transition: opacity 0.7s var(--ease);
}
.stage__fx .fx--s1 {
  left: -14%;
  bottom: -30%;
  animation: steam 11s ease-in-out infinite alternate;
}
.stage__fx .fx--s2 {
  right: -24%;
  bottom: -36%;
  animation: steam 15s ease-in-out -6s infinite alternate-reverse;
}
.stage__fx .fx--flames {
  left: 0;
  bottom: -10%;
  width: 100%;
  height: 34%;
  object-fit: cover;
  object-position: 50% 100%;
  opacity: calc(max(0, var(--heat) - 0.55) * 1.5);
  transition: opacity 0.7s var(--ease);
  transform-origin: 50% 100%;
  animation: flicker 2.8s ease-in-out infinite alternate;
}
.stage__glow {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: calc(var(--heat) * 0.7);
  background: radial-gradient(70% 55% at 50% 108%, rgb(255 100 30 / 0.55), transparent 70%);
  transition: opacity 0.7s var(--ease);
}
@keyframes steam {
  from {
    transform: translate3d(-3%, 5%, 0) rotate(-2deg) scale(1);
  }
  to {
    transform: translate3d(4%, -7%, 0) rotate(3deg) scale(1.12);
  }
}
.stage__view .stage__drag {
  opacity: 0;
}
.stage__view.is-zoom:not(.is-touched) .stage__drag {
  opacity: 1;
}
.stage__ref {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  margin: 0;
  padding: 0.28em 0.7em;
  border-radius: 999px;
  background: rgba(11, 8, 7, 0.55);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke-dim);
  pointer-events: none;
}
.stage__view:has(.stage__img[hidden])::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/brand/logo-mark.svg') center / 26% no-repeat;
  opacity: 0.1;
}
.stage__view.is-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(60% 50% at 50% 104%, rgb(255 106 46 / 0.55), transparent 70%);
  animation: pulse 0.9s var(--ease) both;
}
@keyframes pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.tags {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.tag {
  padding: 0.38em 0.9em;
  border-radius: 999px;
  background: rgba(11, 8, 7, 0.78);
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 0.8rem;
  animation: tagIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.tag--add {
  color: var(--ember-hi);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 46, 0.55);
}
.tag--del {
  color: var(--smoke-dim);
}
@keyframes tagIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.credits {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--smoke-dim);
}
.credits summary {
  cursor: pointer;
  width: max-content;
}
.credits ul {
  columns: 2 280px;
  gap: 28px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.credits li {
  break-inside: avoid;
  margin-bottom: 6px;
}
.credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .fx,
  .stage__img,
  .tag {
    animation: none !important;
  }
}
.foot__hours {
  padding-right: 156px;
}
@media (max-width: 900px) {
  .foot__hours {
    padding-right: 0;
  }
}

/* Marca del cliente */
:root {
  --navy-950: #0b0807;
  --navy-900: #1b1311;
  --navy-800: #2d211d;
  --blue-700: #ed3300;
  --blue-600: #ff4d1c;
  --blue-500: #ff6d45;
  --blue-400: #ff9173;
  --blue-300: #fdc2b2;
  --blue-200: #fed4c8;
  --blue-100: #fee7e1;
  --blue-50: #fff3f0;
  --ink: #361a12;
  --muted: #815f56;
  --line: #f7e4de;
}
