/* Tilapia Colombiana. Pase lo que pase, cocínalo.
   Colores y tipografías tomados del toolkit (página 12).

   Tipografías de marca: cuando lleguen con licencia web, copiar los .woff2
   a assets/fuentes/ y descomentar este bloque.

@font-face { font-family: "Ranille"; src: url("assets/fuentes/Ranille.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham Narrow"; src: url("assets/fuentes/GothamNarrow-Book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
*/

:root {
  --cream: #FAE8D1;
  --cream-light: #FDF4E7;
  --cream-deep: #F2D9BB;
  --rust: #C43604;
  --rust-deep: #A42C02;
  --navy: #01295F;
  --sun: #FFCB05;
  --brush: #E5A50F;
  --white: #FFFDF9;

  --font-head: "Ranille", "Fraunces", Georgia, serif;
  --font-body: "Gotham Narrow", "Sofia Sans Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  --curve: clamp(28px, 6vw, 88px);
  --hero-h: clamp(620px, 100svh, 72vw);
  --tag-w: clamp(190px, 23.4vw, 470px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 400 1.125rem/1.45 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

h2, h3, .hl {
  font-family: var(--font-head);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144;
  font-weight: 800;
  letter-spacing: -.03em;
}
h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; text-wrap: balance; }

.eyebrow {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow--light { color: var(--sun); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  background: var(--rust); color: var(--white);
  font-weight: 700; font-size: 1.125rem; text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(164, 44, 2, .7);
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s;
}
.btn:hover { background: var(--rust-deep); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 1rem; box-shadow: none; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost svg { transition: transform .6s var(--ease); }
.btn--ghost:hover svg { transform: rotate(180deg); }

/* Navegación */
/* El tag cuelga de su cuerda, que sale por el borde derecho de la pantalla */
.nav {
  position: absolute; left: 0; right: 0; top: calc(var(--hero-h) * .058); z-index: 30;
  display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.6vw, 28px);
  pointer-events: none;
  overflow-x: clip;
}
.nav > * { pointer-events: auto; }
.nav__brand { order: 2; display: block; flex: none; width: var(--tag-w); margin-right: calc(var(--tag-w) * -.092); }
.nav__brand img { width: 100%; transform-origin: 100% 67%; animation: swing 5s ease-in-out infinite; }
.nav__right { order: 1; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(1, 41, 95, .35); background: rgba(255, 253, 249, .5); }
.lang button { min-width: 44px; height: 38px; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
@keyframes swing { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }

/* Botones fijos arriba a la izquierda: menú y sonido */
.topbar { position: fixed; z-index: 45; left: var(--gutter); top: 14px; display: flex; gap: 10px; }
.tbtn {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-light); color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy), 0 10px 22px -12px rgba(1, 41, 95, .6);
  transition: background-color .2s, color .2s, scale .3s var(--ease);
}
.tbtn:hover { background: var(--navy); color: var(--white); }
.tbtn:active { scale: .94; }
.tbtn--sound .wave { transition: opacity .25s; }
.tbtn--sound .mute { opacity: 0; transition: opacity .25s; }
.tbtn--sound[aria-pressed="false"] .wave { opacity: 0; }
.tbtn--sound[aria-pressed="false"] .mute { opacity: 1; }
.tbtn--sound.is-playing { background: var(--rust); color: var(--white); box-shadow: 0 0 0 0 rgba(196, 54, 4, .45), 0 10px 22px -12px rgba(1, 41, 95, .6); animation: pulse 1.6s ease-out infinite; }
.tbtn--sound.is-playing .wave--1 { animation: wave 1s ease-in-out infinite alternate; }
.tbtn--sound.is-playing .wave--2 { animation: wave 1s ease-in-out .25s infinite alternate; }
@keyframes wave { from { opacity: .25; } }

/* Menú: panel que entra por la izquierda */
.menu {
  position: fixed; inset: 0 auto 0 0;
  width: min(420px, 100vw); max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--navy);
}
.menu::backdrop { background: rgba(1, 41, 95, .55); }
.menu[open] { display: block; animation: menu-in .45s var(--ease); }
.menu[open]::backdrop { animation: legal-fade .3s ease-out; }
@keyframes menu-in { from { transform: translateX(-100%); } }
html:has(.menu[open]) { overflow: hidden; }
.menu__panel {
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(14px, 1.6vw, 24px) clamp(22px, 2.4vw, 36px) calc(28px + env(safe-area-inset-bottom));
  background: var(--cream-light) url(assets/fondos/textura.webp) center / cover;
}
.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu__tag { width: 170px; margin-left: -6px; }
.menu__links { display: grid; margin-top: 8px; }
.menu__links a {
  padding: 12px 0; border-bottom: 2px solid rgba(1, 41, 95, .12);
  font: 800 clamp(1.6rem, 2.2vw, 2.1rem)/1.05 var(--font-head); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; letter-spacing: -.02em;
  color: var(--rust); text-decoration: none;
  transition: color .2s, padding-left .3s var(--ease);
}
.menu__links a:hover { color: var(--navy); padding-left: 10px; }
.menu__kit {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  border-radius: 999px; background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  transition: background-color .2s;
}
.menu__kit:hover { background: var(--rust); }
.menu__kit[aria-disabled="true"] { background: rgba(1, 41, 95, .18); color: var(--navy); cursor: default; }
.menu__soon { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--navy); font-style: normal; font-size: .85rem; }
.menu__legal { margin-top: auto; display: grid; gap: 2px; font-size: .95rem; }
.menu__legal a { display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(var(--hero-h) + var(--curve));
  overflow: clip;
  /* Textura como capa más baja; abajo se funde en crema para continuar sin corte en el video */
  background: linear-gradient(to top, var(--cream) var(--curve), transparent calc(var(--curve) + 14vw)), var(--cream) url(assets/fondos/textura.webp) center / cover no-repeat;
}
/* Foto de ambiente: a la derecha, en grises, fundida por arriba, abajo e izquierda.
   Baja hasta el borde inferior del tag para que este no le tape la cara al cocinero. */
