/* MABOKO public site footer — home & marketing pages */

.site-footer {
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 500;
    position: relative;
}

.site-footer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #FFB228 0%, #FFD78F 35%, #5FA9F0 100%);
}

.site-footer__main {
    background: linear-gradient(168deg, #152536 0%, #1e3348 45%, #243b55 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.site-footer__grid {
    row-gap: 2rem;
}

.site-footer__brand-col {
    padding-right: 0.5rem;
}

.site-footer__brand {
    display: inline-block;
    margin-bottom: 1.15rem;
    text-decoration: none;
}

.site-footer__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.site-footer__logo {
    height: 44px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    display: block;
}

.site-footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 24rem;
    margin: 0 0 1.35rem;
}

.site-footer__tagline strong {
    color: #FFD78F;
    font-weight: 600;
}

.site-footer__heading {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFB228;
    margin: 0 0 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 178, 40, 0.35);
    display: inline-block;
    min-width: 8rem;
}

.site-footer__links {
    margin: 0;
    padding: 0;
}

.site-footer__links li {
    margin: 0;
}

.site-footer__links li + li {
    margin-top: 0.55rem;
}

.site-footer__links a,
.site-footer__legal a,
.site-footer__contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.site-footer__links a {
    font-size: 0.9375rem;
    display: inline-block;
}

.site-footer__links a:hover,
.site-footer__legal a:hover,
.site-footer__contact a:hover {
    color: #FFD78F;
    padding-left: 0.15rem;
}

.site-footer__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 1rem;
    max-width: 22rem;
}

.site-footer__contact {
    margin: 0;
    padding: 0;
}

.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.site-footer__contact li:last-child {
    margin-bottom: 0;
}

.site-footer__contact i {
    color: #5FA9F0;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
    font-size: 0.95rem;
}

.site-footer__social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.site-footer__social-link:hover {
    background: #5FA9F0;
    border-color: #5FA9F0;
    color: #fff;
    transform: translateY(-3px);
}

.site-footer__cta {
    margin-top: 1.5rem;
}

.site-footer__cta .btn {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.35rem;
    background: #FFB228;
    border-color: #FFB228;
    color: #1a1a1a;
}

.site-footer__cta .btn:hover {
    background: #e9a020;
    border-color: #e9a020;
    color: #1a1a1a;
}

.site-footer__bottom {
    background: #0f1a26;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.15rem 0;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.5rem;
}

.site-footer__copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem 1.15rem;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .site-footer__legal {
        gap: 0.35rem 1.25rem;
    }
}

.site-footer__legal li {
    margin: 0;
}

.site-footer__legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

@media (min-width: 576px) {
    .site-footer__legal a {
        font-size: 0.8125rem;
    }
}

.site-footer__legal a:hover {
    color: #FFD78F;
    padding-left: 0;
}

@media (min-width: 992px) {
    .site-footer__nav-col {
        padding-left: 1rem;
    }

    .site-footer__help-col {
        padding-left: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 991.98px) {
    .site-footer__help-col {
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.5rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .site-footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .site-footer__heading {
        min-width: 0;
    }
}

/* Public pages: footer sits flush after content */
body.site-public .site-footer {
    margin-top: 0;
}

body.site-public .site-main-wrap > main {
    padding-bottom: 0;
}

body.site-public .home-section-muted--reviews {
    padding-bottom: 0;
    margin-bottom: 0;
}

body.site-public .home-section-muted--reviews .container {
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}

body > .site-footer {
    flex-shrink: 0;
}
