.contacto-mapas-grid {
  width: 100%;
}

.contacto-mapas-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.contacto-mapa-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contacto-mapa {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #d3ebe1;
}

.contacto-mapa-osm {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 220px;
}

.contacto-mapa-osm.leaflet-container {
  width: 100%;
  height: 100%;
  background-color: #d3ebe1;
}

.contacto-mapa.overlay-mix-blend-mode::after {
  z-index: 401;
  pointer-events: none;
}

.contacto-mapa .leaflet-control-zoom {
  z-index: 402;
  border: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.contacto-mapa .leaflet-control-attribution {
  display: none !important;
}

.contacto-mapa-marker-wrap {
  background: transparent;
  border: 0;
}

.contacto-mapa-marker {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  background: var(--bs-primary);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.contacto-mapa-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #212832;
  border-radius: 50%;
  transform: rotate(45deg);
}

.contacto-mapa-btn-maps {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 403;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(0, 146, 122, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--bs-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.contacto-mapa-btn-maps:hover,
.contacto-mapa-btn-maps:focus {
  background: #fff;
  color: var(--bs-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.contacto-mapa-btn-maps img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .contacto-mapas-row {
    grid-template-columns: 1fr;
  }

  .contacto-mapa {
    aspect-ratio: 4 / 3;
  }
}
