.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px 0 20px 0;
}

.faq-items {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dedede;
}

.faq-item {
    border-bottom: 1px solid #dddddd;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question-btn {
    width: 100%;
    padding: 35px 25px;
    background: #fff;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1em;
    font-weight: 500;
    color: #333;
    transition: background 0.2s;
    border-radius: 0;
    cursor: pointer;
}

.faq-question-btn:hover {
    background: #fbfbfc;
    color: black;
}

.faq-question-btn.active {
    background: #fbfbfc;
}

.faq-question-text {
    flex: 1;
    padding-right: 1em;
    font-size: 20px;
    font-weight: 700;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.faq-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Свернутое состояние - показываем стрелку вниз, скрываем стрелку вверх */
.faq-question-btn .icon-expanded {
    display: none;
}

.faq-question-btn .icon-collapsed {
    display: block;
}

/* Развернутое состояние - показываем стрелку вверх, скрываем стрелку вниз */
.faq-question-btn.active .icon-collapsed {
    display: none;
}

.faq-question-btn.active .icon-expanded {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
}

.faq-answer-content {
    padding: 15px 30px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .faq-question-text {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .faq-question-btn {
        padding: 25px 15px 25px 20px;
    }
    .faq-answer-content {
        padding: 10px 20px;
    }
}