/* ═══════════════════════════════════════════════════════════════════════════
   MotoMagic — Premium Footer  (css/premium-footer.css)
   Additive only. Enhances existing #site-footer markup. No JS touched.
   Load AFTER app.css.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Footer shell: premium top divider + depth ─────────────────────────────*/
#site-footer {
  position: relative;
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(227,6,19,.04), transparent 60%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.35));
  padding-top: 64px;
  padding-bottom: 34px;
  margin-top: 40px;
}
/* Thin accent line at the very top */
#site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227,6,19,.5), transparent);
}

/* ── Grid spacing ──────────────────────────────────────────────────────────*/
#site-footer .f-grid {
  gap: 40px 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,.08));
}

/* ── Brand column ──────────────────────────────────────────────────────────*/
#site-footer .f-brand .logo { font-size: 20px; }
#site-footer .f-brand .logo b { color: var(--white, #fff); }
#site-footer .f-brand .logo span { color: var(--red, #E30613); }
#site-footer .f-brand p {
  color: var(--gray, #A0A0A0);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 300px;
  margin-top: 14px;
}

/* ── Social icons: premium pill buttons ────────────────────────────────────*/
#site-footer .socials { display: flex; gap: 9px; margin-top: 20px; }
#site-footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gray, #A0A0A0);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line, rgba(255,255,255,.08));
  transition: transform .2s var(--ease, cubic-bezier(.22,1,.36,1)),
              color .2s, background .2s, border-color .2s;
}
#site-footer .socials a:hover {
  transform: translateY(-3px);
  color: #fff;
  background: var(--red, #E30613);
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(227,6,19,.6);
}

/* ── Link columns: clear heading + refined links ───────────────────────────*/
#site-footer .f-col h4 {
  font-family: var(--font-d, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white, #fff);
  margin-bottom: 16px;
}
#site-footer .f-col a {
  display: block;
  font-size: 13.5px;
  color: var(--gray, #A0A0A0);
  padding: 5px 0;
  width: fit-content;
  position: relative;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
#site-footer .f-col a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red, #E30613);
  transform: translateY(-50%) scale(0);
  transition: transform .2s var(--ease);
}
#site-footer .f-col a:hover {
  color: var(--white, #fff);
  transform: translateX(12px);
}
#site-footer .f-col a:hover::before { transform: translateY(-50%) scale(1); }
#site-footer .f-col a:focus-visible {
  outline: 2px solid var(--red, #E30613);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Bottom bar ────────────────────────────────────────────────────────────*/
#site-footer .f-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
#site-footer .f-bottom > span {
  font-size: 12.5px;
  color: var(--gray-dim, #6b6b6b);
}
#site-footer .legal { display: flex; gap: 22px; }
#site-footer .legal a {
  font-size: 12.5px;
  color: var(--gray-dim, #6b6b6b);
  transition: color .2s;
}
#site-footer .legal a:hover { color: var(--white, #fff); }

/* ── Mobile ────────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {
  #site-footer { padding-top: 48px; }
  #site-footer .f-grid { gap: 32px; padding-bottom: 32px; }
  #site-footer .f-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #site-footer .socials a:hover,
  #site-footer .f-col a:hover { transform: none; }
}
