/* ==========================================================================
   ISLITA · PANTALLAS DE MENÚ
   Todo se diseña a tamaño fijo (1080×1920 o 1920×1080) y el motor lo escala
   para cualquier televisor. Medidas en px de diseño.
   ========================================================================== */

/* ---------------------------------------------------------------- fuentes */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Birthstone Bounce';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/birthstone-bounce-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Birthstone Bounce';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/birthstone-bounce-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ base */
:root {
  --ease-out: var(--primitive-easing-out-expo);
  --ease-in-out: var(--primitive-easing-in-out);
  --ease-back: var(--primitive-easing-out-back);
  --script: var(--font-display);
  --sans: var(--font-text);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--color-bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.kiosk, html.kiosk * { cursor: none !important; }
::selection { background: var(--color-pill); color: var(--color-on-pill); }

.viewport { position: fixed; inset: 0; overflow: hidden; background: var(--color-bg-deep); }

.stage {
  --accent: var(--color-accent);
  --travel: -1260px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform-origin: center;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--sans);
  font-synthesis: none;
  font-kerning: normal;
}
.stage--portrait { width: 1080px; height: 1920px; --travel: -2120px; }

h1, h2, h3, p, ul, figure { margin: 0; }

/* ------------------------------------------------------------- fondo vivo */
.bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.bg__glow {
  position: absolute;
  width: 1500px;
  height: 1500px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, #f0c6b9), rgba(5, 29, 35, 0));
  opacity: 0;
  transition: opacity 1.8s ease;
  animation: drift 28s ease-in-out infinite alternate;
}
.bg__glow.is-on { opacity: 0.2; }
.stage--portrait .bg__glow { left: -260px; top: 40px; }
.stage--landscape .bg__glow { left: 240px; top: -420px; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(240px, 180px, 0); } }

.bg__sun {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(240, 198, 185, 0.07);
}
.stage--portrait .bg__sun { width: 900px; height: 900px; right: -340px; top: -320px; }
.stage--landscape .bg__sun { width: 1100px; height: 1100px; right: -380px; bottom: -560px; }

.bg__leaf {
  position: absolute;
  transform: rotate(var(--r));
  transform-origin: 50% 92%;
  animation: sway var(--sway, 11s) ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes sway {
  from { transform: rotate(calc(var(--r) - 2.4deg)); }
  to { transform: rotate(calc(var(--r) + 2.4deg)); }
}
.leaf-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.bg__particles i {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 2px solid rgba(246, 239, 230, 0.16);
  animation: float-up var(--d) linear infinite;
  animation-delay: var(--delay);
}
@keyframes float-up {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(40px, var(--travel), 0); }
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, rgba(3, 19, 23, 0) 55%, rgba(3, 19, 23, 0.7) 100%);
}

/* ------------------------------------------------------------ encabezado */
.head {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html[data-kind="pause"] .head { opacity: 0; transform: translateY(-24px); }

.head__logo { flex: none; color: var(--color-text); }
.head__logo .logo { display: block; width: 100%; height: 100%; }
.head__title { display: flex; flex-direction: column; line-height: 0.8; }
.head__kicker {
  font-weight: 800;
  font-stretch: 72%;
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.head__script {
  font-family: var(--script);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.stage--portrait .head { left: 64px; right: 56px; top: 48px; height: 210px; justify-content: space-between; flex-direction: row-reverse; }
.stage--portrait .head__logo { width: 178px; height: 178px; }
.stage--portrait .head__kicker { font-size: 82px; }
.stage--portrait .head__script { font-size: 176px; margin: -4px 0 0 92px; }

.stage--landscape .head { left: 60px; top: 30px; height: 124px; gap: 26px; }
.stage--landscape .head__logo { width: 122px; height: 122px; }
.stage--landscape .head__title { flex-direction: row; align-items: baseline; gap: 18px; }
.stage--landscape .head__kicker { font-size: 58px; }
.stage--landscape .head__script { font-size: 110px; }

/* logo: piezas animables */
.logo .logo__ring, .logo .logo__letters, .logo .logo__bubble, .logo .logo__straw {
  transform-box: fill-box;
  transform-origin: center;
}
.logo--head .logo__bubble { animation: bob 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.1s); }
@keyframes bob { from { transform: translateY(1.2px); } to { transform: translateY(-1.8px); } }

/* ------------------------------------------------------------- escenas */
.scenes { position: absolute; inset: 0; z-index: 2; }
.scene { position: absolute; inset: 0; visibility: hidden; }
.scene.is-active { visibility: visible; }

/* --------------------------------------------------------------- precios */
.price {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: none;
  font-weight: 760;
  font-stretch: 92%;
  font-size: 52px;
  line-height: 1;
  color: var(--color-price);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transform-origin: 100% 60%;
  transition: transform 0.6s var(--ease-out), color 0.45s ease;
}
/* Resaltado: el precio se vuelve una etiqueta salmón (como las píldoras del
   menú impreso) que entra deslizándose desde la derecha. */
.price::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -0.02em -0.34em -0.04em -0.3em;
  border-radius: 999px;
  background: var(--color-pill);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.6s var(--ease-out);
}
.is-lit .price { color: var(--color-on-pill); transform: scale(1.04); }
.is-lit .price::before { transform: none; }
.price__in { display: inline-flex; overflow: hidden; padding: 0.08em 0.02em 0.12em; }
.price__ch { display: inline-block; }
.price__ch:first-child { font-size: 0.74em; margin-right: 0.05em; padding-top: 0.08em; align-self: flex-start; opacity: 0.92; }

/* ------------------------------------------------------- filas de producto */
.item { position: relative; display: flex; flex-direction: column; gap: 8px; }

.item__row { position: relative; display: flex; align-items: baseline; gap: 18px; }
.item__name {
  position: relative;
  min-width: 0;
  font-weight: 800;
  font-stretch: 80%;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--color-text);
}

