/* Animaciones GSAP y cursor */


#home_hero .mgx-home-hero-003,
#home_hero .mgx-home-hero-006,
#home_hero .mgx-home-hero-008,
#home_hero .mgx-home-hero-009,
#home_hero .mgx-home-hero-011,
#home_hero .mgx-home-hero-017,
#home_hero .mgx-home-hero-018,
#home_hero .mgx-home-hero-019 {
    will-change: transform, opacity;
}

.magranit-js [data-mg-reveal],
.magranit-js [data-mg-stagger] > * {
    will-change: transform, opacity;
}

#magranit_cursor {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

#magranit_cursor .magranit-cursor__dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translate(-50%, -50%);
}

#magranit_cursor .magranit-cursor__ring {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(168,30,46,.52);
    border-radius: 50%;
    background: rgba(168,30,46,.06);
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, background .25s, border-color .25s;
}

#magranit_cursor.is-active .magranit-cursor__ring {
    width: 58px;
    height: 58px;
    background: rgba(168,30,46,.11);
    border-color: rgba(168,30,46,.72);
}

@media (pointer: fine) and (min-width: 1025px) {
    #magranit_cursor {
        display: block;
    }

    body.magranit-site,
    body.magranit-site a,
    body.magranit-site button {
        cursor: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #magranit_cursor {
        display: none !important;
    }

    .magranit-js [data-mg-reveal],
    .magranit-js [data-mg-stagger] > * {
        will-change: auto !important;
    }
}
