.geo-search {
  --geo-dark: #242a31;
  --geo-blue: #656e77;
  --geo-accent: #CC0003;
  --geo-text: #182231;
  --geo-muted: #667085;
  --geo-light: #f4f7fa;
  overflow: hidden;
  background-color: var(--geo-light);
}

.geo-search__eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 50px;
  background: rgba(241, 90, 36, 0.0);
  color: #FFF;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.geo-search__title {
  /*color: var(--geo-text);*/
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.15;
}

.geo-search__subtitle {
  color: var(--geo-muted);
  font-size: 18px;
  line-height: 1.6;
}

/* Карта */

.geo-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 72% 42%, rgba(33, 37, 41, 0.35), transparent 28%), radial-gradient(circle at 30% 30%, rgba(33, 37, 41, 0.18), transparent 30%), linear-gradient(135deg, #212529 0%, #212529 100%);
  /*background: radial-gradient(circle at 72% 42%, rgba(53, 114, 168, 0.35), transparent 28%), radial-gradient(circle at 30% 30%, rgba(75, 130, 180, 0.18), transparent 30%), linear-gradient(135deg, #17283b 0%, #0e1b2a 100%);*/
  box-shadow: 0 16px 42px rgba(16, 27, 43, 0.15);
}

.geo-map__grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}

.geo-map__content {
  position: relative;
  width: 100%;
  height: 460px;
}

.geo-map__caption {
  position: absolute;
  z-index: 5;
  top: 25px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.geo-map__caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--geo-accent);
  box-shadow: 0 0 0 6px rgba(241, 90, 36, 0.14);
}

/* После подготовки карты используйте этот класс */

.geo-map__svg {
  position: absolute;
  inset: 38px 4% 10px;
  z-index: 1;
  display: block;
  width: 92%;
  height: calc(100% - 48px);
  object-fit: contain;
  opacity: 0.86;
  pointer-events: none;
}

/* Временный декор: удалить после вставки SVG */

.geo-map__shape {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
  background: linear-gradient(145deg, #507292, #2a4864);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.geo-map__shape--north-america {
  top: 125px;
  left: 6%;
  width: 23%;
  height: 57%;
  border-radius: 48% 52% 59% 38% / 33% 49% 51% 67%;
  transform: rotate(15deg);
}

.geo-map__shape--europe {
  top: 145px;
  left: 42%;
  width: 13%;
  height: 26%;
  border-radius: 43% 57% 48% 52% / 47% 40% 60% 53%;
  transform: rotate(-13deg);
}

.geo-map__shape--asia {
  top: 100px;
  right: 4%;
  width: 46%;
  height: 57%;
  border-radius: 50% 38% 42% 61% / 37% 43% 57% 63%;
  transform: rotate(-7deg);
}

.geo-map__shape--middle-east {
  top: 276px;
  left: 52%;
  width: 14%;
  height: 19%;
  border-radius: 43% 57% 58% 42% / 47% 41% 59% 53%;
  transform: rotate(20deg);
}

/* Логистические линии */

.geo-map__route {
  position: absolute;
  z-index: 2;
  display: block;
  height: 1px;
  transform-origin: left center;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
}

.geo-map__route--america {
  top: 168px;
  left: 28%;
  width: 25%;
  transform: rotate(-5.5deg);
}

.geo-map__route--europe {
  top: 122px;
  left: 26.5%;
  width: 37%;
  transform: rotate(11deg);
}

.geo-map__route--asia {
  top: 160px;
  left: 66%;
  width: 8%;
  transform: rotate(15deg);
}

.geo-map__route--south {
  top: 168px;
  left: 28%;
  width: 32%;
  transform: rotate(-1deg);
}

.geo-map__route--korea-kirgiz {
  top: 160px;
  left: 66%;
  width: 16%;
  transform: rotate(7deg);
}

.geo-map__route--georg-oae {
  top: 160px;
  left: 59.5%;
  width: 5%;
  transform: rotate(50deg);
}

.geo-map__route--kirgiz-oae {
  top: 160px;
  left: 66.5%;
  width: 5%;
  transform: rotate(129deg);
}

/* Точки стран */

.geo-point {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.geo-point:hover, .geo-point.is-active {
  transform: scale(1.10);
}

@media (max-width: 575.98px) {
  .geo-point:hover, .geo-point.is-active {
    transform: scale(1.75);
  }
}

.geo-point.is-active .geo-point__dot, .geo-point:hover .geo-point__dot {
  border: 0.15rem solid #fff;
}

.geo-point__dot {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--geo-accent);
  box-shadow: 0 0 0 6px rgba(241, 90, 36, 0.22);
}

.geo-point__dot::after {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(241, 90, 36, 0.45);
  border-radius: 50%;
  content: "";
  animation: geo-pulse 2.2s infinite;
}

.geo-point__label {
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(11, 22, 35, 0.72);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.geo-point--usa {
  top: 33%;
  left: 28%;
}

.geo-point--canada {
  top: 24%;
  left: 26%;
}

.geo-point--europe {
  top: 27.5%;
  left: 52%;
}

.geo-point--georgia {
  top: 32%;
  left: 59%;
}

.geo-point--uae {
  top: 43.5%;
  left: 62.5%;
}

.geo-point--kyrgyzstan {
  top: 32%;
  left: 66%;
}

.geo-point--china {
  top: 38%;
  left: 73%;
}

.geo-point--korea {
  top: 35.5%;
  left: 78.5%;
}

@keyframes geo-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Карточки */

.geo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 195px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #535252;
  border-radius: 16px;
  background: #242424;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.geo-card:hover, .geo-card.is-active {
  z-index: 1;
  /*border-color: rgba(241, 90, 36, 0.5);*/
  box-shadow: 0 14px 30px rgba(16, 27, 43, 0.1);
  transform: translateY(-4px);
}

.geo-card.is-active::before, .geo-card:hover::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--geo-accent);
  content: "";
}

