.footer {
  padding: 45px 0 66px;
  background-color: var(--black);
  color: var(--sand);
  font-size: 14px;
  text-align: center;
}

.footer .footer-emblem {
  display: block;
  width: 144px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  transform: translateY(-15px);
}
.footer-about { max-width: 62ch; margin: 13px auto 0; }

.footer-messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 136px));
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.footer-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--umber);
  border-radius: 9px;
  background: var(--black);
  color: var(--sand);
  font-weight: 650;
  line-height: 1.3;
}
.footer-messenger:disabled { cursor: default; }
.footer-messenger .icon {
  width: 23px;
  height: 23px;
  margin-inline-end: 7px;
  color: var(--orange-yellow);
}

.footer-note { margin-top: 29px; padding-top: 18px; border-top: 1px solid var(--umber); }
.footer-legal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: center;
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-note p { margin-top: 10px; }

@media (hover: hover) {
  .footer-messenger:hover {
    border-color: var(--orange-yellow);
    background-color: var(--umber);
    box-shadow: 0 0 10px rgba(253,191,45,.26);
  }
}
@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-messenger { transition: background-color .18s, border-color .18s, box-shadow .18s; }
}

@media (max-width: 710px) {
  .footer .footer-emblem {
    width: 104px;
    transform: translateY(-6px);
  }
  .footer-legal { grid-template-columns: minmax(0, max-content); }
}
