/* ── Footer wrapper ── */
.site-footer-wrap {
    background: var(--wp--preset--color--dark-blue, #1A314B);
    color: #fff;
    margin-top: 100px;
    position: relative;
}

/* ── CTA bar ── */
.footer-cta {
    background: var(--wp--preset--color--orange-primary, #FD604A);
    padding: 48px 20px;
    max-width: 1600px;
    margin: auto;
    position: absolute;
    top: -102px;
    left: 0;
    right: 0;
    width: 100%;
}

.footer-cta-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-cta-content {
    display: flex;
    align-items: center;
    gap: 34px;
}

.footer-cta-icon {
    display: none;
    flex-shrink: 0;
}

.footer-cta-heading {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.05em;
}

.footer-cta-text {
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans, 'Poppins', sans-serif);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fff;
    border: none;
    border-radius: 4px;
    color: var(--wp--preset--color--dark-primary, #0D1926);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    font-family: var(--font-sans, 'Poppins', sans-serif);
}

.footer-cta-btn:hover {
    opacity: 0.9;
}

/* ── Footer content ── */
.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 188px 20px 48px;
}

/* ── Columns layout ── */
.footer-columns {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-brand-col {
    flex: 0 0 100%;
    order: 2;
}

.footer-nav-col {
    flex: 0 0 100%;
    order: 1;
}

.footer-logo-link img {
    height: 28px;
    width: auto;
    display: block;
}

/* ── Social icons ── */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-social-link:hover {
    opacity: 0.7;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ── Bottom links ── */
.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-link {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-decoration: underline;
    font-family: var(--font-sans, 'Poppins', sans-serif);
    transition: color 0.15s ease;
}


.footer-copyright {
    margin: 20px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sans, 'Poppins', sans-serif);
}

/* ── Nav grid ── */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ── Nav headings & links ── */
.footer-col-heading {
    display: block;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-sans, 'Poppins', sans-serif);
}


.footer-col-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col-nav ul li a {
    display: block;
    padding: 4px 0;
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-sans, 'Poppins', sans-serif);
}

/* ── ≤768px: single-column nav grid, brand below nav with border ── */
@media (max-width: 768px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
}

/* ── ≤1280px: tighter side padding ── */
@media (max-width: 1280px) {
    .footer-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-brand-col {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 32px;
    }
}

/* ── ≥1024px: desktop layout ── */
@media (min-width: 1024px) {
    .footer-cta {
        padding: 64px;
    }

    .footer-cta-icon {
        display: block;
    }

    .footer-cta-heading {
        font-size: 32px;
    }

    .footer-content {
        padding: 188px 64px 78px;
    }

    .footer-columns {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .footer-brand-col {
        flex: 0 0 33.33%;
        order: 1;
    }

    .footer-nav-col {
        flex: 0 0 66.66%;
        order: 2;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
