/* FAQ Section */
.faq-section {
    padding: 40px 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.faq-title {
    font-size: 37px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
}

.faq-container {
    width: 900px;
}

.faq-item {
    padding: 28px 0;
    border-bottom: 1px solid #F6F6F9;
}

.faq-item:hover {
    cursor: pointer;
}

.faq-question {
    font-size: 22px;
    font-weight: 700;
    line-height: 29.7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.faq-answer {
    padding-top: 16px;
}

.faq-question::after,
.faq-question::before {
    content: '';
    position: absolute;
    background-color: var(--color-text);
    transition: transform 0.3s ease;
}

/* Горизонтальна лінія */
.faq-question::after {
    width: 10px;
    height: 2px;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
}

/* Вертикальна лінія */
.faq-question::before {
    width: 2px;
    height: 10px;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
}

/* Мінус у активному стані */
.faq-item.active .faq-question::before {
    transform: scaleY(0); /* приховати вертикальну */
}

@media (max-width: 1024px) {
    .faq-section {
        padding: 40px 24px;
    }

    .faq-title {
        font-size: 30px;
        line-height: 38px;
    }

    .faq-container {
        width: 100%;
        padding: 0 16px;
    }

    .faq-item {
        padding: 12px 0;
    }

    .faq-question {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 16px;
    }

    .faq-title {
        font-size: 24px;
        line-height: 32px;
    }

    .faq-container {
        width: 100%;
        padding: 0;
    }

    .faq-item {
        padding: 10px 0;
    }

    .faq-question {
        font-size: 18px;
        line-height: 24px;
    }
}