/* Estilos para el Mapa de 25 Obras - Ecoparque (SIN SCROLL) */

.seccion-principal-queque {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    /* Aplicamos Sans-Serif a toda la sección */
    font-family: sans-serif;
}

.titulo-verde {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-obras-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.obra-link {
    display: block;
    padding: 8px 4px;
    background: #e8f5e9;
    border: 1px solid #2e7d32;
    color: #1b5e20;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    transition: 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Aseguramos la fuente en los rectángulos */
    font-family: sans-serif;
}

.obra-link:hover {
    background: #2e7d32;
    color: white;
}

.mapa-marco {
    position: relative;
    border: 3px solid #2e7d32;
    border-radius: 8px;
    /* CAMBIO CLAVE: hidden para quitar los scrolls */
    overflow: hidden;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 60vh;
}

.mapa-posicionador {
    position: relative;
    display: inline-block;
}

.imagen-plano {
    display: block;
    height: 60vh;
    width: auto;
}

.punto-mapa {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0.8;
}

/* Puntos encendidos con el efecto de destello de Queque */
.punto-mapa.encendido {
    background-color: #ff0000 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 15px #ff0000, 0 0 30px #ffffff;
    z-index: 100;
    opacity: 1;
    animation: destelloQueque 0.6s infinite alternate;
}

@keyframes destelloQueque {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }

    to {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 1;
    }
}

.caja-info {
    margin-top: 15px;
    padding: 12px;
    background: #2e7d32;
    color: white;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    font-size: 15px;
    /* Aseguramos la fuente en el rectángulo verde inferior */
    font-family: sans-serif;
}