/* Shared public footer */
.footer {
    background:
        radial-gradient(circle at 20% 0%, rgba(82, 183, 136, .16), transparent 30%),
        linear-gradient(180deg, #07170d 0%, #0b1f14 100%);
    color: rgba(255, 255, 255, .74);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    font-family: 'DM Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.footer-cta {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.2rem 2rem 2.6rem;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    color: #fff;
    margin: 0 0 .55rem;
    letter-spacing: 0;
}

.footer-cta p {
    max-width: 680px;
    color: rgba(255, 255, 255, .66);
    font-size: .96rem;
    line-height: 1.75;
    margin: 0;
}

.footer-cta-btns {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-cta-btn-primary,
.footer-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .76rem 1.15rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.footer-cta-btn-primary {
    background: linear-gradient(135deg, #2D6A4F, #40916C);
    color: #fff;
    border: 1px solid rgba(82, 183, 136, .55);
}

.footer-cta-btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1B4332, #2D6A4F);
    color: #fff;
}

.footer-cta-btn-ghost {
    background: rgba(82, 183, 136, .12);
    border: 1px solid rgba(82, 183, 136, .38);
    color: #fff;
}

.footer-cta-btn-ghost:hover {
    transform: translateY(-1px);
    background: rgba(82, 183, 136, .24);
    border-color: rgba(116, 198, 157, .58);
    color: #fff;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 0 2rem 2.2rem;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: .85rem;
}

.footer-panel,
.footer-col-card {
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 8px;
    padding: 1.1rem;
    min-height: 100%;
}

.footer-logo {
    height: 36px;
    margin-bottom: .85rem;
    display: block;
}

.footer-logo-link {
    display: inline-block;
}

.footer-brand-desc {
    font-size: .85rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .58);
    margin: 0 0 1rem;
}

.footer-meta {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-badge,
.footer-status {
    display: inline-flex;
    align-items: center;
    background: rgba(82, 183, 136, .1);
    border: 1px solid rgba(82, 183, 136, .22);
    border-radius: 999px;
    padding: .26rem .7rem;
    font-size: .69rem;
    color: #9be7bd;
    font-weight: 800;
}

.footer-status {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .54);
}

.footer-col-title {
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: rgba(255, 255, 255, .36);
    margin-bottom: .9rem;
}

.footer-col a {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    font-size: .84rem;
    margin-bottom: .58rem;
    transition: color .18s ease, transform .18s ease;
}

.footer-col a:hover {
    color: #9be7bd;
    transform: translateX(2px);
}

.footer-price-pill {
    display: inline-block;
    background: #2D6A4F;
    border: 1px solid #52B788;
    border-radius: 999px;
    padding: .08rem .48rem;
    font-size: .65rem;
    font-weight: 900;
    color: #fff;
    margin-left: .3rem;
}

.footer-payments,
.footer-payment-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .25rem;
}

.footer-payments span,
.footer-payments a,
.footer-payment-row span,
.footer-payment-row a {
    background: rgba(82, 183, 136, .12);
    border: 1px solid rgba(82, 183, 136, .24);
    border-radius: 7px;
    padding: .3rem .58rem;
    font-size: .68rem;
    color: #b7ebcc;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.footer-payments a:hover,
.footer-payment-row a:hover {
    background: rgba(82, 183, 136, .22);
    border-color: rgba(82, 183, 136, .42);
    color: #fff;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin: 1.25rem 0 1.2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .74rem;
    color: rgba(255, 255, 255, .38);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .42);
    text-decoration: none;
    transition: color .18s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, .75);
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-zambia {
    color: rgba(255, 255, 255, .42);
}

@media (max-width: 960px) {
    .footer-cta {
        grid-template-columns: 1fr;
    }

    .footer-cta-btns {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-cta {
        padding: 2.35rem 1.15rem 1.7rem;
    }

    .footer-main {
        padding: 0 1.15rem 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .footer-cta-btn-primary,
    .footer-cta-btn-ghost {
        width: 100%;
    }

    .footer-panel,
    .footer-col-card {
        padding: 1rem;
        background: rgba(244, 250, 244, .055);
        border-color: rgba(207, 227, 212, .12);
    }

    .footer-logo {
        height: 32px;
        margin-bottom: .75rem;
    }

    .footer-brand-desc {
        font-size: .82rem;
        line-height: 1.65;
    }

    .footer-col-title {
        display: flex;
        align-items: center;
        min-height: 26px;
        margin-bottom: .7rem;
        color: rgba(155, 231, 189, .66);
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(207, 227, 212, .1);
        padding-bottom: .55rem;
    }

    .footer-col {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
    }

    .footer-col a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        min-height: 54px;
        background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .045));
        border: 1px solid rgba(207, 227, 212, .14);
        border-radius: 10px;
        padding: .46rem .42rem;
        font-size: .72rem;
        line-height: 1.18;
        text-align: center;
        color: rgba(255, 255, 255, .76);
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .footer-col a:hover {
        transform: none;
        background: rgba(82, 183, 136, .16);
        border-color: rgba(82, 183, 136, .32);
        color: #fff;
    }

    .footer-price-pill {
        display: block;
        width: max-content;
        margin: .25rem auto 0;
        padding: .08rem .42rem;
        font-size: .62rem;
    }

    .footer-payments span,
    .footer-payments a,
    .footer-payment-row span,
    .footer-payment-row a {
        border-radius: 10px;
    }

    .footer-payments,
    .footer-payment-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
    }

    .footer-payments span,
    .footer-payments a,
    .footer-payment-row span,
    .footer-payment-row a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: .4rem .35rem;
        text-align: center;
        font-size: .68rem;
        background: rgba(82, 183, 136, .09);
        border-color: rgba(82, 183, 136, .18);
        color: rgba(255, 255, 255, .66);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: .7rem;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: .45rem .8rem;
    }
}

@media print {
    .footer {
        display: none;
    }
}
