.site-footer {
    display: flex;
    width: 100%;
    min-height: 511px;
    justify-content: center;
    background-color: #0d2e4f;
    color: #ffffff;
}

.site-footer__inner {
    display: flex;
    width: 100%;
    max-width: 1498px;
    min-height: 511px;
    padding: 75px 42px 39px;
    flex-direction: column;
}

.site-footer__top {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 42px;
}

.footer-brand {
    display: flex;
    width: 100%;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand__logo {
    width: 109px;
    height: 109px;
    object-fit: cover;
    object-position: center;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 31px;
    color: #e8f4fb;
    font-size: 18px;
    line-height: 26px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column--directions {
    width: 100%;
    max-width: 380px;
}

.footer-column--contact {
    width: 100%;
    max-width: 270px;
}

.footer-column--social {
    width: fit-content;
}

.footer-column h2 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 17px;
    line-height: 35px;
    text-transform: uppercase;
}

.footer-column address,
.footer-contact-list {
    max-width: 420px;
    color: #ffffff;
    font-size: 17px;
    font-style: normal;
    line-height: 27px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list p {
    margin: 0;
}

.footer-contact__label {
    display: block;
    margin-bottom: 2px;
    color: #ffffff;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social__link {
    width: 40px;
    height: 40px;
    overflow: hidden;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.footer-social__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.footer-social__link:hover img,
.footer-social__link:focus-visible img {
    transform: scale(1.05);
}

.site-footer__bottom {
    display: flex;
    width: 100vw;
    margin: auto 0 0 50%;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.site-footer__bottom p {
    width: 100%;
    max-width: 1498px;
    margin: 0 42px;
    color: rgba(232, 244, 251, 0.66);
    font-size: 18px;
    line-height: 26px;
}

@media (max-width: 980px) {
    .site-footer__inner {
        padding: 64px 54px 38px;
    }

    .site-footer__top {
        flex-direction: column;
        gap: 28px;
    }

    .footer-brand,
    .footer-column--directions,
    .footer-column--contact {
        max-width: 100%;
    }

    .footer-brand p,
    .footer-column address,
    .footer-contact-list {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .site-footer {
        min-height: auto;
    }

    .site-footer__inner {
        min-height: auto;
        padding: 46px 28px 34px;
    }

    .site-footer__top {
        gap: 36px;
    }

    .footer-brand,
    .footer-column--directions,
    .footer-column--contact,
    .footer-column--social {
        width: 100%;
    }

    .footer-brand p,
    .footer-column h2,
    .footer-column address,
    .footer-contact-list,
    .site-footer__bottom p {
        font-size: 16px;
        line-height: 24px;
    }

    .site-footer__bottom {
        margin-top: 52px;
        padding-top: 28px;
    }

    .site-footer__bottom p {
        margin: 0;
        padding-right: 28px;
        padding-left: 28px;
    }
}
