.huntello-main-footer {
    background-color: #F5F5F7;
    color: #212529;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    min-height: 119px;
    padding: 10px 0 20px;
}

.huntello-main-footer,
.huntello-main-footer * {
    box-sizing: border-box;
}

.huntello-main-footer a {
    color: inherit;
    text-decoration: none;
}

.huntello-main-footer a:hover,
.huntello-main-footer a:focus {
    color: #1babc9;
}

.huntello-main-footer__grid {
    display: grid;
    grid-template-columns: minmax(215px, auto) 1fr auto;
    column-gap: 42px;
    align-items: start;
}

.huntello-main-footer__brand {
    padding-top: 2px;
}

.huntello-main-footer__logo {
    display: inline-flex;
    align-items: center;
    width: 214px;
    max-width: 100%;
}

.huntello-main-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.huntello-main-footer__copyright {
    margin-top: 14px;
    line-height: 1.2;
    color: #515765;
}

.huntello-main-footer__links {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    column-gap: 36px;
    row-gap: 16px;
    align-items: start;
    padding-top: 10px;
}

.huntello-main-footer__link--consent {
    grid-column: 1 / span 3;
    justify-self: start;
    width: max-content;
}

.huntello-main-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 8px;
    white-space: nowrap;
    padding-top: 11px;
}

@media screen and (max-width: 1279px) {
    .huntello-main-footer {
        min-height: 328px;
        padding: 14px 0 18px;
    }

    .huntello-main-footer__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 10px;
        text-align: center;
    }

    .huntello-main-footer__brand {
        order: 1;
        padding-top: 0;
    }

    .huntello-main-footer__logo {
        width: 167px;
    }

    .huntello-main-footer__copyright {
        margin-top: 10px;
        font-size: 14px;
    }

    .huntello-main-footer__contacts {
        order: 2;
        align-items: center;
        row-gap: 10px;
        font-size: 14px;
        padding-top: 0;
    }

    .huntello-main-footer__contacts a[href^="tel:"] {
        order: 1;
    }

    .huntello-main-footer__contacts a[href^="mailto:"] {
        order: 2;
    }

    .huntello-main-footer__links {
        order: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 10px;
        padding-top: 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .huntello-main-footer {
        min-height: 300px;
    }
}
