
/* =========================================================
   ACOSTA RENT CAR — FAQ
   ========================================================= */

.faq-page {
    --faq-gold: #b79a61;
    --faq-dark: #151719;
    --faq-muted: #737c84;
    font-family: "Manrope", sans-serif;
    overflow: clip;
}

.faq-page *,
.faq-page *::before,
.faq-page *::after {
    box-sizing: border-box;
}

.faq-page h1,
.faq-page h2,
.faq-page h3 {
    font-family: "Montserrat", sans-serif;
}

.faq-page em {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.faq-eyebrow {
    display: inline-block;
    color: #d9bb81;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.faq-eyebrow-dark {
    color: var(--faq-gold);
}

.faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 27px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: .25s ease;
}

.faq-btn-gold {
    background: var(--faq-gold);
    color: #fff;
}

.faq-btn-gold:hover {
    background: #a48651;
    color: #fff;
    transform: translateY(-2px);
}

.faq-btn-dark {
    background: var(--faq-dark);
    color: #fff;
}

.faq-btn-dark:hover {
    background: #303438;
    color: #fff;
}

/* HERO */

.faq-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 110px 0;
    background:
        url("../images/faq/hero.jpg")
        center / cover no-repeat,
        #15191d;
    color: #fff;
}

.faq-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.88),
        rgba(0,0,0,.53) 65%,
        rgba(0,0,0,.16)
    );
}

.faq-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.faq-hero h1 {
    margin: 22px 0 25px;
    font-size: clamp(42px, 5vw, 74px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -2.5px;
}

.faq-hero h1 em {
    color: #d9bb81;
}

.faq-hero-content > p {
    max-width: 570px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 2;
}

.faq-hero-content .faq-btn {
    margin-top: 25px;
}

.faq-hero-bottom {
    position: absolute;
    z-index: 1;
    bottom: 28px;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* INTRO */

.faq-intro {
    padding: 100px 0 55px;
    background: #fff;
}

.faq-intro-heading {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
    gap: 70px;
    margin-bottom: 40px;
}

.faq-intro h2,
.faq-support h2 {
    margin: 18px 0 0;
    color: var(--faq-dark);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -1.5px;
}

.faq-intro h2 em,
.faq-support h2 em {
    color: var(--faq-gold);
}

.faq-intro-heading > p {
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 2;
}

.faq-search-box {
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 75px;
    padding: 0 25px;
    border: 1px solid #dfe4e8;
    border-radius: 7px;
    background: #f8f9fa;
    transition: border-color .2s;
}

.faq-search-box:focus-within {
    border-color: var(--faq-gold);
}

.faq-search-box svg {
    flex-shrink: 0;
    width: 23px;
    height: 23px;
    color: #a48651;
}

.faq-search-box input {
    flex: 1;
    min-width: 0;
    height: 70px;
    border: 0;
    outline: none;
    background: transparent;
    color: #252a30;
    font-family: inherit;
    font-size: 14px;
}

.faq-search-box input::placeholder {
    color: #9ba3aa;
}

.faq-search-box button {
    border: 0;
    background: transparent;
    color: #737c84;
    font-size: 26px;
    cursor: pointer;
}

.faq-search-box button[hidden] {
    display: none;
}

.faq-search-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
    color: #8a9299;
    font-size: 11px;
}

/* MAIN LAYOUT */

.faq-main {
    padding: 35px 0 110px;
    background: #fff;
}

.faq-main-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 65px;
}

/* SIDEBAR */

.faq-sidebar-inner {
    position: sticky;
    top: 110px;
}

.faq-sidebar-title {
    display: block;
    margin-bottom: 20px;
    color: #949ca3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.faq-category-list {
    display: grid;
    gap: 7px;
}

.faq-category {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 55px;
    padding: 14px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #f6f7f8;
    color: #4d555d;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: .2s;
}

.faq-category:hover {
    border-color: #d8c7a7;
    background: #f5f0e7;
}

.faq-category.active {
    border-color: var(--faq-gold);
    background: var(--faq-dark);
    color: #fff;
}

.faq-category-index {
    color: var(--faq-gold);
    font-size: 10px;
}

.faq-category-arrow {
    margin-left: auto;
    color: var(--faq-gold);
    font-size: 16px;
}

.faq-sidebar-help {
    margin-top: 35px;
    padding: 28px;
    border-radius: 6px;
    background: #151719;
    color: #fff;
}

.faq-sidebar-help > span {
    color: #d9bb81;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.faq-sidebar-help h3 {
    margin: 15px 0;
    font-size: 21px;
    line-height: 1.3;
}

.faq-sidebar-help p {
    color: #aab1b7;
    font-size: 12px;
    line-height: 1.9;
}

.faq-sidebar-help a {
    display: inline-block;
    margin-top: 12px;
    color: #d9bb81;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* QUESTION GROUP */

.faq-group {
    margin-bottom: 65px;
}

.faq-group[hidden],
.faq-item[hidden],
.faq-empty[hidden] {
    display: none !important;
}

.faq-group-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 2px solid #17191c;
}