.hero__bg {
  position: absolute; top: calc(var(--hero-h) * .058 + var(--tag-w) * .3); right: 0;
  width: 66vw; height: auto; max-width: none;
  filter: grayscale(1);
  opacity: .25;
  pointer-events: none;
  --bg-fade: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .35) 34%, #000 66%), linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 12%, #000 24%, #000 46%, transparent 100%);
  -webkit-mask-image: var(--bg-fade);
  mask-image: var(--bg-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.stage { position: absolute; left: 0; right: 0; top: 0; height: var(--hero-h); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero__copy {
  position: absolute; z-index: 5; left: var(--gutter); top: max(calc(var(--hero-h) * .07), 76px); /* deja libre el menú y el sonido */
  width: clamp(420px, 44vw, 900px);
  pointer-events: none;
}
/* Botón centrado sobre el borde inferior del plato, una flecha a cada lado; debajo, giro y pausa */
.hero__actions {
  position: absolute; z-index: 7; left: var(--cx, 50%); top: var(--cta-y, 80%);
  transform: translate(-50%, -40px);
  display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap;
}
.hero__main { display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero__sub { display: flex; align-items: center; justify-content: center; gap: 4px; }
.arrow { width: 56px; padding: 0; flex: none; background: var(--cream-light); box-shadow: inset 0 0 0 2px var(--navy); }
.arrow:hover { background: var(--navy); }
.arrow:hover svg { transform: none; }
.spinlink {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  color: var(--navy); font-weight: 600; font-size: .95rem;
  transition: background-color .2s;
}
.spinlink:hover { background: var(--cream-deep); }
.spinlink svg { transition: transform .6s var(--ease); }
.spinlink:hover svg { transform: rotate(180deg); }

/* Cada situación ocupa la misma celda: la altura no salta al cambiar de texto */
.slides { display: grid; }
.slide { grid-area: 1 / 1; align-self: start; display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 22px); }
.slide .eyebrow { font-size: clamp(.8rem, .85vw, 1rem); opacity: 0; transition: opacity .2s; }
.slide.is-active .eyebrow { opacity: 1; transition: opacity .5s .1s; }

.hl {
  color: var(--rust);
  font-size: clamp(2rem, min(3.2vw, 5.7svh), 4.6rem);
  text-wrap: balance;
  /* Ancho según el largo de la frase: así nunca queda en una línea ni pasa de dos */
  max-width: calc(var(--len, 40) * .31em);
  line-height: .94;
  visibility: hidden;
  transition: visibility 0s .35s;
}
.hl.is-active { visibility: visible; transition: visibility 0s; }
.hl .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .03em .16em 0; margin-bottom: -.16em; }
.hl .w > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform .35s ease-in;
}
.hl.is-active .w > span {
  transform: none;
  transition: transform .85s var(--ease) calc(var(--i) * 45ms + .12s);
}
.hl .em { font-size: 1.16em; }
/* Los titulares de más de tres líneas bajan de tamaño para no tocar el arco */
.slide--long .hl { font-size: clamp(1.75rem, min(2.6vw, 4.7svh), 3.8rem); }
.brush {
  display: block; width: min(78%, 460px); height: 18px; margin-top: 8px; color: var(--brush);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .2s;
}
.hl.is-active .brush { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease) .55s; }

.bd {
  max-width: clamp(260px, 24vw, 500px);
  text-align: justify;
  text-wrap: pretty;
  hyphens: none; /* una palabra que no cabe baja completa a la línea siguiente */
  font-size: clamp(1rem, 1.05vw, 1.3rem);
  line-height: 1.32;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.bd.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .6s .35s, transform .7s var(--ease) .35s, visibility 0s; }
