/* --- ESTILOS DEL NUEVO MOSAICO DE 7 PIEZAS --- */
.tourism-hero-section {
    padding: 40px 0 80px 0;
    background-color: #fcfcfc;
}

.mosaico-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(2, 280px); 
    gap: 12px;
    width: 100%;
    max-height: 580px; 
    margin-top: 30px;
}

.mosaico-item { 
    position: relative; 
    overflow: hidden; 
    border-radius: 20px; 
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mosaico-item video, 
.mosaico-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease;
    opacity: 0.85;
}

.mosaico-item:hover video, 
.mosaico-item:hover img { 
    transform: scale(1.05); 
    opacity: 1; 
}

/* MAPEO DE LAS 7 POSICIONES */
.p-4 { grid-column: 1 / 2; grid-row: 1 / 3; } /* Pilar Izquierdo */
.p-1 { grid-column: 3 / 4; grid-row: 1 / 3; z-index: 2; } /* Pilar Centro */
.p-7 { grid-column: 5 / 6; grid-row: 1 / 3; } /* Pilar Derecho */

.p-2 { grid-column: 2 / 3; grid-row: 1 / 2; } /* Cuadro Arriba-Izq */
.p-5 { grid-column: 2 / 3; grid-row: 2 / 3; } /* Cuadro Abajo-Izq */
.p-3 { grid-column: 4 / 5; grid-row: 1 / 2; } /* Cuadro Arriba-Der */
.p-6 { grid-column: 4 / 5; grid-row: 2 / 3; } /* Cuadro Abajo-Der */

.mosaico-overlay {
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white; 
    z-index: 3;
}

/* Ajustes para los Containers de Features */
.features-container {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.feature-icon-box {
    width: 60px; 
    height: 60px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 0 auto 15px auto;
}

/* RESPONSIVE: Mosaico deslizable en móviles */
@media (max-width: 991px) {
    .mosaico-grid { 
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 20px;
        max-height: none;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .mosaico-grid::-webkit-scrollbar { display: none; }

    .mosaico-item { 
        flex: 0 0 85%;
        height: 500px !important;
        scroll-snap-align: center;
        margin-bottom: 0;
    }

    .mosaico-overlay {
        padding: 30px 20px;
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }

    .features-container {
        margin-top: 20px;
    }
}