/* Стили для FAQ страницы */

/* Заголовок страницы */
.page-header {
    padding: 120px 0 60px;
    background: var(--hero-gradient);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* FAQ секция */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 60px;
}

.faq-category h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    background-color: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
}

.faq-answer p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

.faq-answer ul, 
.faq-answer ol {
    margin-bottom: 1rem;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-category h2 {
        font-size: 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
        padding-right: 30px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer.active {
        padding: 0 15px 15px;
    }
}
