

/* ===========================
   FAQ SECTION
   =========================== */

.faq-section {
    background: #ffffff;
    padding: 180px 60px 180px;
    font-family: var(--font);
}

.faq-heading {
    font-size: 56px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* Two-column grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.faq-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- FAQ item base ---- */
.faq-item {
    background: #EDEEF0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.45s ease;
}

.faq-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    cursor: pointer;
    user-select: none;
}

/* Number badge */
.faq-num {
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

/* Question text */
.faq-question {
    flex: 1;
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    transition: color 0.25s ease;
}

/* + / × button */
.faq-toggle-btn {
    font-size: 22px;
    font-weight: 300;
    color: #888;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* Answer — hidden by default */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
    color: #111111;
    line-height: 1.65;
    padding: 0 22px 0 74px; /* aligns under question text */
    transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* ---- OPEN state ---- */
.faq-item.faq-open {
    background: #FFF0EB; /* light orange tint like image */
    box-shadow: 0 4px 20px rgb(128, 128, 128);
    border: 1.5px solid #FFA38A;
}

    .faq-item.faq-open .faq-num {
        background: #FFA38A;
        color: #ffffff;
    }

    .faq-item.faq-open .faq-question {
        color: #E8621A; /* orange question text when open */
    }

    .faq-item.faq-open .faq-toggle-btn {
        color: #E8621A;
    }

    .faq-item.faq-open .faq-answer {
        max-height: 200px;
        padding: 0 22px 20px 74px;
        opacity: 1;
        color: #111111; /* answer stays black */
    }

/* ===========================
   FAQ RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 24px 80px;
    }

    .faq-heading {
        font-size: 30px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 0 16px 0 52px;
    }

    .faq-item.faq-open .faq-answer {
        padding: 0 16px 16px 52px;
    }

    .faq-row {
        padding: 16px 16px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 16px 60px;
    }

    .faq-heading {
        font-size: 26px;
    }

    .faq-question {
        font-size: 16px;
    }
}
