/* Estilos para página de Soporte Técnico */

.soporte-tecnico-container {
    width: 100%;
}

.soporte-hero-section {
    position: relative;
}

.soporte-formulario-section {
    background: white;
}

.soporte-servicios-section {
    background: #f9fafb;
}

.soporte-proceso-section {
    background: white;
}

/* ============================================
   ANIMACIONES ELEGANTES
   ============================================ */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación para tarjetas de estadísticas */
.soporte-hero-section .grid > div {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.soporte-hero-section .grid > div:nth-child(1) { animation-delay: 0.1s; }
.soporte-hero-section .grid > div:nth-child(2) { animation-delay: 0.2s; }
.soporte-hero-section .grid > div:nth-child(3) { animation-delay: 0.3s; }
.soporte-hero-section .grid > div:nth-child(4) { animation-delay: 0.4s; }

/* Animación para tarjetas de servicios */
.soporte-servicios-section .grid > div {
    animation: scaleIn 0.5s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soporte-servicios-section .grid > div:nth-child(1) { animation-delay: 0.1s; }
.soporte-servicios-section .grid > div:nth-child(2) { animation-delay: 0.2s; }
.soporte-servicios-section .grid > div:nth-child(3) { animation-delay: 0.3s; }
.soporte-servicios-section .grid > div:nth-child(4) { animation-delay: 0.4s; }

.soporte-servicios-section .grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animación para pasos del proceso */
.soporte-proceso-section .grid > div {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.soporte-proceso-section .grid > div:nth-child(1) { animation-delay: 0.1s; }
.soporte-proceso-section .grid > div:nth-child(2) { animation-delay: 0.2s; }
.soporte-proceso-section .grid > div:nth-child(3) { animation-delay: 0.3s; }
.soporte-proceso-section .grid > div:nth-child(4) { animation-delay: 0.4s; }

/* Animación para formulario */
.soporte-formulario-section form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
    opacity: 0;
}

.soporte-formulario-section .mb-8 {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.soporte-formulario-section .mb-8:nth-of-type(1) { animation-delay: 0.3s; }
.soporte-formulario-section .mb-8:nth-of-type(2) { animation-delay: 0.4s; }
.soporte-formulario-section .mb-8:nth-of-type(3) { animation-delay: 0.5s; }

/* Animación para botones */
.soporte-formulario-section button[type="submit"],
.soporte-formulario-section a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.soporte-formulario-section button[type="submit"]:hover,
.soporte-formulario-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* ============================================
   OPTIMIZACIONES PARA MÓVILES
   ============================================ */

@media (max-width: 768px) {
    .soporte-hero-section {
        min-height: 80vh;
    }
    
    /* Reducir tiempos de animación en móvil */
    .soporte-hero-section .grid > div,
    .soporte-servicios-section .grid > div,
    .soporte-proceso-section .grid > div {
        animation-duration: 0.4s;
    }
    
    /* Animaciones más sutiles en móvil */
    .soporte-servicios-section .grid > div:hover {
        transform: translateY(-2px);
    }
    
    /* Mejorar rendimiento */
    .soporte-servicios-section .grid > div {
        will-change: transform;
    }
    
    /* Reducir delays en móvil */
    .soporte-hero-section .grid > div:nth-child(1) { animation-delay: 0.05s; }
    .soporte-hero-section .grid > div:nth-child(2) { animation-delay: 0.1s; }
    .soporte-hero-section .grid > div:nth-child(3) { animation-delay: 0.15s; }
    .soporte-hero-section .grid > div:nth-child(4) { animation-delay: 0.2s; }
    
    .soporte-servicios-section .grid > div:nth-child(1) { animation-delay: 0.05s; }
    .soporte-servicios-section .grid > div:nth-child(2) { animation-delay: 0.1s; }
    .soporte-servicios-section .grid > div:nth-child(3) { animation-delay: 0.15s; }
    .soporte-servicios-section .grid > div:nth-child(4) { animation-delay: 0.2s; }
    
    /* Botones más responsivos en móvil */
    .soporte-formulario-section button:active,
    .soporte-formulario-section a:active {
        transform: scale(0.95);
    }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .soporte-hero-section .grid > div,
    .soporte-servicios-section .grid > div,
    .soporte-proceso-section .grid > div,
    .soporte-formulario-section form,
    .soporte-formulario-section .mb-8 {
        animation: none;
        opacity: 1;
    }
    
    .soporte-servicios-section .grid > div {
        transition: none;
    }
}

