/* =========================================================
   INDREAMS HOMEPAGE
   FAQ / CURIOSITIES & ANSWERS
   ====================================================== */


/* =========================================================
   SECTION
   ====================================================== */

.indreams-home-faq {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding:
        96px 0 102px;

    background:
        radial-gradient(
            ellipse at 20% 22%,
            rgba(120, 22, 145, 0.17),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 82% 78%,
            rgba(15, 48, 128, 0.22),
            transparent 46%
        ),
        linear-gradient(
            135deg,
            #0d0018 0%,
            #09001f 52%,
            #06103a 100%
        );

    border-top:
        1px solid
        rgba(232, 182, 76, 0.06);

    border-bottom:
        1px solid
        rgba(232, 182, 76, 0.07);
}


.indreams-home-faq::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.14;

    background-image:
        radial-gradient(
            1px 1px at 12% 18%,
            rgba(255, 245, 220, 0.52),
            transparent
        ),
        radial-gradient(
            1px 1px at 36% 75%,
            rgba(255, 245, 220, 0.34),
            transparent
        ),
        radial-gradient(
            1px 1px at 64% 14%,
            rgba(255, 245, 220, 0.42),
            transparent
        ),
        radial-gradient(
            1px 1px at 88% 66%,
            rgba(255, 245, 220, 0.42),
            transparent
        );
}


.indreams-home-faq
.indreams-container {
    position: relative;

    z-index: 2;
}


/* =========================================================
   LAYOUT
   ====================================================== */

.indreams-home-faq__layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.78fr)
        minmax(0, 1.22fr);

    gap: 72px;

    align-items: start;
}


/* =========================================================
   INTRO
   ====================================================== */

.indreams-home-faq__intro {
    position: sticky;

    top: 110px;

    max-width: 440px;
}


.indreams-home-faq__eyebrow {
    display: flex;

    align-items: center;

    gap: 14px;

    margin:
        0 0 18px;

    color:
        var(--indreams-gold);

    font-family:
        var(--indreams-font-body);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.30em;

    text-transform: uppercase;
}


.indreams-home-faq__eyebrow::before {
    content: "";

    width: 30px;
    height: 1px;

    background:
        rgba(232, 182, 76, 0.55);
}


.indreams-home-faq__heading {
    margin: 0;

    color:
        var(--indreams-cream);

    font-family:
        var(--indreams-font-display);

    font-size:
        clamp(46px, 4.8vw, 64px);

    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -0.035em;
}


.indreams-home-faq__copy {
    max-width: 420px;

    margin:
        22px 0 0;

    color:
        rgba(246, 240, 229, 0.68);

    font-family:
        var(--indreams-font-body);

    font-size: 14px;

    line-height: 1.76;
}


/* =========================================================
   FAQ LIST
   ====================================================== */

.indreams-home-faq__list {
    border-top:
        1px solid
        rgba(232, 182, 76, 0.15);
}


/* =========================================================
   FAQ ITEM
   ====================================================== */

.indreams-home-faq__item {
    border-bottom:
        1px solid
        rgba(232, 182, 76, 0.14);
}


.indreams-home-faq__item[open] {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02),
            rgba(232, 182, 76, 0.025)
        );
}


/* =========================================================
   QUESTION / SUMMARY
   ====================================================== */

.indreams-home-faq__question {
    position: relative;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        40px;

    gap: 14px;

    align-items: center;

    width: 100%;

    padding:
        24px 14px;

    cursor: pointer;

    list-style: none;

    user-select: none;
}


.indreams-home-faq__question::-webkit-details-marker {
    display: none;
}


.indreams-home-faq__question::marker {
    display: none;
}


/* =========================================================
   NUMBER
   ====================================================== */

.indreams-home-faq__number {
    color:
        rgba(232, 182, 76, 0.62);

    font-family:
        var(--indreams-font-body);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 0.12em;
}


