/* Estilos para el mapa de contacto - Solución de z-index */
#map {
  z-index: 1 !important;
  position: relative;
}

/* Sección que contiene el mapa */
.ftco-section {
  position: relative;
  z-index: 1;
}

/* Asegurar que los controles del mapa estén por debajo del navbar */
.leaflet-control-container {
  z-index: 2 !important;
}

.leaflet-control {
  z-index: 2 !important;
}

/* Específicamente para los controles de zoom */
.leaflet-control-zoom {
  z-index: 2 !important;
}

/* Para el popup del mapa */
.leaflet-popup {
  z-index: 2 !important;
}

/* Asegurar que el tile layer esté en el fondo */
.leaflet-tile-pane {
  z-index: 1 !important;
}

/* Contenedor del mapa */
.leaflet-container {
  z-index: 1 !important;
}

/* Asegurar que el navbar tenga prioridad */
.ftco_navbar, .ftco-navbar-light {
  z-index: 1000 !important;
}

/* Navbar cuando hace scroll */
.ftco-navbar-light.scrolled {
  z-index: 1000 !important;
}

/* Ocultar atribuciones del mapa */
.leaflet-control-attribution {
  display: none !important;
}

.leaflet-bottom.leaflet-right {
  display: none !important;
}

/* Ocultar control de capas/estilos */
.leaflet-control-layers {
  display: none !important;
}

.leaflet-top.leaflet-right {
  display: none !important;
}
