/* ===== СТИЛИ ДЛЯ БЛОКА FAQ ===== */

.faq-block {
    margin: 40px 0 20px;
    background: #f9fcff;
    border-radius: 24px;
    padding: 28px 30px 20px;
    border: 1px solid #e3edf6;
    transition: all 0.3s ease;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1a2f;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #e8eff7;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.faq-item:hover {
    border-color: #c8d8e8;
}

.faq-item.active {
    border-color: #0057b3;
    box-shadow: 0 4px 16px rgba(0, 87, 179, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #0b1a2f;
    user-select: none;
    transition: all 0.3s ease;
    background: #fafcff;
    gap: 16px;
}

.faq-question:hover {
    background: #f0f7ff;
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #7a8b9e;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #0057b3;
}

.faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    color: #3b4d5e;
    line-height: 1.7;
    display: none;
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .faq-block {
        padding: 20px 16px 16px;
        margin: 30px 0 16px;
    }

    .faq-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .faq-block {
        padding: 16px 12px 12px;
    }

    .faq-title {
        font-size: 1.05rem;
    }

    .faq-question {
        padding: 12px 14px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .faq-answer {
        padding: 0 14px 14px;
        font-size: 0.85rem;
    }
}