@font-face {
    font-family: "Yanone";
    src: url(../fonts/Yanone/YanoneKaffeesatz-Light.woff2);
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Yanone";
    src: url(../fonts/Yanone/YanoneKaffeesatz-Regular.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Yanone";
    src: url(../fonts/Yanone/YanoneKaffeesatz-Bold.woff2);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Nunito";
    src: url(../fonts/Nunito/Nunito-Light.woff2);
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Nunito";
    src: url(../fonts/Nunito/Nunito-Regular.woff2);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Nunito";
    src: url(../fonts/Nunito/Nunito-Bold.woff2);
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "icon";
    src: url(../fonts/icon/icon.woff2);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: nunito;
    color: var(--dark);
}
html {
    scroll-behavior: smooth;
}
:root {
    --dark: #1E2B3C;
    --light: #fff;
    --light-blue: #f0f5f7;
    --green: #428f39;
    --light-text: #577877;
    --light-green: #f0f7f2;
    --accent: #FC6E40;
    --error-bg: #ffd6d6;
    --success-bg: #d1ffca;
    --success: #00a800;
    --shadow-1: 0 3px 6px rgba(0, 0, 0, .3);
    --gradient-1: linear-gradient(45deg, hsla(114, 43%, 39%, 1) 10%, hsla(114, 35%, 58%, 1) 60%);
    --gradient-1-webkit: -webkit-linear-gradient(45deg, hsla(114, 43%, 39%, 1) 10%, hsla(114, 35%, 58%, 1) 60%);
}
::before, ::after {
    font-weight: 100;
    border-radius: 60px;
}
h1 {
    font-family: Yanone;
    color: var(--dark);
    font-size: 50px;
    font-weight: 300;
    line-height: normal;
    &::after {
        content: '';
        display: block;
        background: var(--accent);
        width: 20%;
        height: 2px;
        border-radius: 20px;
    }
}
h2 {
    font-family: Yanone;
    color: var(--dark);
    font-size: 30px;
    font-weight: 300;
    line-height: 1.2;
    transition: .5s linear;
}
h3 {
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    font-family: Yanone, sans-serif;
    font-size: 20px;
}
a{
    text-decoration: none;
    font-weight: 400;
    transition: .2s linear;
    line-height: normal;
}
p {
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: var(--light-text);
    a {
        text-decoration: underline;
    }
}
ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    li {
        font-family: Nunito;
        line-height: normal;
        display: flex;
        a {
            text-decoration: underline;
        }
        span {
            color: var(--light-text);
        }
        &::before {
            content: '\e904';
            font-family: icon;
            font-size: 12px;
            color: var(--green);
            margin-right: 10px;
            padding: 6px;
        }
    }
}
ol {
    margin-left: 20px;
}
button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    font-family: Nunito;
    font-size: 16px;
    padding: 20px 10px;
    border-radius: 60px;
    background: none;
    cursor: pointer;
    transition: .3s;
}
img {
    display: block;
    width: 100%;
}
blockquote {
    color: var(--light);
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gradient-1);
    border-radius: 10px;
    &::before {
        font-family: icon;
        font-size: 50px;
        content: '\e902';
        color: inherit;
    }
}
input:focus{
    outline: none;
    border: none;
}
input, textarea {
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid var(--green);
    resize: vertical;
}
section {
    margin-bottom: 80px;
    &.wrapper {
        margin-bottom: 80px;
    }
}
.wrapper{
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    padding: 10px 20px;
    font-weight: 700;
    max-width: fit-content;
    &.green {
        background: var(--green);
        color: var(--light);
    }
    &.white {
        background: var(--light);
        color: var(--dark);
    }
    &.orange {
        background: var(--accent);
        color: var(--light);
        box-shadow: var(--shadow-1);
        font-size: 16px;
        width: 100%;
    }
}
.social {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    a, button {
        color: var(--green);
        display: flex;
        flex-direction: column;
        align-items: center;       
        font-size: 12px;    
        gap: 5px;           
        padding: 0;  
        &::before {
            font-family: icon;
            font-size: 30px;
            color: inherit;
        }
        &.viber {
            &::before {
                content: '\e907';
            }
        }
        &.whatsapp {
            &::before {
                content: '\e905';
            }
        }
        &.tg {
            &::before {
                content: '\e918';
            }
        }
        &.call-req-btn {
            &::before {
                content: '\e908';
            }
            &.active {
                color: var(--accent);
            }
        }
    }
}
.error-message {
    width: calc(100% - 40px);
    border-radius: 20px;
    background: var(--error-bg);
    color: red;
    padding: 10px;
    z-index: 999;
}
.mail-container {
    display: flex;
    gap: 5px;
    .copied {
        background: var(--success-bg);
        color: var(--success);
        font-size: 12px;
        padding: 4px 8px;
        border-radius: 6px;
        display: flex;
        height: fit-content;
    }
    .mail {
        font-size: 20px;
        margin-bottom: 10px;
        display: block;
        font-weight: 700;
        cursor: pointer;
    }
}
.show {
    position: relative;
    > span:first-child {
        display: flex;
        gap: 5px;
        padding: 0;
        color: var(--light);
        font-weight: 700;
        font-size: 15px;
        cursor: pointer;
        &::after {
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: icon;
            font-size: 13px;
            color: inherit;
            content: '\e900';
            transform: rotate(90deg);
            transition: .2s linear;
        }
    }
    .items {
        position: absolute;
        visibility: hidden;
        opacity: 0;
        top: 30px;
        right: 0;
        background: var(--light);
        box-shadow: var(--shadow-1);
        padding: 30px;
        z-index: 99;
        border-radius: 30px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transition: .4s linear;
    }
    &.contacts {
        .items{
            > a {
                font-weight: 700;
                &.phone-item {
                    font-size: 20px;
                }
            }
            p {
                margin-bottom: 10px;
                max-width: 180px;
            }
            nav {
                display: flex;
                flex-direction: column;
                gap: 5px;
                a, button {
                    padding: 0;
                    font-weight: 400;
                    justify-content: start;
                    max-width: fit-content;
                }
            }
            form {
                display: flex;
                flex-direction: column;
                gap: 20px;
                position: absolute;
                z-index: 9;
                background: var(--light-green);
                right: 10px;
                left: 10px;
                bottom: -100%;
                border-radius: 20px;
                padding: 20px;
                height: calc(100% - 20px);
                overflow-y: auto;
                box-shadow: var(--shadow-1);
                justify-content: space-between;
                transition: .2s linear;
                > input {
                    border: 1px solid var(--green);
                    background: var(--light);
                    border-radius: 20px;
                    padding: 10px 20px;
                    width: 100%;
                    outline: none;
                    &:focus {
                        border: 1px solid var(--accent);
                    }
                }
                h3 {
                    font-family: Nunito;
                    font-weight: 700;
                }
                > p {
                    max-width: 194px;
                }
                .policy {
                    display: flex;
                    gap: 10px;
                    label {
                        color: var(--light-text);
                        max-width: 220px;
                        font-size: 12px;
                    }
                }
                button {
                    align-self: end;
                    padding: 10px 50px;
                }
                &.active {
                    bottom: 10px;
                }
            }
        }
    }
    &.address {
        margin-left: auto;
        margin-right: 0;
        .items {
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 320px;
            button {
                color: var(--dark);
                font-size: 20px;
                font-weight: 700;
                padding: 0;
                justify-content: start;
                flex-direction: column;
                align-items: flex-start;
                span {
                    color: var(--dark);
                    display: block;
                    text-align: left;
                    color: var(--light-text);
                    font-weight: 400;
                }
                &:not(:last-child) {
                    &::after {
                        content: '';
                        width: 100%;
                        height: 1px;
                        background: #ccc;
                        display: block;
                    }
                    span {
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
    &.active {
        > a:first-child, > button:first-child {
            &::after {
                transform: rotate(270deg);
            }
        }
        .items {
            visibility: visible;
            opacity: 1;
        }
    }
}
.close {
    align-self: end;
    position: relative;
    width: 25px;
    height: 25px;
    cursor: pointer;
    &::before, &::after {
        content: '';
        display: flex;
        width: 25px;
        height: 2px;
        background: var(--green);
        border-radius: 2px;
        position: absolute;
        left: 50%;
        top: 50%;
    }
    &::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }
    &::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}
.not-found {
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    h1 {
        max-width: fit-content;
        margin-bottom: 20px;
        &::after {
            width: 100%;
        }
    }
}
.success-modal {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light);
    box-shadow: var(--shadow-1);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    p:first-child {
        color: var(--dark);
        font-size: 22px;
    }
}
.bottom-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    .items {
        display: none;
        align-items: center;
        justify-content: space-around;
        height: 50px;
        background: var(--light-green);
        box-shadow: var(--shadow-1);
        position: relative;
        margin-bottom: -50px;
        transition: .2s linear;
        .item {
            width: 25%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            &::before {
                font-family: icon;
                font-size: 22px;
                color: var(--green);
            }
            &.catalog-show::before {
                content: '\e917';
            }
            &.search::before {
                content: '\e901';
            }
            &.cart {
                position: relative;
                span {
                    position: absolute;
                    background: var(--green);
                    color: var(--light);
                    border-radius: 20px;
                    left: 50%;
                    top: 6px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 16px;
                    height: 16px;
                    font-size: 12px;
                    outline: 2px solid var(--light);
                    transition: .2s linear;
                    &.animation {
                        animation: addCart 1s ease-in-out;
                    }
                }
                &::before {
                    content: '\e919';
                }
            }
            &.callback::before {
                content: '\e90d';
            }
            .sub-menu {
                position: absolute;
                padding: 20px;
                background: var(--light);
                display: flex;
                flex-direction: column;
                top: 0;
                left: 10px;
                box-shadow: var(--shadow-1);
                border-radius: 20px;
                visibility: hidden;
                opacity: 0;
                transition: .2s linear;
                a {
                    padding: 10px;
                    color: var(--light-text);
                }
            }
            &.active {
                .sub-menu {
                    transform: translateY(calc(-100% - 10px));
                    visibility: visible;
                    opacity: 1;
                }
            }
        }
        &.active {
            margin-bottom: 0;
        }
    }
    .up {
        border-radius: 50px;
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
        background: var(--green);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        box-shadow: var(--shadow-1);
        visibility: hidden;
        cursor: pointer;
        transition: .2s linear;
        position: absolute;
        &::before {
            font-family: icon;
            font-size: 16px;
            color: var(--light);
            content: '\e909';
            transform: rotate(-90deg);
        }
        &.active {
            opacity: 1;
            visibility: visible;
        }
        &.menu {
            transform: translateY(-50px);
        }
    }
}
@keyframes addCart {
    0% {
        transform: scale(1);
    } 50% {
        transform: scale(1.5);
    } 100% {
        transform: scale(1);
    }
}
header {
    .top {
        background: var(--dark);
        .wrapper {
            display: flex;
            gap: 50px;
            padding: 15px 0;
            nav {
                .ws-menu {
                    display: flex;
                    gap: 12px;
                    div a {
                        color: var(--light);
                        font-weight: 700;
                        font-size: 15px;
                        word-spacing: 10px;
                    }
                }
            }
        }
    }
    .bottom {
        padding: 30px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        > .logo {
            display: flex;
            width: 190px;
            img {
                object-fit: contain;
            }
        }
        nav {
            margin: 0 auto;
            .ws-menu {
                display: flex;
                gap: 20px;
                div {
                    position: relative;
                    .sub-menu {
                        position: absolute;
                        padding: 20px;
                        box-shadow: var(--shadow-1);
                        background: var(--light);
                        max-width: fit-content;
                        display: flex;
                        flex-direction: column;
                        border-radius: 20px;
                        opacity: 0;
                        visibility: hidden;
                        z-index: 99;
                        pointer-events: none;
                        transition: .2s linear;
                        .item {
                            a {
                                white-space: nowrap;
                                color: var(--light-text);
                                font-weight: 400;
                                font-size: 16px;
                                padding: 10px;
                                border-radius: 10px;
                            }   
                        }
                        .sub-menu {
                            position: relative;
                            opacity: 1;
                            visibility: visible;
                            background: none;
                            box-shadow: none;
                            padding: 10px;
                            &::before {
                                content: '';
                                display: block;
                                height: 100%;
                                width: 2px;
                                position: absolute;
                                left: 0;
                                top: 0;
                                background: var(--accent);
                            }
                        }
                    }
                    a, p {
                        color: var(--dark);
                        font-size: 20px;
                        font-weight: 700;
                        display: flex;
                        gap: 5px;
                    }
                    &:has(.sub-menu) {
                        > p::after {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            font-family: icon;
                            font-size: 13px;
                            color: inherit;
                            content: '\e900';
                            transform: rotate(90deg);
                            transition: .2s linear;
                        }
                    }
                    &.active {
                        .sub-menu {
                            visibility: visible;
                            opacity: 1;
                            pointer-events: all;
                        }
                    }
                    &.hide {
                        display: none;
                    }
                    &.level-2 {
                        .sub-menu {
                            left: 0;
                        }
                    }
                }
            }
        }
        .items {
            display: flex;
            gap: 25px;
            a,button {
                color: var(--green);
                font-size: 12px;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-transform: lowercase;
                font-weight: 400;
                line-height: normal;
                padding: 0;
                &::before {
                    font-family: icon;
                    font-size: 24px;
                    display: flex;
                    transition: .2s linear;
                }
            }
            .search {
                position: relative;
                display: flex;
                > button::before {
                    content: '\e901';
                }
                .items {
                    display: flex;
                    position: absolute;
                    right: 40px;
                    bottom: -2px;
                    min-width: 0;
                    max-width: 0;
                    overflow: hidden;
                    transition: min-width .4s linear;
                    box-shadow: var(--shadow-1);
                    border-radius: 30px;
                    form {
                        width: 100%;
                        position: relative;
                        input {
                            width: 100%;
                            padding: 12px 12px 12px 50px;
                            &:focus {
                                border: 1px solid var(--green);
                            }
                        }
                        button {
                            position: absolute;
                            top: 5px;
                            left: 5px;
                            width: 40px;
                            height: calc(100% - 10px);
                            &::before {
                                content: '\e901';
                            }
                        }
                    }
                }
            }
            .cart {
                position: relative;
                span {
                    position: absolute;
                    background: var(--green);
                    color: var(--light);
                    border-radius: 20px;
                    right: 0;
                    top: -8px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 16px;
                    height: 16px;
                    font-size: 12px;
                    outline: 2px solid var(--light);
                    transition: .2s linear;
                    &.animation {
                        animation: addCart 1s ease-in-out;
                    }
                }
                &.active {
                    position: fixed;
                    top: 32px;
                    z-index: 999;
                }
                &::before {
                    content: '\e919';
                }
            }
            .search {
                &::before {
                    content: '\e901';
                }
            }
            .items {
                min-width: 800px;
                max-width: unset;
            }
        }
        .burger {
            display: none;
        }
    }
}
.banner {
    background: linear-gradient(45deg, rgba(30, 43, 60, .5) 0%, rgba(30, 43, 60, .5) 100%), url(../images/banner/banner.webp) center / cover no-repeat;
    padding: 80px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 550px;
    margin-bottom: 120px;
    h2 {
        margin-bottom: 40px;
        font-size: 96px;
        letter-spacing: 1px;
        color: var(--light);
        font-weight: 700;
        &::after {
            content: none;
        }
    }
    p {
        color: var(--light);
        font-weight: 700;
        font-size: 20px;
        margin-bottom: 20px;
    }
    button {
        margin-bottom: 60px;
        max-width: 400px;
        padding: 18px 20px;
    }
    .clients {
        transform: translateY(40px);
        height: 150px;
        overflow: hidden;
        background: var(--light-blue);
        padding: 20px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        box-shadow: var(--shadow-1);
        .slides {
            display: flex;
            align-items: center;
            gap: 20px;
            height: 80px;
            div {
                min-width: calc(25% - 15px);
                height: 100%;
                img {
                    height: 100%;
                    object-fit: contain;
                }
            }
        }
    }
}
.form {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 43, 60, .5);
    visibility: hidden;
    opacity: 0;
    transition: .4s linear;
    .items {
        display: flex;  
        box-shadow: var(--shadow-1);
        background: var(--light);
        border-radius: 20px;
        padding: 40px;
        gap: 40px;
        max-width: 800px;
        width: calc(100% - 40px);
        overflow: hidden;
        position: relative;
        .policy {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            label {
                color: var(--light-text);
                max-width: 250px;
                font-size: 12px;
            }
        }
        button[type="submit"] {
            margin-top: 20px;
        }
        > div, > form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex: 1 1 0px;
            &.address-select {
                display: flex;
                flex-direction: column;
                gap: 20px;
                position: absolute;
                background: var(--light);
                border-radius: 20px;
                padding: 30px 20px;
                left: -50%;
                top: 10px;
                bottom: 10px;
                box-shadow: var(--shadow-1);
                height: fit-content;
                width: 50%;
                z-index: 9;
                transition: .4s linear;
                button {
                    color: var(--dark);
                    font-size: 20px;
                    font-weight: 700;
                    padding: 0;
                    justify-content: start;
                    flex-direction: column;
                    align-items: flex-start;
                    span {
                        color: var(--dark);
                        display: block;
                        text-align: left;
                        color: var(--light-text);
                        font-weight: 400;
                    }
                    &:not(:last-child) {
                        &::after {
                            content: '';
                            width: 100%;
                            height: 1px;
                            background: #ccc;
                            display: block;
                        }
                        span {
                            margin-bottom: 20px;
                        }
                    }
                }
                &.active {
                    left: 10px;
                }
            }
            &.left {
                a, span {
                    &.phone-item {
                        color: var(--dark);
                        font-size: 20px;
                        font-weight: 700;
                    }
                    &.mail {
                        font-size: 20px;
                        font-weight: 700;
                        margin-bottom: 20px;
                        cursor: pointer;
                    }
                }
                p {
                    max-width: 190px;
                }
                .social {
                    margin-bottom: 20px;
                }
                span {
                    &.address-item {
                        font-size: 20px;
                        font-weight: 700;
                    }
                }
                button {
                    &.change {
                        color: var(--green);
                        font-size: 14px;
                        font-weight: 400;
                        padding: 0;
                    }    
                }
            }
            &.right {
                h2 {
                    font-family: Nunito;
                    font-weight: 700;
                    font-size: 20px;
                    &::after {
                        content: none;
                    }
                }
                > p {
                    max-width: 220px;
                }
                > input, textarea {
                    border: 1px solid var(--green);
                    background: var(--light);
                    border-radius: 20px;
                    padding: 10px 20px;
                    width: 100%;
                    outline: none;
                    &:focus {
                        border: 1px solid var(--accent);
                    }
                }
                textarea {
                    min-height: 140px;
                    max-height: 240px;
                    overflow: hidden;
                }
            }
            &.call-req-form {
                position: absolute;
                right: -50%;
                top: 10px;
                bottom: 10px;
                background: var(--light-green);
                border-radius: 12px;
                padding: 20px;
                width: 50%;
                box-shadow: var(--shadow-1);
                z-index: 9;
                transition: .4s linear;
                h3 {
                    font-family: Nunito;
                    font-weight: 700;
                }
                > p {
                    max-width: 194px;
                }
                &.active {
                    right: 10px;
                }
            }
            &.close {
                position: absolute;
                top: 20px;
                right: 20px;
                width: 25px;
                z-index: 1;
            }
        }
    }
    &.active {
        visibility: visible;
        opacity: 1;
    }
}
.faq {
    margin-bottom: 40px;
    .head {
        display: flex;
        gap: 10px;
        margin-bottom: 40px;
        flex-direction: column;
        h2 {
            display: flex;
            flex-direction: column;
            gap: 5px;
            max-width: fit-content;
            &::after {
                content: "";
                display: flex;
                align-self: flex-start;
                width: 45%;
                height: 2px;
                background: var(--accent);
            }
        }
    }
    .items {
        display: flex;
        width: 100%;
        gap: 80px;
        .questions {
            width: 70%;
            display: flex;
            flex-direction: column;
            gap: 10px;
            .item {
                border-radius: 20px;
                border: 1px solid var(--light-green);
                .title {
                    padding: 20px;
                    display: flex;
                    justify-content: space-between;
                    transition: .2s linear;
                    border-radius: 19px;
                    cursor: pointer;
                    span {
                        height: 18px;
                        min-width: 18px;
                        max-width: 18px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        position: relative;
                        &::before, &::after {
                            content: '';
                            position: absolute;
                            background: var(--green);
                            border-radius: 2px;
                        }
                        &::before {
                            width: 100%;
                            height: 2px;
                            left: 0;
                            top: 50%;
                            transform: translateY(-50%);
                        }
                        &::after {
                            width: 2px;
                            height: 100%;
                            top: 0;
                            left: 50%;
                            transform: translateX(-50%);
                            transition: .3s linear;
                        }
                    }
                }
                .info {
                    max-height: 0;
                    overflow: hidden;
                    opacity: 0;
                    transition: .3s linear;
                    .inner {
                        padding: 10px 20px 20px;
                    }
                }
                &.active {
                    box-shadow: var(--shadow-1);
                    .title {
                        span {
                            &::after {
                                opacity: 0;
                                visibility: hidden;
                                transform: translateX(-50%) rotate(90deg);
                            }
                        }
                    }
                    .info {
                        opacity: 1;
                    }
                }
            }
        }
        .partnership {
            max-width: 460px;
            width: 100%;
            border-radius: 20px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            background: var(--light-green);
            border: 1px solid var(--green);
            gap: 20px;
            justify-content: center;
            position: sticky;
            top: 20px;
            height: fit-content;
        }
    }
}
.cookies-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--light);
    box-shadow: var(--shadow-1);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 999;
    h3 {
        font-size: 24px;
        color: var(--dark);
        margin-bottom: 10px;
    }
    p {
        font-size: 16px;
        color: var(--light-text);
        margin-bottom: 20px;
        a {
            font-size: inherit;
            color: var(--dark);
        }
    }
    .close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 25px;
        z-index: 1;
    }
}
.search-form {
    position: fixed;
    background: rgba(30, 43, 60, .9);
    padding: 20px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    align-items: center;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: .2s linear;
    will-change: max-height;
    height: 100%;
    max-height: 0;
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
    .close {
        &::before, &::after {
            background: var(--light);
        }
    }
    form {
        display: flex;
        position: relative;
        margin: auto;
        input {
            background: none;
            border: none;
            border-radius: 0;
            border-bottom: 2px solid var(--light);
            width: 100%;
            font-size: 22px;
            color: var(--light);
            &::placeholder {
                color: var(--light);
            }
        }
        button {
            position: absolute;
            right: 10px;
            padding: 10px;
            color: var(--light);
            &::before {
                font-family: icon;
                content: '\e901';
                font-size: 22px;
            }
        }
    }
    &.active {
        display: flex;
        max-height: 100vh;
        visibility: visible;
        opacity: 1;
    }
}
.call-to-action {
    background: var(--gradient-1);
    background: var(--gradient-1-webkit);
    height: 160px;
    display: flex;
    align-items: center;
    .wrapper {
        max-width: 966px;
        display: flex;
        gap: 120px;
        h2 {
            color: var(--light);
            font-size: 50px;
            width: 100%;
            &::after {
                content: none;
            }
        }
        button {
            font-size: 16px;
            max-width: 360px;
            height: 60px;
            align-self: center;
        }
    }
}
footer.old {
    background: var(--dark); 
    padding: 50px 0 20px;
    .wrapper {
        display: flex;
        gap: 80px;
        .logo {
            max-width: 200px;
            width: 100%;
        }
        .us {
            width: 38%;
            display: flex;
            flex-direction: column;
            gap: 15px;
            > p:first-child {
                margin-bottom: 20px;
                color: var(--light);
            }
            > a, p, > button {
                font-size: 16px;
                padding: 0;
                color: var(--light);
            }
            > div {
                > a, > button {
                    display: flex;
                    gap: 10px;
                    align-items: center;
                    &::before {
                        font-family: icon;
                        font-size: 22px;
                    }
                    &::after {
                        font-family: icon;
                        font-size: 22px;
                        content: '\e904';
                    }
                }
                &.show {
                    .items {
                        bottom: 30px;
                        top: auto;
                        > p {
                            color: var(--light-text);
                        }
                        form {
                            > p {
                                color: var(--light-text);
                            }
                        }
                    }
                }
                &.address {
                    margin-left: 0;
                    > button::before {
                        content: '\e902';
                        font-family: icon;
                    }
                }
                &.contacts {
                    >   button::before {
                        content: '\e902';
                        font-family: icon;
                    }
                }
            }
            > .mail, > .callback {
                display: flex;
                gap: 10px;
                justify-content: start;
                &::before {
                    font-family: icon;
                    font-size: 22px;
                }
            }   
            > .mail::before {
                content: '\e90c';
            }
            > .callback {
                margin-bottom: 20px;
                &::before {
                    content: '\e903';
                }
            }
        }
        .info, .catalog {
            width: 25%;
            display: flex;
            flex-direction: column;
            gap: 20px;
            * {
                color: var(--light);
            }
            h2 {
                font-family: Yanone;
                font-weight: 700;
                max-width: fit-content;
                &::after {
                    content: '';
                    width: 100%;
                    height: 2px;
                    display: flex;
                    background: var(--accent);
                }
            }
            nav {
                .ws-menu {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                }
            }
        }   
    }
    .dev.wrapper {
        display: flex !important;
        margin-top: 20px;
        align-items: center;
        justify-content: end;
        padding-right: 80px;
        .info {
            display: grid;
            grid-template-columns: 60px auto;
            gap: 0 20px;
            width: fit-content;
            img {
                max-width: 60px;
                grid-row: span 2;
            }
            a {
                color: var(--light);
                font-size: 20px;
                align-self: start;
            }
            p {
                font-size: 14px;
                color: var(--light-text);
                align-self: end;
            }
        }
    }
}
footer.new {
    background: var(--dark); 
    .wrapper {
        padding: 80px 0 120px;
        display: flex;
        gap: 80px;
        * {
            color: var(--light);
            font-size: 14px;
        }
        ul {
            li {
                &::before {
                    content: '';
                    padding: 0;
                    min-width: 4px;
                    height: 4px;
                    background: var(--light);
                    justify-self: center;
                    margin-top: 7px;
                    margin-right: 7px;
                }
            }
        }
        .company {
            max-width: 380px;
            .logo {
                max-width: 220px;
                width: 100%;
                display: flex;
                margin-bottom: 40px;
            }
            ul {
                margin-bottom: 80px;
            }
            .locality {
                .address-select {
                    display: flex;
                    justify-content: space-between;
                    position: relative;
                    padding-bottom: 5px;
                    align-items: center;
                    button {
                        padding: 5px 5px;
                        font-family: 'Yanone', sans-serif;
                        font-size: 20px;
                        font-weight: 300;
                        &.active {
                            color: var(--accent);
                        }
                    }
                    &::before {
                        font-family: icon;
                        font-size: 20px;
                        color: var(--accent);
                        content: '\e90b';
                        margin-right: 10px;
                    }
                    &::after {
                        content: '';
                        width: 100%;
                        height: 1px;
                        background: var(--accent);
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        border-radius: 1px;
                    }
                }
                .info {
                    margin-top: 20px;
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                }
            }
        }
        .site-menu {
            width: 100%;
            display: flex;
            justify-content: space-between;
            gap: 40px;
            flex-wrap: wrap;
            > div {
                display: block;
                h2 {
                    font-size: 32px;
                    position: relative;
                    margin-bottom: 40px;
                    font-weight: 300;
                    max-width: fit-content;
                    &::after {
                        content: '';
                        width: 100%;
                        height: 1px;
                        background: var(--accent);
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        border-radius: 1px;
                    }
                }
                a {
                    position: relative;
                    &:hover {
                        color: var(--accent);
                    }
                }
                ul {
                    li {
                        line-height: 30px;
                        a {
                            text-decoration: none;
                        }
                    }
                }
                .ws-menu {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    .item {
                        a {
                            display: flex;
                            &::before {
                                content: '';
                                padding: 0;
                                min-width: 4px;
                                height: 4px;
                                background: var(--light);
                                justify-self: center;
                                margin-top: 7px;
                                margin-right: 7px;
                            }
                        }
                    }
                }
            }
            .other {
                display: flex;
                flex-direction: column;
                gap: 60px;
            }
        }
    }
    .bottom {
        background: #000;
        width: 100%;
        .wrapper {
            padding: 30px 0;
            p {
                color: var(--light);
                font-size: 16px;
            }
            .developer {
                display: flex;
                gap: 20px;
                a.text {
                    max-width: 160px;
                    color: rgba(255, 255, 255, .5);
                }
                a {
                    max-width: 140px;
                    img {
                        width: 100%;
                        display: flex;
                    }
                }
            }
        }
    }
}
@keyframes bounce1 {
    0%, 20%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce2 {
    0%, 20%, 100% {
        transform: translateX(-10px) translateY(0);
    }
    50% {
        transform: translateX(-10px) translateY(-20px);
    }
}

@keyframes bounce3 {
    0%, 20%, 100% {
        transform: translateX(-20px) translateY(0);
    }
    50% {
        transform: translateX(-20px) translateY(-20px);
    }
}
@media screen and (max-width: 1360px) {
    .wrapper {
        width: calc(100% - 40px);
    }
    header {
        .bottom {
            justify-content: start;
            > .logo {
                width: 140px;
            }
            nav {
                .ws-menu {
                    gap: 15px;
                    div {
                        a, p {
                            font-size: 17px;
                        }
                    }
                }
            }
            .items {
                gap: 15px;
            }
        }
    }
}
@media screen and (max-width: 1279px) {
    blockquote {
        &::before {
            font-size: 30px;
        }
    }
    .faq {
        .items {
            flex-direction: column;
            gap: 20px;
            .questions {
                width: 100%;
            }
            .partnership {
                align-items: center;
                max-width: unset;
            }
        }
    }
    footer.old {
        padding: 60px 0;
        .wrapper {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            .logo {
                grid-column: span 2;
            }
            .us {
                grid-column: span 2;
                width: 100%;
                margin-bottom: 40px;
                > div {
                    max-width: fit-content;
                    &.show {
                        .items {
                            left: 0;
                            right: auto ;
                        }
                    }
                }
            }
            .info, .catalog {
                width: 100%;
            }
        }
    }
    footer.new {
        .wrapper {
            .site-menu {
                flex-direction: column;
                .other {
                    gap: 40px;
                }
            }
        }
        .bottom {
            .wrapper {
                flex-direction: column;
                gap: 40px;
            }
        }
    }
}
@media screen and (max-width: 767px) {
    h1 {
        font-size: 40px;
    }
    .bottom-menu {
        .items {
            display: flex;
        }
    }
    .success-modal {
        width: calc(100% - 40px);
        p:first-child {
            color: var(--dark);
            font-size: 22px;
        }
    }
    header {
        position: relative;
        z-index: 999;
        .top {
            .wrapper {
                display: grid;
                grid-template-columns: repeat(2, max-content);
                gap: 20px 50px;
                nav {
                    display: none;
                }
                .show {
                    .items {
                        left: 0;
                    }
                    &.contacts  {
                        .items {
                            width: fit-content;
                        }
                    }
                }
            }
        }
        .bottom {
            background: var(--light);
            nav {
                position: absolute;
                right: 0;
                top: 118px;
                z-index: -1;
                max-width: 320px;
                padding: 40px 10px 40px 30px;
                background: var(--light);
                border-radius: 20px 0 0 20px;
                transform: translateY(calc(-100% - 3px));
                visibility: hidden;
                opacity: 0;
                transition: .4s linear;
                margin: 0;
                .ws-menu {
                    flex-direction: column;
                    div {
                        .sub-menu {
                            position: relative;
                            max-height: 0;
                            height: 100%;
                            overflow: hidden;
                            padding: 0;
                            background: none;
                            box-shadow: none;
                            border-radius: 0;
                            .item {
                                a {
                                    white-space: wrap;
                                }
                                .sub-menu {
                                    position: relative;
                                    padding: 10px 10px 0;
                                    .item {
                                        margin-left: 2px;
                                    }
                                    &::before {
                                        content: '';
                                        position: absolute;
                                        height: 100%;
                                        width: 2px;
                                        background: var(--accent);
                                        border-radius: 2px;
                                    }
                                }
                            }
                        }
                        &.active {
                            p {
                                margin-bottom: 5px;
                                color: var(--accent);
                                &::after {
                                    transform: rotate(270deg);
                                }
                            }
                            .sub-menu {
                                opacity: 1;
                                visibility: visible;
                                max-height: 600px;
                            }
                        }
                        &.hide {
                            display: block;
                        }
                    }
                }
                &.active {
                    transform: translateY(30px);
                    visibility: visible;
                    opacity: 1;
                    box-shadow: var(--shadow-1);
                }
            }
            .items {
                display: none;
            }
            .burger {
                display: flex;
                flex-direction: column;
                width: 24px;
                gap: 6px;
                margin-right: 0;
                margin-left: auto;
                position: relative;
                width: 34px;
                height: 40px;
                align-items: center;
                justify-content: center;
                max-height: 18px;
                span {
                    display: flex;
                    width: 24px;
                    height: 2px;
                    background: var(--green);
                    position: absolute;
                    top: 8px;
                    border-radius: 2px;
                }
                &::before, &::after {
                    border-radius: 2px;
                    position: absolute;
                    content: '';
                    width: 24px;
                    height: 2px;
                    background: var(--green);
                    transition: 0.2s ease-in-out;
                }
                &::before {
                    top: 0;
                }
                &::after {
                    top: 16px;
                }
                &.active {
                    span {
                        opacity: 0;
                    }
                    &::before {
                        transform: rotate(45deg);
                        top: 50%;
                    }
                    &::after {
                        transform: rotate(-45deg);
                        top: 50%;
                    }
                }
            }
        }
    }
    .banner {
        height: auto;
        h2 {
            font-size: 32px;
            margin-bottom: 20px;
        }
        p {
            &:first-of-type {
                font-size: 22px;
                margin-bottom: 20px;
            }
            &:last-of-type {
                font-size: 18px;
                text-align: center;
                width: calc(100% - 40px);
            }
        }
        button {
            max-width: 320px;
        }
        .clients {
            .slides {
                div {
                    min-width: 40%;
                }
            }
        }
    }
    .call-to-action {
        height: auto;
        padding: 40px 0;
        .wrapper {
            flex-direction: column;
            gap: 40px;
            h2 {
                align-self: center;
                width: fit-content;
                text-align: center;
            }
        }
    }
    .cookies-banner {
        max-width: unset;
        width: calc(100% - 40px);
    }
    footer.old {
        .wrapper {
            .info, .catalog {
                grid-column: span 2;
            }
        }
    }
    footer.new {
        .wrapper {
            flex-direction: column;
            padding: 80px 0 60px;
            .site-menu {
                > div {
                    h2 {
                        font-size: 26px;
                        margin-bottom: 20px;
                    }
                }
            }
            .company {
                .locality {
                    .address-select {
                        button {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
        .bottom {
            .wrapper {
                a.text {
                    font-size: 14px;
                }
            }
        }
    }
    .form {
        .items {
            width: calc(100% - 40px);
            flex-direction: column;
            gap: 40px;
            height: 90vh;
            overflow: hidden auto;
            > div, > form {
                width: 100%;
                &.address-select {
                    width: calc(100% - 20px);
                    left: -100%;
                }
                &.left {
                    .social {
                        margin-bottom: 0;
                    }
                }
                &.call-req-form {
                    width: calc(100% - 60px);
                    position: fixed;
                    height: fit-content;
                    right: -100%;
                    top: auto;
                    bottom: calc(5vh + 10px);
                    &.active {
                        right: 30px;
                    }
                }
            }
        }
    }
}
@media screen and (max-width: 479px) {
    .show {
        .items {
            padding: 20px;
        }
        &.address {
            .items {
                width: 100%;
            }
        }
        &.contacts {
            .items {
                width: 100%;
            }
        }
    }
    .social {
        gap: 10px;
        & a, & button {
            &::before {
                font-family: icon;
                font-size: 26px;
                color: inherit;
            }
        }
    }
    .form {
        .items {
            padding: 60px 20px;
        }
    }
    header {
        .top {
            .wrapper {
                display: flex;
                flex-direction: column;
                nav {
                    .ws-menu {
                        div a {
                            word-spacing: 5px;
                        }
                    }
                }
                > div {
                    margin-left: 0;
                }
            }
        }
        .bottom {
            nav {
                &.active {
                    transform: translateY(70px);
                }
            }
        }
    }
    footer {
        .wrapper {
            .us {
                > div {
                    max-width: unset;
                    width: 100%;
                }
            }
        }
    }
}
@media screen and (hover: hover) {
    .btn {
        &.white:hover {
            transform: scale(1.1);
        }
        &.orange:hover {
            color: var(--accent);
            outline: 1px solid var(--accent);
            background: var(--light);
            &::before {
                color: var(--accent);
            }
        }
        &.green:hover {
            color: var(--green);
            outline: 1px solid var(--green);
            background: var(--light);
            &::before {
                color: var(--green);
            }
        }
    }
    .social {
        a, button {
            &:hover {
                color: var(--accent);
            }
        }
    }
    .up:hover {
        outline: 1px solid var(--green);
        background: var(--light);
        &::before {
            color: var(--green);
        }
    }
    header {
        .bottom {
            nav > .ws-menu > .item {
                > .sub-menu {
                    .item {
                        a:hover {
                            color: var(--dark);
                            background: var(--light-green);
                        }
                    }   
                }
                &:hover {
                    pointer-events: all;
                    .sub-menu {
                        pointer-events: all;
                    }
                    > a {
                        color: var(--accent);
                    }
                    > .sub-menu {
                        opacity: 1;
                        visibility: visible;
                    }
                    &:has(.sub-menu) {
                        > p::after {
                            transform: rotate(270deg);
                        }
                    }
                }
                &.level-2:hover {
                    .sub-menu {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
            .items {
                .search:hover {
                    color: var(--accent);
                    &::before {
                        transform: translateY(-4px);
                    }
                }
                a:hover {
                    color: var(--accent);
                    span {
                        background: var(--accent);
                    }
                    &::before {
                        transform: translateY(-4px);
                    }
                }
            }
        }
    }
    .show {
        &:hover { 
            > span:first-child {
                &::after {
                    transform: rotate(270deg);
                }
            }
            .items {
                visibility: visible;
                opacity: 1;
            }
        }
    }
    .promo {
        .left button:hover {
            color: var(--accent);
            background: var(--light);
            outline: 1px solid var(--accent);
            img:nth-child(1) {
                animation: bounce1 1.5s ease-in-out 0s infinite;
            }
            img:nth-child(2) {
                animation: bounce2 1.5s ease-in-out 0.375s infinite;
            }
            img:nth-child(3) {
                animation: bounce3 1.5s ease-in-out 0.75s infinite;
            }
        }
        .items {
            .start a:hover {
                transform: scale(1.1);
            }
        }
    }
    .faq .items .questions .item {
        .title {
            &:hover {
                background: var(--light-green);
            }
        }
    }
}