.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    margin: 15% auto;
    text-align: center;
    cursor: pointer;
}

.info-window {
    display: flex;
    gap: 10px;
    max-width: 420px;
    font-family: Arial, sans-serif;
}

.info-img {
    display: flex;
    align-items: flex-end;
}

.info-img img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.info-text h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.info-text p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.contacto-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0 160px;
    max-width: 1200px;
    margin: 0 auto;
}

.entorno-mapa {
    padding: 0 160px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Columna derecha (mapa) */
.map-wrapper {
    flex: 1;
    max-width: 650px; 
}

/* Responsive móvil */
@media (max-width: 900px) {
    .entorno-section {
        padding: 0 40px;
    }

 .entorno-mapa {
        padding: 0 20px;  /* mismo padding que el resto en móvil */
        grid-template-columns: 1fr;  /* una sola columna */
    }

    .entorno-mapa #map {
        grid-column: span 1;  /* en móvil no hace span */
        height: 200px;
    }

    .entorno-mapa .entorno-center {
        justify-content: center;
        text-align: center;
    }


}

@media (max-width: 768px) {
    .entorno-section {
        flex-direction: column;
        padding: 0 20px;
    }

    .map-wrapper {
        max-width: 100%;
    }

    #map {
        height: 200px;
    }
}

