.contacts-page,
.contacts-page * {
  box-sizing: border-box;
}

.contacts-page {
  font-family: "Montserrat", Arial, sans-serif;
  color: #1f2229;
  background: #fff;
  padding: 48px 0 72px;
}

.contacts-page__wrap {
  width: 1170px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.contacts-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 474px) minmax(0, 1fr);
  gap: 40px 10px;
  align-items: start;
}

.contacts-page__title {
  margin: 0 0 36px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1f2229;
}

.contacts-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contacts-page__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.contacts-page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #D2D3D4;
  border-radius: 8px;
  background: #fff;
  color: #0f6997;
  flex-shrink: 0;
}

.contacts-page__icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contacts-page__label {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  color: #1F2229;
}

.contacts-page__text {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: #1f2229;
}

.contacts-page__phone {
  display: inline-block;
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #0F6997;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.contacts-page__phone:hover {
  opacity: 0.88;
}

.contacts-page__email {
  display: inline-block;
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: #0F6997;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-page__email:hover {
  opacity: 0.88;
}

.contacts-page__time-sup {
  vertical-align: super;
  font-size: 0.62em;
  font-weight: 600;
}

.contacts-page__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 4px;
}

.contacts-page__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contacts-page__messenger:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.contacts-page__messenger img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.contacts-page__map {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.contacts-page__map-inner,
#contacts-page-map {
  width: 644px;
  max-width: 100%;
  height: 623px;
  border-radius: 28px;
  overflow: hidden;
  background: #edf1f4;
}

@media (max-width: 960px) {
  .contacts-page {
    padding: 32px 0 56px;
  }

  .contacts-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacts-page__title {
    margin-bottom: 28px;
  }

  .contacts-page__map {
    justify-content: center;
  }

  .contacts-page__map-inner,
  #contacts-page-map {
    width: 100%;
    height: auto;
    aspect-ratio: 644 / 623;
    min-height: 280px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .contacts-page__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .contacts-page__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .contacts-page__list {
    gap: 22px;
  }
}
