/* FAQ Block with Accordion */

.faq {
    position: relative;
    padding: 80px 0;
    background: var(--black-bg, #000000);
    color: var(--white, #ffffff);
    font-family: var(--font-family);
}

.faq__title {
    margin: 0 0 16px 0;
    color: var(--white, #ffffff);
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 400;
    line-height: 120%;
    text-align: center;
}

.faq__description {
    margin: 0 0 48px 0;
    color: var(--grayc5, #c5c5c5);
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq__list {
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--white, #ffffff);
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--grayc5, #c5c5c5);
}

.faq__question-text {
    flex: 1;
    padding-right: 20px;
}

.faq__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.faq__icon svg {
    width: 100%;
    height: 100%;
}

/* Активное состояние - иконка поворачивается */
.faq__item.is-active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq__item.is-active .faq__answer {
    opacity: 1;
}

.faq__answer-content {
    padding: 0 0 24px 0;
    color: var(--grayc5, #c5c5c5);
    font-size: 16px;
    line-height: 150%;
}

.faq__answer-content p {
    margin: 0 0 12px 0;
}

.faq__answer-content p:last-child {
    margin-bottom: 0;
}

/* Tablet (640px+) */
@media (min-width: 640px) {
    .faq {
        padding: 600px 0;
    }

    .faq__question {
        font-size: 20px;
        padding: 28px 0;
    }

    .faq__answer-content {
        padding: 0 0 28px 0;
        font-size: 17px;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .faq {
        padding: 75px 0;
    }

    .faq__question {
        font-size: 22px;
    }
}