/* Shared KANZPAY product footer (index, blog, contact-us). OXY/legal pages keep their own chrome. */

.footer {
    background: #090a0c;
    color: #fff;
    padding: 46px 0 24px;
    font-family: Georgia, "Times New Roman", serif;
}

.footer .inner {
    width: min(1325px, calc(100% - 72px));
    margin: auto;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(5, 1fr);
    gap: 35px;
}

.footer-logo:before {
    content: none !important;
    display: none !important;
}

.footer-logo img {
    display: block;
    width: 205px;
    height: auto;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
}

.footer-grid b {
    display: block;
    margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    font-size: 11px;
    color: #aaa;
    line-height: 1.75;
    margin: 0;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #25262a;
    margin-top: 28px;
    padding-top: 18px;
    font-size: 10px;
    color: #8f8f91;
}

.heart {
    color: #e83232;
}

.join-free-footer {
    padding: 0;
    box-shadow: none;
    border: none;
    color: #e6b547 !important;
    background: transparent;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 800;
    display: flex !important;
    align-items: center;
    gap: 3px;
}

.join-free-footer svg {
    width: 14px;
    height: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #aaa;
    transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    color: #e6b547;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

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

@media (max-width: 720px) {
    .footer .inner {
        width: min(100% - 28px, 1240px);
    }

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

    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 170px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
