@font-face {
    font-family: 'Satoshi';
    src: url(../fonts/satoshi.woff2) format("woff2");
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mazzard';
    src: url(../fonts/mazzard-b.woff2) format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Mazzard';
    src: url(../fonts/mazzard-m.woff2) format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'icon';
    src: url(../fonts/icon.woff2) format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    --grad: linear-gradient(91.14deg, #ddd 0.98%, #fefefe 44.95%);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
    font: normal 400 16px / 100% 'Satoshi', sans-serif;
    color: #fefefe;
    &::before,
    &::after {
        box-sizing: border-box;
    }
}
html,
body {
    width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    position: relative;
    height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
    background: #1C1D31;
}
img {
    width: 100%;
    display: block;
    object-fit: cover;
}
button,
a {
    cursor: pointer;
    text-decoration: none;
    transition: color .3s linear, background-color .3s linear, box-shadow .3s linear;
}
button,
textarea,
input {
    border: none;
    outline: none;
    background: none;
}
textarea,
input {
    border: 1px solid rgba(230, 233, 248, 0.5);
    font-size: 16px;
    line-height: 22px;
    padding: 5px 20px;
    transition: color .3s linear, border-color .3s linear, box-shadow .3s linear;
    &::placeholder {
        color: rgba(254, 254, 255, 0.5);
        transition: color .3s linear;
    }
    &:focus {
        border-color: #E6E9F8;
        box-shadow: 0 0 0 1px #E6E9F8;
        &::placeholder {
            color: #FEFEFF;
        }
    }
}
textarea {
    appearance: none;
    resize: none;
    overflow: auto;
}
.wrapper {
    --body-p: 160px;
    width: min(1760px, calc(100% - var(--body-p)));
    margin-inline: auto;
}
h1,
h2 {
    font-family: 'Mazzard';
    font-weight: 700;
    text-transform: uppercase;
}
h1 {
    font-size: 100px;
}
h2 {
    font-size: 60px;
}
h1,
.grad {
    background: var(--grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.shadow {
    --color: #fefefe;
    --width: 10px;
    box-shadow: var(--width) var(--width) 0 0 var(--color);
}
.btn-h,
.btn {
    max-width: 266px;
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-weight: 700;
}
.btn {
    color: #FEFEFF;
    background-color: #2E2B3E;
}
.btn-h {
    --color: #2E2B3E;
    color: #2E2B3E;
    background-color: #FEFEFF;
}
.tag {
    font-size: 14px;
    color: #CAB496;
    line-height: 135%;
    text-transform: uppercase;
}
.bg-text {
    --x: 0px;
    position: absolute;
    left: 50%;
    transform: translateX(calc(-50% + var(--x)));
    width: 100%;
    font-family: 'Mazzard';
    font-weight: 700;
    overflow: hidden;
    z-index: -1;
}
.logo img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 26px;
    .wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 60px;
    }
    .logo {
        max-height: 38px;
        margin-right: auto;
    }
    nav.shadow {
        --width: 2px;
        --color: transparent;
        display: flex;
        align-items: center;
        gap: 50px;
        a {
            font-weight: 500;
            text-transform: uppercase;
            color: #E6E9F8;
            line-height: 135%;
            &.selected {
                text-decoration: underline solid 2px;
                text-underline-offset: 2px;
            }
        }
    }
    .btns {
        display: grid;
        grid-template-columns: 134px 106px;
        gap: 10px;
        a {
            --width: 2px;
            min-height: 40px;
        }
    }
    .burger {
        --width: 2px;
        --color: #2E2B3E;
        position: relative;
        width: 40px;
        aspect-ratio: 1;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 8px;
        background-color: #FEFEFF;
        &::before,
        &::after,
        span {
            width: 100%;
            height: 2px;
            position: relative;
            background-color: var(--color);
            transition: transform .3s linear, background-color .3s linear;
        }
        &::before,
        &::after {
            content: '';
        }
        span::before {
            content: '';
            position: absolute;
            inset: 0;
            background-color: inherit;
            transition: inherit;
        }
    }
    &.show .burger {
        --color: #FEFEFF;
        background-color: #2E2B3E;
        span {
            transform: rotate(45deg);
            &::before {
                transform: rotate(90deg);
            }
        }
        &::before,
        &::after {
            transform: scaleX(0);
        }
    }
}
main {
    --gap: 140px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding-bottom: var(--gap);
}
footer {
    position: relative;
    margin-top: auto;
    padding-block: 79px 80px;
    border-top: 1px solid rgba(230, 233, 248, 0.5);
    overflow: hidden;
    .bg-text {
        --x: -14px;
        bottom: -110px;
        white-space: nowrap;
        font-size: 520px;
        opacity: 0.1;
        filter: blur(10px);
    }
    .wrapper {
        display: grid;
        grid-template-columns: 567px auto;
        justify-content: space-between;
        .top {
            grid-column: 1/-1;
            display: flex;
            justify-content: space-between;
            align-items: start;
            .logo {
                max-width: 490px;
                height: 59px;
            }
        }
        .contact {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding-top: 30px;
            form {
                display: grid;
                grid-template-columns: 1fr 138px;
                gap: 10px;
                margin-bottom: 50px;
                p {
                    grid-column: 1/-1;
                    font-family: 'Mazzard';
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 119%;
                    text-transform: uppercase;
                }
                .btn {
                    --width: 4px;
                }
            }
            > a,
            > p {
                font-family: 'Mazzard';
                font-weight: 500;
                font-size: 20px;
                line-height: 120%;
            }
        }
        .right {
            display: flex;
            flex-direction: column;
            align-items: end;
            gap: 20px;
            padding-top: 58px;
            nav {
                display: flex;
                justify-content: end;
                gap: 40px;
                padding: 0 20px 19px;
                border-bottom: 1px solid #E6E9F833;
                &:first-child a {
                    font-family: 'Mazzard';
                    font-weight: 500;
                    font-size: 20px;
                    line-height: 120%;
                    text-transform: uppercase;
                }
                &:nth-child(2) a {
                    font-size: 16px;
                    line-height: 138%;
                    opacity: .5;
                    transition: color .3s linear, opacity .3s linear;
                }
            }
            p {
                margin-top: auto;
                font-size: 16px;
                line-height: 138%;
                text-transform: uppercase;
                color: rgba(254, 254, 255, 0.5);
                span {
                    display: inline-block;
                    width: 50px;
                }
            }
        }
    }
}
@media screen and (max-width: 1840px) {
    main {
        --gap: 100px;
    }
    .wrapper {
        --body-p: 100px;
    }
    h1 {
        font-size: 64px;
    }
    h2 {
        font-size: 40px;
    }
    .shadow {
        --width: 6px;
    }
    .btn-h,
    .btn {
        min-height: 44px;
    }
    .tag {
        font-size: 12px;
    }
    header {
        padding-top: 16px;
        .logo {
            max-height: 31px;
            max-width: 254px;
        }
        nav.shadow {
            gap: 30px;
            a {
                font-size: 14px;
            }
        }
    }
    footer {
        padding-block: 49px 50px;
        .bg-text {
            --x: -18px;
            bottom: -75px;
            font-size: 352px;
        }
        .wrapper {
            grid-template-columns: 340px auto;
            .top .logo {
                max-width: 340px;
                height: 38px;
            }
            .contact {
                padding-top: 20px;
                form {
                    grid-template-columns: 1fr 106px;
                    margin-bottom: 18px;
                    p {
                        font-size: 14px;
                    }
                }
                > a,
                > p {
                    font-size: 16px;
                }
            }
            .right {
                padding-top: 47px;
                gap: 16px;
                nav {
                    padding-bottom: 11px;
                    &:first-child a {
                        font-size: 16px;
                    }
                    &:nth-child(2) {
                        gap: 20px;
                        a {
                            font-size: 14px;
                        }
                    }
                }
                p {
                    font-size: 14px;
                    span {
                        width: 20px;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    main {
        --gap: 80px;
    }
    .wrapper {
        --body-p: 40px;
    }
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 24px;
    }
    header {
        padding-top: 14px;
        .wrapper {
            gap: 10px;
        }
        nav.shadow {
            --color: #FEFEFF;
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            width: min(300px, calc(100% - var(--body-p)));
            max-height: calc(100dvh - 64px);
            flex-direction: column;
            align-items: end;
            padding: 30px 20px 42px;
            border: 1px solid #8D8BA3;
            background: rgba(141, 139, 163, 0.3);
            backdrop-filter: blur(30px);
            transform: translateX(calc(100% + var(--body-p)));
            transition: transform .3s linear;
            overscroll-behavior: contain;
            overflow-y: auto;
            scrollbar-width: none;
            &::-webkit-scrollbar {
                display: none;
            }
            &::after {
                content: '';
                position: absolute;
                right: 20px;
                bottom: 30px;
                width: 118px;
                height: 1px;
                background: #E6E9F833;
            }
            a {
                font-size: 16px;
                line-height: 19px;
            }
        }
        .burger {
            display: flex;
        }
        &.show nav {
            transform: translateX(0);
        }
    }
    footer {
        padding-block: 39px 40px;
        .bg-text {
            --x: -10px;
            bottom: -45px;
            font-size: 212px;
        }
        .wrapper {
            grid-template-columns: 1fr;
            .contact {
                max-width: 520px;
                form {
                    margin-bottom: 28px;
                }
                > a,
                > p {
                    font-size: 16px;
                }
            }
            .right {
                padding-top: 40px;
                align-items: start;
                nav {
                    padding-inline: 0;
                    justify-content: start;
                    &:nth-child(2) {
                        max-width: 476px;
                        flex-wrap: wrap;
                    }
                }
                p {
                    display: flex;
                    justify-content: space-between;
                    width: 100%;
                    margin-top: 14px;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    .wrapper {
        --body-p: 20px;
    }
    header {
        padding-top: 10px;
        .logo {
            max-width: 220px;
        }
        .btns {
            display: none;
        }
    }
    footer {
        padding-block: 19px 30px;
        .bg-text {
            --x: -4px;
            bottom: -23px;
            font-size: 100px;
            filter: blur(4px);
        }
        .wrapper {
            --body-p: 40px;
            .top {
                display: flex;
                flex-direction: column-reverse;
                gap: 20px;
                .tag {
                    margin-left: auto;
                }
            }
            .contact form {
                grid-template-columns: 1fr 82px;
            }
            .right nav:first-child {
                gap: 20px;
                flex-wrap: wrap;
            }
        }
    }
}
@media (hover: hover) {
    .btn:hover {
        --color: rgba(0, 0, 0, 0);
        background-color: #FEFEFF;
        color: #2E2B3E;
    }
    .btn-h:hover {
        --color: rgba(0, 0, 0, 0);
        color: #FEFEFF;
        background-color: #2E2B3E;
    }
    header nav a:hover,
    footer :is(.contact, nav) a:hover {
        color: #CAB496;
    }
    footer .right nav:nth-child(2) a:hover {
        opacity: 1;
    }
}