.wpsa-js-enabled .has-fade-up,
.wpsa-js-enabled .has-stagger .stagger-item {
    opacity: 0;
}

/* El plugin GSAP cambia visibility a visible automáticamente al animar */

/* Configuración obligatoria para el contenedor de Parallax */
.has-parallax {
    overflow: hidden;
    position: relative;
    /* Ajusta la altura según tus necesidades de diseño */
    height: 100%; 
    min-height: 400px;
}

.has-parallax img {
    width: 100%;
    /* La imagen debe ser más alta que el contenedor para permitir el movimiento */
    height: 130%; 
    object-fit: cover;
    /* Centramos la imagen de forma absoluta */
    position: absolute;
    top: -15%;
    left: 0;
    will-change: transform; /* Hint para el navegador, mejora el rendimiento de repintado */
}

/* Bloquear el scroll mientras carga */
body.is-loading {
    overflow: hidden;
    height: 100vh; /* Previene saltos en móviles */
}

.wpsa-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f4f0ed;
    z-index: 999999;
    display: flex;
    align-items: center;
    /* justify-content: flex-start; Si quieres el texto a la izquierda como en el video */
    padding-left: 5vw;
    will-change: transform;
}

.wpsa-preloader-text {
    color: #111 !important; /* Color oscuro para contraste */
    font-size: clamp(1rem, 2vw, 2rem) !important;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    /* Estado inicial para GSAP */
    opacity: 0;
    transform: translateY(30px);
}

.site-content {
    position: relative;
    z-index: 2; 
    background-color: #f4f0ed;
}

.wpsa-footer-slot {
    position: relative;
    display: flow-root;
    width: 100%;
    box-sizing: border-box;
}

.site-primary-footer-wrap {
    position: relative;
    width: 100%;
    z-index: 1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.site-primary-footer-wrap.is-fixed {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    margin: auto;
    z-index: 30;

    will-change: transform;
}

/*
@media (max-width: 768px) {
    .mov-slider.swiper .uagb-container-inner-blocks-wrap.swiper-wrapper,
    .mov-slider.swiper .wp-block-group__inner-container.swiper-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important; 
    }
    
    .mov-slider.swiper .swiper-slide {
        margin-bottom: 0 !important; 
        height: auto !important; 
    }
}
*/