/* ==========================================================================
   Bluefish Savings — Brand Design System
   Palette sampled directly from the logo artwork.
   ========================================================================== */

:root {
    /* Brand — sampled from logo */
    --bf-navy: #002070;
    --bf-navy-800: #04256d;
    --bf-navy-700: #093184;
    --bf-blue: #0060e0;
    --bf-blue-600: #0052c0;
    --bf-blue-400: #3d8bf0;
    --bf-blue-100: #e3edfd;
    --bf-blue-50: #f2f7fe;

    --bf-green: #2f9e0a;
    --bf-green-700: #1c7a00;
    --bf-green-600: #248c05;
    --bf-green-400: #70c000;
    --bf-green-100: #e8f6e0;
    --bf-green-50: #f4fbef;

    /* Neutrals */
    --bf-ink: #0d1b2a;
    --bf-body: #3d4d60;
    --bf-muted: #6b7c92;
    --bf-line: #e3e9f2;
    --bf-surface: #ffffff;
    --bf-surface-alt: #f6f9fd;

    /* Gradients */
    --bf-grad-blue: linear-gradient(135deg, #0070e0 0%, #0060e0 45%, #002070 100%);
    --bf-grad-green: linear-gradient(135deg, #70c000 0%, #2f9e0a 55%, #007000 100%);
    --bf-grad-text: linear-gradient(100deg, #0060e0 0%, #0070e0 40%, #2f9e0a 100%);

    /* Shape */
    --bf-r-sm: 10px;
    --bf-r: 16px;
    --bf-r-lg: 22px;
    --bf-r-pill: 999px;

    /* Elevation */
    --bf-shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 6px rgba(13, 27, 42, .04);
    --bf-shadow: 0 4px 12px rgba(13, 27, 42, .06), 0 12px 32px rgba(13, 27, 42, .07);
    --bf-shadow-lg: 0 8px 24px rgba(0, 32, 112, .10), 0 24px 64px rgba(0, 32, 112, .12);
    --bf-shadow-blue: 0 8px 24px rgba(0, 96, 224, .28);
    --bf-shadow-green: 0 8px 24px rgba(47, 158, 10, .28);

    --bf-header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bf-header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bf-surface);
    color: var(--bf-body);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: var(--bf-ink);
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.18;
    overflow-wrap: break-word;
}

p { overflow-wrap: break-word; }

a {
    text-decoration: none;
    color: var(--bf-blue);
    transition: color .18s ease;
}
a:hover { color: var(--bf-blue-600); }

img { max-width: 100%; height: auto; }

.row > * { min-width: 0; }

.container { max-width: 1152px; }

::selection { background: var(--bf-blue-100); color: var(--bf-navy); }

:focus-visible {
    outline: 3px solid var(--bf-blue-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Type utilities ---------- */
.bf-display {
    font-size: clamp(2rem, 1.15rem + 3vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.032em;
    line-height: 1.08;
    color: var(--bf-navy);
}

.bf-grad-text {
    background: var(--bf-grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.bf-h2 {
    font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem);
    letter-spacing: -.028em;
}

.bf-lead {
    font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem);
    color: var(--bf-body);
    line-height: 1.68;
}

.bf-sub {
    color: var(--bf-muted);
    font-size: 1.02rem;
    max-width: 62ch;
}

.bf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bf-green-100);
    color: var(--bf-green-700);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .74rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: var(--bf-r-pill);
    border: 1px solid rgba(47, 158, 10, .18);
}
.bf-eyebrow .bf-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--bf-green);
    box-shadow: 0 0 0 3px rgba(47, 158, 10, .18);
}

.bf-section-head { max-width: 700px; margin-bottom: 30px; }
.bf-section-head .bf-kicker {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .76rem;
    font-weight: 700;
    color: var(--bf-blue);
    margin-bottom: 12px;
    display: block;
}

.bf-section { padding: clamp(44px, 3.4vw, 64px) 0; }
.bf-section-alt { background: var(--bf-surface-alt); }

/* ---------- Buttons ---------- */
.btn-bf-primary,
.btn-bf-secondary,
.btn-bf-outline,
.btn-bf-ghost {
    --bs-btn-focus-box-shadow: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .97rem;
    letter-spacing: -.01em;
    padding: 13px 26px;
    border-radius: var(--bf-r-pill);
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
    white-space: nowrap;
}

.btn-bf-primary {
    background: var(--bf-grad-green);
    /* Must follow the `background` shorthand, which resets this. Gradients are
       painted to the border-box but sized to the padding-box by default, so on
       a transparent border the tile repeats and the opposite end of the
       gradient bleeds through as a ~2px sliver down each edge. */
    background-origin: border-box;
    color: #fff;
    box-shadow: var(--bf-shadow-green);
}
.btn-bf-primary:hover,
.btn-bf-primary:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(47, 158, 10, .36);
}