/* Pantallas bajas: la rueda sube; el texto azul se angosta para no tocar sus etiquetas */
@media (min-width: 861px) and (max-height: 700px) {
  .bd { max-width: 265px; font-size: .95rem; text-wrap: wrap; }
  .hero__actions { transform: translate(-50%, -50px); }
}

.stage__center { position: absolute; left: var(--cx, 50%); top: var(--cy, 60%); width: 0; height: 0; }

.ring { position: absolute; left: calc(var(--R) * -1); top: calc(var(--R) * -1); width: calc(var(--R) * 2); height: calc(var(--R) * 2); border-radius: 50%; pointer-events: none; }
.ring--dash {
  /* Firme arriba y desvanecida a los costados: termina antes de los platitos que se apagan */
  --arc-full: 22deg;
  --arc-end: 66deg;
  --arc-mask: conic-gradient(#000 0 var(--arc-full), transparent var(--arc-end), transparent calc(360deg - var(--arc-end)), #000 calc(360deg - var(--arc-full)));
  border: 1.5px dashed rgba(1, 41, 95, .4);
  -webkit-mask-image: var(--arc-mask);
  mask-image: var(--arc-mask);
}

/* Platos: se deslizan por el arco, nunca giran (la foto tiene luz y ángulo fijos) */
.plates { position: absolute; left: 0; top: 0; }
.plate {
  position: absolute;
  width: var(--plate-w);
  left: calc(var(--plate-w) / -2);
  top: calc(var(--plate-w) * -.3 - var(--plate-lift, 0px));
  opacity: 0;
  transform: translate(calc(var(--d, 1) * 62%), -42%) scale(.42);
  transition: transform .55s cubic-bezier(.55, 0, .75, .4), opacity .4s .1s;
  pointer-events: none;
}
.plate.no-anim { transition: none; }
.plate.is-active {
  opacity: 1; transform: none;
  transition: transform 1s var(--ease) .12s, opacity .4s .12s;
}
.plate img { position: relative; width: 100%; }
.plate::before {
  content: ""; position: absolute; left: 7%; right: 7%; bottom: -3%; height: 34%;
  border-radius: 50%; background: rgba(120, 66, 22, .42); filter: blur(22px);
  opacity: 0; transition: opacity .3s;
}
.plate.is-ready::before { opacity: 1; }

.floats { position: absolute; left: 0; top: 0; pointer-events: none; }
.float {
  position: absolute;
  width: calc(var(--R) * var(--s) * var(--k, 1));
  left: calc(var(--R) * var(--x));
  top: calc(var(--R) * var(--y));
  margin-left: calc(var(--R) * var(--s) * var(--k, 1) / -2);
  transform: translate(calc(var(--mx, 0) * var(--dp) * 1px), calc(var(--my, 0) * var(--dp) * 1px));
  transition: transform .5s ease-out;
}
.float img {
  width: 100%;
  animation: bob var(--t, 6s) ease-in-out infinite alternate;
  filter: drop-shadow(0 14px 10px rgba(120, 66, 22, .28));
  opacity: 1;
  transition: opacity .25s, scale .6s var(--ease);
}
.float.is-out img { opacity: 0; scale: .4; }
@keyframes bob { from { transform: translateY(-7px) rotate(-5deg); } to { transform: translateY(9px) rotate(7deg); } }

/* Ruleta de "Pase lo que pase": los platos se relevan en su sitio, sin deslizarse */
.is-spinning .plate { transition: opacity .22s linear; transform: none; }
.is-spinning .plate.is-active { transition: opacity .08s linear; }
.is-spinning .nodes, .is-spinning #heroCta, .is-spinning .arrow, .is-spinning #spin { pointer-events: none; }
.is-spinning .arrow { opacity: .45; }
.is-spinning .node__thumb { transition: none; }
.is-spinning .spinlink svg { animation: spin-icon .7s linear infinite; }
@keyframes spin-icon { to { transform: rotate(360deg); } }
.arrow { transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, opacity .25s; }
@media (min-width: 861px) {
  .plates { transition: filter .25s; }
  .is-spinning-fast .plates { filter: blur(2.5px); }
}

/* Selector en arco */
.nodes { position: absolute; left: 0; top: 0; }
.node {
  position: absolute; left: 0; top: 0;
  display: block;
  width: var(--thumb); height: var(--thumb);
  margin: calc(var(--thumb) / -2) 0 0 calc(var(--thumb) / -2);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.node__thumb {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 16px -8px rgba(120, 66, 22, .6);
  display: grid; place-items: center;
  transition: scale .35s var(--ease), background-color .3s, box-shadow .3s;
}
.node__thumb img { width: 94%; pointer-events: none; }
.node:hover .node__thumb { scale: 1.12; }
.node__label {
  position: absolute; left: 50%; bottom: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 500; font-size: clamp(.9rem, 1.05vw, 1.05rem); letter-spacing: .02em;
  color: var(--navy);
  transition: color .3s;
}
.node.is-active .node__label { color: var(--rust); font-weight: 700; }
.node.is-active .node__thumb { background: var(--rust); box-shadow: 0 0 0 6px rgba(196, 54, 4, .18); scale: .46; }
.node.is-active .node__thumb img { opacity: 0; }

.hand {
  position: absolute; z-index: 6; pointer-events: none;
  width: calc(var(--R) * 1.4); max-width: none;
  left: calc(var(--cx) - var(--R) * .17);
  top: calc(var(--cy) - var(--R) * .957 - var(--plate-lift, 0px));
  transform: translate(70%, -70%);
  opacity: 0;
  transition: transform .9s var(--ease), opacity .3s;
  /* La foto corta la manga contra su borde: se desvanece para que no se note */
  -webkit-mask-image: linear-gradient(to right, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, #000 93%, transparent 100%);
}
.hand.is-in { transform: none; opacity: 1; }
.herbs { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.herbs img { position: absolute; left: 0; top: 0; }

.pause {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  color: var(--navy);
  transition: background-color .2s;
}
.pause:hover { background: var(--cream-deep); }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Video ---------- */
.spot {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--curve) * -1);
  /* Continúa el hero: sin corte ni color de fondo propio */
  background: linear-gradient(var(--cream), transparent 14vw, transparent calc(100% - 14vw), var(--cream)), var(--cream) url(assets/fondos/textura.webp) center / cover no-repeat;
  color: var(--navy);
  padding: clamp(40px, 5vw, 90px) var(--gutter) clamp(120px, 15vw, 260px);
  display: grid; gap: clamp(28px, 3.4vw, 48px);
  justify-items: center;
}
.spot h2 { color: var(--rust); }
.spot__head, .reel, .spot__cta { position: relative; z-index: 1; }
.reel { width: min(64vw, 1240px); display: grid; gap: clamp(14px, 1.6vw, 22px); }
/* Composiciones de ingredientes a los lados */
.spot__art { position: absolute; inset: 0; pointer-events: none; }
.spot__art img { position: absolute; height: auto; max-width: none; }
.spot__tomates { left: 0; top: -6vw; width: 15.5vw; }
.spot__albahaca { right: 0; top: 40%; width: 18vw; }
.spot__limon { left: 0; bottom: 9vw; width: 15.5vw; }
.spot__rodaja { left: 32%; bottom: 3.5vw; width: 12vw; animation: bob 7s ease-in-out infinite alternate; filter: drop-shadow(0 14px 10px rgba(120, 66, 22, .28)); }
.spot__head { position: relative; max-width: min(900px, 62vw); text-align: center; display: grid; gap: 16px; }
.player {
  position: relative;
  width: 100%; aspect-ratio: 16 / 9;
  border-radius: clamp(14px, 2vw, 28px);
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 30px 60px -28px rgba(120, 66, 22, .55);
}
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.poster { position: absolute; inset: 0; }
.poster__img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; left: 50%; top: 50%;
  width: clamp(68px, 9vw, 104px); aspect-ratio: 1;
  margin: calc(clamp(68px, 9vw, 104px) / -2) 0 0 calc(clamp(68px, 9vw, 104px) / -2);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--rust); color: var(--white);
  box-shadow: 0 0 0 0 rgba(196, 54, 4, .5);
  animation: pulse 2.6s ease-out infinite;
  transition: scale .3s var(--ease);
}
.play:hover { scale: 1.08; }
@keyframes pulse { to { box-shadow: 0 0 0 clamp(18px, 3vw, 36px) rgba(196, 54, 4, 0); } }
.poster { animation: poster-in .5s var(--ease); }
@keyframes poster-in { from { opacity: 0; scale: 1.03; } }
.reel__bar { display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 32px); }
.reel__thumbs { display: flex; gap: clamp(10px, 1.2vw, 18px); }
.reel__thumbs button {
  position: relative; display: block; width: clamp(110px, 10vw, 180px); aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 20px -14px rgba(120, 66, 22, .7);
  opacity: .62; transition: opacity .25s, box-shadow .25s, transform .3s var(--ease);
}
.reel__thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.reel__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--rust), 0 12px 20px -14px rgba(120, 66, 22, .7); }
.reel__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.reel__thumbs span {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--cream-light); color: var(--navy); font-weight: 700; font-size: .8rem; line-height: 1.3; white-space: nowrap;
}
.reel__nav { display: flex; align-items: center; gap: 14px; }
.reel__dots { display: flex; gap: 4px; }
.reel__dots button { width: 28px; height: 44px; display: grid; place-items: center; }
.reel__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(1, 41, 95, .3); transition: width .35s var(--ease), background-color .25s; }
.reel__dots button[aria-current="true"]::before { width: 24px; background: var(--rust); }
.reel__dots button[aria-current="true"] { width: 38px; }
.player__note {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  padding: 8px 18px; border-radius: 999px; font-size: 1rem; white-space: nowrap;
}

