/* Container */
.v2-faq-container {
    width: min(calc(100% - 3rem), 1180px);
    margin-inline: auto;
}


/* Hero */
.v2-faq-hero {
    --faq-nav-offset: 7.4rem;

    position: relative;
    overflow: hidden;

    margin-top: calc(var(--faq-nav-offset) * -1);

    min-height: 27rem;

    padding:
        calc(4rem + var(--faq-nav-offset))
        0
        3.5rem;
}

.v2-faq-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: brightness(.72);
}

.v2-faq-hero-backdrop {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(10, 25, 49, .34) 0%,
            rgba(10, 25, 49, .18) 52%,
            rgba(10, 25, 49, .08) 100%
        );
}

.v2-faq-hero-grid {
    position: relative;
    z-index: 1;
}

.v2-faq-hero-copy {
    text-align: center;
}

.v2-faq-hero-copy h1 {
    margin: 0;

    color: #fff;

    font-family:
        "Manrope",
        "Plus Jakarta Sans",
        sans-serif;

    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;

    letter-spacing: -.04em;
}

.v2-faq-hero-copy h2 {
    margin: .6rem auto 0;

    color: #fff;

    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;

    letter-spacing: -.02em;
}

.v2-faq-hero-copy p {
    max-width: 36rem;

    margin: .75rem auto 0;

    color: rgba(255, 255, 255, .82);

    font-size: .78rem;
    line-height: 1.65;
}


/* Hero illustration */
.v2-faq-hero-art {
    position: relative;

    height: 4.5rem;

    margin-top: .8rem;
}

.v2-faq-orb {
    display: none;
}

.v2-faq-hero-badge {
    position: absolute;

    top: 0;
    left: 50%;

    width: 4.5rem;
    height: 4.5rem;

    object-fit: contain;

    transform: translateX(-50%);

    filter:
        drop-shadow(
            0 10px 18px
            rgba(16, 37, 72, .18)
        );
}


/* Search */
.v2-faq-search-shell {
    position: relative;
    z-index: 2;

    margin-top: 1.1rem;
}

.v2-faq-search-shell::before {
    display: none;
}

.v2-faq-search {
    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: .75rem;

    max-width: 44rem;

    margin-inline: auto;

    padding:
        .45rem
        .48rem
        .45rem
        .85rem;

    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: .9rem;

    background: rgba(255, 255, 255, .97);

    box-shadow:
        0 14px 32px rgba(18, 34, 60, .13);
}

.v2-faq-search > i {
    color: #8292aa;

    font-size: .85rem;
}

.v2-faq-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #253954;

    font-family: inherit;
    font-size: .76rem;
}

.v2-faq-search input::placeholder {
    color: #98a6b9;
}

.v2-faq-search button {
    height: 2.35rem;

    padding-inline: 1rem;

    border: 0;
    border-radius: .65rem;

    background: #3f68df;

    color: #fff;

    font-size: .72rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color .15s ease,
        transform .15s ease;
}

.v2-faq-search button:hover {
    background: #345dcc;

    transform: translateY(-1px);
}


/* Content */
.v2-faq-section {
    position: relative;

    padding:
        2.2rem
        0
        4.5rem;

    background: transparent;
}

.v2-faq-section::before {
    display: none;
}

.v2-faq-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        18rem;

    gap: 2.5rem;

    align-items: start;
}

.v2-faq-main {
    min-width: 0;
}


/* Categories */
.v2-faq-categories {
    margin-bottom: 2rem;
}

.v2-faq-categories h3 {
    margin: 0 0 1rem;

    color: #1b2d49;

    font-family:
        "Manrope",
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: -.025em;
}

.v2-faq-category-list {
    display: flex;
    align-items: center;

    gap: 1.4rem;

    overflow-x: auto;

    border-bottom: 1px solid #e8edf4;

    scrollbar-width: none;
}

.v2-faq-category-list::-webkit-scrollbar {
    display: none;
}