.btn-bf-secondary {
    background: var(--bf-blue);
    color: #fff;
    box-shadow: var(--bf-shadow-blue);
}
.btn-bf-secondary:hover,
.btn-bf-secondary:focus {
    background: var(--bf-blue-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 96, 224, .36);
}

.btn-bf-outline {
    background: #fff;
    border-color: var(--bf-line);
    color: var(--bf-navy);
}
.btn-bf-outline:hover,
.btn-bf-outline:focus {
    border-color: var(--bf-blue);
    color: var(--bf-blue);
    background: var(--bf-blue-50);
    transform: translateY(-2px);
}

.btn-bf-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    box-shadow: none;
}
.btn-bf-ghost:hover,
.btn-bf-ghost:focus {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.btn-bf-sm { padding: 9px 18px; font-size: .88rem; }

.btn-bf-primary .bf-ico,
.btn-bf-secondary .bf-ico { transition: transform .2s ease; }
.btn-bf-primary:hover .bf-ico,
.btn-bf-secondary:hover .bf-ico { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.bf-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
    padding: 0;
}
.bf-header.is-stuck {
    border-bottom-color: var(--bf-line);
    box-shadow: 0 2px 20px rgba(13, 27, 42, .06);
}

.bf-header .navbar-brand { padding: 0; margin: 0; }
.bf-logo img {
    height: 46px;
    width: auto;
    display: block;
}

.bf-nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .94rem;
    color: var(--bf-ink);
    padding: 8px 14px;
    border-radius: var(--bf-r-sm);
    transition: color .18s ease, background-color .18s ease;
}
.bf-nav-link:hover { color: var(--bf-blue); background: var(--bf-blue-50); }

.bf-icon-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bf-line);
    background: #fff;
    color: var(--bf-navy);
    transition: all .18s ease;
    flex: none;
}
.bf-icon-btn:hover {
    color: var(--bf-blue);
    border-color: var(--bf-blue);
    background: var(--bf-blue-50);
    transform: translateY(-2px);
}
.bf-icon-btn.is-wa:hover { color: var(--bf-green); border-color: var(--bf-green); background: var(--bf-green-50); }

.navbar-toggler {
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    padding: 7px 10px;
    background: #fff;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23002070' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.bf-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 3.2vw, 56px) 0 clamp(38px, 3.2vw, 58px);
    background:
        radial-gradient(58% 62% at 88% 6%, rgba(112, 192, 0, .13) 0%, rgba(112, 192, 0, 0) 62%),
        radial-gradient(66% 70% at 6% 0%, rgba(0, 96, 224, .16) 0%, rgba(0, 96, 224, 0) 60%),
        linear-gradient(180deg, var(--bf-blue-50) 0%, #ffffff 72%);
}
.bf-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bf-line), transparent);
}

.bf-hero-copy {
    max-width: 780px;
}
.bf-hero-copy > * + * { margin-top: 18px; }
.bf-hero-copy .bf-lead { max-width: 640px; }

.bf-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.bf-hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bf-muted);
    font-size: .88rem;
}
.bf-hero-note svg { color: var(--bf-green); flex: none; }

/* ---------- Logo / trust strip ---------- */
.bf-trust {
    background: #fff;
    border-top: 1px solid var(--bf-line);
    border-bottom: 1px solid var(--bf-line);
    padding: 16px 0;
}
.bf-trust-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 26px;
    text-align: center;
}
.bf-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .9rem;
    color: var(--bf-body);
    font-weight: 500;
}
.bf-trust-item svg { color: var(--bf-green); flex: none; }
.bf-trust-item strong { color: var(--bf-navy); font-weight: 700; }

