/* ============================================================
   ConFoot — light site footer.
   Loaded via <link rel="stylesheet" href="/assets/css/footer.css">
   on every page. Shows company contact info + AAA credit badge.
   ============================================================ */

.site-footer {
  background: #f5f5f4;
  color: #111;
  padding: 64px 0 32px;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.site-footer .container {
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--content-pad-x, 14.6vw);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.footer-brand img { width: 130px; height: auto; }

.site-footer h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0,0,0,0.5);
  margin-bottom: 14px;
}
.site-footer address,
.site-footer p,
.site-footer ul {
  font-size: 14px;
  line-height: 1.6;
  font-style: normal;
}
/* Brand explainer overrides the generic .site-footer p — comes AFTER it so
   it wins the cascade at equal specificity. */
.site-footer .footer-brand p { margin-top: 14px; font-size: 11px; line-height: 1.5; color: rgba(0,0,0,0.55); max-width: 36ch; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #111; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* AAA credit badge — the source logo has white text below the AAA glyph
   so it needs a dark background to stay legible inside the light footer. */
.footer-aaa {
  background: #111;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-aaa img { width: 64px; height: auto; }
.footer-aaa span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(0,0,0,0.55);
}
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* Mobile */
@media (max-width: 760px) {
  .site-footer { padding: 48px 0 24px; }
  .site-footer .container { padding: 0 6vw; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-aaa { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 12px 20px; }
  .footer-aaa img { width: 48px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 24px;
  }
}
