/* Scoped tokens (inherits from your global vars if present) */
.site-footer {
  --footer-bg: var(--surface-3, #0b0d10);
  --footer-fg: var(--footer-fg, #e5e7eb);
  --footer-muted: var(--muted, #9aa3af);
  --footer-line: var(--line, rgba(255,255,255,0.08));
  --footer-accent: var(--accent, #ef4444); /* Sporty red */
  --footer-accent-contrast: var(--accent-contrast, #fff);
  --footer-radius: 14px;
  --footer-max: 1200px;
}

/* Base */
.site-footer {
  background: radial-gradient(1200px 600px at 100% 0%, rgba(239,68,68,.08), transparent 60%),
              radial-gradient(800px 400px at 0% 100%, rgba(59,130,246,.08), transparent 60%),
              var(--footer-bg);
  color: var(--footer-fg);
  position: relative;
  margin-top: 2rem;
  border-top: 3px solid var(--footer-accent);
}

.site-footer .footer-inner {
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 2.5rem 1rem 1.25rem;
}

/* Top section */
.site-footer .footer-top {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--footer-line);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr;
  gap: 1.5rem;
}
@media (max-width: 980px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* Brand */
.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  color: inherit;
}
.site-footer .logo-mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--footer-accent), #dc2626);
  box-shadow: 0 6px 24px rgba(239,68,68,.25);
}
.site-footer .logo-text { font-size: 1.05rem; }
.site-footer .footer-slogan {
  margin: .6rem 0 1rem;
  color: var(--footer-muted);
  font-size: .95rem;
}

/* Titles */
.site-footer .footer-title {
  margin: 0 0 .8rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Links */
.site-footer .footer-links,
.site-footer .footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-links li + li { margin-top: .45rem; }
.site-footer .footer-links a {
  color: var(--footer-fg);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  border-bottom-color: currentColor;
  outline: none;
}

/* Hours */
.site-footer .footer-hours li {
  display: flex; justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--footer-line);
}
.site-footer .footer-hours li:last-child { border-bottom: 0; }
.site-footer .footer-hours span:first-child { color: var(--footer-muted); }

/* Contact */
.site-footer .footer-contact { font-style: normal; }
.site-footer .contact-line {
  display: grid; grid-template-columns: 70px 1fr; gap: .5rem;
  margin: .25rem 0;
}
.site-footer .contact-label { color: var(--footer-muted); }
.site-footer .footer-contact a { color: var(--footer-fg); text-decoration: none; }
.site-footer .footer-contact a:hover { text-decoration: underline; }

/* Map button */
.site-footer .btn-map {
  display: inline-block;
  margin-top: .6rem;
  padding: .55rem .9rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--footer-accent), #dc2626);
  color: var(--footer-accent-contrast);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(239,68,68,.25);
}
.site-footer .btn-map:hover { filter: brightness(1.05); }

/* Social */
.site-footer .footer-social {
  display: flex; gap: .6rem; list-style: none; padding: 0; margin: .5rem 0 0;
}
.site-footer .social-link {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--footer-line);
  text-decoration: none; color: var(--footer-fg);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.site-footer .social-link:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }

/* Bottom */
.site-footer .footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1rem;
}
.site-footer .footer-bottom p { margin: 0; color: var(--footer-muted); font-size: .95rem; }
.site-footer .footer-legal { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.site-footer .footer-legal a { color: var(--footer-muted); text-decoration: none; }
.site-footer .footer-legal a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Back to top */
.site-footer .back-to-top {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center;
  text-decoration: none; color: var(--footer-fg);
  background: rgba(255,255,255,.06); border: 1px solid var(--footer-line);
  transition: transform .15s ease, background .15s ease;
}
.site-footer .back-to-top:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }

/* A11y helpers */
.site-footer .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
