/* ============================================================
   FAQ АККОРДИОН (в стиле блока с шагами)
   ============================================================ */
.article__faq {text-align: center;}
.article__faq .faq-container {background: #E5D7CC;border-radius: 20px;padding: 40px 48px 50px;margin: 0 auto}
.article__faq h2 {margin: 0 0 32px;text-align: center;}
/* ===== ЭЛЕМЕНТЫ АККОРДИОНА ===== */
.article__faq .faq-item{border-bottom: 1px solid rgba(64, 39, 20, 0.12);transition: all 0.3s ease;text-align: left}
.article__faq .faq-item:last-child {border-bottom: none}
/* ===== ВОПРОС ===== */
.article__faq .faq-question {padding: 20px 0;cursor: pointer;display: flex;justify-content: space-between;align-items: center;gap: 20px;user-select: none;transition: all 0.3s ease}
.article__faq .faq-question:hover {color: #CA6C25}
.article__faq .faq-question h3 {margin: 0;font: 700 28px/1.3 'Philosopher', 'Georgia', serif;color: #402714;transition: color 0.3s ease;flex: 1}
.article__faq .faq-item.active .faq-question h3 {color: #CA6C25}
/* ===== ИКОНКА ===== */
.article__faq .faq-icon {flex-shrink: 0;width: 38px;height: 38px;border-radius: 100%;background: #BCA774;display: flex;align-items: center;justify-content: center;transition: all 0.4s ease;position: relative;box-shadow: 0 0 0 3px #E5D7CC inset}
.article__faq .faq-icon::before, .article__faq .faq-icon::after{content: '';position: absolute;background: #402714;border-radius: 2px;transition: all 0.4s ease}
.article__faq .faq-icon::before{width: 16px;height: 2px}
.article__faq .faq-icon::after {width: 2px;height: 16px}
.article__faq .faq-item.active .faq-icon {background: #CA6C25;transform: rotate(180deg);box-shadow: 0 0 0 3px #E5D7CC inset}
.article__faq .faq-item.active .faq-icon::before, .article__faq .faq-item.active .faq-icon::after {background: #fff}
.article__faq .faq-item.active .faq-icon::after {transform: rotate(90deg);opacity: 0;}
/* ===== ОТВЕТ ===== */
.article__faq .faq-answer {max-height: 0;overflow: hidden;transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),opacity 0.4s ease,padding 0.3s ease;opacity: 0;padding: 0}
.article__faq .faq-item.active .faq-answer{max-height: 500px;opacity: 1;padding: 0 0 24px 0}
.article__faq .faq-answer p {margin: 0;font-size: 20px;line-height: 1.4;color: #402714;padding-right: 20px}
.article__faq .faq-answer p::before {content: '';display: inline-block;width: 4px;height: 28px;background: #BCA774;border-radius: 2px;margin-right: 16px;vertical-align: middle}
.article__faq .faq-answer p {display: flex;align-items: flex-start}
/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1499px) {
    .article__faq .faq-container {padding: 30px 35px 40px;}
    .article__faq h2 {margin-bottom: 28px;}
    .article__faq .faq-question h3{font-size: 24px;}
    .article__faq .faq-icon {width: 32px;height: 32px;}
    .article__faq .faq-icon::before {width: 14px;}
    .article__faq .faq-icon::after {height: 14px;}
    .article__faq .faq-answer p {font-size: 18px;}
    .article__faq .faq-answer p::before {height: 24px;width: 3px;}
}
@media (max-width: 1199px) {
    .article__faq .faq-container {padding: 25px 30px 35px;border-radius: 16px;}
    .article__faq h2 {margin-bottom: 24px;}
    .article__faq .faq-question {padding: 16px 0;}
    .article__faq .faq-question h3 {font-size: 22px;}
    .article__faq .faq-icon {width: 28px;height: 28px;}
    .article__faq .faq-icon::before {width: 12px;}
    .article__faq .faq-icon::after {height: 12px;}
    .article__faq .faq-answer p {font-size: 17px;}
    .article__faq .faq-answer p::before {height: 22px;margin-right: 12px;}
    .article__faq .faq-item.active .faq-answer {padding: 0 0 18px 0;}
}
@media (max-width: 991px) {
    .article__faq .faq-container {padding: 25px 24px 30px;border-radius: 16px;}
    .article__faq h2 {margin-bottom: 20px;}
    .article__faq .faq-question {padding: 14px 0;gap: 15px;}
    .article__faq .faq-question h3 {font-size: 20px;}
    .article__faq .faq-answer p {font-size: 16px;padding-right: 10px;}
    .article__faq .faq-answer p::before {height: 20px;margin-right: 10px;flex-shrink: 0;}
}

@media (max-width: 767px) {
	.article__faq.widget{padding:10px 0}
    .article__faq .faq-container {padding: 20px 16px 25px;border-radius: 14px;}
    .article__faq h2 {margin-bottom: 18px;}
    .article__faq .faq-question {padding: 12px 0;gap: 12px;}
    .article__faq .faq-question h3 {font-size: 18px;line-height: 1.3;}
    .article__faq .faq-icon {width: 26px;height: 26px;flex-shrink: 0;}
    .article__faq .faq-icon::before {width: 10px;}
    .article__faq .faq-icon::after {height: 10px;}
    .article__faq .faq-answer p {font-size: 15px;line-height: 1.5;padding-right: 0;}
    .article__faq .faq-answer p::before {height: 16px;width: 2px;margin-right: 8px;flex-shrink: 0}
    .article__faq .faq-item.active .faq-answer {padding: 0 0 14px 0;}
}

@media (max-width: 575px) {
	.article__faq.widget{padding: 0}
    .article__faq .faq-container {padding: 16px 12px 20px;border-radius: 12px}
    .article__faq h2{margin-bottom: 16px;}
    .article__faq .faq-question {padding: 10px 0;gap: 10px;}
    .article__faq .faq-icon {width: 24px;height: 24px;}
    .article__faq .faq-icon::before {width: 10px;}
    .article__faq .faq-icon::after {height: 10px;}
    .article__faq .faq-answer p {font-size: 14px;line-height: 1.4;}
    .article__faq .faq-answer p::before {height: 14px;width: 2px;margin-right: 6px;}
    .article__faq .faq-item.active .faq-answer {padding: 0 0 12px 0;}
}


