/* ============================================
   FAQ.CSS — FAQ Accordion
   ============================================ */

.faq-section {
    padding: 100px 0;
    background: var(--secondary);
}

.faq-section .section-title .accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-item {
    background: var(--secondary);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    padding-right: 16px;
    line-height: 1.5;
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: transform 0.4s var(--ease-out);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Active State */
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.1);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05), rgba(255, 133, 51, 0.03));
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.88rem;
        padding: 0 20px 16px;
    }
}