.v2-faq-category {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: .45rem;

    flex: 0 0 auto;

    min-height: 2.9rem;

    padding: 0 .15rem .75rem;

    border: 0;

    background: transparent;

    color: #718199;

    font-family: inherit;

    cursor: pointer;
}

.v2-faq-category i {
    color: #7b8fae;

    font-size: .88rem;
}

.v2-faq-category span {
    font-size: .73rem;
    font-weight: 650;

    white-space: nowrap;
}

.v2-faq-category::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -1px;
    left: 0;

    height: 2px;

    border-radius: 999px;

    background: transparent;
}

.v2-faq-category:hover {
    color: #315b97;
}

.v2-faq-category:hover i {
    color: #315b97;
}

.v2-faq-category.is-active {
    color: #315b97;
}

.v2-faq-category.is-active i {
    color: #315b97;
}

.v2-faq-category.is-active::after {
    background: #3f68df;
}


/* FAQ */
.v2-faq-shell {
    background: transparent;
}

.v2-faq-group {
    display: none;
}

.v2-faq-group.is-active {
    display: block;
}

.v2-faq-section-head {
    padding-bottom: .9rem;
}

.v2-faq-section-head h2 {
    margin: 0;

    color: #1b2d49;

    font-family:
        "Manrope",
        "Plus Jakarta Sans",
        sans-serif;

    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    font-weight: 800;

    letter-spacing: -.025em;
}

.v2-faq-list {
    border-top: 1px solid #e8edf4;
}

.v2-faq-item {
    border-bottom: 1px solid #e8edf4;

    background: #fff;
}

.v2-faq-item[open] {
    background:
        linear-gradient(
            90deg,
            #f7faff,
            #fff 65%
        );
}

.v2-faq-question {
    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: .8rem;

    padding:
        1rem
        .2rem;

    list-style: none;

    cursor: pointer;
}

.v2-faq-question::-webkit-details-marker {
    display: none;
}

.v2-faq-question-text {
    color: #273a55;

    font-size: .82rem;
    font-weight: 650;

    line-height: 1.5;
}


/* FAQ icons */
.v2-faq-question-icon {
    display: grid;
    place-items: center;

    width: 1.6rem;
    height: 1.6rem;

    color: #7387a4;

    font-size: .68rem;

    transition:
        color .15s ease,
        transform .15s ease;
}

.v2-faq-question-icon--lead {
    border-radius: .45rem;

    background: #eef4fd;

    color: #4773b1;
}

.v2-faq-question-icon--tail {
    background: transparent;
}

.v2-faq-item[open]
.v2-faq-question-icon--lead {
    background: #3f68df;
    color: #fff;

    transform: rotate(45deg);
}

.v2-faq-item[open]
.v2-faq-question-icon--tail {
    color: #3f68df;

    transform: rotate(180deg);
}


/* Answer */
.v2-faq-answer {
    padding:
        0
        2.6rem
        1.15rem;

    color: #687a94;

    font-size: .78rem;
    line-height: 1.72;
}

.v2-faq-answer > :first-child {
    margin-top: 0;
}

.v2-faq-answer > :last-child {
    margin-bottom: 0;
}


/* Empty */
.v2-faq-empty {
    display: flex;
    align-items: center;

    gap: .65rem;

    padding:
        1rem
        0;

    color: #718198;

    font-size: .8rem;
}

.v2-faq-empty i {
    color: #4773b1;
}


/* Help */
.v2-faq-help {
    position: sticky;
    top: 1.5rem;

    padding-left: 1.5rem;

    border-left: 1px solid #e5ebf3;
}

.v2-faq-help::before {
    display: none;
}

.v2-faq-help-visual {
    position: relative;

    width: 5rem;
    height: 5rem;

    margin-bottom: 1rem;
}

.v2-faq-help-ring {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        #f1f5fc;
}

