/* Compact closing navigation, shared by the two color themes. */
.site-footer.site-footer--compact {
  --footer-surface: #091a25;
  --footer-copy: #e9f2f6;
  --footer-muted: #b1c8d4;
  --footer-rule: #34505e;
  --footer-accent: #80e4e9;
  background: var(--footer-surface);
  color: var(--footer-copy);
  border-top: 1px solid var(--footer-rule);
  padding: 48px 0 16px;
}
html[data-theme="light"] .site-footer.site-footer--compact {
  --footer-surface: #f0f5f6;
  --footer-copy: #243946;
  --footer-muted: #4c6573;
  --footer-rule: #c2d3da;
  --footer-accent: #006c78;
  background: var(--footer-surface);
}
.site-footer--compact .footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: 40px 64px;
  padding-bottom: 32px;
}
.site-footer--compact .footer-identity .brand { display: inline-flex; }
.site-footer--compact .footer-identity .brand-symbol { width: 35px; height: 44px; }
.site-footer--compact .footer-identity .brand-type { font-size: 1.6rem; }
.site-footer--compact .footer-identity > p {
  max-width: 265px;
  margin: 18px 0 0;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--footer-muted);
  text-wrap: pretty;
}
.site-footer--compact .footer-nav,
.site-footer--compact .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer--compact h2 {
  margin: 0 0 10px;
  font: 600 .75rem/1.5 var(--font-body);
  color: var(--footer-muted);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.site-footer--compact .footer-nav > a,
.site-footer--compact .footer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--footer-copy);
  overflow-wrap: anywhere;
  text-decoration: none;
}
.site-footer--compact a:hover { color: var(--footer-accent); text-decoration: underline; text-underline-offset: 5px; }
.site-footer--compact .brand:hover { text-decoration: none; }
.site-footer--compact .footer-contact > .footer-consult {
  color: var(--footer-accent);
  font-weight: 600;
}
.site-footer--compact .footer-consult svg,
.site-footer--compact .footer-to-top svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-footer--compact .footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  border-top: 1px solid var(--footer-rule);
  padding-top: 16px;
  color: var(--footer-muted);
  font-size: .8125rem;
  line-height: 1.7;
}
.site-footer--compact .footer-legal > p { margin: 0; }
.site-footer--compact .footer-legal-links { display: flex; align-items: center; gap: 28px; }
.site-footer--compact .footer-legal a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.site-footer--compact :focus-visible { outline: 2px solid var(--footer-accent); outline-offset: 5px; border-radius: 2px; }

@media (max-width: 900px) {
  .site-footer--compact .footer-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .site-footer.site-footer--compact { padding: 34px 0 18px; }
  .site-footer--compact .footer-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; padding-bottom: 22px; }
  .site-footer--compact .footer-identity { grid-column: 1 / -1; }
  .site-footer--compact .footer-identity > p { max-width: 310px; margin-top: 13px; font-size: .875rem; }
  .site-footer--compact .footer-nav > a,
  .site-footer--compact .footer-contact > a { font-size: .875rem; }
  .site-footer--compact .footer-consult { align-items: flex-start; }
  .site-footer--compact .footer-consult svg { margin-top: 2px; }
  .site-footer--compact .footer-legal { flex-wrap: wrap; gap: 5px; padding-top: 16px; }
  .site-footer--compact .footer-legal > p { flex-basis: 100%; }
  .site-footer--compact .footer-legal-links { width: 100%; justify-content: space-between; gap: 20px; }
}
@media print {
  .site-footer.site-footer--compact { padding: 20px 0; background: #fff; color: #111; }
  .site-footer--compact .footer-nav,
  .site-footer--compact .footer-contact,
  .site-footer--compact .footer-to-top { display: none; }
}
