/* =========================================================
   CASANOVA CAR RENTAL — CAR RENTAL FAQ PAGE
========================================================= */

.cfaq-section {
    background-color: var(--color-rich-black);
    padding: 70px 0 30px;
}

.cfaq-header {
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 0 24px;
    text-align: center;
}

.cfaq-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 18px;
}

.cfaq-eyebrow .eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--color-amber);
}

.cfaq-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(30px, 3.8vw, 46px);
    color: var(--color-white);
    text-transform: capitalize;
    margin-bottom: 16px;
}

.cfaq-subtext {
    font-family: var(--font-main);
    font-size: 15.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

/* -----------------------------------------
   Groups
----------------------------------------- */
.cfaq-groups {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cfaq-group-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 191, 1, 0.2);
}

/* -----------------------------------------
   Accordion
----------------------------------------- */
.cfaq-list {
    display: flex;
    flex-direction: column;
}

.cfaq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cfaq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cfaq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    text-align: left;
    padding: 22px 4px;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-white);
}

.cfaq-toggle-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-amber);
    transition: transform 0.3s ease;
}

.cfaq-toggle-icon svg {
    width: 18px;
    height: 18px;
}

.cfaq-item.is-open .cfaq-toggle-icon {
    transform: rotate(180deg);
}

.cfaq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 4px;
}

.cfaq-item.is-open .cfaq-answer {
    max-height: 320px;
    padding: 0 4px 24px;
}

.cfaq-answer p {
    font-family: var(--font-main);
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 680px;
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media (max-width: 768px) {
    .cfaq-section {
        padding: 55px 0 10px;
    }

    .cfaq-header {
        margin-bottom: 46px;
    }

    .cfaq-question {
        font-size: 14.5px;
        padding: 18px 2px;
    }

    .cfaq-groups {
        gap: 40px;
    }
}