/* ============================================
   MAPA - ESTILOS ESPECÍFICOS
   ============================================ */

#map {
  height: calc(100vh - 150px);
  width: 100%;
  z-index: 1;
}

.main-nav.expanded + #map {
  height: calc(100vh - 210px);
}

/* LEYENDA */
.legend {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  line-height: 1.8;
}

.legend h3 {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle-btn {
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
  }

  #map {
    height: calc(100vh - 130px);
  }
}