.site-footer {
    background: #0c1724;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

.site-footer a {
    color: inherit;
}

.site-footer__top {
    position: relative;
    display: grid;
    grid-template-columns: 375px 1fr 235px;
    align-items: start;
    padding: 77px 49px 33px 0;
    border-bottom: 1px solid #394150;
}

.site-footer__top::before {
    content: "";
    position: absolute;
    top: 29px;
    right: 202px;
    width: 402px;
    height: 211px;
    background: rgba(255, 255, 255, .4);
    -webkit-mask: url(../images/footer/map.png) center / contain no-repeat;
    mask: url(../images/footer/map.png) center / contain no-repeat;
    transform: scaleX(-1);
    pointer-events: none;
}

.site-footer__top > * {
    position: relative;
}

.site-footer__brand {
    padding-top: 10px;
}

.site-footer__logo {
    display: inline-block;
}

.site-footer__logo img {
    display: block;
    width: 204px;
    height: auto;
}

.site-footer__reg {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.25;
}

.site-footer__reg strong {
    display: block;
    font-weight: 700;
}

.site-footer__slogan {
    padding-top: 2px;
    font-size: 32px;
    font-weight: 700;
    line-height: 50px;
}

.site-footer__slogan span {
    display: block;
}

.site-footer__slogan span + span {
    margin-left: 70px;
    color: #fe6f17;
}

.site-footer__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer__request {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 235px;
    height: 50px;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    background: #fe6f17;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color .3s ease;
}

.site-footer__request:hover {
    background: #e55c08;
}

.site-footer__touch {
    margin: 18px 0 0;
    font-size: 14px;
    text-align: center;
}

.site-footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 31px;
}

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #2d3c4e;
}

.site-footer__social:hover {
    opacity: .75;
}

.site-footer__columns {
    display: grid;
    grid-template-columns: 302fr 325fr 324fr 323fr;
    padding: 35px 0 54px;
    border-bottom: 1px solid #394150;
}

.site-footer__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}

.site-footer__title::after {
    content: "";
    display: block;
    width: 39px;
    height: 3px;
    margin-top: 8px;
    background: #fe6f17;
}

.site-footer__list {
    margin-top: 15px;
}

.site-footer__list li + li {
    margin-top: 9px;
}

.site-footer__list a {
    position: relative;
    display: inline-block;
    padding-left: 10px;
    color: #cdd8e1;
}

.site-footer__list a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
    background: #d9d9d9;
}

.site-footer__list a:hover {
    color: #fe6f17;
}

.site-footer__address {
    margin: 37px 0 0;
    font-style: normal;
    line-height: 18px;
}

.site-footer__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 13px;
    text-decoration: underline;
}

.site-footer__address + .site-footer__contact {
    margin-top: 28px;
}

.site-footer__contact:hover {
    color: #fe6f17;
    text-decoration: underline;
}

.site-footer__contact-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #fe6f17;
}

.site-footer__offices {
    display: grid;
    grid-template-columns: 302fr 972fr;
    align-items: center;
    padding: 27px 0 28px;
}

.site-footer__offices-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 23px;
}

.site-footer__offices-head > img {
    flex: none;
}

.site-footer__offices-head .site-footer__title::after {
    display: none;
}

.site-footer__all {
    display: inline-block;
    min-width: 95px;
    margin: 12px 0 0 8px;
    padding: 0 10px;
    border-radius: 5px;
    background: #fe6f17;
    font-size: 13px;
    line-height: 23px;
    text-align: center;
}

.site-footer__all:hover {
    background: #e55c08;
}

.site-footer__office-grid {
    display: grid;
    grid-template-columns: 180fr 190fr 200fr 200fr 202fr;
    row-gap: 25px;
}

.site-footer__office-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 25px;
}

.site-footer__office-name img {
    flex: none;
    width: 25px;
    height: 25px;
}

.site-footer__office a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 5px;
    padding-left: 4px;
    color: #fe6f17;
    white-space: nowrap;
}

.site-footer__office a img {
    flex: none;
    opacity: .7;
}

.site-footer__office a span {
    text-decoration: underline;
}

.site-footer__office a:hover {
    color: #fff;
}

.site-footer__bottom {
    background: #0a121e;
    font-size: 13px;
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    min-height: 57px;
    padding: 0 24px 0 20px;
    border-top: 1px solid #394150;
}

.site-footer__credit a {
    color: #fe6f17;
    text-decoration: underline;
}

.site-footer__credit a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__copy {
    margin: 0 26px 0 auto;
}

.site-footer__top-link {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #2d3c4e;
    cursor: pointer;
    transition: background-color .3s ease;
}

.site-footer__top-link img {
    transform: rotate(-90deg);
}

.site-footer__top-link:hover {
    background: #fe6f17;
}

@media (max-width: 1279px) {
    .site-footer__offices {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .site-footer__offices-head {
        padding-left: 0;
    }

    .site-footer__office-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) {
    .site-footer__top {
        grid-template-columns: 260px 1fr 235px;
    }

    .site-footer__slogan {
        font-size: 26px;
        line-height: 40px;
    }

    .site-footer__slogan span + span {
        margin-left: 40px;
    }
}

@media (max-width: 991px) {
    .site-footer__top {
        grid-template-columns: 1fr auto;
        row-gap: 30px;
        padding: 50px 0 33px;
    }

    .site-footer__top::before {
        top: 50%;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%) scaleX(-1);
    }

    .site-footer__brand {
        padding-top: 0;
    }

    .site-footer__slogan {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: 0;
    }

    .site-footer__columns {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
        column-gap: 30px;
        padding-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .site-footer__slogan {
        grid-row: auto;
        font-size: 22px;
        line-height: 32px;
    }

    .site-footer__slogan span + span {
        margin-left: 0;
    }

    .site-footer__cta {
        align-items: flex-start;
    }

    .site-footer__touch {
        margin-top: 12px;
    }

    .site-footer__socials {
        margin-top: 15px;
    }

    .site-footer__office-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }

    .site-footer__bottom-inner {
        flex-wrap: wrap;
        gap: 6px 20px;
        padding: 15px 0;
    }

    .site-footer__copy {
        order: 3;
        width: 100%;
        margin: 0;
    }

    .site-footer__top-link {
        margin-left: auto;
    }
}

@media (max-width: 575px) {
    .site-footer__columns {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
}

@media (max-width: 400px) {
    .site-footer__office-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}
