/* ==============================================================================
   ARCHIVO AISLADO: nosotros-responsive.css
   NOTA: Este archivo solo afecta a dispositivos móviles y tablets (max-width: 992px 
   y max-width: 768px). Las computadoras mantienen nosotros.css intacto.
   ============================================================================== */

/* ==============================================================================
   1. TABLETS Y DISPOSITIVOS MEDIANOS (max-width: 992px)
   ============================================================================== */
@media screen and (max-width: 992px) {
    .container-hero,
    .container-diferencia,
    .hoteles-grid-main,
    .presencia-v2-grid,
    .container-mv-v2 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .container-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .stat-card:not(:last-child)::after {
        display: none !important; /* Oculta divisores verticales en tablets */
    }

    .diferencia-right-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==============================================================================
   2. MÓVILES GRANDES Y TABLETS VERTICALES (max-width: 768px)
   ============================================================================== */
@media screen and (max-width: 768px) {

    /* --- 2.1. HERO NOSOTROS --- */
    .nosotros-hero-v2 {
        padding: 80px 15px 30px 15px !important;
    }

    .hero-left-content h1 {
        font-size: 2.8rem !important; /* Adaptado para que no se desborde */
    }

    .hero-left-content h2 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }

    .hero-left-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .hero-buttons a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .hero-video-box {
        height: 250px !important; /* Altura compacta para celular */
        padding: 0 !important;
    }

    /* --- 2.2. TARJETA FLOTANTE DE ESTADÍSTICAS --- */
    .seccion-malla-stats {
        margin-top: -20px !important;
        margin-bottom: -40px !important;
        padding: 0 12px !important;
    }

    .container-stats-card {
        max-width: 100% !important;
        padding: 20px 15px !important;
    }

    .container-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .stat-number {
        font-size: 1.6rem !important;
    }

    .stat-prefix,
    .stat-suffix {
        font-size: 1.2rem !important;
    }

    .stat-label {
        font-size: 0.78rem !important;
    }

    /* --- 2.3. NUESTRA DIFERENCIA --- */
    .seccion-diferencia {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .container-diferencia {
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .diferencia-left h2 {
        font-size: 1.6rem !important;
    }

    .diferencia-left p {
        font-size: 0.92rem !important;
        letter-spacing: normal !important;
    }

    .diferencia-right-grid {
        grid-template-columns: 1fr !important; /* Tarjetas en una sola columna vertical */
        gap: 12px !important;
    }

    .dif-card {
        height: auto !important;
        min-height: 150px !important;
        padding: 18px !important;
    }

    .dif-icon-box {
        margin-bottom: 15px !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }

    .dif-text-box h3 {
        font-size: 1.05rem !important;
    }

    .dif-text-box p {
        font-size: 0.82rem !important;
    }

    /* --- 2.4. SECCIÓN HOTELES --- */
    .seccion-hoteles {
        padding: 10px 15px !important;
    }

    .container-hoteles {
        max-width: 100% !important;
    }

    .hoteles-grid-main {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

    .hoteles-left h2 {
        font-size: 1.6rem !important;
    }

    .hoteles-left p {
        font-size: 0.92rem !important;
    }

    .hotel-img-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columnas en galería para móvil */
        gap: 8px !important;
    }

    .hotel-img-grid img {
        height: 120px !important;
    }

    .hoteles-logos-container {
        margin-top: 25px !important;
    }

    .logo-img {
        height: 60px !important;
        max-width: 90px !important;
    }

    /* --- 2.5. PRESENCIA INTERNACIONAL --- */
    .seccion-presencia-v2 {
        padding: 10px 15px !important;
    }

    .presencia-v2-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .mapa-globe-box {
        height: 280px !important; /* Altura compacta para celular */
    }

    .presencia-info-col h2 {
        font-size: 1.6rem !important;
    }

    .presencia-info-col p {
        font-size: 0.92rem !important;
    }

    .presencia-stats-row {
        gap: 20px !important;
    }

    .p-stat h3 {
        font-size: 1.4rem !important;
    }

    /* Tira de banderas adaptada para móvil */
    .paises-flags-grid {
        gap: 25px !important;
        margin-top: 10px !important;
        padding-left: 0 !important;
    }

    .flag-item {
        width: 60px !important;
    }

    .flag-icon {
        width: 60px !important;
        height: 60px !important;
    }

    .flag-item span {
        font-size: 0.7rem !important;
    }

    /* --- 2.6. MISIÓN Y VISIÓN --- */
    .seccion-mision-vision-v2 {
        padding: 0 15px 30px 15px !important;
    }

    .container-mv-v2 {
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .mv-card-v2 {
        padding: 20px !important;
    }

    .mv-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }

    .mv-title {
        font-size: 1.2rem !important;
    }

    .mv-card-v2 p {
        font-size: 0.9rem !important;
        padding-left: 0 !important; /* Elimina margen izquierdo en celular para aprovechar espacio */
        letter-spacing: normal !important;
        margin-top: 10px !important;
    }

    /* --- 2.7. BANNER DE CIERRE --- */
    .seccion-cta-bottom {
        min-height: auto !important;
        padding: 50px 15px !important;
    }

    .seccion-cta-bottom h2 {
        font-size: 1.6rem !important;
    }

    .seccion-cta-bottom p {
        font-size: 0.92rem !important;
    }

    .cta-buttons {
        flex-direction: column !important;
    }

    .cta-buttons a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}