/* =====================================================
   FAQ SECTION
   ===================================================== */

.cp-faq {
    padding: 120px 0 104px;
}

.cp-faq__layout {
    display: grid;
    grid-template-columns: 1fr 784px;
    gap: 80px;
    align-items: start;
}

/* Left — sticky */

.cp-faq__left {
    position: sticky;
    top: 100px;
}

.cp-faq__label {
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'MonoBlack', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 10%;
    background: linear-gradient(90deg, #FF9626 0%, #FFB15D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cp-faq__heading {
    margin: 0;
    font-family: "SF UI Display", sans-serif;
    color: #F7F7F7;
    text-transform: none;
    font-weight: 400;
    font-size: 54px;
    line-height: 62px;
    letter-spacing: -2%;
}

/* Right — accordion */

.cp-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-faq__item {
    background-color: #141517;
    border: 1px solid #1E1E1F;
    border-radius: 12px;
    padding: 20px;
}

.cp-faq__header {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: "SF UI Display", sans-serif;
    color: #F7F7F7;
    transition: color 0.22s ease;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 3%;
}

.cp-faq__item.is-open .cp-faq__answer{ 
    padding-top: 20px;
}

.cp-faq__item.is-open .cp-faq__header {
    color: #FF9626;
}

.cp-faq__icon {
    flex-shrink: 0;
    width: 20px;
    font-family: "SF UI Display", sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: #FFF;
    transition: color 0.22s ease;
    text-align: center;
    display: flex;
}

.cp-faq__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.cp-faq__item.is-open .cp-faq__body {
    max-height: 600px;
}

.cp-faq__answer {
    padding: 0 0 0 40px;
    font-family: "SF UI Display", sans-serif;
    color: #F7F7F7;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1%;
    transition: all 0.5s;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .cp-faq__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cp-faq__left {
        position: static;
    }
}

@media (max-width: 768px) {
    .cp-faq {
        padding: 80px 0 100px;
    }

    .cp-faq__header {
        font-size: 16px;
        padding: 20px 0;
    }

    .cp-faq__answer {
        padding-left: 36px;
        font-size: 15px;
    }
}
