.contacts {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 100px;
}

.contacts h2 {
  font-weight: bold;
  font-size: 34px;
  text-align: center;
}

.contacts_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.contacts_wrapper > br {
  display: none;
}

.contacts__item {
  font-size: 20px;
  line-height: 170%;
  font-weight: 500;
  text-align: center;
}

.contacts__item span {
  color: #ff4f12;
}

.contacts__item_logoes {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 15px;
}

.logo-link {
  width: 34px;
  height: 34px;
}

@media (max-width: 800px) {
  .contacts h2 {
    font-weight: bold;
    font-size: 22px;
  }
}

/* Секция карты */

.map-container {
  max-width: 1264px;
  margin: 0 auto;
  /*pointer-events: none;*/
}

/* Обертка карты со скругленными углами */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  /* Скругление углов */
  overflow: hidden;
  /* Важно! чтобы карта не выходила за скругленные углы */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Сама карта (iframe) */
.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Маркер с SVG по центру карты */
.map-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  /* Центрируем и поднимаем вверх на высоту маркера */
  z-index: 10;
  pointer-events: none;
  /* Чтобы не мешал кликам по карте */
}

/* Стили для SVG маркера */
.marker-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: pulse 2s infinite;
}

/* Анимация пульсации для маркера */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.map-section__greyPolygon,
.map-section__orangePolygon {
  display: none;
}

.map-section {
  padding: 40px 0 50px;
  margin: 0;
  position: relative;
  overflow: visible;
}

.map-section__mapWrapper {
  margin: 0 auto;
  position: relative;
  width: 300px;
  height: 400px;
}

.map-section__container {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 800px) {
  .map-section__greyPolygon,
  .map-section__orangePolygon {
    display: block;
    position: absolute;
  }

  .map-section__greyPolygon {
    right: -70px;
    top: -70px;
  }

  .map-section__orangePolygon {
    bottom: -50px;
    left: -100px;
  }

  .map-section__container,
  .map-section__mapWrapper {
    width: 750px;
    height: 600px;
  }

  .map-section {
    padding-bottom: 100px;
  }
}

@media (min-width: 1440px) {
  .contacts {
    margin-top: 0;
  }

  .map-section__container,
  .map-section__mapWrapper {
    width: 1260px;
    height: 600px;
  }

  .map-section {
    padding-top: 50px;
  }

  .map-section__orangePolygon {
    scale: 2;
    bottom: 100px;
    left: 0px;
  }

  .map-section__greyPolygon {
    scale: 2;
  }
}
