/* =====================================================================
   SHANEXWEBCO — FAQs page
   File: assets/css/faq.css · Mobile-first · Logo colours: navy, steel silver, gold
   01 Base · 02 Hero + search · 03 Category chips · 04 Body + side index · 05 Groups + accordions
   06 Empty state · 07 Ask cards · 08 CTA · 09 Toast · 10 Safety
   ===================================================================== */

/* 01 — Base */
.fq {
    --navy: #0F2F55; --navy-deep: #0A2342; --navy-ink: #071A30;
    --steel: #6E8199; --steel-soft: #A7B4C4;
    --gold: #D9A94E; --gold-soft: #F3D99C; --gold-grad: linear-gradient(135deg, #F7DFA5, #D9A94E);
    --ink: #0B2340; --body: #55657A; --muted: #8291A4; --line: #E3E8EF; --soft: #F5F7FA;
    --font-h: var(--font-heading, 'Poppins', sans-serif);
    --hh: var(--sx-hh, 0px);
    --ease: cubic-bezier(.2, .8, .2, 1);
    position: relative; background: #fff; color: var(--body);
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    overflow-x: clip; -webkit-font-smoothing: antialiased;
}
.fq *, .fq *::before, .fq *::after { box-sizing: border-box; }
.fq :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.fq :where(ul, ol) { list-style: none; }
.fq :where(a) { color: inherit; }
.fq [hidden] { display: none !important; }
.fq :where(a, button, summary, input):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.fq-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fq-wrap { width: min(calc(100% - 32px), 1180px); margin-inline: auto; }
.fq-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.fq-w__i { display: inline-block; }
.fq-eyebrow { display: inline-block; color: var(--steel); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.fq h1 em, .fq h1 em .fq-w__i, .fq h2 em, .fq h2 em .fq-w__i { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fq-ask h2 em, .fq-ask h2 em .fq-w__i { background: linear-gradient(90deg, #C99238, #E2B867); -webkit-background-clip: text; background-clip: text; }
.fq mark { background: rgba(243,217,156,.65); color: inherit; border-radius: 3px; padding: 0 2px; }

.fq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent; font: 600 15px/1 var(--font-h); text-decoration: none; white-space: nowrap; transition: background .3s, box-shadow .3s, border-color .3s; will-change: transform; }
.fq-btn span { transition: transform .35s var(--ease); }
.fq-btn:hover span { transform: translateX(4px); }
.fq-btn--gold { background: var(--gold-grad); color: var(--navy-ink) !important; box-shadow: 0 12px 28px -14px rgba(201,146,56,.95); }
.fq-btn--glass { border-color: rgba(255,255,255,.3); color: #fff !important; background: rgba(255,255,255,.06); }
.fq-btn--glass:hover { border-color: var(--gold); background: rgba(255,255,255,.12); }

/* 02 — Hero + search */
.fq-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) 0 clamp(90px, 11vw, 130px); text-align: center; background: radial-gradient(ellipse 80% 90% at 50% 0%, #1A4373 0%, var(--navy) 45%, var(--navy-ink) 100%); color: #fff; }
.fq-hero__sky { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3vw, 34px); opacity: .2; pointer-events: none; }
.fq-hero__sky i { width: clamp(16px, 3.4vw, 40px); height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--steel-soft), transparent); transform-origin: 50% 100%; }
.fq-hero__sky i:nth-child(4n) { background: linear-gradient(180deg, var(--gold), transparent); }
.fq-hero__q { position: absolute; right: -2vw; top: 4%; font: 800 clamp(200px, 34vw, 440px)/1 var(--font-h); color: transparent; -webkit-text-stroke: 2px rgba(243,217,156,.18); pointer-events: none; user-select: none; }
.fq-hero__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.fq-crumb { margin-bottom: 16px; font-size: 13px; color: rgba(255,255,255,.6); }
.fq-crumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fq-crumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.fq-crumb a { text-decoration: none; }
.fq-crumb a:hover { color: var(--gold-soft); }
.fq-hero .fq-eyebrow { color: var(--steel-soft); }
.fq-hero__title { margin-top: 12px; font: 800 clamp(40px, 10vw, 78px)/1.04 var(--font-h); letter-spacing: -.045em; color: #fff; }
.fq-hero__title em { display: block; }
.fq-hero__lead { max-width: 620px; margin-top: 18px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; color: rgba(255,255,255,.78); }
.fq-search { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 640px); height: 62px; margin-top: 32px; padding: 0 18px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.06); }
.fq-search > svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--steel); }
.fq-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 16px/1 var(--font-body, sans-serif); color: var(--ink); }
.fq-search input::placeholder { color: var(--muted); }
.fq-search input::-webkit-search-cancel-button { display: none; }
.fq-search:focus-within { box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), 0 0 0 4px rgba(243,217,156,.6); }
.fq-search__clear { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--steel); cursor: pointer; }
.fq-search__clear svg { width: 16px; height: 16px; }
.fq-search kbd { display: none; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); background: var(--soft); font: 600 12px/1 ui-monospace, monospace; color: var(--muted); }
.fq-search__meta { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--gold-soft); }
@media (hover: hover) and (pointer: fine) { .fq-search kbd { display: inline-block; } }