.faq-group-number {
    color: var(--faq-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.faq-group-heading h2 {
    margin: 13px 0 8px;
    color: var(--faq-dark);
    font-size: 29px;
    font-weight: 800;
}

.faq-group-heading p {
    margin: 0;
    color: var(--faq-muted);
    font-size: 12px;
    line-height: 1.8;
}

.faq-group-count {
    flex-shrink: 0;
    color: #9ca4aa;
    font-size: 11px;
    font-weight: 700;
}

/* ACCORDION */

.faq-item {
    border-bottom: 1px solid #e5e9ed;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding: 20px 5px;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question-number {
    flex-shrink: 0;
    color: var(--faq-gold);
    font-size: 11px;
    font-weight: 800;
}

.faq-question-text {
    flex: 1;
    color: #272c31;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}

.faq-question-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid #dfe4e8;
    border-radius: 50%;
    color: #a48651;
    font-size: 22px;
    font-weight: 400;
    transition: .2s;
}

.faq-item[open] .faq-question-icon {
    transform: rotate(45deg);
    border-color: var(--faq-gold);
    background: var(--faq-gold);
    color: #fff;
}

.faq-item[open] .faq-question-text {
    color: #a48651;
}

.faq-answer {
    padding: 0 55px 27px 32px;
}

.faq-answer p {
    margin: 0;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 2;
}

/* EMPTY */

.faq-empty {
    padding: 65px 25px;
    border: 1px dashed #dce2e6;
    border-radius: 8px;
    background: #fafbfc;
    text-align: center;
}

.faq-empty-symbol {
    display: grid;
    place-items: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1e9da;
    color: #a48651;
    font-size: 34px;
    font-weight: 800;
}

.faq-empty h3 {
    font-size: 23px;
}

.faq-empty p {
    margin-bottom: 25px;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 1.9;
}

/* NOTICE */

.faq-notice {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    border: 1px solid #e9dfcd;
    border-radius: 6px;
    background: #faf7f1;
}

.faq-notice-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #b79a61;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
}

.faq-notice strong {
    color: #5d4b2d;
    font-size: 13px;
}

.faq-notice p {
    margin: 10px 0 0;
    color: #84765d;
    font-size: 12px;
    line-height: 1.9;
}

/* SUPPORT */

.faq-support {
    padding: 105px 0;
    background: #f6f7f8;
}

.faq-support-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.faq-support-grid > div:first-child > p {
    max-width: 470px;
    margin: 25px 0;
    color: var(--faq-muted);
    font-size: 13px;
    line-height: 2;
}

.faq-support-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 390px;
    padding: 40px;
    border-radius: 7px;
    overflow: hidden;
    background:
        url("../images/faq/support.jpg")
        center / cover no-repeat,
        #252a30;
    color: #fff;
}

.faq-support-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.85),
        rgba(0,0,0,.08)
    );
}

.faq-support-visual-content {
    position: relative;
    z-index: 1;
}

.faq-support-visual-content > span,
.faq-support-visual-content > small {
    color: #d9bb81;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.faq-support-visual h3 {
    margin: 15px 0;
    font-size: 27px;
    line-height: 1.3;
}

/* CTA */

.faq-cta {
    padding: 85px 0;
    background: #151719;
    color: #fff;
}

.faq-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.faq-cta h2 {
    margin: 17px 0;
    font-size: clamp(30px, 3.2vw, 45px);
    font-weight: 800;
}

.faq-cta h2 em {
    color: #d9bb81;
}

.faq-cta p {
    color: #aab1b7;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .faq-intro-heading,
    .faq-support-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-main-grid {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 30px;
    }

    .faq-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .faq-main-grid {
        grid-template-columns: 1fr;
    }

    .faq-sidebar-inner {
        position: static;
    }

    .faq-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-sidebar-help {
        margin-bottom: 25px;
    }
}

@media (max-width: 650px) {
    .faq-hero {
        min-height: 580px;
        padding: 90px 0;
    }

    .faq-hero h1 {
        letter-spacing: -1px;
    }

    .faq-hero-bottom {
        left: 20px;
        right: 20px;
        font-size: 8px;
    }

    .faq-intro {
        padding: 75px 0 35px;
    }

    .faq-main {
        padding: 25px 0 75px;
    }

    .faq-category-list {
        grid-template-columns: 1fr;
    }

    .faq-search-box {
        padding: 0 15px;
    }

    .faq-search-box input {
        font-size: 12px;
    }

    .faq-group-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-group-heading h2 {
        font-size: 25px;
    }

    .faq-item summary {
        gap: 12px;
    }

    .faq-answer {
        padding: 0 15px 25px 26px;
    }

    .faq-support {
        padding: 75px 0;
    }

    .faq-support-visual {
        min-height: 330px;
        padding: 25px;
    }

    .faq-cta {
        padding: 65px 0;
    }
}
