/* --- ESTILOS BOTONES Y MODALES (IDÉNTICO ECOPARQUE) --- */

.botones-container-queque {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    font-family: sans-serif !important;
    flex-wrap: wrap;
}

.tarjeta-mapa {
    background: #2e7d32;
    /* Verde Ecoparque */
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    min-width: 280px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.tarjeta-mapa:hover {
    background: #1b5e20;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.icono-mapa {
    font-size: 3rem;
}

.texto-mapa {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.titulo-mapa {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitulo-mapa {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- ESTILOS DE LOS MODALES --- */
.map-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Fondo más oscuro */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Por encima de todo */
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 850px;
    position: relative;
    font-family: sans-serif !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-titulo-queque {
    color: #2e7d32;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.8rem;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Ratio 16:9 */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.close-btn:hover {
    color: #cc0000;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .tarjeta-mapa {
        width: 100%;
        min-width: unset;
    }
}