:root{
    --color-primary: rgba(51, 51, 51, 1);

    --color-green: rgba(74, 174, 31, 1);
    --color-text-white: rgba(255, 255, 255, 1);
    --color-text-purple: rgba(143, 95, 232, 1);
    --color-soft-purple: rgba(243, 236, 255, 1);
    --color-brand-purple: rgba(143, 95, 232, 1);

    --color-text-spb-sky-0: rgba(246, 246, 246, 1);
    --color-text-spb-sky-2: rgba(106, 114, 130, 1);
    --color-text-spb-sky-3: rgba(99, 99, 99, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--color-primary);
}

a{
    transition: .2s;
    text-decoration: none;
}

ul{
    list-style: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
}

.header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.header .logo-title{
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
}

.header .phone-text{
    font-size: 15px;
    font-weight: 500;
}

.full-width{
    width: 100%;
}

.f-r{
    display: flex;
    align-items: center;
}

.f-c{
    display: flex;
    flex-direction: column;
}

.g-8{
    gap: 8px;
}

.g-12{
    gap: 12px;
}

.g-16{
    gap: 16px;
}

.g-20{
    gap: 20px;
}

.g-24{
    gap: 24px;
}

.g-32{
    gap: 32px;
}

.g-64{
    gap: 64px;
}


.banner-section{
    background-position: right;
    background-repeat: no-repeat;
}

.banner{
    width: 100%;
    max-width: 920px;
    height: 800px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.banner-title{
    font-size: 52px;
    font-weight: 700;
    line-height: 64px;
}
.banner-description{
    font-size: 20px;
    line-height: 28px;
}

.btn-link{
    background-color: var(--color-green);
    padding: 12px 24px;
    border-radius: 32px;

    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.btn-link .label{
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var(--color-text-white);
}
.btn-link .text{
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-text-white);
}


.often-question-section{
    min-height: 788px;
    background-color: var(--color-soft-purple);
}
.often-question{
    width: 100%;
    min-height: 788px;
    padding: 128px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
}

.often-question-title{
    font-size: 34px;
    line-height: 40px;
    font-weight: 700;
}

.accordion{
    width: 100%;
    position: relative;
    display: block;
    background: var(--color-text-white);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
    overflow: hidden;
    interpolate-size: allow-keywords;
}

.accordion::details-content {
    block-size: 0;
    opacity: 0;
    overflow: hidden;
    transition:
            block-size 0.3s ease,
            opacity 0.3s ease,
            content-visibility 0.3s allow-discrete;
}

.accordion[open]::details-content {
    block-size: auto;
    opacity: 1;
}

.accordion > summary {
    list-style: none;
}

.accordion > summary::marker {
    content: "";
}

.accordion .accordion-title::-webkit-details-marker {
    display: none !important;
}

.accordion-arrow-block{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-brand-purple);
}

.accordion-title{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: start;
    cursor: pointer;
    transition: .2s;
}

.accordion-title span{
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
}

.accordion-arrow-block img{
    transition: .2s;
    transform: rotate(180deg);
}

.accordion[open] .accordion-arrow-block img{
    transform: rotate(0deg);
}

.accordion[open] .accordion-title span{
    color: var(--color-text-purple);
}

.accordion-content{
    margin-top: 20px;
    font-size: 20px;
    line-height: 28px;
}

.trust-section{
}
.trust-block{
    padding: 128px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 64px;
}
.trust-title{
    font-size: 34px;
    line-height: 40px;
    font-weight: 700;
}

.trust-slider {
    width: 100%;
    overflow: hidden;
}

.trust-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: trust-marquee 32s linear infinite;
}

.trust-list {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    min-width: max-content;
    padding-right: 16px;
}

.trust-item {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.trust-item img{
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
}

.trust-slider{
    width: 100%;
    display: flex;
    gap: 16px;
}

@keyframes trust-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 8px));
    }
}


