.contacts__main {
  padding: 90px 0 90px 0;
}

.contacts__title {
  margin-bottom: 95px;
}

.contacts__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contacts__list {
  padding: 70px 50px 90px 95px;
  border-radius: 6px;
  background-color: var(--mainBlue);
  background-image: url(../img/common/leftBlockBack.png);
  background-repeat: no-repeat;
  background-size: unset;
  background-position: bottom left;
}

.contacts__item {
  justify-content: flex-start;
}

.contacts__item:not(:last-child) {
  margin-bottom: 50px;
}

.contacts__item .image__box {
  width: 45px;
  height: 45px;
  margin-right: 30px;
}

.item-title {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
}

.item-info {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
}

.map {
  border-radius: 6px;
  overflow: hidden;
}

.map div {
  width: 100%;
  height: 100%;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: unset;
}

.contacts__social {
  position: relative;
  grid-column-start: 1;
  grid-column-end: 3;
  border-radius: 6px;
  background-color: var(--mainGrey);
}

.contacts__social .social__title {
  color: var(--mainBlue);
  margin-bottom: 30px;
}

.contacts__social .social {
  padding: 50px 0 50px 100px;
  margin-right: 0;
}

.contacts__social .social__item:not(:last-child) {
  margin-right: 50px;
}

.contacts__social .social__list {
  justify-content: flex-start;
}

.contacts__social .image__box {
  position: absolute;
  bottom: 0;
  right: 240px;
  width: 240px;
  height: 180px;
}

.contacts__social .image__box img {
  object-fit: contain;
}

@media (max-width: 1450px) {
  .contacts__social .image__box {
    right: 100px;
  }
}

@media (max-width: 1200px) {
  .contacts__list {
    padding: 30px;
  }

  .contacts__social .social {
    padding: 50px 0 50px 30px;
    margin-right: 0;
  }

  .contacts__social .image__box {
    right: 50px;
  }
}

@media (max-width: 1024px) {
  .contacts__body {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px;
  }

  .contacts__list {
    padding: 70px 50px 90px 95px;
  }

  .map {
    height: 400px;
  }

  .contacts__social {
    grid-column-start: 1;
    grid-column-end: 1;
  }

  .contacts__social .social {
    padding: 25px;
  }

  .contacts__social .social__list {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .contacts__social .image__box {
    display: none;
  }
}

@media (max-width: 768px) {
  .contacts__main {
    padding: 50px 0 70px 0;
  }

  .contacts__title {
    margin-bottom: 50px;
  } 

  .contacts__list {
    padding: 20px;
  }

  .contacts__social .social {
    padding: 15px;
  }

  .contacts__social .social__list {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .contacts__social .social__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: calc(100% / 4);
    margin-bottom: 15px;
  }

  .contacts__social .social__item:not(:last-child) {
    margin-right: 0;
  }
}

@media (max-width: 568px) {
  
  .contacts__list {
    padding: 15px;
  }

  .contacts__item {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .contacts__item:not(:last-child) {
    margin-bottom: 20px;
  }

  .contacts__item .image__box {
    align-self: flex-end;
    margin-right: 0;
  }

  .item-info {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
  }

  .contacts__social .social__item {
    min-width: calc(100% / 3);
  }

}