/* Efectos de movimiento de la tienda (scroll suave, aparición, contadores, cinta). Solo se activan si fx.js corre (html.fx). */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* título del hero: cada letra sube desde detrás de una máscara */
.fx-w { display: inline-block; white-space: nowrap; }
.fx-c { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em; margin: -.12em -.02em; }
.fx-c > i { display: inline-block; font-style: normal; transform: translate3d(0, 130%, 0); will-change: transform; }
.fx.fx-go .fx-c > i { transform: none; transition: transform 1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.1s + var(--i) * 45ms); }
.fx .h3-kicker, .fx .h3-lead, .fx .h3-cta, .fx .h3-chips, .fx .h3-stage { opacity: 0; transform: translate3d(0, 18px, 0); }
.fx.fx-go .h3-kicker, .fx.fx-go .h3-lead, .fx.fx-go .h3-cta, .fx.fx-go .h3-chips, .fx.fx-go .h3-stage { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.fx.fx-go .h3-lead { transition-delay: .5s; }
.fx.fx-go .h3-cta { transition-delay: .65s; }
.fx.fx-go .h3-chips { transition-delay: .8s; }
.fx.fx-go .h3-stage { transition-delay: .3s; }
.fx .h3-wrap { opacity: var(--o, 1); transform: translate3d(0, var(--dy, 0px), 0) scale(var(--s, 1)); will-change: transform, opacity; }
.fx .h3-grid { transform: scale(var(--gs, 1)); will-change: transform; }

/* aparición al hacer scroll (el atributo se quita al terminar para devolver los estilos originales) */
.fx [data-r] { opacity: 0; transform: translate3d(var(--rx, 0), var(--ry, 36px), 0); transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.fx [data-r].in { opacity: 1; transform: none; }

/* cinta de palabras que corre sola y reacciona a la velocidad del scroll */
.fx-marquee { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .06); padding: 16px 0; margin-top: 8px; }
.fx-marquee.rev { width: 100vw; margin: 4px calc(50% - 50vw) 40px; }
.fx-marquee .track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.fx-marquee .copy { display: flex; flex-shrink: 0; }
.fx-marquee span { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(26px, 5vw, 44px); margin: 0 26px; color: rgba(232, 230, 240, .8); letter-spacing: 1px; text-transform: uppercase; }
.fx-marquee span b { color: #8b5cf6; font-weight: 400; margin-left: 52px; }

/* portada fija a pantalla completa; el panel sube y la tapa */
.fx .fx-stack { position: relative; }
.fx .h3 { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 640px; display: flex; align-items: center; }
.fx .h3-wrap { min-height: 0; padding-top: 64px; }
@media (max-width: 860px) { .fx .h3 { position: relative; height: auto; min-height: 0; } .fx .h3-wrap { padding-top: 88px; } }
.fx-pin { position: relative; z-index: 10; height: 440vh; background: #07070c; }
.fx-pin-in { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(120, 80, 255, .28), transparent 70%), radial-gradient(ellipse 60% 50% at 85% 0%, rgba(120, 80, 255, .12), transparent 70%), #07070c; border-top: 1px solid rgba(139, 92, 246, .25); }
.fx-pin-text { width: 100%; padding: 0 16px; text-align: center; will-change: transform, opacity; transform-origin: center; }
.fx-statement { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(34px, 7.4vw, 104px); line-height: 1.02; margin: 0 auto; max-width: 92vw; color: #fff; letter-spacing: -.01em; }
.fx-statement .w { display: inline-block; white-space: nowrap; margin-right: .26em; }
.fx-statement .l { display: inline-block; opacity: .16; }
.fx-pin-stats { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.fx-pin-wrap { position: relative; width: min(1180px, 92vw); margin: 0 auto; }
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.fx-big { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: clamp(54px, 11vw, 160px); line-height: .95; color: #f1efea; }
.fx-tag { margin-top: 12px; font-size: clamp(10px, 1.2vw, 13px); letter-spacing: 3px; text-transform: uppercase; color: #a78bfa; }
.fx-line { position: absolute; left: 8px; right: 8px; height: 1px; background: rgba(241, 239, 234, .7); transform: scaleX(.004); will-change: transform; }
.fx-line.top { top: -44px; transform-origin: right; }
.fx-line.bot { bottom: -44px; transform-origin: left; }
@media (max-width: 640px) { .fx-grid { grid-template-columns: 1fr; gap: 26px; } .fx-big { font-size: clamp(54px, 22vw, 110px); } .fx-line.top { top: -28px; } .fx-line.bot { bottom: -28px; } .fx .hero .specs-grid { gap: 6px; } }

/* Maxi viajero: sale del héroe y baja a la esquina con el scroll; al llegar toma el relevo el Maxi de la esquina */
.fx .h3-buddy.fly { position: fixed; left: 0; top: 0; right: auto; bottom: auto; z-index: 85; transform-origin: 0 0; will-change: transform, width; opacity: 0; }
.fx.fx-go .h3-buddy.fly { opacity: 1; transition: opacity 1s .3s; }
.fx.fx-go .h3-buddy.fly.gone { opacity: 0; pointer-events: none; transition: opacity .12s; }
.fx .h3-buddy.fly .h3-bubble { opacity: var(--bo, 1); }
.fx .maxi-corner { opacity: 0; pointer-events: none; transition: opacity .12s; }
.fx .maxi-corner.fx-on { opacity: 1; pointer-events: auto; }

/* brillo que sigue al mouse dentro de las tarjetas */
.fx .feature-item, .fx .spec-card { position: relative; overflow: hidden; }
.fx .feature-item::before, .fx .spec-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .18), transparent 70%); }
.fx .feature-item:hover::before, .fx .spec-card:hover::before { opacity: 1; }
.fx .feature-item > *, .fx .spec-card > * { position: relative; }
.fx .plan { transition: border-color .2s, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s; }
.fx .plan:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(120, 80, 255, .18); }
.fx [data-r].plan { transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }

/* ── Barra superior: solo el nombre flotando a la izquierda y 3 opciones a la derecha, con una «burbuja» que sigue al mouse ── */
.fx .topnav { top: 0; left: 0; right: 0; transform: none; width: auto; border: 0; border-radius: 0; background: transparent !important; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none !important; padding: 20px clamp(16px, 3vw, 40px); flex-wrap: nowrap; justify-content: space-between; }
.fx .topnav::before { content: ""; position: absolute; inset: 0 0 -26px 0; z-index: -1; pointer-events: none; background: linear-gradient(rgba(7, 7, 12, .82), rgba(7, 7, 12, 0)); }
.fx .topnav-toggle { display: none !important; }
.fx .topnav-brand { font-size: clamp(24px, 2.6vw, 34px); margin-right: 0; }
.fx .topnav-links { display: flex !important; position: relative; flex-direction: row; align-items: center; width: auto; gap: 4px; padding: 0; border: 0; }
.fx .topnav-links > .topnav-link, .fx .topnav-more-btn, .fx .topnav-cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 16px; border-radius: 999px; background: transparent !important; color: #e8e6f0; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: -.01em; transition: color .2s; }
.fx .topnav-links .is-hover, .fx .topnav-cta.is-hover { color: #fff; }
.fx .topnav-more { position: static; }
.fx .topnav-more-btn { display: inline-flex !important; }
.fx .topnav-more-btn .ext { font-size: 14px; color: currentColor; }
.fx .topnav-menu { position: absolute; display: none; top: calc(100% + 6px); right: 0; left: auto; min-width: 250px; max-height: 70vh; overflow-y: auto; padding: 6px; border: 1px solid rgba(139, 92, 246, .3); border-radius: 14px; background: rgba(12, 11, 20, .97); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); flex-direction: column; gap: 2px; }
.fx .topnav-more:hover .topnav-menu, .fx .topnav-more.open .topnav-menu, .fx .topnav-more:focus-within .topnav-menu { display: flex; }
.fx .topnav-menu .topnav-link { padding: 10px; font-size: 14px; border-radius: 9px; }
.fx .topnav-menu .topnav-link:hover { background: rgba(139, 92, 246, .14) !important; }
/* puente invisible entre el botón y el menú (dentro del menú lo recortaba su overflow) */
.fx .topnav-menu::before { display: none; }
.fx .topnav-more::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; display: none; }
.fx .topnav-more:hover::after, .fx .topnav-more.open::after { display: block; }
.fx-blob { position: absolute; z-index: 0; border-radius: 999px; background: #7c3aed; pointer-events: none; transition: left .38s cubic-bezier(.22, 1, .36, 1), top .38s cubic-bezier(.22, 1, .36, 1), width .38s cubic-bezier(.22, 1, .36, 1), height .38s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 760px) { .fx .topnav-links > .nav-feat { display: none; } .fx .topnav-brand { font-size: 22px; } .fx .topnav-links > .topnav-link, .fx .topnav-more-btn, .fx .topnav-cta { padding: 7px 12px; font-size: 14px; } }

/* ── Pie fijo (siempre visible): nombre + % de avance, enlaces y copyright ── */
.fx-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; pointer-events: none; padding: 26px 0 16px; background: linear-gradient(rgba(7, 7, 12, 0), rgba(7, 7, 12, .88) 60%); font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #cfcbe0; }
.fx-foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 110rem; margin: 0 auto; padding: 0 84px 0 150px; }
.fx-foot .b { font-weight: 600; color: #fff; }
.fx-foot .pl { display: inline-flex; align-items: center; gap: 10px; margin-left: 16px; }
.fx-foot .bar { position: relative; width: 48px; height: 1px; background: rgba(207, 203, 224, .35); }
.fx-foot .bar i { position: absolute; inset: 0; background: #a78bfa; transform: scaleX(0); transform-origin: left; }
.fx-foot .pc { width: 32px; font-variant-numeric: tabular-nums; }
.fx-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.fx-foot a { pointer-events: auto; color: inherit; text-decoration: none; }
.fx-foot a:hover { color: #fff; text-decoration: underline; }
.fx-foot .c { text-align: right; white-space: nowrap; }
@media (max-width: 900px) { .fx-foot-in { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 0 70px 0 120px; } .fx-foot .b, .fx-foot .pl, .fx-foot .c { display: none; } .fx-foot { font-size: 10px; } }
/* el aviso legal completo queda al final de la página, con espacio para que el pie fijo no lo tape */
.fx .footer-inner { padding-bottom: 120px; }

