/* Pantalla de carga: las teselas del icono caen una a una y se asienta el nombre (entrada propia de esta web) */
.load-splash{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;gap:18px;background:var(--ink);color:#fff;animation:splashOut .3s ease .5s forwards}
.load-splash svg{width:64px;height:64px}
.load-splash svg rect{transform-box:fill-box;transform-origin:center;animation:tileIn .28s cubic-bezier(.3,1.5,.5,1) both}
.load-splash .brand-name{font-size:28px;animation:nameIn .3s ease .12s both}
@keyframes tileIn{from{transform:scale(0)}}
@keyframes nameIn{from{opacity:0;transform:translateX(-10px)}}
@keyframes splashOut{to{opacity:0;visibility:hidden}}
.no-splash .load-splash{display:none}
@media (prefers-reduced-motion:reduce){.load-splash{display:none}}

/* Aparición al hacer scroll */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
.reveal-d1{transition-delay:.1s}.reveal-d2{transition-delay:.2s}.reveal-d3{transition-delay:.3s}

/* Entrada de la portada */
.hero h1 .ln{display:block;overflow:hidden;padding-bottom:.06em}
.hero h1 .ln>span{display:block;animation:lineUp .9s cubic-bezier(.2,.75,.2,1) both}
.hero h1 .ln:nth-child(2)>span{animation-delay:.08s}
.hero h1 .ln:nth-child(3)>span{animation-delay:.16s}
.hero p,.hero-cta,.hero-facts{animation:fadeUp .9s ease .35s both}
html:not(.no-splash) .hero h1 .ln>span{animation-delay:.5s}
html:not(.no-splash) .hero h1 .ln:nth-child(2)>span{animation-delay:.58s}
html:not(.no-splash) .hero h1 .ln:nth-child(3)>span{animation-delay:.66s}
html:not(.no-splash) .hero p,html:not(.no-splash) .hero-cta,html:not(.no-splash) .hero-facts{animation-delay:.85s}
@keyframes lineUp{from{transform:translateY(105%)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}
