@font-face {
    font-family: 'RobotoFlex';
    src: url(../fonts/RobotoFlex.woff2);
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'icon';
    src: url(../fonts/icon.woff2);
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
:root {
    --text4: #d6a6b1;
    --crumbs: #db6c7e;
    --hover: #a41434;
    --22: #962715;
    --2: #900020;
    --white: #fff;
    --fe: #fefefe;
    --ee: #eee;
    --f4: #f4e7ea;
    --f5: #f5f5f5;
    --f6: #f6f6f6;
    --f7: #f7f7f7;
    --f9: #f9f9f9;
    --ef: #efefef;
    --scroll-bg: #f3f3f3;
    --text2: #e0e0e0;
    --border: #d8d8d8;
    --grey: #d9d9d9;
    --text3: #a9a9a9;
    --text5: #5b5a5b;
    --border2: #838383;
    --79: #797979;
    --6: #666;
    --5: #555;
    --text: #1e1e20;
    --text6: #413638;
    --no-color: rgba(0, 0, 0, 0);
    --tz: .6s cubic-bezier(0.5, 0.5, 0.25, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
    font-family: 'RobotoFlex', sans-serif;
    -webkit-tap-highlight-color: transparent;
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
    min-height: 100dvh;
}
body {
    position: relative;
    min-height: 100dvh;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    overflow-x: hidden;
    &::-webkit-scrollbar-track {
        background: var(--white);
    }
    &::-webkit-scrollbar-thumb {
        border-color: var(--white);
    }
    &:has(.burger-menu.active) {
        overflow: hidden;
        padding-right: 8px;
        header {
            transform: translateY(-220%);
        }
    }
    &:has(.window-modal.active) {
        overflow: hidden;
        padding-right: 8px;
        header {
            padding-right: 8px;
        }
    }
}
*::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}
*::-webkit-scrollbar-track {
    background: var(--scroll-bg);
}
*::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: 2px solid var(--scroll-bg);
    background-color: var(--2);
}
a {
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
}
input,
button {
    border-radius: 0;
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
textarea {
    appearance: none;
    resize: none;
    overflow: auto;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
}
input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px var(--white) !important;
    box-shadow: inset 0 0 0 50px var(--white) !important;
}
.wrapper {
    margin-inline: auto;
    max-width: 1240px;
    width: calc(100% - 80px);
}
.text-h {
    --color1: var(--text2);
    --color2: var(--white);
    --g: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--g);
    height: 1lh;
    overflow: hidden;
    color: inherit;
    font-size: inherit;
    z-index: 1;
    b {
        font-size: inherit;
        color: inherit;
        transition: transform var(--tz), color .3s linear;
        &:first-child {
            color: var(--color1);
        }
        &:last-child {
            color: var(--color2);
        }
    }
}
.text-hover {
    --shadow: var(--2);
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--white);
    font-size: inherit;
    font-weight: inherit;
    text-shadow: 0 var(--height) var(--shadow);
    transition: transform var(--tz);
    &::after {
        font: 100 .8em/1 icon;
        margin-top: 1px;
    }
}
.square-r,
.square {
    --size: 50px;
    width: var(--size);
    min-height: var(--size);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--tz);
    background: linear-gradient(var(--white), var(--white)) right 0 top 0/0% 1px no-repeat,
        linear-gradient(var(--white), var(--white)) left 0 bottom 0/0% 1px no-repeat,
        linear-gradient(var(--white), var(--white)) left 0 top 0/ 1px 0% no-repeat,
        linear-gradient(var(--white), var(--white)) right 0 bottom 0/1px 0% no-repeat;
}
.square-r {
    background: linear-gradient(var(--white), var(--white)) right 0 top 0/100% 1px no-repeat,
        linear-gradient(var(--white), var(--white)) left 0 bottom 0/100% 1px no-repeat,
        linear-gradient(var(--white), var(--white)) left 0 top 0/ 1px 100% no-repeat,
        linear-gradient(var(--white), var(--white)) right 0 bottom 0/1px 100% no-repeat;
}
.red-btn,
.white-btn {
    --height: 50px;
    --padding: 50px;
    position: relative;
    border: 1px solid var(--white);
    height: var(--height);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding-inline: var(--padding);
    &::before {
        content: '';
        position: absolute;
        left: 1px;
        top: 1px;
        inset: 0;
        transform: translateY(calc(-100% - 1px));
        transition: transform var(--tz), background-color .3s linear;
    }
    .text-hover,
    .text-h b {
        font-weight: 300;
    }
}
.red-btn {
    background-color: var(--2);
    &::before {
        background-color: var(--white);
    }
    .text-h b {
        &:first-child {
            color: var(--white);
        }
        &:last-child {
            color: var(--2);
        }
    }
}
.white-btn {
    background-color: var(--white);
    &::before {
        background-color: var(--2);
    }
    .text-h b {
        &:first-child {
            color: var(--2);
        }
        &:last-child {
            color: var(--white);
        }
    }
    .text-hover {
        color: var(--2);
        --shadow: var(--white);
    }
}
.button {
    position: relative;
    overflow: hidden;
    box-shadow: 0px 95px 27px 0px rgba(0, 0, 0, 0), 0px 61px 24px 0px rgba(0, 0, 0, 0.01), 0px 34px 21px 0px rgba(0, 0, 0, 0.05), 0px 15px 15px 0px rgba(0, 0, 0, 0.09);
    border: none;
    color: var(--white);
    transition: color .3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    &::before,
    &::after {
        content: '';
        position: absolute;
        z-index: -2;
        pointer-events: none;
    }
    &::before {
        width: calc(100% + 12px);
        aspect-ratio: 1;
        border-radius: 50%;
        transform: rotate(0deg);
        background: linear-gradient(180deg, var(--white) 0%, #fff4f6 15%, #950b29 84%, #900020 100%);
        animation: button-rotate 8s infinite;
    }
    &::after { 
        inset: 1px;
        background-color: var(--2);
    }
    span {
        position: absolute;
        inset: 0;
        background: var(--white);
        z-index: -1;
        opacity: 0;
        transition: opacity .3s linear;
    }
}
@keyframes button-rotate {
    from { 
        transform:rotate(0deg); 
    }
    to { 
        transform: rotate(360deg); 
    }
}
div:has(> .lang) {
    position: relative;
    width: 50px;
    height: 50px;
}
.lang {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: initial;
    display: grid;
    justify-content: start;
    align-items: start;
    grid-template-columns: auto 8px 1fr;
    grid-template-rows: minmax(14px, 0fr);
    gap: 2px;
    transition: grid-template-rows var(--tz), background var(--tz), opacity .3s;
    cursor: pointer;
    overflow: hidden;
    padding: 17px 0;
    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(30, 30, 32, 0.4);
        z-index: -1;
        opacity: 0;
        transition: opacity var(--tz);
        pointer-events: none;
    }
    &::after {
        content: '\e908';
        position: absolute;
        top: 21px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font: 100 8px/1 icon;
        color: var(--white);
        grid-column: 2/3;
        pointer-events: none;
        transition: transform var(--tz);
        aspect-ratio: 1;
    }
    &.active {
        grid-template-rows: minmax(14px, 1fr);
        &::before {
            opacity: 1;
        }
        &::after {
            transform: rotate(180deg);
        }
        >div label {
            pointer-events: all;
        }
    }
    >div {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-left: 8px;
        label {
            order: 2;
            position: relative;
            cursor: pointer;
            pointer-events: none;
            width: fit-content;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.84px;
            &:has(input[checked]) {
                order: 1;
            }
            input {
                position: absolute;
                z-index: -11;
                left: 0;
                top: 0;
                opacity: 0;
            }
        }
    }
}
h1,
h2 {
    font-size: 30px;
    font-weight: 500;
}
h1 {
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}
h2 {
    letter-spacing: .2px;
}
.under-line {
    --m: 10px;
    position: relative;
    margin-bottom: calc(var(--m) * 2);
    &::after {
        content: '';
        position: absolute;
        left: 0;
        top: calc(100% + var(--m));
        width: 100px;
        height: 1px;
        background: var(--white);
    }
}
header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    transition: transform .6s ease-in-out;
    z-index: 10;
    transform: translateY(-220%);
    :is(.top, .bottom) .wrapper {
        align-items: center;
    }
    .top {
        padding: 5px 0;
        background: var(--2);
        .wrapper {
            position: relative;
            display: grid;
            grid-template-columns: auto auto 1fr auto auto auto auto;
            gap: 4px;
        }
        .tel,
        .email {
            --height: 20px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            transition: opacity .3s linear;
            padding-right: 14px;
            overflow: hidden;
            &::before {
                content: '\e90b';
                font: 100 20px/1 icon;
                color: var(--white);
            }
            .text-hover {
                color: var(--text2);
                --shadow: var(--text2);
            }
        }
        .email {
            margin-inline: 16px auto;
            &::before {
                content: '\e90a';
            }
        }
        .search-btn {
            grid-column: 4/5;
            &::before {
                content: '\e909';
                font: 100 20px/1 icon;
                color: var(--text2);
                transition: color .3s linear;
            }
        }
        form {
            position: absolute;
            grid-column: 3/7;
            width: 100%;
            z-index: 2;
            height: 50px;
            display: grid;
            grid-template-columns: 0fr 50px 0fr;
            opacity: 0;
            transform: translateX(calc(100% - 617px));
            transition: opacity .1s .6s, grid-template-columns var(--tz), transform var(--tz);
            overflow: hidden;
            pointer-events: none;
            label {
                overflow: hidden;
                width: 100%;
            }
            input,
            button {
                border: 1px solid var(--white);
                height: 100%;
                width: 100%;
                background-color: var(--2);
                color: var(--white);
            }
            input {
                color: var(--white);
                padding: 0 16px;
                &::placeholder {
                    color: inherit;
                }
            }
            button {
                display: flex;
                align-items: center;
                justify-content: center;
                border-left: none;
                transition: color .3s linear, background-color .3s linear;
                &::before {
                    content: '\e909';
                    font: 100 20px / 1 icon;
                }
                &[type="reset"]::before {
                    content: '\e914';
                    font-size: 24px;
                }
            }
            &.open {
                transform: translateX(0);
                opacity: 1;
                pointer-events: all;
                grid-template-columns: 1fr 50px 50px;
                transition: opacity .1s, grid-template-columns var(--tz), transform var(--tz);
            }
        }
        .red-btn,
        .white-btn {
            --padding: 30px;
            width: 280px;
            .text-hover {
                font-weight: 400;
            }
        }
        .red-btn .text-hover {
            gap: 6px;
            &::after {
                content: '\e907';
                font-size: 20px;
            }
        }
        .burger .icon {
            pointer-events: none;
            width: 30px;
            height: 19px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            &::before,
            &::after {
                content: '';
                transform: scaleX(.6667);
            }
            &::before,
            &::after,
            >span {
                width: 100%;
                height: 1px;
                background-color: var(--text2);
                transition: transform .4s linear, background-color .4s linear;
            }
        }
    }
    .bottom {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 10px 0;
        &::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: -1;
            transition: opacity .3s linear;
            background: url(../images/header-bottom.webp);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        .wrapper {
            display: flex;
        }
        * {
            color: var(--white);
        }
        .logo {
            margin-right: auto;
            max-height: 42px;
            transition: transform .3s linear;
            img {
                height: 100%;
                aspect-ratio: 162/41;
            }
        }
        nav {
            transition: opacity .3s;
            .ws-menu {
                display: flex;
                align-items: center;
                gap: 30px;
                .item.text-h {
                    height: 1.5lh;
                    --ls: .2px;
                    a {
                        letter-spacing: var(--ls);
                        color: var(--no-color);
                        line-height: 1.5;
                        +.sub-menu {
                            position: absolute;
                            left: 0;
                            top: 0;
                            pointer-events: none;
                            >.item {
                                position: absolute;
                                left: 0;
                                top: 0;
                                transition: transform .6s cubic-bezier(0.5, 0.5, 0.25, 1);
                                &:first-child {
                                    p {
                                        color: var(--white);
                                    }
                                }
                                &:last-child {
                                    transform: translateY(-100%);
                                    p {
                                        position: relative;
                                        &::before {
                                            content: '';
                                            position: absolute;
                                            left: 0;
                                            top: 100%;
                                            width: 100%;
                                            height: 4px;
                                            background: var(--white);
                                            transform: translateY(-12px);
                                            transition: transform .6s cubic-bezier(0.5, 0.5, 0.25, 1);
                                        }
                                    }
                                }
                                p {
                                    white-space: nowrap;
                                    letter-spacing: var(--ls);
                                    line-height: 1.5;
                                }
                            }
                        }
                    }
                    &.selected a+.sub-menu>.item {
                        &:first-child {
                            transform: translateY(-100%);
                        }
                        &:last-child {
                            transform: translateY(0);
                            p::before {
                                transform: translateY(0);
                            }
                        }
                    }
                }
            }
        }
        div:has(> .lang) {
            margin-left: 20px;
        }
    }
    &.move {
        .top {
            .tel,
            .email {
                opacity: 0;
                pointer-events: none;
            }
        }
        .bottom {
            pointer-events: none;
            &::before {
                opacity: 0;
            }
            .wrapper {
                .logo {
                    transform: translateY(-64px);
                    pointer-events: all;
                }
                >*:not(.logo) {
                    opacity: 0;
                    pointer-events: none;
                }
            }
        }
    }
    &.show {
        transform: translateY(0);
    }
}
.burger-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    display: grid;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out .5s;
    grid-template-columns: repeat(2, 1fr);
    z-index: 100;
    overflow: hidden;
    &::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(66% 44% at 50% 56%, rgba(88, 88, 88, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
        background-blend-mode: color-burn;
        backdrop-filter: blur(13px);
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    .logo {
        position: absolute;
        grid-column: 1/2;
        width: 162px;
        transition: opacity .8s ease-in-out, width .8s ease-in-out, margin-left .8s ease-in-out, transform .8s ease-in-out;
        z-index: 1;
        opacity: 0;
        transform: translateY(74px);
        margin-left: calc((100vw - 1240px) / 2);
        img {
            height: 100%;
            max-height: 20dvh;
        }
    }
    .left {
        position: relative;
        display: grid;
        grid-template-rows: auto 1fr 200px;
        transform: translateX(-100%);
        transition: transform 1s ease-in-out;
        background: radial-gradient(41% 60% at 97% 71%, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0) 100%), radial-gradient(59% 31% at 48% 8%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%), rgba(255, 255, 255, 0.5);
        &::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 1px;
            height: 100%;
            pointer-events: none;
            background: linear-gradient(#797979, #fff 7%, #a0a0a0);
        }
        nav {
            grid-row: 2/3;
            display: flex;
            align-items: end;
            justify-content: end;
            padding: 55px 40px;
            opacity: 0;
            transform: translateX(-100px);
            transition: opacity .2s ease-in-out, transform .2s ease-in-out;
            >.ws-menu {
                display: flex;
                flex-direction: column;
                align-items: end;
                gap: 22px;
                .item {
                    position: relative;
                    height: initial;
                    overflow: visible;
                    &::after {
                        content: '';
                        position: absolute;
                        right: 0;
                        top: calc(100% + 11px);
                        width: 100px;
                        height: 1px;
                        background: var(--2);
                    }
                    &:first-child a {
                        color: var(--2);
                        display: flex;
                        align-items: center;
                        gap: 12px;
                        &::after {
                            content: '\e904';
                            font: 400 24px/1 icon;
                            color: inherit;
                        }
                    }
                    a {
                        color: var(--white);
                        font-size: 30px;
                        font-weight: 500;
                        text-transform: uppercase;
                        transition: color .3s linear;
                        + :is(a, p) {
                            display: none;
                        }
                    }
                    .sub-menu {
                        display: none;
                    }
                }
            }
        }
        .info {
            grid-row: 3/4;
            display: flex;
            flex-direction: column;
            align-items: end;
            gap: 4px;
            width: 100%;
            background: rgba(255, 255, 255, 0.5);
            border-top: 1px solid var(--white);
            padding: 40px 40px 45px;
            transform: translateY(100%);
            transition: transform 1s ease-in-out;
            > :is(a, p) {
                opacity: 0;
                transform: translateX(-100px);
                transition: opacity .2s ease-in-out, transform .2s ease-in-out, color .3s linear;
                color: var(--6);
            }
            .name {
                font-weight: 700;
            }
            a {
                display: flex;
                align-items: center;
                gap: 6px;
                font-weight: 600;
                &::before {
                    color: var(--22);
                    font: 100 20px/1 icon;
                }
                &.email::before {
                    content: '\e90a';
                }
                &.tel::before {
                    content: '\e90b';
                }
            }
        }
    }
    .right {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto 1fr 200px;
        pointer-events: none;
        .buttons-wrapper {
            grid-column: 1/-1;
            overflow: hidden;
            width: 0;
            justify-self: end;
            transition: width 1s ease-in-out, opacity 1s ease-in-out, transform 1s ease-in-out;
            opacity: 0;
            transform: translateX(25vw);
            &.none {
                pointer-events: none;
            }
            .buttons {
                display: grid;
                width: 50vw;
                grid-template-columns: repeat(2, 1fr) 50px;
                padding: 5px max(20px, calc((100vw - 1240px) / 2)) 5px 5px;
                background: var(--2);
                gap: 4px;
                .burger-close {
                    position: relative;
                    aspect-ratio: 1;
                    &::before,
                    &::after {
                        content: '';
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        width: 1px;
                        height: 28px;
                        translate: -50% -50%;
                        background: var(--white);
                    }
                    &::before {
                        rotate: 45deg;
                    }
                    &::after {
                        rotate: -45deg;
                    }
                }
                .red-btn,
                .white-btn {
                    --padding: 30px;
                    width: 100%;
                    text-hover {
                        font-weight: 400;
                    }
                }
                .red-btn .text-hover {
                    gap: 6px;
                    &::after {
                        content: '\e907';
                        font-size: 20px;
                    }
                }
            }
        }
        .box-wrapper {
            grid-area: 2/1/3/2;
            min-height: 358px;
            align-self: end;
            .red-box {
                overflow: hidden;
                height: 0;
                transition: height 1s ease-in-out;
                background: rgba(144, 0, 32, 0.88);
                backdrop-filter: blur(5px);
                padding-inline: 40px;
                * {
                    color: var(--text4);
                }
                :is(.top, .bottom) {
                    opacity: 0;
                    transform: translateX(60px);
                    transition: opacity .2s ease-in-out, transform .2s ease-in-out;
                }
                .top {
                    position: relative;
                    margin-top: 40px;
                    display: grid;
                    grid-template-columns: 1fr auto;
                    align-items: center;
                    margin-bottom: 10px;
                    gap: 10px;
                    &::after {
                        grid-column: 2/3;
                        content: '\e904';
                        font: 400 24px / 1 icon;
                        color: var(--text4);
                        opacity: 1;
                    }
                    label {
                        grid-area: 1/1/2/2;
                        position: relative;
                        font-weight: 300;
                        letter-spacing: 0.3px;
                        text-transform: uppercase;
                        cursor: pointer;
                        width: fit-content;
                        color: var(--text4);
                        left: 100%;
                        transition: color .3s linear;
                        transform: translateX(-40%);
                        animation: no-check .3s ease-in forwards;
                        input {
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: -11;
                            opacity: 0;
                        }
                        &:has(input:checked) {
                            color: var(--white);
                            left: 0;
                            transform: translateX(0);
                            animation: check .3s ease-in forwards;
                            &::after {
                                opacity: 0;
                            }
                        }
                    }
                }
                .bottom {
                    position: relative;
                    display: grid;
                    margin-bottom: 40px;
                    nav {
                        position: relative;
                        grid-area: 1/1/2/2;
                        transform: translateX(-100%);
                        opacity: 0;
                        animation: no-check-menu .2s ease-in-out forwards;
                        display: flex;
                        flex-direction: column;
                        gap: 2px;
                        pointer-events: none;
                        .item {
                            overflow: hidden;
                        }
                        a,
                        p {
                            display: flex;
                            gap: 6px;
                            font-weight: 300;
                            line-height: 1.2;
                            transform: translateX(-20px);
                            transition: color .3s linear, transform .2s;
                            &::before {
                                margin-top: 2px;
                                content: '\e90c';
                                font: 100 0.75lh/1 icon;
                                color: var(--white);
                            }
                        }
                    }
                }
                &:has(input[value="practices"]:checked) .practices,
                &:has(input[value="industries"]:checked) .industries {
                    animation: check-menu .3s ease-in-out forwards;
                }
            }
        }
        .run-line {
            position: relative;
            width: 200%;
            grid-area: 3/2/4/3;
            background: var(--white);
            display: flex;
            align-items: center;
            overflow: hidden;
            pointer-events: none;
            transform: translateY(100%);
            transition: transform 1s ease-in-out;
            &::before {
                content: '';
                position: absolute;
                inset: 0 50% 0 0;
                z-index: 1;
                background: linear-gradient(90deg, var(--f5) 15%, rgba(245, 245, 245, 0) 30%, rgba(245, 245, 245, 0) 70%, var(--f5) 85%);
            }
            >div {
                position: relative;
                grid-column: 2/3;
                left: 90%;
                flex-shrink: 0;
                transform: translateX(0);
                display: flex;
                align-items: center;
                gap: 60px;
                will-change: animation;
            }
        }
    }
    &.active {
        pointer-events: all;
        opacity: 1;
        visibility: visible;
        transition: none;
        &::before {
            opacity: 1;
        }
        .logo {
            width: calc(100% - 80px);
            margin-left: 40px;
            opacity: 1;
            transform: translateY(29px);
            transition: opacity .2s linear .5s, width 1s ease-in-out .5s, margin-left 1s ease-in-out .5s, transform 1s ease-in-out .5s;
        }
        .left {
            transform: translateX(0);
            nav {
                opacity: 1;
                transform: translateX(0);
                transition: opacity .3s ease-in-out 1.1s, transform .3s ease-in-out 1.1s;
            }
            .info {
                transform: translateY(0);
                >* {
                    opacity: 1;
                    transform: translateX(0);
                    transition: opacity .3s ease-in-out 1.1s, transform .3s ease-in-out 1.1s, color .3s linear;
                }
            }
        }
        .right {
            pointer-events: all;
            .buttons-wrapper {
                width: 50vw;
                opacity: 1;
                transform: translateX(0);
            }
            .box-wrapper .red-box {
                height: 358px;
                :is(.top, .bottom) {
                    opacity: 1;
                    transform: translateX(0);
                    transition: opacity .3s ease-in-out 1.1s, transform .3s ease-in-out 1.1s;
                }
            }
            .run-line {
                transform: translateY(0);
                &.start>div {
                    animation: image-run 16s linear infinite;
                }
            }
        }
    }
}
header,
.burger-menu {
    .mobile {
        display: none !important;
    }
}
@keyframes check {
    0% {
        left: 100%;
        transform: translateX(-100%);
    }
    49.5% {
        left: 200%;
        transform: translateX(-100%);
    }
    49.6% {
        opacity: 0;
    }
    49.7% {
        left: -100%;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 0;
        transform: translateX(0);
    }
}
@keyframes no-check {
    0% {
        left: 0;
        transform: translateX(0);
    }
    100% {
        left: 100%;
        transform: translateX(-100%);
    }
}
@keyframes no-check-menu {
    0% {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
    51% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 0;
        transform: translateX(-40%);
        pointer-events: none;
    }
}
@keyframes check-menu {
    0% {
        transform: translateX(-40%);
        opacity: 0;
        pointer-events: none;
    }
    60% {
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }
}
@keyframes image-run {
    from {
        left: 90%;
        transform: translateX(0);
    }
    to {
        left: 10%;
        transform: translateX(-106%);
    }
}
.cursor-box {
    position: relative;
    cursor: none;
    .cursor {
        position: absolute;
        width: 144px;
        aspect-ratio: 144/61;
        z-index: 5;
        opacity: 0;
        background: url(../images/cursor.svg) 0 0/ cover;
        pointer-events: none;
        transition: transform .2s, opacity .2s;
    }
    &:hover .cursor {
        opacity: 1;
        transform: scale(1);
    }
    &:has(a:hover) .cursor {
        opacity: 0;
        transform: scale(0);
    }
}
.bg-line-l,
.bg-line-r {
    position: relative;
    height: 4px;
    margin-block: 40px 36px;
    background: var(--2);
    transition: transform 1s linear;
    pointer-events: none;
    &.white {
        background: var(--white);
    }
    &.start {
        transform: translateX(0);
    }
}
.bg-line-l {
    margin-right: calc((100vw - 1240px) / 2);
    transform: translateX(-100%);
}
.bg-line-r {
    margin-left: calc((100vw - 1240px) / 2);
    transform: translateX(100%);
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    a {
        transition: color var(--tz);
    }
    a,
    p {
        letter-spacing: 0.2px;
    }
    a {
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        color: var(--crumbs);
        &:not(:last-child)::after {
            content: '/';
        }
    }
    p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-clamp: 1;
        -webkit-line-clamp: 1;
        max-width: 300px;
        overflow: hidden;
        color: var(--white);
    }
}
.form-modal .contact-us,
.contact-us {
    padding: 110px 0 100px;
    background: url(../images/index/image1.webp) top left 45%/ auto 126%;
    background-attachment: fixed;
    form {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 24px;
        box-shadow: 0 282px 79px 0 rgba(0, 0, 0, 0.01), 0 180px 72px 0 rgba(0, 0, 0, 0.04), 0 101px 61px 0 rgba(0, 0, 0, 0.15), 0 45px 45px 0 rgba(0, 0, 0, 0.25), 0 11px 25px 0 rgba(0, 0, 0, 0.29);
        padding: 40px 40px 60px;
        background: url(../images/index/bg-text.webp) top -190px right -225px/ auto auto no-repeat, var(--2);
        >*:not(label:has(input)) {
            grid-column: 1/-1;
        }
        h2 {
            color: var(--white);
            +p {
                color: var(--border);
                font-size: 20px;
                font-weight: 300;
                line-height: 1.17;
                letter-spacing: 0.2px;
                margin-bottom: 40px;
            }
        }
        >label {
            display: flex;
            flex-direction: column;
            gap: 4px;
            width: 100%;
            margin-bottom: 24px;
            font-size: 15px;
            color: var(--white);
            input,
            textarea {
                width: 100%;
                padding: 12px 10px 13px;
                border: none;
                background: var(--white);
            }
            textarea {
                height: 100px;
            }
        }
        .agree {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 40px;
            label {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 20px;
                aspect-ratio: 1;
                flex-shrink: 0;
                cursor: pointer;
                border: 1px solid var(--border);
                &::before {
                    content: '\e90d';
                    font: 100 12px/1 icon;
                    color: var(--no-color);
                }
                &:has(input:checked)::before {
                    color: var(--border);
                }
                input {
                    position: absolute;
                    z-index: -11;
                    opacity: 0;
                }
            }
            p {
                color: var(--text3);
                font-size: 15px;
                a {
                    font-size: inherit;
                    color: var(--white);
                    text-decoration: underline;
                    transition: color .3s linear;
                }
            }
        }
        button {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px;
            background-color: var(--white);
            border: 2px solid var(--white);
            color: var(--2);
            font-weight: 300;
            letter-spacing: 0.2px;
            transition: border-color .2s linear;
        }
    }
}
.bg-box {
    position: relative;
    overflow: hidden;
    .bg {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 120%;
    }
}
:is(.our-team, .our-projects, .gallery, .reviews) .controls {
    max-width: min(600px, 100%);
}
.controls {
    .arrow-l,
    .arrow-r {
        --padding: 0;
        width: 100%;
    }
}
:is(.our-team, .our-projects, .our-events, .gallery, .gallery-modal, .reviews, .team-promo) {
    .controls {
        display: flex;
        justify-content: space-between;
        .arrow-l,
        .arrow-r {
            --padding: 0;
            border-color: var(--2);
            background: rgba(255, 255, 255, 0.2);
            width: 50px;
            aspect-ratio: 1;
            flex-shrink: 0;
            .text-h b {
                display: flex;
                align-items: center;
                justify-content: center;
                &::after {
                    content: '\e905';
                    font: 100 20px/1 icon;
                    color: inherit;
                }
                &:first-child {
                    color: var(--2);
                }
            }
        }
        .arrow-r .text-h b::after {
            transform: scaleX(-1);
        }
        a {
            border-color: var(--2);
            padding: 16px 50px;
            background: transparent;
        }
    }
}
.our-events .slider {
    --gap: 20px;
    --duration: .35s;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 0.5fr);
    grid-template-rows: 370px 50px;
    gap: var(--gap);
    .bg {
        bottom: initial;
        top: 0;
    }
    .slides-box {
        grid-area: 1/1/3/3;
        width: calc(50% - (var(--gap) / 2));
    }
    .slides {
        display: flex;
        gap: var(--gap);
        margin-top: 40px;
        transform: translate3d(0px, 0, 0);
        transition: transform var(--duration) linear;
        .slide {
            --mb: 70px;
            position: relative;
            width: 295px;
            max-height: calc(100% - var(--mb));
            display: flex;
            flex-direction: column;
            z-index: 1;
            transition: width var(--duration) linear, max-height var(--duration) linear, opacity var(--duration) linear, margin-bottom var(--duration) linear;
            will-change: width, height, margin-bottom;
            flex-shrink: 0;
            opacity: 0.5;
            margin-bottom: var(--mb);
            &::before,
            &::after {
                content: '';
                position: absolute;
                inset: 0;
                z-index: -1;
                pointer-events: none;
            }
            &::before {
                background: var(--white);
            }
            &::after {
                background: var(--bg) center center/cover;
                transition: opacity var(--duration) linear;
                opacity: 0;
            }
            &.active {
                width: 100%;
                max-height: 100%;
                margin-bottom: 0;
                &::after {
                    opacity: 1;
                }
                .box .content {
                    max-height: 7lh;
                }
            }
            &.active,
            &.active~.slide {
                opacity: 1;
            }
            & > a {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 2;
            }
            .box {
                position: relative;
                display: flex;
                flex-direction: column;
                gap: 4px;
                max-width: 295px;
                min-height: 330px;
                height: 100%;
                padding: 20px;
                overflow: hidden;
                background: rgba(255, 255, 255, 0.6);
                backdrop-filter: blur(10px);
                .title {
                    font-size: 20px;
                    font-weight: 500;
                    line-height: 1;
                    letter-spacing: 0.2px;
                }
                .content {
                    max-height: 4lh;
                    will-change: max-height;
                    overflow: hidden;
                    transition: max-height var(--duration) linear;
                    * {
                        display: contents;
                        color: hsl(240, 3%, 12%);
                        font-size: 16px;
                        font-weight: 300;
                        letter-spacing: 0.2px;
                    }
                }
                >div:last-child {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 10px;
                    margin-top: auto;
                    .date {
                        font-size: 12px;
                        font-weight: 300;
                        letter-spacing: 0.2px;
                    }
                    a {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 24px;
                        aspect-ratio: 1;
                        flex-shrink: 0;
                        transition: color .3s linear;
                        &::after {
                            content: '\e904';
                            color: inherit;
                            font: 400 14px/1 icon;
                        }
                    }
                }
            }
        }
    }
    .controls {
        position: relative;
        grid-area: 2/2/3/3;
        width: 100%;
        display: flex;
        justify-content: space-between;
        z-index: 2;
        .arrow-l,
        .arrow-r {
            border-color: var(--white);
            background: var(--no-color);
            .text-h b {
                color: var(--white);
                &:last-child {
                    color: var(--2);
                }
            }
        }
        a.red-btn {
            border-color: var(--white);
            background-color: var(--no-color);
            padding: 16px 50px;
        }
    }
}
.pagination {
    width: min(600px, 100%);
    display: none;
    align-items: center;
    gap: 6px;
    &:has(a:not(.prev) + a:not(.next)) {
        display: flex;
    }
    >* {
        --w: 40px;
        width: var(--w);
        height: var(--w);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--text);
        flex-shrink: 0;
        transition: opacity .3s linear, color .2s linear, border-color .3s linear, background-color .3s linear;
        &.selected {
            background-color: var(--2);
            color: var(--white);
            border-color: var(--2);
        }
    }
    .prev,
    .next {
        --w: 50px;
        &::before {
            content: '\e905';
            font: 100 20px / 1 icon;
            color: inherit;
        }
        &.disabled {
            opacity: 0.2;
            pointer-events: none;
        }
    }
    .prev {
        margin-right: auto;
    }
    .next {
        margin-left: auto;
        transform: scaleX(-1);
    }
    span {
        pointer-events: none;
    }
}
.window-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(255, 235, 235, 0.6);
    backdrop-filter: blur(5px);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity .3s linear .3s;
    .window-body {
        position: relative;
        width: calc(100vw - 140px);
        transform: translate3d(0, -100vh, 0);
        animation: hide-modal .8s forwards ease-in-out;
        max-width: 720px;
        padding: 40px;
        background: url(../images/modal-text.webp) top center/auto no-repeat;
        min-height: 200px;
        align-content: center;
        .title {
            color: var(--white);
            font-size: 30px;
            font-weight: 500;
            letter-spacing: 0.2px;
        }
        .close {
            position: absolute;
            top: 0;
            left: 100%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.5);
            transition: color .3s linear;
            border: none;
            &::before {
                content: '\e914';
                font: 100 24px/1 icon;
            }
        }
    }
    &.form-modal .window-body {
        padding: 0;
        background: none;
        max-width: 1240px;
        .contact-us {
            background: none;
            padding: 0;
            width: 100%;
            h2 {
                color: var(--white);
                &::after {
                    color: var(--white);
                }
            }
        }
    }
    &.active {
        opacity: 1;
        pointer-events: all;
        transition-delay: 0s;
        .window-body {
            animation: show-modal .8s forwards ease-in-out .3s;
        }
    }
}
.window-cookie {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    /* background: rgba(255, 235, 235, 0.6);
    backdrop-filter: blur(5px); */
    z-index: 101;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transition: opacity .3s linear .3s;
    &.active {
        opacity: 1;
        pointer-events: all;
        transition-delay: 0s;
        .window-body {
            animation: show-modal .8s forwards ease-in-out .3s;
        }
    }
    .window-body {
        background: rgb(255, 255, 255);
        box-shadow: 0 328px 92px 0 rgba(0, 0, 0, 0.00), 0 210px 84px 0 rgba(0, 0, 0, 0.03), 0 118px 71px 0 rgba(0, 0, 0, 0.10), 0 52px 52px 0 rgba(0, 0, 0, 0.16), 0 13px 29px 0 rgba(0, 0, 0, 0.19);
        backdrop-filter: blur(10px);
        padding: 30px 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 40px;
        width: calc(100% - 40px);
        max-width: 1240px;
        h2 {
            color: hsl(240, 3%, 12%);
            font-size: 24px;
            font-weight: 600;
            line-height: 100%;
        }
        p {
            color: hsl(0, 0%, 33%);
            font-size: 16px;
            font-weight: 300;
            line-height: 140%;
            letter-spacing: 0.032px;
            a {
                color: hsl(347, 100%, 28%);
                font-size: 16px;
                font-style: normal;
                font-weight: 300;
                line-height: 140%;
                letter-spacing: 0.032px;
                text-decoration-line: underline;
                text-decoration-style: solid;
                text-decoration-skip-ink: auto;
                text-decoration-thickness: auto;
                text-underline-offset: auto;
                text-underline-position: from-font;
            }
        }
        .btns {
            display: flex;
            gap: 5px;
            button {
                border-color: var(--2);
                padding: 16px 50px;
                background: transparent;
            }
        }

    }
}
.submit-form .window-body {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-block: 60px;
    background-size: 460px auto;
    p:nth-of-type(1) {
        color: var(--white);
        font-size: 24px;
        font-weight: 500;
        letter-spacing: 0.2px;
    }
    p:nth-of-type(2) {
        color: var(--white);
        font-size: 18px;
        font-weight: 300;
        letter-spacing: 0.2px;
        opacity: 0.6;
        max-width: 260px;
    }
    hr {
        width: 100px;
        border: none;
        border-top: 1px solid var(--white);
    }
}
label.checkbox {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 10px;
    color: var(--5);
    transition: color .3s linear;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.2px;
    cursor: pointer;
    input {
        position: absolute;
        z-index: -11;
        opacity: 0;
    }
    &::before,
    &::after {
        content: '';
        border: none;
        aspect-ratio: 1;
    }
    &::before {
        width: 100%;
        pointer-events: none;
        background-color: var(--2);
    }
    &::after {
        --p: 2px;
        position: absolute;
        grid-column: 1/2;
        left: 50%;
        top: 50%;
        translate: -50% -50%;
        background: var(--white);
        width: calc(100% - var(--p));
        transition: transform .3s linear;
    }
    &:has(input:checked) {
        color: var(--2);
        &::after {
            transform: scale(.3);
        }
    }
}
@keyframes show-modal {
    from {
        transform: translate3d(0, -100vh, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}
@keyframes hide-modal {
    0% {
        transform: translate3d(0, 0, 0);
    }
    99.9% {
        transform: translate3d(0, 100vh, 0);
    }
    100% {
        transform: translate3d(0, -100vh, 0);
    }
}
.our-team {
    position: relative;
    overflow: hidden;
    &::before,
    &::after {
        content: '';
        position: absolute;
        top: 0;
        z-index: 6;
        height: 100%;
        width: 17.2vw;
        pointer-events: none;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
    }
    .bg-line-l,
    h2 {
        position: relative;
        z-index: 6;
    }
    &::before {
        left: 0;
    }
    &::after {
        right: 0;
        transform: scale(-1);
    }
    .slider {
        user-select: none;
    }
    .slides-box {
        --gap: 24px;
        --slide-big: 31.2vw;
        --slide: calc(var(--slide-big) / 1.2);
        width: var(--slide-big);
        aspect-ratio: 500/333;
        justify-self: center;
        margin-inline: auto;
        margin-top: 2.6vw;
    }
    .slides {
        display: flex;
        align-items: end;
        height: 121.3%;
        gap: var(--gap);
        margin-left: calc(0px - ((2 * var(--slide)) + ((var(--gap) * 2))));
        .slide {
            position: relative;
            display: flex;
            justify-content: end;
            aspect-ratio: 500/333;
            flex-shrink: 0;
            width: 0;
            margin: 65px 0 30px;
            transition: width .35s linear;
            will-change: width;
            background: var(--2);
            &.active {
                width: var(--slide-big);
            }
            &.active+.slide,
            &.active+.slide+.slide,
            &:has(+ .active),
            &:has(+ .slide + .active) {
                width: var(--slide);
            }
            img {
                position: absolute;
                left: 0;
                bottom: -1px;
                width: calc(100% - 220px);
                pointer-events: none;
            }
            .button {
                width: 190px;
                margin-left: auto;
            }
            .box {
                position: relative;
                z-index: 1;
                width: 282px;
                padding: 20px;
                display: flex;
                flex-direction: column;
                overflow: hidden;
                *:not(.button) {
                    color: var(--white);
                }
                .title {
                    font-size: 24px;
                    font-weight: 500;
                    letter-spacing: 0.2px;
                }
                .under-line {
                    color: var(--border);
                    font-size: 18px;
                    font-weight: 300;
                    letter-spacing: 0.2px;
                    margin-bottom: auto;
                    &::after {
                        background: var(--border);
                    }
                    &:has(+ b) {
                        margin-bottom: 20px;
                    }
                }
                >b {
                    font-size: 20px;
                    letter-spacing: 0.2px;
                    margin-bottom: 4px;
                }
                .content {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    margin-bottom: auto;
                    p {
                        color: var(--border);
                        font-weight: 300;
                        letter-spacing: 0.2px;
                    }
                }
                a:not(.button) {
                    text-align: center;
                    font-weight: 300;
                    letter-spacing: 0.2px;
                    align-self: end;
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    margin-bottom: 11px;
                    &::after {
                        color: inherit;
                        font: 100 20px/1 icon;
                    }
                    &[href^='tel']::after {
                        content: '\e90b';
                    }
                    &[href^='mailto:']::after {
                        content: '\e90a';
                    }
                }
            }
        }
    }
}
footer {
    overflow: hidden;
    margin-top: auto;
    padding-top: 100px;
    background: var(--white);
    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        .logo {
            max-height: 66px;
            margin-bottom: 20px;
            img {
                aspect-ratio: 260/66;
                height: 100%;
            }
        }
        .social {
            display: flex;
            align-content: inherit;
            justify-content: center;
            gap: 4px;
            a {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                width: 30px;
                height: 30px;
                border: 1px solid var(--border);
                transition: border-color .3s linear;
                &::before {
                    font: 100 18px/1 icon;
                    color: rgba(85, 85, 85, 0.5);
                    transition: color .3s linear;
                }
                &.telegram::before {
                    content: '\e903';
                }
                &.linkedin::before {
                    content: '\e902';
                }
                &.viber::before {
                    content: '\e900';
                }
                &.whatsapp::before {
                    content: '\e901';
                }
            }
        }
        .box {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            column-gap: 84px;
            padding: 35px 0 60px;
            margin-top: 45px;
            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 50%;
                width: 4px;
                height: 100%;
                background: var(--2);
                transform: translateX(-50%);
                pointer-events: none;
            }
            >div {
                display: flex;
                flex-direction: column;
                gap: 10px;
                &::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    width: 100vw;
                    height: 1px;
                    pointer-events: none;
                }
                &:first-child {
                    align-items: end;
                    &::before {
                        right: 50%;
                        transform: translateX(-8px);
                        background: linear-gradient(90deg, #d5d5d5 95%, rgba(255, 255, 255, 0) 100%);
                    }
                }
                &:last-child::before {
                    left: 50%;
                    transform: translateX(8px);
                    background: linear-gradient(270deg, #d5d5d5 95%, rgba(255, 255, 255, 0) 100%);
                }
                p,
                a {
                    color: var(--5);
                    font-weight: 300;
                    b {
                        font-weight: 500;
                        color: inherit;
                    }
                }
                a {
                    transition: color .3s linear;
                }
                .personal {
                    color: var(--2);
                    text-decoration: underline;
                }
            }
        }
    }
}
@media (max-width: 1860px) {
    .our-team .slides-box {
        --gap: 20px;
        --slide-big: 34.2vw;
    }
}
@media (max-width: 1680px) {
    .wrapper {
        width: calc(100% - 40px);
    }
    header .top {
        form {
            transform: translateX(calc(100% - 537px));
        }
        .red-btn,
        .white-btn {
            width: 240px;
        }
    }
    .burger-menu {
        .left {
            grid-template-rows: auto 1fr 180px;
            nav {
                padding: 30px;
                >.ws-menu .item {
                    &::after {
                        width: 80px;
                    }
                    a {
                        font-size: 22px;
                    }
                }
            }
            .info {
                padding: 30px 30px 35px;
            }
        }
        .right {
            grid-template-columns: 1fr;
            grid-template-rows: auto 1fr 180px;
            .box-wrapper {
                min-height: 312px;
                .red-box {
                    padding-inline: 30px;
                    .top {
                        margin-top: 30px;
                    }
                    .bottom {
                        position: relative;
                        display: grid;
                        margin-bottom: 40px;
                        nav {
                            position: relative;
                        }
                    }
                }
            }
            .run-line {
                grid-column: 1/2;
            }
        }
        &.active .right .box-wrapper .red-box {
            height: 312px;
        }
    }
    .our-team .slides-box {
        --gap: 14px;
        --slide-big: 42.2vw;
    }
}
@media (max-width: 1280px) {
    .our-team .slides-box {
        --gap: 14px;
        --slide-big: 53.2vw;
    }
}
@media (max-width: 1080px) {
    header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-auto-rows: auto;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
        background: var(--2);
        box-shadow: 0 74px 30px 0 rgba(0, 0, 0, 0.01), 0 42px 25px 0 rgba(0, 0, 0, 0.05), 0 18px 18px 0 rgba(0, 0, 0, 0.09), 0 5px 10px 0 rgba(0, 0, 0, 0.1);
        :is(.top, .bottom),
        :is(.top, .bottom) .wrapper {
            display: contents;
        }
        .top {
            .tel,
            .email {
                display: none;
            }
            .search-btn {
                grid-column: 2/3;
                justify-self: end;
            }
            form {
                grid-column: 2/-1;
                justify-content: end;
                /* grid-template-columns: 0fr 50px 0fr; */
                transform: translateX(-60px);
                input {
                    /* padding: 0 16px; */
                }
                button {
                    /* display: flex; */
                    /* align-items: center; */
                    /* justify-content: center; */
                    /* border-left: none; */
                    /* transition: color .3s linear, background-color .3s linear; */
                    &::before {
                        /* font: 100 20px / 1 icon; */
                    }
                    &[type="reset"]::before {
                        /* font-size: 24px; */
                    }
                }
                &.open {
                    /* transform: translateX(0); */
                    /* opacity: 1; */
                    /* pointer-events: all; */
                    /* grid-template-columns: 1fr 50px 50px; */
                    /* transition: opacity .1s, grid-template-columns var(--tz), transform var(--tz); */
                }
            }
            .red-btn,
            .white-btn {
                display: none;
            }
        }
        .bottom {
            &::before {
                display: none;
            }
            .logo {
                order: -1;
            }
            div:has(> .lang),
            nav {
                display: none;
            }
        }
        &.move .bottom .wrapper .logo {
            transform: none;
        }
    }
    .burger-menu {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr auto;
        align-items: start;
        opacity: 1;
        transform: translateX(100%);
        transition: transform .5s ease-in-out;
        background: var(--2);
        overflow-y: auto;
        &::before {
            display: none;
        }
        .logo {
            display: none;
        }
        .left {
            display: contents;
            &::after {
                display: none;
            }
            nav {
                grid-row: 2/3;
                padding: 0 20px;
                transform: none;
                opacity: 1;
                margin-bottom: 20px;
                >.ws-menu {
                    width: 100%;
                    gap: 0;
                    .item {
                        flex-direction: row;
                        justify-content: end;
                        width: calc(100% - 50px);
                        &:not(:nth-child(1), :nth-child(2)) {
                            margin-bottom: 6px;
                            padding-bottom: 6px;
                            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
                        }
                        &::after {
                            display: none;
                        }
                        &:first-child {
                            border: none;
                            margin-bottom: 10px;
                            padding-bottom: 0;
                            a {
                                color: var(--white);
                                &::after {
                                    display: none;
                                }
                            }
                        }
                        &:nth-child(2) {
                            margin-bottom: 10px;
                        }
                        a {
                            font-size: 24px;
                        }
                        :is(a, p) {
                            opacity: 1;
                            transform: translateY(0);
                        }
                    }
                    .mobile p {
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        color: var(--white);
                        font-weight: 300;
                        letter-spacing: 1px;
                        text-transform: uppercase;
                        &::after {
                            content: '\e904';
                            font: 400 20px / 1 icon;
                        }
                    }
                }
            }
            .info {
                grid-row: 4/5;
                align-items: center;
                gap: 20px;
                opacity: 1;
                padding: 0 0 30px 0;
                background: none;
                transform: none;
                border: none;
                p {
                    display: none;
                }
                a {
                    opacity: 1;
                    transform: translateY(0);
                    color: var(--white);
                    &::before {
                        color: inherit;
                    }
                    &.email,
                    &.tel {
                        font-weight: 400;
                    }
                }
                .mobile {
                    width: min(280px, 100%);
                    margin-top: 10px;
                    &::after {
                        content: '\e907';
                        font: 100 20px/1 icon;
                    }
                }
            }
        }
        .right {
            display: contents;
            .buttons-wrapper {
                display: contents;
                &.none {
                    pointer-events: all;
                }
                .buttons {
                    grid-row: 1/2;
                    width: 100%;
                    height: 60px;
                    grid-template-columns: 1fr 50px 50px;
                    padding-inline: 20px;
                    margin-bottom: 50px;
                    .red-btn {
                        display: none;
                    }
                    .white-btn {
                        --padding: 45px;
                        width: fit-content;
                    }
                    .lang {
                        padding-block: 18px;
                        border: none;
                        background: var(--2);
                        &::before {
                            display: none;
                        }
                        label {
                            color: var(--white);
                        }
                    }
                }
            }
            .box-wrapper {
                display: contents;
                .back {
                    display: flex;
                    align-items: center;
                    gap: 6px;
                    border: none;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
                    padding-bottom: 6px;
                    background: none;
                    font-weight: 500;
                    letter-spacing: 1px;
                    text-transform: uppercase;
                    &::before {
                        content: '\e904';
                        font: 100 20px / 1 icon;
                        opacity: 1;
                        transform: scaleX(-1);
                    }
                }
                .red-box {
                    position: absolute;
                    inset: 0;
                    height: 100% !important;
                    grid-area: 2/1/5/2;
                    padding-inline: 20px;
                    margin-top: -20px;
                    transform: translateX(100%);
                    transition: transform .5s linear;
                    background: var(--2);
                    &.open {
                        transform: translateX(0);
                    }
                    * {
                        color: var(--white);
                    }
                    .top,
                    .bottom {
                        opacity: 1;
                        transform: none;
                        a,
                        p {
                            letter-spacing: 0.032px;
                        }
                    }
                    .top {
                        margin-top: 50px;
                        label {
                            letter-spacing: 1px;
                        }
                    }
                    .bottom {
                        position: relative;
                        display: grid;
                        margin-bottom: 40px;
                        nav {
                            position: relative;
                            gap: 8px;
                            .ws-menu {
                                display: contents;
                            }
                        }
                    }
                }
            }
            .run-line {
                display: none;
            }
        }
        .burger-close {
            background: #c7808f;
        }
        &.active {
            transform: translateX(0);
            transition: transform .5s ease-in-out;
        }
    }
    header,
    .burger-menu {
        .mobile {
            display: flex !important;
        }
    }
    .our-events .slider .slides {
        margin-top: 20px;
        .slide .box {
            max-width: 65%;
        }
    }
    .form-modal .contact-us,
    .contact-us {
        padding-block: 80px;
        form {
            padding: 20px 20px 30px;
            >label:has(input) {
                grid-column: 1/-1;
            }
        }
    }
    .our-team {
        .slides-box {
            --slide-big: 60vw;
        }
        .slides .slide img {
            width: calc(100% - 200px);
        }
    }
    .window-cookie {
        .window-body {
            padding: 10px;
            align-items: flex-start;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 10px;
            width: calc(100% - 20px);
            h2 {
                font-size: 20px;
            }
            button {
                max-width: 161px;
                margin: 0 auto;
            }
        }
    }
}
@media (hover: none) and (pointer: coarse) {
    body:has(.burger-menu.active) {
        padding-right: 0;
    }
    .cursor-box {
        cursor: initial;
        .cursor {
            display: none;
        }
    }
}
@media (max-width: 768px) {
    .wrapper {
        width: calc(100% - 20px);
    }
    header {
        padding: 5px 10px;
        .logo {
            aspect-ratio: 150 / 35;
        }
        .top form {
            grid-column: 1/-1;
        }
    }
    .burger-menu {
        .left nav {
            padding-inline: 10px;
        }
        .right {
            .buttons-wrapper .buttons {
                padding-inline: 10px;
            }
            .box-wrapper .red-box {
                padding-inline: 10px;
            }
        }
    }
    .breadcrumbs {
        overflow-x: auto;
        &::-webkit-scrollbar {
            display: none;
        }
        a {
            font-size: 12px;
        }
        p {
            max-width: none;
            overflow: visible;
            display: block;
            font-size: 12px;
        }
    }
    .our-events .slider {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 50px;
        gap: 30px 0;
        .slides-box {
            grid-area: 1/1/2/3;
            width: 100%;
        }
        .slides {
            margin-top: 20px;
            .slide {
                --mb: 0;
                height: 100%;
                width: 100%;
                opacity: 1;
                transition: none;
                will-change: auto;
                &::before {
                    display: none;
                }
                &::after {
                    opacity: 1;
                    position: static;
                    height: 218px;
                    order: -1;
                    transition: none;
                }
                .box {
                    max-width: initial;
                    min-height: 203px;
                    background: var(--white);
                    padding: 10px;
                    .title {
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        line-clamp: 2;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                    }
                    .content {
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        line-clamp: 4;
                        -webkit-line-clamp: 4;
                        padding: 0;
                        margin: 0 0 20px;
                        max-height: initial;
                        will-change: auto;
                        transition: none;
                    }
                }
            }
        }
        .controls {
            grid-column: 1/-1;
        }
    }
    .cursor-box .cursor {
        display: none;
    }
    .our-team {
        &::before,
        &::after {
            display: none;
        }
        .slides-box {
            --gap: 10px;
            --slide-big: min(355px, 100%);
            --slide: min(355px, 100%);
            aspect-ratio: initial;
        }
        .slides {
            height: 100%;
            align-items: stretch;
            .slide {
                display: flex;
                flex-direction: column;
                min-height: 420px;
                height: 100%;
                aspect-ratio: initial;
                img {
                    position: static;
                    width: 60%;
                    margin: -90px auto 0;
                    margin-left: 0;
                }
                .box {
                    display: flex;
                    flex-direction: column;
                    width: initial;
                    flex-grow: 1;
                    padding: 10px 0;
                    border-top: 2px solid var(--white);
                    >* {
                        margin-inline: 10px;
                    }
                    .under-line  {
                        br, &::after {
                            display: none;
                        }
                    }
                    .content {
                        overflow-x: auto;
                        max-height: 30px;
                        margin: 0 0 10px;
                        border-bottom: 2px solid var(--white);
                        padding: 0 10px 10px;
                        scrollbar-width: none;
                        &::-webkit-scrollbar {
                            display: none;
                        }
                    }
                    a:not(.button) {
                        align-self: start;
                    }
                    .button {
                        width: calc(100% - 20px);
                        margin-top: auto;
                    }
                }
            }
        }
    }
    h1, h2 {
        font-size: 24px;
    }
    .bg-line-l,
    .bg-line-r {
        margin-block: 60px 30px;
    }
    .pagination {
        >* {
            --w: 30px;
        }
        .prev,
        .next {
            --w: 36px;
            &::before {
                font-size: 16px;
            }
        }
    }
    .form-modal .contact-us,
    .contact-us {
        padding-block: 60px;
    }
    .bg-line-l {
        width: calc(100% - 20px);
    }
    .bg-line-r {
        margin-left: 20px;
    }
    footer .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(100% - 40px);
        .logo {
            max-height: 66px;
            margin-bottom: 20px;
            img {
                aspect-ratio: 260/66;
                height: 100%;
            }
        }
        .social {
            width: 100%;
            border-bottom: 4px solid var(--2);
            padding-bottom: 20px;
        }
        .box {
            position: relative;
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            padding-top: 0;
            margin-top: 30px;
            width: 100%;
            &::before {
                display: none;
            }
            >div {
                position: relative;
                display: flex;
                flex-direction: column;
                gap: 10px;
                &:first-child {
                    align-items: start;
                    padding-bottom: 20px;
                    &::before {
                        width: 100%;
                        left: 0;
                        bottom: 0;
                        top: initial;
                    }
                }
                &:last-child::before {
                    display: none;
                }
            }
        }
    }
    .window-modal {
        overflow: auto;
        padding: 105px 0 10px 0;
        align-items: start;
        .window-body {
            width: calc(100vw - 20px);
            padding: 20px;
            .close {
                position: absolute;
                top: -40px;
                left: auto;
                right: 0;
                width: 40px;
                height: 40px;
                &::before {
                    font-size: 16px;
                }
            }
        }
    }
    .window-cookie {
        .window-body {
            .btns {
                width: 100%;
                flex-direction: column;
                button {
                    max-width: 100%;
                    width: 100%;
                }
            }

        }
    }
    .submit-form .window-body {
        padding-block: 40px;
    }
}
@media (hover:hover) {
    :is(a, button):hover {
        .text-h b {
            transform: translateY(calc(-100% - var(--g)));
        }
    }
    :is(.red-btn, .white-btn):hover::before {
        transform: translateY(0);
    }
    *:has(> .text-hover):hover .text-hover {
        transform: translateY(calc(0px - var(--height)));
    }
    .button:hover {
        color: var(--2);
        font-weight: 300;
        letter-spacing: 0.2px;
        span {
            opacity: 1;
        }
    }
    .square:hover {
        background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
    }
    .square-r:hover {
        background-size: 0% 1px, 0% 1px, 1px 0%, 1px 0%;
    }
    header {
        .top {
            .search:hover::before {
                color: var(--white);
            }
            .burger:hover .icon {
                >span {
                    transform: scaleX(.6667);
                    background-color: var(--white);
                }
                &::before,
                &::after {
                    background-color: var(--white);
                    transform: scaleX(1);
                }
            }
            form button:hover {
                &[type="reset"]::before {
                    opacity: .6;
                }
                &[type="submit"] {
                    background-color: var(--white);
                    color: var(--2);
                }
            }
        }
        .bottom {
            nav .ws-menu .item.text-h:hover a+.sub-menu>.item {
                &:first-child {
                    transform: translateY(-100%);
                }
                &:last-child {
                    transform: translateY(0);
                    p::before {
                        transform: translateY(0);
                    }
                }
            }
        }
    }
    .burger-menu {
        .left {
            nav .ws-menu {
                .item:first-child a:hover {
                    color: var(--hover);
                }
                .item a:hover {
                    color: var(--2);
                }
            }
            .info a:hover {
                color: var(--2);
            }
        }
        .right {
            .red-box .bottom nav :is(a, p):hover {
                color: var(--white);
                transform: translateX(0);
            }
            .box-wrapper .red-box .top label:hover {
                color: var(--white);
            }
        }
    }
    .breadcrumbs a:hover {
        color: var(--fe);
    }
    .our-events .slider .slides .slide .box>div:last-child a:hover {
        color: var(--2);
    }
    label.checkbox:hover {
        &::after {
            transform: scale(.8);
        }
    }
    .window-modal .window-body .close:hover {
        color: var(--2);
    }
    .pagination {
        a:not(.selected):hover {
            border-color: var(--2);
            color: var(--2);
            &.next,
            &.prev {
                background-color: var(--2);
                color: var(--white);
            }
        }
    }
    .form-modal .contact-us,
    .contact-us form {
        .agree a:hover {
            color: inherit;
        }
        button:hover {
            border-color: var(--2);
        }
    }
    footer .wrapper {
        .social a:hover {
            border-color: var(--2);
            &::before {
                color: var(--2);
            }
        }
        .box>div a:hover {
            color: var(--2);
            &.personal {
                color: var(--5);
            }
        }
    }
}