/* ---------- Recetas ---------- */
/* Foto en el aire entre el video y las recetas: tenue y en grises, se revela con el mouse */
.couple { position: absolute; right: 0; top: calc(clamp(120px, 15vw, 260px) * -1 + 2vw); width: 62vw; aspect-ratio: 1672 / 941; pointer-events: none; }
.couple__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: grayscale(1);
  opacity: .25;
  transition: opacity .6s ease, filter .6s ease;
  --couple-fade: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .35) 26%, #000 56%), linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 10%, #000 22%, #000 62%, transparent 100%);
  -webkit-mask-image: var(--couple-fade);
  mask-image: var(--couple-fade);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Zona sensible: solo donde la foto se ve, para no activarla desde el fundido */
.couple__hit { position: absolute; left: 34%; right: 0; top: 8%; bottom: 14%; z-index: 2; pointer-events: auto; }
.couple__talk {
  position: absolute; z-index: 2; right: 40%; top: 11%;
  padding: .55em 1em;
  background: var(--cream-light); color: var(--rust);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 2.3rem); line-height: 1.1; white-space: nowrap;
  border-radius: 1em;
  box-shadow: 0 14px 28px -14px rgba(120, 66, 22, .6);
  opacity: 0; transform: translateY(10px) scale(.85);
  transform-origin: 100% 100%;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.couple__talk::after {
  content: ""; position: absolute; right: 12%; bottom: -.5em;
  width: 1em; height: 1em;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
/* En pantallas angostas el título llega más lejos: la zona sensible no debe tocarlo */
@media (max-width: 1400px) { .couple__hit { left: 48%; } }
@media (hover: hover) and (pointer: fine) {
  .couple__hit:hover ~ .couple__img { opacity: 1; filter: none; }
  .couple__hit:hover ~ .couple__talk { opacity: 1; transform: none; transition: opacity .3s .15s, transform .5s var(--ease) .15s; }
}
/* Cuánto se monta la tarjeta de la receta sobre el naranja del registro */
:root { --tuck: clamp(56px, 7vw, 120px); }
.recipes {
  background: linear-gradient(var(--cream), transparent 14vw), var(--cream) url(assets/fondos/textura.webp) center / cover no-repeat;
  padding: clamp(40px, 5vw, 90px) 0 0;
  display: flow-root; /* el margen negativo de la tarjeta acorta el bloque sin arrastrar al siguiente */
  z-index: 3;
  position: relative;
}
.recipes__head { position: relative; z-index: 1; padding: 0 var(--gutter); max-width: 940px; display: grid; gap: 16px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.recipes__head h2 { color: var(--rust); }

.open {
  position: relative;
  margin: 0 var(--gutter) calc(var(--tuck) * -1);
  box-shadow: 0 34px 50px -34px rgba(60, 16, 0, .7);
  background: var(--cream-light);
  border-radius: clamp(20px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 3.4vw, 56px);
  align-items: center;
}
.open__visual { position: relative; }
.open__plate { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 22px 18px rgba(120, 66, 22, .3)); }
/* Cambio de receta: el plato se desliza como en el hero y el texto se funde */
.open__plate, .open__float, .open__body { transition: opacity .32s ease-out, transform .55s var(--ease); }
.open.is-out .open__plate { opacity: 0; transform: translateX(calc(var(--d, 1) * -48px)) scale(.9); transition: opacity .2s ease-in, transform .22s ease-in; }
.open.is-out .open__float { opacity: 0; transition: opacity .15s; }
.open.is-out .open__body { opacity: 0; transform: translateY(8px); transition: opacity .18s ease-in, transform .2s ease-in; }
.open.is-pre .open__plate { opacity: 0; transform: translateX(calc(var(--d, 1) * 48px)) scale(.9); transition: none; }
.open.is-pre .open__float { opacity: 0; transition: none; }
.open.is-pre .open__body { opacity: 0; transform: translateY(-8px); transition: none; }
.open__float { position: absolute; z-index: 2; animation: bob 6s ease-in-out infinite alternate; filter: drop-shadow(0 12px 8px rgba(120, 66, 22, .25)); }
.open__float--a { width: 22%; right: -3%; top: -14%; }
.open__float--b { width: 28%; left: -4%; bottom: -14%; animation-duration: 7.5s; }
.open__kicker { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.open__body h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.02; color: var(--rust); margin: 2px 0 8px; text-wrap: balance; }
.open__desc { font-size: 1.15rem; line-height: 1.3; margin-bottom: 14px; }
.open__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.meta li { padding: 5px 14px; border-radius: 999px; background: var(--cream-deep); font-weight: 500; font-size: 1rem; }
.open__cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(22px, 3vw, 44px); }
.open h4 { font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; line-height: 1.25; }
.checks input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--navy); transition: background-color .2s, border-color .2s; display: grid; place-items: center; cursor: pointer; }
.checks input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.checks input:checked { background: var(--rust); border-color: var(--rust); }
.checks input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.checks input:checked + span { text-decoration: line-through; opacity: .55; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; line-height: 1.32; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  font: 800 1.7rem/1 var(--font-head); color: var(--rust);
}

