* {
    margin: 0;
    padding: 0;
}

html {
    scrollbar-gutter: stable;
}


body {
    font-family: "Jost", sans-serif;
    position: relative;
    background-color: white;
}


.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    color: white;
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
}

.burger-menu {
    cursor: pointer;
}


/* OFFCANVAS */
.offcanvas {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.offcanvas.open {
    opacity: 1;
    pointer-events: all;
}

.offcanvas-panel {
    position: absolute;
    left: 0;
    top: 0;
    /* height: 100%; */
    width: min(86vw, 620px);
    background: #ffffff;
    transform: translateX(-100%);
    transition: transform .32s ease;
    overflow: hidden;
    z-index: 2;
}

.offcanvas.open .offcanvas-panel {
    transform: translateX(0);
}

.offcanvas-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
}

.off-close {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.off-lang {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    color: #111;
    text-decoration: none;
    letter-spacing: .12em;
}

.off-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 50px 140px;
}

.off-nav a {
    font-size: 30px;
    color: #111;
    text-decoration: none;
    letter-spacing: .06em;
    font-weight: 300;
}

.off-nav a:hover {
    opacity: .7;
}

.off-icons {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    justify-content: end;
    padding: 40px;
}

.off-icons img {
    height: 30px;
    display: block;
    opacity: .9;
}

.off-watermark {
    position: absolute;
    left: -140px;
    top: -300px;
    width: 1250px;
    opacity: .2;
    pointer-events: none;
}

.off-watermark img {
    width: 1250px;
}


.off-sub {
    position: absolute;
    top: 145px;
    left: min(86vw, 619px);
    /* край основной панели */
    width: min(70vw, 420px);
    height: 545px;
    background: #fff;
    transform: translateX(-250%);
    /* спрятана слева, под основной панелью */
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.offcanvas.open .off-sub.open {
    transform: translateX(0);
    /* выезд вправо на место */
    pointer-events: auto;
}

.off-sub-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0));
}