.geo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.geo-card__number {
  color: #b9c3ce;
  font-size: 1rem;
  font-weight: 800;
}

.geo-card__time {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 50px;
  background: #b0b0b1;
  color: #212121;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.geo-card__title {
  margin: 0 0 10px;
  color: #FFF;
  font-size: 20px;
  font-weight: 800;
}

.geo-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.geo-search__note {
  color: #7b8795;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .geo-map, .geo-map__content {
    min-height: 390px;
    height: 390px;
  }
}

@media (max-width: 991.98px) {
  .geo-card {
    min-height: 175px;
  }
}

/* ****** */

@media (max-width: 1024px) {
  .geo-point--usa {
    top: 37%;
    left: 24%;
  }
}

@media (max-width: 1024px) {
  .geo-point--canada {
    top: 29%;
    left: 25%;
  }
}

@media (max-width: 1024px) {
  .geo-point--europe {
    top: 31%;
    left: 53%;
  }
}

@media (max-width: 1024px) {
  .geo-point--georgia {
    top: 36%;
    left: 60.5%;
  }
}

@media (max-width: 1024px) {
  .geo-point--uae {
    top: 45%;
    left: 63%;
  }
}

@media (max-width: 1024px) {
  .geo-point--kyrgyzstan {
    top: 35%;
    left: 69%;
  }
}

@media (max-width: 1024px) {
  .geo-point--china {
    top: 38%;
    left: 75%;
  }
}

@media (max-width: 1024px) {
  .geo-point--korea {
    top: 40%;
    left: 82.5%;
  }
}

/* ***** */

@media (max-width: 575.98px) {
  .geo-search__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .geo-map {
    min-height: 250px;
    height: 250px;
    border-radius: 14px;
  }
}

@media (max-width: 575.98px) {
  .geo-map__content {
    min-height: 280px;
    height: 280px;
  }
}

@media (max-width: 575.98px) {
  .geo-map__caption {
    top: 16px;
    left: 16px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .geo-map__grid {
    background-size: 30px 30px;
  }
}

@media (max-width: 575.98px) {
  .geo-point__label {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .geo-point__dot {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}

@media (max-width: 575.98px) {
  .geo-point--usa {
    top: 43%;
    left: 24%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--canada {
    top: 36%;
    left: 22%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--europe {
    top: 40%;
    left: 52%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--georgia {
    top: 43%;
    left: 60%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--uae {
    top: 49%;
    left: 63%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--kyrgyzstan {
    top: 43%;
    left: 67%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--china {
    top: 44%;
    left: 74%;
  }
}

@media (max-width: 575.98px) {
  .geo-point--korea {
    top: 45%;
    left: 81%;
  }
}

@media (max-width: 575.98px) {
  .geo-card {
    min-height: auto;
    padding: 20px;
  }
}

hr.geomap {
  margin: 0;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
}

