/* ── CMS-safe reset ─────────────────────────────── */
.gf__wrapper,
.gf__wrapper *,
.gf__wrapper *::before,
.gf__wrapper *::after {
    box-sizing: border-box;
}

/* ── Design tokens ──────────────────────────────── */
.gf__wrapper {
    --color-bg: #1e5632;
    --color-text: #ffffff;
    --color-divider: rgba(255, 255, 255, 0.35);
    --font-body: "DM Sans", Arial, sans-serif;
}

/* ── Screen-reader utility ──────────────────────── */
.gf__wrapper .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════════════════
       FOOTER SHELL
    ═══════════════════════════════════════════════════ */
.gf__wrapper .gf {
    background-color: var(--color-bg);
    overflow: hidden;
    width: 100%;
    font-family: var(--font-body);
    color: var(--color-text);
}

/* ═══════════════════════════════════════════════════
       NAV COLUMNS  (mobile: stacked | tablet+: row)
    ═══════════════════════════════════════════════════ */
.gf__wrapper .gf__nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    max-width: 1440px;
    margin: 0 auto;
}

.gf__wrapper .gf__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gf__wrapper .gf__col-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gf__wrapper .gf__col-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: var(--color-text);
    text-transform: capitalize;
}

.gf__wrapper .gf__col-rule {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #6AA342;
    border: none;
    margin: 0;
}

.gf__wrapper .gf__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gf__wrapper .gf__links a {
    position: relative;
    display: inline-block;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-decoration: none;
}

.gf__wrapper .gf__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: var(--color-text);
    transition: width 0.3s ease;
}

.gf__wrapper .gf__links a:hover::after,
.gf__wrapper .gf__links a:focus-visible::after {
    width: 100%;
}

.gf__wrapper .gf__links a:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════
       BOTTOM BAR  (mobile: column | desktop: row)
    ═══════════════════════════════════════════════════ */
.gf__wrapper .gf__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px 30px;
    max-width: 1440px;
    margin: 0 auto;
}

/* Logo */
.gf__wrapper .gf__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.gf__wrapper .gf__logo img {
    display: block;
    width: 115px;
    height: 26px;
    object-fit: contain;
}

/* Center block: legal nav + copyright */
.gf__wrapper .gf__bottom-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    min-width: 1px;
}

/* Legal nav */
.gf__wrapper .gf__legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gf__wrapper .gf__legal a {
    position: relative;
    display: inline-block;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 300;
    line-height: 12px;
    text-decoration: none;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-transform: uppercase;
    transition: all .2s ease-in-out;
}

.gf__wrapper .gf__legal a:hover,
.gf__wrapper .gf__legal a:focus-visible {
    color: #6aa342;
}

.gf__wrapper .gf__legal a:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Copyright */
.gf__wrapper .gf__copyright {
    margin: 0;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
}

/* Social icons */
.gf__wrapper .gf__social {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 51px;
}

.gf__wrapper .gf__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 3px;
}

.gf__wrapper .gf__social a:hover svg,
.gf__wrapper .gf__social a:hover svg path,
.gf__wrapper .gf__social a:hover svg rect {
    transition: all .2s ease-in-out;
}

.gf__wrapper .gf__social a:hover svg,
.gf__wrapper .gf__social a:hover svg path,
.gf__wrapper .gf__social a:hover svg rect {
    fill: #6aa342;
}

.gf__wrapper .gf__social a:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
    border-radius: 3px;
}

.gf__wrapper .gf__social svg {
    display: block;
}

/* ═══════════════════════════════════════════════════
       FLOURISH STRIP
    ═══════════════════════════════════════════════════ */
.gf__wrapper .gf__flourish {
    height: 109px;
    background-color: var(--color-bg);
    background-image: url('https://cdn.sites.stg.paradox.ai/media-public/5092/25d180ea-8c75-4a31-881a-e3daa49fc3bc/image/17858326588355105footerflourish.png');
    background-repeat: repeat-x;
    background-size: auto 109px;
    background-position: left center;
}

/* ═══════════════════════════════════════════════════
       TABLET  ≥ 768px
    ═══════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .gf__wrapper .gf__nav {
        flex-direction: row;
        align-items: flex-start;
    }

    .gf__wrapper .gf__col {
        flex: 1;
    }

    .gf__wrapper .gf__col-title {
        font-size: 18px;
        line-height: 28px;
    }

    .gf__wrapper .gf__legal a,
    .gf__wrapper .gf__copyright {
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════
       DESKTOP  ≥ 1024px
    ═══════════════════════════════════════════════════ */
@media (min-width: 1024px) {

    /* Nav */
    .gf__wrapper .gf__nav {
        gap: 50px;
        padding: 60px 108px;
    }

    .gf__wrapper .gf__col {
        flex: none;
    }

    .gf__wrapper .gf__col-title {
        font-size: 20px;
        line-height: 30px;
        width: 168px;
    }

    .gf__wrapper .gf__links a {
        font-size: 14px;
    }

    /* Bottom bar: single horizontal row */
    .gf__wrapper .gf__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 0 108px;
        height: 51px;
        box-sizing: border-box;
    }

    /* Logo grows to desktop size */
    .gf__wrapper .gf__logo img {
        width: 148px;
        height: 33px;
    }

    /* Center: legal + copyright side by side */
    .gf__wrapper .gf__bottom-center {
        flex-direction: row;
        align-items: center;
        gap: 138px;
        padding: 0 105px;
        padding-top: 0;
        flex: 1;
        justify-content: center;
    }

    /* Legal links: inline row with border dividers */
    .gf__wrapper .gf__legal {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .gf__wrapper .gf__legal li+li {
        border-left: 1px solid rgba(255, 255, 255, 0.5);
    }

    .gf__wrapper .gf__legal a {
        padding: 0 11px;
        font-size: 14px;
    }

    .gf__wrapper .gf__legal li:first-child a {
        padding-left: 0;
    }

    /* Copyright */
    .gf__wrapper .gf__copyright {
        text-align: left;
        font-size: 14px;
    }
}

header {
    background-color: white;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    transition: all 0.3s ease;
}

header.scroll {
    box-shadow: rgba(0, 0, 0, 0.047) 0px 16px 20px -6px;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    padding-block: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

.header__wrapper .header__search {
    border-radius: 32px;
    background: #F5F5F5;
    display: flex;
    width: 45px;
    height: 45px;
    padding: 10px 15px;
    align-items: center;
    flex-shrink: 0;
    transition: background-color .3s ease-in-out;
}

.header__wrapper .header__search:hover {
    background-color: #E6E6E6;
}

@media (min-width: 768px) {
    .header__wrapper {
        padding-inline: 30px;
    }
}

@media (min-width: 1024px) {
    .header__wrapper {
        padding-inline: 108px;
    }
}