/* Tipografía y colores base */
body,
.map-section {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    background-color: #f3f1f1;
}

/* Contenedor principal - SIMPLE Y DIRECTO */
.map-section {
    padding: 20px 0;
}

/* Título y subtítulo */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h1 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #333333;
    font-size: 1.9rem;
}

.section-title p {
    color: #666666;
    margin: 0;
    font-size: 1.05rem;
}

/* Botones de ubicación */
.btn-group {
    margin-bottom: 15px;
    gap: 0.5rem;
}

.location-btn {
    background-color: #f9f9f9;
    color: #333333;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.25s ease;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.location-btn:hover,
.location-btn.active {
    background-color: #666666;
    color: #ffffff;
    border-color: #666666;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

/* Contenedor del mapa - ALTURA FIJA SIMPLE */
.map-container {
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    margin-bottom: 20px;
}

.map-container iframe,
.map-container > div {
    width: 100% !important;
    height: 100% !important;
}

/* Panel lateral - ALTURA FIJA IGUAL AL MAPA */
.info-sidebar {
    height: 450px;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-sidebar h3 {
    color: #333333 !important;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Items del panel */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px 0;
}

.info-icon {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1;
    margin-top: 2px;
}

.info-text {
    font-size: 0.95rem;
    color: #333333;
    line-height: 1.4;
}

.info-link {
    color: #d97706;
    text-decoration: none;
    transition: color 0.25s ease;
}

.info-link:hover {
    color: #333333;
}

/* Botones de niveles */
.level-btn {
    color: #fff;
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    font-weight: 600;
    transition: all .2s ease;
    border: none;
    cursor: pointer;
}

.level-btn.is-active {
    background: #666666 !important;
    color: #ffffff;
}

.kinder {
    background-image: linear-gradient(90deg, #ff7e29 0%, #ffb055 100%);
    color: #ffffff !important;
}

.primaria {
    background-image: linear-gradient(90deg, #0052cc 0%, #0000cc 100%);
    color: #ffffff !important;
}

.secundaria {
    background-image: linear-gradient(90deg, #25D366 0%, #25D366 100%);
    color: #ffffff !important;
}

.kinder.is-active,
.primaria.is-active,
.secundaria.is-active {
    background-image: none !important;
    background-color: #666666 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* RESPONSIVE - Mobile First */
@media (max-width: 767px) {
    .section-title h1 {
        font-size: 1.5rem;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 15px;
    }
    
    .info-sidebar {
        height: auto;
        min-height: 300px;
    }
    
    .location-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .map-section {
        padding: 15px 0;
    }
}

@media (max-width: 576px) {
    .map-container {
        height: 280px;
    }
    
    .info-sidebar {
        min-height: 250px;
        padding: 20px;
    }
    
    .section-title h1 {
        font-size: 1.3rem;
    }
}