.item__leader {
  flex: 1 1 30px;
  min-width: 30px;
  height: 6px;
  align-self: flex-end;
  margin-bottom: 11px;
  background-image: radial-gradient(circle, rgba(217, 203, 189, 0.5) 1.8px, rgba(217, 203, 189, 0) 2.4px);
  background-size: 13px 6px;
  background-repeat: repeat-x;
  background-position: left center;
}
.item__desc {
  position: relative;
  font-size: 28px;
  line-height: 1.36;
  color: var(--color-text-muted);
  max-width: 900px;
}

.pill {
  display: inline-block;
  font-weight: 800;
  font-stretch: 80%;
  font-size: 34px;
  line-height: 1;
  color: var(--color-on-pill);
  background: var(--color-pill);
  padding: 12px 26px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ----------------------------------------------------------- espacio video */
.media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
  isolation: isolate;
}
.media--leaf { border-radius: 300px 40px 300px 40px; }
.media--small { border-radius: 170px 28px 170px 28px; }
.media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(240, 198, 185, 0.32);
  pointer-events: none;
}
.media--full::after { display: none; }
.media__fallback { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.media__layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease; }
.media.has-media .media__layer { opacity: 1; }
.media.has-media .media__fallback { opacity: 0; }
.media__video, .media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* las fotos nunca están quietas: zoom y paneo lentos, como cámara */
.media__img { animation: kenburns 22s ease-in-out infinite alternate; will-change: transform; }
.media--full .media__img { animation-duration: 26s; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(1.2%, 0.8%, 0); } to { transform: scale(1.18) translate3d(-1.8%, -1.4%, 0); } }
.media__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 29, 35, 0.78), rgba(5, 29, 35, 0) 42%);
}
video::-webkit-media-controls, video::-webkit-media-controls-enclosure { display: none !important; }

