/* ===== СТИЛИ ДЛЯ БЛОКА FAQ ===== */
.faq-section {
    padding: 80px 0;
    max-width: unset;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section__title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.faq-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.faq-section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(182, 157, 93, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(253, 197, 107, 0.05);
}

.faq-question__text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-toggle__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 12px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: rgba(253, 197, 107, 0.03);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

/* ===== АНИМАЦИИ ===== */
.faq-section[data-animate-on-scroll] .faq-section__title[data-animate="fadeInDown"] {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease-out;
}

.faq-section[data-animate-on-scroll] .faq-section__title[data-animate="fadeInDown"].animated {
    opacity: 1;
    transform: translateY(0);
}

.faq-section[data-animate-on-scroll] .faq-section__subtitle[data-animate="fadeInDown"] {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease-out;
}

.faq-section[data-animate-on-scroll] .faq-section__subtitle[data-animate="fadeInDown"].animated {
    opacity: 1;
    transform: translateY(0);
}

.faq-section[data-animate-on-scroll] .faq-item[data-animate="fadeInUp"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.faq-section[data-animate-on-scroll] .faq-item[data-animate="fadeInUp"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-section__title {
        font-size: 1.8rem;
    }

    .faq-section__subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question__text {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-section__title {
        font-size: 1.6rem;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-answer p {
        padding: 0 15px 15px;
    }
}