/* =========================================================
   FOOTER V2 — full-bleed fluid navy (index2 + next-v2)
   Merged with CTA: same navy plane, soft seam, no inset card
   ========================================================= */

.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: rgba(255, 255, 255, 0.62);
}

.site-footer--v2 .footer-bar-links a {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer--v2 .footer-bar-links a:hover {
  color: var(--gold);
}

/* Continuous navy plane with CTA — do not tint whole page body */
.page-footer-v2 main {
  margin-bottom: 0;
}

.page-footer-v2 .next-v2 {
  padding-bottom: clamp(3.25rem, 7vh, 5rem);
}

@media (max-width: 780px) {
  .site-footer--v2 {
    --footer-gutter: 1rem;
  }

  .site-footer--v2 .footer-v2__fluid {
    padding: 3rem var(--footer-gutter) 1.25rem;
  }

  .site-footer--v2 .footer-brand__logo {
    width: min(100%, 16rem);
  }

  /* Keep compact 2-col link grid on phones (base footer goes 1-col at 420) */
  .site-footer--v2 .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.5rem;
  }

  .site-footer--v2 .footer-contact {
    grid-column: 1 / -1;
    display: block;
  }

  .site-footer--v2 .footer-bar--v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}

@media (max-width: 600px) {
  .page-footer-v2 .next-v2 {
    padding-bottom: 2.75rem;
  }

  .site-footer--v2 .footer-v2__fluid {
    padding-top: 2.75rem;
  }

  .site-footer--v2 .social-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 360px) {
  .site-footer--v2 .footer-grid {
    grid-template-columns: 1fr;
  }
}