/* ---------------------------------------------- póster (respaldo de video) */
.poster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(110% 80% at 50% 42%, #0e3a40 0%, #082a30 45%, #051d23 80%);
}
.poster__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 100%;
  padding-top: 100%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--poster-accent), rgba(5, 29, 35, 0));
  opacity: 0.3;
}
.poster__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 64%;
  padding-top: 64%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(240, 198, 185, 0.3);
}
.poster__sun::after {
  content: '';
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 2px dashed rgba(240, 198, 185, 0.16);
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.poster__leaf {
  position: absolute;
  width: 58%;
  height: 58%;
  --leaf-c: #113d3e;
  --leaf-c2: #0b3138;
  animation: sway 10s ease-in-out infinite alternate;
}
.poster__leaf--a { left: -16%; bottom: -14%; --r: 28deg; transform-origin: 40% 100%; }
.poster__leaf--b { right: -20%; top: -10%; --r: 196deg; transform-origin: 30% 30%; animation-duration: 13s; }
.poster__frame { position: absolute; left: 50%; top: 50%; width: 60%; height: 80%; transform: translate(-50%, -50%); }
.poster__art { display: block; width: 100%; height: 100%; overflow: visible; }
.poster .ink { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.poster .ink--accent { stroke: var(--poster-accent); }
.poster .fillin { opacity: 0; }
.poster.is-drawn .ink { animation: ink 2s cubic-bezier(0.65, 0, 0.35, 1) forwards; animation-delay: calc(300ms + var(--i, 0) * 85ms); }
.poster.is-drawn .fillin { animation: fill-in 1.1s ease-out forwards; animation-delay: calc(1300ms + var(--i, 0) * 45ms); }
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes fill-in { from { opacity: 0; } to { opacity: 1; } }
.poster .bulb { animation-name: fill-in, twinkle; animation-duration: 1.1s, 1.6s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; }
.poster.is-drawn .bulb { animation-delay: calc(1300ms + var(--i, 0) * 45ms), calc(2600ms + var(--i, 0) * 180ms); }
@keyframes twinkle { from { opacity: 1; } to { opacity: 0.35; } }

.poster__bubble {
  position: absolute;
  width: 2.6%;
  padding-top: 2.6%;
  border-radius: 50%;
  border: 2px solid rgba(246, 239, 230, 0.75);
  opacity: 0;
}
.poster.is-drawn .poster__bubble { animation: bubble 3.4s ease-in infinite; animation-delay: calc(2s + var(--i) * 0.6s); }
@keyframes bubble {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  15% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(0, -900%, 0) scale(1); }
}
.poster__steam { position: absolute; width: 7%; height: 16%; opacity: 0; }
.poster__steam svg { display: block; width: 100%; height: 100%; }
.poster.is-drawn .poster__steam { animation: steam 3.8s ease-in-out infinite; animation-delay: calc(1.8s + var(--i) * 1.2s); }
@keyframes steam {
  0% { opacity: 0; transform: translate3d(0, 25%, 0) scaleY(0.8); }
  35% { opacity: 0.55; }
  100% { opacity: 0; transform: translate3d(0, -55%, 0) scaleY(1.2); }
}
.poster__spark { position: absolute; width: 3.4%; padding-top: 3.4%; opacity: 0; }
.poster__spark::before, .poster__spark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 100%;
  margin-left: -7%;
  border-radius: 4px;
  background: var(--color-pill);
}
.poster__spark::after { transform: rotate(90deg); }
.poster.is-drawn .poster__spark { animation: spark 2.8s ease-in-out infinite; animation-delay: calc(1.4s + var(--i) * 0.7s); }
@keyframes spark {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

/* ------------------------------------------------------------- vasos y sabor */
.glass { display: block; width: 100%; height: 100%; overflow: visible; color: var(--color-text); }
.glass .ice { fill: rgba(255, 255, 255, 0.4); }
.glass__liquid { transform-box: fill-box; transform-origin: bottom; }

.flavor {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c0) 0 50%, var(--c1) 50% 100%);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* =================================================== PANTALLA 1 · COMIDAS */
.food__media { position: absolute; left: 60px; top: 290px; width: 960px; height: 540px; }
.food__title {
  position: absolute;
  left: 58px;
  top: 680px;
  width: 960px;
  font-family: var(--script);
  font-weight: 500;
  font-size: 196px;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text);
  text-shadow: 0 8px 26px rgba(3, 19, 23, 0.6);
  z-index: 2;
}
.food__body {
  position: absolute;
  left: 64px;
  right: 64px;
  top: 900px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.lead { font-size: 31px; line-height: 1.38; color: var(--color-text-muted); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 24px 22px;
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(240, 198, 185, 0.14), rgba(240, 198, 185, 0.03));
  border: 1.5px solid rgba(240, 198, 185, 0.26);
  transition: background-color 0.8s ease, border-color 0.8s ease;
}
.tier__qty {
  font-weight: 800;
  font-stretch: 78%;
  font-size: 38px;
  line-height: 1;
  color: var(--color-on-pill);
  background: var(--color-pill);
  padding: 9px 20px 10px;
  border-radius: 999px;
}
.price--tier { font-size: 66px; transform-origin: 0 60%; }
.price--tier::before { transform-origin: 0 50%; }
.tier__note { font-size: 25px; font-weight: 500; line-height: 1.2; color: var(--color-text-faint); }

.item--feature .item__name { font-size: 52px; }
.item--feature .price { font-size: 58px; }

.sauces__head { display: flex; align-items: center; gap: 22px; }
.price--sauce { font-size: 52px; }
.chips { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 17px;
  border-radius: 22px;
  background: rgba(246, 239, 230, 0.055);
  border: 1.5px solid rgba(246, 239, 230, 0.12);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-text);
}
.chip__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45); }

