.contacts-page {
  min-width: 320px;
  padding-top: 184px;
  background: var(--color-white);
}

.contacts-main {
  background: var(--color-white);
}

.contacts-hero {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 299px;
  padding: 120px 260px;
  text-align: center;
}

.contacts-hero h1 {
  width: 100%;
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contacts-details {
  display: flex;
  justify-content: center;
  padding: 0 250px 120px;
  overflow: hidden;
}

.contacts-details__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.contacts-address,
.contacts-row {
  margin: 0;
  color: var(--color-black);
  font-size: 28px;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contacts-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1;
}

.contacts-row a {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.contacts-row a:not(.contacts-social)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
}

.contacts-row--social {
  align-items: center;
}

.contacts-social {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
}

.contacts-social img {
  width: 32px;
  height: 32px;
}

@media (max-width: 767px) {
  .contacts-page {
    padding-top: 80px;
  }

  .contacts-hero {
    min-height: 176px;
    align-items: center;
    padding: 64px 24px;
  }

  .contacts-hero h1 {
    font-size: 48px;
  }

  .contacts-details {
    justify-content: flex-start;
    padding: 0 24px 120px;
  }

  .contacts-details__inner {
    width: 100%;
    gap: 24px;
  }

  .contacts-address {
    font-size: 28px;
  }

  .contacts-row {
    max-width: 100%;
    font-size: 24px;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .contacts-row a:not(.contacts-social) {
    min-width: 0;
  }
}
