/* ═══════════════════════════════════════════════════════════
   سوالات متداول - پیشوند fq-
   ═══════════════════════════════════════════════════════════ */

.fq-section {
    padding: 80px 20px;
    background: #F8FAFC;
}

.fq-container {
    max-width: 880px;
    margin: 0 auto;
}

/* ═══════════ Header وسط‌چین ═══════════ */
.fq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.fq-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--rw-primary, #2563EB);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.fq-badge i {
    font-size: 14px;
    line-height: 1;
}

.fq-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 34px;
    color: #1E3A8A;
    margin: 0 0 10px;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.fq-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
    line-height: 1.8;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* ═══════════ List ═══════════ */
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ═══ هر آیتم — بدون کادر در حالت عادی ═══ */
.fq-item {
    background: transparent;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* ═══ حالت باز — کادر دور سوال و جواب ═══ */
.fq-item.is-open {
    background: #fff;
    border-color: var(--rw-primary, #2563EB);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

/* ═══════════ Question (ردیف کلیک) ═══════════ */
.fq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.fq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.fq-item.is-open .fq-question:hover {
    background: transparent;
}

.fq-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--rw-primary, #2563EB), var(--rw-secondary, #1E3A8A));
    border-radius: 11px;
    color: #fff;
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.fq-q-title {
    flex: 1;
    min-width: 0;
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 16px;
    color: #1E3A8A;
    line-height: 1.5;
    text-align: right;
}

/* ═══ فلش گوشه سوال ═══ */
.fq-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: var(--rw-primary, #2563EB);
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.fq-chevron i {
    line-height: 1;
}

.fq-item.is-open .fq-chevron {
    background: var(--rw-primary, #2563EB);
    color: #fff;
    transform: rotate(180deg);
}

/* ═══════════ Answer ═══════════ */
.fq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fq-a-text {
    padding: 0 18px 18px 70px;
    font-size: 14px;
    color: #4B5563;
    line-height: 2;
    white-space: pre-wrap;
    text-align: right;
}

/* ═══════════ Empty ═══════════ */
.fq-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9CA3AF;
    font-size: 15px;
}

/* ═══════════ Responsive ═══════════ */
@media (max-width: 700px) {
    .fq-section {
        padding: 60px 16px;
    }

    .fq-header {
        margin-bottom: 28px;
    }

    .fq-title {
        font-size: 26px;
    }

    .fq-subtitle {
        font-size: 13px;
    }

    .fq-question {
        padding: 14px;
        gap: 10px;
    }

    .fq-num {
        width: 34px;
        height: 34px;
        font-size: 12px;
        border-radius: 9px;
    }

    .fq-q-title {
        font-size: 14px;
    }

    .fq-chevron {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .fq-a-text {
        padding: 0 14px 16px 56px;
        font-size: 13px;
        line-height: 1.9;
    }
}