.nw-site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    background: linear-gradient(151.62deg, #1c2e38 0%, #16252e 100%);
    color: #fff;
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nw-site-footer::before {
    content: "";
    position: absolute;
    right: max(-70px, calc((100vw - 1600px) / 2 - 70px));
    top: 38px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 168, 196, .28) 0%, rgba(43, 168, 196, 0) 68%);
    pointer-events: none;
}

.nw-site-footer *,
.nw-site-footer *::before,
.nw-site-footer *::after {
    box-sizing: border-box;
}

.nw-site-footer__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 80px, 1600px);
    margin: 0 auto;
}

.nw-site-footer__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(190px, 1fr) minmax(160px, .85fr) minmax(210px, 1fr) minmax(280px, 1.2fr);
    gap: clamp(48px, 5vw, 96px);
    align-items: flex-start;
    padding: 54px 0 48px;
}

.nw-site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.nw-site-footer a:hover,
.nw-site-footer a:focus {
    color: #77e5fe;
}

.nw-site-footer a:focus-visible {
    outline: 2px solid #77e5fe;
    outline-offset: 4px;
}

.nw-site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.nw-footer-logo {
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 36px;
    letter-spacing: -0.5px;
}

.nw-footer-logo__accent {
    color: #77e5fe;
}

.nw-footer-logo sup {
    margin-top: 4px;
    color: #77e5fe;
    font-size: 11px;
    font-weight: 800;
    line-height: 15px;
    letter-spacing: -0.5px;
}

.nw-site-footer__brand p {
    max-width: 215px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.nw-footer-socials {
    display: flex;
    gap: 10px;
    padding-top: 4px;
}

.nw-footer-socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #2ba8c4;
}

.nw-footer-socials a:hover,
.nw-footer-socials a:focus {
    color: #168ba5;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.nw-footer-socials svg {
    display: block;
}

.nw-footer-nav,
.nw-footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.nw-footer-nav h2,
.nw-footer-contacts h2 {
    margin: 0 0 6px;
    color: #2ba8c4;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

.nw-footer-nav a,
.nw-footer-contacts a,
.nw-footer-contacts address {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

.nw-footer-phone {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 22px !important;
}

.nw-footer-phone:hover,
.nw-footer-phone:focus {
    color: #77e5fe !important;
}

.nw-footer-email {
    margin-top: 2px;
}

.nw-footer-contacts address {
    max-width: 245px;
    margin-top: 18px;
}

.nw-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 58px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.nw-site-footer__bottom p,
.nw-site-footer__bottom a {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.nw-site-footer__bottom p {
    color: #77e5fe;
}

@media (min-width: 1500px) {
    .nw-site-footer__top {
        padding: 58px 0 52px;
    }

    .nw-site-footer__brand p {
        max-width: 245px;
    }

    .nw-footer-contacts address {
        max-width: 285px;
    }
}

@media (max-width: 1180px) {
    .nw-site-footer__top {
        grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(150px, 1fr));
        gap: 34px;
    }
}

@media (max-width: 767px) {
    .nw-site-footer__inner {
        width: min(100% - 64px, 520px);
    }

    .nw-site-footer__top {
        display: flex;
        flex-direction: column;
        gap: 26px;
        padding: 52px 0 34px;
    }

    .nw-site-footer__brand {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 18px;
        row-gap: 14px;
        align-items: start;
    }

    .nw-footer-logo,
    .nw-site-footer__brand p {
        grid-column: 1 / 2;
    }

    .nw-footer-socials {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        padding-top: 0;
    }

    .nw-footer-logo {
        font-size: 24px;
        line-height: 33px;
    }

    .nw-site-footer__brand p {
        max-width: 215px;
    }

    .nw-footer-nav,
    .nw-footer-contacts {
        gap: 12px;
    }

    .nw-footer-nav h2,
    .nw-footer-contacts h2 {
        margin-bottom: 4px;
    }

    .nw-footer-contacts address {
        max-width: 290px;
        margin-top: 14px;
    }

    .nw-site-footer__bottom {
        min-height: auto;
        padding: 18px 0 16px;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 374px) {
    .nw-site-footer__inner {
        width: min(100% - 40px, 520px);
    }

    .nw-site-footer__brand {
        grid-template-columns: 1fr;
    }

    .nw-footer-socials {
        grid-column: 1 / 2;
        grid-row: auto;
    }
}
