
/* =========================================================
   FAQ — PAGE
========================================================= */

body.faq-page {
    overflow-x: clip;
    overflow-y: auto;
    background: #050505;
}

.faq-page .nav-dropdown a[aria-current="page"],
.faq-page .mobile-subnav a[aria-current="page"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.faq-main {
    min-width: 0;
    overflow: clip;
}

.faq-shell {
    width: min(calc(100% - 64px), 1380px);
    margin-inline: auto;
}

.faq-kicker {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* HERO */

.faq-hero {
    position: relative;
    min-height: min(900px, 100svh);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    padding: 148px 0 78px;
    background: #050505;
}

.faq-hero-media,
.faq-hero-overlay {
    position: absolute;
    inset: 0;
}

.faq-hero-media {
    z-index: -3;
}

.faq-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.025);
    animation: faqHeroZoom 22s ease-out both;
}

.faq-hero-overlay {
    z-index: -2;
    background:
        radial-gradient(circle at 76% 28%, rgba(190, 26, 26, 0.23), transparent 36%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.28) 78%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.14) 66%);
}

.faq-hero-inner {
    position: relative;
    z-index: 2;
}

.faq-hero h1 {
    max-width: 1050px;
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(3.3rem, 7vw, 7.5rem);
    font-weight: 570;
    line-height: 0.91;
    letter-spacing: -0.064em;
    text-wrap: balance;
}

.faq-hero-copy {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1.04rem, 1.45vw, 1.22rem);
    line-height: 1.72;
}

.faq-hero-actions,
.faq-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

@keyframes faqHeroZoom {
    from { transform: scale(1.025); }
    to { transform: scale(1.075); }
}

/* CATEGORY NAV */

.faq-categories {
    position: relative;
    z-index: 4;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.faq-category-grid a {
    min-height: 116px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.66);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 680;
    line-height: 1.3;
    transition:
        color 200ms ease,
        background-color 200ms ease;
}

.faq-category-grid a:first-child {
    padding-left: 0;
}

.faq-category-grid a:last-child {
    padding-right: 0;
    border-right: 0;
}

.faq-category-grid a:hover,
.faq-category-grid a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.035);
}

.faq-category-grid span {
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

/* FAQ SECTIONS */

.faq-section {
    scroll-margin-top: 90px;
    padding: clamp(92px, 9vw, 142px) 0;
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-section:nth-of-type(even) {
    background:
        radial-gradient(circle at 12% 8%, rgba(231, 76, 60, 0.055), transparent 28%),
        #090909;
}

.faq-section-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.48fr);
    gap: clamp(52px, 8vw, 120px);
    align-items: start;
}

.faq-section-heading {
    position: sticky;
    top: 112px;
}

.faq-section-number {
    display: block;
    margin-bottom: 52px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.faq-section-heading h2,
.faq-final-inner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 4.7vw, 5.4rem);
    font-weight: 560;
    line-height: 0.97;
    letter-spacing: -0.054em;
    text-wrap: balance;
}

.faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.faq-item summary {
    position: relative;
    min-height: 108px;
    padding: 28px 62px 28px 0;
    display: flex;
    align-items: center;
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-size: clamp(1.05rem, 1.6vw, 1.34rem);
    font-weight: 620;
    line-height: 1.38;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.58);
    font-size: 1.7rem;
    font-weight: 300;
    transition: transform 220ms ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-width: 800px;
    padding: 0 62px 32px 0;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.97rem;
    line-height: 1.74;
}

/* FINAL CTA */

.faq-final {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    padding: 120px 0 90px;
}

.faq-final-media,
.faq-final-overlay {
    position: absolute;
    inset: 0;
}

.faq-final-media {
    z-index: -3;
}

.faq-final-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-final-overlay {
    z-index: -2;
    background:
        radial-gradient(circle at 75% 24%, rgba(231, 76, 60, 0.16), transparent 35%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.97), rgba(0, 0, 0, 0.24) 72%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.faq-final-inner {
    position: relative;
    z-index: 2;
}

.faq-final-inner h2 {
    max-width: 880px;
    margin-bottom: 24px;
}

.faq-final-inner > p:not(.faq-kicker) {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 1.08rem;
    line-height: 1.72;
}

/* RESPONSIVE */

@media (max-width: 1120px) {
    .faq-shell {
        width: min(calc(100% - 48px), 1380px);
    }

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

    .faq-category-grid a,
    .faq-category-grid a:first-child,
    .faq-category-grid a:last-child {
        padding: 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .faq-category-grid a:nth-child(3n) {
        border-right: 0;
    }

    .faq-category-grid a:nth-child(n + 4) {
        border-bottom: 0;
    }
}

@media (max-width: 820px) {
    .faq-shell {
        width: min(calc(100% - 40px), 1380px);
    }

    .faq-main {
        overflow: hidden;
    }

    .faq-hero {
        min-height: auto;
        padding: 116px 0 56px;
    }

    .faq-hero-media img {
        object-position: 58% center;
    }

    .faq-hero-overlay {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.77) 68%, rgba(0, 0, 0, 0.34) 100%);
    }

    .faq-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.45rem);
        line-height: 0.95;
    }

    .faq-hero-actions .btn,
    .faq-final-actions .btn {
        width: 100%;
    }

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

    .faq-category-grid a,
    .faq-category-grid a:first-child,
    .faq-category-grid a:last-child {
        min-height: 98px;
        padding: 20px 14px;
    }

    .faq-category-grid a:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .faq-category-grid a:nth-child(2n) {
        border-right: 0;
    }

    .faq-category-grid a:nth-child(n + 4) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .faq-category-grid a:nth-child(n + 5) {
        border-bottom: 0;
    }

    .faq-section {
        padding: 86px 0;
    }

    .faq-section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-section-heading {
        position: static;
    }

    .faq-section-number {
        margin-bottom: 30px;
    }

    .faq-section-heading h2,
    .faq-final-inner h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: 0.98;
    }

    .faq-item summary {
        min-height: 0;
        padding: 25px 46px 25px 0;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 46px 28px 0;
    }

    .faq-answer p {
        font-size: 0.92rem;
    }

    .faq-final {
        min-height: auto;
        padding: 110px 0 70px;
    }
}

@media (max-width: 480px) {
    .faq-shell {
        width: min(calc(100% - 32px), 1380px);
    }

    .faq-hero {
        padding-top: 106px;
    }

    .faq-category-grid a {
        font-size: 0.76rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-hero-media img {
        animation: none;
    }
}
