/* Site-specific CSS. Loads after bundle.css; never edit bundle.css itself. */

/* Footer social: brand icons in place of the names. */
.bfa-footer__social { gap: var(--space-2); margin-inline-start: -11px; }
.bfa-footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius-md); color: var(--ink-muted);
  transition: color .15s ease, background-color .15s ease; }
.bfa-footer__social a:hover { color: var(--blue-700); background: var(--blue-50); }
.bfa-social { width: auto; height: 20px; fill: currentColor; }

/* Brand marks inside text lines (WhatsApp in the contact lists): filled, not stroked. */
.bfa-brand { width: 24px; height: 20px; fill: currentColor; stroke: none; }
@media (pointer: coarse) { .bfa-footer__social a { width: var(--tap-min); height: var(--tap-min); } }

/* Trust strip: bundle.css styles `.bfa-trust__item span` for the description text, and that rule
   also catches the hexagon tile (a span too), forcing it to display:block and ink-subtle — the icon
   then sits above centre and loses its colour. Restore the tile. */
.bfa-trust__item .bfa-hex { display: grid; place-items: center; color: var(--blue-700); }

/* Long-form text (legal pages): bundle.css strips list styling, so put it back here. */
.bfa-prose h2 { margin-top: var(--space-7); }
.bfa-prose ul { padding-inline-start: var(--space-5); list-style: disc; }
.bfa-prose li + li { margin-top: var(--space-2); }
.bfa-prose a { text-decoration: underline; }

/* Six service pillars: three link columns plus the promo panel, wrapping to two rows. */
.bfa-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) 280px; }
@container page (max-width: 1279px) {
  .bfa-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container page (max-width: 1023px) {
  .bfa-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Slogan band: a two-tone statement (white line + light-blue line) on deep blue, between content and the closing CTA. */
.bfa-slogan { background: var(--blue-900); color: #fff; padding-block: var(--space-9); }
.bfa-slogan__text { margin: 0; max-width: 28ch; font: 800 clamp(28px, 4.2vw, 46px)/1.22 var(--font-sans); letter-spacing: -0.01em; }
.bfa-slogan__text span { display: block; }
.bfa-slogan__accent { color: var(--blue-300); margin-top: var(--space-2); }
.bfa-slogan__rule { display: block; width: 120px; height: 3px; margin: var(--space-6) 0 var(--space-5); background: var(--brand); border: 0; }
.bfa-slogan__sub { margin: 0; max-width: 52ch; font: 400 18px/30px var(--font-sans); color: var(--blue-100); }
@media (max-width: 767px) { .bfa-slogan { padding-block: var(--space-8); } }

/* Trust strip (launch, 3 items): bundle.css's two-class rule kept it at three columns on phones,
   so the items ran off-screen. Follow the same breakpoints as the 4-item strip. */
@container page (max-width: 1023px) { .bfa-trust--launch .bfa-trust__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container page (max-width: 767px)  { .bfa-trust--launch .bfa-trust__items { grid-template-columns: minmax(0, 1fr); } }

/* Toast shown after an email link is clicked ("email copied"). Sits above the mobile sticky bar. */
.bfa-toast { position: fixed; left: 50%; bottom: calc(var(--sticky-cta-height) + var(--space-5)); z-index: var(--z-consent);
  transform: translate(-50%, 12px); max-width: calc(100vw - 32px); padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md); background: var(--blue-900); color: #fff; font: 600 15px/22px var(--font-sans);
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.bfa-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .bfa-toast { transition: none; } }

/* Home hero: slogan as the large headline (brand blue), services line as the H1 beneath it */
.bfa-hero__slogan { margin: 0; color: var(--blue-700); letter-spacing: -0.01em; white-space: nowrap; font-size: clamp(18px, 5.3vw, 46px); line-height: 1.2; }
.bfa-hero__services { margin: var(--space-5) 0 0; font: 700 22px/32px var(--font-sans); color: var(--ink); max-width: 600px; }
@media (max-width: 767px) { .bfa-hero__services { margin-top: var(--space-3); font-size: 16px; line-height: 24px; } }
:lang(en) .bfa-hero__slogan { font-size: clamp(26px, 7.4vw, 50px); }
