.site-footer {
  margin-top: 15px;
  padding-block: 24px;
  border-top: 1px solid #d9ddd3;
  background: #f7f5ef;
  color: #65716b;
  font: 11px/1.6 system-ui, -apple-system, sans-serif;
  text-align: left;
}

.site-footer .footer-inner {
  box-sizing: border-box;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.site-footer .footer-logo {
  display: block;
  width: 217.5px;
  max-width: 100%;
  height: auto;
}

.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
  text-align: right;
}

.site-footer span,
.site-footer nav a {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 18px;
}

.site-footer nav a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  padding-block: 5px;
}

.site-footer nav a:focus-visible {
  outline: 3px solid #a48045;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .site-footer .footer-inner { padding-inline: 28px; }
}

@media (max-width: 600px) {
  .site-footer .footer-inner { flex-wrap: wrap; align-items: flex-start; }
  .site-footer .footer-brand { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-footer .footer-legal { width: 100%; margin-top: 12px; align-items: flex-start; text-align: left; font-size: 13px; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
}

@media (max-width: 500px) {
  .site-footer .footer-inner { padding-inline: 20px; flex-direction: column; gap: 8px; }
  .site-footer .footer-logo { width: 195px; }
}
