/* ============================================================================
   Capital Fusion - Redesigned hero & header (2026-10)
   ----------------------------------------------------------------------------
   Reference: clean white header (navy logo mark + wordmark, green pill CTA,
   navy circular menu button) + large rounded media card with overlaid
   badge / headline / lead / pill action + stat shelf below.

   Also includes the redesigned feature grid (under the hero) and the
   About section (image + copy + mission/vision pill toggle).
   ============================================================================ */

:root {
    --cf-font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --cf-ivory: #F7F4ED;
    /* Aligned to the site's canonical palette (temp/custom/base/css/style.css .primary-bg /
       .secondary-bg / .gradient-bg). Do NOT diverge. */
    --cf-primary: #1A2C79;        /* site primary navy */
    --cf-primary-dark: #14215E;   /* deep navy for hovered text/shadows */
    --cf-secondary: #007cc5;      /* site secondary blue */
    --cf-secondary-dark: #005f99; /* darker variant of secondary */
    --cf-cta-gradient: linear-gradient(75deg, #1A2C79 10%, #007cc5); /* matches site gradient */
    --cf-radius-xl: 28px;
    --cf-radius-lg: 22px;
}

/* ============================================================================
   1. TOP BAR / HEADER
   ============================================================================ */
.cf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    box-shadow: 0 4px 22px -10px rgba(14, 47, 79, 0.10);
    font-family: var(--cf-font);
}

.cf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 clamp(16px, 3vw, 28px);
    max-width: 1320px;
    margin: 0 auto;
}

/* Logo -------------------------------------------------------------------- */
.cf-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cf-primary);
    flex-shrink: 0;
}

.cf-logo:hover,
.cf-logo:focus {
    text-decoration: none;
    color: var(--cf-primary);
}

/* Uploaded logo image (transparent PNG from Settings). Ratio 300×191 →
   ~1.57 wide. 52px tall on desktop, 44px on phones. */
.cf-logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
}

/* Fallback mark + wordmark (only rendered when no logo has been uploaded) */
.cf-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--cf-primary);
}

.cf-logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cf-logo-text {
    font-family: var(--cf-font);
    font-size: 20px;
    font-weight: 800;
    color: var(--cf-primary);
    letter-spacing: -0.015em;
    white-space: nowrap;
    line-height: 1;
}

/* Right-side header actions ---------------------------------------------- */
.cf-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   Desktop inline nav (>=992px)
   - Hidden on mobile; the off-canvas panel takes over.
   - Centered between the logo and the right-side actions.
   ----------------------------------------------------------------------- */
.cf-nav--inline {
    display: none;
}

.cf-nav-list-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-nav-list-inline > li {
    position: relative;
}

.cf-nav-list-inline > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--cf-font);
    font-size: 14.5px;
    font-weight: 600;
    color: #2A3A5A;
    text-decoration: none;
    letter-spacing: -0.005em;
    transition: color .18s ease, background-color .18s ease;
}

.cf-nav-list-inline > li > a:hover,
.cf-nav-list-inline > li > a:focus {
    color: var(--cf-primary);
    background: rgba(26, 44, 121, 0.06);
    text-decoration: none;
}

.cf-nav-list-inline > li > a[aria-current="page"] {
    color: var(--cf-primary);
    background: rgba(26, 44, 121, 0.08);
}

.cf-nav-caret {
    font-size: 9px;
    line-height: 1;
    color: currentColor;
    margin-left: 2px;
    transform: translateY(1px);
}

/* Submenu (Banking dropdown) ---------------------------------------- */
.cf-nav-sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #ECEFF4;
    border-radius: 14px;
    box-shadow: 0 20px 40px -22px rgba(26, 44, 121, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 1100;
}

.cf-nav-list-inline > li:hover > .cf-nav-sub,
.cf-nav-list-inline > li:focus-within > .cf-nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cf-nav-sub li {
    margin: 0;
}

.cf-nav-sub a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--cf-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--cf-primary);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.cf-nav-sub a:hover,
.cf-nav-sub a:focus {
    background: #F2F5FB;
    color: var(--cf-secondary);
    text-decoration: none;
}

/* Plain "Online Banking" text link in the header bar (desktop) */
.cf-header-login {
    display: none;
    font-family: var(--cf-font);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--cf-primary);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    letter-spacing: -0.005em;
    transition: color .18s ease, background-color .18s ease;
}

