/* Site footer layout. */
footer.site-footer {
    background: #333;
    padding: 0;
    color: #fff;
}

footer.site-footer > .site-footer__inner,
body.main-page footer.site-footer > .site-footer__inner {
    display: block;
    width: calc(100% - clamp(32px, 3.5vw, 48px));
    max-width: 1440px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

footer.site-footer .site-footer__main {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.15fr)
        minmax(150px, .72fr)
        minmax(170px, .78fr)
        minmax(290px, 1.2fr);
    gap: clamp(34px, 4vw, 72px);
    align-items: start;
    padding: 58px 0 44px;
}

footer.site-footer .info.site-footer__brand,
footer.site-footer .menu.site-footer__nav,
footer.site-footer .menu.site-footer__actions {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

footer.site-footer .site-footer__logo,
footer.site-footer .info .site-footer__logo {
    width: 148px;
    height: auto;
    margin: 0 0 24px;
    padding: 0;
    background: none;
}

footer.site-footer .site-footer__logo .logo-box2 {
    display: block;
    filter: brightness(0) invert(1);
}

footer.site-footer .site-footer__logo img,
footer.site-footer .info .site-footer__logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

footer.site-footer .site-footer__phone,
footer.site-footer .info .site-footer__phone {
    margin: 0 0 24px;
}

footer.site-footer .site-footer__phone a,
footer.site-footer .info .site-footer__phone a {
    display: inline-block;
    margin: 0 0 3px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
}

footer.site-footer .site-footer__phone a:hover {
    color: #857FC3;
}

footer.site-footer .site-footer__phone span,
footer.site-footer .info .site-footer__phone span {
    display: block;
    color: #858585;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

footer.site-footer .site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

footer.site-footer .site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 9px;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

footer.site-footer .site-footer__social img {
    width: 15px;
    height: 13px;
    object-fit: contain;
    opacity: .9;
}

footer.site-footer .site-footer__vk {
    width: 16px;
    height: 16px;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    footer.site-footer .site-footer__social:hover {
        border-color: rgba(255, 255, 255, .28);
        background: rgba(255, 255, 255, .085);
        color: #fff;
        transform: translateY(-1px);
    }
}

footer.site-footer .site-footer__nav a.footer-link {
    display: block;
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
}

footer.site-footer .site-footer__nav a.footer-link + a.footer-link {
    margin-top: -2px;
    margin-bottom: 22px;
}

footer.site-footer .site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

footer.site-footer .site-footer__nav ul li {
    margin: 0 0 9px;
    padding: 0;
}

footer.site-footer .site-footer__nav ul li:last-child {
    margin-bottom: 0;
}

footer.site-footer .site-footer__nav ul a {
    display: inline-block;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .01em;
    text-decoration: none;
}

footer.site-footer .site-footer__nav a:hover,
footer.site-footer .site-footer__nav a.current {
    color: #857FC3;
}

footer.site-footer .site-footer__actions {
    padding: 24px !important;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    box-sizing: border-box;
}

footer.site-footer .site-footer__action-title,
footer.site-footer .site-footer__reviews-title {
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .04em;
    text-transform: uppercase;
}

footer.site-footer .site-footer__actions .feedback {
    display: block;
    margin: 10px 0 24px;
}

footer.site-footer .site-footer__feedback-button,
footer.site-footer .feedback-pay-block .site-footer__feedback-button {
    width: 100%;
    min-height: 46px;
    height: auto;
    display: grid;
    grid-template-columns: 20px 1fr 18px;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

footer.site-footer .site-footer__feedback-button:before,
footer.site-footer .site-footer__feedback-button:after {
    content: none;
}

footer.site-footer .site-footer__feedback-button > svg:first-child {
    margin: 0;
}

footer.site-footer .site-footer__feedback-button span,
footer.site-footer .feedback-pay-block .site-footer__feedback-button span {
    color: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}

footer.site-footer .site-footer__feedback-arrow {
    width: 18px;
    height: 18px;
    margin: 0;
    transition: transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    footer.site-footer .site-footer__feedback-button:hover {
        border-color: rgba(255, 255, 255, .32);
        background: rgba(255, 255, 255, .11);
        color: #fff;
        transform: translateY(-1px);
    }

    footer.site-footer .site-footer__feedback-button:hover .site-footer__feedback-arrow {
        transform: translateX(2px);
    }
}

footer.site-footer .site-footer__reviews-title {
    margin-bottom: 10px;
}

footer.site-footer .feedback-block_logo.site-footer__reviews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

footer.site-footer .site-footer__review {
    min-width: 0;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 9px;
    background: rgba(255, 255, 255, .055);
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

footer.site-footer .site-footer__review img {
    display: block;
    max-width: 100%;
    max-height: 30px;
    width: auto;
    height: auto;
}

@media (hover: hover) and (pointer: fine) {
    footer.site-footer .site-footer__review:hover {
        border-color: rgba(255, 255, 255, .24);
        background: rgba(255, 255, 255, .085);
        transform: translateY(-1px);
    }
}

footer.site-footer .site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(180px, .8fr) minmax(0, 3.2fr);
    gap: clamp(34px, 4vw, 72px);
    align-items: start;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

footer.site-footer .site-footer__copyright {
    color: #858585;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

footer.site-footer .site-footer__legal,
footer.site-footer .feedback-pay-block .info-site {
    min-width: 0;
}

footer.site-footer .site-footer__legal p,
footer.site-footer .feedback-pay-block .info-site p {
    max-width: 860px;
    margin: 0 0 13px;
    color: #858585;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .01em;
}

footer.site-footer .site-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 24px;
}

footer.site-footer .site-footer__legal-links a {
    color: #858585;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: rgba(133, 133, 133, .6);
    text-underline-offset: 3px;
}

footer.site-footer .site-footer__legal-links a:hover {
    color: #857FC3;
    text-decoration-color: currentColor;
}

@media screen and (max-width: 1170px) and (min-width: 941px) {
    footer.site-footer .site-footer__main {
        grid-template-columns: minmax(220px, 1.15fr) minmax(145px, .8fr) minmax(145px, .8fr);
        gap: 34px;
    }

    footer.site-footer .site-footer__actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
        column-gap: 24px;
        align-items: end;
    }

    footer.site-footer .site-footer__action-title {
        grid-column: 1;
    }

    footer.site-footer .site-footer__actions .feedback {
        grid-column: 1;
        margin-bottom: 0;
    }

    footer.site-footer .site-footer__reviews-title,
    footer.site-footer .site-footer__reviews {
        grid-column: 2;
    }

    footer.site-footer .site-footer__reviews-title {
        grid-row: 1;
    }

    footer.site-footer .site-footer__reviews {
        grid-row: 2;
    }
}

@media screen and (max-width: 940px) {
    footer.site-footer > .site-footer__inner,
    body.main-page footer.site-footer > .site-footer__inner {
        width: 100%;
        padding: 0 20px;
    }

    footer.site-footer .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
        padding: 40px 0 34px;
    }

    footer.site-footer .info.site-footer__brand {
        grid-column: 1 / -1;
    }

    footer.site-footer .site-footer__brand {
        display: grid;
        grid-template-columns: minmax(140px, .8fr) minmax(190px, 1fr);
        gap: 12px 28px;
        align-items: center;
    }

    footer.site-footer .site-footer__logo,
    footer.site-footer .info .site-footer__logo {
        grid-row: 1 / span 2;
        margin: 0;
    }

    footer.site-footer .site-footer__phone,
    footer.site-footer .info .site-footer__phone {
        margin: 0;
    }

    footer.site-footer .site-footer__socials {
        align-self: start;
    }

    footer.site-footer .site-footer__actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
        column-gap: 18px;
        align-items: end;
    }

    footer.site-footer .site-footer__action-title {
        grid-column: 1;
    }

    footer.site-footer .site-footer__actions .feedback {
        grid-column: 1;
        margin-bottom: 0;
    }

    footer.site-footer .site-footer__reviews-title,
    footer.site-footer .site-footer__reviews {
        grid-column: 2;
    }

    footer.site-footer .site-footer__reviews-title {
        grid-row: 1;
    }

    footer.site-footer .site-footer__reviews {
        grid-row: 2;
    }

    footer.site-footer .site-footer__bottom {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px 0 26px;
    }
}

@media screen and (max-width: 620px) {
    footer.site-footer > .site-footer__inner,
    body.main-page footer.site-footer > .site-footer__inner {
        padding: 0 16px;
    }

    footer.site-footer .site-footer__main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 34px;
    }

    footer.site-footer .site-footer__brand {
        grid-column: 1;
        display: block;
    }

    footer.site-footer .site-footer__logo,
    footer.site-footer .info .site-footer__logo {
        width: 142px;
        margin-bottom: 22px;
    }

    footer.site-footer .site-footer__phone,
    footer.site-footer .info .site-footer__phone {
        margin-bottom: 18px;
    }

    footer.site-footer .site-footer__nav {
        padding-top: 24px !important;
        border-top: 1px solid rgba(255, 255, 255, .09);
    }

    footer.site-footer .site-footer__nav ul {
        padding-top: 14px;
    }

    footer.site-footer .site-footer__actions {
        grid-column: 1;
        display: block;
        padding: 20px !important;
    }

    footer.site-footer .site-footer__actions .feedback {
        margin: 10px 0 22px;
    }

    footer.site-footer .feedback-block_logo.site-footer__reviews {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    footer.site-footer .site-footer__legal-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer.site-footer .site-footer__social,
    footer.site-footer .site-footer__feedback-button,
    footer.site-footer .site-footer__feedback-arrow,
    footer.site-footer .site-footer__review {
        transition: none;
    }
}
