/* ============================================================
   Secured Internet — world map (Leaflet)
   ============================================================ */

.network-map {
  margin-top: 32px;
}

.network-map__head {
  margin-bottom: 18px;
  text-align: center;
}

.network-map__head h3 {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.network-map__head p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.world-map {
  height: min(520px, 68vh);
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.world-map .leaflet-container {
  background: var(--surface-2);
  font-family: var(--font-sans);
}

.si-circle-node {
  animation: nodePulse 2.4s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.si-map-popup .leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.si-map-popup .leaflet-popup-tip {
  background: var(--surface);
  border: 1px solid var(--border);
}

.si-map-popup .leaflet-popup-content {
  margin: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.si-map-popup__city {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.si-map-popup__code {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 5px;
}

@media (max-width: 900px) {
  .world-map { height: min(420px, 58vh); }
}