.more { position: relative; z-index: 3; margin-bottom: clamp(16px, 2vw, 28px); }
.more__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); margin-bottom: 26px; }
.more__head h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; }
.more__nav { display: flex; gap: 8px; flex: none; }
.more__nav button { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--navy); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.more__nav button:hover { background: var(--navy); color: var(--white); }
.rail {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  /* Un carril con scroll recorta lo que sobresale: este relleno da aire al zoom del plato y a la sombra.
     Los márgenes negativos lo compensan para que el contenido no cambie de lugar. */
  padding: 70px var(--gutter) 44px;
  margin: -26px 0 -20px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail li { flex: 1 0 clamp(190px, 16.5vw, 250px); scroll-snap-align: start; display: flex; container-type: inline-size; }
.rcard {
  position: relative; width: 100%; text-align: left;
  background: var(--cream-light);
  border-radius: 24px;
  padding: calc(44cqw + 12px) 16px 16px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .4s var(--ease), box-shadow .3s, background-color .3s;
}
.rcard img {
  position: absolute; left: 50%; top: -30px; width: 86%;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 12px rgba(120, 66, 22, .28));
  transition: transform .6s var(--ease);
}
.rcard strong { font: 800 1.2rem/1.08 var(--font-head); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; letter-spacing: -.02em; color: var(--rust); }
.rcard > span { line-height: 1.28; font-size: .95rem; flex: 1; }
.rcard em { margin-top: 8px; font-style: normal; font-weight: 700; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; }
.rcard[aria-current="true"] { background: var(--white); box-shadow: inset 0 0 0 3px var(--rust); }
.rcard[aria-current="true"] em { color: var(--rust); }
.rcard[aria-current="true"] em::after { content: "↓"; }
.rcard em::after { content: "→"; transition: transform .3s var(--ease); }
.rcard:hover { transform: translateY(-6px); }
.rcard:not([aria-current="true"]):hover { box-shadow: 0 24px 36px -24px rgba(120, 66, 22, .55); }
.rcard:hover img { transform: translateX(-50%) translateY(-10px) scale(1.05); }
.rcard:hover em::after { transform: translateX(5px); }

