/* Propuestas de hero (solo se activan con ?hero=a,b,c) */
.hv-sw{ position:fixed; left:50%; bottom:14px; translate:-50% 0; z-index:80; display:flex; align-items:center; gap:6px; padding:6px 8px 6px 14px; border-radius:999px; background:rgba(14,14,18,.8); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); max-width:96vw; overflow-x:auto; }
.hv-sw span{ font-family:'Geist Mono', monospace; font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-right:4px; }
.hv-sw button{ padding:8px 13px; border-radius:999px; border:1px solid rgba(255,255,255,.16); background:transparent; color:#cfd2d9; font:inherit; font-size:.78rem; white-space:nowrap; cursor:pointer; }
.hv-sw button.on{ background:var(--gold); border-color:var(--gold); color:#14110a; font-weight:700; }
body:has(.hv-sw) .chat-fab{ bottom:70px; }

/* A · profundidad: video y llaves al fondo (se mueven igual para no desalinearse), título al frente */
.hv-a .hero-stage, .hv-a .hero-cut{ translate:calc(var(--hx, 0) * -16px * var(--k, 1)) calc(var(--hy, 0) * -10px * var(--k, 1)); scale:1.07; }
.hv-a .hero-title .wrap{ translate:calc(var(--hx, 0) * 24px * var(--k, 1)) calc(var(--hy, 0) * 14px * var(--k, 1)); }
.hv-tilt .hero-title h1{ transform:perspective(900px) rotateY(calc(var(--hx, 0) * 7deg)) rotateX(calc(var(--hy, 0) * -5deg)); transform-origin:100% 50%; }

/* B · capítulos */
.hv-chap{ position:absolute; z-index:5; left:clamp(18px, 3vw, 40px); top:50%; translate:0 -50%; display:flex; align-items:center; gap:22px; pointer-events:none; transition:opacity .5s; }
.hv-chap.fuera{ opacity:0; }
.hv-chap ol{ list-style:none; display:flex; flex-direction:column; gap:16px; margin:0; padding:0; }
.hv-chap li{ --p:0; position:relative; display:flex; align-items:center; gap:12px; color:rgba(255,255,255,.4); font-family:'Geist Mono', monospace; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; transition:color .4s; text-shadow:0 2px 12px rgba(0,0,0,.7); }
.hv-chap li b{ font-weight:500; }
.hv-chap li::before{ content:""; width:26px; height:2px; background:linear-gradient(90deg, var(--gold) calc(var(--p) * 100%), rgba(255,255,255,.22) 0); border-radius:2px; }
.hv-chap li span{ max-width:0; opacity:0; overflow:hidden; white-space:nowrap; transition:max-width .5s var(--ease), opacity .4s; }
.hv-chap li.on{ color:#fff; } .hv-chap li.on span{ max-width:130px; opacity:1; } .hv-chap li.on::before{ width:44px; transition:width .5s; }
.hv-card{ width:clamp(230px, 24vw, 300px); padding:18px 20px; border-radius:18px; background:rgba(10,10,14,.72); border:1px solid rgba(255,255,255,.16); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); perspective:800px; }
.hv-card small{ display:block; color:var(--gold); font-family:'Geist Mono', monospace; font-size:.68rem; letter-spacing:.14em; margin-bottom:8px; }
.hv-card .hv-title{ font-family:var(--display); font-weight:800; text-transform:uppercase; font-size:1.7rem; line-height:1; margin-bottom:6px; }
.hv-card .hv-desc{ color:#d6d8de; font-size:.9rem; line-height:1.5; }
.hv-card.in{ animation:hvCard .7s cubic-bezier(.25,1.2,.35,1) both; transform-origin:0 50%; }
@keyframes hvCard{ from{ opacity:0; transform:rotateX(-55deg) translateY(14px); } }
@media (max-width:760px){
    .hv-chap{ left:14px; right:14px; top:66px; translate:0 0; flex-direction:column; align-items:flex-start; gap:10px; }
    .hv-chap ol{ flex-direction:row; gap:6px; width:100%; }
    .hv-chap li{ flex:1; } .hv-chap li b, .hv-chap li span{ display:none; } .hv-chap li::before{ width:100%; } .hv-chap li.on::before{ width:100%; }
    .hv-card{ width:min(300px, 78vw); padding:12px 14px; } .hv-card .hv-title{ font-size:1.3rem; } .hv-card p{ font-size:.78rem; }
}

/* C · cine */
.hv-bar{ position:absolute; left:0; right:0; z-index:4; height:clamp(28px, 6vh, 64px); background:#000; pointer-events:none; }
.hv-bar-t{ top:0; box-shadow:0 18px 40px 6px rgba(0,0,0,.7); } .hv-bar-b{ bottom:0; box-shadow:0 -18px 40px 6px rgba(0,0,0,.7); }
.hv-dust{ position:absolute; inset:0; width:100%; height:100%; z-index:3; pointer-events:none; mix-blend-mode:screen; }
.hv-c .hero-title h1 em{ background:linear-gradient(100deg, #d4b46c 38%, #fff6d8 50%, #d4b46c 62%) 0 0 / 260% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; animation:hvShine 5.5s ease-in-out infinite; }
@keyframes hvShine{ 0%, 25%{ background-position:100% 0; } 65%, 100%{ background-position:-60% 0; } }
@media (prefers-reduced-motion:reduce){ .hv-c .hero-title h1 em{ animation:none; background-position:50% 0; } .hv-card.in{ animation:none; } }
@media (max-width:560px){ .hv-sw{ padding:5px 6px 5px 10px; gap:4px; } .hv-sw span{ display:none; } .hv-sw button{ padding:8px 10px; font-size:.72rem; } }
