/* ============================================
   FAQ Section в стиле psiholog.ru
   ============================================ */

.faq-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    transition: var(--transition);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 8px 0;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    transition: var(--transition);
}

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

.faq-question i {
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 20px;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 16px 0 0 0;
    transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-list {
        padding: 0 20px;
    }
}

