:root {
  --ink: #17110d;
  --cream: #f6efe4;
  --paper: #f3efe9;
  --pink: #e46aa6;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --pad: clamp(16px, 3vw, 44px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--cream); background: #0d0806; -webkit-font-smoothing: antialiased; }
/* nada se sale de costado: en celular una nota ensanchaba la página y achicaba todo */
html, body { overflow-x: clip; }
body.is-intro { overflow: hidden; height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ── escenario fijo: luz detrás del envase + la foto real + el 3D ── */
.stage { position: fixed; inset: 0; z-index: 0; background: #1a0d07; }
.stage > i { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.mesa-bg { position: fixed; inset: 0; z-index: 1; visibility: hidden; pointer-events: none; clip-path: inset(var(--mt, 100vh) 0 0 0); background: #0b0a07; }
.mesa-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 45%, #f8f4ee, #e3dacb); opacity: var(--mo, 0); }
/* "Bienvenidas a la familia": sobre el papel y DEBAJO de las barritas (pasan por delante); aparece y se va con un fundido */
.mesa-wel { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; color: var(--ink); font-weight: 600; font-size: clamp(36px, 6.5vw, 120px); line-height: 1; letter-spacing: -.065em; }
.mesa-wel span { display: block; white-space: nowrap; padding-bottom: .06em; opacity: var(--wo, 0); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: block; }

/* ── 0 · intro: dos papeles (uno por mitad) que se abren desde el corte ── */
.intro { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.intro.out { visibility: hidden; }
.intro:not(.go) .plano { visibility: hidden; }
.ip { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--paper); overflow: hidden; transition: clip-path 1s var(--ease); }
.ip-l { left: 0; clip-path: inset(0 0 0 0); }
.ip-r { right: 0; clip-path: inset(0 0 0 0); }
.intro.split .ip-l { clip-path: inset(0 100% 0 0); }
.intro.split .ip-r { clip-path: inset(0 0 0 100%); }
/* cada plano va donde después está su envase: barra al 25 % del ancho, rollo al 75 %; alto en vh como el 3D */
.plano { position: absolute; top: 43.2vh; overflow: visible; transform: translate(-50%, -50%); }
.plano-bar { left: 50%; height: 65vh; }
.plano-roll { left: 50%; width: 55.5vh; }
.plano .ln { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.plano .fino { stroke-width: 1; }
.plano .cota { fill: none; stroke: var(--pink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plano .lbl { font-family: var(--mono); font-size: 13px; letter-spacing: -.03em; fill: var(--ink); opacity: 0; transition: opacity .5s var(--ease); }
.intro.labels .lbl { opacity: 1; }
.intro.labels .plano-roll .lbl { font-size: 15px; }
.seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px; background: var(--pink); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.intro.seam-on .seam { transform: scaleY(1); }

/* ── header: tinta clara sobre lo oscuro, oscura sobre el papel ── */
.header { position: fixed; z-index: 20; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 20px var(--pad); color: var(--cream); opacity: 0; transform: translateY(-8px); transition: opacity .8s var(--ease), transform .8s var(--ease), color .4s; }
body.ready .header { opacity: 1; transform: none; }
body.light .header { color: var(--ink); }
/* al llegar al footer el header se esconde hacia arriba, así no se pisa con "Nuestros productos" */
body.ready.h-hide .header, body.ready.h-away .header { opacity: 0; transform: translateY(-14px); pointer-events: none; }
body.ready.h-away .header { transition: opacity .35s var(--ease), transform .35s var(--ease), color .4s; }
.brand { justify-self: start; position: relative; }
.brand img { height: 26px; display: block; transition: opacity .4s; }   /* solo la palabra, sin la bajada */
.brand .on-light { position: absolute; left: 0; top: 0; opacity: 0; }
body.light .brand .on-light { opacity: 1; } body.light .brand .on-dark { opacity: 0; }
.nav { display: flex; gap: 28px; font-size: 15px; letter-spacing: -.02em; }
.nav a { opacity: .7; transition: opacity .2s; } .nav a[aria-current], .nav a:hover { opacity: 1; }
.h-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
.cart { width: 40px; height: 40px; display: grid; place-items: center; }
.cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

main { position: relative; z-index: 3; }

/* ── 1 · hero: los dos lanzamientos, pantalla partida ── */
.hero { position: relative; height: 100vh; height: 100svh; }
.hv { position: absolute; inset: 0; display: none; will-change: transform, opacity; }   /* se mueve y se desvanece al bajar: en su capa, sin repintar la página */
.hv-c { display: block; }
.cta { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: -.02em; }
.price { font-size: 16px; letter-spacing: -.02em; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease) .25s, transform .8s var(--ease) .25s; }
body.ready .reveal { opacity: 1; transform: none; }
.scroll-hint { position: absolute; will-change: opacity; right: var(--pad); bottom: clamp(28px, 6vh, 64px); font-family: var(--mono); font-size: 12px; letter-spacing: -.03em; }
[data-l1], [data-l2], [data-price] { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero.swapping [data-l1], .hero.swapping [data-l2], .hero.swapping [data-price] { opacity: 0; transform: translateY(-8px); }

/* los dos juntos. --split = ancho (o alto en celular) de la mitad del dulce de leche;
   el título "Nuevos lanzamientos" va sobre el corte */
.hv-c { color: var(--cream); }
.c-half { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(40px, 9vh, 96px); overflow: hidden; }
.c-half.c-ddl { left: 0; width: calc(var(--split, .5) * 100%); }
.c-half.c-lim { right: 0; width: calc((1 - var(--split, .5)) * 100%); align-items: flex-end; text-align: right; }
.c-half .c-k { font-family: var(--mono); font-size: 13px; letter-spacing: -.03em; margin-bottom: 12px; }
.c-half h2 { font-weight: 600; font-size: clamp(34px, 3.8vw, 64px); line-height: .95; letter-spacing: -.065em; white-space: nowrap; }
.c-half .c-buy { margin-top: 18px; display: flex; gap: 12px; align-items: center; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.c-half > * { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
body.ready .c-half > * { opacity: 1; transform: none; }
.hv-c .c-seam { position: absolute; left: clamp(260px, calc(var(--split, .5) * 100%), calc(100% - 260px)); top: 13vh; bottom: auto; transform: translateX(-50%); display: grid; justify-items: center; font-size: clamp(34px, 4.2vw, 72px); }
.hv-c .c-seam span { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .3s; }
body.ready .hv-c .c-seam span { clip-path: inset(0 0 0 0); }

/* las anotaciones del envase elegido en el hero */
.hv-c .note { z-index: 2; }

/* ── capítulos con el cuadro fijo ── */
.ch { position: relative; height: 300vh; }
.ch-prote { height: 200vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* títulos en las tiras de la marca: cada renglón se destapa de izquierda a derecha */
.strips { position: absolute; left: var(--pad); bottom: clamp(28px, 7vh, 72px); font-weight: 600; font-size: clamp(36px, 5vw, 80px); line-height: 1; letter-spacing: -.065em; }
.strips span { display: table; white-space: nowrap; background: var(--ink); color: var(--cream); padding: .02em .14em .1em .1em; margin-top: -1px; }
.strips span + span { background: var(--pink); color: var(--ink); }
.ch .strips span { clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); }
.ch .strips span + span { transition-delay: .09s; }
.ch .strips.on span { clip-path: inset(0 0 0 0); }

/* anotaciones atadas a un punto del envase: la línea se dibuja y el texto aparece */
.note { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; will-change: transform; pointer-events: none; }
.note svg { width: 120px; height: 40px; overflow: visible; flex: none; }
/* la línea mide 1 (pathLength en JS): antes el trazo de 1200 se veía recién al final de la transición y el texto
   llegaba antes que la flecha. Ahora: punto, línea, texto, en ese orden y sin huecos; al irse, todo junto y rápido */
.note path { fill: none; stroke: var(--cream); stroke-width: 1; vector-effect: non-scaling-stroke; }
/* la línea se revela desde el punto hacia el texto (en las que se estiran, el trazo con guiones arrancaba
   del lado equivocado y se veía un pedacito suelto) */
.note svg { clip-path: inset(0 100% 0 0); transition: clip-path .2s var(--ease); }
.note[data-side="l"] svg { clip-path: inset(0 0 0 100%); }
.note.on svg { clip-path: inset(0 0 0 0); transition: clip-path .45s var(--ease) .05s; }
.note p { margin-top: -10px; font-size: 17px; letter-spacing: -.03em; white-space: nowrap; opacity: 0; transition: opacity .2s var(--ease); }   /* quieto en la punta de la línea: solo aparece */
.note[data-dir="down"] { align-items: flex-end; }
.note[data-dir="down"] p { margin: 0 0 -9px; }
.note p b { font-weight: 600; }
.note.long svg { height: 96px; }
.note.on p { opacity: 1; transition: opacity .4s var(--ease) .3s; }
.note[data-side="l"] { flex-direction: row-reverse; }
.note[data-side="l"] p { text-align: right; }
.note .dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--pink); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.note.on .dot { opacity: 1; transform: none; }
/* órbita fina alrededor de la barra */

/* ── 4 · bloque crema: Lo hicimos posible + rutina completa ── */
.crema { position: relative; z-index: 4; background: var(--paper); color: var(--ink); border-radius: 50% 50% 0 0 / var(--arc, 0px) var(--arc, 0px) 0 0; }
/* al irse, se abre una ventana redonda en el centro (las galletitas son redondas) */
.crema.iris { -webkit-mask: radial-gradient(circle at 50% var(--hy, 50%), transparent var(--hr, 0px), #000 calc(var(--hr, 0px) + 1px)); mask: radial-gradient(circle at 50% var(--hy, 50%), transparent var(--hr, 0px), #000 calc(var(--hr, 0px) + 1px)); }
.posible { position: relative; height: 300vh; }
.po-stage { display: grid; place-content: center; justify-items: center; gap: 22px; padding: 0 var(--pad); }
/* los mensajes de la gente: burbujas que aparecen de a una */
.bub { position: absolute; z-index: 2; max-width: 340px; margin: 0; padding: 13px 19px; border-radius: 22px; border-bottom-left-radius: 6px; background: #fff; color: var(--ink); font-size: clamp(16px, 1.4vw, 21px); line-height: 1.25; letter-spacing: -.03em; box-shadow: 0 12px 34px rgba(40,25,10,.1); opacity: 0; transform: translateY(10px) rotate(var(--r, 0deg)); transform-origin: bottom left; transition: opacity .45s var(--ease), transform .6s var(--ease), filter .6s var(--ease); will-change: transform, opacity; }   /* sin escalar al entrar: la letra temblaba */
.bub.on { opacity: 1; transform: rotate(var(--r, 0deg)); }
/* cuando llega la respuesta, los comentarios quedan atrás, apagados */
.po-stage.answered .bub.on { opacity: .22; filter: blur(1.5px); }
/* en el celular sin desenfoque: dibujar el blur de muchas burbujas a la vez traba el scroll */
@media (pointer: coarse) { .po-stage.answered .bub.on { filter: none; opacity: .16; } }
.posible .strips.big { position: relative; z-index: 3; }
.posible .kicker-ink { opacity: 0; transition: opacity .6s var(--ease); }
.posible .kicker-ink.on { opacity: 1; }
.kicker-ink { font-family: var(--mono); font-size: 14px; letter-spacing: -.03em; }
.posible .strips.big { position: static; font-size: clamp(56px, 11vw, 190px); }
.posible .strips span { clip-path: inset(0 var(--c, 100%) 0 0); }
.rutina { position: relative; height: 340vh; }
.rutina .sticky { display: grid; place-items: center; }
.track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 6vw; padding-left: 100vw; will-change: transform; }
.ph { flex: none; overflow: hidden; border-radius: 14px; background: #e7e0d5; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); will-change: transform; }
.ph.s1 { width: min(30vw, 62vh); height: min(30vw, 62vh); transform: translateY(-12vh); }
.ph.s2 { width: min(22vw, 44vh); height: min(30vw, 58vh); transform: translateY(16vh); }
.ph.s3 { width: min(26vw, 52vh); height: min(26vw, 52vh); transform: translateY(-18vh); }
.ph.s4 { width: min(24vw, 46vh); height: min(32vw, 60vh); transform: translateY(12vh); }
.ph.s5 { width: min(28vw, 56vh); height: min(28vw, 56vh); transform: translateY(-10vh); }
.ph.s6 { width: min(22vw, 44vh); height: min(28vw, 56vh); transform: translateY(14vh); }
.strips.rut { position: relative; left: auto; bottom: auto; z-index: 2; font-size: clamp(30px, 4.6vw, 76px); display: grid; justify-items: center; }

/* ── 6 · información nutricional ── */
.ch-galles { height: 420vh; }   /* 340vh de recorrido + 80vh de pausa en la información nutricional */
/* después del bloque crema, arranca debajo de su última pantalla: cuando se termina de abrir la ventana redonda ya está fija y corriendo */
.after-crema { margin-top: -100vh; }
.nu-porcion { position: absolute; left: 0; right: 0; top: 41vh; text-align: center; font-family: var(--mono); font-size: 14px; letter-spacing: -.03em; opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.nu-porcion.on { opacity: 1; transform: none; }
.nu-big { position: absolute; left: var(--pad); right: var(--pad); top: 49vh; list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2vw; }   /* seis datos (se sumó el sodio): una fila */
.nu-big li { padding-top: 18px; border-top: 1px solid rgba(246,239,228,.3); font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -.03em; opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.nu-big li.on { opacity: 1; transform: none; }
.nu-big b { font-weight: 600; font-size: clamp(44px, 5.1vw, 92px); line-height: .9; letter-spacing: -.065em; }
.nu-big span { display: block; margin-top: 12px; font-size: 16px; letter-spacing: -.02em; }
.nu-big em { display: block; margin-top: 4px; font-style: normal; font-family: var(--mono); font-size: 13px; letter-spacing: -.03em; color: var(--pink); }

/* ── 7 · tienda ── */
.tienda { position: relative; z-index: 6; margin-top: -65vh; background: var(--paper); color: var(--ink); padding: clamp(80px, 12vh, 140px) var(--pad) clamp(64px, 10vh, 120px); }   /* sube por encima del final de la mesa: menos bache de papel */
/* el rayo de la marca que lleva a la tienda */
.bolt-wipe { position: fixed; inset: 0; z-index: 5; pointer-events: none; visibility: hidden; }
.bolt-wipe i { position: absolute; inset: 0; background: var(--paper); }
.bw-bolt { clip-path: polygon(62% 15%, 35% 53.9%, 48.1% 51.8%, 35.9% 85%, 65% 41.3%, 51.7% 43.6%); transform: scale(var(--bk, 0)); }
.bw-fill { opacity: var(--bf, 0); }
/* la mesa (3D): la sección solo da el tramo de scroll; el nombre aparece al pasar el mouse */
.ch-mesa { position: relative; height: 420vh; }   /* llegada larga: unas dos pantallas de scroll */
.ch-mesa .sticky { pointer-events: none; }
.ch-mesa.hover { cursor: pointer; }
.tag { position: fixed; z-index: 25; left: 0; top: 0; pointer-events: none; }
.tag span { display: block; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; letter-spacing: -.02em; white-space: nowrap; opacity: 0; transform: translate(-50%, -150%) scale(.9); transition: opacity .2s, transform .25s var(--ease); }
.tag.on span { opacity: 1; transform: translate(-50%, -150%) scale(1); }
.tienda-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.t-title { font-weight: 600; font-size: clamp(48px, 7vw, 120px); line-height: .9; letter-spacing: -.065em; }
.t-all { font-size: 15px; letter-spacing: -.02em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.card a { display: block; }
.card .img { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform .7s var(--ease); }
@media (hover: hover) { .card a:hover img { transform: scale(1.09); } }
.badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--pink); color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: -.02em; }
.c-name { margin-top: 14px; font-size: 17px; font-weight: 500; letter-spacing: -.03em; }
.c-meta { margin-top: 4px; font-size: 15px; letter-spacing: -.02em; }
/* las tarjetas suben de a una al entrar */
.card { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.card.in { opacity: 1; transform: none; }

/* envíos y medios de pago: sigue el papel de la tienda, separado por una línea */
.beneficios { position: relative; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; padding: 44px var(--pad) 56px; background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink); }
.bn { display: flex; align-items: center; gap: 20px; }
.bn-ic { flex: none; width: 72px; height: 72px; border: 1.4px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.bn-ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.bn h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.035em; }
.bn p { margin-top: 4px; font-size: 16px; letter-spacing: -.02em; }
/* Instagram: título con el usuario y una fila de publicaciones de borde a borde */
.insta { position: relative; z-index: 6; background: var(--ink); color: var(--cream); padding: clamp(56px, 9vh, 96px) 0 clamp(64px, 10vh, 110px); }
.ig-head { display: flex; align-items: center; justify-content: center; gap: 12px; width: max-content; margin: 0 auto 36px; font-size: clamp(32px, 3.6vw, 56px); font-weight: 600; letter-spacing: -.055em; }
.ig-head svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ig-head svg .dot { fill: currentColor; stroke: none; }
.ig-row { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.ig-row a { display: block; aspect-ratio: 1; overflow: hidden; }
.ig-row img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
@media (hover: hover) { .ig-row a:hover img { transform: scale(1.06); } }
/* newsletter */
.news { position: relative; z-index: 6; background: var(--paper); color: var(--ink); padding: clamp(80px, 13vh, 150px) var(--pad); display: grid; justify-items: center; text-align: center; }
.news-k { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.news-t { margin-top: 16px; max-width: 16em; font-size: clamp(32px, 4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.055em; text-wrap: balance; }
.news-f { margin-top: 40px; width: min(640px, 100%); display: flex; align-items: center; background: var(--ink); border-radius: 16px; padding: 6px 6px 6px 22px; }
.news-f input { flex: 1; min-width: 0; border: 0; background: none; color: var(--cream); font: 400 18px/1 var(--sans); letter-spacing: -.02em; padding: 16px 0; outline: none; }
.news-f input::placeholder { color: var(--cream); }
.news-f button { flex: none; width: 52px; height: 52px; border: 0; border-radius: 12px; background: none; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
@media (hover: hover) { .news-f button:hover { background: rgba(246,239,228,.12); } }
.news-f button svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* entradas suaves, como las tarjetas */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

.footer { position: relative; z-index: 6; background: var(--ink); color: var(--cream); padding: clamp(64px, 10vh, 110px) var(--pad) 32px; }
.f-k { font-size: 15px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 18px; }
.f-big { list-style: none; border-top: 1px solid rgba(246,239,228,.25); }
.f-big li { border-bottom: 1px solid rgba(246,239,228,.25); }
.f-big a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0 14px; font-size: clamp(48px, 8.5vw, 150px); font-weight: 600; line-height: .95; letter-spacing: -.065em; transition: color .3s, padding .5s var(--ease); }
.f-big a span { font-size: 15px; font-weight: 500; letter-spacing: -.02em; opacity: 0; transition: opacity .3s; }
@media (hover: hover) {
  .f-big a:hover { color: var(--pink); padding-left: 18px; }
  .f-big a:hover span { opacity: 1; }
}
/* el producto recortado sigue al cursor, con un rayo rosa detrás que aparece con un rebote */
.f-peek { position: fixed; z-index: 5; left: 0; top: 0; width: clamp(140px, 12vw, 190px); height: clamp(160px, 14vw, 220px); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-6deg); transition: opacity .25s, transform .4s var(--ease); }
.f-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-6deg); }
.f-peek svg { position: absolute; left: 50%; top: 50%; width: 235%; height: 235%; overflow: visible; transform: translate(-50%, -50%) scale(.6) rotate(-20deg); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.f-peek.on svg { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.f-peek path { fill: var(--pink); }
.f-peek img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 16px 22px rgba(0,0,0,.5)); }
.f-bottom { margin-top: 56px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.f-bottom > img { height: 40px; width: auto; display: block; }   /* el PNG ya va recortado al logo, sin margen */
.f-site { font-size: 15px; letter-spacing: -.02em; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 44px; height: 44px; border: 1.4px solid currentColor; border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
@media (hover: hover) { .f-social a:hover { background: var(--cream); color: var(--ink); } }
.f-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.f-social svg .fill { fill: currentColor; stroke: none; }
.f-legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(246,239,228,.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; letter-spacing: -.01em; }
.f-legal a { border-bottom: 1px solid currentColor; }

/* ── fondo del hero: las dos mitades, cada una con la luz de su lanzamiento ── */
.hero-art { position: fixed; inset: 0; z-index: 1; pointer-events: none; will-change: opacity, transform; }
.ha { position: absolute; inset: 0; width: 100%; height: 100%; }
.ha-c .c-l, .ha-c .c-r { position: absolute; top: 0; bottom: 0; transition: transform 1.1s var(--ease); }
.ha-c .c-l { left: 0; width: calc(var(--split, .5) * 100%); background: radial-gradient(70% 60% at 50% 42%, #6a3a1c, #1a0d07); z-index: 1; }
.ha-c .c-r { right: 0; width: calc((1 - var(--split, .5)) * 100%); background: radial-gradient(70% 60% at 50% 42%, #5b5216, #100f08); }
/* una línea fina rosa marca el corte en las mitades rectas */
.ha-c::after { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--split, .5) * 100%); width: 1px; background: var(--pink); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) .4s; z-index: 2; }
body.ready .ha-c::after { transform: scaleY(1); }
@media (max-width: 760px) {
  .ip { width: auto; left: 0; right: 0; height: 50%; }
  .ip-l { top: 0; bottom: auto; } .ip-r { top: auto; bottom: 0; }
  .intro.split .ip-l { clip-path: inset(0 0 100% 0); }
  .intro.split .ip-r { clip-path: inset(100% 0 0 0); }
  /* un solo plano (el de la barra) en el centro, donde después está el envase: cada papel lleva su mitad */
  /* en % de cada mitad del papel (cada una mide el 50 % de la pantalla), no en vh: en Safari los vh miden
     la pantalla sin la barra del navegador, las dos mitades del dibujo no coincidían y se veía partido */
  .plano-bar { height: 101.2%; top: 94%; }       /* centro al 47 % de la pantalla, donde queda la barra en el hero */
  .ip-r .plano-bar { top: -6%; }
  .seam { display: none; }   /* en el celular la línea rosa cruzaba el dibujo de la barra por la mitad: el papel se abre sin ella */
  /* la línea corta el dibujo y se va con el papel: no queda cruzando el envase */
  .intro.split .seam { opacity: 0; transition: opacity .35s var(--ease); }
  .seam { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; margin: -.5px 0 0; transform: scaleX(0); transform-origin: left; }
  .intro.seam-on .seam { transform: scaleX(1); }
  .header { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .nav { display: none; }
  .brand img { height: 20px; }
  .scroll-hint { display: none; }
  .strips { font-size: clamp(30px, 9vw, 44px); left: 16px; bottom: 40px; }
  .note p { font-size: 13px; white-space: normal; width: 118px; } .note svg { width: 40px; height: 30px; } .note.long svg { height: 64px; }
  .posible .strips.big { font-size: clamp(52px, 16vw, 80px); }
  .bub { font-size: 13px; max-width: 46vw; padding: 9px 13px; }
    .track { gap: 10vw; }
  .ph.s1, .ph.s3, .ph.s5 { width: 62vw; height: 62vw; }
  .ph.s2, .ph.s4, .ph.s6 { width: 52vw; height: 68vw; }
  .strips.rut { font-size: clamp(24px, 7.4vw, 34px); }
  .strips.rut { max-width: calc(100vw - 32px); }
  .strips.rut span { white-space: normal; text-align: center; }
  .nu-porcion { top: 37vh; font-size: 12px; padding: 0 16px; }
  .nu-big { top: 43vh; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
  .nu-big li { font-size: 15px; padding-top: 10px; }
  .nu-big b { font-size: 38px; }
  .nu-big span { font-size: 13px; margin-top: 6px; } .nu-big em { font-size: 11px; }
  .tienda-head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .c-name { font-size: 15px; }
  .f-bottom { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .f-peek { display: none; }
  .beneficios { grid-template-columns: 1fr; padding: 32px var(--pad) 40px; }
  .bn-ic { width: 56px; height: 56px; } .bn-ic svg { width: 28px; height: 28px; }
  .bn p { font-size: 15px; }
  .ig-head { margin-bottom: 24px; }
  .ig-row { grid-template-columns: repeat(3, 1fr); }
  .news-f { padding-left: 18px; }
  .news-f input { font-size: 16px; }
  .c-half { padding-bottom: 20px; }
  .c-half.c-ddl { padding-bottom: 40px; }
  .c-half.c-ddl { left: 0; right: 0; width: auto; top: 0; bottom: auto; height: calc(var(--split, .5) * 100%); }
  .c-half.c-lim { left: 0; right: 0; width: auto; top: auto; bottom: 0; height: calc((1 - var(--split, .5)) * 100%); align-items: flex-start; text-align: left; }
  .c-half h2 { font-size: 30px; } .c-half .c-buy { margin-top: 10px; font-size: 14px; } .c-half .cta { padding: 9px 16px; }
  .hv-c .c-seam { left: 50%; top: calc(var(--split, .5) * 100%); transform: translate(-50%, -50%); font-size: 30px; }
  .ha-c::after { top: calc(var(--split, .5) * 100%); bottom: auto; left: 0; right: 0; width: auto; height: 1px; transform: scaleX(0); transform-origin: left; }
  body.ready .ha-c::after { transform: scaleX(1); }
  .ha-c .c-l { left: 0; right: 0; width: auto; top: 0; bottom: auto; height: calc(var(--split, .5) * 100%); }
  .ha-c .c-r { left: 0; right: 0; width: auto; top: auto; bottom: 0; height: calc((1 - var(--split, .5)) * 100%); }
}

/* ── hero en el celular (03/12): un lanzamiento por pantalla, se pasa deslizando ── */
.hm-dots { display: none; }
@media (max-width: 760px) {
  /* una sola pantalla por lanzamiento; el fondo cambia con él */
  .ha-c .c-l, .ha-c .c-r { top: 0; bottom: 0; height: auto; transition: opacity .8s var(--ease); }
  .ha-c .c-r { z-index: 0; }
  body[data-launch="limon"] .ha-c .c-l { opacity: 0; }
  .ha-c::after { display: none; }
  .c-half.c-ddl, .c-half.c-lim { top: 0; bottom: 0; height: auto; padding-bottom: 72px; transition: opacity .45s var(--ease); }
  body[data-launch="ddl"] .c-lim, body[data-launch="limon"] .c-ddl { opacity: 0; pointer-events: none; }
  .hero.swapping .c-half { opacity: 0; }
  .hv-c .c-seam { top: 92px; font-size: 30px; transform: translateX(-50%); }
  .hero { touch-action: pan-y; }
  .hm-dots { display: flex; position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; justify-content: center; gap: 4px; }
  .hm-dots button { width: 44px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
  .hm-dots button::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--cream); opacity: .35; transition: opacity .3s var(--ease); }
  .hm-dots button[aria-current="true"]::before { opacity: 1; }

}
}

/* ── el resto del sitio en el celular (revisión 03/12, iPhone 16 Pro) ── */
@media (max-width: 760px) {
  .ch-galles { height: 320vh; }   /* más corto: 0,6 pantallas hasta el estallido, 1 de estallido, 0,6 de pausa */
  /* rutina: el titular en dos renglones parejos, sin "Proteica" sola */
  .strips.rut { font-size: clamp(19px, 5.6vw, 26px); }
  .strips.rut span { white-space: nowrap; }
  /* información nutricional: las calorías arriba, solas; las otras cuatro de a dos, sin hueco */
  .nu-big { grid-template-columns: repeat(2, 1fr); gap: 16px 16px; top: 41vh; }
  .nu-big li:first-child { grid-column: 1 / -1; }
  .nu-porcion { top: 35vh; }
  /* links chicos: área de toque de 44 px sin cambiar cómo se ven */
  .t-all, .f-legal a, .f-bottom a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .t-all { border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .f-legal a { border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .brand { padding-block: 12px; margin-block: -12px; }
}
/* en pantallas táctiles no hay hover: "Ver todos" del footer queda siempre a la vista */
@media (hover: none) {
  .f-big a span { opacity: 1; }
}

/* el punto separador viaja con su link: nunca queda solo al principio de un renglón */
.f-legal .nw { white-space: nowrap; }

/* lo que pide Lenis para llevar el scroll (también el del dedo en el celular) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
