/* ============================================= */
/* FOOTER — SELF-CONTAINED                       */
/* ============================================= */
.f2bf-footer *,
.f2bf-footer *::before,
.f2bf-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.f2bf-footer {
  --teal:        #1B3A4B;
  --teal-deep:   #0F2631;
  --teal-mid:    #25516A;
  --red:         #C83C2C;
  --red-hover:   #D9503F;
  --cream:       #F0EBE3;
  --white:       #FFFFFF;
  --text:        rgba(240,235,227,0.65);
  --text-muted:  rgba(240,235,227,0.4);
  --link:        rgba(240,235,227,0.7);
  --link-hover:  #FFFFFF;
  --border:      rgba(255,255,255,0.08);

  --display: 'Playfair Display', Georgia, serif;
  --sans:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  font-family: var(--sans);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- DECORATIVE WAVE ---------- */
.f2bf-footer__wave {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  margin-bottom: -1px;
  background: #1B3A4B;
  position: relative;
}
.f2bf-footer__wave::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.f2bf-footer__wave svg {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* ---------- MAIN BODY ---------- */
.f2bf-footer__body {
  background: var(--teal-deep);
  padding: 3rem 2rem 0;
}
.f2bf-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

/* --- Column 1: Brand + Socials --- */
.f2bf-footer-brand__logo {
  display: block;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.f2bf-footer-brand__logo-img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.f2bf-footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.f2bf-footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.f2bf-footer-social__link:hover {
  border-color: var(--red);
  color: var(--red-hover);
}
.f2bf-footer-social__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Columns 2 & 3: Nav Lists --- */
.f2bf-footer-nav__heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.f2bf-footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f2bf-footer-nav__list li + li { margin-top: 0.5rem; }
.f2bf-footer-nav__list a {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
.f2bf-footer-nav__list a:hover { color: var(--link-hover); }

/* --- Column 4: Contact + Legal --- */
.f2bf-footer-contact__heading {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.f2bf-footer-contact p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}
.f2bf-footer-contact__group { margin-top: 0.85rem; }
.f2bf-footer-contact a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s;
}
.f2bf-footer-contact a:hover { color: var(--link-hover); }

.f2bf-footer-legal {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.f2bf-footer-legal__copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.f2bf-footer-legal__links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.4rem;
}
.f2bf-footer-legal__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.f2bf-footer-legal__links a:hover { color: var(--link-hover); }

.f2bf-footer-legal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red-hover);
  border: 1.5px solid var(--red);
  background: transparent;
  padding: 0.65em 1.8em;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.f2bf-footer-legal__cta:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200,60,44,0.25);
}

/* ---------- BOTTOM BAR ---------- */
.f2bf-footer__bottom {
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.f2bf-footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.7;
}
.f2bf-footer__bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.f2bf-footer__bottom a:hover { color: var(--link-hover); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .f2bf-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  .f2bf-footer__body { padding: 2rem 1.5rem 0; }
  .f2bf-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }
  .f2bf-footer-brand__logo-img { margin: 0 auto; }
  .f2bf-footer-social { justify-content: center; }
  .f2bf-footer-legal__cta { width: 100%; max-width: 240px; }
}
