.contacts-page {
  position: relative;
  padding-bottom: 70px;
  --bs-primary: #e9c675;
  --bs-primary-rgb: 229, 193, 117;
}

.contacts-page .title.max {
  margin-bottom: 30px;
  color: #171717;
}

.contacts-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: stretch;
}

.contacts-page__info {
  min-height: 100%;
}

.contacts-page__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
}

.contacts-page__item {
  padding: 20px;
  border: 1px solid #ececef;
  background: #f8f8f9;
}

.contacts-page__item--address {
  grid-column: auto;
}

.contacts-page__item dt,
.contacts-page__item dd {
  margin: 0;
}

.contacts-page__label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--bs-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.contacts-page__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.contacts-page__item dd,
.contacts-page__item a {
  color: #151515;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.contacts-page__item a:hover,
.contacts-page__item a:focus,
.contacts-page .contact-help__inner .contact-line a:hover,
.contacts-page .contact-help__inner .contact-line a:focus {
  color: var(--bs-primary);
  text-decoration: none;
}

.contacts-page .contact-help {
  max-width: none;
}

.contacts-page .contact-help__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 34px;
  background: #151515;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-shadow: 0 18px 44px rgba(21, 21, 24, 0.18);
  box-shadow: 0 18px 44px rgba(21, 21, 24, 0.18);
}

.contacts-page .contact-title {
  max-width: none;
  margin-bottom: 22px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.contacts-page .contact-help__inner .contact-line {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

.contacts-page .contact-help__inner .contact-line a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .contacts-page__grid {
    grid-template-columns: 1fr;
  }

  .contacts-page .contact-help__inner {
    min-height: auto;
  }
}

@media (max-width: 575px) {
  .contacts-page {
    padding-bottom: 40px;
  }

  .contacts-page .title.max {
    margin-bottom: 20px;
  }

  .contacts-page__info {
    padding: 0;
  }

  .contacts-page .contact-help__inner {
    padding: 20px;
  }

  .contacts-page__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contacts-page__item {
    min-height: auto;
    padding: 16px;
  }

  .contacts-page__item dd,
  .contacts-page__item a {
    font-size: 16px;
  }

  .contacts-page .contact-title {
    font-size: 24px;
  }
}
