/* =========================================================
   MILLIONS OF SOLUTIONS
   FAQ PAGE
========================================================= */

.faq-page {
    --navy: #07182d;
    --navy-2: #0b2542;
    --gold: #d6a94f;
    --gold-2: #f0cf87;
    --blue: #2f78df;
    --text: #0f1e31;
    --muted: #667488;
    --line: #e2e8ef;
    --light: #f6f8fb;
    background: #fff;
    color: var(--text);
    overflow: hidden;
}

.faq-page *,
.faq-page *::before,
.faq-page *::after {
    box-sizing: border-box;
}

.faq-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   BUTTONS
========================================================= */

.faq-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .22s ease;
}

.faq-btn:hover {
    transform: translateY(-2px);
}

.faq-btn-primary {
    color: #071629;
    background: linear-gradient(135deg,var(--gold-2),var(--gold));
    box-shadow: 0 16px 35px rgba(214,169,79,.17);
}

.faq-btn-primary:hover {
    color: #071629;
}

.faq-btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.05);
}

.faq-btn-secondary:hover {
    color: #fff;
    border-color: rgba(214,169,79,.5);
}

/* =========================================================
   HERO
========================================================= */

.faq-hero {
    position: relative;
    min-height: 690px;
    padding: 92px 0 105px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 78% 24%,rgba(47,120,223,.27),transparent 31%),
        radial-gradient(circle at 15% 85%,rgba(214,169,79,.11),transparent 25%),
        linear-gradient(135deg,#061529,#0a213b 62%,#07182d);
}

.faq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 52px 52px;
}

.faq-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .98fr 1.02fr;
    align-items: center;
    gap: 68px;
}

.faq-eyebrow,
.faq-final-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .19em;
}

.faq-eyebrow::before,
.faq-final-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.faq-hero h1 {
    max-width: 710px;
    margin: 0;
    font-size: clamp(48px,5.25vw,76px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 800;
}

.faq-hero h1 span {
    display: block;
    color: var(--gold);
}

.faq-hero-copy > p {
    max-width: 650px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.74);
    font-size: 17px;
    line-height: 1.8;
}

.faq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 33px;
}

.faq-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 31px;
}

.faq-hero-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    color: rgba(255,255,255,.63);
    background: rgba(255,255,255,.035);
    font-size: 8px;
    font-weight: 800;
}

/* =========================================================
   HERO VISUAL
========================================================= */

.faq-hero-visual {
    position: relative;
    min-height: 500px;
}

.faq-stack-card {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 78%;
    grid-template-columns: 43px 1fr;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    background: rgba(8,26,47,.92);
    box-shadow: 0 22px 55px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}

.faq-stack-card > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 12px;
    color: #07182d;
    background: linear-gradient(135deg,var(--gold-2),var(--gold));
    font-size: 14px;
    font-weight: 900;
}

.faq-stack-card strong {
    display: block;
    color: rgba(255,255,255,.87);
    font-size: 11px;
}

.faq-stack-card i {
    display: block;
    width: 55%;
    height: 5px;
    margin-top: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.13);
}

.card-a {
    top: 20px;
    left: 10%;
    animation: faqFloatA 5s ease-in-out infinite;
}

.card-b {
    top: 125px;
    left: 18%;
    animation: faqFloatB 5.4s ease-in-out .4s infinite;
}

.card-c {
    top: 230px;
    left: 6%;
    animation: faqFloatA 4.8s ease-in-out .8s infinite;
}

.card-d {
    top: 335px;
    left: 16%;
    animation: faqFloatB 5.2s ease-in-out 1.1s infinite;
}

.faq-answer-bubble {
    position: absolute;
    z-index: 6;
    right: -10px;
    bottom: 8px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 11px;
    width: 260px;
    padding: 13px;
    border: 1px solid rgba(214,169,79,.33);
    border-radius: 15px;
    background: rgba(7,24,45,.96);
    box-shadow: 0 20px 50px rgba(0,0,0,.24);
}

.bubble-check {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #07182d;
    background: var(--gold);
    font-weight: 900;
}

.faq-answer-bubble small,
.faq-answer-bubble strong {
    display: block;
}

.faq-answer-bubble small {
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 6px;
    font-weight: 900;
    letter-spacing: .12em;
}

.faq-answer-bubble strong {
    color: rgba(255,255,255,.78);
    font-size: 9px;
    line-height: 1.4;
}

.faq-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(65px);
}

.glow-one {
    top: 90px;
    right: 35px;
    width: 180px;
    height: 180px;
    background: rgba(47,120,223,.2);
}

.glow-two {
    bottom: 30px;
    left: 50px;
    width: 155px;
    height: 155px;
    background: rgba(214,169,79,.13);
}

/* =========================================================
   TOOLS
========================================================= */

.faq-tools {
    position: relative;
    z-index: 8;
    margin-top: -48px;
}

.faq-search-wrap {
    position: relative;
    display: grid;
    height: 72px;
    grid-template-columns: 55px 1fr 45px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(17,39,68,.1);
}

.faq-search-icon {
    display: grid;
    place-items: center;
    color: var(--gold);
}

.faq-search-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.faq-search-wrap input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    color: var(--navy);
    background: transparent;
    font-family: inherit;
    font-size: 14px;
}

.faq-search-wrap input::placeholder {
    color: #a0aab5;
}

.faq-clear {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #8a97a6;
    background: var(--light);
    font-size: 20px;
}

.faq-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.faq-category {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    color: #59697c;
    background: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 900;
    transition: .2s ease;
}

.faq-category:hover,
.faq-category.active {
    border-color: var(--gold);
    color: #07182d;
    background: var(--gold);
}

/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-content-grid {
    display: grid;
    grid-template-columns: 285px 1fr;
    align-items: start;
    gap: 55px;
}

