/*==================================================
FAQ PREVIEW
==================================================*/

.faq-preview{

    padding:100px 0;

    background:#fcfbff;

    position:relative;

    overflow:hidden;

}

.faq-preview .container{

    max-width:1000px;

    margin:0 auto;

    padding:0 20px;

}


/*==================================================
SECTION HEADER
==================================================*/

.faq-preview .section-heading{

    max-width:760px;

    margin:0 auto 55px;

    text-align:center;

}

.faq-preview .section-tag{

    display:inline-block;

    padding:8px 22px;

    margin-bottom:22px;

    border-radius:40px;

    background:#f3efff;

    color:#6d28d9;

    font-size:.95rem;

    font-weight:700;

}

.faq-preview h2{

    margin:0 0 20px;

    color:#241c44;

    font-size:2.7rem;

    line-height:1.2;

}

.faq-preview .section-heading p{

    margin:0;

    color:#666;

    font-size:1.05rem;

    line-height:1.9;

}


/*==================================================
FAQ LIST
==================================================*/

.faq-preview-list{

    display:flex;

    flex-direction:column;

    gap:16px;

    max-width:900px;

    margin:0 auto;

}


/*==================================================
FAQ ITEM
==================================================*/

.faq-preview .faq-item{

    position:relative;

    background:#ffffff;

    border:1px solid rgba(109,40,217,.10);

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.04);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.faq-preview .faq-item:hover{

    transform:translateY(-3px);

    border-color:rgba(109,40,217,.20);

    box-shadow:0 16px 38px rgba(36,28,68,.08);

}


/*==================================================
FAQ QUESTION
==================================================*/

.faq-preview .faq-question{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;

    padding:25px 28px;

    margin:0;

    background:transparent;

    border:0;

    outline:0;

    cursor:pointer;

    color:#241c44;

    font-family:inherit;

    font-size:1.08rem;

    font-weight:700;

    line-height:1.5;

    text-align:left;

}

.faq-preview .faq-question > span:first-child{

    flex:1;

}


/*==================================================
FAQ ICON
==================================================*/

.faq-preview .faq-icon{

    flex:0 0 42px;

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#f3efff;

    color:#6d28d9;

    font-size:1.5rem;

    font-weight:400;

    line-height:1;

    transition:
        transform .4s ease,
        background .35s ease,
        color .35s ease,
        box-shadow .35s ease;

}


/*==================================================
FAQ ANSWER
==================================================*/

.faq-preview .faq-answer{

    display:grid;

    grid-template-rows:0fr;

    opacity:0;

    transition:
        grid-template-rows .45s ease,
        opacity .35s ease;

}

.faq-preview .faq-answer-content{

    min-height:0;

    overflow:hidden;

    padding:0 28px;

    transition:padding .45s ease;

}

.faq-preview .faq-answer-content p{

    margin:0;

    color:#666;

    font-size:1rem;

    line-height:1.85;

}


/*==================================================
FAQ ACTIVE
==================================================*/

.faq-preview .faq-item.active{

    border-color:rgba(109,40,217,.25);

    box-shadow:
        0 18px 45px rgba(36,28,68,.07),
        0 0 30px rgba(109,40,217,.06);

}

.faq-preview .faq-item.active .faq-answer{

    grid-template-rows:1fr;

    opacity:1;

}

.faq-preview .faq-item.active .faq-answer-content{

    padding:0 28px 26px;

}

.faq-preview .faq-item.active .faq-icon{

    transform:rotate(45deg);

    background:#6d28d9;

    color:#ffffff;

    box-shadow:0 10px 25px rgba(109,40,217,.25);

}


/*==================================================
BUTTON
==================================================*/

.faq-preview .section-button{

    margin-top:55px;

    text-align:center;

}


/*==================================================
FOCUS ACCESSIBILITY
==================================================*/

.faq-preview .faq-question:focus-visible{

    outline:2px solid #6d28d9;

    outline-offset:-4px;

    border-radius:20px;

}


/*==================================================
RESPONSIVE TABLET
==================================================*/

@media(max-width:768px){

    .faq-preview{

        padding:80px 0;

    }

    .faq-preview .section-heading{

        margin-bottom:42px;

    }

    .faq-preview h2{

        font-size:2rem;

    }

    .faq-preview .section-heading p{

        font-size:1rem;

        line-height:1.75;

    }

    .faq-preview .faq-question{

        padding:21px 22px;

        gap:18px;

        font-size:1rem;

    }

    .faq-preview .faq-icon{

        flex-basis:38px;

        width:38px;

        height:38px;

        font-size:1.35rem;

    }

    .faq-preview .faq-answer-content{

        padding:0 22px;

    }

    .faq-preview .faq-item.active .faq-answer-content{

        padding:0 22px 22px;

    }

}


/*==================================================
RESPONSIVE MOBILE
==================================================*/

@media(max-width:480px){

    .faq-preview{

        padding:70px 0;

    }

    .faq-preview .container{

        padding:0 16px;

    }

    .faq-preview h2{

        font-size:1.75rem;

    }

    .faq-preview .section-tag{

        padding:7px 18px;

        font-size:.88rem;

    }

    .faq-preview-list{

        gap:13px;

    }

    .faq-preview .faq-item{

        border-radius:17px;

    }

    .faq-preview .faq-question{

        padding:19px 18px;

        gap:14px;

        font-size:.97rem;

    }

    .faq-preview .faq-icon{

        flex-basis:36px;

        width:36px;

        height:36px;

        font-size:1.25rem;

    }

    .faq-preview .faq-answer-content{

        padding:0 18px;

    }

    .faq-preview .faq-item.active .faq-answer-content{

        padding:0 18px 20px;

    }

    .faq-preview .faq-answer-content p{

        font-size:.95rem;

        line-height:1.75;

    }

    .faq-preview .section-button{

        margin-top:45px;

    }

}


/*==================================================
REDUCED MOTION
==================================================*/

@media(prefers-reduced-motion:reduce){

    .faq-preview .faq-item,

    .faq-preview .faq-icon,

    .faq-preview .faq-answer,

    .faq-preview .faq-answer-content{

        transition:none;

    }

}