/* Cabecera animada «Know pain, no pain» (skill motion-design). Todo bajo .fx-hero para no chocar con el tema de la web. */
.fx-hero{position:relative;background:#141414;color:#f9f7f0;font-family:'Cabin',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
.fx-hero *{box-sizing:border-box}
.fx-hero{--bg:#141414;--ink:#f9f7f0;--muted:#b9b2a3;--accent:#ff7300;--ease:cubic-bezier(0.4,0,0.2,1)}
.fx-hero .story{position:relative;height:500vh}
.fx-hero .stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden}
.fx-hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.fx-hero .brand{position:absolute;top:22px;left:24px;z-index:3;display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:700;letter-spacing:.06em}
.fx-hero .brand img{width:34px;height:34px}
.fx-hero .cap{position:absolute;z-index:2;left:clamp(20px,6vw,88px);top:50%;width:min(440px,40vw);transform:translateY(-50%);pointer-events:none}
.fx-hero .cap>div{position:absolute;left:0;top:0;transform:translateY(-50%);width:100%;opacity:0;will-change:opacity,transform}
.fx-hero .eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
.fx-hero .cap h2,.fx-hero .cap h1{margin:0 0 14px;line-height:1.15;font-size:clamp(1.6rem,3.2vw,2.6rem)}
.fx-hero .cap h1{font-size:clamp(2.2rem,5vw,4rem)}
.fx-hero .cap p{margin:0;color:var(--muted);font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.6}
.fx-hero .cap .welcome{margin:0 0 18px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:var(--accent);font-size:clamp(1.15rem,2.2vw,1.7rem);line-height:1.35}
.fx-hero .welcome .w{display:inline-block;white-space:nowrap}
.fx-hero .welcome .w span{display:inline-block}
.fx-hero .cta{pointer-events:auto;display:inline-block;margin-top:26px;background:var(--accent);color:#141414;font-weight:700;text-decoration:none;padding:15px 28px;border-radius:999px;transition:transform 180ms var(--ease),background-color 180ms var(--ease)}
.fx-hero .cta:hover,.fx-hero .cta:focus-visible{transform:translateY(-2px);background:#ff8a2a}
.fx-hero .hint{position:absolute;z-index:2;left:50%;bottom:26px;transform:translateX(-50%);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-align:center;transition:opacity 500ms var(--ease)}
.fx-hero .hint i{display:block;width:1px;height:36px;margin:10px auto 0;background:linear-gradient(var(--muted),transparent);animation:drip 2.4s var(--ease) infinite}
@keyframes drip{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}50.1%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
.fx-hero .snd{position:absolute;z-index:3;top:18px;right:20px;font:600 .85rem Cabin,sans-serif;color:var(--ink);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:9px 16px;cursor:pointer;transition:background-color 180ms var(--ease)}
.fx-hero .snd:hover,.fx-hero .snd:focus-visible{background:rgba(255,255,255,.16)}
.fx-hero .snd[aria-pressed="true"]{border-color:var(--accent)}
@media (max-width:760px){.fx-hero .cap{left:20px;right:20px;width:auto;top:auto;bottom:clamp(70px,13vh,120px);transform:none}
.fx-hero .cap>div{top:auto;bottom:0;transform:none}
.fx-hero .cap::before{content:"";position:absolute;inset:-60px -20px -140px;background:linear-gradient(transparent,rgba(20,20,20,.88) 45%);z-index:-1}

}
@media (prefers-reduced-motion: reduce){.fx-hero .story{height:auto}
.fx-hero .stage{position:relative;height:auto;min-height:100vh;min-height:100svh}
.fx-hero .cap>div{opacity:0!important}
.fx-hero .cap>div.last{opacity:1!important}
.fx-hero .welcome span,.fx-hero .rest{opacity:1!important;translate:none!important}
.fx-hero .hint{display:none}

}


/* El tema de la web pone sus propios colores y fuentes a h1/h2/p: aquí mandan los de la cabecera */
.fx-hero .cap h1,.fx-hero .cap h2{color:var(--ink);font-family:inherit;font-weight:700;letter-spacing:normal;text-transform:none}
.fx-hero .cap p{font-family:inherit;font-weight:400;letter-spacing:normal;text-transform:none}
.fx-hero .cap p.eyebrow,.fx-hero .cap p.welcome{font-weight:700;text-transform:uppercase}
.fx-hero .cap p:not(.eyebrow):not(.welcome){color:var(--muted)}
.fx-hero .snd{font-family:inherit}
