/* Keep the supplied 132 mark in balance with header controls. */
header .logo img{display:block;width:auto;height:40px;object-fit:contain}
/* Footer-only treatment; managed links and business data retain their mounts. */
.site-footer {
  --footer-surface: #f4f6f0;
  --footer-secondary: #536149;
  --footer-inverse: #fff;
  --footer-rule: rgb(255 255 255 / 20%);
  padding: 0;
  border-top: 0;
  background: var(--footer-surface);
  color: var(--green);
}
.site-footer .footer-main {
  background: var(--green);
  color: var(--footer-inverse);
  padding: 56px 0;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
}
.site-footer .footer-brand { flex: 1; min-width: 0; margin: 0; }
.site-footer .logo {
  display: inline-flex;
  background: var(--footer-inverse);
  border-radius: 4px;
  padding: 12px 16px;
}
.site-footer .logo img {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}
.site-footer .footer-brand p {
  margin-top: 24px;
  color: var(--lime);
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -.045em;
  line-height: 1.5;
  word-break: keep-all;
  text-wrap: balance;
}
.site-footer #footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  max-width: 56%;
  margin: 0;
}
.site-footer .footer-group {
  min-width: 112px;
  gap: 0;
  font-size: 14px;
}
.site-footer .footer-group strong {
  color: var(--lime);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--footer-rule);
}
.site-footer .footer-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--footer-inverse);
  overflow-wrap: anywhere;
}
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.site-footer .footer-main a:focus-visible { outline-color: var(--lime); }
.site-footer .footer-details { padding-top: 28px; padding-bottom: 20px; }
.site-footer .footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--footer-secondary);
  font-size: 12px;
}
.site-footer .footer-company p { margin: 0; max-width: 100%; overflow-wrap: anywhere; }
.site-footer .footer-company p:first-child {
  flex-basis: 100%;
  color: var(--green);
  font-weight: 650;
  margin-bottom: 4px;
}
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 16px;
  border-color: var(--line);
  color: var(--footer-secondary);
  font-size: 12px;
}
.site-footer #footer-legal { flex-wrap: wrap; gap: 0 24px; }
.site-footer #footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer #footer-links:empty,
.site-footer .footer-company:empty,
.site-footer #footer-legal:empty { display: none; }
@media (max-width: 1000px) {
  .site-footer .footer-top { gap: 32px; }
  .site-footer #footer-links { gap: 24px 32px; }
}
@media (max-width: 650px) {
  .site-footer .footer-main { padding: 32px 0; }
  .site-footer .footer-top { flex-direction: column; gap: 32px; }
  .site-footer .footer-brand { width: 100%; }
  .site-footer .footer-brand p { margin-top: 20px; font-size: 24px; text-align: left; }
  .site-footer #footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    gap: 24px;
  }
  .site-footer .footer-group { min-width: 0; }
  .site-footer .footer-company { gap: 8px 16px; }
  .site-footer .footer-bottom { align-items: flex-start; }
  .site-footer .footer-bottom span { margin: 0; }
}
@media(max-width:650px){
  header .logo img{height:36px}
  .site-footer .logo img{height:40px}
}
