/* ============================================================
   LOCAL CHAMPION — Site Footer
   Scoped entirely under .lc-site-footer.
   ============================================================ */

.lc-site-footer,
.lc-site-footer *,
.lc-site-footer *::before,
.lc-site-footer *::after {
  box-sizing: border-box;
}

.lc-site-footer {
  --lcf-orange: var(--lc-orange);
  --lcf-orange-glow: var(--lc-orange);
  --lcf-bg: var(--lc-page);
  --lcf-cream: var(--lc-paper);
  --lcf-muted: rgba(var(--lc-text-rgb), 0.62);
  --lcf-hairline: rgba(var(--lc-surface-rgb), 0.85);
  --lcf-font-sans: "PP Neue Montreal", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  width: 100%;
  background: var(--lcf-bg);
  border-top: 1px solid var(--lcf-hairline);
  color: var(--lcf-cream);
  font-family: var(--lcf-font-sans);
}

.lc-site-footer a {
  color: var(--lcf-cream);
  text-decoration: none;
}
.lc-site-footer img,
.lc-site-footer svg {
  max-width: 100%;
  display: block;
}
.lc-site-footer :focus-visible {
  outline: 2px solid var(--lcf-orange-glow);
  outline-offset: 3px;
  border-radius: 6px;
}

.lc-site-footer__top {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) clamp(20px, 3.5vw, 50px) clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  /* The number of link columns is now editor-controlled (Local Champion
     → Header & Footer), so the track list can't be hardcoded to four.
     The brand block takes a wider first track; every column after it
     shares what's left and collapses gracefully as they're added or
     removed. */
  grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.lc-site-footer__brand .lc-site-footer__logo svg,
.lc-site-footer__brand .lc-site-footer__logo img {
  height: 26px;
  width: auto;
}
.lc-site-footer__tagline {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--lcf-muted);
}

.lc-footer-widget__title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--lcf-muted);
}

.lc-footer-menu,
ul.lc-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9375rem;
}
.lc-footer-menu a {
  opacity: 1;
}

.lc-site-footer__cta .lc-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  background: var(--lcf-orange);
  border-radius: 63px;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: filter 180ms ease;
}


.lc-site-footer__bottom {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem clamp(20px, 3.5vw, 50px) 2rem;
  border-top: 1px solid var(--lcf-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lc-site-footer__copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--lcf-muted);
}
.lc-footer-legal-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
}
.lc-footer-legal-menu a {
  color: var(--lcf-muted);
  transition: color 180ms ease;
}


.lc-footer-widget {
  margin-bottom: 1.5rem;
}
.lc-footer-widget:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lc-site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .lc-site-footer__cta {
    grid-column: 1 / -1;
  }
  .lc-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .lc-site-footer__top {
    grid-template-columns: 1fr;
  }
  .lc-site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