/* Stacked one below the other — constrained so the rows don't stretch the
   full container width, which would leave the copy sparse and hard to scan. */
.bf-topics-stack {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Topic boxes (horizontal: icon left, copy right) ----------
   Deliberately horizontal and tinted, so this section never reads the same
   as the vertical white action cards in the CTA band below. */
.bf-topic {
    display: flex;
    /* Centred against the row. Top-aligning left the 48px tile sitting between
       the heading and the first body line, matching neither. */
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 24px 22px;
    background: var(--bf-surface-alt);
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-r);
    text-align: left;
    transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease, border-color .24s ease;
}
.bf-topic:hover {
    background: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: var(--bf-shadow);
}

.bf-topic-ico {
    flex: none;
    width: 48px; height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-blue-100);
    color: var(--bf-blue);
    transition: background-color .24s ease, color .24s ease, transform .24s ease;
}
.bf-topic.is-green .bf-topic-ico {
    background: var(--bf-green-100);
    color: var(--bf-green-600);
}
.bf-topic:hover .bf-topic-ico {
    background: var(--bf-grad-blue);
    color: #fff;
    transform: scale(1.06) rotate(-4deg);
}
.bf-topic.is-green:hover .bf-topic-ico { background: var(--bf-grad-green); color: #fff; }

.bf-topic-body h3 {
    font-size: 1.05rem;
    margin: 3px 0 7px;
}
.bf-topic-body p {
    font-size: .92rem;
    color: var(--bf-body);
    margin: 0;
}
.bf-topic-body strong { color: var(--bf-navy); }

/* ---------- CTA band (light, so it stays distinct from the navy footer) ---------- */
.bf-cta-band {
    position: relative;
    background:
        radial-gradient(54% 62% at 8% 0%, rgba(0, 96, 224, .14) 0%, rgba(0, 96, 224, 0) 62%),
        radial-gradient(50% 60% at 94% 96%, rgba(112, 192, 0, .16) 0%, rgba(112, 192, 0, 0) 60%),
        #eaf1fb;
    border-top: 1px solid var(--bf-line);
    border-bottom: 1px solid var(--bf-line);
    padding: clamp(44px, 3.4vw, 62px) 0;
    overflow: hidden;
}
.bf-cta-band .bf-section-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.bf-cta-band .bf-sub { margin-left: auto; margin-right: auto; }

.bf-cta-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--bf-line);
    border-radius: var(--bf-r);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--bf-shadow-sm);
    overflow: hidden;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.bf-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--bf-grad-blue);
    transform: scaleX(0);
    transition: transform .3s ease;
}
.bf-cta-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--bf-shadow-lg);
    border-color: transparent;
}
.bf-cta-card:hover::before { transform: scaleX(1); }

.bf-cta-card.is-featured {
    border-color: rgba(47, 158, 10, .32);
    box-shadow: 0 6px 18px rgba(47, 158, 10, .12);
}
.bf-cta-card.is-featured::before { background: var(--bf-grad-green); transform: scaleX(1); }

.bf-cta-ico {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--bf-blue-50);
    color: var(--bf-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background-color .24s ease, color .24s ease, transform .24s ease;
}
.bf-cta-card:hover .bf-cta-ico {
    background: var(--bf-grad-blue);
    color: #fff;
    transform: scale(1.06) rotate(-4deg);
}
.bf-cta-card.is-featured .bf-cta-ico { background: var(--bf-green-50); color: var(--bf-green-600); }
.bf-cta-card.is-featured:hover .bf-cta-ico { background: var(--bf-grad-green); color: #fff; }

.bf-cta-card h3 { color: var(--bf-navy); font-size: 1.12rem; margin-bottom: 10px; }
.bf-cta-card p {
    color: var(--bf-muted);
    font-size: .9rem;
    margin-bottom: 22px;
    flex-grow: 1;
}
.bf-cta-card .btn-bf-primary,
.bf-cta-card .btn-bf-secondary { width: 100%; }

/* ---------- Footer (light, so the full-colour logo reads natively) ---------- */
.bf-footer {
    background: #fff;
    border-top: 1px solid var(--bf-line);
    color: var(--bf-body);
    padding: clamp(38px, 3vw, 52px) 0 24px;
    font-size: .9rem;
}
.bf-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}
.bf-footer-logo img { height: 48px; width: auto; display: block; }
.bf-footer h4 {
    color: var(--bf-navy);
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}
.bf-footer a { color: var(--bf-body); }
.bf-footer a:hover { color: var(--bf-blue); }
.bf-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.bf-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .92rem;
}
.bf-footer-links svg { flex: none; color: var(--bf-blue); opacity: .85; }

