/* Hero importado de la nueva web; estilos limitados a este componente. */
.legacy-hero{--yellow:#ffdd00;--gutter:clamp(24px,5vw,96px);--black:#000;--white:#fff;--display:'Barlow Condensed',Impact,sans-serif;--body:'Barlow',Arial,sans-serif;--ease:cubic-bezier(.22,1,.36,1);color:#fff;font-family:var(--body);margin-bottom:30px;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
.legacy-hero *{box-sizing:border-box}
.legacy-hero p,.legacy-hero h1{margin:0}
.legacy-hero a{color:inherit;text-decoration:none}
.legacy-hero h1{font-family:var(--display);text-transform:uppercase;text-align:left;padding:0;width:100%;max-width:none}
.legacy-hero .hero-copy,.legacy-hero .hero-line{text-align:left}
.legacy-hero .hero-intro,.legacy-hero .hero-bottom p{color:#fff;font-family:var(--body)}
.legacy-hero :focus-visible{outline:3px solid #ffdd00;outline-offset:5px}
.legacy-hero .yellow{color:var(--yellow)}
.legacy-hero .eyebrow{font-size:12px;font-weight:700;letter-spacing:.15em;line-height:1.4;text-transform:uppercase;margin-bottom:24px}
.legacy-hero .button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:18px 25px;background:var(--yellow);color:var(--black);font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.05em;text-transform:uppercase;transition:background .25s,color .25s,transform .25s var(--ease)}
.legacy-hero .button span{font-size:23px;line-height:1;transition:transform .25s var(--ease)}
.legacy-hero .button:hover{background:var(--white);transform:translateY(-3px)}
.legacy-hero .button:hover span{transform:translate(3px,-3px)}
.legacy-hero .button-small{padding:13px 18px;gap:22px}
.legacy-hero .hero{min-height:100svh;position:relative;padding:150px var(--gutter) 112px;display:flex;align-items:center;isolation:isolate;overflow:hidden}
.legacy-hero .hero-embers{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;mask-image:linear-gradient(to bottom,transparent 8%,#000 32%,#000 90%,transparent)}
.legacy-hero .hero-embers::before{content:'';position:absolute;inset:8% -10% -18%;background:radial-gradient(ellipse at 72% 90%,#e7431359,transparent 62%),radial-gradient(ellipse at 24% 100%,#ff6a004d,transparent 58%);animation:coal-glow 9s ease-in-out infinite alternate}
.legacy-hero .coal-flame{position:absolute;bottom:-23%;left:18%;width:25%;height:67%;border-radius:50% 50% 30% 30%;background:radial-gradient(ellipse at 50% 85%,#ee4b1473,transparent 70%);filter:blur(22px);transform-origin:50% 100%;animation:coal-flame 12s ease-in-out infinite alternate}
.legacy-hero .coal-flame:nth-child(2){left:48%;height:80%;width:20%;animation-delay:-5s;animation-duration:15s}
.legacy-hero .coal-flame:nth-child(3){left:76%;height:58%;width:18%;animation-delay:-9s;animation-duration:10s}
.legacy-hero .coal-spark{position:absolute;left:var(--x);bottom:5%;width:calc(var(--size) * 1.35);height:calc(var(--size) * 2);border-radius:55% 35%;background:#ff9a48;box-shadow:0 0 10px 2px #ff581599;opacity:0;animation:coal-rise var(--duration) var(--delay) linear infinite}
.legacy-hero .coal-spark:nth-of-type(3n){background:#f24b27;box-shadow:0 0 9px 1px #eb3b2380}
.legacy-hero .motion-paused .hero-embers::before,.legacy-hero .motion-paused .hero-embers>*,.legacy-hero .hero.is-offscreen .hero-embers::before,.legacy-hero .hero.is-offscreen .hero-embers>*{animation-play-state:paused}
@keyframes coal-rise{0%{opacity:0;transform:translate3d(0,0,0) rotate(0)}12%{opacity:.9}55%{opacity:.65}100%{opacity:0;transform:translate3d(var(--drift),-70vh,0) rotate(140deg)}}
@keyframes coal-glow{from{opacity:.7;transform:scale(1)}to{opacity:1;transform:scale(1.06)}}
@keyframes coal-flame{from{opacity:.45;transform:translate3d(-12px,15px,0) skewX(-12deg) scaleY(.9)}to{opacity:.75;transform:translate3d(15px,-20px,0) skewX(10deg) scaleY(1.12)}}
@media(max-width:600px){.legacy-hero .coal-spark:nth-of-type(n+17){display:none}
.legacy-hero .hero-embers::before{opacity:.6}
.legacy-hero .coal-flame{filter:blur(16px)}}
@media(prefers-reduced-motion:reduce){.legacy-hero .hero-embers .coal-spark{display:none}
.legacy-hero .hero-embers::before{opacity:.55}
.legacy-hero .hero-embers .coal-flame{opacity:.3}}
.legacy-hero .hero-copy{position:relative;width:64%;z-index:3}
.legacy-hero .hero-intro{display:flex;align-items:center;gap:14px;font-size:11px;margin-bottom:25px;animation:hero-up .9s var(--ease) both}
.legacy-hero .mini-cross{color:var(--yellow);font-size:26px;line-height:1}
.legacy-hero .hero h1{font-size:clamp(88px,11.4vw,205px);font-weight:800;letter-spacing:-.037em;line-height:.85}
.legacy-hero .hero-line{display:block;overflow:hidden;padding:0 0 .08em}
.legacy-hero .hero-line>span{display:block;animation:word-enter 1.1s var(--ease) both}
.legacy-hero .hero-line:nth-child(2)>span{animation-delay:.12s}
.legacy-hero .hero-line:nth-child(3)>span{animation-delay:.24s}
.legacy-hero .hero-line:last-child{font-size:.82em;white-space:nowrap;letter-spacing:-.035em}
.legacy-hero .hero-bottom{display:flex;gap:30px;align-items:center;margin-top:30px;animation:hero-up 1s .35s var(--ease) both}
.legacy-hero .hero-bottom p{font-size:11px;letter-spacing:.04em;line-height:1.8;font-weight:600}
.legacy-hero .hero-art{position:absolute;right:1.5%;top:14%;bottom:12%;width:43%;z-index:2;display:flex;align-items:center;justify-content:center}
.legacy-hero .mascot-motion{height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:translate3d(var(--mouse-x,0px),var(--mouse-y,0px),0);transition:transform .65s var(--ease);animation:mascot-enter 1.4s .1s var(--ease) both}
.legacy-hero .hero-mascot{width:100%;height:100%;object-fit:contain;animation:mascot-idle 6s 1.5s ease-in-out infinite;filter:drop-shadow(0 18px 25px rgba(0,0,0,.35))}
.legacy-hero .hero-orbit{position:absolute;inset:12% 0 4% 13%;border:1px solid #38331a;border-radius:50%;transform:rotate(-22deg)}
.legacy-hero .hero-orbit::after{content:'';position:absolute;inset:16px;border:1px solid #1e1c11;border-radius:50%}
.legacy-hero .hero-star{position:absolute;right:7%;top:9%;color:var(--yellow);font-size:58px;transform:rotate(12deg)}
.legacy-hero .mascot-note{position:absolute;bottom:3%;right:9%;padding:13px 17px;background:var(--yellow);color:#000;transform:rotate(-7deg);font-size:9px;letter-spacing:.06em;line-height:1.5;box-shadow:6px 6px 0 #000;transition:transform .3s var(--ease)}
.legacy-hero .mascot-note strong{font-family:var(--display);font-size:22px;font-weight:800}
.legacy-hero .mascot-note span{position:absolute;right:-23px;top:-17px;color:var(--yellow);font-size:40px}
.legacy-hero .mascot-note:hover{transform:rotate(0)}
.legacy-hero .hero-scroll{position:absolute;bottom:34px;left:var(--gutter);right:var(--gutter);display:flex;justify-content:space-between;align-items:center;padding-top:17px;border-top:1px solid #333;font-size:9px;letter-spacing:.15em;font-weight:600}
.legacy-hero .hero-scroll>span:last-child{color:var(--yellow);font-size:25px;line-height:1}
.legacy-hero .hero-side{position:absolute;right:17px;top:45%;writing-mode:vertical-rl;font-size:9px;letter-spacing:.2em;color:#999}
.legacy-hero .motion-paused .hero-mascot{animation-play-state:paused}
.legacy-hero .motion-paused .mascot-motion{transform:none}
.legacy-hero .experience-top .eyebrow{margin:0}
@keyframes word-enter{from{transform:translateY(112%)}to{transform:translateY(0)}}
@keyframes hero-up{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}
@keyframes mascot-enter{from{opacity:0;translate:35px 0;scale:.97}to{opacity:1;translate:0 0;scale:1}}
@keyframes mascot-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(min-width:1800px){.legacy-hero .hero-art{right:4%}
.legacy-hero .hero-copy{max-width:1200px}
.legacy-hero .hero{padding-top:180px}
.legacy-hero .hero-bottom{margin-top:40px}}
@media(max-width:1150px){.legacy-hero .hero-bottom{gap:20px}
.legacy-hero .hero-bottom p{font-size:9px}}
@media(max-width:950px){.legacy-hero .hero{padding-top:130px;min-height:800px;min-height:max(800px,100svh)}
.legacy-hero .hero-copy{width:68%}
.legacy-hero .hero-art{right:2%;width:44%;top:20%;bottom:17%}
.legacy-hero .hero h1{font-size:12.8vw}
.legacy-hero .hero-line:last-child{font-size:.72em}
.legacy-hero .hero-bottom{display:block}
.legacy-hero .hero-bottom .button{margin-top:24px}
.legacy-hero .hero-side{display:none}}
@media(max-width:600px){.legacy-hero .hero{display:block;padding:122px var(--gutter) 82px;min-height:100svh;min-height:max(890px,100svh)}
.legacy-hero .hero-copy{width:100%;z-index:3}
.legacy-hero .hero-intro{font-size:9px;gap:9px;margin-bottom:24px}
.legacy-hero .mini-cross{font-size:20px}
.legacy-hero .hero h1{font-size:clamp(60px,17vw,100px);line-height:.85;letter-spacing:-.035em}
.legacy-hero .hero-line:first-child,.legacy-hero .hero-line:nth-child(2){display:inline-block;vertical-align:top}
.legacy-hero .hero-line:first-child{margin-right:.13em}
.legacy-hero .hero-line:last-child{font-size:1.18em;letter-spacing:-.038em;padding-top:.02em}
.legacy-hero .hero-bottom{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.legacy-hero .hero-bottom p{font-size:8px;line-height:1.7}
.legacy-hero .hero-bottom .button{margin-top:0;font-size:10px;gap:12px;padding:13px 15px}
.legacy-hero .button span{font-size:19px}
.legacy-hero .hero-art{top:380px;bottom:75px;left:10%;right:auto;width:84%;height:auto}
.legacy-hero .hero-mascot{object-position:center bottom}
.legacy-hero .hero-orbit{inset:6% 3% 5% 2%}
.legacy-hero .hero-star{font-size:35px;right:4%;top:5%}
.legacy-hero .mascot-note{right:0;bottom:10%;padding:9px 13px;font-size:7px}
.legacy-hero .mascot-note strong{font-size:19px}
.legacy-hero .mascot-note span{font-size:29px;right:-10px;top:-22px}
.legacy-hero .hero-scroll{bottom:22px;font-size:8px;padding-top:12px}
.legacy-hero .eyebrow{font-size:9px;margin-bottom:19px}
.legacy-hero .section-heading>.button{margin-top:24px}
.legacy-hero .experience-top .eyebrow{font-size:8px}}
@media(max-width:390px){.legacy-hero .hero h1{font-size:17vw}
.legacy-hero .hero-art{top:380px}
.legacy-hero .hero{min-height:870px}
.legacy-hero .hero-bottom p{font-size:7px}
.legacy-hero .hero-bottom .button{padding:12px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.legacy-hero .mascot-motion{transform:none!important}}

/* Mantener medidas del home original; sólo neutralizar estilos de la web vieja. */
.legacy-hero .hero{background:#000;text-align:left}
.legacy-hero .hero h1{color:#fff;text-align:left;padding:0;margin:0}
.legacy-hero .hero-mascot{display:block;max-width:100%;margin:0;padding:0}
.legacy-hero .button,.legacy-hero .mascot-note{color:#000}
.legacy-hero .hero-intro,.legacy-hero .hero-bottom p{color:#fff}
.legacy-hero .hero-pause{position:absolute;right:var(--gutter);bottom:32px;z-index:4;color:#ffdd00;background:#111;border:1px solid #444;padding:5px 10px;font:12px var(--body);cursor:pointer}
.legacy-hero .hero-scroll{right:calc(var(--gutter) + 55px)}
.legacy-hero.motion-paused *,.legacy-hero.motion-paused *::before,.legacy-hero.is-offscreen *,.legacy-hero.is-offscreen *::before{animation-play-state:paused!important}
@media(max-width:600px){.legacy-hero{--gutter:22px}.legacy-hero .hero-pause{bottom:20px}}
@media(prefers-reduced-motion:reduce){.legacy-hero *,.legacy-hero *::before{animation:none!important;transition:none!important}.legacy-hero .mascot-motion{transform:none!important}.legacy-hero .coal-spark{display:none}}

/* El encabezado se superpone al hero como en el home original. */
body:has(.legacy-hero) #header.normal-header{position:absolute;top:0;left:0;width:100%;z-index:50}
