/* ============================================================
   FAQ Section
   ============================================================ */

.faq-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: #1C1A29;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.faq-star {
    position: absolute;
    left: -10px;
    top: -15px;
    width: 57px;
    height: 56px;
    z-index: 2;
}

.faq-container {
    width: 1440px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 500;
    color: #FFF8EA;
    text-align: center;
    line-height: 56px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 60px 0;
    display: inline-block;
    position: relative;
    padding-left: 45px;
}

/* ---- Accordion list ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

/* Each item — gradient border via ::before */
.faq-item {
    position: relative;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(
        90deg,
        #C2C8CA 0%,
        #D6DEDD 16%,
        #D7EFEF 27%,
        #CCD7D5 37%,
        #C1C8C9 47%,
        #BECDD0 57%,
        #DAF1F8 74%,
        #CCE5EA 89%,
        #CDD1D2 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ---- Header row ---- */
.faq-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

/* Gold bullet icon */
.faq-bullet {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: radial-gradient(circle, #D4AF37 0%, #A07820 60%, #7A5A10 100%);
    border-radius: 50%;
    position: relative;
}

.faq-bullet::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFE566 0%, #C9922A 100%);
}

.faq-question {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #FFF8EA;
    line-height: 34px;
}

/* Chevron */
.faq-chevron {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-chevron svg {
    width: 16px;
    height: 16px;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

/* ---- Answer panel ---- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px 0 68px; /* 68 = 20 left + 32 bullet + 16 gap */
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
    padding: 0 20px 20px 68px;
}

.faq-answer p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFF8EA;
    line-height: 22px;
    margin: 0;
}

/* ---- Footer text ---- */
.faq-footer-text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #FFF8EA;
    text-align: center;
    line-height: 54px;
    margin: 80px 0 0;
    font-style: italic;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1480px) {
    .faq-container {
        width: 100%;
        padding: 0 40px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0 80px;
    }
    .faq-container {
        padding: 0 20px;
    }
    .faq-title {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 40px;
    }
    .faq-question {
        font-size: 16px;
        line-height: 26px;
    }
    .faq-footer-text {
        font-size: 22px;
        line-height: 36px;
        margin-top: 50px;
    }
    .faq-answer {
        padding: 0 16px 0 56px;
    }
    .faq-item.is-open .faq-answer {
        padding: 0 16px 16px 56px;
    }
}
