/* ==============================================
   FAQ PAGE ACCORDION STYLES
   ============================================== */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--border-color-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-header {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background 0.3s;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-color);
    padding-right: var(--space-4);
    line-height: 1.5;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 var(--space-6);
}

.faq-item.active .faq-content {
    max-height: 500px; /* High enough for most content */
    padding: 0 var(--space-6) var(--space-6) var(--space-6);
}

.faq-answer {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-4);
}