.faq-side {
    position: sticky;
    top: 30px;
    display: grid;
    gap: 13px;
}

.faq-side-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--light);
}

.faq-side-card.dark {
    color: #fff;
    border-color: rgba(255,255,255,.05);
    background:
        radial-gradient(circle at 85% 10%,rgba(214,169,79,.11),transparent 28%),
        var(--navy);
}

.faq-side-card > span {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .14em;
}

.faq-side-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.25;
}

.faq-side-card.dark h3 {
    color: #fff;
}

.faq-side-card p {
    margin: 11px 0 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

.faq-side-card.dark p {
    color: rgba(255,255,255,.58);
}

.faq-side-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

.faq-side-card.dark a {
    color: var(--gold);
}

.faq-side-card a b {
    color: var(--gold);
}

.faq-list {
    min-width: 0;
}

.faq-group-title {
    margin: 0 0 18px;
    padding-top: 14px;
}

.faq-group-title:not(:first-child) {
    margin-top: 58px;
}

.faq-group-title > span {
    display: block;
    margin-bottom: 8px;
    color: #9b742d;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

.faq-group-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: 29px;
    letter-spacing: -.025em;
}

.faq-item {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: .2s ease;
}

.faq-item:hover {
    border-color: #d7e0e8;
    box-shadow: 0 10px 30px rgba(17,39,68,.04);
}

.faq-item.open {
    border-color: rgba(214,169,79,.5);
    box-shadow: 0 14px 38px rgba(17,39,68,.055);
}

.faq-question {
    display: grid;
    width: 100%;
    grid-template-columns: 38px 1fr 30px;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 0;
    cursor: pointer;
    color: var(--navy);
    background: #fff;
    text-align: left;
    font-family: inherit;
}

.faq-question-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #9c742e;
    background: var(--light);
    font-size: 7px;
    font-weight: 900;
}

.faq-question strong {
    font-size: 13px;
    line-height: 1.5;
}

.faq-question > i {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light);
}

.faq-question > i::before,
.faq-question > i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    transform: translate(-50%,-50%);
    background: var(--navy);
    transition: .2s ease;
}

.faq-question > i::after {
    transform: translate(-50%,-50%) rotate(90deg);
}

.faq-item.open .faq-question > i {
    background: var(--gold);
}

.faq-item.open .faq-question > i::after {
    transform: translate(-50%,-50%) rotate(0deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
}

.faq-answer > div {
    overflow: hidden;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    margin: 0;
    padding: 0 18px 20px 68px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.faq-answer a {
    color: #9b742d;
    font-weight: 800;
    text-decoration: none;
}

.faq-item[hidden],
.faq-group-title[hidden] {
    display: none !important;
}

.faq-empty {
    display: none;
    padding: 40px 25px;
    border: 1px dashed #d7e0e8;
    border-radius: 16px;
    background: var(--light);
    text-align: center;
}

.faq-empty.show {
    display: block;
}

.faq-empty strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
}

.faq-empty p {
    margin: 7px 0 13px;
    color: var(--muted);
    font-size: 11px;
}

.faq-empty a {
    color: #9a722b;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
}

/* =========================================================
   FINAL
========================================================= */

.faq-final {
    padding: 95px 0;
    color: #fff;
    background:
        radial-gradient(circle at 82% 22%,rgba(47,120,223,.24),transparent 30%),
        linear-gradient(135deg,#061529,#0b223d);
}

.faq-final-grid {
    display: grid;
    grid-template-columns: 1.22fr .78fr;
    align-items: center;
    gap: 70px;
}

.faq-final h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(39px,4.4vw,61px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
}

.faq-final h2 span {
    display: block;
    color: var(--gold);
}

.faq-final p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.67);
    font-size: 15px;
    line-height: 1.8;
}

.faq-final-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.faq-final-link {
    color: rgba(255,255,255,.7);
    font-size: 11px;
    text-decoration: none;
}

.faq-final-link:hover {
    color: var(--gold);
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes faqFloatA {
    0%,100% { margin-top: 0; }
    50% { margin-top: -8px; }
}

@keyframes faqFloatB {
    0%,100% { margin-top: 0; }
    50% { margin-top: 7px; }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
    .faq-content-grid {
        grid-template-columns: 1fr;
    }

    .faq-side {
        position: static;
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 900px) {
    .faq-hero-grid,
    .faq-final-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

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

    .faq-hero-visual {
        min-height: 500px;
    }
}

@media (max-width: 650px) {
    .faq-shell {
        width: min(100% - 28px,1180px);
    }

    .faq-hero {
        min-height: auto;
        padding: 62px 0 78px;
    }

    .faq-hero h1 {
        font-size: 45px;
    }

    .faq-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-btn {
        width: 100%;
    }

    .faq-hero-visual {
        min-height: 390px;
    }

    .faq-stack-card {
        width: 90%;
    }

    .card-a { top: 10px; }
    .card-b { top: 95px; }
    .card-c { top: 180px; }
    .card-d { top: 265px; }

    .faq-answer-bubble {
        display: none;
    }

    .faq-tools {
        margin-top: -28px;
    }

    .faq-search-wrap {
        height: 62px;
        grid-template-columns: 46px 1fr 42px;
    }

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

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

    .faq-group-title h2 {
        font-size: 24px;
    }

    .faq-question {
        grid-template-columns: 34px 1fr 28px;
        gap: 10px;
        padding: 15px;
    }

    .faq-question strong {
        font-size: 12px;
    }

    .faq-answer p {
        padding: 0 15px 18px 59px;
    }

    .faq-final {
        padding: 72px 0;
    }

    .faq-final h2 {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-stack-card {
        animation: none !important;
    }

    .faq-answer {
        transition: none;
    }
}
