/* =========================================================
   LUACHEIA
   FAQ PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.faq-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 18% 12%,
            rgba(226, 184, 75, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 84% 28%,
            rgba(105, 58, 145, 0.08),
            transparent 34%
        ),
        #fbf8f1;

    color: #2d1748;
}


/* =========================================================
   HERO
========================================================= */

.faq-hero {
    padding: 150px 24px 72px;
}

.faq-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.faq-hero .section-eyebrow {
    margin: 0 0 14px;

    color: #9a6b00;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.faq-hero h1 {
    max-width: 800px;

    margin: 0;

    color: #35105c;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1.04;
    font-weight: 400;
}

.faq-hero-text {
    max-width: 650px;

    margin: 22px 0 0;

    color: #715f78;

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   FAQ CONTENT
========================================================= */

.faq-content {
    padding: 0 24px 110px;
}

.faq-content-container {
    width: min(960px, 100%);
    margin: 0 auto;
}


/* =========================================================
   FAQ GROUP
========================================================= */

.faq-group {
    margin-bottom: 68px;
}

.faq-group-heading {
    margin-bottom: 25px;
}

.faq-group-heading .section-eyebrow {
    margin: 0 0 9px;

    color: #9a6b00;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.faq-group-heading h2 {
    margin: 0;

    color: #35105c;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    display: grid;
    gap: 13px;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 252, 246, 0.96)
        );

    border:
        1px solid rgba(98, 51, 135, 0.12);

    border-radius: 18px;

    box-shadow:
        0 10px 28px rgba(53, 16, 92, 0.045);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color:
        rgba(98, 51, 135, 0.20);

    box-shadow:
        0 13px 32px rgba(53, 16, 92, 0.065);
}


/* =========================================================
   QUESTION
========================================================= */

.faq-question {
    width: 100%;

    padding: 22px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    border: 0;
    background: transparent;

    color: #35105c;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;

    cursor: pointer;
}

.faq-question > span:first-child {
    flex: 1;
}


/* =========================================================
   PLUS ICON
========================================================= */

.faq-icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(202, 155, 42, 0.30);

    border-radius: 50%;

    background: #fffaf0;

    color: #9a6b00;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   ANSWER
   Hidden until JS opens the item
========================================================= */

.faq-answer {
    display: none;

    padding:
        0 72px 24px 24px;
}

.faq-answer p {
    max-width: 760px;

    margin: 0;

    color: #746579;

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   OPEN ITEM
========================================================= */

.faq-item.is-open {
    border-color:
        rgba(202, 155, 42, 0.26);
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);

    background: #fff6df;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.faq-contact {
    margin-top: 12px;

    padding: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    background:
        linear-gradient(
            135deg,
            #2d1049,
            #421663
        );

    border:
        1px solid rgba(226, 184, 75, 0.24);

    border-radius: 26px;

    box-shadow:
        0 20px 48px rgba(45, 16, 73, 0.14);
}

.faq-contact .section-eyebrow {
    margin: 0 0 9px;

    color: #e2b84b;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.faq-contact h2 {
    margin: 0;

    color: #fffaf0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
}

.faq-contact p {
    max-width: 560px;

    margin: 13px 0 0;

    color: rgba(255, 250, 240, 0.78);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT BUTTON
========================================================= */

.faq-contact-button {
    flex: 0 0 auto;

    min-height: 50px;

    padding: 0 26px;

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

    border:
        1px solid rgba(226, 184, 75, 0.65);

    border-radius: 999px;

    background: #e2b84b;

    color: #2d1049;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-contact-button:hover {
    transform: translateY(-1px);

    background: #efd16f;

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .faq-hero {
        padding-top: 125px;
    }

    .faq-content-container {
        width: min(820px, 100%);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .faq-page {
        overflow-x: hidden;
    }


    /* HERO */

    .faq-hero {
        padding:
            104px 20px 46px;
    }

    .faq-hero .section-eyebrow {
        margin-bottom: 10px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .faq-hero h1 {
        font-size: 39px;
        line-height: 1.06;
    }

    .faq-hero-text {
        margin-top: 16px;

        font-size: 14px;
        line-height: 1.65;
    }


    /* CONTENT */

    .faq-content {
        padding:
            0 20px 72px;
    }


    /* GROUP */

    .faq-group {
        margin-bottom: 48px;
    }

    .faq-group-heading {
        margin-bottom: 18px;
    }

    .faq-group-heading .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .faq-group-heading h2 {
        font-size: 29px;
    }


    /* FAQ ITEMS */

    .faq-list {
        gap: 11px;
    }

    .faq-item {
        border-radius: 16px;
    }

    .faq-question {
        padding: 19px 17px;

        gap: 14px;

        font-size: 14px;
        line-height: 1.45;
    }

    .faq-icon {
        flex-basis: 31px;

        width: 31px;
        height: 31px;

        font-size: 20px;
    }

    .faq-answer {
        padding:
            0 17px 20px;
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.7;
    }


    /* CONTACT */

    .faq-contact {
        padding: 28px 22px;

        display: block;

        border-radius: 22px;
    }

    .faq-contact h2 {
        font-size: 29px;
    }

    .faq-contact p {
        font-size: 13px;
        line-height: 1.65;
    }

    .faq-contact-button {
        width: 100%;

        box-sizing: border-box;

        margin-top: 23px;

        min-height: 50px;
    }

}