/* Shared footer: one readable type scale across every page. */
.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 1fr 1.2fr;
  align-items: start;
  gap: 32px;
  padding: 48px 5% 32px;
  border-top: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: normal;
  color: #d4d7da;
}
.site-footer > div { min-width: 0; }
.site-footer h2,
.site-footer .footer-contacts h2 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: normal;
  color: #f2f3f4;
}
.site-footer a,
.site-footer p,
.site-footer small,
.site-footer address {
  font-size: 15px;
  line-height: 1.55;
  font-style: normal;
  letter-spacing: normal;
  color: inherit;
}
.site-footer p { margin: 10px 0 0; }
.site-footer a { display: block; margin: 0; padding: 9px 0; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-brand > a { width: fit-content; padding: 0; min-height: 0; }
.site-footer .footer-brand img { display: block; width: min(210px, 100%); }
.site-footer .footer-brand p { max-width: 240px; }
.site-footer .footer-contacts a { font-size: 18px; line-height: 1.5; color: #f2f3f4; white-space: nowrap; }
.site-footer .footer-legal {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.site-footer .footer-legal-name { margin: 0 0 8px; font-weight: 600; color: #f2f3f4; }
.site-footer .footer-legal-ids { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 8px; }
.site-footer .footer-legal-ids span { white-space: nowrap; }
.site-footer address { margin: 0; max-width: 900px; }
@media (max-width: 1100px) {
  .site-footer { grid-template-columns: 1fr 1fr; gap: 30px 36px; }
  .site-footer > .footer-brand { grid-column: auto; }
}
@media (max-width: 560px) {
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding: 36px 6% 28px; }
  .site-footer .footer-legal { margin-top: 0; padding-top: 22px; }
  .site-footer .footer-legal-ids { flex-direction: column; gap: 6px; }
}
