footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #050505 !important;
    color: rgba(255, 255, 255, 0.78) !important;
}

footer::before {
    content: none;
}

footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(20px, 6vw, 80px);
    right: clamp(20px, 6vw, 80px);
    height: 3px;
    max-width: 1300px;
    margin: 0 auto;
    background: linear-gradient(90deg, #52AE32, rgba(255, 255, 255, 0.72), transparent);
}

footer .footer-grid {
    align-items: start;
    gap: clamp(28px, 5vw, 64px) !important;
    margin-bottom: clamp(28px, 4vw, 48px) !important;
}

footer .footer-brand,
footer .footer-col {
    min-width: 0;
}

footer .footer-brand {
    padding-right: clamp(10px, 2vw, 28px);
}

footer .footer-brand p,
footer .footer-col p,
footer .footer-col li {
    color: rgba(255, 255, 255, 0.72) !important;
}

footer .footer-brand p {
    max-width: 380px !important;
}

footer .footer-title,
footer .footer-col .footer-title {
    position: relative;
    color: #fff !important;
    margin-bottom: 18px !important;
    font-size: .82rem !important;
    font-weight: 850 !important;
    letter-spacing: .13em !important;
    line-height: 1.25;
    text-transform: uppercase;
}

footer .footer-title::after,
footer .footer-col .footer-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 10px;
    border-radius: 999px;
    background: #52AE32;
}

footer ul {
    padding-left: 0;
}

footer .footer-col li,
footer li {
    margin-bottom: 10px !important;
}

footer a,
footer .footer-col a,
footer .footer-contact-button {
    color: rgba(255, 255, 255, 0.76) !important;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}

footer a:hover,
footer a:focus-visible,
footer .footer-col a:hover,
footer .footer-col a:focus-visible,
footer .footer-contact-button:hover,
footer .footer-contact-button:focus-visible {
    color: #fff !important;
    outline: none;
}

footer .footer-col a:not(.logo):hover,
footer .footer-col a:not(.logo):focus-visible,
footer .footer-contact-button:hover,
footer .footer-contact-button:focus-visible {
    transform: translateX(3px);
}

footer .footer-contact-button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 9px 12px;
}

footer .logo-footer {
    align-items: center;
    gap: 10px;
}

.footer-communes {
    grid-column: 1 / -1;
    max-width: 1300px;
    margin: 0 auto 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.footer-communes-heading {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) 1fr;
    align-items: baseline;
    gap: 18px;
    color: #fff;
}

.footer-communes-heading strong {
    font-size: clamp(1.06rem, 1.5vw, 1.28rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.15;
}

.footer-communes-heading span {
    color: rgba(255, 255, 255, 0.62);
    font-size: .94rem;
    font-weight: 650;
    letter-spacing: 0;
}

.footer-communes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 9px;
    margin-top: 20px;
}

.footer-communes-list a {
    display: flex;
    align-items: center;
    min-height: 38px;
    color: rgba(255, 255, 255, 0.78) !important;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.footer-communes-list a:hover,
.footer-communes-list a:focus-visible {
    color: #fff !important;
    border-color: transparent;
    background: transparent;
    transform: translateX(3px);
    outline: none;
}

footer .footer-bottom {
    row-gap: 10px;
    color: rgba(255, 255, 255, 0.58) !important;
    border-top-color: rgba(255, 255, 255, 0.14) !important;
}

footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.76) !important;
}

@media (max-width: 900px) {
    footer::after {
        left: 20px;
        right: 20px;
    }

    .footer-communes-heading {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 700px) {
    .footer-communes-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .footer-communes-list a {
        min-height: 36px;
        font-size: .88rem;
    }
}

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