.contacts-section{
    margin-bottom: 128px;
}
.contacts{
    width: 100%;
    padding: 128px 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.contacts-text-block{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    span{
        color: var(--color-text-white);
    }
}

.contacts-text-title{
    font-size: 34px;
    line-height: 40px;
    font-weight: 700;
}
.contacts-text-description{
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    text-align: center;
}
.phone-t{
    color: var(--color-text-white);
    font-weight: 700;
}
.social-item{
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background-color: var(--color-text-white);

    img{
        width: 24px;
        height: 24px;
    }
}

.footer{
    width: 100%;
    background-color: var(--color-primary);
    *{
        color: var(--color-text-white);
    }

    .footer-wrapper{
        padding: 128px 0;
        display: flex;
        flex-direction: column;
        gap: 32px;

        .footer-header{
            display: flex;
            gap: 16px;
        }
        .footer-logo-block{
            max-width: 416px;
            .footer-logo{
                width: 24px;
                height: 24px;
            }
            .logo-title{
                font-size: 18px;
                line-height: 28px;
                font-weight: 700;
            }
            .logo-text{
                font-size: 14px;
                line-height: 20px;
                font-weight: 500;
                color: var(--color-text-spb-sky-2);
            }
        }

        .cont-text{
            font-weight: 500;
            font-size: 14px;
            line-height: 20px;
            color: var(--color-text-spb-sky-2);
        }
    }

    .download-text{
        font-weight: 700;
        font-size: 15px;
        line-height: 24px;
    }


    .polite-wrap{
        padding-top: 31px;
        border-top: 1px solid var(--color-text-spb-sky-0);
        display: flex;
        justify-content: space-between;
        align-items: center;


        span{
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            color: var(--color-text-spb-sky-3);
        }
    }
}

.burger-mob, .mob-banner{
    display: none;
}
.btn-link-list{
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, max-content);
}
@media (max-width: 800px){

    .header.container{
        padding-top: 16px;
    }
    .container {
        padding: 0 16px;
    }
    .burger-desc{
        display: none;
    }

    .burger-mob{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .banner-section{
        margin-top: 64px;
        background-image: none !important;

        .banner{
            gap: 32px;
            height: auto;
        }
        .banner-title-w{
            gap: 20px;
            .banner-title{
                font-size: 34px;
                line-height: 40px;
            }
            .banner-description{
                font-size: 18px;
                line-height: 28px;
            }
        }

        .mob-banner{
            margin-top: 64px;
            max-width: 100%;
            display: block;
            height: 440px;
            background-position: -240px -45px;
            background-repeat: no-repeat;
            background-size: 200%;
        }
    }



    .often-question-section{
        min-height: auto;
        height: auto;
     .often-question{
         padding: 64px 0;
         gap: 32px;
         height: auto;
         min-height: auto;

         .often-question-title{
             font-size: 24px;
             line-height: 32px;
         }
     }
    }

    .trust-block{
        padding: 64px 0;
        gap: 32px;

        .trust-title{
            font-size: 24px;
            line-height: 32px;
        }

        .trust-item, .trust-item img{
            flex: 0 0 64px;
            width: 64px;
            height: 64px;
        }
    }


    .contacts-section{
        margin-bottom: 64px;
    }
    .contacts{
        width: 100%;
        padding: 64px 0;

        .contacts-text-title{
            font-size: 24px;
            line-height: 32px;
        }
        .contacts-text-description{
            font-size: 14px;
            line-height: 20px;
        }

        .social-item{
            width: 36px;
            height: 36px;
            img{
                width: 20px;
                height: 20px;
            }
        }
    }


    .footer{
        .footer-wrapper{
            padding: 64px 0;

            .footer-header{
                flex-direction: column;
                .logo-title{
                    font-size: 18px;
                    line-height: 28px;
                }
                .logo-text{
                    font-size: 14px;
                    line-height: 20px;
                }

                .contacts-title{
                    font-size: 15px;
                    line-height: 24px;
                }

                .cont-text{
                    font-size: 14px;
                    line-height: 20px;
                }

                .footer-logo-block, .footer-contacts-block{
                    gap: 12px;
                }
            }

            .download-block{
                gap: 12px;
                .download-text{
                    font-size: 15px;
                    line-height: 24px;
                }
            }

            .polite-wrap{
                flex-direction: column;
                align-items: start;
                justify-content: start;
                gap: 24px;

                .polite-links{
                    flex-direction: column;
                    gap: 8px;
                }


                span{
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 20px;
                    color: var(--color-text-spb-sky-3);
                }
            }
        }
    }



    .accordion{
        padding: 16px;
        .accordion-title span{
            font-size: 18px;
            line-height: 28px;
        }
        .accordion-arrow-block{
            min-width: 28px;
            width: 28px;
            height: 28px;
        }
        .accordion-content{
            margin-top: 16px;
            font-size: 15px;
            line-height: 24px;
        }
    }

    .btn-link-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        .btn-link{
            padding: 8px 19px;
            gap: 8px;

            .label{
                font-size: 12px;
                line-height: 16px;
            }
            .text{
                font-size: 14px;
                line-height: 20px;
            }
        }
    }


    body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    body:has(.modal:target) {
        overflow: hidden;
        /*padding-right: 16px; !* Ширина скрола *!*/
    }
}


.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}
.modal:target {
    display: flex;
    justify-content: center;
    align-items: end;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal__content {
    position: relative;
    width: calc(100vw - 32px);
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    z-index: 1;
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 16px;


    .modal-title{
        width: 100%;
        display: flex;
        justify-content: space-between;
        .title{
            font-weight: 700;
            font-size: 18px;
            line-height: 28px;
            color: var(--color-brand-purple);
        }

        .close-block{
            min-width: 28px;
            width: 28px;
            height: 28px;

            border-radius: 50%;
            background: var(--color-brand-purple);
            color: var(--color-text-white);
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    .modal-list{
        display: flex;
        flex-direction: column;
        gap: 12px;
        .modal-list-title{
            font-weight: 700;
            font-size: 14px;
            line-height: 20px;
            color: var(--color-text-spb-sky-3);
        }
        .modal-list-item{
            display: flex;
            gap: 8px;
            align-items: center;
            span{
                font-weight: 500;
                font-size: 15px;
                line-height: 24px;
            }
        }
    }
}


.mt-12{
    margin-top: 12px;
}
.mt-20{
}

.mt-20{
    margin-top: 20px;
}