footer {
    padding: 83px 30px 20px;
}

.footer-block-content {
    gap: 69px;
}

.footer-list {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-list-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.footer-logo {
    width: 179px;
    height: 18px;
    background-image: url("image/footer-logo.png");
    background-size: cover;
    background-position: center;
}

.footer-address {
    width: 306px;
    color: #858585;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 26.4px */
}

.footer-list-item-title {
    color: #FFF;
    font-size: 27px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 29.7px */
    text-transform: uppercase;
}

.footer-list-item-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

.footer-list-item-list a {
    color: #858585;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 26.4px */
}

.footer-list-item-list a:hover {
    color: #FFF;
}

.footer-list-item:nth-child(3) {
    gap: 40px;
}

.footer-contact-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact-link {
    color: #FFF;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 44px */
}

.footer-contact-link:hover {
    color: #18C0DA;
}

.footer-links-container {
    display: inline-flex;
    align-items: center;
    gap: 22px;
}

.footer-links-container a {
    width: 70px;
    height: 70px;
    aspect-ratio: 1/1;
}

.footer-links-container a:nth-child(1) {
    background-image: url("icon/footer-link-icon-1.svg");
}

.footer-links-container a:nth-child(1):hover {
    background-image: url("icon/footer-link-icon-1-hover.svg");
}

.footer-links-container a:nth-child(2) {
    background-image: url("icon/footer-link-icon-2.svg");
}

.footer-links-container a:nth-child(2):hover {
    background-image: url("icon/footer-link-icon-2-hover.svg");
}

.footer-links-container a:nth-child(3) {
    background-image: url("icon/footer-link-icon-3.svg");
}

.footer-links-container a:nth-child(3):hover {
    background-image: url("icon/footer-link-icon-3-hover.svg");
}

.footer-text {
    color: #B5B5B5;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 15.4px */
    opacity: 0.5;
}

@media (min-width: 990px) and (max-width: 1439px) {
    footer {
        padding: 40px 40px 20px;
    }

    .footer-block-content {
        align-items: center;
        gap: 48px;
    }

    .footer-list {
        flex-wrap: wrap;
        gap: 45px;
    }

    .footer-list-item:nth-child(3) {
        width: 100%;
        align-items: flex-end;
    }

    .footer-list-item-list a {
        font-size: 18px;
    }

    .footer-list-item {
        gap: 20px;
    }

    .footer-address {
        width: 306px;
        font-size: 18px;
    }

    .footer-contact-container {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .footer-links-container a {
        width: 50px;
        height: 50px;
        background-size: cover;
        background-position: center;
    }

    .footer-links-container {
        margin-right: 193px;
    }
}

.mobile-footer-address {
    display: none;
}

@media (max-width: 989px) {
    footer {
        padding: 40px 15px 20px;
        align-items: center;
    }

    .footer-list {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .footer-list-item {
        align-items: center;
        gap: 12px;
    }

    .footer-address {
        display: none;
    }

    .footer-list-item:nth-child(2) {
        order: 1;
    }

    .footer-list-item-list {
        gap: 6px;
        align-items: center;
    }

    .footer-list-item-list a {
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
    }

    .footer-block-content {
        gap: 47px;
    }

    .footer-text {
        width: 307px;
        text-align: center;
    }

    .footer-contact-container {
        align-items: center;
    }

    .footer-contact-link {
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
    }

    .mobile-footer-address {
        display: flex;
        width: 306px;
        color: #858585;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%; /* 19.2px */
    }

    .footer-block-content {
        align-items: center;
    }
}