/* =========================================================
   QUESTION TEXT
   ====================================================== */

.indreams-home-faq__question-text {
    color:
        var(--indreams-cream);

    font-family:
        var(--indreams-font-display);

    font-size: 23px;

    font-weight: 500;

    line-height: 1.22;

    transition:
        color 0.18s ease;
}


.indreams-home-faq__question:hover
.indreams-home-faq__question-text {
    color:
        var(--indreams-gold);
}


/* =========================================================
   PLUS / MINUS ICON
   ====================================================== */

.indreams-home-faq__icon {
    position: relative;

    display: block;

    width: 34px;
    height: 34px;

    border:
        1px solid
        rgba(232, 182, 76, 0.24);

    border-radius: 50%;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.indreams-home-faq__icon::before,
.indreams-home-faq__icon::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 12px;
    height: 1px;

    background:
        var(--indreams-gold);

    transform:
        translate(-50%, -50%);

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}


.indreams-home-faq__icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


.indreams-home-faq__item[open]
.indreams-home-faq__icon {
    background:
        rgba(232, 182, 76, 0.08);

    border-color:
        rgba(232, 182, 76, 0.46);
}


.indreams-home-faq__item[open]
.indreams-home-faq__icon::after {
    opacity: 0;

    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================================================
   ANSWER
   ====================================================== */

.indreams-home-faq__answer {
    padding:
        0 68px 26px 76px;
}


.indreams-home-faq__answer p {
    max-width: 650px;

    margin: 0;

    color:
        rgba(246, 240, 229, 0.66);

    font-family:
        var(--indreams-font-body);

    font-size: 14px;

    line-height: 1.78;
}


/* =========================================================
   TABLET
   ====================================================== */

@media (max-width: 1040px) {

    .indreams-home-faq {
        padding:
            82px 0 88px;
    }


    .indreams-home-faq__layout {
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(0, 1.15fr);

        gap: 46px;
    }


    .indreams-home-faq__question-text {
        font-size: 21px;
    }


    .indreams-home-faq__answer {
        padding-left: 76px;
    }
}


/* =========================================================
   MOBILE
   ====================================================== */

@media (max-width: 720px) {

    .indreams-home-faq {
        padding:
            68px 0 74px;
    }


    .indreams-home-faq__layout {
        grid-template-columns: 1fr;

        gap: 36px;
    }


    .indreams-home-faq__intro {
        position: static;

        max-width: 620px;

        margin:
            0 auto;

        text-align: center;
    }


    .indreams-home-faq__eyebrow {
        justify-content: center;
    }


    .indreams-home-faq__eyebrow::after {
        content: "";

        width: 30px;
        height: 1px;

        background:
            rgba(232, 182, 76, 0.55);
    }


    .indreams-home-faq__heading {
        font-size: 44px;
    }


    .indreams-home-faq__copy {
        margin:
            20px auto 0;
    }


    .indreams-home-faq__question {
        grid-template-columns:
            34px
            minmax(0, 1fr)
            36px;

        gap: 10px;

        padding:
            21px 6px;
    }


    .indreams-home-faq__question-text {
        font-size: 19px;
    }


    .indreams-home-faq__icon {
        width: 32px;
        height: 32px;
    }


    .indreams-home-faq__answer {
        padding:
            0 42px 23px 50px;
    }
}


/* =========================================================
   SMALL MOBILE
   ====================================================== */

@media (max-width: 480px) {

    .indreams-home-faq__heading {
        font-size: 38px;
    }


    .indreams-home-faq__copy {
        font-size: 13px;
    }


    .indreams-home-faq__question {
        grid-template-columns:
            28px
            minmax(0, 1fr)
            32px;

        gap: 8px;
    }


    .indreams-home-faq__question-text {
        font-size: 18px;
    }


    .indreams-home-faq__answer {
        padding:
            0 38px 22px 36px;
    }


    .indreams-home-faq__answer p {
        font-size: 13px;
    }
}