/* Shared compact footer: identity and information stay grouped at every width. */
.site-footer {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  padding: 28px var(--pad);
  font-size: 12px;
  line-height: 1.5;
}
.site-footer .footer-brand { display: block; width: 120px; }
.site-footer .footer-brand > svg { display: block; width: 100%; height: auto; }
.site-footer .footer-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.site-footer .footer-actions { display: flex; align-items: center; gap: 24px; }
.site-footer .footer-social { display: flex; align-items: center; gap: 8px; }
.site-footer .footer-social a { width: 44px; height: 44px; }
.site-footer .footer-social svg { width: 21px; height: 21px; }
.site-footer .back-top {
  position: static;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  white-space: nowrap;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .site-footer { gap: 24px; }
  .site-footer .footer-actions { gap: 14px; }
}
@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px 20px;
    padding: 24px;
  }
  .site-footer .footer-brand { grid-column: 1; grid-row: 1; width: 100px; }
  .site-footer .footer-info {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
  }
  .site-footer .footer-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
}