.cf-header-login:hover,
.cf-header-login:focus {
    color: var(--cf-secondary);
    background: rgba(22, 103, 217, 0.08);
    text-decoration: none;
}

/* Green pill CTA (primary header action) ------------------------------- */
.cf-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--cf-font);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cf-pill:hover,
.cf-pill:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

/* Green pill CTA uses the site's own gradient (matches .gradient-bg +
   the call-to-action buttons defined in temp/custom/base/css/style.css). */
.cf-pill-green {
    background: var(--cf-cta-gradient);
    color: #ffffff;
    background-size: 120% 120%;
    background-position: 0% 0%;
    transition: background-position .25s ease, transform .18s ease, box-shadow .18s ease;
}

.cf-pill-green:hover,
.cf-pill-green:focus {
    background: linear-gradient(75deg, #007cc5 10%, #1A2C79);
    background-size: 120% 120%;
    background-position: 100% 100%;
    color: #ffffff;
}

/* Solid secondary-blue variant for secondary nav CTAs (e.g. "Online Banking") */
.cf-pill-blue {
    background: var(--cf-secondary);
    color: #ffffff;
}

.cf-pill-blue:hover,
.cf-pill-blue:focus {
    background: var(--cf-secondary-dark);
    color: #ffffff;
}

/* Round menu button — uses site secondary blue (matches .color-secondary / CTA gradient) */
.cf-menu-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--cf-secondary);
    color: #ffffff;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

.cf-menu-btn:hover {
    background: var(--cf-secondary-dark);
    transform: translateY(-1px);
}

.cf-menu-btn:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: 3px;
}

.cf-menu-btn-icon,
.cf-menu-btn-icon::before,
.cf-menu-btn-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform .25s ease, opacity .2s ease, top .25s ease, background-color .2s ease;
}

.cf-menu-btn-icon {
    position: relative;
}

.cf-menu-btn-icon::before,
.cf-menu-btn-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.cf-menu-btn-icon::before {
    top: -6px;
}

.cf-menu-btn-icon::after {
    top: 6px;
}

.cf-menu-btn[aria-expanded="true"] .cf-menu-btn-icon {
    background: transparent;
}

.cf-menu-btn[aria-expanded="true"] .cf-menu-btn-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.cf-menu-btn[aria-expanded="true"] .cf-menu-btn-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Off-canvas nav panel -------------------------------------------------- */
.cf-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 92vw);
    background: #ffffff;
    box-shadow: -22px 0 60px -20px rgba(14, 47, 79, 0.22);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    visibility: hidden;
}

.cf-nav-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.cf-nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #EEF1F5;
}

.cf-nav-panel-title {
    font-family: var(--cf-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--cf-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.cf-nav-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #F4F6F8;
    color: var(--cf-primary);
    cursor: pointer;
    transition: background-color .15s ease;
}

.cf-nav-panel-close:hover {
    background: #E6EBF0;
}

.cf-nav-panel-close:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: 2px;
}

.cf-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.cf-nav-list li {
    margin: 0;
}

.cf-nav-list a {
    display: block;
    padding: 14px 24px;
    font-family: var(--cf-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--cf-primary);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.cf-nav-list a:hover,
.cf-nav-list a:focus {
    background: #F4F6F8;
    color: var(--cf-secondary);
    text-decoration: none;
}

.cf-nav-list a[aria-current="page"] {
    color: var(--cf-secondary);
    background: #F4F8FF;
}

.cf-nav-cta {
    margin: auto 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #EEF1F5;
}

.cf-nav-cta .cf-pill {
    width: 100%;
}

/* Backdrop behind the panel */
.cf-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 47, 79, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1055;
}

.cf-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Suppress the legacy navbar so we don't get duplicates on pages that
   included the redesigned hero header. */
body:has(.cf-header) > .wrapper > .header,
body:has(.cf-header) nav.navbar.fixed-top {
    display: none !important;
}

/* ============================================================================
   2. HERO — full-bleed banner (NOT a card)
   ----------------------------------------------------------------------------
   The hero is a full-width, full-height banner that extends to the edges of
   the viewport. There is no rounded container, no box-shadow, no
   aspect-ratio block, and no contained padding; the image fills 100% of
   the section width/height and copy sits in a max-width column on top of a
   gradient scrim. Padding-top offsets the fixed header (80px on desktop,
   68px on mobile).
   ============================================================================ */
