#filiales-map {
  margin-left: 20px;
  margin-right: 20px;
  height: 100%;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* COUNTER */

#map-counter {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 999;
  background: var(--color-navy-dark);
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* MARKERS */

.fi-marker-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.fi-pulse {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.fi-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-teal),
    var(--color-teal-dark)
  );
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: bold;
  color: white;
}

.fi-marker-wrap:hover .fi-dot {
  transform: translate(-50%, -50%) scale(1.25);
}

/* POPUP */

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.fp-header {
  background: linear-gradient(
    135deg,
    var(--color-navy-dark),
    var(--color-navy)
  );
  padding: 18px;
  text-align: center;
}

.fp-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.fp-body {
  padding: 16px;
}

.fp-name {
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 4px;
}

.fp-city {
  font-size: 12px;
  color: var(--color-teal);
  margin-bottom: 10px;
}

.fp-desc {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

.fp-btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-gold),
    var(--color-gold-dark)
  );
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  font-size: 12px;
  font-weight: 600;
}

.fp-btn:hover {
  background: var(--color-orange);
  color: white;
}
