body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.ac-footer {
    font-family: "Open Sans", sans-serif;
    color: rgba(255, 255, 255, 0.92);
    border-radius: 40px 40px 0 0;
    background: linear-gradient(180deg, #1ac677 -22.22%, #052a22 100%);
    overflow: hidden;
}

.ac-footer__top {
    background: transparent;
}

.ac-footer__bottom {
    background: transparent;
}

.ac-footer__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ac-footer__top .ac-footer__inner {
    display: grid;
    grid-template-columns: 0.5fr 1.25fr;
    grid-template-rows: auto;
    column-gap: 4rem;
    align-items: start;
    padding: 5rem 5rem 2.75rem;
}

.ac-footer__bottom .ac-footer__inner {
    padding: 0 5rem 5rem;
}

.ac-footer__brandRow {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-direction: column;
}

.ac-footer__brandLogo {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.ac-footer__brandDivider {
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    width: 100%;
}

.ac-footer__social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ac-footer__socialIcon {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ac-footer__cols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 80px;
    row-gap: 34px;
}

.items-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ac-footer__colTitle {
    color: white;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.ac-footer__link {
    display: inline-block;
    color: white;
    cursor: pointer;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.4s;
}

.ac-footer__link:hover {
    text-decoration: underline;
}

.ac-footer__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.ac-footer__divider--thin {
    margin-top: 18px;
}

.ac-footer__metaRow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 26px;
    padding: 20px 0;
}

.ac-footer__copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.ac-footer__metaLinks {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.ac-footer__metaLink {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: underline;
}

.ac-footer__built {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-self: end;
}

.ac-footer__builtLabel {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.52);
}

.ac-footer__builtPill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.ac-footer__builtArrow {
    font-size: 14px;
    opacity: 0.9;
}

.ac-footer__legal {
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    padding: 24px 0 0 0;
}

.ac-footer__bottomRow {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    padding-top: 28px;
}

.ac-footer__address {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}

.ac-footer__badges {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ac-footer__badgeImg {
    display: block;
    height: 56px;
    width: auto;
}

.ac-footer__badgeImg--small {
    height: 52px;
}

@media screen and (max-width: 991px) {
    .ac-footer__top .ac-footer__inner {
        grid-template-columns: 1fr;
        row-gap: 34px;
        padding: 44px 28px 26px;
    }

    .ac-footer__bottom .ac-footer__inner {
        padding: 0 28px 44px;
    }

    .ac-footer__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 44px;
    }

    .ac-footer__metaRow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ac-footer__built {
        justify-self: start;
    }

    .ac-footer__bottomRow {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media screen and (max-width: 576px) {
    .ac-footer__brandRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ac-footer__brandDivider {
        width: 100%;
    }

    .ac-footer__cols {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .ac-footer__badges {
        flex-direction: column;
        align-items: flex-start;
    }
}