/* ---------- Registro ---------- */
.signup {
  position: relative;
  background: var(--rust);
  color: var(--cream-light);
  padding: calc(var(--tuck) + clamp(48px, 5.5vw, 88px)) var(--gutter) clamp(64px, 8vw, 120px);
  overflow: clip;
}
/* Misma foto reactiva de la pareja. Vive en el pie: su base toca el final de la página y sube por detrás del registro */
.couple--cook { top: auto; bottom: 0; }
.couple--cook .couple__img {
  --couple-fade: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .35) 26%, #000 56%), linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 8%, #000 18%);
}
/* Por debajo del contenido (z-index 0): nunca le quita clics al formulario ni al pie */
.couple--cook .couple__hit { left: 62%; top: 0; bottom: 0; z-index: 0; }
/* El globo va sobre su cabeza: al lado no cabe sin tapar la tarjeta */
.couple--cook .couple__talk {
  top: auto; right: 1%; bottom: 97%;
  font-size: clamp(1.05rem, 1.6vw, 2rem);
  width: max-content; white-space: pre-line; text-align: center;
}
.couple--cook .couple__talk::after { right: 34%; }
/* En ventanas angostas el globo se achica para no pisar el texto de autorización */
@media (max-width: 1240px) { .couple--cook .couple__talk { font-size: 1.05rem; } }
/* Corrido hacia el centro según el ancho, sin llegar a la cara de la foto */
.signup__inner { position: relative; z-index: 1; width: min(100%, 1240px, max(72vw, 860px)); margin: 0 0 0 clamp(0px, calc((100vw - 1100px) * .24), 200px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.signup__copy { display: grid; gap: 18px; }
.signup__copy > p { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.32; max-width: 34ch; }
.signup__plate { width: min(84%, 520px); margin-top: 8px; filter: drop-shadow(0 28px 22px rgba(60, 16, 0, .5)); }
.signup__float { position: absolute; z-index: 1; animation: bob 7s ease-in-out infinite alternate; filter: drop-shadow(0 14px 10px rgba(60, 16, 0, .4)); }
/* El tomate queda encima de la tarjeta de la receta, tocando su borde inferior */
.signup__float--a { z-index: 4; pointer-events: none; width: clamp(52px, 7vw, 96px); right: 5%; top: calc(var(--tuck) - clamp(16px, 2.4vw, 34px)); }
.signup__float--b { width: clamp(52px, 7vw, 92px); left: 2%; bottom: 4%; animation-duration: 8.5s; }

.card {
  background: var(--cream-light); color: var(--navy);
  border-radius: clamp(20px, 2.6vw, 32px);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 70px -40px rgba(60, 16, 0, .8);
}
#form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label { font-weight: 700; font-size: 1rem; }
.field input[type="email"], .select select {
  width: 100%; height: 56px; padding: 0 16px;
  font-size: 1.0625rem;
  background: var(--white);
  border: 2px solid rgba(1, 41, 95, .32); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="email"]:focus, .select select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(1, 41, 95, .14); }
.field input[aria-invalid="true"] { border-color: var(--rust); }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: 18px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); pointer-events: none; }
.field > label.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .98rem; line-height: 1.32; cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--rust); cursor: pointer; }
.consent a { font-weight: 700; }
.err { color: var(--rust-deep); font-weight: 700; font-size: .98rem; line-height: 1.25; }
.note { font-size: .95rem; line-height: 1.3; opacity: .8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { display: grid; gap: 12px; text-align: center; justify-items: center; padding: 10px 0; }
.done:focus { outline: 0; }
.done__tag { width: min(70%, 260px); transform-origin: 74% 42%; animation: drop .9s var(--ease) both, swing 4s ease-in-out .9s infinite; }
.done h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; color: var(--rust); }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(-14deg); } }