/* Footer social icons — live in the bottom bar, not the brand column */
.bf-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bf-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bf-surface-alt);
    border: 1px solid var(--bf-line);
    color: var(--bf-navy);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.bf-social a:hover {
    color: #fff;
    transform: translateY(-3px);
    border-color: transparent;
}
.bf-social a.is-fb:hover { background: #1877f2; }
.bf-social a.is-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.bf-social a.is-li:hover { background: #0a66c2; }

.bf-footer-bottom {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--bf-line);
}
.bf-disclaimer {
    color: var(--bf-muted);
    font-size: .79rem;
    line-height: 1.6;
    margin: 0 0 18px;
}
.bf-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bf-copy { color: var(--bf-muted); font-size: .84rem; margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.bf-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1035;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.bf-fab:hover {
    color: #fff;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, .55);
}

/* ---------- Modal ---------- */
#contactModal .modal-content {
    border: none;
    border-radius: var(--bf-r-lg);
    overflow: hidden;
    box-shadow: var(--bf-shadow-lg);
}
#contactModal .modal-header {
    background: var(--bf-grad-blue);
    color: #fff;
    border: none;
    padding: 22px 26px;
    align-items: flex-start;
}
#contactModal .modal-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}
#contactModal .bf-modal-sub {
    color: rgba(255, 255, 255, .82);
    font-size: .85rem;
    margin: 4px 0 0;
}
#contactModal .btn-close {
    /* Bootstrap's .modal-header sets no justify-content — the close button is
       pushed to the right edge purely by this auto margin, so never reset it. */
    margin: 0 0 0 auto;
    flex: none;
    padding: 9px;
    border-radius: 50%;
    opacity: .85;
    transition: opacity .18s ease, background-color .18s ease;
}
#contactModal .btn-close:hover,
#contactModal .btn-close:focus-visible {
    opacity: 1;
    background-color: rgba(255, 255, 255, .18);
    box-shadow: none;
}
#contactModal .modal-body { padding: 26px; }

#contactModal .form-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--bf-navy);
    margin-bottom: 6px;
}
#contactModal .form-control {
    border: 1.5px solid var(--bf-line);
    border-radius: var(--bf-r-sm);
    padding: 11px 14px;
    font-size: .95rem;
    color: var(--bf-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
#contactModal .form-control:focus {
    border-color: var(--bf-blue);
    box-shadow: 0 0 0 4px rgba(0, 96, 224, .12);
}
#contactModal .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}
#contactModal .form-control.is-valid {
    border-color: var(--bf-green);
    background-image: none;
}
.invalid-feedback { font-size: .82rem; }
.is-valid ~ .invalid-feedback { display: none; }

.bf-field-hint {
    font-size: .8rem;
    color: var(--bf-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.bf-field-hint svg { flex: none; color: var(--bf-blue); }

#contactSubmit {
    margin-top: 6px;
    padding: 14px 28px;
    font-size: 1rem;
    letter-spacing: .01em;
}

/* A flat neutral state reads as "not ready yet" far better than a faded
   green gradient, which just looked washed out. */
#contactSubmit:disabled,
#contactSubmit[disabled] {
    background: #e6ebf3;
    color: #93a3b8;
    /* Bootstrap's .btn:disabled sets border-color from an undefined custom
       property, which resolves to currentColor and draws a grey ring. */
    border-color: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: auto; /* Bootstrap kills this, but we want the cursor */
}

/* Sending state — spinner sits before the label */
#contactSubmit.is-sending::before {
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    animation: bfSpin .6s linear infinite;
}
#contactSubmit.is-sending,
#contactSubmit.is-sending[disabled] {
    background: var(--bf-grad-green);
    background-origin: border-box;
    color: #fff;
    cursor: progress;
}

@keyframes bfSpin { to { transform: rotate(360deg); } }

#contactSuccess { display: none; text-align: center; padding: 18px 4px 8px; }

