.section-box.section-box-faq {
    justify-content: end;
}

.section-box.section-box-faq .ring-shape {
    left: 44%;
}

.hv-faq-container {
    background-color: var(--form-bg);
    border-radius: var(--radius-form);
    padding: 40px;
    width: 50%;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
    position: absolute;
    right: 60px;
    font-family: 'iransans';
    z-index: 2;
}

.hv-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hv-faq-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.hv-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
}

.hv-faq-question {
    position: relative;
    font-size: 18px;
    font-weight: 400;
    color: var(--btn-bg);
    padding-right: 35px;
    transition: color 0.3s ease;
}

.hv-faq-question::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 20px;
    background-image: url("../assets/icons/faq-shape.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

.hv-faq-arrow {
    width: 20px;
    height: 20px;
    transition: transform .3s ease;
}

/* ✅ سیستم جدید باز و بسته شدن */

.hv-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.hv-faq-inner {
    padding: 0 25px;
}

.hv-faq-text {
    margin: 0;
    padding: 0 0 25px 0;
    font-size: 15px;
    color: #6e7b8d;
    line-height: 2;
    text-align: justify;
}


.hv-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.hv-faq-item.hv-active .hv-faq-content {
    max-height: 1000px;
}

.hv-faq-item.hv-active .hv-faq-question {
    color: #333333;
}

.hv-faq-item.hv-active .hv-faq-question::before {
    background-image: url("../assets/icons/faq-shape-b.svg");
}

.hv-faq-item.hv-active .hv-faq-arrow {
    transform: rotate(180deg);
}

.hv-consultation.hv-consultation-faq {
    margin: 240px 0 170px;
}

/* ================= Responsive ================= */

@media (max-width: 1200px) {

    .hv-consultation.hv-consultation-faq {
        margin: 180px 0 160px;
    }

    .hv-faq-container {
        padding: 30px;
    }

    .hv-faq-header {
        padding: 16px;
    }

    .hv-faq-question {
        font-size: 15px;
        padding-right: 26px;
    }

    .hv-faq-question::before {
        width: 20px;
        height: 16px;
    }

    .box-content.box-content-faq {
        display: flex;
        flex-direction: column;
        align-items: end;
    }
}

@media (max-width: 992px) {

    .hv-consultation.hv-consultation-faq {
        margin: 220px 0 200px;
    }

    .hv-faq-container {
        padding: 24px;
    }
}

@media (max-width: 768px) {

    .hv-consultation.hv-consultation-faq {
        margin: 100px 0;
    }

    .hv-faq-container {
        position: initial;
        order: 2;
        width: 100%;
        border-radius: 32px;
        padding: 34px;
    }

    .box-content.box-content-faq {
        align-items: center;
    }
}

@media (max-width: 576px) {

    .hv-consultation.hv-consultation-faq {
        margin: 80px 0;
    }

    .hv-faq-container {
        padding: 24px;
    }
}

@media (max-width: 414px) {

    .hv-consultation.hv-consultation-faq {
        margin: 30px 0;
    }

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

    .hv-faq-container {
        padding: 20px;
    }

    .hv-faq-arrow {
        width: 18px;
        height: 18px;
    }

    .hv-faq-header {
        padding: 8px 12px;
    }

    .hv-faq-question::before {
        width: 18px;
        height: 14px;
    }
}

@media (max-width: 390px) {
    .hv-consultation.hv-consultation-faq {
        margin: 20px 0;
    }
}