.off-sub-back {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.off-sub-back img {
    width: 18px;
    height: 18px;
}

.off-sub-title {
    font-size: 18px;
    letter-spacing: .08em;
    display: none;
}

.off-sub-body {
    padding: 80px 40px 40px 40px;
    overflow: auto;
    height: 100%;
}

.off-sub-grid {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 16px;
    min-height: 100%;
}

.off-sub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.off-sub-list a {
    color: #000000;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: .06em;
    font-weight: 400;
}

.off-sub-list a:hover {
    opacity: .7;
}

.off-sub-all {
    justify-self: end;
    color: #000000;
    text-decoration: none;
    letter-spacing: .1em;
    font-size: 16px;
    margin-top: auto;
    text-align: right;
}

.off-sub-text {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.off-sub-text p {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
}


.off-sub-text p a {
    text-decoration: underline;
    color: black;
}

.off-sub {
    pointer-events: none;
}

.offcanvas.open .off-sub.open {
    pointer-events: auto;
}


.off-sub-grid p {
    color: black;
    font-size: 14px;
    font-weight: 300;
}










.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: invert(1);
}

.logo a {
    display: flex;
}

.logo-img {
    width: 278px;
    /* height: 76px; */
}

.lang-switch {
    font-family: "Jost", sans-serif;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s;
}

.lang-switch a {
    font-family: "Jost", sans-serif;
    color: white;
    text-decoration: none;
}

.lang-switch:hover {
    opacity: 0.7;
}












.site-footer {
    padding: 40px 60px;
    background-color: black;
    /* min-height: 735px; */
    position: relative;
    overflow: hidden;
    color: white;
}

.footer-blocks {
    display: flex;
    flex-direction: row;
    gap: 150px;
}

.footer-block-customer,
.footer-block-about {
    display: flex;
    flex-direction: column;
}

.footer-block-customer h2,
.footer-block-about h2 {
    font-size: 36px;
    font-weight: 300;
    margin: 0px 0px 30px 0px;
}

.footer-block-customer h2 a,
.footer-block-about h2 a {
    text-decoration: none;
    color: white;
    transition: all 0.1s ease-in-out;
}


.footer-block-customer h2 a:hover,
.footer-block-about h2 a:hover {
    color: rgb(214, 214, 214);
}

.customer-links,
.about-links {
    display: flex;
    flex-direction: column;
    font-size: 24px;
    font-weight: 200;
}

.customer-links a,
.about-links a {
    color: white;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

.customer-links a:hover,
.about-links a:hover {
    color: rgb(214, 214, 214);
}

.footer-cp-name {
    font-size: 16px;
    font-weight: 200;
    margin-top: 50px;
}





.footer-socials {
    color: #fff;
    padding: 24px 0 12px;
    text-align: center;
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 10;
}

.socials-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.social {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    transition: transform .18s ease, opacity .18s ease;
}

.social img {
    width: 100%;
    width: 100%;
    display: block;
}

.social:hover {
    transform: translateY(-2px);
    opacity: .9;
}

.socials-note {
    font-family: "Jost", sans-serif;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.3;
    opacity: .8;
}


.logo-overlay-footer {
    position: absolute;
    top: -520px;
    right: 100px;
    overflow: hidden;
}

.logo-overlay-footer img {
    width: 700px;
}




/* GY cookie banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: none;
}

.cookie-banner[data-show="1"] {
    display: block;
}

.cookie-inner {
    background: rgba(0, 0, 0, .88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 18px 18px 18px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cookie-inner p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

.cookie-inner a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-accept {
    margin-left: auto;
    padding: 10px 16px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.cookie-accept:hover {
    background: #fff;
    color: #000;
}

@media (max-width:640px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-accept {
        width: 100%;
    }
}



@media (max-width:767px) {

    .site-header {
        padding: 15px 20px;
    }

    .burger-menu {
        width: 20px;
        height: 20px;
    }

    .logo-img {
        width: 150px;
    }

    .lang-switch {
        font-size: 16px;
        font-weight: 400;
    }




    .offcanvas-panel {
        height: 408px;
    }

    .offcanvas-top {
        padding: 25px;
    }

    .off-lang {
        font-size: 16px;
    }

    .off-nav {
        padding: 20px 50px;
        gap: 10px;
    }

    .off-nav a {
        font-size: 16px;
    }

    .off-icons {
        padding: 25px;
    }

    .off-icons img {
        height: 20px;
        display: block;
        opacity: .9;
    }

    .off-watermark {
        left: -140px;
        top: -150px;
    }


    .off-watermark img {
        width: 850px;
    }




    .off-sub {
        top: unset;
        left: unset;
        width: min(86vw, 620px);
        height: 408px;
        z-index: 2;
    }

    .off-sub-head {
        padding: 15px 20px;
    }

    .off-sub-back img {
        width: 15px;
        height: 15px;
    }

    .off-sub-body {
        padding: 40px;
    }

    .off-sub-text p {
        color: #000000;
        font-size: 16px;
        font-weight: 300;
    }

    .off-sub-all {
        font-weight: 300;
    }

    .off-sub-list a {
        color: #000000;
        font-size: 16px;
        font-weight: 300;
    }

    .off-sub-grid p {
        color: black;
        font-size: 14px;
        font-weight: 300;
    }







    .site-footer {
        padding: 40px 20px;
    }

    .footer-blocks {
        flex-direction: column;
        gap: 20px;
        position: relative;
        z-index: 2;
    }

    .footer-block-customer h2,
    .footer-block-about h2 {
        font-size: 24px;
        margin: 0px 0px 15px 0px;
    }

    .customer-links,
    .about-links {
        font-size: 16px;
    }


    .logo-overlay-footer {
        top: -200px;
        left: 150px;
        width: 300px;
    }

    .logo-overlay-footer img {
        width: 100%;
        object-fit: cover;
    }

    .footer-cp-name {
        margin-top: 20px;
    }

    .footer-socials {
        position: unset;
        padding: 24px 0 0px;
    }
}





@media (min-width: 768px) and (max-width: 1350px) {

    .site-header {
        padding: 15px 20px;
    }

    .burger-menu {
        width: 20px;
        height: 20px;
    }

    .logo-img {
        width: 150px;
    }

    .lang-switch {
        font-size: 16px;
        font-weight: 400;
    }








    .offcanvas-panel {
        height: 492px;
        width: 50%;
    }

    .offcanvas-top {
        padding: 25px;
    }

    .off-lang {
        font-size: 16px;
    }

    .off-nav {
        padding: 20px 50px;
        gap: 10px;
    }

    .off-nav a {
        font-size: 24px;
    }

    .off-icons {
        padding: 25px;
    }

    .off-icons img {
        height: 20px;
        display: block;
        opacity: .9;
    }

    .off-watermark {
        left: -110px;
        top: -150px;
    }


    .off-watermark img {
        width: 850px;
    }




    .off-sub {
        top: 84px;
        left: 49.9%;
        width: 350px;
        height: 408px;
    }

    .off-sub-head {
        padding: 15px 20px;
    }

    .off-sub-back img {
        width: 15px;
        height: 15px;
    }

    .off-sub-body {
        padding: 40px;
    }

    .off-sub-text p {
        color: #000000;
        font-size: 16px;
        font-weight: 300;
    }

    .off-sub-all {
        font-weight: 300;
    }

    .off-sub-list a {
        color: #000000;
        font-size: 16px;
        font-weight: 300;
    }

    .off-sub-grid p {
        color: black;
        font-size: 14px;
        font-weight: 300;
    }







    .site-footer {
        padding: 40px;
    }

    .footer-blocks {
        flex-direction: column;
        gap: 20px;
        position: relative;
        z-index: 2;
    }

    .footer-block-customer h2,
    .footer-block-about h2 {
        font-size: 24px;
        margin: 0px 0px 15px 0px;
    }

    .customer-links,
    .about-links {
        font-size: 16px;
    }


    .logo-overlay-footer {
        top: -300px;
        right: 50px;
        width: 450px;
    }

    .logo-overlay-footer img {
        width: 100%;
        object-fit: cover;
    }

    .footer-cp-name {
        margin-top: 20px;
    }

    .footer-socials {
        position: absolute;
        padding: 24px 0 0px;
    }
}