
.contacts {
  padding: 40px 0;
}
.contacts__container {
  display: grid;
  gap: 40px;
}
.contacts__body {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
}
.contacts__items {
  flex: 0 1 448px;
  display: grid;
  gap: 40px;
}
.contacts__item {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  line-height: 130%;
}
.contacts__item-label {
  color: #6c757d;
}
.contacts__item-value {
  max-width: 238px;
  text-align: right;
}
.contacts__item-value a {
  text-decoration: underline;
}
.contacts__card {
  flex: 0 1 833px;
}

.contacts-card {
  box-shadow: 0 0 50px 0 rgba(109, 129, 143, 0.13);
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  overflow: hidden;
  display: grid;
  gap: 32px;
  justify-content: center;
}
.contacts-card__title {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
}
.contacts-card__body {
  display: flex;
  justify-content: center;
}
.contacts-card__form {
  flex: 0 1 302px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.contacts-card__checkbox {
  display: inline-block;
  position: relative;
}
.contacts-card__checkbox:not(:last-child) {
  margin-bottom: 5px;
}
.contacts-card__checkbox-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}
.contacts-card__checkbox-input:focus-visible + .contacts-card__checkbox-text {
  outline: 1px solid #000;
}
.contacts-card__checkbox-input:checked + .contacts-card__checkbox-text:after {
  transform: scale(1);
}
.contacts-card__checkbox-text {
  cursor: pointer;
  position: relative;
  gap: 10px;
  display: inline-flex;
  align-items: center;
}
.contacts-card__checkbox-text a {
  text-decoration: underline;
}
.contacts-card__checkbox-text:before {
  content: "";
  border-radius: 2px;
  align-self: flex-start;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 1px solid #bba14f;
}
.contacts-card__checkbox-text::after {
  content: "";
  transition: all 0.3s ease 0s;
  transform: scale(0);
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #bba14f;
  position: absolute;
  left: 3px;
  top: 3px;
}
.contacts-card__checkbox.--form-error .contacts-card__checkbox-text::before {
  border-color: rgb(255, 79, 79);
  box-shadow: 0 0 10px rgba(255, 79, 79, 0.3);
}
.contacts-card__image {
  margin: 0 -32px -32px 0;
  align-self: flex-end;
}
@media (max-width: 61.99875em) {
  .contacts__body {
    flex-direction: column;
    align-items: stretch;
  }
  .contacts__items {
    flex: 0 1 auto;
  }
  .contacts__card {
    flex: 0 1 auto;
  }
}
@media (max-width: 47.99875em) {
  .contacts-card__title {
    font-size: 20px;
  }
  .contacts-card__body {
    flex-direction: column;
  }
  .contacts-card__image {
    display: none;
  }
}
@media (min-width: 47.99875em) {
  .contacts-card__content {
    flex: 1 1 499px;
  }
}
@media (any-hover: hover) {
  .contacts__item-value a:hover {
    text-decoration: none;
  }
  .contacts-card__checkbox-text a:hover {
    text-decoration: none;
  }
}