/* ==========================================================
   PR INFOTECH SOLUTIONS — SHARED FAQ COMPONENT
   Compatible with Laptop, Desktop and Server rental pages
========================================================== */

.rental-faq {
    padding: 90px 0;
    background: #f8fbff;
}

.rental-faq .section-title {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.rental-faq .section-title span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ff6a00;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.rental-faq .section-title h2 {
    margin: 0;
    color: #172033;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
}

.rental-faq .faq-container {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.rental-faq .faq-item {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e4e9f1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 35, 65, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.rental-faq .faq-item:hover {
    transform: translateY(-2px);
    border-color: #d8e2f0;
    box-shadow: 0 16px 38px rgba(15, 35, 65, 0.12);
}

.rental-faq .faq-question {
    width: 100%;
    padding: 22px 26px;
    border: 0;
    background: #ffffff;
    color: #172033;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    text-align: left;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
}

.rental-faq .faq-question span {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff1e8;
    color: #ff6a00;

    display: grid;
    place-items: center;

    font-size: 25px;
    line-height: 1;
    font-weight: 500;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.rental-faq .faq-item.active {
    border-color: #ffd7bc;
}

.rental-faq .faq-item.active .faq-question span {
    transform: rotate(45deg);
    background: #ff6a00;
    color: #ffffff;
}

.rental-faq .faq-answer {
    display: none;
    padding: 0 26px 24px;
}

.rental-faq .faq-item.active .faq-answer {
    display: block;
}

.rental-faq .faq-answer p {
    margin: 0;
    color: #5d6878;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .rental-faq {
        padding: 65px 0;
    }

    .rental-faq .section-title {
        margin-bottom: 34px;
    }

    .rental-faq .section-title h2 {
        font-size: 32px;
    }

    .rental-faq .faq-container {
        width: min(100% - 28px, 900px);
    }

    .rental-faq .faq-question {
        padding: 18px;
        font-size: 16px;
    }

    .rental-faq .faq-question span {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    .rental-faq .faq-answer {
        padding: 0 18px 20px;
    }
}