.list { display: flex; flex-direction: column; gap: 36px; }
.list--burgers { gap: 40px; }

.matrix { display: flex; flex-direction: column; }
.matrix__head, .matrix__row {
  display: grid;
  grid-template-columns: 1fr repeat(var(--cols), 198px);
  column-gap: 10px;
  align-items: center;
}
.matrix__head { padding-bottom: 14px; }
.pill--col { font-size: 25px; padding: 11px 10px 12px; text-align: center; }
.matrix__row { position: relative; row-gap: 10px; padding: 22px 0 24px; border-top: 1.5px solid rgba(217, 203, 189, 0.16); }
.matrix__name { position: relative; font-weight: 800; font-stretch: 80%; font-size: 52px; line-height: 1; }
.matrix__cell { position: relative; display: flex; justify-content: center; }
.price--cell { font-size: 50px; transform-origin: 50% 60%; }
.matrix__desc { position: relative; grid-column: 1 / -1; font-size: 27px; line-height: 1.36; color: var(--color-text-muted); }

.note-pill {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-on-pill);
  background: var(--color-pill);
  padding: 17px 26px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.list--burgers + .note-pill { font-size: 23px; letter-spacing: 0.06em; }

/* ------------------------------------------------------ pausas de video */
.scene--pause .media--full { position: absolute; inset: 0; }
.scene--pause .media__shade { background: linear-gradient(to top, rgba(3, 19, 23, 0.9), rgba(3, 19, 23, 0) 55%); }
.pause__overlay { position: absolute; z-index: 4; display: flex; flex-direction: column; color: var(--color-text); }
.pause__logo { width: 210px; height: 210px; margin-bottom: 18px; }
.pause__logo .logo { display: block; width: 100%; height: 100%; }
.pause__kicker { font-weight: 800; font-stretch: 72%; font-size: 76px; line-height: 0.9; }
.pause__script {
  font-family: var(--script);
  font-weight: 500;
  font-size: 210px;
  line-height: 0.95;
  white-space: nowrap;
  text-shadow: 0 10px 30px rgba(3, 19, 23, 0.65);
}

.stage--portrait .pause__overlay { left: 0; right: 0; top: 96px; align-items: center; text-align: center; }
.stage--portrait .pause__logo { width: 150px; height: 150px; margin-bottom: 10px; }
.stage--portrait .pause__script { font-size: 170px; }
.stage--portrait .scene--pause .media__shade { background: linear-gradient(to bottom, rgba(3, 19, 23, 0.88), rgba(3, 19, 23, 0) 42%); }
.stage--portrait .scene--pause .poster__frame { top: 62%; }
.stage--landscape .pause__overlay { left: 130px; top: 0; bottom: 0; justify-content: center; align-items: flex-start; }
.stage--landscape .scene--pause .poster__frame { left: 68%; }
.stage--landscape .scene--pause .media__shade { background: linear-gradient(to right, rgba(3, 19, 23, 0.85), rgba(3, 19, 23, 0) 58%); }

/* ===================================== PANTALLA 2 · CÓCTELES DE LA CASA */
.ck__media { position: absolute; left: 60px; top: 184px; width: 600px; height: 816px; }
.is-flip .ck__media { left: auto; right: 60px; }
.ck__content { position: absolute; left: 724px; right: 64px; top: 150px; bottom: 86px; display: flex; flex-direction: column; }
.is-flip .ck__content { left: 64px; right: 724px; }
.ck__head { position: relative; height: 158px; flex: none; }
.ck__title {
  font-family: var(--script);
  font-weight: 500;
  font-size: 156px;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-text);
  width: 100%;
}
.ck__swash { position: absolute; left: 6px; bottom: 4px; width: 260px; height: 8px; border-radius: 4px; background: var(--accent); transform-origin: left; }

