/**
 * Staff Aéreo — vista FAQ (views/faq.html)
 * Misma estructura que términos: banner + logo + contenido
 */

.page-faq {
    --faq-navy: #010066;
    --faq-muted: #5f6778;
    --faq-hero-min-h: clamp(280px, 52vw, 520px);
    --index-section-gap: clamp(3.5rem, 7.5vw, 5.5rem);
    --index-home-intro-inset-inline: clamp(4.5rem, 10.5vw, 8.75rem);
    background: #ffffff;
}

.page-faq--no-nav header {
    display: none !important;
}

.page-faq .footer {
    margin-top: 0;
}

/* --- Banner FAQ --- */
.faq-hero {
    position: relative;
    width: 100%;
    min-height: var(--faq-hero-min-h);
    overflow: hidden;
    background: #ffffff;
    box-sizing: border-box;
}

.faq-hero__media {
    position: absolute;
    inset: 0;
    background-color: #1a3560;
    background-image: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.08) 48%,
            #ffffff 68%,
            #ffffff 100%
        ),
        url('../../res/img/TC.png');
    background-size: cover, cover;
    background-position: center center, center 42%;
    background-repeat: no-repeat;
}

.faq-hero__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.65rem, 1.8vw, 1rem) clamp(1rem, 3vw, 1.75rem) clamp(0.75rem, 2vw, 1.1rem);
    background: #ffffff;
    border-radius: 0 0 clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px);
    text-decoration: none;
}

.faq-hero__badge img {
    display: block;
    width: auto;
    height: clamp(56px, 13vw, 88px);
    max-width: min(240px, 58vw);
    object-fit: contain;
}

.faq-hero__bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(1.25rem, 4vw, 2.5rem) var(--index-home-intro-inset-inline) clamp(1.5rem, 5vw, 3rem);
    text-align: center;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        #ffffff 22%,
        #ffffff 100%
    );
}

.faq-hero__title-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding-bottom: clamp(0.75rem, 2.2vw, 1.15rem);
    pointer-events: auto;
}

.faq-hero__title-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin-inline: auto;
    width: min(32rem, 94vw);
    height: 2px;
    box-shadow: none;
    filter: none;
    transform: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(1, 0, 102, 0.1) 10%,
        rgba(1, 0, 102, 0.5) 22%,
        var(--faq-navy) 34%,
        var(--faq-navy) 66%,
        rgba(1, 0, 102, 0.5) 78%,
        rgba(1, 0, 102, 0.1) 90%,
        #ffffff 100%
    );
}

.faq-hero__title {
    margin: 0;
    text-shadow: none;
    font-family: 'Kufam ExtraBold', sans-serif;
    font-weight: 800;
    font-size: clamp(1.35rem, 4.2vw, 3rem);
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.faq-hero__title-navy {
    color: var(--faq-navy);
}

.faq-hero__title-muted {
    color: var(--faq-muted);
}

.faq-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--index-section-gap) var(--index-home-intro-inset-inline) clamp(3rem, 7vw, 4.5rem);
    box-sizing: border-box;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(0.95rem, 2.1vw, 1.05rem);
    line-height: 1.3;
    color: #333333;
    background: #ffffff;
}

.faq-main h2 {
    margin: 2rem 0 0.75rem;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(0.88rem, 1.9vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #333333;
}

.faq-main h2:first-of-type {
    margin-top: 0;
}

.faq-main p {
    margin: 0 0 1rem;
}

.faq-main .faq-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
    line-height: 1.3;
}

.faq-main .faq-list li {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.faq-main p:has(+ .faq-list) {
    margin-bottom: 0;
}

.faq-main .faq-list + p {
    margin-top: 0;
}

@media (max-width: 900px) {
    .page-faq {
        --index-home-intro-inset-inline: clamp(2.75rem, 7.5vw, 4.75rem);
    }
}

@media (max-width: 768px) {
    .page-faq {
        --index-mobile-inset-inline: clamp(0.75rem, 3vw, 1rem);
        --index-mobile-body-fs: clamp(0.95rem, 1.18vw, 1.2rem);
    }

    .faq-hero__bottom {
        padding-inline: var(--index-mobile-inset-inline);
    }

    .faq-hero__title {
        font-size: clamp(0.95rem, 4.8vw, 1.45rem);
        white-space: nowrap;
    }

    .faq-hero__media {
        background-position: center center, center 38%;
    }

    .faq-main {
        padding: var(--index-section-gap) var(--index-mobile-inset-inline) clamp(3rem, 7vw, 4.5rem);
        font-size: var(--index-mobile-body-fs);
    }
}

@media (min-width: 2000px) {
    .page-faq {
        --index-home-intro-inset-inline: clamp(4.75rem, 5.75vw, 10rem);
        --index-body-fs: clamp(1.2rem, 1.2vw, 1.4rem);
        --faq-heading-fs: clamp(1.15rem, 1.35vw, 1.5rem);
    }

    .faq-main {
        padding: var(--index-section-gap) var(--index-home-intro-inset-inline) clamp(3rem, 7vw, 4.5rem);
        font-size: var(--index-body-fs);
        line-height: 1.3;
    }

    .faq-main h2 {
        font-size: var(--faq-heading-fs);
    }

    .faq-main .faq-list,
    .faq-main .faq-list li {
        line-height: 1.3;
    }
}
