footer {
  display: flex;
  flex-direction: column;
  min-height: 33vh;
}

footer .footer-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1690px;
  margin: 0 auto;
  padding: 28px 6vw 24px;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) 108px;
  align-items: center;
  gap: 28px;
}

footer .footer-logo {
  display: block;
  width: 110px;
  height: auto;
  max-height: 48px;
  margin: 0 0 12px;
  object-fit: contain;
}

footer .footer-firm-name {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 22px;
}

footer .footer-phone {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 24px;
}

footer .footer-phone a,
footer .footer-links a {
  color: inherit;
}

footer .footer-links {
  max-width: 100%;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible,
footer .footer-phone a:hover {
  color: #fff;
}

footer .footer-QRcode-container,
footer .footer-qr-container {
  width: 108px;
  min-width: 0;
  margin: 0;
  align-self: center;
  text-align: center;
}

footer .footer-QRcode,
footer .footer-qr {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto;
  object-fit: contain;
}

footer .footer-QRcode-name,
footer .footer-qr-container p {
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
}

footer .footer-copyright {
  margin: 0;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 600px) {
  footer .footer-container {
    padding: 24px 5vw;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 18px;
    align-items: start;
  }

  footer .footer-QRcode-container,
  footer .footer-qr-container,
  footer .footer-QRcode,
  footer .footer-qr {
    width: 88px;
  }

  footer .footer-QRcode,
  footer .footer-qr {
    height: 88px;
  }

  footer .footer-links {
    font-size: 12px;
    line-height: 22px;
  }
}
