@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-bl.woff2);
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-b.woff2);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-bi.woff2);
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-sb.woff2);
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-m.woff2);
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-r.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto-l.woff2);
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'icon';
    src: url(../fonts/icon.woff2);
    font-style: normal;
    font-display: swap;
}
:root {
    --main: hsl(0, 0%, 100%);
    --second: hsl(138, 75%, 40%);
    --btn-hover: hsl(138, 62%, 48%);
    --text: hsl(0, 0%, 18%);
    --text-2: hsl(0, 0%, 39%);
    --text-3: hsl(0, 0%, 58%);
    --text-weight-600: hsl(0, 0%, 11%);
    --line: hsl(113, 37%, 91%);
    --el-bg: hsl(0, 0%, 96%);
    --social-icon-bg: hsl(140, 43%, 95%);
    --social-icon-color: hsla(0, 0%, 100%, 0.5);
    --input-bg: hsl(0, 0%, 98%);
    --window-bg: hsla(0, 0%, 0%, 0.6);
    --close-btn-bg: hsla(0, 0%, 0%, 0.3);
    --placeholder: hsl(0, 0%, 84%);
    --form-text-link: hsl(138, 100%, 29%);
    --header-border-bottom: hsla(140, 100%, 35%, 0);
    --box-shadow: 0 106px 30px 0 rgba(112, 112, 112, 0.00), 0 68px 27px 0 rgba(112, 112, 112, 0.01), 0 38px 23px 0 rgba(112, 112, 112, 0.05), 0 17px 17px 0 rgba(112, 112, 112, 0.09), 0 4px 9px 0 rgba(112, 112, 112, 0.10);
    --box-shadow-hide: 0 106px 30px 0 rgba(112, 112, 112, 0.00), 0 68px 27px 0 rgba(112, 112, 112, 0), 0 38px 23px 0 rgba(112, 112, 112, 0), 0 17px 17px 0 rgba(112, 112, 112, 0), 0 4px 9px 0 rgba(112, 112, 112, 0);
    --linear-gradient: linear-gradient(90deg, hsla(140, 100%, 35%, 0) 0%, hsl(140, 100%, 35%) 50%, hsla(140, 100%, 35%, 0) 100%);
    --linear-gradient-2: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.64) 49.86%, rgba(0, 0, 0, 0.80) 100%);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
    font-family: 'Roboto';
    -webkit-tap-highlight-color: transparent;
    color: var(--text);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.19;
}
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: auto;
    min-height: 100dvh;
}
body {
    position: relative;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--main);
    overflow-x: hidden;
    &:has(.window-background.show, .slide-preview.show) {
        overflow: hidden;
        padding-right: 6px;
        header {
            left: calc(50% - 3px);
        }
    }
}
button.callback-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: var(--second);
    color: var(--main);
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.4px;
}
main {
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
}
*::-webkit-scrollbar {
    height: 10px;
    width: 6px;
}
*::-webkit-scrollbar-track {
    background: var(--el-bg);
}
*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    border: 2px solid var(--el-bg);
    background-color: var(--second);
}
a {
    text-decoration: none;
    transition: .3s linear;
}
img {
    display: block;
    width: 100%;
}
button {
    cursor: pointer;
    transition: .3s linear;
    touch-action: manipulation;
}
textarea {
    appearance: none;
    resize: none;
    overflow: auto;
}
input[type="submit"] {
    border: none;
    cursor: pointer;
}
input[type="number"] {
    appearance: none;
    -moz-appearance: textfield;
}
input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px var(--main) !important;
    box-shadow: inset 0 0 0 50px var(--main) !important;
}
h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 100%;
}
.wrapper {
    margin-inline: auto;
    max-width: 1200px;
    width: calc(100% - 40px);
}
header.wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 999;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 13px 16px;
    border-radius: 20px;
    border-bottom: 1px solid var(--header-border-bottom);
    background: var(--main);
    box-shadow: var(--box-shadow);
    &::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 1px;
        background: var(--linear-gradient);
    }
    .phone-btn {
        display: none;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--second);
        box-shadow: var(--box-shadow);
        &::before {
            content: '\e008';
            font-family: 'icon';
            font-size: 20px;
            color: var(--main);
        }
    }
    .mobile-wrapper {
        display: contents;
        .callback-btn {
            max-width: 173px;
            padding: 16px 8px;
            margin-right: 20px;
            font-size: 14px;
            font-weight: 400;
            line-height: 16px;
            order: 1;
            letter-spacing: normal;
        }
        .laptop-wrapper {
            display: contents;
            nav {
                position: relative;
                width: 292px;
                order: 2;
                .ws-menu {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 9px 20px;
                    a {
                        font-size: 14px;
                        line-height: 16px;
                        letter-spacing: -0.28px;
                    }
                    .selected a {
                        color: var(--second);
                    }
                }
            }
            .info {
                display: flex;
                justify-content: end;
                flex-wrap: wrap;
                gap: 12px 13px;
                width: 321px;
                margin-right: 30px;
                order: 4;
                a,
                p {
                    font-size: 14px;
                    line-height: 16px;
                    &.selected {
                        color: var(--second);
                    }
                    &:first-child {
                        letter-spacing: -0.28px;
                    }
                }
                .schedule {
                    display: none;
                }
            }
            nav,
            .info {
                position: relative;
                &::before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 0;
                    right: 0;
                    height: 1px;
                    transform: translateY(-50%);
                    background: var(--line);
                }
            }
        }
        .contacts {
            display: flex;
            flex-direction: column;
            gap: 4px;
            order: 5;
            & > a {
                margin-right: 4px;
                font-size: 14px;
                font-weight: 900;
                letter-spacing: 0.42px;
                line-height: 16px;
            }
        }
    }
    a.logo {
        display: flex;
        width: 100%;
        max-width: 118px;
        margin: 0 auto;
        order: 3;
    }
    .burger {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3px;
        width: 40px;
        height: 40px;
        margin-left: 20px;
        position: relative;
        z-index: 9;
        border-radius: 12px;
        background: var(--second);
        box-shadow: var(--box-shadow);
        cursor: pointer;
        transition: .2s linear;
        order: 6;
        span,
        &::after,
        &::before {
            cursor: pointer;
            content: '';
            width: 20px;
            height: 4px;
            border-radius: 1px;
            background: var(--main);
            transition: .2s linear .3s;
        }
        span {
            display: flex;
            transition-delay: .2s;
            &::before {
                content: '';
                width: 100%;
                height: 100%;
                background: inherit;
                transition: transform .2s linear;
            }
        }
        &.active {
            background: var(--text);
            &::before,
            &::after {
                width: 0;
                transition-delay: 0s;
            }
            span {
                transform: rotate(-45deg);
                transition-delay: 0s;
                width: 20px;
                &:before {
                    transition-delay: .2s;
                    transform: rotate(90deg);
                }
            }
        }
    }
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    a {
        color: var(--text-2);
        font-size: 14px;
        line-height: 16px;
        letter-spacing: -0.2px;
    }
    p {
        display: flex;
        align-items: center;
        gap: 7px;
        color: var(--second);
        font-size: 14px;
        line-height: 16px;
        letter-spacing: -0.2px;
        &::before {
            content: '';
            display: flex;
            width: 6px;
            min-width: 6px;
            height: 6px;
            border-radius: 2px;
            background: var(--second);
        }
    }
}
.page-404 {
    padding: 102px 0 140px;
    position: relative;
    background-size: 665px;
    background-position: 50% 54%;
    background-repeat: no-repeat;
    .breadcrumbs {
        margin-bottom: 364px;
    }
    .text {
        display: flex;
        flex-direction: column;
        align-items: center;
        h1 {
            color: var(--second);
            text-align: center;
            font-size: 24px;
            font-weight: 700;
            line-height: 100%;
            margin-bottom: 10px;
        }
        p {
            text-align: center;
            font-size: 24px;
            font-weight: 700;
            line-height: 100%;
        }
        p:has(a) {
            margin: 10px 0px 30px;
            font-size: 16px;
            font-weight: 400;
            line-height: 120%;
            a {
                margin-left: 6px;
                color: var(--second);
                text-align: center;
                font-weight: 700;
                line-height: 120%;
            }
        }
        & > a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 197px;
            padding: 16px;
            border-radius: 10px;
            background: var(--second);
            color: var(--main);
            font-size: 14px;
            font-weight: 400;
            line-height: 16px;
        }
    }
}
button.callback-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: var(--second);
    color: var(--main);
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.4px;
}
.social-media {
    display: flex;
    gap: 8px;
    a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: var(--social-icon-bg);
        &::before {
            font-family: 'icon';
            font-size: 19px;
            color: var(--second);
            transition: .3s linear;
        }
        &.telegram::before {
            content: '\e002';
        }
        &.youtube::before {
            content: '\e003';
        }
        &.instagram::before {
            content: '\e004';
        }
        &.tiktok::before {
            content: '\e005';
        }
    }
}
.preview-window {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    top: -100vh;
    right: 0;
    background: var(--window-bg);
    transition: .2s linear;
    &.show {
        top: 0;
    }
    .body {
        display: flex;
        width: 600px;
        height: 100%;
        position: absolute;
        right: 0px;
        background: var(--main);
        border-radius: 40px 0 0 40px;
        overflow: hidden;
        transition: .5s linear;
        .close {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
            position: absolute;
            z-index: 3;
            top: 10px;
            right: 10px;
            border: none;
            border-radius: 50%;
            background: var(--close-btn-bg);
            backdrop-filter: blur(5px);
            cursor: pointer;
            transform: rotate(45deg);
            &::before {
                content: '\e006';
                font-family: 'icon';
                font-size: 14px;
                color: var(--main);
            }
        }
        .arrow {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 70px;
            position: absolute;
            z-index: 2;
            top: 110px;
            background: var(--main);
            opacity: 1;
            transition: .2s linear;
            button {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 16px;
                height: 16px;
                border: none;
                background: var(--main);
                cursor: pointer;
                &::before {
                    content: '\e010';
                    font-family: 'icon';
                    color: var(--second);
                    margin-right: 5px;
                }
            }
            &::before,
            &::after {
                content: '';
                width: 20px;
                height: 20px;
                position: absolute;
            }
            &:has(.arrow-l) {
                left: 0;
                border-radius: 0 20px 20px 0;
                &::before {
                    left: 0;
                    top: -18px;
                    background: radial-gradient(circle at right top, transparent 20px, var(--main) 20px);
                }
                &::after {
                    left: 0;
                    bottom: -18px;
                    background: radial-gradient(circle at right bottom, transparent 20px, var(--main) 20px);
                }
            }
            &:has(.arrow-r) {
                right: 0;
                border-radius: 20px 0 0 20px;
                &::before {
                    right: 0;
                    top: -18px;
                    background: radial-gradient(circle at left top, transparent 20px, var(--main) 20px);
                }
                &::after {
                    right: 0;
                    bottom: -18px;
                    background: radial-gradient(circle at left bottom, transparent 20px, var(--main) 20px);
                }
                button:before {
                    margin-right: 0;
                    margin-left: 5px;
                    transform: rotate(180deg);
                }
            }
            &:has(.ws-arrow-disabled) {
                opacity: 0;
                .ws-arrow-disabled {
                    cursor: auto;
                }
            }
        }
        .slides {
            width: 100%;
            .slide {
                min-width: 100%;
                img {
                    /* height: 291px; */
                }
                .content {
                    display: flex;
                    flex-direction: column;
                    gap: 20px;
                    height: calc(100% - 400px);
                    padding: 40px;
                }
            }
        }
    }
}
.collaboration {
    padding: 74px 0;
    margin-bottom: 100px;
    background: url(../images/collaboration-bg.webp) center / 115% 100% no-repeat, var(--el-bg);
    h2 {
        margin-bottom: 4px;
    }
    p {
        margin-bottom: 20px;
        color: var(--text-2);
        font-size: 20px;
        font-weight: 700;
        line-height: 23px;
        letter-spacing: -0.2px;
        span {
            color: var(--second);
            font-size: 20px;
            font-weight: 700;
            line-height: 23px;
            letter-spacing: -0.2px;
        }
    }
    .callback-btn {
        max-width: 249px;
    }
}
.window-background {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 9999;
    top: -100vh;
    left: 0;
    background: var(--window-bg);
    transition: .3s linear;
    &.show {
        top: 0;
    }
    .window-body {
        position: relative;
        padding: 30px 29px;
        max-width: 560px;
        border-radius: 20px;
        background: var(--input-bg);
        .close {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 24px;
            height: 24px;
            position: absolute;
            top: 4px;
            left: calc(100% + 14px);
            background-color: var(--el-bg);
            border-radius: 50%;
            border: none;
            cursor: pointer;
            transition: .3s linear;
            &::before {
                content: '\e011';
                font-family: 'icon';
                font-size: 10px;
                line-height: 10px;
                color: var(--second);
                transition: .3s linear;
            }
        }
    }
    &.callback {
        form {
            display: flex;
            flex-direction: column;
            span {
                display: flex;
                padding-left: 10px;
                margin-bottom: 4px;
                font-size: 14px;
                font-weight: 400;
                line-height: 16px;
                letter-spacing: -0.028px;
            }
            input:not([type="submit"], [type="checkbox"]) {
                margin-bottom: 10px;
                padding: 10px;
                border-radius: 10px;
                border: 2px solid var(--input-bg);
                background: var(--main);
                line-height: 18px;
                letter-spacing: -0.032px;
                color: var(--text-3);
                transition: .3s linear;
                &:last-of-type {
                    margin-bottom: 30px;
                }
                &:focus {
                    border: 2px solid var(--second);
                }
                &.error {
                    border: 2px solid rgb(233, 0, 0);
                }
                &::placeholder {
                    color: var(--placeholder);
                    line-height: 18px;
                    letter-spacing: -0.032px;
                }
            }
            input[type="submit"] {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 15px 5px;
                margin: 20px 0 10px;
                border-radius: 10px;
                border: 1px solid var(--second);
                background: var(--second);
                color: var(--main);
                font-size: 14px;
                font-weight: 400;
                line-height: 16px;
                transition: .3s linear;
            }
            label {
                display: flex;
                align-items: center;
                gap: 10px;
                p,
                span {
                    display: block;
                    color: var(--text-2);
                    font-size: 12px;
                    font-weight: 300;
                    line-height: 14px;
                    letter-spacing: -0.2px;
                    text-align: left;
                    a {
                        font-size: 12px;
                        font-weight: 300;
                        line-height: 14px;
                        letter-spacing: -0.2px;
                        color: var(--second);
                    }
                }
            }
        }
    }
    &.submit-form {
        .window-body {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 40px 29px;
            p {
                font-size: 20px;
                line-height: 23px;
                &:first-of-type {
                    font-size: 22px;
                    font-weight: 600;
                }
            }
        }
    }
    &.cookie {
        padding-bottom: 75px;
        align-items: flex-end;
        display: none;
        &.show {
            display: flex;
        }
        .window-body {
            display: grid;
            grid-template-columns: 1fr 173px;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            padding: 30px 24px;
            p {
                font-size: 14px;
                line-height: 20px;
                &:first-of-type {
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 24px;
                }
                a {
                    color: var(--second);
                    font-weight: 500;
                    line-height: 24px;
                    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;
                }
            }
            .close {
                grid-area: 1/2/3/3;
                width: 100%;
                height: auto;
                padding: 12px;
                position: static;
                border-radius: 10px;
                background: var(--second);
                color: var(--main);
                font-size: 14px;
                font-weight: 500;
                line-height: 24px;
                letter-spacing: 0.42px;
                &::before {
                    display: none;
                }
            }
        }
    }
}
.seo-box {
    position: relative;
    display: grid;
    grid-template-rows: 0fr max-content;
    padding-block: 30px;
    transition: grid-template-rows .6s linear;
    * {
        color: var(--placeholder);
    }
    .seo-content {
        min-height: 50px;
        overflow: hidden;
        p,
        li,
        div {
            font-size: 12px;
            line-height: 16px;
        }
        ul,
        ol {
            margin-left: 23px;
            margin-block: 5px;
        }
        :is(h2, h3, h4, h5, h6) {
            margin-block: 5px;
            &:first-child {
                text-align: center;
                margin-top: 0;
            }
        }
        :is(h4, h5, h6) {
            font-size: 13px;
        }
        h3 {
            font-size: 14px;
        }
        h2 {
            font-size: 16px;
        }
    }
    button {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        padding-inline: 5px;
        background: none;
        border: none;
        &::before {
            content: '\e010';
            font: 12px / 14px 'icon';
            transform: rotate(-90deg);
            transition: transform 0.5s;
        }
    }
    &.open {
        grid-template-rows: 1fr max-content;
        button::before {
            transform: rotate(90deg);
        }
    }
}
footer {
    position: relative;
    padding: 50px 0;
    background-color: var(--input-bg);
    border-radius: 20px;
    &::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0%;
        height: 1px;
        background: var(--linear-gradient);
    }
    .wrapper {
        display: grid;
        grid-template-columns: 353px 255px 228px;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px 0;
        max-width: 1140px;
        margin: 0 auto;
        .info {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding-right: 100px;
            .logo {
                max-width: 138px;
            }
            p {
                color: var(--text-2);
                font-size: 14px;
                line-height: 16px;
                letter-spacing: -0.2px;
                &:last-child {
                    color: var(--text-3);
                }
            }
        }
        nav {
            .ws-menu {
                display: flex;
                flex-direction: column;
                gap: 10px;
                a,
                p {
                    color: var(--text-weight-600);
                    font-weight: 500;
                    line-height: 19px;
                    cursor: pointer;
                    transition: .3s linear;
                }
            }
        }
        .contacts {
            display: flex;
            flex-direction: column;
            gap: 10px;
            & > p,
            & > a {
                display: flex;
                align-items: center;
                gap: 6px;
                color: var(--text-weight-600);
                font-size: 14px;
                font-weight: 500;
                line-height: 16px;
                &::before {
                    content: '\e009';
                    font-family: 'icon';
                    font-size: 15px;
                    color: var(--second);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 28px;
                    min-width: 28px;
                    height: 28px;
                    border-radius: 8px;
                    background: var(--social-icon-bg);
                }
                &:nth-child(4)::before {
                    content: '\e008';
                }
            }
            p::before {
                content: '\e007';
            }
            .social-media {
                gap: 10px;
            }
            button {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 10px;
                padding-left: 39px;
                position: relative;
                border-radius: 10px;
                border: 1px solid var(--second);
                background: var(--input-bg);
                box-shadow: var(--box-shadow-hide);
                overflow: hidden;
                color: var(--second);
                font-weight: 700;
                line-height: 18px;
                letter-spacing: -0.032px;
                img {
                    width: 66px;
                    position: absolute;
                    top: -3px;
                    left: 5px;
                }
            }
        }
        .bottom {
            grid-area: 2/1/3/4;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 20px;
            border-top: 1px solid var(--line);
            span,
            a {
                display: flex;
                gap: 6px;
                color: var(--text-3);
                font-size: 12px;
                line-height: 100%;
                text-transform: uppercase;
            }
        }
        .acquiring {
            grid-area: 3/1/4/4;
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
    }
}
@media screen and (max-width: 1240px) {
    body {
        &:has(.window-background.show, .slide-preview.show, .news.active) {
            padding-right: 6px;
            header {
                left: 50%;
            }
        }

    }
    header.wrapper {
        flex-wrap: wrap;
        padding: 9px 13px 0;
        &:has(.burger.active) {
            .laptop-wrapper {
                max-height: 400px;
            }
        }
        .mobile-wrapper {
            button {
                margin-right: 24px;
            }
            .laptop-wrapper {
                display: grid;
                grid-template-columns: 1fr 1fr;
                width: 100%;
                max-height: 0;
                order: 8;
                overflow: hidden;
                transition: .4s linear;
                nav {
                    .ws-menu {
                        flex-direction: column;
                        justify-content: space-between;
                        gap: 20px;
                        height: 100%;
                        a {
                            display: flex;
                            align-items: center;
                            gap: 2px;
                            width: max-content;
                            font-size: 18px;
                            font-weight: 700;
                            line-height: 100%;
                            &::after {
                                content: '\e014';
                                font-family: 'icon';
                                font-size: 14px;
                                color: var(--second);
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                width: 24px;
                                height: 24px;
                            }
                        }
                    }
                }
                .info {
                    flex-direction: column;
                    align-items: end;
                    gap: 20px;
                    margin-right: 0;
                    a,
                    p {
                        display: flex;
                        align-items: center;
                        justify-content: end;
                        gap: 10px;
                        width: max-content;
                        text-align: right;
                        color: var(--text-2);
                        font-size: 16px;
                        line-height: 19px;
                        &::before {
                            content: '\e009';
                            font-family: 'icon';
                            font-size: 16px;
                            color: var(--second);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 32px;
                            min-width: 32px;
                            height: 32px;
                            border-radius: 12px;
                            border: 1px solid var(--main);
                            background: var(--social-icon-color);
                            box-shadow: var(--box-shadow);
                        }
                    }
                    p::before {
                        content: '\e007';
                    }
                    a:first-child {
                        gap: 2px;
                        font-size: 18px;
                        font-weight: 700;
                        line-height: 100%;
                        text-align: center;
                        color: var(--text);
                        &::before {
                            display: none;
                        }
                        &::after {
                            content: '\e014';
                            font-family: 'icon';
                            font-size: 14px;
                            color: var(--second);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 24px;
                            height: 24px;
                        }
                    }
                }
                nav,
                .info {
                    width: 100%;
                    margin: 58px 0 30px;
                    &::before {
                        display: none;
                    }
                }
            }
            .contacts {
                display: flex;
                flex-direction: column;
                gap: 4px;
                order: 5;
                & > a {
                    margin-right: 4px;
                    font-size: 14px;
                    font-weight: 900;
                    letter-spacing: 0.42px;
                    line-height: 16px;
                }
            }
        }
        .burger {
            display: flex;
        }
        a.logo {
            margin-bottom: 11px;
        }
    }
    .preview-window {
        .body {
            width: 500px;
            border-radius: 20px 0 0 20px;
            .slides {
                .slide {
                    img {
                        height: 231px;
                    }
                    .content {
                        padding: 20px;
                    }
                }
            }
        }
    }
    .collaboration {
        background: url(../images/collaboration-bg.webp) 40% top / 200% 100% no-repeat, var(--el-bg);
    }
    .window-background {
        &.cookie {
            .window-body {
                max-width: calc(100% - 40px);
                padding: 20px 15px;
            }
        }
    }
    footer {
        padding: 40px 0;
        .wrapper {
            grid-template-columns: 250px 205px 218px;
            .info {
                padding-right: 0px;
            }
            .bottom {
                width: 100%;
                flex-direction: column;
                gap: 4px;
                margin-bottom: 20px;
                span {
                    flex-direction: column;
                }
                a:not(:last-of-type) {
                    margin-top: 6px;
                    order: 3;
                }
            }
            .acquiring {
                grid-template-columns: 100%;
                img {
                    max-width: 600px;
                    margin: 0 auto;
                }
            }
        }
    }
}
@media screen and (max-width: 767px) {
    body {
        &:has(.window-background.show, .slide-preview.show, .news.active) {
            padding-right: 0px;
        }
    }
    h2 {
        font-size: 28px;
    }
    header.wrapper {
        top: 10px;
        padding: 9px 0 0;
        .phone-btn {
            display: flex;
            margin-bottom: 10px;
            margin-left: 10px;
        }
        &:has(.burger.active) {
            .mobile-wrapper {
                max-height: 800px;
            }
        }
        .mobile-wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-height: 0;
            order: 10;
            overflow: hidden;
            transition: .4s linear;
            .callback-btn {
                width: 100%;
                max-width: 335px;
                margin: 0 auto 10px;
                order: 8;
            }
            .laptop-wrapper {
                display: contents;
                nav {
                    margin: 58px 0 16px;
                    .ws-menu {
                        align-items: center;
                        gap: 16px;
                    }
                }
                .info {
                    display: contents;
                    a:first-child {
                        justify-content: center;
                        width: 100%;
                        padding-bottom: 30px;
                        margin: 0 auto 30px;
                        position: relative;
                        order: 2;
                        &::before {
                            content: '';
                            display: block;
                            width: 100%;
                            height: 1px;
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            background: var(--linear-gradient);
                        }
                    }
                    a:last-of-type {
                        margin: 0 auto 10px;
                        order: 4;
                    }
                    p {
                        margin: 0 auto 10px;
                        order: 5;
                    }
                    .schedule {
                        display: flex;
                        max-width: 290px;
                        text-align: center;
                        margin-bottom: 20px;
                        &::before {
                            content: '\e015';
                        }
                    }
                }
            }
            .contacts {
                display: contents;
                & > a {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 10px;
                    margin-bottom: 10px;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 19px;
                    color: var(--second);
                    order: 3;
                    &::before {
                        content: '\e008';
                        font-family: 'icon';
                        font-size: 16px;
                        color: var(--second);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 32px;
                        height: 32px;
                        border-radius: 12px;
                        border: 1px solid var(--main);
                        background: var(--social-icon-color);
                        box-shadow: var(--box-shadow);
                    }
                }
                .social-media {
                    order: 7;
                    margin: 0 auto 20px;
                }
            }
        }
        a.logo {
            max-width: 89px;
            margin-bottom: 10px;
        }
        .burger {
            margin-left: 0;
            margin-bottom: 10px;
            margin-right: 10px;
        }
    }
    .page-404 {
        padding: 80px 0 120px;
        background-size: 415px;
        background-position: 50% 36%;
        .breadcrumbs {
            margin-bottom: 274px;
        }
        .text {
            h1 {
                font-size: 20px;
                margin-bottom: 10px;
            }
            p {
                font-size: 20px;
            }
            p:has(a) {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
                a {
                    margin-left: 0px;
                }
            }
            & > a {
                max-width: 355px;
            }
        }
    }
    .preview-window {
        bottom: -100dvh;
        &.show {
            top: initial;
            bottom: 0;
            max-height: 100dvh;
        }
        .body {
            width: 100%;
            height: calc(100% - 103px);
            bottom: 0;
            border-radius: 10px 10px 0 0;
            .arrow {
                width: 18px;
                height: 42px;
                button {
                    width: 12px;
                    height: 12px;
                    &::before {
                        font-size: 10px;
                    }
                }
                &::before,
                &::after {
                    width: 10px;
                    height: 10px;
                }
                &:has(.arrow-l) {
                    border-radius: 0 9px 9px 0;
                    &::before {
                        top: -9px;
                        background: radial-gradient(circle at right top, transparent 9px, var(--main) 9px);
                    }
                    &::after {
                        left: 0;
                        bottom: -9px;
                        background: radial-gradient(circle at right bottom, transparent 9px, var(--main) 9px);
                    }
                }
                &:has(.arrow-r) {
                    right: 0;
                    border-radius: 9px 0 0 9px;
                    &::before {
                        right: 0;
                        top: -9px;
                        background: radial-gradient(circle at left top, transparent 9px, var(--main) 9px);
                    }
                    &::after {
                        right: 0;
                        bottom: -9px;
                        background: radial-gradient(circle at left bottom, transparent 9px, var(--main) 9px);
                    }
                }
            }
            .slides {
                .slide {
                    .content {
                        height: calc(100% - 231px);
                    }
                }
            }
        }
    }
    .window-background {
        &.cookie {
            .window-body {
                display: flex;
                flex-direction: column;
                justify-content: center;
                max-width: calc(100% - 20px);
                p {
                    text-align: center;
                    margin-bottom: 10px;
                }
                .close {
                    margin-top: 15px;
                    max-width: 355px;
                }
            }
        }
        .window-body {
            padding: 20px;
            max-width: 355px;
            width: calc(100% - 20px);
            .close {
                top: -32px;
                left: calc(100% - 28px);
            }
        }
    }
    .collaboration {
        padding: 305px 0 30px;
        margin-bottom: 80px;
        background: url(../images/collaboration-bg.webp) 71% top / 350% 272px no-repeat, var(--el-bg);
        p {
            span {
                display: flex;
            }
        }
        .callback-btn {
            max-width: 355px;
        }
    }
    footer {
        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            .info {
                order: -2;
                align-items: center;
                margin-bottom: 30px;
                p {
                    text-align: center;
                    max-width: 500px;
                    &:last-child {
                        color: var(--text-3);
                    }
                }
            }
            nav {
                margin-bottom: 20px;
                .ws-menu {
                    align-items: center;
                    a,
                    p {
                        text-align: center;
                    }
                }
            }
            .contacts {
                display: grid;
                grid-template-columns: 200px 160px;
                gap: 20px;
                order: -1;
                position: relative;
                padding-bottom: 20px;
                margin-bottom: 20px;
                &::after {
                    content: '';
                    height: 1px;
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    right: 0;
                    background: var(--linear-gradient);
                }
                .social-media {
                    grid-area: 1/2/2/3;
                }
                button {
                    grid-area: 3/1/4/3;
                    max-width: 250px;
                    width: 100%;
                    margin: 0 auto;
                }
            }
            .bottom {
                width: 100%;
                flex-direction: column;
                gap: 4px;
            }
        }
    }
}
@media screen and (max-width: 420px) {
    .wrapper {
        width: calc(100% - 20px);
    }
    header.wrapper {
        box-shadow: var(--box-shadow);
        .mobile-wrapper {
            .laptop-wrapper {
                nav {
                    padding-right: 10px;
                    .ws-menu {
                        align-items: end;
                    }
                }
                .info {
                    a:first-child {
                        padding-right: 10px;
                        justify-content: end;
                    }
                    a:last-of-type {
                        margin: 0 10px 8px;
                    }
                    p {
                        max-width: calc(100% - 20px);
                        margin: 0 10px 8px;
                    }
                    .schedule {
                        text-align: left;
                    }
                }
            }
            .contacts {
                & > a {
                    justify-content: start;
                    margin-bottom: 8px;
                    margin-left: 10px;
                }
                .social-media {
                    gap: 20px;
                }
            }
        }
    }
    .preview-window {
        .body {
            .arrow {
                top: 70px;
            }
            .slides {
                .slide {
                    img {
                        height: 182px;
                    }
                    .content {
                        height: calc(100% - 182px);
                    }
                }
            }
        }
    }
    footer {
        .wrapper {
            max-width: calc(100% - 40px);
            .info {
                align-items: start;
                p {
                    text-align: left;
                }
            }
            nav {
                width: 100%;
                .ws-menu {
                    align-items: start;
                    width: 100%;
                    a,
                    p {
                        text-align: left;
                    }
                }
            }
            .contacts {
                display: flex;
                flex-direction: column;
                gap: 10px;
                width: 100%;
                p {
                    max-width: 200px;
                }
                button {
                    max-width: 100%;
                    img {
                        left: calc(50% - 105px);
                    }
                }
            }
            .bottom {
                align-items: start;
            }
        }
    }
}
@media (hover:hover) {
    header {
        .mobile-wrapper {
            .laptop-wrapper {
                .ws-menu a:hover,
                .info a:hover {
                    color: var(--second);
                }
            }
            .contacts > a:hover {
                color: var(--second);
            }
        }
    }
    .breadcrumbs a:hover {
        color: var(--second);
    }
    .social-media a:hover {
        &::before {
            color: var(--btn-hover);
        }
    }
    .window-background {
        .window-body {
            .close:hover {
                background-color: var(--line);
                &::before {
                    color: var(--text);
                }
            }
            input[type="submit"]:hover {
                background: var(--btn-hover);
            }
        }
    }
    button.callback-btn:hover {
        background: var(--btn-hover);
    }
    .seo-button:hover {
        color: var(--btn-hover);
    }
    footer {
        nav .ws-menu a:hover,
        nav .ws-menu p:hover,
        .contacts > a:hover,
        .bottom a:hover {
            color: var(--second);
        }
        .contacts button:hover {
            box-shadow: var(--box-shadow);
        }
    }
}