.ck__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 54px; row-gap: 28px; align-content: center; }
.ck {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  column-gap: 22px;
  align-items: start;
}
.ck.is-lit .glass__liquid { animation: refill 1.3s var(--ease-out); }
@keyframes refill { from { transform: translateY(100%); } to { transform: none; } }
.ck__glass { position: relative; width: 74px; height: 98px; margin-top: -4px; }
.ck__text { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ck .item__row { gap: 14px; }
.ck .item__name { font-size: 42px; font-stretch: 76%; white-space: nowrap; }
.ck .item__name.is-wrapped { white-space: normal; }
.ck .price { font-size: 44px; }
.ck .item__desc { font-size: 26px; line-height: 1.34; }

.ck__grid--4 { row-gap: 54px; }
.ck__grid--4 .ck { grid-template-columns: 96px 1fr; column-gap: 26px; }
.ck__grid--4 .ck__glass { width: 96px; height: 126px; }
.ck__grid--4 .item__row { flex-direction: column; align-items: flex-start; gap: 10px; }
.ck__grid--4 .item__leader { display: none; }
.ck__grid--4 .item__name { font-size: 50px; white-space: normal; }
.ck__grid--4 .price { font-size: 56px; transform-origin: 0 60%; }
.ck__grid--4 .price::before { transform-origin: 0 50%; }
.ck__grid--4 .item__desc { font-size: 30px; }

/* ============================================== PANTALLA 3 · BEBIDAS */
.cols {
  position: absolute;
  left: 64px;
  right: 64px;
  top: 184px;
  bottom: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  align-items: stretch;
}
.cols--2.cols--media { grid-template-columns: 1.12fr 0.9fr 0.98fr; }
.cols--shots { grid-template-columns: 0.86fr 1.2fr 0.94fr; }
.cols--frozen { grid-template-columns: 0.94fr 1.1fr 0.96fr; }
.col { position: relative; display: flex; flex-direction: column; min-width: 0; }

.cat-bar { position: relative; height: 80px; display: flex; align-items: center; padding: 0 34px; margin-bottom: 12px; flex: none; }
.cat-bar__bg {
  position: absolute;
  inset: 0;
  border-radius: 18px 999px 999px 18px;
  background: var(--color-bar);
  transform-origin: left;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.7);
}
.cat-bar__name {
  position: relative;
  font-weight: 800;
  font-stretch: 84%;
  font-size: 44px;
  line-height: 1;
  color: var(--color-on-bar);
  white-space: nowrap;
}
.col__desc { font-size: 27px; line-height: 1.3; color: var(--color-text-muted); margin: 6px 4px 8px; }
.rows { list-style: none; padding: 0; display: flex; flex-direction: column; }
.row { position: relative; display: flex; align-items: center; gap: 16px; height: 76px; padding: 0 8px; }
.row > * { position: relative; }
.row__name { font-weight: 650; font-stretch: 84%; font-size: 41px; line-height: 1; color: var(--color-text); white-space: nowrap; }
.row .item__leader { align-self: center; margin: 10px 0 0; }
.price--row { font-size: 47px; }

.col__media { flex: 1; min-height: 240px; margin-top: 26px; }
.cols__media { height: 100%; min-height: 0; }

/* Islita Mobile Bar */
.mb__media { position: absolute; left: 60px; top: 184px; width: 700px; height: 800px; }
.mb__content {
  position: absolute;
  left: 840px;
  right: 110px;
  top: 170px;
  bottom: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.mb__lockup { display: flex; align-items: center; gap: 24px; color: var(--color-text); }
.logo--mb { width: 150px; height: 150px; }
.mb__title { font-family: var(--script); font-weight: 500; font-size: 150px; line-height: 0.95; white-space: nowrap; }
.mb__p { font-size: 36px; line-height: 1.42; color: var(--color-text-muted); max-width: 920px; }
.mb__p--lead { font-size: 42px; font-weight: 600; line-height: 1.32; color: var(--color-text); }
.mb__ig {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding: 18px 36px 18px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--color-on-pill);
  background: var(--color-pill);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}
.ig { width: 50px; height: 50px; flex: none; }

/* ------------------------------------------------------------- pie */
.foot { position: absolute; z-index: 5; }
.stage--portrait .foot { left: 64px; right: 64px; bottom: 50px; }
.stage--landscape .foot { left: 64px; right: 64px; bottom: 32px; }
[data-screen="pantalla-3"] .foot { left: 0; right: 0; bottom: 0; height: 60px; }

/* cinta Mobile Bar (pantalla 3) */
.ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bar);
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.5);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-left: 30px;
  white-space: nowrap;
  animation: marquee 70s linear infinite;
  will-change: transform;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.ticker__item { font-size: 27px; font-weight: 600; color: var(--color-text); }