#contactSuccess .bf-success-ico {
    position: relative;
    width: 82px; height: 82px;
    border-radius: 50%;
    background: var(--bf-grad-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 26px rgba(47, 158, 10, .32);
    animation: bfPop .45s cubic-bezier(.34, 1.56, .64, 1) both;
}
#contactSuccess .bf-success-ico::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid var(--bf-green);
    opacity: 0;
    animation: bfRing .9s ease-out .2s both;
}
#contactSuccess .bf-success-ico svg {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: bfDraw .5s ease-out .25s forwards;
}

@keyframes bfPop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}
@keyframes bfRing {
    from { opacity: .55; transform: scale(.82); }
    to   { opacity: 0;   transform: scale(1.18); }
}
@keyframes bfDraw { to { stroke-dashoffset: 0; } }

#contactSuccess h3 {
    font-size: 1.32rem;
    color: var(--bf-navy);
    margin-bottom: 10px;
}
#contactSuccess p {
    color: var(--bf-body);
    font-size: .96rem;
    margin: 0 auto;
    max-width: 34ch;
}
#contactSuccess .bf-success-meta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--bf-line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--bf-muted);
}
#contactSuccess .bf-success-meta svg { color: var(--bf-green); flex: none; }

.bf-modal-alt {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--bf-line);
    text-align: center;
    font-size: .85rem;
    color: var(--bf-muted);
}
.bf-modal-alt a {
    font-weight: 600;
    color: var(--bf-blue);
    white-space: nowrap;
}
.bf-modal-alt span { margin: 0 6px; opacity: .5; }

.bf-privacy-note {
    font-size: .76rem;
    color: var(--bf-muted);
    text-align: center;
    margin: 14px 0 0;
    line-height: 1.5;
}

/* ---------- Reveal on scroll ---------- */
.bf-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1);
}
.bf-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .bf-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet & below — collapsed nav */
@media (max-width: 991.98px) {
    :root { --bf-header-h: 68px; }

    .bf-nav-collapse {
        border-top: 1px solid var(--bf-line);
        margin-top: 14px;
        padding: 16px 0 8px;
    }
    .bf-nav-actions {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .bf-nav-actions .btn-bf-primary,
    .bf-nav-actions .btn-bf-outline { width: 100%; }
    /* Stacked, full-width rows — a phone number is too long to sit in a
       three-across row without wrapping out of its pill. */
    .bf-nav-phones {
        display: flex;
        flex-direction: column;
        gap: 8px;
        /* Bootstrap's .align-items-center on the parent is !important, so the
           column can't stretch — claim the full width explicitly instead. */
        width: 100%;
    }
    .bf-nav-phones .bf-icon-btn {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        border-radius: var(--bf-r-pill);
        gap: 10px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600;
        font-size: .92rem;
        padding: 11px 18px;
        white-space: nowrap;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    body { font-size: .97rem; }

    .bf-logo img { height: 38px; }

    .bf-section { padding: 38px 0; }
    .bf-section-head { margin-bottom: 30px; }

    .bf-hero { padding: 30px 0 34px; }
    .bf-hero-copy > * + * { margin-top: 18px; }
    .bf-hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
    .bf-hero-cta .btn-bf-primary,
    .bf-hero-cta .btn-bf-outline,
    .bf-hero-cta .btn-bf-secondary { width: 100%; }

    .bf-trust-inner { gap: 12px 18px; }
    .bf-trust-item { font-size: .85rem; }

    /* Narrow screens wrap the copy to 5-6 lines, which leaves a centred icon
       stranded mid-paragraph. Stack it instead — it sits with the heading and
       the text gets the full width. */
    .bf-topic {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px 18px;
    }
    .bf-topic-ico { width: 42px; height: 42px; border-radius: 11px; }

    .bf-cta-card { padding: 26px 22px; }

    .bf-footer { text-align: left; padding-bottom: 92px; }
    .bf-footer-col + .bf-footer-col { margin-top: 24px; }
    .bf-footer-meta {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 18px;
    }

    .bf-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }

    #contactModal .modal-body { padding: 22px 20px; }
    #contactModal .modal-header { padding: 20px; }
}

/* Small phones */
@media (max-width: 479.98px) {
    .bf-eyebrow { font-size: .68rem; padding: 6px 12px; }
    .bf-logo img { height: 34px; }
}