/* Новая шапка и футер. */

body {
    background: #fff;
    overflow-anchor: none;
}

.site-header,
.site-header * {
    -webkit-transition: none !important;
    transition: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    overflow: visible;
    background: #0e2438;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(14, 36, 56, 0.18);
}

.site-header-inner {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 56px;
}

.site-logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #fff;
    text-decoration: none;
    margin-right: 28px;
    flex-shrink: 0;
}

.site-logo:hover {
    color: #fff;
}

.site-logo-wheel {
    display: block;
    width: 36px;
    height: 36px;
    margin-right: 8px;
    flex-shrink: 0;
    padding: 1px;
    box-sizing: content-box;
    background: #5ec4f2;
    border-radius: 50%;
}

.site-logo-text {
    display: inline-flex;
    align-items: baseline;
}

.site-logo-mark {
    color: #5ec4f2;
    font-weight: 500;
}

.site-logo-tld {
    font-weight: 400;
    color: #8aa0b5;
    font-size: 0.72em;
    letter-spacing: 0;
}

.site-nav {
    flex: 1;
    min-width: 0;
}

.site-nav ul {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    display: block;
}

.site-nav a {
    display: block;
    padding: 18px 14px;
    color: #d5e4ef;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.site-nav li.is-active a {
    color: #fff;
    border-bottom-color: #5ec4f2;
}

.site-burger {
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.site-burger svg {
    display: block;
    width: 20px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: square;
}

.site-burger svg path {
    -webkit-transform-origin: 10px 7px;
    transform-origin: 10px 7px;
}

body.nav-open .site-burger svg path:nth-child(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

body.nav-open .site-burger svg path:nth-child(2) {
    opacity: 0;
}

body.nav-open .site-burger svg path:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

body.header-compact .site-header {
    box-shadow: 0 6px 16px rgba(14, 36, 56, 0.22);
}

body.header-compact .site-header-inner {
    min-height: 40px;
}

body.header-compact .site-logo {
    font-size: 18px;
    margin-right: 18px;
}

body.header-compact .site-logo-wheel {
    width: 28px;
    height: 28px;
    margin-right: 6px;
    padding: 1px;
}

body.header-compact .site-nav a {
    padding: 10px 12px;
}

body.header-compact .site-burger {
    width: 36px;
    height: 36px;
}

@media only screen and (max-width: 700px) {
    .site-header-inner {
        min-height: 50px;
    }

    .site-burger {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 201;
        background: #0e2438;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 12px 24px rgba(14, 36, 56, 0.25);
    }

    body.nav-open .site-nav {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
    }

    .site-nav a {
        padding: 14px 20px;
        border-bottom: 0;
        border-left: 3px solid transparent;
    }

    .site-nav li.is-active a {
        border-left-color: #5ec4f2;
        background: rgba(255, 255, 255, 0.06);
    }

    body.header-compact .site-header-inner {
        min-height: 40px;
    }
}

.site-footer {
    background: #0e2438;
    color: #8aa0b5;
    flex-shrink: 0;
}

body > .container,
body > .container-2 {
    padding-bottom: 20px;
}

.site-footer-inner {
    padding: 24px 20px 20px;
}

.site-footer-brands {
    padding: 0 0 8px;
}

.site-footer-brands ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-brands li {
    width: 16.66%;
}

.site-footer-brands a {
    display: block;
    padding: 4px 8px 4px 0;
    color: #8aa0b5;
    font-size: 13px;
    text-decoration: none;
}

.site-footer-brands a:hover {
    color: #5ec4f2;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.site-footer-copy {
    color: #8aa0b5;
}

.site-footer-service {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px 18px;
}

.site-footer-service a {
    color: #8aa0b5;
    text-decoration: none;
}

.site-footer-service a:hover {
    color: #5ec4f2;
}

.site-footer-time {
    margin-left: auto;
    color: #5a7186;
    font-size: 12px;
}

@media only screen and (max-width: 700px) {
    .site-footer-brands li {
        width: 33.33%;
    }

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