.cf-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* offset for fixed header on desktop */
    background: var(--cf-primary); /* matches .primary-bg */
    color: #ffffff;
    font-family: var(--cf-font);
    overflow: hidden;
    isolation: isolate;
    min-height: clamp(620px, 88vh, 880px);
    display: flex;
    align-items: stretch;
}

/* Slide stack: each .cf-hero-img is absolutely positioned and stacked.
   The active one has opacity 1; the rest fade out. A subtle 1.2s scale
   animation gives the "Ken Burns" feel without ever moving the layout. */
.cf-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cf-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.4s ease-in-out, transform 6.5s ease-out;
    will-change: opacity, transform;
}

.cf-hero-img.is-active {
    opacity: 1;
    z-index: 1;
    /* slow gentle zoom-in while a slide is visible */
    transform: scale(1);
}

/* Slide indicator dots (the "carousels" mini control) -------------- */
.cf-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.cf-hero-dot {
    width: 32px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background-color .25s ease, width .25s ease, transform .18s ease;
}

.cf-hero-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.cf-hero-dot.is-active {
    background: #ffffff;
    width: 52px;
}

.cf-hero-dot:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: 3px;
}

.cf-hero-img--portrait {
    object-position: 50% 22%;
}

/* Readability scrim — strongest on the left behind the copy, lighter to the
   right. No card, no inset; the scrim fills the full section. Tinted with
   the site navy (#1A2C79) so the photo blends into the brand palette. */
.cf-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(20, 33, 94, 0.45) 0%, rgba(20, 33, 94, 0.15) 35%, rgba(20, 33, 94, 0.55) 100%),
        linear-gradient(90deg,
            rgba(20, 33, 94, 0.88) 0%,
            rgba(20, 33, 94, 0.66) 40%,
            rgba(20, 33, 94, 0.18) 75%,
            rgba(20, 33, 94, 0.35) 100%);
}

/* Content column — centered within a max-width container, NOT inside a card.
   Vertical padding is provided here so the content never sits flush against
   the section edges. */
.cf-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(64px, 9vw, 130px) clamp(20px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    flex: 1 1 auto;
    max-width: min(560px, 100%);
    margin-left: clamp(16px, 6vw, 120px);
    margin-right: auto;
}

.cf-hero-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 0 22px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.cf-hero-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: var(--cf-font);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.022em;
}

