/* ==========================================================================
   Footer — all 3 breakpoint layouts
   ========================================================================== */

.site-footer {
  background: var(--color-navy-dark);
  padding: var(--space-5xl) 0 var(--space-2xl);
}

.footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* --- Brand column --- */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__logo {
  display: block;
}

.footer__logo img {
  height: 2rem;
  width: auto;
}

.footer__tagline {
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 24rem;
}

/* --- Social icons row --- */
.footer__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-social);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.footer__social-link img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

/* --- Nav columns --- */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl) var(--space-lg);
}

@media (min-width: 768px) {
  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__nav-heading {
  font-size: var(--text-eyebrow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

.footer__nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__nav-link:hover {
  color: var(--color-white);
}

/* --- Bottom bar --- */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer__copy {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Tablet & desktop: two-column footer top --- */
@media (min-width: 768px) {
  .footer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl) var(--space-5xl);
    align-items: start;
  }

  .footer__bottom {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .footer {
    grid-template-columns: 1.25fr 2.25fr;
    gap: var(--space-2xl) var(--space-6xl);
  }

  .footer__tagline { max-width: 20rem; }

  .footer__nav {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }
}
