/* ======================= FOOTER ======================= */

.site-footer {
    background: #fff;
    color: #222;
    width: 100%;
    border-top: 1px solid var(--line);
}

.footer-top.container,
.bot-footer.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: 0;
}


/* ---------- TOP ---------- */

.footer-top {
    padding: clamp(40px, 5vw, 80px) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

@media (min-width:992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-grid> :nth-child(1) {
        justify-self: start;
        text-align: left;
    }
    .footer-grid> :nth-child(2) {
        justify-self: center;
        text-align: left;
    }
    .footer-grid> :nth-child(3) {
        justify-self: end;
        text-align: left;
    }
}

@media (max-width:991.98px) {
    .footer-grid>* {
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, .08);
        padding-top: 24px;
    }
    .footer-grid>*:first-child {
        border-top: none;
        padding-top: 0;
    }
}

.footer-brand {
    margin: 0 0 .75rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 18px !important;
}

.footer-address {
    margin: 0 0 .5rem;
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 13px !important;
}

.footer-email span {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 13px !important;
    color: #666;
    margin-right: .4rem;
}

.footer-email a {
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    font-size: 13px !important;
}

.footer-email a:hover {
    border-bottom-color: #000;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: .3rem;
}

.footer-links a {
    color: #2b2b2b;
    text-decoration: none;
    letter-spacing: .02em;
    font-size: 13px !important;
    display: inline-block;
    text-transform: uppercase;
}

.footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-heading {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 10px !important;
    color: #666;
    margin-bottom: .6rem;
}

.footer-icons {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width:991.98px) {
    .footer-icons {
        justify-content: center;
    }
}

.footer-icons a img {
    height: 20px;
    filter: grayscale(1) brightness(.25);
    transition: filter .2s ease;
}

.footer-icons a:hover img {
    filter: grayscale(0) brightness(.4);
}


/* ---------- BOTTOM ---------- */

.bot-footer {
    padding: 24px 0 clamp(18px, 3vw, 28px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    /* stack vertically */
    align-items: center;
    /* center horizontally */
    justify-content: center;
    /* center vertically */
    gap: 6px;
    color: #6a6a6a;
    font-size: 10px;
    text-align: center;
}

@media (max-width:575.98px) {
    .footer-bottom {
        align-items: center;
        text-align: center;
    }
}


/* === FIX FOOTER SPACING BETWEEN 1010px & 1328px === */

@media (min-width:999px) and (max-width:1328px) {
    .footer-top.container,
    .bot-footer.container {
        padding-inline: 40px;
        /* Adjust to 50px / 60px if you want more spacing */
    }
}

.footer-circle {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, .55);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.m0 {
    margin: 0;
}