.site-footer {
    background: var(--navy);
    color: #c5d2df;
}
.footer-main {
    max-width: var(--content);
    margin: auto;
    padding: 72px 24px 58px;
    display: flex;
    gap: 42px;
}
.footer-brand {
    flex: 1.15;
    min-width: 0;
}
.footer-brand > a:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.footer-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 4px;
}
.footer-brand strong {
    font-size: 18px;
    line-height: 1.5;
    color: white;
}
.footer-brand p {
    margin: 15px 0 24px;
}
.footer-contact-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: white;
    border-bottom: 1px solid #7fa0ba;
    padding-bottom: 5px;
}
.footer-navigation {
    flex: 0.65;
    min-width: 0;
}
.footer-contact {
    flex: 1.5;
    min-width: 0;
}
.footer-languages {
    flex: 0.65;
    min-width: 0;
}
.site-footer h2 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
}
.footer-navigation > a,
.footer-languages > a {
    display: block;
    margin: 0 0 12px;
}
.site-footer a {
    transition: color 0.18s;
}
.site-footer a:hover,
.site-footer a:focus-visible,
.footer-languages [aria-current] {
    color: #83c5ff;
}
.footer-brand > a:hover img,
.footer-brand > a:focus-visible img {
    opacity: 0.8;
}
.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 13px;
}
.footer-contact dt {
    flex: 0 0 auto;
    max-width: 48%;
}
.footer-contact dd {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.footer-contact dd span {
    display: block;
    margin-bottom: 4px;
}
.footer-bottom {
    padding: 24px;
    text-align: center;
    border-top: 1px solid #ffffff1c;
    font-size: 12px;
}
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 75;
}
.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
}
@media (max-width: 900px) {
    .footer-main {
        flex-wrap: wrap;
        gap: 34px;
    }
    .footer-brand {
        flex: 0 0 100%;
    }
    .footer-brand > a:first-child {
        flex-direction: row;
        align-items: center;
        max-width: 500px;
    }
    .footer-navigation {
        flex: 0.8;
    }
    .footer-contact {
        flex: 1.6;
    }
    .footer-languages {
        flex: 0.6;
    }
}
@media (max-width: 640px) {
    .footer-main {
        flex-direction: column;
        padding: 48px 20px 35px;
        gap: 30px;
    }
    .footer-brand,
    .footer-navigation,
    .footer-contact,
    .footer-languages {
        flex: auto;
        width: 100%;
    }
    .site-footer h2 {
        margin-bottom: 18px;
    }
    .footer-languages > a {
        display: inline-block;
        margin-right: 22px;
    }
    .footer-contact dt {
        max-width: 45%;
    }
    .footer-bottom {
        padding: 22px 20px;
    }
    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
    }
}
