.foot-wrapper {
    background: #fff;
    /* border-top: 1px solid var(--foot-border); */
    width: 100%;
}

/* Main columns area */
.foot-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 40px 48px;
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    gap: 40px 32px;
}

/* ---- Brand column ---- */
.foot-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.foot-logo {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}

.foot-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.foot-tagline {
    font-family: var(--font-body-alt);
    font-size: 13px;
    font-weight: 400;
    color: var(--foot-muted);
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 200px;
}

.foot-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.foot-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid var(--foot-border);
    color: var(--foot-muted);
    font-size: 15px;
    text-decoration: none;
    transition: all var(--transition);
}

.foot-social-link:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
    background: var(--brand-green-light);
}

/* ---- Nav columns ---- */
.foot-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.foot-col-heading {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 18px;
}

.foot-col-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
}

.foot-col-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body-alt);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--foot-link);
    text-decoration: none;
    padding: 5px 0;
    transition: color var(--transition);
    line-height: 1.3;
}

.foot-col-links li a:hover {
    color: var(--foot-link-hover);
}

.foot-col-links li a .foot-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--brand-green-light);
    color: var(--brand-green);
    font-family: var(--font-body);
    line-height: 1.4;
}

/* ---- Compliance bar ---- */
.foot-compliance {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.foot-compliance-protect {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--brand-dark);
    white-space: nowrap;
}

.foot-compliance-protect a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity var(--transition);
}

.foot-compliance-protect a:hover {
    opacity: 0.8;
}

.foot-compliance-items {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.foot-compliance-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body-alt);
    font-size: 12.5px;
    color: var(--foot-muted);
    white-space: nowrap;
}

.foot-compliance-item i {
    color: var(--brand-green);
    font-size: 12px;
    flex-shrink: 0;
}

.foot-compliance-item strong {
    color: var(--brand-dark);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 12.5px;
}

/* ---- Divider ---- */
.foot-divider {
    max-width: calc(var(--max-width) - 80px);
    margin: 0 auto;
    height: 1px;
    background: var(--foot-border);
}

/* ---- Description ---- */
.foot-desc {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px 28px;
}

.foot-desc p {
    font-family: var(--font-body-alt);
    font-size: 12px;
    color: var(--foot-muted);
    line-height: 1.75;
    font-weight: 400;
}

.foot-desc p a {
    color: var(--brand-green);
    text-decoration: none;
    transition: opacity var(--transition);
}

.foot-desc p a:hover {
    opacity: 0.75;
}

/* ---- Bottom bar ---- */
.foot-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.foot-copyright {
    font-family: var(--font-body-alt);
    font-size: 12.5px;
    color: var(--foot-muted);
}

.foot-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.foot-legal-links li a {
    font-family: var(--font-body-alt);
    font-size: 12.5px;
    color: var(--foot-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.foot-legal-links li a:hover {
    color: var(--brand-green);
}

/* ---- Globe image ---- */
.foot-globe-wrap {
    width: 80%;
    overflow: hidden;
    line-height: 0;
    margin: 0 auto;
}

.foot-globe-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    object-position: top center;
}

/* =====================
     RESPONSIVE
  ===================== */

/* Tablet: 2 nav cols side by side, brand full-width on top */
@media (max-width: 1024px) {
    .foot-main {
        grid-template-columns: 1fr 1fr;
        padding: 48px 32px 40px;
        gap: 36px 28px;
    }

    .foot-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 20px 48px;
    }

    .foot-brand-text {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .foot-tagline {
        margin-bottom: 0;
        max-width: 260px;
    }

    .foot-divider,
    .foot-bottom {
        max-width: calc(100% - 64px);
        padding-left: 0;
        padding-right: 0;
    }

    .foot-compliance,
    .foot-desc {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Mobile: single column, accordion-style */
@media (max-width: 640px) {
    .foot-main {
        grid-template-columns: 1fr;
        padding: 40px 20px 32px;
        gap: 0;
    }

    .foot-brand {
        flex-direction: column;
        gap: 0;
        margin-bottom: 32px;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--foot-border);
    }

    .foot-tagline {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .foot-col {
        border-bottom: 1px solid var(--foot-border);
    }

    .foot-col-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 16px 0;
        margin-bottom: 0;
        -webkit-user-select: none;
        user-select: none;
    }

    .foot-col-heading::after {
        content: "\F282";
        font-family: "bootstrap-icons";
        font-size: 12px;
        color: var(--foot-muted);
        transition: transform var(--transition);
        flex-shrink: 0;
    }

    .foot-col.foot-open .foot-col-heading::after {
        transform: rotate(180deg);
    }

    .foot-col-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .foot-col.foot-open .foot-col-links {
        max-height: 400px;
        padding-bottom: 16px;
    }

    .foot-divider {
        margin-left: 20px;
        margin-right: 20px;
    }

    .foot-divider {
        max-width: calc(100% - 40px);
    }

    .foot-bottom {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .foot-compliance {
        padding: 16px 20px;
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .foot-compliance-items {
        gap: 14px;
    }

    .foot-desc {
        padding: 16px 20px 24px;
    }

    .foot-legal-links {
        gap: 14px;
    }
}

