/* ==========================================================================
   SECCIÓN NOSOTROS - EFECTO PARALLAX EN TODA LA SECCIÓN
   ========================================================================== */

.parallax-full-section {
    scroll-margin-top: 50px;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* EFECTO PARALLAX NATIVO: La imagen se queda fija mientras el contenido se desplaza */
    background-attachment: fixed; 
}

/* Capa oscura translúcida (overlay) para asegurar el contraste y legibilidad del texto blanco */
.parallax-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.85) 0%, rgba(30, 62, 98, 0.9) 100%);
    z-index: 1;
}

/* Control de capas de profundidad */
.z-index-2 { 
    z-index: 2; 
}

.tracking-wide { 
    letter-spacing: 1px; 
}

/* Tarjeta contenedora con efecto cristal esmerilado moderno (Glassmorphism) */
.about-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Microinteracciones para los elementos del grid de valores */
.value-item-dark {
    transition: transform 0.2s ease;
    display: flex;
    align-items: start !important;
}

.value-item-dark:hover {
    transform: translateX(4px);
}

.value-item-dark span {
    transition: color 0.2s ease;
}
.value-item-dark i {
    width: 24px; /* Ancho fijo para que los textos queden perfectamente alineados verticalmente */
    text-align: center;
}

.value-item-dark:hover span {
    color: #ffffff !important;
}

/* Badge lateral gigante de experiencia (+10 años) */
.experience-giant-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 280px;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.experience-giant-badge:hover {
    transform: scale(1.03);
}

/* Transiciones para el botón de acción principal */
.transition-btn {
    transition: all 0.2s ease;
}

.transition-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3) !important;
}

/* 1. Estado inicial: las tarjetas están ocultas y movidas hacia arriba */
.animacion_card {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

/* 2. Estado activo: cuando JavaScript detecta el scroll, añade esta clase */
.titulo-ready .animacion_card {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Retrasos en cascada (se activan en cuanto se añade la clase .animated) */
.titulo-ready .animacion_card:nth-child(1) { transition-delay: 0.1s; }
.titulo-ready .animacion_card:nth-child(2) { transition-delay: 0.3s; }
.titulo-ready .animacion_card:nth-child(3) { transition-delay: 0.5s; }
.titulo-ready .animacion_card:nth-child(4) { transition-delay: 0.7s; }
.titulo-ready .animacion_card:nth-child(5) { transition-delay: 0.9s; }
.titulo-ready .animacion_card:nth-child(6) { transition-delay: 0.11s; }

/* ==========================================================================
   AJUSTE RESPONSIVO CRÍTICO (Optimización para Dispositivos Móviles)
   ========================================================================== */
@media (max-width: 991.98px) {
    .parallax-full-section {
        /* Se desactiva background-attachment: fixed en móviles para evitar parpadeos 
           y problemas de rendimiento severos en navegadores Safari de iOS y Android */
        background-attachment: scroll; 
    }
    
    .about-glass-card {
        /* En pantallas táctiles pequeñas se remueve el filtro de desenfoque pesado (blur) 
           para optimizar la fluidez del scroll de la página */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(11, 25, 44, 0.95);
    }
    
    .experience-giant-badge {
        /* El badge se expande a lo ancho cuando las columnas se apilan verticalmente */
        max-width: 100%; 
        margin-top: 20px;
    }
}