.faq {
    background: transparent;
}

.faq-title {
    margin-bottom: 32px;
    text-align: center;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid transparent;
}

.faq-item__panel {
    display: none;
}

.faq-item__trigger {
    width: 100%;
    margin: 0;
    border: none;
    background: rgba(46, 46, 46, 1);
    border-radius: 100px;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    color: white;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 65px;
    text-align: center;
}

.faq-item__label {
    flex: 1;
}

.faq-item.active .faq-item__trigger {
    background: var(--orange);
    color: #fff;
}

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.faq-item.active .faq-chevron {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.faq-answer {
    position: relative;
    overflow: hidden;
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    min-height: 418px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

/* «АСМ» на весь блок, под текстом ответа */
.faq-answer-brand {
    height: 300px;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0 16px;
    width: 100%;
    font-size: 147px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.faq-answer p {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Мобильный аккордеон: ответ выезжает из выбранной кнопки */
@media (max-width: 900px) {
    .faq-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 20px;
        overflow: hidden;
        background: rgba(46, 46, 46, 1);
    }

    .faq-item__trigger {
        border-radius: 20px;
        min-height: 52px;
        padding: 14px 16px;
        font-size: inherit;
        justify-content: space-between;
    }

    .faq-item__trigger::after {
        content: '';
        flex-shrink: 0;
        width: 10px;
        height: 10px;
        margin-left: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }

    .faq-item.is-open .faq-item__trigger {
        border-radius: 20px 20px 0 0;
    }

    .faq-item.is-open .faq-item__trigger::after {
        transform: rotate(-135deg) translateY(2px);
    }

    .faq-item__panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }

    .faq-item__panel[hidden] {
        display: none;
    }

    .faq-item.is-open .faq-item__panel {
        display: grid;
        grid-template-rows: 1fr;
    }

    .faq-item__panel-inner {
        overflow: hidden;
        background: rgba(28, 28, 26, 1);
    }

    .faq-item__panel-inner p {
        margin: 0;
        padding: 14px 16px 16px;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.6;
        color: var(--text-light);
    }

    .faq-answer--desktop {
        display: none;
    }
}

@media (min-width: 901px) {
    .faq-item.is-open .faq-item__panel {
        display: none;
    }
}