.v2-faq-help-image {
    position: relative;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.v2-faq-help-copy > span {
    display: block;

    margin-bottom: .3rem;

    color: #8592a4;

    font-size: .68rem;
    font-weight: 650;
}

.v2-faq-help-copy h3 {
    margin:
        0
        0
        .55rem;

    color: #1b2d49;

    font-size: 1.05rem;
    font-weight: 800;

    line-height: 1.35;
}

.v2-faq-help-copy p {
    margin: 0;

    color: #6d7e96;

    font-size: .75rem;
    line-height: 1.65;
}

.v2-faq-help-copy a {
    display: inline-flex;
    align-items: center;

    gap: .45rem;

    margin-top: .9rem;

    min-height: 2.45rem;

    padding-inline: .9rem;

    border-radius: .65rem;

    background: #e9514a;

    color: #fff;

    font-size: .73rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color .15s ease,
        transform .15s ease;
}

.v2-faq-help-copy a:hover {
    background: #da4640;

    transform: translateY(-1px);
}


/* Contact info */
.v2-faq-help-info {
    display: grid;

    gap: .65rem;

    margin-top: 1.2rem;
    padding-top: 1rem;

    border-top: 1px solid #e8edf4;
}

.v2-faq-help-info div {
    display: flex;
    align-items: center;

    gap: .55rem;

    color: #556a86;

    font-size: .72rem;
    font-weight: 550;
}

.v2-faq-help-info i {
    color: #4773b1;

    font-size: .8rem;
}


/* Tablet */
@media (max-width: 980px) {
    .v2-faq-hero {
        --faq-nav-offset: 4.6rem;

        min-height: 23rem;
    }

    .v2-faq-layout {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .v2-faq-help {
        position: relative;
        top: auto;

        display: grid;

        grid-template-columns:
            auto
            1fr;

        gap:
            0
            1rem;

        padding:
            1.3rem
            0
            0;

        border-top: 1px solid #e5ebf3;
        border-left: 0;
    }

    .v2-faq-help-visual {
        grid-row: span 2;

        margin: 0;
    }

    .v2-faq-help-info {
        grid-column: 2;
    }
}


/* Mobile */
@media (max-width: 680px) {
    .v2-faq-container {
        width: calc(100% - 1.25rem);
    }

    .v2-faq-hero {
        --faq-nav-offset: 4.2rem;

        min-height: 20rem;

        padding:
            calc(3rem + var(--faq-nav-offset))
            0
            2rem;
    }

    .v2-faq-hero-copy h1 {
        font-size: 1.85rem;
    }

    .v2-faq-hero-copy h2 {
        font-size: 1rem;
    }

    .v2-faq-hero-copy p {
        max-width: 20rem;

        font-size: .7rem;
    }

    .v2-faq-hero-art {
        height: 3.5rem;
    }

    .v2-faq-hero-badge {
        width: 3.5rem;
        height: 3.5rem;
    }


    /* Search mobile */
    .v2-faq-search {
        grid-template-columns:
            auto
            1fr;

        padding: .65rem .75rem;

        border-radius: .8rem;
    }

    .v2-faq-search button {
        grid-column: 1 / -1;

        width: 100%;

        margin-top: .15rem;
    }


    /* Section */
    .v2-faq-section {
        padding:
            1.8rem
            0
            3rem;
    }

    .v2-faq-categories {
        margin-bottom: 1.5rem;
    }

    .v2-faq-categories h3 {
        font-size: 1rem;
    }

    .v2-faq-category-list {
        gap: 1rem;
    }

    .v2-faq-category {
        min-height: 2.7rem;
    }

    .v2-faq-question {
        gap: .55rem;

        padding:
            .9rem
            0;
    }

    .v2-faq-question-text {
        font-size: .76rem;
    }

    .v2-faq-answer {
        padding:
            0
            2.2rem
            1rem;

        font-size: .74rem;
    }


    /* Help mobile */
    .v2-faq-help {
        display: block;

        padding-top: 1.25rem;
    }

    .v2-faq-help-visual {
        width: 4rem;
        height: 4rem;

        margin-bottom: .8rem;
    }

    .v2-faq-help-info {
        margin-top: 1rem;
    }
}
