/*
 * Airjet Cargo - index FAQ
 * Hub pleine largeur pour /faq/
 */

:root {
    --aj-text: #232323;
    --aj-muted: #666;
    --aj-border: #e7e7e7;
    --aj-soft: #f7f8fa;
    --aj-accent: #e13f3f;
    --aj-dark: #171717;
    --aj-radius: 10px;
    --aj-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--aj-text);
}

.aj-faq-banner {
    background-image: url("../images/bg/inner-bg.png");
    background-position: center;
    background-size: cover;
}

.aj-faq-hub-section {
    padding: 82px 0 92px;
    background: #fff;
}

.aj-hub-intro {
    max-width: 960px;
    margin: 0 auto 70px;
    text-align: center;
}

.aj-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--aj-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.aj-hub-intro h2,
.aj-topic-section h2,
.aj-resources h2,
.aj-hub-cta h2 {
    color: var(--aj-dark);
}

.aj-hub-intro h2 {
    margin: 0 0 22px;
    font-size: 34px;
    line-height: 1.25;
}

.aj-hub-intro p {
    max-width: 880px;
    margin: 0 auto 15px;
    color: var(--aj-muted);
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

.aj-hub-intro .aj-lead {
    color: var(--aj-text);
    font-size: 19px;
}

.aj-topic-section {
    margin-bottom: 76px;
}

.aj-section-heading {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    align-items: start;
    max-width: 900px;
    margin-bottom: 30px;
}

.aj-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--aj-dark);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
}

.aj-section-heading h2 {
    margin: 0 0 7px;
    font-size: 29px;
    line-height: 1.3;
}

.aj-section-heading p {
    margin: 0;
    color: var(--aj-muted);
    font-size: 16px;
    line-height: 1.65;
}

.aj-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.aj-faq-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 29px 30px 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.aj-faq-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: background .2s ease;
}

.aj-faq-card:hover,
.aj-faq-card:focus-within {
    transform: translateY(-3px);
    border-color: #d7d7d7;
    box-shadow: var(--aj-shadow);
}

.aj-faq-card:hover::before,
.aj-faq-card:focus-within::before,
.aj-card-featured::before {
    background: var(--aj-accent);
}

.aj-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.aj-card-label {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--aj-soft);
    color: var(--aj-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.aj-card-arrow {
    color: #b5b5b5;
    font-size: 18px;
}

.aj-faq-card h3 {
    margin: 0 0 15px;
    font-size: 21px;
    line-height: 1.42;
}

.aj-faq-card h3 a {
    color: var(--aj-dark);
    text-decoration: none;
}

.aj-faq-card h3 a:hover,
.aj-faq-card h3 a:focus {
    color: var(--aj-accent);
}

.aj-faq-card p {
    margin: 0 0 22px;
    color: var(--aj-muted);
    font-size: 15.5px;
    line-height: 1.72;
    text-align: justify;
    text-justify: inter-word;
}

.aj-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--aj-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.aj-read-more:hover,
.aj-read-more:focus {
    color: var(--aj-accent);
}

.aj-resources {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 44px;
    align-items: center;
    margin: 6px 0 70px;
    padding: 38px 40px;
    border: 1px solid var(--aj-border);
    border-radius: var(--aj-radius);
    background: var(--aj-soft);
}

.aj-resources h2 {
    margin: 0 0 14px;
    font-size: 27px;
    line-height: 1.3;
}

.aj-resources-copy p {
    margin: 0;
    color: var(--aj-muted);
    font-size: 16px;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
}

.aj-resource-links {
    display: grid;
    gap: 12px;
}

.aj-resource-links a {
    display: block;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--aj-border);
    border-radius: 8px;
    color: var(--aj-text);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.aj-resource-links a:hover,
.aj-resource-links a:focus {
    transform: translateX(3px);
    border-color: #d3d3d3;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.05);
}

.aj-resource-links strong,
.aj-resource-links span {
    display: block;
}

.aj-resource-links strong {
    margin-bottom: 4px;
    color: var(--aj-dark);
    font-size: 16px;
}

.aj-resource-links span {
    color: var(--aj-muted);
    font-size: 14px;
    line-height: 1.5;
}

.aj-hub-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    align-items: center;
    padding: 38px 40px;
    border-radius: var(--aj-radius);
    background: var(--aj-dark);
    color: #fff;
}

.aj-hub-cta .aj-eyebrow {
    color: rgba(255,255,255,.62);
}

.aj-hub-cta h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 27px;
    line-height: 1.3;
}

.aj-hub-cta p {
    max-width: 780px;
    margin: 0;
    color: rgba(255,255,255,.8);
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

.aj-cta-actions {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.aj-phone-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.aj-phone-link:hover,
.aj-phone-link:focus {
    color: #fff;
    text-decoration: underline;
}

.aj-call-widget-content {
    padding: 5px 0;
}

.aj-call-widget-content p {
    margin-bottom: 12px;
}

.call-widget-form-area[aria-hidden="true"] {
    display: none;
}

.call-widget-form-area[aria-hidden="false"] {
    display: block;
}

.scrollToTop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.scrollToTop.aj-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.aj-footer {
    padding-top: 45px;
}

@media (max-width: 991.98px) {
    .aj-faq-hub-section {
        padding: 65px 0 75px;
    }

    .aj-hub-intro {
        margin-bottom: 55px;
    }

    .aj-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aj-resources,
    .aj-hub-cta {
        grid-template-columns: 1fr;
    }

    .aj-cta-actions {
        min-width: 0;
        max-width: 260px;
    }
}

@media (max-width: 767.98px) {
    .aj-faq-hub-section {
        padding: 48px 0 58px;
    }

    .aj-hub-intro {
        margin-bottom: 48px;
        text-align: left;
    }

    .aj-hub-intro h2 {
        font-size: 27px;
    }

    .aj-hub-intro p,
    .aj-hub-intro .aj-lead {
        font-size: 16px;
        text-align: left;
    }

    .aj-topic-section {
        margin-bottom: 58px;
    }

    .aj-section-heading {
        grid-template-columns: 44px 1fr;
        gap: 14px;
    }

    .aj-section-number {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }

    .aj-section-heading h2 {
        font-size: 24px;
    }

    .aj-faq-grid {
        grid-template-columns: 1fr;
    }

    .aj-faq-card {
        padding: 24px 23px;
    }

    .aj-faq-card p,
    .aj-resources-copy p,
    .aj-hub-cta p {
        text-align: left;
    }

    .aj-resources,
    .aj-hub-cta {
        gap: 28px;
        padding: 28px 24px;
    }

    .aj-resources h2,
    .aj-hub-cta h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
