/* =========================================================
   FOOTER V2 — full-bleed fluid navy (homepage + next-v2)
   ========================================================= */

.site-footer--v2 {
  --footer-gutter: clamp(1.15rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.92);
  overflow-x: clip;
}

.site-footer--v2 .footer-v2__fluid {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    clamp(4rem, 9vh, 6.5rem)
    var(--footer-gutter)
    clamp(1.25rem, 3vh, 2rem);
}

.site-footer--v2 .footer-brand {
  padding-bottom: clamp(1.25rem, 2.8vw, 1.75rem);
  margin-bottom: clamp(1.25rem, 2.8vw, 1.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer--v2 .footer-bar--v2 {
  width: 100%;
  max-width: none;
  margin: clamp(1.75rem, 3.5vw, 2.35rem) 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark-faint);
}

.site-footer--v2 .footer-bar-links a {
  color: var(--text-on-dark-faint);
}

.site-footer--v2 .footer-bar-links a:hover {
  color: var(--text-on-dark-secondary);
}

.site-footer--v2 .footer-contact-block strong {
  color: var(--text-on-dark-faint);
}

.site-footer--v2 .footer-contact-block p,
.site-footer--v2 .footer-contact-block a {
  color: var(--text-on-dark-muted);
}

.page-footer-v2 main {
  margin-bottom: 0;
}

.page-footer-v2 .next-v2 {
  padding-bottom: clamp(3.25rem, 7vh, 5rem);
}

.site-footer--v2 .footer-col--links ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  row-gap: 0.1rem;
}

@media (max-width: 1100px) {
  .site-footer--v2 .footer-col--links ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer--v2 .footer-contact {
    grid-column: auto;
    display: block;
    grid-template-columns: unset;
  }
}

@media (max-width: 780px) {
  .site-footer--v2 {
    --footer-gutter: 1rem;
  }

  .site-footer--v2 .footer-v2__fluid {
    padding:
      2.5rem var(--footer-gutter)
      calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer--v2 .footer-brand {
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
  }

  .site-footer--v2 .footer-brand__logo {
    width: min(100%, 11.5rem);
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
  }

  .site-footer--v2 .footer-brand__logo img {
    max-height: 4.25rem;
  }

  .site-footer--v2 .social-links__item {
    width: 2.5rem;
    height: 2.5rem;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
  }

  .site-footer--v2 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 1.5rem;
  }

  .site-footer--v2 .footer-col {
    min-width: 0;
  }

  .site-footer--v2 .footer-contact {
    grid-column: 1 / -1;
    display: block;
  }

  .site-footer--v2 .footer-col--links ul {
    grid-template-columns: 1fr;
  }

  .site-footer--v2 .footer-col--campuses h3,
  .site-footer--v2 .footer-col--links h3,
  .site-footer--v2 .footer-contact h3 {
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    letter-spacing: 0.1em;
  }

  .site-footer--v2 .footer-contact-block {
    margin-bottom: 0.75rem;
  }

  .site-footer--v2 .footer-contact-block strong {
    font-size: 0.62rem;
  }

  .site-footer--v2 .footer-contact-block p,
  .site-footer--v2 .footer-contact-block a {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .site-footer--v2 .footer-col a {
    font-size: 0.88rem;
  }

  .site-footer--v2 .footer-bar--v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
  }

  .site-footer--v2 .footer-bar__copy {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .site-footer--v2 .footer-bar-links {
    justify-content: flex-start;
    gap: 0.45rem 0.85rem;
  }

  .site-footer--v2 .footer-bar-links a {
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .page-footer-v2 .next-v2 {
    padding-bottom: 2.75rem;
  }

  .site-footer--v2 .social-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .site-footer--v2 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
