.home-messengers {
  padding: 14px 0;
  border-bottom: 1px solid #dae6eb;
  background: #fff;
  color: #15384d;
}

.home-messengers__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-messengers__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.home-messengers__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-contact-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #d9e5eb;
  border-radius: 12px;
  background: #f5f9fc;
  color: #15384d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.messenger-contact-link img {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.messenger-contact-link:hover {
  background: #eaf3fa;
  border-color: #91b8d1;
}

.messenger-contact-link:focus-visible {
  outline: 3px solid #168ea9;
  outline-offset: 3px;
}

.site-footer .footer-messengers {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.site-footer .footer-messengers .messenger-contact-link {
  display: inline-flex;
  margin: 0;
  color: #15384d;
}

.contacts-page .contact-center {
  scroll-margin-top: 100px;
}

.contacts-page .contact-cards > a > .contact-card__brand {
  padding: 8px;
  background: #fff;
}

.contact-card__brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contacts-page .contact-cards > a:focus-visible {
  outline: 3px solid #168ea9;
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .home-messengers__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .home-messengers__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-messengers .messenger-contact-link__verb {
    display: none;
  }
}