.cf-hero-lead {
    margin: 0 0 32px;
    max-width: 50ch;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(15.5px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.6;
}

/* Navy pill action button */
.cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 52px;
    padding: 15px 30px;
    border-radius: 999px;
    font-family: var(--cf-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.005em;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cf-btn:hover,
.cf-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.cf-btn-navy {
    background: var(--cf-cta-gradient);
    color: #ffffff;
    box-shadow: 0 14px 30px -14px rgba(0, 124, 197, 0.55);
}

.cf-btn-navy:hover,
.cf-btn-navy:focus {
    background: linear-gradient(75deg, #007cc5 10%, #1A2C79);
    color: #ffffff;
}

/* Ghost-white pill action (e.g. "Sign In" on the dark hero image) */
.cf-btn-ghost-white {
    background: rgba(9, 20, 45, 0.35);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.cf-btn-ghost-white:hover,
.cf-btn-ghost-white:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #ffffff;
    color: #ffffff;
}

/* Hero action row (primary + secondary buttons side by side) */
.cf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.cf-hero-actions .cf-btn {
    align-self: auto;
}

/* Keyboard focus rings */
.cf-header a:focus-visible,
.cf-header button:focus-visible,
.cf-hero a:focus-visible,
.cf-hero button:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: 3px;
}

/* Google Translate strip — sits on the ivory surface directly under the hero. */
.cf-translate-strip {
    background: var(--cf-ivory);
    padding: 22px 0 4px;
    text-align: left;
}

.cf-translate-strip .goog-te-gadget-simple {
    background-color: rgba(16, 31, 63, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* ============================================================================
   3. STAT STRIP — full-width banner below the hero (NOT a contained card)
   ============================================================================ */
.cf-stat-strip {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #EEF1F5;
    border-bottom: 1px solid #EEF1F5;
    padding: clamp(22px, 2.6vw, 32px) clamp(20px, 4vw, 60px);
}

.cf-stat-strip-list {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 30px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    align-items: center;
}

.cf-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cf-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 14px;
    font-size: 22px;
    line-height: 1;
}

.cf-stat-icon--blue {
    color: var(--cf-secondary);
    background: #E1F1FB;
}

.cf-stat-icon--navy {
    color: var(--cf-primary);
    background: #E9ECF7;
}

/* Stat icons stay on the navy/blue palette only (matches site). */

.cf-stat-icon--heart {
    color: #E0496B;
    background: #FDECEF;
}

.cf-stat-icon--shield {
    color: #C97A0A;
    background: #FBEFDA;
}

.cf-stat-text {
    font-family: var(--cf-font);
    font-size: clamp(14.5px, 1.05vw, 16px);
    font-weight: 700;
    color: var(--cf-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* ============================================================================
   4. RESPONSIVE — full-bleed hero behavior + redesigned mobile stat strip
   ----------------------------------------------------------------------------
   Tablet/landscape (≤1199.98px): stat items reflow into a 2-column grid so
   every item is fully visible (no horizontal scroll, no clipped content).
   Mobile (≤575.98px): items become compact 2x2 cards inside a banner with
   proper padding; icons shrink, text wraps if needed.
   ============================================================================ */
@media (max-width: 1199.98px) {
    .cf-stat-strip {
        padding: clamp(18px, 2.2vw, 26px) clamp(20px, 4vw, 56px);
    }

    .cf-stat-strip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(14px, 2vw, 22px);
    }
}

@media (max-width: 991.98px) {
    .cf-hero {
        min-height: clamp(560px, 80vh, 760px);
    }

    .cf-hero-inner {
        margin-left: clamp(16px, 5vw, 80px);
        padding-top: clamp(56px, 8vw, 110px);
        padding-bottom: clamp(56px, 8vw, 110px);
        max-width: min(520px, 100%);
    }

    .cf-hero-title {
        font-size: clamp(32px, 5.4vw, 48px);
    }
}

/* -----------------------------------------------------------------------
   Header breakpoint: at <992px the inline nav + "Online Banking" text
   link disappear and the off-canvas menu button takes over. Header
   collapses to [logo · pill · menu].
   ----------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .cf-nav--inline {
        display: none !important;
    }
    .cf-header-login {
        display: none !important;
    }
}

/* On wider screens, show the inline nav and the login text link, and
   hide the circular menu button (its job moves to the inline nav). */
@media (min-width: 992px) {
    .cf-nav--inline {
        display: block;
    }
    .cf-header-login {
        display: inline-flex;
        align-items: center;
    }
    .cf-menu-btn {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .cf-header-inner {
        height: 68px;
    }

    .cf-logo-img {
        height: 44px;
    }

    .cf-logo-text {
        font-size: 17px;
    }

    .cf-pill {
        padding: 10px 16px;
        font-size: 13.5px;
        min-height: 40px;
    }

    .cf-menu-btn {
        width: 44px;
        height: 44px;
    }

    .cf-hero {
        padding-top: 68px; /* offset for shorter mobile header */
        min-height: clamp(540px, 90vh, 720px);
    }

    .cf-hero-inner {
        margin-left: 16px;
        margin-right: 16px;
        padding: clamp(48px, 12vw, 80px) clamp(18px, 5vw, 28px);
    }

    .cf-hero-title {
        font-size: clamp(30px, 7.5vw, 40px);
    }

    /* On phones the strip becomes a tidy 2x2 grid inside horizontal padding */
    .cf-stat-strip {
        padding: 18px 16px 22px;
    }

    .cf-stat-strip-list {
        gap: 12px;
    }

    .cf-stat-item {
        gap: 12px;
        padding: 6px 4px;
    }

    .cf-stat-icon {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        font-size: 19px;
        border-radius: 12px;
    }

    .cf-stat-text {
        font-size: 13.5px;
        line-height: 1.35;
    }
}

@media (max-width: 575.98px) {
    .cf-pill-green {
        display: none;
    }

    .cf-hero-inner {
        margin-left: 0;
        margin-right: 0;
        padding: 56px 20px 64px;
    }

    .cf-hero-badge {
        font-size: 12.5px;
        padding: 7px 14px;
        margin-bottom: 16px;
    }

    .cf-hero-lead {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .cf-btn {
        width: 100%;
        justify-content: center;
    }

    .cf-stat-strip {
        padding: 16px 14px 20px;
    }

    .cf-stat-strip-list {
        gap: 10px;
    }

    .cf-stat-item {
        gap: 10px;
        padding: 4px 2px;
    }

    .cf-stat-icon {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        font-size: 17px;
        border-radius: 10px;
    }

    .cf-stat-text {
        font-size: 12.5px;
        line-height: 1.3;
        font-weight: 600;
    }
}

/* ============================================================================
   4b. FEATURE GRID — 4 cards under the hero (replaces the legacy promo strip)
   ============================================================================ */
.cf-features {
    background: var(--cf-ivory);
    padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
    font-family: var(--cf-font);
}

.cf-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 24px);
    max-width: 1280px;
    margin: 0 auto;
}

.cf-feature {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(22px, 2.4vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #ECEFF4;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.cf-feature:hover,
.cf-feature:focus-within {
    transform: translateY(-4px);
    border-color: rgba(26, 44, 121, 0.20);
    box-shadow: 0 22px 44px -28px rgba(26, 44, 121, 0.45);
}

.cf-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 14px;
    font-size: 20px;
    line-height: 1;
}

.cf-feature:nth-child(1) .cf-feature-icon { color: #1667D9; background: #E6F1FE; }
.cf-feature:nth-child(2) .cf-feature-icon { color: #0E7A34; background: #E6F4EC; }
.cf-feature:nth-child(3) .cf-feature-icon { color: #1A2C79; background: #E9ECF7; }
.cf-feature:nth-child(4) .cf-feature-icon { color: #C97A0A; background: #FBEFDA; }

.cf-feature-title {
    margin: 0;
    font-size: clamp(15.5px, 1.2vw, 18px);
    font-weight: 800;
    color: var(--cf-primary);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.cf-feature-text {
    margin: 0;
    color: #4B5B79;
    font-size: 14.5px;
    line-height: 1.55;
}

.cf-feature-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cf-secondary);
    text-decoration: none;
    letter-spacing: -0.005em;
    transition: color .18s ease, transform .18s ease;
}

.cf-feature-link:hover,
.cf-feature-link:focus {
    color: var(--cf-primary);
    transform: translateX(2px);
    text-decoration: none;
}

/* ============================================================================
   4c. ABOUT — image + copy grid (with mission/vision pill tabs)
   ============================================================================ */
.cf-about {
    background: #ffffff;
    padding: clamp(56px, 8vw, 110px) 0;
    font-family: var(--cf-font);
    position: relative;
    overflow: hidden;
}

.cf-about::before {
    content: '';
    position: absolute;
    top: 60px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(22, 103, 217, 0.10) 0%, rgba(22, 103, 217, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cf-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Media column ------------------------------------------------- */
.cf-about-media {
    position: relative;
}

.cf-about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 70px -40px rgba(26, 44, 121, 0.5);
    aspect-ratio: 4 / 3;
    background: #0E2F4F;
}

.cf-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cf-about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 44, 121, 0.15) 0%, rgba(0, 124, 197, 0.0) 50%, rgba(0, 124, 197, 0.18) 100%);
    pointer-events: none;
}

.cf-about-floating {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cf-primary);
    box-shadow: 0 16px 30px -14px rgba(26, 44, 121, 0.35);
}

.cf-about-floating i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF1F5;
    color: var(--cf-secondary);
    font-size: 13px;
}

.cf-about-floating--one {
    top: 22px;
    left: -24px;
}

.cf-about-floating--two {
    bottom: 28px;
    right: -24px;
}

/* Content column ----------------------------------------------- */
.cf-about-content {
    max-width: 580px;
}

.cf-about-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(26, 44, 121, 0.08);
    color: var(--cf-primary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cf-about-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    color: var(--cf-primary);
    letter-spacing: -0.022em;
    line-height: 1.1;
}

.cf-about-lead {
    margin: 0 0 14px;
    color: #4B5B79;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.7;
}

.cf-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 32px;
}

/* Ghost navy button (used alongside the gradient navy button) */
.cf-btn-ghost-navy {
    background: transparent;
    color: var(--cf-primary);
    border: 1.5px solid rgba(26, 44, 121, 0.35);
    box-shadow: none;
}

.cf-btn-ghost-navy:hover,
.cf-btn-ghost-navy:focus {
    background: rgba(26, 44, 121, 0.08);
    color: var(--cf-primary);
    border-color: var(--cf-primary);
    transform: translateY(-2px);
}

/* Mission / vision pill tabs ----------------------------------- */
.cf-about-tabs {
    border-top: 1px solid #ECEFF4;
    padding-top: 22px;
}

.cf-about-tabs-bar {
    display: inline-flex;
    background: #F2F4F8;
    border-radius: 999px;
    padding: 5px;
    gap: 4px;
    margin-bottom: 18px;
}

.cf-about-tab {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 999px;
    font-family: var(--cf-font);
    font-size: 14px;
    font-weight: 700;
    color: #5A6B86;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.cf-about-tab:hover {
    color: var(--cf-primary);
}

.cf-about-tab.is-active {
    background: #ffffff;
    color: var(--cf-primary);
    box-shadow: 0 6px 14px -8px rgba(26, 44, 121, 0.3);
}

.cf-about-tab:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: 3px;
}

.cf-about-tab-panels {
    position: relative;
}

.cf-about-tab-panel {
    margin: 0;
    color: #4B5B79;
    font-size: 15.5px;
    line-height: 1.7;
    display: none;
}

.cf-about-tab-panel.is-active {
    display: block;
}

/* ============================================================================
   4d. RESPONSIVE — features + about
   ============================================================================ */
@media (max-width: 1199.98px) {
    .cf-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cf-about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cf-about-floating--one { left: 12px; }
    .cf-about-floating--two { right: 12px; }

    .cf-about-content {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .cf-features {
        padding: 28px 0 36px;
    }

    .cf-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cf-feature {
        padding: 18px;
        border-radius: 14px;
    }

    .cf-feature-icon {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        font-size: 17px;
        border-radius: 11px;
    }

    .cf-feature-title {
        font-size: 14.5px;
    }

    .cf-feature-text {
        font-size: 13px;
    }

    .cf-about {
        padding: 48px 0;
    }

    .cf-about-image {
        border-radius: 20px;
    }

    .cf-about-floating {
        font-size: 12px;
        padding: 8px 12px;
    }

    .cf-about-floating i {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .cf-about-floating--one { top: 14px; left: 8px; }
    .cf-about-floating--two { bottom: 14px; right: 8px; }

    .cf-about-title {
        font-size: 26px;
    }

    .cf-about-lead {
        font-size: 14.5px;
    }

    .cf-about-actions {
        margin: 22px 0 26px;
    }

    .cf-about-actions .cf-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .cf-features-grid {
        grid-template-columns: 1fr;
    }

    .cf-feature-link {
        align-self: stretch;
        text-align: center;
    }
}

/* ============================================================================
   4e. OUR STORY — copy + media, with milestone row (mirrors .cf-about)
   ============================================================================ */
.cf-story {
    background: var(--cf-ivory);
    padding: clamp(56px, 8vw, 110px) 0;
    font-family: var(--cf-font);
    position: relative;
    overflow: hidden;
}

.cf-story::before {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(26, 44, 121, 0.10) 0%, rgba(26, 44, 121, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cf-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cf-story-content {
    max-width: 580px;
}

.cf-story-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(22, 103, 217, 0.10);
    color: var(--cf-secondary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cf-story-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    color: var(--cf-primary);
    letter-spacing: -0.022em;
    line-height: 1.1;
}

.cf-story-lead {
    margin: 0 0 14px;
    color: #4B5B79;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 1.7;
}

.cf-story-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(14px, 2vw, 28px);
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.cf-story-milestone {
    flex: 1 1 130px;
    min-width: 130px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid #ECEFF4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cf-story-milestone-num {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 800;
    color: var(--cf-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cf-story-milestone-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #5A6B86;
    line-height: 1.3;
}

/* Media column ------------------------------------------------- */
.cf-story-media {
    position: relative;
}

.cf-story-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 70px -40px rgba(26, 44, 121, 0.5);
    aspect-ratio: 4 / 3;
    background: #0E2F4F;
}

.cf-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cf-story-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 124, 197, 0.15) 0%, rgba(26, 44, 121, 0.0) 50%, rgba(26, 44, 121, 0.18) 100%);
    pointer-events: none;
}

.cf-story-floating {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cf-primary);
    box-shadow: 0 16px 30px -14px rgba(26, 44, 121, 0.35);
}

.cf-story-floating i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EEF1F5;
    color: var(--cf-secondary);
    font-size: 13px;
}

.cf-story-floating--one {
    top: 22px;
    right: -24px;
}

.cf-story-floating--two {
    bottom: 28px;
    left: -24px;
}

/* ============================================================================
   4f. RESPONSIVE — story
   ============================================================================ */
@media (max-width: 991.98px) {
    .cf-story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cf-story-floating--one { right: 12px; }
    .cf-story-floating--two { left: 12px; }

    .cf-story-content {
        max-width: none;
        order: 1;
    }

    .cf-story-media {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .cf-story {
        padding: 48px 0;
    }

    .cf-story-image {
        border-radius: 20px;
    }

    .cf-story-floating {
        font-size: 12px;
        padding: 8px 12px;
    }

    .cf-story-floating i {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .cf-story-floating--one { top: 14px; right: 8px; }
    .cf-story-floating--two { bottom: 14px; left: 8px; }

    .cf-story-title {
        font-size: 26px;
    }

    .cf-story-lead {
        font-size: 14.5px;
    }

    .cf-story-milestones {
        gap: 10px;
    }

    .cf-story-milestone {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        padding: 12px 14px;
        border-radius: 12px;
    }

    .cf-story-milestone-num {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {
    .cf-story-milestones {
        flex-direction: column;
    }
}

/* ============================================================================
   4g. FAQ — accessible, brand-aligned accordion
   ----------------------------------------------------------------------------
   - Single .cf-faq container, no duplicate IDs.
   - Buttons toggle the .is-open class on the .cf-faq-item parent;
     the .cf-faq-panel uses grid-template-rows for smooth height animation
     and the .hidden attribute for screen-reader semantics.
   - Two-column on desktop, single column on tablet/mobile.
   ============================================================================ */
.cf-faq-head {
    max-width: 1280px;
    margin: 0 auto 36px;
    text-align: left;
}

.cf-faq-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(22, 103, 217, 0.10);
    color: var(--cf-secondary);
    font-family: var(--cf-font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cf-faq-title {
    margin: 0 0 12px;
    font-family: var(--cf-font);
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 800;
    color: var(--cf-primary);
    letter-spacing: -0.022em;
    line-height: 1.1;
}

.cf-faq-lead {
    margin: 0;
    font-family: var(--cf-font);
    font-size: clamp(15px, 1.1vw, 16.5px);
    color: #4B5B79;
    line-height: 1.7;
}

.cf-faq-contact-link {
    color: var(--cf-secondary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(22, 103, 217, 0.35);
    transition: color .18s ease, border-color .18s ease;
}

.cf-faq-contact-link:hover,
.cf-faq-contact-link:focus {
    color: var(--cf-primary);
    border-bottom-color: var(--cf-primary);
}

.cf-faq {
    max-width: 1280px;
    margin: 0 auto;
    font-family: var(--cf-font);
}

.cf-faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
}

.cf-faq-item {
    background: #ffffff;
    border: 1px solid #ECEFF4;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.cf-faq-item:hover {
    border-color: rgba(26, 44, 121, 0.22);
}

.cf-faq-item.is-open {
    border-color: rgba(26, 44, 121, 0.35);
    box-shadow: 0 18px 36px -28px rgba(26, 44, 121, 0.45);
}

.cf-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 18px 22px;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: var(--cf-font);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--cf-primary);
    cursor: pointer;
    line-height: 1.4;
    transition: background-color .18s ease, color .18s ease;
}

.cf-faq-trigger:hover,
.cf-faq-trigger:focus-visible {
    background: #F6F8FC;
    color: var(--cf-secondary);
}

.cf-faq-trigger:focus-visible {
    outline: 3px solid #9CC2FF;
    outline-offset: -3px;
}

.cf-faq-q {
    flex: 1 1 auto;
    min-width: 0;
}

/* Plus/minus chevron (pure CSS) */
.cf-faq-icon {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EEF1F5;
    transition: background-color .2s ease, transform .2s ease;
}

.cf-faq-icon::before,
.cf-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--cf-primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .25s ease, opacity .2s ease;
}

.cf-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.cf-faq-item.is-open .cf-faq-icon {
    background: var(--cf-secondary);
}

.cf-faq-item.is-open .cf-faq-icon::before,
.cf-faq-item.is-open .cf-faq-icon::after {
    background: #ffffff;
}

.cf-faq-item.is-open .cf-faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

/* Panel: animated open/close with grid-template-rows */
.cf-faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.cf-faq-item.is-open .cf-faq-panel {
    grid-template-rows: 1fr;
}

.cf-faq-panel > * {
    overflow: hidden;
    min-height: 0;
}

.cf-faq-panel p {
    margin: 0;
    padding: 0 22px 20px;
    color: #4B5B79;
    font-size: 14.5px;
    line-height: 1.7;
}

/* Responsive ----------------------------------------------------- */
@media (max-width: 767.98px) {
    .cf-faq-list {
        grid-template-columns: 1fr;
    }

    .cf-faq-trigger {
        padding: 16px 18px;
        font-size: 14.5px;
    }

    .cf-faq-panel p {
        padding: 0 18px 16px;
    }
}

/* ============================================================================
   4h. FOOTER — brand-aligned, 5-column on desktop, single column on mobile
   ============================================================================ */
.cf-footer {
    background: linear-gradient(75deg, #1A2C79 10%, #007cc5);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--cf-font);
}

.cf-footer-top {
    padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px);
}

.cf-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr);
    gap: clamp(28px, 3vw, 56px);
    align-items: start;
}

/* Brand block ------------------------------------------------- */
.cf-footer-brand {
    max-width: 360px;
}

.cf-footer-logo {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 16px;
}

.cf-footer-logo:hover,
.cf-footer-logo:focus {
    color: #ffffff;
    text-decoration: none;
}

/* Uploaded logo on the navy gradient — inverted to pure white so the
   cyan mark reads clearly against the dark background. */
.cf-footer-logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

/* Fallback mark + wordmark (only rendered when no logo has been uploaded) */
.cf-footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.cf-footer-logo-mark svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cf-footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.015em;
    line-height: 1;
}