/* 03 — Category chips */
.fq-chips { position: sticky; top: calc(var(--hh) + 10px); z-index: 20; display: flex; justify-content: center; padding: 0 16px; margin-top: -28px; pointer-events: none; }
.fq-chips__in { display: flex; gap: 6px; max-width: 100%; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: 0 16px 36px -20px rgba(15,47,85,.5); backdrop-filter: blur(12px); pointer-events: auto; }
.fq-chips__in::-webkit-scrollbar { display: none; }
.fq-chips button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 0; border-radius: 11px; background: transparent; font: 600 13.5px/1 var(--font-h); color: var(--steel); cursor: pointer; white-space: nowrap; transition: background .3s, color .3s; }
.fq-chips button span { padding: 3px 7px; border-radius: 999px; background: var(--soft); font-size: 11px; color: var(--muted); transition: background .3s, color .3s; }
.fq-chips button:hover { color: var(--navy); }
.fq-chips button.is-on { background: var(--navy); color: #fff; }
.fq-chips button.is-on span { background: rgba(243,217,156,.2); color: var(--gold-soft); }

/* 04 — Body + side index */
.fq-body { padding: clamp(50px, 7vw, 80px) 0 clamp(60px, 8vw, 100px); }
.fq-body__in { display: grid; gap: 30px; align-items: start; }
.fq-index { display: none; }
@media (min-width: 1000px) {
    .fq-body__in { grid-template-columns: 260px 1fr; gap: 56px; }
    .fq-index { position: sticky; top: calc(var(--hh) + 96px); display: block; padding: 22px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
    .fq-index > b { display: block; margin-bottom: 12px; font: 700 12px/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
    .fq-index ol { display: grid; gap: 2px; }
    .fq-index ol a { display: flex; gap: 10px; align-items: baseline; padding: 9px 10px; border-radius: 10px; font: 600 14px/1.35 var(--font-h); color: var(--steel); text-decoration: none; transition: background .25s, color .25s; }
    .fq-index ol a span { font-size: 11px; color: var(--steel-soft); }
    .fq-index ol a:hover { color: var(--navy); background: #fff; }
    .fq-index ol a.is-on { background: var(--navy); color: #fff; }
    .fq-index ol a.is-on span { color: var(--gold-soft); }
    .fq-index__ask { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 12px; border-radius: 12px; background: var(--gold-grad); color: var(--navy-ink) !important; font: 600 14px/1 var(--font-h); text-decoration: none; }
    .fq-index__ask svg { width: 18px; height: 18px; }
}

/* 05 — Groups + accordions */
.fq-groups { display: grid; gap: clamp(40px, 6vw, 64px); min-width: 0; }
.fq-group { scroll-margin-top: calc(var(--hh) + 90px); }
.fq-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fq-group__ic { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--gold-soft); box-shadow: 0 14px 28px -14px rgba(15,47,85,.8); }
.fq-group__ic svg { width: 24px; height: 24px; }
.fq-group__head small { display: block; font: 600 12px/1 var(--font-h); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.fq-group__head h2 { margin-top: 6px; font: 800 clamp(22px, 4.6vw, 30px)/1.15 var(--font-h); letter-spacing: -.03em; color: var(--ink); }
.fq-list { display: grid; gap: 10px; }
.fq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 90px); transition: border-color .3s, box-shadow .3s, background .3s; }
.fq-item:hover { border-color: var(--steel-soft); }
.fq-item[open] { border-color: rgba(217,169,78,.55); box-shadow: 0 22px 44px -32px rgba(15,47,85,.6); }
.fq-item.is-flash { animation: fqFlash 2s var(--ease); }
@keyframes fqFlash { 0%, 40% { box-shadow: 0 0 0 4px rgba(243,217,156,.8); } 100% { box-shadow: 0 22px 44px -32px rgba(15,47,85,.6); } }
.fq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item h3 { font: 600 clamp(15.5px, 1.6vw, 17px)/1.4 var(--font-h); color: var(--ink); }
.fq-item__pm { position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); color: var(--navy); transition: background .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.fq-item__pm::before, .fq-item__pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.fq-item__pm::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.fq-item[open] .fq-item__pm { background: var(--navy); border-color: var(--navy); color: var(--gold-soft); transform: rotate(180deg); }
.fq-item[open] .fq-item__pm::after { transform: rotate(0); }
.fq-a { overflow: hidden; }
.fq-a__txt { padding: 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--body); max-width: 72ch; }
.fq-a__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 20px 18px; }
.fq-a__more { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.2 var(--font-h); color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.fq-a__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fq-a__more:hover svg { transform: translateX(4px); }
.fq-a__copy { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 12px/1 var(--font-h); color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s; }
.fq-a__copy svg { width: 14px; height: 14px; }
.fq-a__copy:hover { color: var(--navy); border-color: var(--steel-soft); }

/* 06 — Empty state */
.fq-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border-radius: 22px; background: var(--soft); border: 1.5px dashed var(--line); text-align: center; }
.fq-empty b { font: 700 19px/1.3 var(--font-h); color: var(--ink); }
.fq-empty p { font-size: 15px; margin-bottom: 8px; }

/* 07 — Ask cards */
.fq-ask { padding: clamp(60px, 8vw, 96px) 0; background: var(--soft); border-top: 1px solid var(--line); }
.fq-head { max-width: 700px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.fq-head h2 { margin-top: 10px; font: 800 clamp(30px, 7vw, 48px)/1.1 var(--font-h); letter-spacing: -.04em; color: var(--ink); }
.fq-ask__grid { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.fq-card { position: relative; display: grid; gap: 6px; padding: 24px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 24px 50px -40px rgba(15,47,85,.55); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.fq-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 30px 60px -36px rgba(15,47,85,.6); }
.fq-card__ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 15px; background: var(--navy); color: var(--gold-soft); }
.fq-card__ic svg { width: 24px; height: 24px; }
.fq-card b { font: 700 18px/1.2 var(--font-h); color: var(--ink); }
.fq-card small { font-size: 14px; color: var(--muted); }
.fq-card em { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 14px/1 var(--font-h); font-style: normal; color: var(--navy); }
.fq-card em svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fq-card:hover em svg { transform: translateX(4px); }
.fq-card--wa { background: linear-gradient(170deg, var(--navy), var(--navy-ink)); border-color: var(--navy); }
.fq-card--wa .fq-card__ic { background: var(--gold-grad); color: var(--navy-ink); }
.fq-card--wa b { color: #fff; } .fq-card--wa small { color: var(--steel-soft); } .fq-card--wa em { color: var(--gold-soft); }
@media (min-width: 760px) { .fq-ask__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* 08 — CTA */
.fq-cta { padding: clamp(60px, 8vw, 100px) 0; background: #fff; }
.fq-cta__box { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 84px) clamp(22px, 5vw, 60px) clamp(90px, 10vw, 120px); border-radius: 28px; text-align: center; background: radial-gradient(ellipse 80% 90% at 50% 0%, #1A4373 0%, var(--navy) 45%, var(--navy-ink) 100%); color: #fff; }
.fq-cta__sky { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3vw, 30px); opacity: .35; pointer-events: none; }
.fq-cta__sky i { width: clamp(16px, 3.4vw, 38px); height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--steel-soft), transparent); transform-origin: 50% 100%; }
.fq-cta__sky i:nth-child(4) { background: linear-gradient(180deg, var(--gold), transparent); }
.fq-cta__box h2 { position: relative; font: 800 clamp(30px, 6vw, 50px)/1.1 var(--font-h); letter-spacing: -.04em; color: #fff; }
.fq-cta__box h2 em { display: block; }
.fq-cta__box p { position: relative; max-width: 560px; margin: 16px auto 0; font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.78); }
.fq-cta__btns { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* 09 — Toast */
.fq-toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--navy-ink); color: var(--gold-soft); font: 600 14px/1 var(--font-h); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: translate(-50%, 140%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; pointer-events: none; }
.fq-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* 10 — Motion safety */
.shx-js:not(.fq-safe):not(.fq-run) .fq-hero [data-fq-in],
.shx-js:not(.fq-safe):not(.fq-run) .fq-hero__title { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
    .fq *, .fq *::before, .fq *::after { transition-duration: .01ms !important; animation: none !important; }
}
.fq-search input:focus, .fq-search input:focus-visible { outline: none; box-shadow: none; }