@font-face {
    font-family: 'Helvetica';
    src: url(../fonts/helveticaneueltmedium.woff2);
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Helvetica';
    src: url(../fonts/helveticaneueltregular.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'icon';
    src: url(../fonts/icon.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'icon-social';
    src: url(../fonts/icon-social.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
    font-family: 'Helvetica';
    font-size: 16px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}
html {
    min-height: 100dvh;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    position: relative;
    height: 100dvh;
    transition: height 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
    &::-webkit-scrollbar {
        /* display: none; */
    }

    &.main-page {
        &.site-main-page .promo-slider {
            transition: height 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
        }
    }
    &.show {
        &.site-main-page {
            footer {
                opacity: 1;
            }
        }
        footer {
            z-index: 100;
            bottom: 0;
            /* max-height: 96px; */
        }
    }
    &.white-footer {
        &.site-main-page .promo-slider {
            height: calc(100% - 96px);
        }
        &.top-footer {
            &.site-main-page .promo-slider {
                transition: 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
            }
        }
    }
}
main {
    width: 100%;
}
a {
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
}
button {
    border: none;
    cursor: pointer;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="date"],
textarea,
input[type="tel"],
select,
input[type="submit"] {
    appearance: none;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
textarea {
    appearance: none;
    resize: none;
}
::-webkit-input-placeholder {
    font-weight: normal;
}
.button {
    background-color: #262626;
    padding: 19px 32px 13px;
    color: #f5f5f5;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.32px;
    text-transform: uppercase;
    width: fit-content;
    transition: background-color .2s linear;
    &:active {
        background-color: transparent !important;
    }

}
.loader {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7a7a7a;
    svg {
        width: 144px;
        fill: #f5f5f5;
        path {
            /* transition: opacity .2s linear; */
            opacity: 0;
            animation: loading .2s linear forwards;
            &:nth-child(1) {
                animation-delay: .7s;
            }
            &:nth-child(2) {
                animation-delay: 1.2s;
            }
            &:nth-child(3) {
                animation-delay: 1.7s;
            }
            &:nth-child(4) {
                animation-delay: 2.2s;
            }
            &:nth-child(5) {
                animation-delay: 2.7s;
            }
            &:nth-child(6) {
                animation-delay: 3.2s;
            }
        }
    }
}
@keyframes loading {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
header {
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 101;
    width: 100%;
    transition: opacity .3s linear, background-color .3s linear, top .9s cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 48px 48px 20px;
    background-color: transparent;
    .logo {
        display: flex;
        max-width: 132px;
        aspect-ratio: 132/80;
        transition: opacity .3s linear, max-width .2s linear;
    }
    &.hide {
        /* opacity: 0; */
        .logo {
            opacity: 0;
        }
    }
}
.mobile-menu {
    display: none;
}
.top-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 0;
    transition: height 1s cubic-bezier(0.075, 0.82, 0.165, 1), background 3s cubic-bezier(0.075, 0.82, 0.165, 1), top 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    overflow: hidden;
    background: #fff;
    &.hide-top {
        background: #d7d7d7;
        transition: height .8s cubic-bezier(0.075, 0.82, 0.165, 1), top .8s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    &.show {
        height: calc(100dvh - 96px);
        background: #d7d7d7;
        /* transform: scaleY(0); */
        &.hidden {
            top: -100%;
        }
        .promo .jobs {
            top: 0;
            .item .button-box {
                opacity: 1;
            }
        }
    }

}
footer {
    position: fixed;
    width: 100vw;
    left: 0;
    bottom: 0px;
    z-index: 100;
    padding: 0px 48px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: bottom 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
    * {
        color: #262626;
    }
    /* &::before {
        position: absolute;
        content: '';
        top: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        transition: 0.6s;
    } */

    &.white-color {
        background-color: #fff;
    }
    &.hidden {
        bottom: -100px;
    }
    * {
        color: #f5f5f5;
        line-height: 1.5;
        letter-spacing: 0.32px;
        text-transform: uppercase;
    }
    .lang {
        background: none;
        border: none;
    }
    a,
    .lang {
        margin: 40px 0 35px;
        transition: color .2s linear .15s, opacity .2s linear .15s;
    }
    .burger {
        display: none;
        background: none;
        border: none;
    }
    nav {
        display: flex;
        gap: 40px;
        align-items: center;
        z-index: 1;
        .ws-menu,
        .item {
            display: contents;
        }
        .item.main {
            display: none;
        }
        &.jobs-hide {
            .ws-menu .item:last-of-type {
                display: none;
            }
        }
    }
    button {
        z-index: 1;
    }

}
@keyframes chip-animation {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%);
    }
    25%,
    70% {
        opacity: 1;
        transform: translate(-50%, calc(-50% - 60px));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 70px));
    }
}
@keyframes chip-animation-2 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%);
    }
    25%,
    70% {
        opacity: 1;
        transform: translate(-50%, calc(-50% - 30px));
    }
    100% {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 35px));
    }
}
@keyframes imageSlide {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    26% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


@media (max-width:1199px) {
    header {
        .logo {
            max-width: 112px;
        }
    }
}
@media (max-width:1023px) {
    .top-wrapper {
        &.show {
            height: calc(100dvh - 72px);
        }
    }
    header .logo {
        max-width: 100px;
    }
    footer {
        padding: 24px 48px;
        a,
        .lang {
            margin: 36px 0 0;
        }
    }
}
@media (max-width:767px) {
    body.white-footer {
        &.site-main-page .promo-slider {
            height: calc(100% - 53px);
        }
    }
    .top-wrapper {
        height: calc(100dvh - 53px) !important;
        top: -100%;
        &.show {
            /* height: calc(100dvh - 53px); */
            top: 0;
        }
    }
    header {
        padding: 28px 28px 10px;
        .logo {
            max-width: 100px;
        }
    }
    footer {
        padding: 19px 28px;
        transition: background-color .3s linear;
        * {
            font-size: 14px;
            letter-spacing: 0.28px;
        }
        a,
        .lang {
            margin: 0;
        }
        a,
        button {
            transition: color .3s linear;
        }
        nav {
            gap: 28px;
        }
    }
    .button {
        padding: 14px 22px 14px;
        font-size: 14px;
    }
}
@media (max-width:479px) {
    @keyframes showText {
        0% {
            bottom: 124px;
        }
        100% {
            bottom: 24px;
        }
    }
    header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 16px 16px 8px;
        z-index: 99999;
        .logo {
            transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
            max-width: 60px;
        }
        .burger {
            position: relative;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 24px;
            height: 24px;
            cursor: pointer;
            gap: 5px;
            margin-top: 4px;
            transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
            span,
            &::before,
            &::after {
                content: '';
                display: block;
                width: 20px;
                height: 2px;
                border-radius: 2px;
                background-color: #fff;
                transition: .3s linear;

            }
            &::before,
            &::after {
                /* transform-origin: left; */
                transform-origin: center center;
            }
        }
        &.show {
            .logo,
            .burger {
                filter: invert(1);
            }
            & + .mobile-menu {
                top: 0;
            }
            .burger {
                span {
                    transform: scaleX(0);
                }
                &::before {
                    transform: rotate(45deg) translate(6px, 6px);
                }
                &::after {
                    transform: rotate(-45deg) translate(4px, -4px);
                }
            }
        }
    }
    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100dvh;
        position: fixed;
        top: -100dvh;
        left: 0;
        right: 0;
        z-index: 999;
        transition: top 1s cubic-bezier(0.075, 0.82, 0.165, 1);
        background: var(--Surface-Secondary, color(display-p3 0.8431 0.8431 0.8431));
        .ws-menu {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding-top: 45px;
            margin-top: auto;
            .item a {
                display: block;
                color: #262626;
                font-size: 20px;
                font-weight: 500;
                line-height: 32px;
                text-transform: uppercase;
                text-align: center;
                &:active {
                    color: #d7d7d7;
                }
            }
        }
        .lang {
            display: flex;
            border: none;
            background: none;
            color: #262626;
            font-size: 14px;
            font-style: normal;
            font-weight: 500;
            line-height: 20px;
            letter-spacing: 0.28px;
            text-transform: uppercase;
            margin-top: auto;
            margin-bottom: 18px;
        }
    }
    footer {
        display: none;
    }
}
@media (hover:hover) {
    .button:hover {
        background-color: #7a7a7a;
    }
    footer a:hover {
        opacity: 80%;
    }
    header .logo:hover {
        opacity: .5;
    }
}