/**
 * 08. MOTION & ACCESSIBILITY OVERRIDES
 * Micro-animaciones, keyframes y respeto estricto a prefers-reduced-motion
 */

@keyframes eupgFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eupg-animate-fade {
    animation: eupgFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Respeto riguroso a prefers-reduced-motion WCAG 2.2 AA */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .eupg-program-card:hover,
    .eupg-person-card:hover,
    .eupg-btn-cta:hover {
        transform: none !important;
    }
}