.ticker__item b { font-weight: 800; color: var(--color-price); }
.ticker__sep { width: 20px; height: 20px; flex: none; color: var(--color-price); }
.ticker__ig { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.ticker__ig .ig { width: 28px; height: 28px; }

/* ------------------------------------------------------- transiciones */
.fx { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.fx-tide, .fx-leaves, .fx-iris { position: absolute; visibility: hidden; }
.fx.is-tide .fx-tide, .fx.is-leaves .fx-leaves, .fx.is-iris .fx-iris { visibility: visible; }

.fx-tide { inset: 0; overflow: hidden; }
.fx-tide__wave {
  position: absolute;
  left: -2%;
  width: 104%;
  top: 0;
  height: 150%;
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  will-change: transform;
}
.fx-tide__crest { flex: none; height: 180px; margin-bottom: -2px; }
.stage--landscape .fx-tide__crest { height: 140px; }
.fx-tide__crest svg { display: block; width: 100%; height: 100%; }
.fx-tide__crest--bottom { transform: scaleY(-1); margin: -2px 0 0; }
.fx-tide__body { flex: 1; background: var(--c); }

.fx-leaves { left: 0; top: 0; height: 100%; transform: translateX(-300%); will-change: transform; }
.fx-leaves__band {
  position: absolute;
  left: var(--fringe);
  right: var(--fringe);
  top: -2%;
  bottom: -2%;
  background: radial-gradient(120% 80% at 50% 50%, #082a30, #031317 80%);
}
.fx-leaves__leaf { position: absolute; }

.fx-iris { inset: 0; }
.fx-iris__c { position: absolute; inset: 0; clip-path: circle(0px at 50% 50%); }
.fx-iris__c--1 { background: var(--color-pill); }
.fx-iris__c--2 { background: radial-gradient(70% 60% at 50% 46%, #0d3a40, #031317 85%); }
.fx.is-boot .fx-iris__c--2 { clip-path: none; }
.fx.is-boot .fx-iris__c--1 { visibility: hidden; }
.fx-iris__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  color: var(--color-text);
  opacity: 0;
}
.stage--landscape .fx-iris__logo { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
.fx-iris__logo .logo { display: block; width: 100%; height: 100%; }
.fx-iris__logo.is-on { opacity: 1; }
.fx-iris__logo.is-on .logo__ring { animation: logo-ring 1.2s var(--ease-out) both; }
.fx-iris__logo.is-on .logo__straw { animation: logo-straw 0.9s 0.45s var(--ease-back) both; }
.fx-iris__logo.is-on .logo__letters { animation: logo-letters 1s 0.3s var(--ease-out) both; }
.fx-iris__logo.is-on .logo__bubble { animation: logo-bubble 0.7s both var(--ease-back); animation-delay: calc(0.75s + var(--i) * 0.12s); }
@keyframes logo-ring { from { opacity: 0; transform: rotate(-80deg) scale(0.72); } to { opacity: 1; transform: none; } }
@keyframes logo-straw { from { opacity: 0; transform: translate(-14%, 20%) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes logo-letters { from { opacity: 0; transform: translateY(14%) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes logo-bubble { from { opacity: 0; transform: translateY(80%) scale(0.4); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- avisos de operador */
.toast {
  position: fixed;
  left: 50%;
  bottom: 4vh;
  z-index: 50;
  transform: translate(-50%, 20px);
  padding: 14px 24px;
  border-radius: 999px;
  background: rgba(3, 19, 23, 0.92);
  border: 1px solid rgba(240, 198, 185, 0.4);
  color: #f6efe6;
  font: 600 16px/1.2 'Archivo', system-ui, sans-serif;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.awake { position: fixed; left: 0; top: 0; width: 2px; height: 2px; opacity: 0.01; pointer-events: none; }

/* ----------------------------------------------------- modos especiales */
.lite .bg__particles, .lite .poster__bubble, .lite .poster__steam, .lite .poster__spark { display: none; }
.lite .bg__leaf, .lite .poster__leaf, .lite .bg__glow, .lite .poster__sun::after { animation: none; }

.capture .poster .ink { animation: none !important; stroke-dashoffset: 0; }
.capture .poster .fillin { animation: none !important; opacity: 1; }
.capture .fx { display: none; }

@media (prefers-reduced-motion: reduce) {
  .bg__leaf, .poster__leaf, .bg__glow, .bg__particles i, .poster__sun::after, .ticker__track,
  .poster__bubble, .poster__steam, .poster__spark, .media__img, .logo--head .logo__bubble { animation: none !important; }
  .poster .ink { stroke-dashoffset: 0; animation: none !important; }
  .poster .fillin { opacity: 1; animation: none !important; }
}

/* modo ligero: el arte de respaldo aparece ya dibujado */
.lite .poster .ink { stroke-dashoffset: 0; animation: none !important; }
.lite .poster .fillin { opacity: 1; animation: none !important; }
