/*
=================================

Space Vanta Theme 1.0

Feature:

FAQ Visual System

Version:

1.0

Purpose:

FAQ
Category
Question
Modal

=================================
*/


/* =========================

FAQ Base

========================== */


.sv-faq {

    width: 100%;

}



.sv-faq__header {

    max-width: 720px;

    margin-bottom: 48px;

}



.sv-faq__eyebrow {

    font-size: 14px;

    letter-spacing: .12em;

    text-transform: uppercase;

    opacity: .65;

}



.sv-faq__heading {

    margin-top: 12px;

    font-size: 42px;

    line-height: 1.15;

}



.sv-faq__description {

    margin-top: 16px;

    font-size: 16px;

    line-height: 1.6;

    opacity: .75;

}





/* =========================

FAQ Category

========================== */


.sv-faq-category {

    width: 100%;

    border-top: 1px solid rgba(0, 0, 0, .08);

    padding: 28px 0;

}





/* =========================

Category Header

========================== */


.sv-faq-category__header {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 24px;

    padding: 0;

    border: 0;

    background: transparent;

    text-align: left;

    cursor: pointer;

}





.sv-faq-category__heading {

    min-width: 0;

}





.sv-faq-category__title {

    margin: 0;

    font-size: 24px;

    line-height: 1.3;

    font-weight: 600;

}





.sv-faq-category__description {

    margin-top: 8px;

    font-size: 14px;

    line-height: 1.6;

    opacity: .65;

}





/* =========================

Category Icon

========================== */


.sv-faq-category__icon {

    flex-shrink: 0;

    width: 34px;

    height: 34px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    line-height: 1;

    border-radius: 50%;

    background: #f4f6f8;

    opacity: .75;

    transition:

        transform .25s ease,

        background .25s ease,

        opacity .25s ease;

}





.sv-faq-category.is-open .sv-faq-category__icon {

    transform: rotate(0deg);

    background: #eef7ff;

    color: #5aaaff;

    opacity: 1;

}





.sv-faq-category:not(.is-open) .sv-faq-category__icon {

    transform: rotate(-90deg);

}









/* =========================

Category Questions

========================== */


.sv-faq-category__questions {

    margin-top: 20px;

    overflow: hidden;

    transition:

        opacity .25s ease;

}





.sv-faq-category__questions[hidden] {

    display: none;

}





.sv-faq-category.is-open .sv-faq-category__questions {

    opacity: 1;

}









/* =========================

FAQ Question

========================== */


.sv-faq-question {

    margin-top: 10px;

}





.sv-faq-question__trigger {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 24px;

    padding: 20px 24px;

    background: #f7f8fa;

    border: 1px solid rgba(0, 0, 0, .06);

    border-radius: 16px;

    cursor: pointer;

    text-align: left;

    transition:

        transform .25s ease,

        border-color .25s ease,

        background .25s ease;

}





.sv-faq-question__trigger:hover {

    transform: translateY(-2px);

    border-color: rgba(90, 170, 255, .35);

    background: #f9fafb;

}





.sv-faq-question__text {

    font-size: 16px;

    line-height: 1.5;

}





.sv-faq-question__icon {

    flex-shrink: 0;

    font-size: 22px;

    font-weight: 300;

    color: #5aaaff;

}









/* =========================

FAQ Modal

========================== */


.sv-faq-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

}





.sv-faq-modal.is-active {

    display: block;

}





.sv-faq-modal__overlay {

    position: absolute;

    inset: 0;

    background: rgba(245, 247, 250, .78);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

}





.sv-faq-modal__container {

    position: absolute;

    left: 50%;

    top: 50%;

    width: min(90%, 560px);

    padding: 42px;

    transform:

        translate(-50%, -46%);

    background: #f7f8fa;

    border: 1px solid rgba(90, 170, 255, .25);

    border-radius: 28px;

    z-index: 2;

    box-shadow:

        0 20px 50px rgba(0, 0, 0, .12);

    opacity: 0;

    transition:

        opacity .25s ease,

        transform .25s ease;

}





.sv-faq-modal.is-active .sv-faq-modal__container {

    opacity: 1;

    transform:

        translate(-50%, -50%);

}





.sv-faq-modal__container::before {

    content: "";

    position: absolute;

    inset: -1px;

    border-radius: 28px;

    background:

        linear-gradient(135deg,

            rgba(90, 170, 255, .45),

            transparent 40%);

    pointer-events: none;

    opacity: .5;

}





.sv-faq-modal__content {

    position: relative;

    z-index: 2;

}





/* =========================

Modal Close

========================== */


.sv-faq-modal__close {

    position: absolute;

    right: 22px;

    top: 18px;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    background: white;

    cursor: pointer;

    font-size: 22px;

    line-height: 1;

    z-index: 3;

}





.sv-faq-modal__close:hover {

    background: #eef7ff;

    color: #5aaaff;

}





/* =========================

Modal Content

========================== */


.sv-faq-modal__question {

    margin: 0 0 20px;

    padding-right: 40px;

    font-size: 26px;

    line-height: 1.3;

}





.sv-faq-modal__answer {

    font-size: 16px;

    line-height: 1.7;

    opacity: .85;

}





/* =========================

Body Lock

========================== */


.sv-faq-modal-open {

    overflow: hidden;

}