/**
 * ANIMATIONS.CSS - Animaciones y transiciones
 */

/* Animación fadeInUp */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animaciones a elementos */
.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Animaciones de tarjetas con delay */
.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Animaciones de pasos del proceso */
.process-step {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.3s; }
.process-step:nth-child(3) { animation-delay: 0.5s; }
.process-step:nth-child(4) { animation-delay: 0.7s; }
