.block-contacts {
  /* margin-bottom: 60px; */
  padding: 50px 0;
  background: var(--card);
}

.block-contacts__row {
  display: flex;
  gap: clamp(1.25rem, 0.875rem + 1.875vw, 3.125rem);
  margin: 0 clamp(0.9375rem, 0rem + 4.6875vw, 5.625rem);
  align-items: center;
}

.contact__socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact__socials .social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--text);
  transition: 0.4s ease-in-out;
  border-radius: 100%;
}
.contact__socials .social svg path{
  stroke: var(--text);
}
.contact__socials .social:hover{
  background: var(--text);
}
.contact__socials .social:hover svg path{
  stroke: var(--card);
}

.block-contacts__left {
  max-width: 370px;
  width: 100%;
}

.block-contacts__right {
  width: 65%;
  flex-grow: 1;
  max-width: 1000px;
  min-width: 500px;
}

.block-contacts__right img {
  object-fit: cover;
  display: block;
  object-position: top right;
  margin-left: auto;
  max-width: 100%;
  max-height: 400px;
  height: auto;
}

.block-contacts__right .map-holder {
  height: 400px;
}

.block-contacts .offer-contacts {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 0.875rem + 1.875vw, 3.125rem);
}

.block-contacts .offer-contacts__item {
  /* margin-bottom: 30px; */
}

.block-contacts .offer-contacts__item:last-child {
  margin-bottom: 0px;
}

.block-contacts .logo__img {
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
}

.block-contacts .logo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-contacts .offer-contacts__item.socials {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 15px;
}

.block-contacts .offer-contacts__item .item-contact {
  margin-bottom: 20px;
}

.block-contacts .offer-contacts__item .item-contact:last-child {
  margin-bottom: 0px;
}

.block-contacts .offer-contacts__item .item-contact.social {
  min-width: 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text);
  border-radius: 50%;
  margin-bottom: 0px;
  transition: background-color 0.3s ease;
}

.block-contacts .offer-contacts__item .item-contact.social img {
  transition: filter 0.3s ease;
}

@media (min-width: 992px) {
  .block-contacts .offer-contacts__item .item-contact.social:hover {
    background-color: var(--primary);
  }

  .block-contacts .offer-contacts__item .item-contact.social:hover img {
    filter: brightness(0) invert(1);
  }
}

.block-contacts .offer-contacts__item .item-contact__top {
  display: flex;
  align-items: flex-start;
}

.block-contacts .offer-contacts__item .item-contact__bottom {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
}

.block-contacts .offer-contacts__item .item-contact__bottom p {
  margin: 0px;
}

.block-contacts .offer-contacts__item .item-contact a.item-contact__bottom {
  transition: color 0.3s ease;
}

.block-contacts .offer-contacts__item .item-contact a.item-contact__bottom:hover {
  color: var(--primary);
}

.block-contacts .offer-contacts__item .item-contact__icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  background-color: var(--text);
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-contacts .offer-contacts__item .item-contact__icon img {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
}

.block-contacts .offer-contacts__item .item-contact__name {
  color: var(--text2);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .block-contacts__row {
    align-items: flex-start;
  }
}

@media (max-width: 1050px) {
  .block-contacts__row {
    flex-direction: column;
  }

  .block-contacts__left {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .block-contacts__right {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .block-contacts .offer-contacts__item {
    margin-bottom: 20px;
  }

  .block-contacts .offer-contacts__item .item-contact {
    margin-bottom: 10px;
  }

  .block-contacts__right img {
    max-height: 350px;
  }

  .block-contacts__right .map-holder {
    height: 300px;
  }
  .block-contacts__right{
    min-width: unset;
  }
  .block-contacts .logo__img{
    max-width: 300px;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .block-contacts .offer-contacts__item .item-contact__bottom {
    font-size: 16px;
  }
}