/* =========================================
   VIONEX - ESTILOS DE HERRAMIENTAS
   ========================================= */

body {
    /* Fondo con overlay oscuro para legibilidad */
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), 
                url('../assets/fondo_cosultas.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Tarjetas de Tecnología */
.tech-card {
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column; /* CORREGIDO: Propiedad estándar de CSS */
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    opacity: 0; /* Empieza invisible para la animación */
}

.tech-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.tech-card span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ccd6f6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Efectos Hover */
.tech-card:hover {
    background: rgba(100, 255, 218, 0.05);
    border-color: var(--vionex-cyan);
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(100, 255, 218, 0.15);
}

.tech-card:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(100, 255, 218, 0.4));
}

.tech-card:hover span {
    color: var(--vionex-cyan);
}

/* Animación de entrada para las tarjetas */
@keyframes cardAppear {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.tech-card {
    animation: cardAppear 0.7s ease-out forwards;
}

/* Efecto de cascada (Retraso para cada una de las 11 herramientas) */
.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.15s; }
.tech-card:nth-child(3) { animation-delay: 0.2s; }
.tech-card:nth-child(4) { animation-delay: 0.25s; }
.tech-card:nth-child(5) { animation-delay: 0.3s; }
.tech-card:nth-child(6) { animation-delay: 0.35s; }
.tech-card:nth-child(7) { animation-delay: 0.4s; }
.tech-card:nth-child(8) { animation-delay: 0.45s; }
.tech-card:nth-child(9) { animation-delay: 0.5s; }
.tech-card:nth-child(10) { animation-delay: 0.55s; }
.tech-card:nth-child(11) { animation-delay: 0.6s; }

/* Ajustes para pantallas pequeñas */
@media (max-width: 640px) {
    .tech-card {
        padding: 1.5rem 0.5rem;
    }
    .tech-card img {
        width: 50px;
        height: 50px;
    }
    .tech-card span {
        font-size: 0.8rem;
    }
}