/* ---------- Pie ---------- */
.foot {
  position: relative; background: var(--rust); color: var(--cream-light);
  padding: 34px var(--gutter) calc(34px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marcas tag" "info tag";
  align-items: center; gap: 26px 24px; font-size: 1rem; overflow-x: clip;
}
.foot__info, .foot__tag, .marcas { position: relative; z-index: 1; }
.foot__info { grid-area: info; }
.foot__tag { grid-area: tag; align-self: end; }

/* Marcas que acompañan la campaña: discretas, en grises, se colorean al pasar o tocar */
.marcas { grid-area: marcas; display: flex; align-items: center; gap: 22px; max-width: min(100%, 1100px); }
.marcas__label { flex: none; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.marcas__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marcas__track { display: flex; width: max-content; animation: marquee 150s linear infinite; }
.marcas__viewport:hover .marcas__track, .marcas__track.is-held { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo {
  flex: none; margin-right: 14px; padding: 12px;
  background: #fff; border-radius: 10px;
  filter: grayscale(1); opacity: .82;
  transition: filter .35s, opacity .35s;
  cursor: pointer;
}
.logo img { height: 40px; width: auto; }
.logo:hover, .logo.is-color { filter: none; opacity: 1; }
/* Línea legal: una sola fila en escritorio */
.foot__info { display: flex; align-items: center; gap: 6px 22px; font-size: clamp(.72rem, .82vw, .85rem); line-height: 1.3; }
.foot__info p { white-space: nowrap; }
.foot__links { display: flex; gap: 4px 18px; white-space: nowrap; }
.foot__links a { display: inline-flex; align-items: center; min-height: 32px; text-underline-offset: 3px; }
.foot__links a:hover { text-decoration-thickness: 2px; }
.foot :focus-visible { outline-color: var(--cream-light); }
/* Igual que en el hero, la cuerda de la etiqueta sale por el borde derecho */
.foot__tag { flex: none; width: clamp(190px, 17vw, 300px); margin-right: calc(var(--gutter) * -1 - 6px); }

/* ---------- Ventana de textos legales ---------- */
.legal {
  width: min(760px, calc(100vw - 32px)); max-width: none;
  height: min(820px, calc(100dvh - 48px)); max-height: none;
  margin: auto; padding: 0; border: 0;
  background: transparent; color: var(--navy);
}
.legal::backdrop { background: rgba(1, 41, 95, .62); }
.legal[open] { display: block; animation: legal-in .35s var(--ease); }
.legal[open]::backdrop { animation: legal-fade .3s ease-out; }
@keyframes legal-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes legal-fade { from { opacity: 0; } }
html:has(.legal[open]) { overflow: hidden; }
.legal__panel { position: relative; height: 100%; overflow: hidden; background: var(--cream-light); border-radius: clamp(18px, 2.4vw, 28px); }
.legal__close {
  position: absolute; z-index: 2; right: 12px; top: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  transition: background-color .2s;
}
.legal__close:hover { background: var(--rust); }
.legal__body { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 48px); font-size: 1.0625rem; line-height: 1.45; }
.legal__body:focus-visible { outline-offset: -4px; }
.legal__body h2 { color: var(--rust); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; padding-right: 44px; text-wrap: pretty; }
.legal__body h3 { font-family: var(--font-body); font-variation-settings: normal; font-size: 1.125rem; font-weight: 700; letter-spacing: 0; margin: 26px 0 6px; }
.legal__body p + p, .legal__body ul + p { margin-top: 10px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-top: 8px; display: grid; gap: 4px; }
.legal__body mark { background: var(--sun); color: var(--navy); padding: 0 4px; border-radius: 3px; }
.legal__date { margin-top: 8px; font-size: 1rem; opacity: .8; }
.legal__lang { margin-bottom: 14px; font-weight: 700; }

/* ---------- Elemento flotante ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 186px; display: block;
  text-decoration: none;
  transition: transform .5s var(--ease), opacity .3s;
  filter: drop-shadow(0 12px 14px rgba(1, 41, 95, .35));
}
.fab img { transform-origin: 74% 42%; animation: swing 4.5s ease-in-out infinite; }
.fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fab:hover { transform: scale(1.06); }
.fab.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1040px) {
  .open { grid-template-columns: 1fr; }
  .open__visual { width: min(100%, 520px); margin: 0 auto 18px; }
  .open__float--b { bottom: -2%; left: -5%; width: 22%; }
  .signup__inner { grid-template-columns: 1fr; width: 100%; max-width: 720px; margin: 0 auto; }
  .couple--cook { display: none; }
}

@media (max-width: 860px) {
  :root { --tag-w: min(52vw, 300px); }
  .nav { top: 10px; justify-content: space-between; padding-left: var(--gutter); }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "copy" "stage" "actions";
    height: auto;
    padding: calc(var(--tag-w) * .357 + 18px) 0 var(--curve);
  }
  .hero__copy { grid-area: copy; position: relative; left: auto; top: auto; width: auto; text-align: center; padding: 0 var(--gutter); }
  .slide .eyebrow { font-size: .9rem; }
  .slide { align-items: center; gap: 10px; }
  .hl, .slide--long .hl { font-size: clamp(2.35rem, 10.6vw, 4rem); text-wrap: balance; max-width: none; }
  .hl .w { padding-bottom: .14em; margin-bottom: -.14em; }
  .brush { margin: 6px auto 0; height: 14px; }
  .ring--dash { --arc-full: 28deg; --arc-end: 88deg; }
  .spot { padding-top: 76px; padding-bottom: 150px; }
  .spot__head { max-width: 100%; }
  .player { width: 100%; }
  .spot__tomates { top: -8px; width: 21vw; }
  .spot__albahaca { top: auto; bottom: 14px; width: 30vw; }
  .spot__limon { bottom: 8px; width: 24vw; }
  .spot__rodaja { display: none; }
  .couple { display: none; } /* en móvil no hay ese aire ni mouse */
  .hero__bg { display: none; } /* en móvil caería detrás del titular */
  .bd { margin: 0 auto; max-width: 34ch; font-size: 1.0625rem; text-align: center; }
  .stage { grid-area: stage; position: relative; top: auto; height: var(--stage-h, 92vw); margin-top: 2px; }
  .hero__actions { grid-area: actions; position: relative; left: auto; top: auto; transform: none; gap: 8px; padding: 8px var(--gutter) 34px; }
  .hero__main { align-self: stretch; gap: 8px; }
  .hero__main #heroCta { flex: 1 1 auto; min-width: 0; padding: 0 14px; }
  .arrow { width: 52px; }
  .spinlink, .pause { min-height: 44px; }
  .pause { width: 44px; height: 44px; }
  .node__label { font-size: .875rem; }
  .node:not(.is-near) .node__label { opacity: 0; }
  .fab { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; filter: none; background: var(--navy); color: var(--white); border-radius: 999px; height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; box-shadow: 0 12px 26px -10px rgba(1, 41, 95, .8); }
  .fab img { display: none; }
  .fab span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .open__cols { grid-template-columns: 1fr; }
  .more__nav { display: none; }
  .signup__float--a { right: 7%; }
  .rail li { flex-basis: 46vw; }
  .open__actions .btn { flex: 1 1 100%; }
  .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); gap: 20px 16px; grid-template-areas: "marcas marcas" "info tag"; }
  .marcas { flex-direction: column; align-items: stretch; gap: 12px; margin: 0 calc(var(--gutter) * -1); }
  .marcas__label { padding: 0 var(--gutter); }
  .logo { padding: 10px; }
  .logo img { height: 34px; }
  .topbar { top: 12px; gap: 8px; }
  .tbtn { width: 44px; height: 44px; }
  .reel { width: 100%; }
  .reel__bar { flex-direction: column; gap: 6px; }
  .reel__thumbs { width: 100%; }
  .reel__thumbs li { flex: 1; min-width: 0; }
  .reel__thumbs button { width: 100%; border-radius: 8px; }
  .reel__thumbs span { font-size: .72rem; left: 4px; bottom: 4px; padding: 1px 6px; }
  .foot__info { display: grid; font-size: .8rem; }
  .foot__info p { white-space: normal; }
  .foot__links { flex-direction: column; white-space: normal; }
  .foot__links a { min-height: 44px; }
  .foot__tag { width: 150px; }
  .legal { width: 100vw; height: calc(100dvh - 20px); margin: auto 0 0; }
  .legal[open] { animation-name: legal-up; }
  .legal__panel { border-radius: 20px 20px 0 0; }
  .legal__body { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  @keyframes legal-up { from { transform: translateY(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hand, .herbs { display: none; }
  .marcas__viewport { overflow-x: auto; }
  .marcas__track li[aria-hidden="true"] { display: none; }
}
