/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-block: var(--space-16) var(--space-10);
}

/* ── Top grid: brand col + 3 link cols ── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

/* Brand column */
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  text-decoration: none;
}
.footer__brand-logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 28ch;
}

/* Link columns */
.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.footer__links a:hover { color: var(--color-text); }

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
  gap: var(--space-4);
}
.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}

/* ── TABLET: 900px ── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-10);
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__desc { max-width: 44ch; }
}

/* ── MOBILE: 768px ── */
@media (max-width: 768px) {
  .footer {
    padding-block: 1.75rem 1.25rem;
  }

  /* Single column, centered */
  .footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
    text-align: center;
  }

  /* Brand block — logo + short tagline only */
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-subtle);
    margin-bottom: 1rem;
    width: 100%;
  }
  .footer__brand-logo {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  /* Show short tagline, hide long description */
  .footer__desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    max-width: 28ch;
    margin-inline: auto;
    line-height: 1.55;
  }

  /* Kill all link columns on mobile */
  .footer__col {
    display: none !important;
  }

  /* Status badges row — show Available + Nationwide prominently */
  .footer__mobile-status {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.875rem;
  }

  /* Bottom bar — stacked: badges on top, copyright below */
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    text-align: center;
  }
  .footer__copyright {
    font-size: 11px;
    order: 2;
  }
  .footer__badges {
    gap: 0.375rem;
    justify-content: center;
    order: 1;
  }
  .footer__badges .badge {
    font-size: 10px;
    padding: 0.2rem 0.65rem;
  }
}
