/* ========================================
   10. FAQ / ЧАСТЫЕ ВОПРОСЫ
   ======================================== */

.vb-faq {
    max-width: 980px;
    margin: 0 auto;
}

.vb-faq__item {
    margin-bottom: 20px;
    background: var(--vb-color-bg, #fff);
    border-radius: var(--vb-radius-block, 14px);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.vb-faq__item.active {
    box-shadow: 0 14px 28px -18px rgba(21, 27, 39, 0.45), 0 12px 22px -20px rgba(77, 58, 248, 0.35);
}

.vb-faq__question {
    position: relative;
    display: block;
    width: 100%;
    padding: 30px 88px 30px 24px;
    background: var(--vb-color-bg, #fff);
    border: none;
    text-align: left;
    font-family: var(--vb-font-family, inherit);
    font-size: clamp(1.125rem, 0.98rem + 0.55vw, 1.55rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--vb-color-heading, #151b27);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.vb-faq__question:hover {
    background: var(--vb-color-gray, #DDE1EC);
}

.vb-faq__question:focus,
.vb-faq__question:focus-visible,
.vb-faq__question:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.vb-faq__question-text {
    display: block;
}

.vb-faq__plus {
    position: absolute;
    right: 20px;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    display: block;
    color: var(--vb-color-heading, #151b27);
}

.vb-faq__plus::before {
    content: none;
}

.vb-faq__line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    border-top: 1px solid currentColor;
    transform-origin: center center;
}

.vb-faq__line--horizontal {
    transform: translate(-50%, -50%);
}

.vb-faq__line--vertical {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
}

.vb-faq__item.active .vb-faq__line--vertical {
    transform: translate(-50%, -50%) rotate(0deg);
}

.vb-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    color: var(--vb-color-text, #646d8b);
}

.vb-faq__answer-content {
    padding: 0 24px 24px;
    color: var(--vb-color-text, #646d8b);
    line-height: 1.6;
    font-size: 1rem;
}

.vb-faq__answer-content > *:first-child {
    margin-top: 0;
}

.vb-faq__answer-content > *:last-child {
    margin-bottom: 0;
}

.vb-faq__answer-content p {
    color: inherit;
}


@media (max-width: 1024px) {
    .vb-faq__line {
        width: 17px;
    }
}

@media (max-width: 680px) {
    .vb-faq__question {
        padding-right: 72px;
        padding-left: 20px;
    }

    .vb-faq__plus {
        width: 42px;
        height: 42px;
    }

    .vb-faq__line {
        width: 20px;
    }

    .vb-faq__answer-content {
        padding: 0 20px 20px;
    }
}
