function pageLoadgestion() {
let tl = gsap.timeline({ delay: 0 });
// Animar palabras en .titulo-h1-gestion y .subtitulo-gestion al mismo tiempo
tl.from(".titulo-h1-gestion .word", {
y: "100%",
opacity: 0,
filter: "blur(10px)",
stagger: { each: 0.04, from: "start" },
ease: "expo.inOut",
duration: 0.3
}, 0) // Iniciar esta animación en el tiempo 0
.to(".titulo-h1-gestion .word", {
filter: "blur(0px)",
duration: 0.3,
ease: "expo.inOut",
stagger: { each: 0.04, from: "start" },
}, 0); // Iniciar esta animación en el tiempo 0
// Animar el fondo al mismo tiempo
tl.to(".img-gestion", {
y: "100%",
stagger: { each: 0.3 },
ease: "expo.inOut",
duration: 0.6
}, 0); // Iniciar esta animación en el tiempo 0
}
// Llamar a la función de animación
pageLoadgestion();