.cf-footer-tagline {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Social links ------------------------------------------------- */
.cf-footer-social {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.cf-footer-social a:hover,
.cf-footer-social a:focus {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.cf-footer-social a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Nav columns -------------------------------------------------- */
.cf-footer-heading {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cf-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cf-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.cf-footer-links a:hover,
.cf-footer-links a:focus {
    color: #ffffff;
    transform: translateX(3px);
    text-decoration: none;
}

.cf-footer-links a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Contact card ------------------------------------------------- */
.cf-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cf-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cf-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 13px;
}

.cf-footer-contact-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14.5px;
    line-height: 1.55;
    text-decoration: none;
    transition: color .18s ease;
}

a.cf-footer-contact-text:hover,
a.cf-footer-contact-text:focus {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.cf-footer-contact-text:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Bottom bar --------------------------------------------------- */
.cf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.18);
}

.cf-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

.cf-footer-copyright,
.cf-footer-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
    letter-spacing: -0.005em;
}

/* Responsive ---------------------------------------------------- */
@media (max-width: 1199.98px) {
    .cf-footer-grid {
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
    }
    .cf-footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 8px;
    }
}

@media (max-width: 767.98px) {
    .cf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cf-footer-brand {
        grid-column: 1 / -1;
    }
    .cf-footer-contact {
        grid-column: 1 / -1;
    }
    .cf-footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .cf-footer-grid {
        grid-template-columns: 1fr;
    }
    .cf-footer-brand,
    .cf-footer-contact {
        grid-column: auto;
    }
}

/* ============================================================================
   5. MOTION PREFERENCES
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
    .cf-hero *,
    .cf-hero *::before,
    .cf-hero *::after,
    .cf-header *,
    .cf-header *::before,
    .cf-header *::after,
    .cf-features *,
    .cf-features *::before,
    .cf-features *::after,
    .cf-about *,
    .cf-about *::before,
    .cf-about *::after,
    .cf-story *,
    .cf-story *::before,
    .cf-story *::after,
    .cf-faq *,
    .cf-faq *::before,
    .cf-faq *::after,
    .cf-footer *,
    .cf-footer *::before,
    .cf-footer *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }

    /* Hero slides swap instantly (no crossfade, no zoom) under reduced motion. */
    .cf-hero-img {
        transform: none !important;
        transition: none !important;
    }
}
