@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


html {
    scroll-behavior: smooth;
    /* scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1; */
}

body {
    display: flex;
    justify-content: center;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.2;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--font-color-default);
    background-color: var(--white-2);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--background-scroll-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-hover);
}

:root {
    --primary-color: #4d6189;
    --secondary-color: #788eb4;
    --background-scroll-color: #788eb4;
    --gradient-background: linear-gradient(180deg, #423257 0%, #523873 48.56%, #423257 69.71%);
    --font-color-highlight: #423257;
    --font-color-default: #878C91;
    --font-color-white: #fff;
    --font-color-header: #010205;
    --font-color-question: #010205;
    --font-color-answer: #878C91;
    --black-1: #000;
    --black-2: #010205;
    --black-3: #878C91;
    --white-1: #ffffff;
    --white-2: #f9f9f9;
    --white-3: #F9F9FB;
    --gray-1: #878C91;
    --blue-1: #788EB4;
    --blue-2: #243568;
    --blue-3: #fff;
    --shadow-header: 0px 24.58px 58.52px 0px #95959514;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    cursor: pointer;
}

img {
    -webkit-user-drag: none;
    object-fit: contain;
    width: 100%;
}

.container-area {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 1080px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0px 5%;
    height: 100%;
}

button {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.35s;
    border-radius: 4px;

    &.create,
    &.border {
        color: var(--white-1);
        background: var(--black-1);
        border-radius: 50px;
        min-width: 244px;
        width: 244px;
        min-height: 56px;
        height: 56px;
        font-weight: 700;
        font-size: 16px;
        text-align: center;
        vertical-align: middle;

        svg {
            stroke: white;
        }

        &:hover {
            color: var(--black-1);
            background: var(--white-1);
            border: solid 1px var(--black-1);

            svg {
                stroke: var(--black-1) !important;
            }
        }
    }

    &.border {
        color: var(--black-1);
        background: var(--white-1);
        border: 1px solid var(--black-1);
        min-width: auto;
        width: 176px;

        &:hover {
            color: var(--white-1);
            background: var(--black-1);
        }
    }

    &.login,
    &.borderless {
        color: var(--black-1);
        border: none;
        text-align: center;
        font-weight: 600;
        font-size: 16px;
        text-decoration: underline;
        width: fit-content;

        &:hover {
            text-decoration: dashed;
        }
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black-1);
}

section,
header,
footer {
    display: flex;
    justify-content: center;
    width: 100%;
}


.area-1 {

    .container {
        .box {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            gap: 30px;
            width: 100%;

            @media screen and (max-width: 1130px) {
                flex-wrap: wrap;
                flex-direction: column;
                align-items: center;
            }

            @media screen and (max-width: 450px) {
                align-self: center;
                margin: auto;
            }

            .img {
                width: 45%;

                @media screen and (max-width: 1130px) {
                    width: 60%;
                }

                @media screen and (max-width: 800px) {
                    width: 80%;
                }

                img {
                    width: 100%;
                    max-height: 765px;
                }
            }

            .text {
                width: 45%;
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                @media screen and (max-width: 1130px) {
                    width: 80%;
                    align-items: center;
                }

                @media screen and (max-width: 405px) {
                    width: 100%;
                }

                .logo {
                    width: 387px;
                    margin: 60px 0;

                    img {
                        width: 100%;
                    }

                    @media screen and (max-width: 450px) {
                        width: 100%;
                    }
                }

                h1 {
                    font-weight: 600;
                    font-size: 72px;
                    line-height: 1.1;
                    letter-spacing: -0.03em;
                    max-width: 557px;

                    @media screen and (max-width: 1380px) {
                        font-size: 62px;
                    }

                    @media screen and (max-width: 1130px) {
                        text-align: center;
                    }

                    @media screen and (max-width: 650px) {
                        font-size: 52px;
                    }

                    @media screen and (max-width: 450px) {
                        font-size: 39px;
                    }
                }

                .text {
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 1.80;
                    letter-spacing: 0em;
                    max-width: 557px;
                    width: 100%;
                    margin: 35px 0;

                    @media screen and (max-width: 1380px) {
                        max-width: 485px;
                    }

                    @media screen and (max-width: 1130px) {
                        text-align: center;
                    }

                    @media screen and (max-width: 450px) {
                        text-align: center;
                    }
                }

                .box__button {
                    display: flex;
                    flex-direction: row;
                    width: 100%;
                    gap: 45px;

                    @media screen and (max-width: 1130px) {
                        justify-content: center;
                    }

                    @media screen and (max-width: 550px) {
                        flex-direction: column;
                        align-items: center;
                        gap: 15px;
                    }
                }
            }
        }
    }
}

.area-2 {
    .container {
        .box__container {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 65px 0;
            width: 100%;

            @media screen and (max-width: 1150px) {
                flex-wrap: wrap;
                justify-content: center;
                row-gap: 30px;
                column-gap: 60px;
            }

            @media screen and (max-width: 450px) {
                margin: 40px 0;
                max-width: 74%;
            }

            .box {
                width: 30%;
                max-width: 454px;
                min-width: 312px;
                display: flex;
                flex-direction: column;
                gap: 8px;

                @media screen and (max-width: 450px) {
                    min-width: 100%;
                }

                h2 {
                    font-weight: 600;
                    font-size: 48px;
                    line-height: 1.3;
                    letter-spacing: -0.03;
                }

                p {
                    font-weight: 700;
                    font-style: Bold;
                    font-size: 20px;
                    line-height: 1.80;
                    letter-spacing: 0;

                    @media screen and (max-width: 450px) {
                        font-size: 16px;
                        font-weight: 600;
                    }
                }

                &.b2,
                &.b3 {
                    p {
                        max-width: 331px;
                    }
                }
            }
        }
    }
}

.area-3 {
    .container {
        .box__banners {
            display: flex;
            flex-direction: row;
            gap: 15px;
            justify-content: center;
            align-items: flex-start;

            @media screen and (max-width: 1024px) {
                flex-direction: column;
                align-items: center;
            }

            .banner_1 {
                width: 35%;
                min-width: 300px;
                aspect-ratio: 438 / 382;

                @media screen and (max-width: 550px) {
                    width: 60%;
                    min-width: 280px;
                }
            }

            a {
                width: 65%;
                min-width: 450px;
                aspect-ratio: 856 / 444;

                @media screen and (max-width: 550px) {
                    width: 85%;
                    min-width: 280px;
                }
            }
        }
    }
}

.area-4 {
    .container {
        margin: 0px 1%;

        .box__banner {
            width: 100%;
            margin: 28px;

            img {
                width: 100%;
            }
        }
    }
}

.area-5 {
    .container {
        margin: 0px 1%;

        .box__banner {
            width: 100%;
            margin: 28px;

            @media screen and (max-width: 700px) {
                margin: 28px 28px 45px;
            }

            img {
                width: 100%;
            }
        }
    }
}

.area-6 {
    margin-top: 50px;

    .container {
        .box__footer {
            width: 100%;
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            h2,
            h3,
            h4 {
                color: var(--font-color-default);
            }

            a {
                color: var(--font-color-default);
            }

            @media screen and (max-width: 990px) {
                flex-wrap: wrap;
                justify-content: center;
                column-gap: 60px;
                row-gap: 30px;
            }

            .box {
                display: flex;
                flex-direction: column;

                &.about {
                    max-width: 534px;
                    width: 45%;
                    min-width: 400px;

                    @media screen and (max-width: 550px) {
                        min-width: 80%;
                    }

                    h3 {
                        font-family: Roboto;
                        font-weight: 800;
                        font-size: 14px;
                        line-height: 24px;
                        letter-spacing: 0;
                    }

                    p {
                        font-family: Roboto;
                        font-weight: 400;
                        font-size: 14px;
                        line-height: 24px;
                        letter-spacing: 0;
                    }

                    .box__social_media {
                        display: flex;
                        flex-direction: row;
                        align-self: flex-start;
                        justify-content: flex-start;
                        gap: 15px;
                        margin-top: 30px;
                    }
                }

                &.privacy {
                    max-width: 232px;
                    width: 25%;
                    min-width: 232px;

                    @media screen and (max-width: 770px) {
                        display: none;
                    }

                    h2 {
                        color: #000;
                        font-family: Roboto;
                        font-weight: 600;
                        font-size: 18px;
                        line-height: 1;
                        letter-spacing: -0.01em;
                    }
                }

                &.contact {
                    max-width: 303px;
                    width: 25%;
                    min-width: 251px;

                    @media screen and (max-width: 550px) {
                        min-width: 80%;
                        margin-bottom: 40px;
                    }

                    h2 {
                        color: #000;
                        margin-bottom: 35px;
                        font-family: Roboto;
                        font-weight: 600;
                        font-size: 18px;
                        line-height: 1;
                        letter-spacing: -0.01em;

                        @media screen and (max-width: 550px) {
                            margin-bottom: 10px;
                        }
                    }

                    .contacts {

                        .contact_box {
                            display: flex;
                            flex-direction: row;
                            gap: 5px;
                            margin: 10px 0;
                            align-items: center;

                            svg {
                                width: 25px;
                            }

                            p {
                                font-family: Roboto;
                                font-weight: 400;
                                font-size: 14px;
                                line-height: 1;
                                letter-spacing: -0.02em;
                            }

                            .location {
                                display: flex;
                                flex-direction: column;

                                p {
                                    @media screen and (max-width: 405px) {
                                        font-size: 12px;
                                    }
                                }
                            }

                            &.location {
                                .svg {
                                    align-self: flex-start;
                                }
                            }
                        }

                    }
                }
            }
        }
    }
}

.area-faq {

    .container {
        background: var(--white-1);
        border-radius: 28px;
        padding: 63px 83px;
        flex-direction: row;
        gap: 80px;
        margin: 0px 1%;

        @media screen and (max-width:890px) {
            padding: 45px 15px;
        }

        @media screen and (max-width:1255px) {
            flex-direction: column;
        }

        @media screen and (max-width: 405px) {
            padding: 16px 8px;
        }

        .box__title {
            min-width: 357px;
            display: flex;
            flex-direction: column;
            gap: 40px;
            align-self: flex-start;

            @media screen and (max-width:1255px) {
                align-self: center;
            }

            .faq-title {
                font-weight: 600;
                font-size: 48px;
                line-height: 1.30;
                letter-spacing: -0.03em;
                color: var(--font-color-header);

                max-width: 357px;
                align-self: flex-start;

                @media screen and (max-width:1255px) {
                    align-self: center;
                    max-width: 434px;
                    text-align: center;
                }

                @media screen and (max-width:550px) {
                    font-size: 33px;
                }

                @media screen and (max-width: 405px) {
                    font-size: 30px;
                }
            }

            .box__buttons {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                gap: 20px;

                @media screen and (max-width: 405px) {
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    margin-top: 30px;
                    gap: 15px;
                }
            }
        }


        h3 {
            font-size: 18px;
            font-weight: 400;
            text-align: center;
        }


        .faq-container {
            max-width: 801px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            /* gap: 5px; */
            padding-bottom: 25px;
            width: 100%;

            @media screen and (max-width:950px) {
                padding-top: 35px;
            }

            @media screen and (max-width: 405px) {
                padding-bottom: 15px;
            }

            hr {
                width: 100%;
                margin: 0;
                border: none;
                border-top: 1px solid #000;
                height: 1px;
            }

            .faq-item {
                border-radius: 4px;
                overflow: hidden;
                height: fit-content;


                &.active {
                    height: fit-content;


                    .faq-button span {
                        transition: all 0.35s linear;
                        color: #000;
                    }
                }

                .faq-button {
                    width: 100%;
                    padding: 22px 20px;
                    min-height: 36px;
                    display: flex;
                    justify-content: space-between;
                    background-color: var(--white-1);
                    align-items: center;
                    border: none;
                    cursor: pointer;
                    text-align: left;
                    gap: 15px;
                    outline: none;
                    box-shadow: none;
                    position: relative;
                    z-index: 10;

                    span {
                        color: var(--font-color-question) !important;
                        font-weight: 600;
                        font-size: 24px;
                        line-height: 1.50;
                        letter-spacing: -0.03em;
                        max-width: 448px;

                        @media screen and (max-width:550px) {
                            font-size: 21px;
                        }

                        @media screen and (max-width: 405px) {
                            font-size: 18px;
                        }
                    }

                    .toggle-icon {
                        svg {
                            transition: all 0.2s linear;
                            width: 24px;
                            height: 24px;
                        }
                    }
                }

                .answer {
                    padding: 0 20px;
                    text-align: left;
                    width: 100%;
                    color: var(--font-color-answer) !important;
                    position: relative;
                    z-index: 1;
                    top: 0px;
                    max-height: 273px;
                    transition: all 0.35s linear;
                    line-height: 1.80;
                    letter-spacing: 0;
                    font-weight: 500;
                    font-size: 16px;

                    @media screen and (max-width:550px) {
                        font-size: 15px;
                    }

                    @media screen and (max-width: 405px) {
                        font-size: 13px;
                    }

                    a,
                    h1,
                    h2,
                    span,
                    td,
                    p {
                        color: var(--font-color-answer) !important;
                        margin: 0px !important;
                        padding: 0px !important;
                        line-height: 1.80 !important;
                        letter-spacing: 0 !important;
                        font-weight: 500 !important;
                        font-size: 16px !important;
                        font-family: 'Plus Jakarta Sans', sans-serif !important;

                        @media screen and (max-width:550px) {
                            font-size: 15px !important;
                        }

                        @media screen and (max-width: 405px) {
                            font-size: 13px !important;
                        }
                    }

                    &.hidden {
                        top: -156px;
                        max-height: 0px;
                        transition: all 0.35s linear;
                    }

                    &:not(.hidden) {
                        padding-bottom: 18px;
                    }
                }
            }
        }
    }
}

.area-7 {
    background: var(--quaternary-color);

    .container {}
}

.area-footer {
    background: var(--background-color-white-1);

    .container {
        .box-footer {
            width: 100%;
            padding: 10px 0px;
            display: flex;
            font-weight: 600;
            justify-content: space-between;
            font-size: 14px;

            @media screen and (max-width:650px) {
                flex-direction: column;
                align-items: center;
                gap: 5px;
            }
        }
    }
}