footer .footer-contacts {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(128, 150, 138, .3);
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
}

.footer-contacts__heading {
  display: grid;
  gap: 4px;
}

.footer-contacts__heading strong { font-size: 16px; }
.footer-contacts__heading span { font-variant-numeric: tabular-nums; }

.footer-contacts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

footer .footer-contacts__link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  min-width: 132px;
  padding: 10px 18px;
  border: 1px solid #dce5df;
  border-radius: 6px;
  background: #fff;
  color: #193c2d;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 150ms ease;
}

footer .footer-contacts__link--telegram { color: #17638c; }
footer .footer-contacts__link--viber { color: #644397; }
footer .footer-contacts__link--telegram:hover { background: #edf7fc; color: #17638c; }
footer .footer-contacts__link--whatsapp:hover { background: #eaf7ef; color: #193c2d; }
footer .footer-contacts__link--viber:hover { background: #f1edf8; color: #644397; }
footer .footer-contacts__link:focus-visible { outline: 3px solid #45b887; outline-offset: 4px; }

.footer-contacts__link img {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
}

@media (max-width: 520px) {
  footer .footer-contacts { gap: 14px; }
  .footer-contacts__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  footer .footer-contacts__link { flex-direction: column; gap: 6px; min-width: 0; min-height: 70px; padding: 10px 6px; font-size: 14px; }
}
