/* ============================================================
   GEOGRAPHY — карта работы по области (тёмная версия)
   ============================================================ */
.geography {
  background: #14140F;
  padding: var(--section-py) 0;
  overflow: hidden;
  position: relative;
}

/* Декоративная сетка для глубины */
.geography::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 243, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 238, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.geography__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ───── ШАПКА ───── */
.geography__header {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 820px;
}

.geography__eyebrow {
  display: inline-block;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.55);
  margin-bottom: 18px;
}

.geography__title {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #F5F3EE;
  margin: 0;
}

.geography__title span {
  font-style: italic;
  font-weight: 300;
  color: #C5F056;
}

/* ───── СЕТКА ───── */
.geography__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* ───── ИНФО ───── */
.geography__lead {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: rgba(245, 243, 238, 0.85);
  margin: 0 0 28px;
}

.geography__lead strong {
  font-weight: 600;
  background: #C5F056;
  color: #14140F;
  padding: 1px 8px;
  border-radius: 6px;
}

.geography__features {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.geography__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 15px;
  color: #F5F3EE;
}

.geography__features svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: #C5F056;
  color: #14140F;
}

/* ───── ЧИПЫ ───── */
.geography__chips-label {
  display: block;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.55);
  margin-bottom: 14px;
}

.geography__chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: rgba(245, 243, 238, 0.06);
  border: 1px solid rgba(245, 243, 238, 0.12);
  border-radius: 999px;
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #F5F3EE;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  cursor: default;
}

.geo-chip:hover {
  background: #C5F056;
  border-color: #C5F056;
  color: #14140F;
  transform: translateY(-2px);
}

/* ============================================================
   SVG-КАРТА
   ============================================================ */
.geography__map {
  position: relative;
  background: #F5F3EE;
  border-radius: 28px;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid rgba(245, 243, 238, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.geo-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Регион — лаймовая заливка */
.geo-region {
  fill: #C5F056;
  stroke: #14140F;
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 16px rgba(20, 20, 15, 0.08));
}

.geo-spit {
  fill: #C5F056;
  stroke: #14140F;
  stroke-width: 1.6;
  stroke-linejoin: round;
  opacity: 0.85;
}

/* Дороги */
.geo-roads {
  fill: none;
  stroke: #14140F;
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  opacity: 0.25;
}

/* Подписи моря/залива */
.geo-sea-label {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  fill: #5C5C56;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* ───── ПИНЫ ───── */
.geo-pin {
  cursor: pointer;
  opacity: 0;
  transform: translateY(-12px) scale(0.6);
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.geography.is-visible .geo-pin {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: var(--delay, 0s);
}

.geo-pin__dot {
  fill: #14140F;
  stroke: #fff;
  stroke-width: 3;
  filter: drop-shadow(0 3px 6px rgba(20, 20, 15, 0.3));
  transition: all 0.25s ease;
}

.geo-pin:hover .geo-pin__dot {
  fill: #C5F056;
  stroke: #14140F;
  transform: scale(1.25);
  transform-box: fill-box;
  transform-origin: center;
}

.geo-pin__label {
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: #14140F;
  letter-spacing: 0.01em;
  pointer-events: none;
  paint-order: stroke;
  stroke: #F5F3EE;              /* было #F5F3EE — синхронизируем с фоном */
  stroke-width: 4;
  stroke-linejoin: round;
}

.geo-pin__label--small {
  font-size: 11px;
  font-weight: 500;
  fill: #5C5C56;
}

/* Главный пин (Калининград) */
.geo-pin--main .geo-pin__dot {
  fill: #14140F;
  stroke: #C5F056;
  stroke-width: 4;
}

.geo-pin--main .geo-pin__label {
  font-size: 15px;
  font-weight: 700;
}

/* Пульсация для главного пина */
.geo-pin__pulse {
  fill: #14140F;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}

.geography.is-visible .geo-pin--main .geo-pin__pulse {
  animation: geoPulse 2.4s ease-out infinite;
  animation-delay: 1s;
}

@keyframes geoPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .geography__grid {
    grid-template-columns: 1fr;
  }

  .geography__map {
    order: -1;
  }
}

@media (max-width: 640px) {
  .geography__map {
    padding: 12px;
    border-radius: 20px;
  }

  .geo-pin__label {
    font-size: 16px;
  }

  .geo-pin__label--small {
    font-size: 14px;
  }

  .geo-sea-label {
    font-size: 18px;
  }

  .geography__features li {
    font-size: 14px;
  }

  .geo-chip {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .geo-pin {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .geo-pin__pulse {
    animation: none !important;
  }

  .geo-chip,
  .geo-pin__dot {
    transition: none !important;
  }
}