/* Entrada de la web (nov. 2026): fondo vivo, celular con el pedido en marcha y parallax suave.
   Todo se mueve con transform/opacity (no cambia el tamaño de nada) para que el desplazamiento no se trabe.
   La lógica está en hero.js. Usa las variables de styles.css. */

.m-hero.hz{ padding:112px 0 72px; isolation:isolate; }
.m-hero.hz .m-wrap{ position:relative; z-index:2; grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); gap:clamp(20px,3vw,48px); }
.m-hero.hz .m-dots, .m-hero.hz .m-ghost{ z-index:1; }
.m-hero.hz .m-ghost{ transition:none; }

/* ---------- fondo ---------- */
.hz-bg{ position:absolute; inset:-8% -5%; z-index:0; pointer-events:none; overflow:hidden; will-change:transform; }
.hz-blob{ position:absolute; border-radius:50%; will-change:transform; opacity:0; transition:opacity 1.6s ease; }
.h-go .hz-blob{ opacity:1; }
.hz-blob.b1{ width:66vw; height:66vw; max-width:1150px; max-height:1150px; left:-14%; top:-36%; background:radial-gradient(closest-side, rgba(232,35,42,.6), rgba(232,35,42,.2) 55%, transparent 72%); animation:hzB1 22s ease-in-out infinite alternate; }
.hz-blob.b2{ width:50vw; height:50vw; max-width:900px; max-height:900px; right:-10%; top:6%; background:radial-gradient(closest-side, rgba(255,106,74,.4), rgba(255,74,80,.13) 55%, transparent 72%); animation:hzB2 27s ease-in-out infinite alternate; }
.hz-blob.b3{ width:42vw; height:42vw; max-width:760px; max-height:760px; left:18%; bottom:2%; background:radial-gradient(closest-side, rgba(255,212,0,.17), rgba(255,170,0,.06) 55%, transparent 72%); animation:hzB3 31s ease-in-out infinite alternate; }
@keyframes hzB1{ to{ transform:translate3d(9%,10%,0) scale(1.14); } }
@keyframes hzB2{ to{ transform:translate3d(-13%,14%,0) scale(.88); } }
@keyframes hzB3{ to{ transform:translate3d(16%,-22%,0) scale(1.15); } }
.hz-light{ position:absolute; left:var(--x); top:var(--y); width:28px; height:28px; margin:-14px 0 0 -14px; opacity:0; transition:opacity 1.6s ease .5s; animation:hzLx var(--tx,17s) ease-in-out var(--d,0s) infinite alternate; will-change:transform; }
.h-go .hz-light{ opacity:1; }
.hz-light i{ display:block; width:100%; height:100%; border-radius:50%; background:radial-gradient(circle, var(--c,#FFD400) 0 3px, rgba(255,212,0,.45) 4.5px, rgba(255,212,0,0) 14px); animation:hzLy var(--ty,11s) ease-in-out var(--d,0s) infinite alternate; will-change:transform; }
@keyframes hzLx{ from{ transform:translate3d(calc(var(--ax,14vw) * -1),0,0); } to{ transform:translate3d(var(--ax,14vw),0,0); } }
@keyframes hzLy{ from{ transform:translate3d(0,calc(var(--ay,9vh) * -1),0); } to{ transform:translate3d(0,var(--ay,9vh),0); } }
.hz-light.l1{ --x:16%; --y:20%; --tx:19s; --ty:12s; --ax:11vw; --ay:8vh; }
.hz-light.l2{ --x:44%; --y:74%; --tx:23s; --ty:15s; --ax:16vw; --ay:7vh; --d:-6s; --c:#FFF4D6; }
.hz-light.l3{ --x:70%; --y:14%; --tx:17s; --ty:13s; --ax:13vw; --ay:6vh; --d:-9s; }
.hz-light.l4{ --x:88%; --y:62%; --tx:21s; --ty:10s; --ax:7vw; --ay:14vh; --d:-3s; }
.hz-light.l5{ --x:30%; --y:48%; --tx:27s; --ty:17s; --ax:18vw; --ay:12vh; --d:-13s; --c:#FFF4D6; }
.hz-light.l6{ --x:58%; --y:40%; --tx:25s; --ty:14s; --ax:15vw; --ay:16vh; --d:-17s; }
.hz-spot{ position:absolute; left:0; top:0; z-index:0; width:760px; height:760px; margin:-380px 0 0 -380px; border-radius:50%; pointer-events:none; background:radial-gradient(closest-side, rgba(255,212,0,.13), rgba(255,120,80,.05) 50%, transparent 70%); opacity:0; transition:opacity .7s ease; will-change:transform; }
.hz-spot.on{ opacity:1; }

/* ---------- texto ---------- */
.hz .m-kicker i{ position:relative; animation:none; box-shadow:none; }
.hz .m-kicker i::after{ content:""; position:absolute; inset:0; border-radius:50%; background:rgba(43,182,115,.6); animation:hzDot 1.8s ease-out infinite; }
@keyframes hzDot{ from{ transform:scale(1); opacity:.9; } to{ transform:scale(3.4); opacity:0; } }
.hz-copy{ position:relative; min-width:0; will-change:transform; }
.hz .m-h1{ font-size:clamp(46px,min(7.2vw,13vh),104px); margin:20px 0 16px; text-shadow:0 3px 0 rgba(122,10,20,.92), 0 16px 36px rgba(60,0,8,.45); }
.hz-line{ display:block; }
.hz-line > span{ display:inline-block; will-change:transform; }
.hz .m-h1 .hl::after{ animation:none; transform:scaleX(0); transition:transform .9s cubic-bezier(.2,.9,.3,1) .8s; }
.hz.h-go .m-h1 .hl::after, html:not(.hjs) .hz .m-h1 .hl::after{ transform:scaleX(1); }
.hz .m-lead{ margin-bottom:26px; }
.hz .m-trust{ margin-top:26px; }

/* entrada: una sola secuencia cuando termina la intro */
.hz .hz-in{ transition:opacity .7s cubic-bezier(.2,.8,.2,1), transform .95s cubic-bezier(.16,1,.3,1); transition-delay:calc(var(--i,0) * 85ms + 140ms); }
.hjs .hz:not(.h-go) .hz-in{ opacity:0; transform:translate3d(0,22px,0); }
.hz .hz-line > span{ transition:transform 1.05s cubic-bezier(.16,1,.3,1), opacity .5s ease, clip-path 1.05s cubic-bezier(.16,1,.3,1); transition-delay:calc(var(--i,0) * 110ms + 60ms); clip-path:inset(-25% -12% -35% -12%); }
.hjs .hz:not(.h-go) .hz-line > span{ opacity:0; transform:translate3d(0,62%,0) rotate(2.5deg); clip-path:inset(0 -12% 100% -12%); }
.hz .hz-pop{ transition:opacity .5s ease, scale .75s cubic-bezier(.2,1.5,.4,1); transition-delay:calc(var(--i,0) * 110ms + 760ms); }
.hjs .hz:not(.h-go) .hz-pop{ opacity:0; scale:.3; }

/* ---------- escenario del celular ---------- */
.hz-stage{ --pc:55%; --ovr:34px; --ovs:34px; position:relative; height:calc(664px * var(--ps,1)); perspective:1500px; perspective-origin:50% 44%; }
.hz-glow{ position:absolute; left:var(--pc); top:50%; width:680px; height:680px; margin:-340px 0 0 -340px; border-radius:50%; pointer-events:none; background:radial-gradient(closest-side, rgba(255,98,66,.5), rgba(232,35,42,.22) 45%, transparent 72%); animation:hzGlow 6s ease-in-out infinite alternate; }
@keyframes hzGlow{ from{ transform:scale(.9); opacity:.7; } to{ transform:scale(1.08); opacity:1; } }
.hz-shadow{ position:absolute; left:var(--pc); bottom:calc(8px * var(--ps,1)); width:380px; height:64px; margin-left:-190px; pointer-events:none; background:radial-gradient(closest-side, rgba(8,0,2,.75), transparent 74%); transform:scale(var(--ps,1)); }
.hz-enter{ position:absolute; left:var(--pc); top:50%; z-index:3; width:300px; height:618px; margin:-309px 0 0 -150px; transform-style:preserve-3d; transform:scale(var(--ps,1)); transition:transform 1.3s cubic-bezier(.16,1,.3,1) .2s, opacity .6s ease .2s; }
.hjs .hz:not(.h-go) .hz-enter{ opacity:0; transform:translate3d(70px,90px,0) scale(calc(var(--ps,1) * .84)) rotateY(-38deg) rotateX(16deg); }
.hz-tilt, .hz-sway{ position:absolute; inset:0; transform-style:preserve-3d; }
.hz-tilt{ transform:rotateY(-16deg) rotateX(7deg) rotateZ(-2.5deg); will-change:transform; }
.hz-sway{ animation:hzSway 7s ease-in-out infinite alternate; }
@keyframes hzSway{ from{ transform:translate3d(0,-7px,0) rotateY(-1.5deg); } to{ transform:translate3d(0,9px,0) rotateY(2deg); } }
@media (hover:none){ @keyframes hzSway{ from{ transform:translate3d(0,-7px,0) rotateY(-6deg) rotateX(-1deg); } to{ transform:translate3d(0,9px,0) rotateY(9deg) rotateX(2deg); } } }

/* celular */
.hz-phone{ position:absolute; inset:0; border-radius:56px; background:#050506; transform-style:preserve-3d; box-shadow:0 0 0 1px #000, 0 46px 70px -18px rgba(8,0,2,.78), 0 84px 120px -44px rgba(232,35,42,.6); }
.hz-phone::before{ content:""; position:absolute; inset:0; z-index:3; border-radius:inherit; padding:3.5px; pointer-events:none; background:linear-gradient(135deg,#a3a3aa 0%,#2a2a2e 20%,#77777e 46%,#1c1c1f 68%,#b0b0b7 100%); -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite:exclude; transform:translateZ(.3px); }
.hz-plate{ position:absolute; inset:0; border-radius:56px; background:linear-gradient(90deg,#4b4b51,#161618 28%,#2c2c30 72%,#56565c); }
.hz-plate.p1{ transform:translateZ(-4px); } .hz-plate.p2{ transform:translateZ(-8px); } .hz-plate.p3{ transform:translateZ(-12px); box-shadow:0 0 0 1px #000; }
.hz-btn{ position:absolute; width:5px; border-radius:2px; background:linear-gradient(90deg,#6a6a71,#202023); transform:translateZ(-6px); }
.hz-btn.l1{ left:-3px; top:112px; height:28px; } .hz-btn.l2{ left:-3px; top:164px; height:52px; } .hz-btn.l3{ left:-3px; top:228px; height:52px; }
.hz-btn.r1{ right:-3px; top:190px; height:84px; background:linear-gradient(270deg,#6a6a71,#202023); }
.hz-screen{ position:absolute; inset:11px; z-index:1; border-radius:45px; overflow:hidden; background:#1F0306; color:#FFF4D6; font-family:var(--fu); transform:translateZ(.1px); }
.hz-glass{ position:absolute; inset:11px; z-index:2; border-radius:45px; overflow:hidden; pointer-events:none; transform:translateZ(.2px); background:linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.05) 15%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 74%, rgba(255,255,255,.07) 100%); }
.hz-glass::after{ content:""; position:absolute; top:-20%; bottom:-20%; left:-70%; width:46%; background:linear-gradient(100deg,transparent,rgba(255,255,255,.13),transparent); transform:translate3d(calc(var(--gx,.3) * 330%),0,0) skewX(-16deg); }
.hz-status{ position:absolute; left:0; right:0; top:0; z-index:6; height:50px; display:flex; align-items:center; justify-content:space-between; padding:7px 24px 0 31px; font-weight:800; font-size:14px; pointer-events:none; }
.hz-status svg{ display:block; fill:currentColor; }
.hz-sys{ display:flex; align-items:center; gap:5px; }
.hz-isl{ position:absolute; left:50%; top:11px; width:88px; height:26px; margin-left:-44px; border-radius:14px; background:#000; }
.hz-isl::after{ content:""; position:absolute; right:9px; top:8px; width:10px; height:10px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #2b3f6b, #0a0e18 62%); }
.hz-homebar{ position:absolute; left:50%; bottom:7px; z-index:6; width:104px; height:4px; margin-left:-52px; border-radius:3px; background:rgba(255,244,214,.78); }

/* escenas dentro de la pantalla */
.hz-sc{ position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .45s ease, visibility 0s linear .45s; }
.hz-screen[data-step="0"] .s0, .hz-screen[data-step="1"] .s0, .hz-screen[data-step="1"] .s1, .hz-screen[data-step="2"] .s2, .hz-screen[data-step="3"] .s3{ opacity:1; visibility:visible; transition-delay:0s; }
/* 0 · inicio */
.hz-top{ padding:52px 16px 16px; border-radius:0 0 26px 26px; background:radial-gradient(70% 90% at 50% 0%, rgba(255,120,110,.45), transparent 70%), linear-gradient(180deg,#E8232A,#C4151C); }
.hz-logo{ height:46px; transform:scale(.8); transform-origin:left top; }
.hz-q{ margin:37px 0 0; font-family:var(--fb); font-weight:600; font-size:16px; line-height:1.2; }
.hz-srch{ margin-top:10px; height:38px; border-radius:13px; background:rgba(255,244,214,.17); display:flex; align-items:center; gap:8px; padding:0 12px; font-size:13px; font-weight:800; }
.hz-srch .mi{ opacity:.8; }
.hz-caret{ width:2px; height:16px; margin-left:-6px; background:#FFD400; animation:hzBlink 1s steps(2,jump-none) infinite; }
@keyframes hzBlink{ to{ opacity:0; } }
.hz-ray{ margin:12px 12px 0; border-radius:18px; padding:11px 14px; display:flex; align-items:center; justify-content:space-between; background:linear-gradient(120deg,#B3001B,#E8232A 60%,#FF6B4A); }
.hz-ray b{ font-family:var(--fb); font-size:32px; line-height:.9; } .hz-ray small{ font-size:14px; margin-left:2px; }
.hz-ray em{ display:block; font-style:normal; font-size:11px; font-weight:800; margin-top:3px; }
.hz-bolt{ position:relative; width:42px; height:42px; border-radius:50%; background:#FFD400; color:#8A0010; display:flex; align-items:center; justify-content:center; }
.hz-bolt::after{ content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #FFD400; animation:hzPulse 2.2s ease-out infinite; }
@keyframes hzPulse{ from{ transform:scale(1); opacity:.8; } to{ transform:scale(1.65); opacity:0; } }
.hz-grid{ display:grid; grid-template-columns:1fr 1fr; gap:9px; padding:12px 12px 0; }
.hz-t{ position:relative; border-radius:16px; background:#3A070D; border:1px solid #6A1820; overflow:hidden; transition:border-color .25s; }
.hz-t > div{ height:57px; display:flex; align-items:center; justify-content:center; font-size:31px; }
.hz-t p{ margin:0; padding:7px 9px 9px; font-size:11.5px; font-weight:800; line-height:1.25; }
.hz-t p b{ display:block; color:#FFD400; font-family:var(--fb); font-size:13px; font-weight:600; }
.hz-add{ position:absolute; right:7px; bottom:8px; width:26px; height:26px; border-radius:50%; background:#FFD400; color:#8A0010; font:800 18px/26px var(--fu); font-style:normal; text-align:center; transition:scale .35s cubic-bezier(.2,1.8,.4,1), background .2s, color .2s; }
.hz-t.on{ border-color:#FFD400; } .hz-t.on .hz-add{ background:#2BB673; color:#fff; font-size:15px; scale:1.14; }
.hz-tabs{ position:absolute; left:0; right:0; bottom:0; height:66px; padding:0 20px 14px; display:flex; align-items:center; justify-content:space-around; color:rgba(255,244,214,.55); background:linear-gradient(180deg, rgba(31,3,6,0), #1F0306 42%); }
.hz-tabs .on{ color:#FFD400; }
.hz-cartic{ position:relative; }
.hz-cartic em{ position:absolute; right:-10px; top:-8px; min-width:18px; height:18px; padding:0 4px; border-radius:9px; background:#E8232A; color:#fff; font:800 11px/18px var(--fu); font-style:normal; text-align:center; scale:0; transition:scale .35s cubic-bezier(.2,1.9,.4,1); }
.hz-cartic em.on{ scale:1; }
/* 1 · tu pedido */
.hz-sc.s1{ background:rgba(12,0,3,.62); }
.hz-sheet{ position:absolute; left:0; right:0; bottom:0; padding:10px 16px 28px; border-radius:26px 26px 0 0; background:linear-gradient(180deg,#4A0B12,#2A0409); box-shadow:0 -20px 40px rgba(10,0,2,.5); transform:translate3d(0,103%,0); transition:transform .65s cubic-bezier(.16,1,.3,1); }
.hz-screen[data-step="1"] .hz-sheet{ transform:none; }
.hz-grab{ display:block; width:40px; height:4px; margin:0 auto 12px; border-radius:2px; background:rgba(255,244,214,.3); }
.hz-sheet h4{ margin:0 0 9px; font-family:var(--fb); font-weight:600; font-size:18px; }
.hz-sheet ul{ list-style:none; margin:0; padding:0; display:grid; gap:7px; }
.hz-sheet li{ display:flex; align-items:center; gap:8px; font-size:12.5px; font-weight:800; }
.hz-sheet li span{ flex:none; width:28px; height:28px; border-radius:9px; background:rgba(255,244,214,.1); display:flex; align-items:center; justify-content:center; font-size:15px; }
.hz-sheet li b{ margin-left:auto; font-family:var(--fb); font-weight:600; font-size:13.5px; }
.hz-sheet li.x{ color:rgba(255,244,214,.74); } .hz-sheet b.g{ color:#4FD18B; }
.hz-total{ display:flex; justify-content:space-between; align-items:baseline; margin:12px 0; padding-top:10px; border-top:1px dashed rgba(255,244,214,.26); font-weight:900; font-size:14px; }
.hz-total b{ font-family:var(--fb); font-weight:700; font-size:24px; color:#FFD400; }
.hz-pay{ position:relative; height:46px; border-radius:15px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:linear-gradient(180deg,#FFE24D,#FFD400 55%,#F2B800); color:#8A0010; font-weight:900; font-size:15px; box-shadow:0 4px 0 #B38B00; transition:background .3s, box-shadow .3s, color .3s; }
.hz-pay span{ transition:opacity .3s, transform .3s; } .hz-pay .b{ position:absolute; opacity:0; transform:translate3d(0,12px,0); }
.hz-pay.ok{ background:#2BB673; color:#fff; box-shadow:0 4px 0 #17754a; } .hz-pay.ok .a{ opacity:0; transform:translate3d(0,-12px,0); } .hz-pay.ok .b{ opacity:1; transform:none; }
/* 2 · en camino */
.hz-mapw{ position:absolute; inset:0; transform:scale(1.1); transition:transform 1.6s cubic-bezier(.16,1,.3,1); }
.hz-screen[data-step="2"] .hz-mapw{ transform:none; }
.hz-map{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.hz-moto{ position:absolute; left:0; top:0; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; background:#FFD400; border:2.5px solid #8A0010; color:#8A0010; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 10px rgba(10,0,2,.5); will-change:transform; }
.hz-screen[data-step="2"] .hz-moto{ animation:hzRide 5.3s cubic-bezier(.4,0,.5,1) .35s both; }
.hz-screen[data-step="2"] .hz-prog i{ animation:hzProg 5.3s linear .35s both; }
@keyframes hzProg{ to{ transform:scaleX(1); } }
.hz-mk{ position:absolute; left:0; top:0; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; line-height:1; }
.hz-mk.sto{ background:#FFF4D6; box-shadow:0 3px 8px rgba(10,0,2,.45); } .hz-mk.hom{ width:34px; height:34px; margin:-17px 0 0 -17px; background:#E8232A; border:2.5px solid #FFF4D6; box-shadow:0 3px 8px rgba(10,0,2,.45); } .hz-mk.chu{ font-size:19px; }
.hz-ring{ position:absolute; left:0; top:0; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:50%; border:2px solid #FFF4D6; opacity:0; }
.hz-screen[data-step="2"] .hz-ring{ animation:hzRing 1.8s ease-out infinite; }
@keyframes hzRing{ from{ scale:.6; opacity:.9; } to{ scale:2.4; opacity:0; } }
.hz-card{ position:absolute; left:10px; right:10px; padding:12px 14px; border-radius:20px; background:rgba(42,4,9,.95); border:1px solid rgba(255,212,0,.36); box-shadow:0 14px 28px rgba(10,0,2,.5); opacity:0; transition:transform .65s cubic-bezier(.16,1,.3,1) .15s, opacity .4s ease .15s; }
.hz-card.top{ top:52px; transform:translate3d(0,-16px,0); } .hz-card.bot{ bottom:22px; display:flex; align-items:center; gap:10px; transform:translate3d(0,16px,0); }
.hz-screen[data-step="2"] .hz-card{ transform:none; opacity:1; }
.hz-card small{ display:block; font-size:11px; font-weight:800; color:rgba(255,244,214,.76); }
.hz-card.top b{ display:block; margin-top:2px; font-family:var(--fb); font-weight:600; font-size:22px; line-height:1.15; } .hz-card.top b span{ color:#FFD400; }
.hz-prog{ height:5px; margin-top:9px; border-radius:3px; overflow:hidden; background:rgba(255,244,214,.16); }
.hz-prog i{ display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#FFD400,#FF8A00); transform-origin:left; transform:scaleX(0); }
.hz-av{ flex:none; width:38px; height:38px; border-radius:50%; background:#FFD400; color:#8A0010; display:flex; align-items:center; justify-content:center; }
.hz-card.bot b{ display:block; font-size:13px; font-weight:900; }
/* 3 · entrega con PIN */
.hz-sc.s3{ display:flex; align-items:center; justify-content:center; background:radial-gradient(90% 60% at 50% 30%, rgba(255,90,70,.5), transparent 70%), linear-gradient(180deg,#C4151C,#5A0008 70%,#2A0409); }
.hz-pinbox{ position:relative; width:100%; padding:0 18px; text-align:center; transform:scale(.9); transition:transform .65s cubic-bezier(.2,1.4,.4,1); }
.hz-screen[data-step="3"] .hz-pinbox{ transform:none; }
.hz-pinbox small{ display:block; font-size:12.5px; font-weight:900; color:#FFD400; }
.hz-pinbox > b{ display:block; margin:5px 0 16px; font-family:var(--fb); font-weight:600; font-size:21px; line-height:1.15; }
.hz-pin{ display:flex; justify-content:center; gap:9px; }
.hz-pin i{ width:46px; height:56px; border-radius:14px; background:rgba(31,3,6,.55); border:2px solid rgba(255,244,214,.3); font:700 30px/52px var(--fb); font-style:normal; color:transparent; transition:color .15s, border-color .2s, translate .35s cubic-bezier(.2,1.8,.4,1), background .2s; }
.hz-pin i.on{ color:#FFD400; border-color:#FFD400; background:rgba(31,3,6,.82); translate:0 -3px; }
.hz-ok{ width:74px; height:74px; margin:22px auto 10px; border-radius:50%; background:#2BB673; display:flex; align-items:center; justify-content:center; scale:0; transition:scale .5s cubic-bezier(.2,1.7,.4,1); }
.hz-ok svg{ width:40px; height:40px; fill:none; stroke:#fff; stroke-width:3.4; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:30; stroke-dashoffset:30; transition:stroke-dashoffset .45s ease .2s; }
.hz-pinbox strong{ display:block; font-family:var(--fb); font-weight:700; font-size:27px; } .hz-pinbox em{ display:block; margin-top:2px; font-style:normal; font-size:13px; font-weight:800; color:rgba(255,244,214,.82); }
.hz-pinbox strong, .hz-pinbox em{ opacity:0; transform:translate3d(0,8px,0); transition:opacity .4s ease .25s, transform .4s ease .25s; }
.hz-pinbox.done .hz-ok{ scale:1; } .hz-pinbox.done .hz-ok svg{ stroke-dashoffset:0; }
.hz-pinbox.done strong, .hz-pinbox.done em{ opacity:1; transform:none; }
.hz-conf{ position:absolute; left:50%; top:54%; pointer-events:none; }
.hz-conf i{ position:absolute; left:0; top:0; width:7px; height:11px; border-radius:2px; opacity:0; }
.hz-conf.go i{ animation:hzConf 1.2s cubic-bezier(.15,.8,.3,1) forwards; }
@keyframes hzConf{ 0%{ opacity:1; transform:translate3d(0,0,0) rotate(0); } 70%{ opacity:1; } 100%{ opacity:0; transform:translate3d(var(--x),var(--y),0) rotate(var(--r)); } }
/* toque simulado */
.hz-tap{ position:absolute; left:0; top:0; z-index:7; width:44px; height:44px; margin:-22px 0 0 -22px; border-radius:50%; background:rgba(255,255,255,.35); border:2px solid rgba(255,255,255,.85); opacity:0; pointer-events:none; }
.hz-tap.go{ animation:hzTap .5s ease-out; }
@keyframes hzTap{ 0%{ opacity:.95; transform:translate3d(var(--x),var(--y),0) scale(.3); } 100%{ opacity:0; transform:translate3d(var(--x),var(--y),0) scale(1.5); } }

/* ---------- lo que flota alrededor ---------- */
.hz-float{ position:absolute; z-index:4; will-change:transform; }
.hz-float.back{ z-index:1; }
.hz-item{ pointer-events:none; }
.hz-item i{ display:block; font-style:normal; line-height:1; font-size:var(--s,48px); filter:drop-shadow(0 12px 14px rgba(10,0,2,.5)); animation:hzFloat var(--t,6s) ease-in-out var(--dl,0s) infinite alternate; }
.hz-item.far i{ filter:blur(1.4px) drop-shadow(0 10px 12px rgba(10,0,2,.4)); opacity:.82; }
@keyframes hzFloat{ from{ transform:translate3d(0,-8px,0) rotate(calc(var(--r,8deg) * -1)); } to{ transform:translate3d(0,10px,0) rotate(var(--r,8deg)); } }
.hz-chip{ display:inline-flex; align-items:center; gap:10px; height:52px; padding:0 20px 0 9px; border-radius:26px; border:1.5px solid rgba(255,212,0,.42); background:rgba(42,4,9,.94); color:var(--cream); font:800 15px/1 var(--fu); white-space:nowrap; cursor:pointer; box-shadow:0 16px 30px rgba(10,0,2,.5); transition:background .35s, color .35s, border-color .35s, translate .3s cubic-bezier(.2,1.3,.4,1), opacity .5s ease calc(var(--i,0) * 110ms + 760ms), scale .75s cubic-bezier(.2,1.5,.4,1) calc(var(--i,0) * 110ms + 760ms); }
.hz-chip b{ flex:none; width:34px; height:34px; border-radius:50%; background:var(--y); color:var(--deep); display:flex; align-items:center; justify-content:center; font:700 17px/1 var(--fb); transition:background .35s, color .35s; }
.hz-chip .s{ display:none; }
.hz-chip:hover{ border-color:var(--y); translate:0 -2px; }
.hz-chip.on{ background:var(--y); color:var(--deep); border-color:#FFE24D; } .hz-chip.on b{ background:var(--deep); color:var(--y); }
.hz-chip:focus-visible{ outline:3px solid var(--cream); outline-offset:3px; }
.hz-steps{ display:contents; }
.hz-float.c0{ right:calc(100% - var(--pc) + 150px * var(--ps,1) - 20px); top:13%; } .hz-float.c1{ left:calc(var(--pc) + 150px * var(--ps,1) - var(--ovr)); top:44%; } .hz-float.c2{ right:calc(100% - var(--pc) + 150px * var(--ps,1) - 26px); bottom:17%; }
.hz-float.st{ left:calc(var(--pc) + 150px * var(--ps,1) - var(--ovs)); bottom:3%; }
.hz-star{ scale:.8; animation:hzStar 5s ease-in-out infinite alternate; }
@keyframes hzStar{ from{ transform:rotate(-5deg); } to{ transform:rotate(7deg); } }
.hz-off *, .hz-off *::before, .hz-off *::after{ animation-play-state:paused !important; }

/* ---------- pantallas medianas y angostas ---------- */
@media (max-width:1180px){
  .hz-stage{ --pc:50%; --ovr:56px; --ovs:74px; }
  .hz-chip .l{ display:none; } .hz-chip .s{ display:inline; }
}
@media (max-height:820px), (max-width:960px){ .hz .m-scroll{ display:none; } }
@media (max-width:960px){
  .m-hero.hz{ min-height:0; padding:104px 0 46px; }
  .m-hero.hz .m-wrap{ grid-template-columns:minmax(0,1fr); gap:8px; }
  .hz-stage{ width:100%; max-width:520px; margin:18px auto 0; height:calc(640px * var(--ps,1) + 70px); }
  .hz-enter{ top:calc(50% - 35px); }
  .hz-glow{ top:calc(50% - 35px); width:560px; height:560px; margin:-280px 0 0 -280px; }
  .hz-shadow{ bottom:calc(70px + 4px * var(--ps,1)); }
  .hz-steps{ position:absolute; left:0; right:0; bottom:0; z-index:5; display:flex; justify-content:center; gap:8px; }
  .hz-steps .hz-float{ position:static; transform:none !important; }
  .hz-chip{ height:44px; padding:0 15px 0 7px; gap:8px; font-size:13.5px; }
  .hz-chip b{ width:30px; height:30px; font-size:15px; }
  .hz-float.st{ left:auto; right:0; bottom:84px; } .hz-star{ scale:.66; }
  .hz-blob.b1{ width:120vw; height:120vw; left:-40%; top:-20%; } .hz-blob.b2{ width:100vw; height:100vw; right:-40%; top:34%; } .hz-blob.b3, .hz-light.l5, .hz-light.l6{ display:none; }
}
@media (max-width:560px){
  .hz .m-h1{ font-size:clamp(44px,13.6vw,64px); }
  .hz .m-ctas{ gap:10px; } .hz .m-ctas .m-btn{ flex:1 1 0; min-width:0; height:54px; padding:0 12px; font-size:15.5px; white-space:nowrap; }
  .hz-item.hide-s, .hz-float.st{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .hz-blob, .hz-glow, .hz-sway, .hz-item i, .hz-star, .hz-bolt::after, .hz-caret, .hz-ring, .hz-moto, .hz-prog i, .hz-light, .hz-light i, .hz .m-kicker i::after{ animation:none !important; }
}
