.geography-section {
  --geo-bg: #faf5f2;
  --geo-ink: #010300;
  --geo-muted: #49443e;
  --geo-accent: #f44903;
  --geo-border: rgba(212, 184, 160, 0.42);
}

.geography-section {
  --geo-scale: clamp(0.4167, calc(100vw / 1920px), 1);
  --geo-stage-height: 1623px;
  position: relative;
  height: calc(var(--geo-stage-height) * var(--geo-scale));
  overflow: hidden;
  background: var(--geo-bg);
  color: var(--geo-ink);
}

@media (min-width: 1920px) {
  .geography-section {
    --geo-scale: 1;
  }
}

.geography-section__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: var(--geo-stage-height);
  margin-left: -960px;
  padding: 160px 260px 60px;
  transform: scale(var(--geo-scale));
  transform-origin: top center;
}

.geography-section__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-family: "stolzlregular", sans-serif;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(1, 3, 0, 0.7);
}

.geography-section__eyebrow-line {
  width: 44px;
  height: 1px;
  background: rgba(1, 3, 0, 0.7);
}

.geography-section__title {
  margin: 0;
  font-family: "stolzlregular", sans-serif;
  font-size: 70px;
  line-height: 100px;
  font-weight: 400;
  letter-spacing: 0;
}

.geography-section__lead {
  width: 934px;
  margin: 0;
  padding-top: 18px;
  font-family: "stolzlbook", sans-serif;
  font-size: 18px;
  line-height: 30px;
  color: var(--geo-muted);
}

.geography-section__map-wrap {
  position: relative;
  margin: 42px auto 0;
  width: 1396px;
  max-width: 100%;
}

.geography-section__map {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.geography-pin {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: default;
  pointer-events: auto;
}

.geography-pin__label {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 4px;
  background: transparent;
  color: transparent;
  font-family: "stolzlmedium", sans-serif;
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  pointer-events: none;
  transition: background-color 180ms cubic-bezier(0.2, 0, 0, 1), color 180ms cubic-bezier(0.2, 0, 0, 1);
}

.geography-pin::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #9c5437 0 22%, #b36e52 23% 38%, rgba(156, 84, 55, 0.18) 39% 100%);
}

.geography-pin::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 43px;
  height: 1px;
  background: #9c5437;
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.2, 0, 0, 1);
}

.geography-pin:hover .geography-pin__label,
.geography-pin:focus .geography-pin__label {
  background: var(--geo-accent);
  color: #fff;
}

.geography-pin:hover::after,
.geography-pin:focus::after {
  opacity: 1;
}

.geography-pin:focus-visible {
  outline: 2px solid #9c5437;
  outline-offset: 3px;
}

.geography-pin--spb {
  left: 188px;
  top: 223px;
}

.geography-pin--spb .geography-pin__label {
  left: 57px;
  top: 31px;
}

.geography-pin--spb::after {
  left: 25px;
  top: 21px;
  width: 44px;
  transform: rotate(41.3deg);
}

.geography-pin--moscow {
  left: 183px;
  top: 320px;
}

.geography-pin--moscow .geography-pin__label {
  left: 55px;
  top: 35px;
}

.geography-pin--moscow::after {
  left: 24px;
  top: 23px;
  width: 44px;
  transform: rotate(43.2deg);
}

.geography-pin--kazan {
  left: 380px;
  top: 380px;
}

.geography-pin--kazan .geography-pin__label {
  left: 57px;
  top: 31px;
}

.geography-pin--kazan::after {
  left: 25px;
  top: 21px;
  width: 44px;
  transform: rotate(41.3deg);
}

.geography-pin--ekb {
  left: 569px;
  top: 471px;
}

.geography-pin--ekb .geography-pin__label {
  left: -26px;
  top: 57px;
}

.geography-pin--ekb::after {
  left: 21px;
  top: 24px;
  width: 39px;
  transform: rotate(57.5deg);
}

.geography-pin--nsk {
  left: 724px;
  top: 425px;
}

.geography-pin--nsk .geography-pin__label {
  left: 55px;
  top: 35px;
}

.geography-pin--nsk::after {
  left: 24px;
  top: 23px;
  width: 44px;
  transform: rotate(43.2deg);
}

.geography-pin--krsk {
  left: 841px;
  top: 571px;
}

.geography-pin--krsk .geography-pin__label {
  left: -26px;
  top: 57px;
}

.geography-pin--krsk::after {
  left: 21px;
  top: 24px;
  width: 39px;
  transform: rotate(57.5deg);
}

.geography-pin--hab {
  left: 1148px;
  top: 560px;
}

.geography-pin--hab .geography-pin__label {
  left: -65px;
  top: 51px;
}

.geography-pin--hab::after {
  left: -15px;
  top: 53px;
  width: 48px;
  transform: rotate(-39deg);
}

.geography-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 66px;
  margin-top: -25px;
}

.geography-stat {
  position: relative;
  min-height: 192px;
  padding: 18px 0 0 56px;
}

.geography-stat__mark {
  position: absolute;
  left: 0;
  top: 8px;
  width: 36px;
  height: 36px;
  border-top: 1px solid rgba(148, 104, 64, 0.55);
  border-left: 1px solid rgba(148, 104, 64, 0.55);
}

.geography-stat__value {
  margin: 0 0 12px;
  font-family: "stolzlthin", sans-serif;
  font-size: 110px;
  line-height: 100px;
  font-weight: 400;
  color: var(--geo-ink);
}

.geography-stat__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "stolzlbook", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--geo-muted);
}

.geography-stat__label span:first-child {
  font-family: "stolzlregular", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: var(--geo-ink);
}

@keyframes geography-pin-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.16);
  }
}

.geography-pin::before {
  animation: geography-pin-pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

.geography-pin:nth-of-type(2)::before { animation-delay: -0.35s; }
.geography-pin:nth-of-type(3)::before { animation-delay: -0.7s; }
.geography-pin:nth-of-type(4)::before { animation-delay: -1.05s; }
.geography-pin:nth-of-type(5)::before { animation-delay: -1.4s; }
.geography-pin:nth-of-type(6)::before { animation-delay: -1.75s; }
.geography-pin:nth-of-type(7)::before { animation-delay: -2.1s; }

@media (prefers-reduced-motion: reduce) {
  .geography-pin::before {
    animation: none;
  }

  .geography-pin__label,
  .geography-pin::after {
    transition: none;
  }
}
