/* ============================================================
   FAQ PAGE — ISOLATED REDESIGN v2
   ============================================================ */

.faqs-redesign-page {
  --faq-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --faq-accent: #ff76a8;
  --faq-accent-soft: rgba(255, 118, 168, 0.16);
}

/* ---------- Page background & navbar ---------- */
.faqs-redesign-page .bg-gradient {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 221, 229, .62), transparent 28%),
    radial-gradient(circle at 82% 17%, rgba(255, 152, 191, .13), transparent 26%),
    linear-gradient(180deg, #d985a2 0%, #9f5374 29%, #5b314d 64%, #231520 100%);
}
/* =========================================
   FAQ NAVBAR
   TRANSPARENT TOP → OPAQUE ON SCROLL
   ========================================= */

.faqs-redesign-page .navbar {
  background: transparent !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-bottom: 1px solid transparent !important;

  box-shadow: none !important;

  transition:
    background .4s ease,
    padding .4s ease,
    backdrop-filter .4s ease,
    border-color .4s ease,
    box-shadow .4s ease !important;
}


/* SCROLLED STATE */
.faqs-redesign-page .navbar.navbar-scrolled {
  background: rgba(44, 23, 35, .92) !important;

  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;

  border-bottom:
    1px solid rgba(255,255,255,.06) !important;

  box-shadow:
    0 8px 30px rgba(22,8,17,.16) !important;
}

/* ---------- Main shell ---------- */
.faqs-page-main {
  max-width: 100%;
  padding: 0;
  min-height: auto;
  overflow: hidden;
}
.faqs-shell {
  position: relative;
  min-height: 100vh;
  padding: 6.4rem 1rem 2.2rem;
}
.faqs-shell::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background:
    linear-gradient(180deg, rgba(36, 15, 28, 0) 0%, rgba(36, 15, 28, .58) 45%, rgba(28, 12, 22, .82) 100%),
    url('') center bottom/cover;
  opacity: .34;
  pointer-events: none;
}
.faqs-shell > * { position: relative; z-index: 2; }

/* ---------- Decorative layer ---------- */
.faqs-deco-circle {
  position: absolute;
  border: 1px solid rgba(255, 203, 220, .28);
  border-radius: 50%;
  pointer-events: none;
}
.faqs-deco-circle-left  { width: 260px; height: 260px; left: -175px; top: -70px; }
.faqs-deco-circle-right { width: 290px; height: 290px; right: -160px; top: 390px; }

.faqs-spark {
  position: absolute;
  color: rgba(255, 193, 213, .92);
  font-size: 2rem;
  line-height: 1;
}
.faqs-spark-left  { left: 9.5%; top: 9.6rem; }
.faqs-spark-right { right: 16.2%; top: 27rem; }

.faqs-brush {
  position: absolute;
  display: block;
  height: 2.6rem;
  background: linear-gradient(90deg, rgba(255, 89, 147, .65), rgba(255, 89, 147, .02));
  opacity: .46;
}
.faqs-brush-left  {
  left: -1rem; top: 25rem; width: 12rem;
  transform: rotate(-24deg);
  clip-path: polygon(0 54%, 100% 0, 92% 100%, 0 77%);
}
.faqs-brush-right {
  right: -2rem; top: 7rem; width: 10rem;
  transform: rotate(-30deg);
  clip-path: polygon(0 20%, 100% 0, 92% 100%, 5% 76%);
}

.faqs-side-copy {
  position: absolute;
  left: 4.6%; top: 17.5rem;
  color: rgba(255, 219, 230, .72);
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .42em;
  line-height: 1.9;
}
.faqs-side-copy span {
  display: block;
  width: 36px; height: 2px;
  margin-top: .95rem;
  background: #ff9fbd;
}
.faqs-side-script {
  position: absolute;
  right: 4.6%; top: 10.2rem;
  color: rgba(255, 140, 176, .66);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.05;
  text-align: right;
  transform: rotate(-8deg);
}
.faqs-side-script span {
  display: block;
  width: 92px; height: 6px;
  margin: .55rem 0 0 auto;
  border-radius: 999px;
  background: #ff76a8;
  transform: skewX(-28deg);
}

/* ---------- Header ---------- */
.faqs-header {
  width: min(780px, calc(100% - 320px));
  margin: 0 auto 1.45rem;
}
.faqs-kicker {
  display: block;
  margin-bottom: .6rem;
  color: rgba(231, 184, 201, .88);
  text-transform: uppercase;
  letter-spacing: .62em;
  font-size: .83rem;
}

.faqs-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display); /* Forces the Bungee font */
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: .9;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(34, 11, 25, .13);
}

.faqs-subtitle {
  margin: .75rem 0 0;
  color: rgba(255,244,247,.96);
  font-size: 1.16rem;
  line-height: 1.45;
}

/* ---------- Category filter bar ---------- */
.faqs-category-tabs {
  width: min(660px, calc(100% - 320px));
  margin: 0 auto 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .7rem;
}
.faq-filter-btn {
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 207, 222, .25);
  background: rgba(91, 48, 70, .45);
  color: rgba(255, 242, 246, .92);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.faq-filter-btn:hover {
  background: rgba(120, 62, 90, .6);
  border-color: rgba(255, 207, 222, .4);
}
.faq-filter-btn:active { transform: translateY(1px); }
.faq-filter-btn:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: 3px;
}
.faq-filter-btn.active {
  background: #fff;
  color: #523044;
  border-color: #fff;
  box-shadow: 0 10px 22px rgba(255,255,255,.12);
}

/* ---------- Card stack ---------- */
.faqs-card-stack {
  width: min(820px, calc(100% - 320px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* --- PREMIUM GLASS CARDS OVERHAUL --- */
.faq-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  /* Deep glassmorphism matching the Orgs page */
  background: rgba(43, 22, 34, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.faq-card.active {
  background: rgba(69, 34, 52, 0.65);
  border-color: rgba(255, 255, 255, 0.15);
  /* Glowing edge to match the Orgs featured/hover state */
  box-shadow: inset 0 0 0 1px rgba(255, 117, 164, 0.3), 0 15px 35px rgba(0, 0, 0, 0.25);
}
.faq-card.is-hidden { display: none !important; }

/* ---------- Question row ---------- */
.faq-card .faq-question {
  width: 100%;
  min-height: 78px;
  padding: .75rem 1.25rem .75rem 1rem;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background .25s ease;
}
.faq-card .faq-question:hover { background: rgba(255, 255, 255, .025); }
.faq-card .faq-question:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: -2px;
  border-radius: 20px 20px 0 0;
}
.faq-card:not(.active) .faq-question:focus-visible { border-radius: 20px; }

/* --- CLEANER ICONS --- */
.faq-leading-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.faq-question-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  min-width: 0;
}
.faq-question-copy strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1rem, 1.45vw, 1.34rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.faq-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 225, .34);
  color: rgba(255, 239, 244, .9);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .66rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- Toggle (+ / −) ---------- */
.faq-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  justify-self: end;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #ff9fbc;
  transform: translate(-50%, -50%);
  transition: transform .28s var(--faq-ease), opacity .28s ease;
}
.faq-toggle::before { width: 20px; height: 2px; }
.faq-toggle::after  { width: 2px;  height: 20px; }
.faq-card.active .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* ---------- Answer (auto-height animation) ---------- */
.faq-card .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.5rem 0 6.4rem;
  transition: grid-template-rows .42s var(--faq-ease);
}
.faq-card.active .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  color: rgba(255, 242, 246, .93);
  font-size: 1rem;
  line-height: 1.5;
  border-top: 1px solid transparent;
  padding-top: 0;
  padding-bottom: 0;
  transition:
    border-color .3s ease,
    padding .42s var(--faq-ease);
}
.faq-card.active .faq-answer-inner {
  border-top-color: rgba(255, 215, 228, .22);
  padding-top: .75rem;
  padding-bottom: 1rem;
}

/* ---------- Bottom tag ---------- */
.faqs-bottom-tag {
  width: min(580px, calc(100% - 320px));
  margin: 1.7rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: rgba(255, 220, 230, .9);
}
.faqs-bottom-tag > span {
  flex: 1;
  max-width: 78px;
  height: 1px;
  background: rgba(255, 218, 229, .58);
}
.faqs-bottom-tag strong {
  display: block;
  margin-bottom: .3rem;
  font-size: .78rem;
  letter-spacing: .62em;
  text-transform: uppercase;
}
.faqs-bottom-tag p {
  margin: 0;
  font-size: .71rem;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.faqs-redesign-page .site-footer { margin-top: 0; background: #160d14; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .faqs-header,
  .faqs-category-tabs,
  .faqs-card-stack,
  .faqs-bottom-tag { width: calc(100% - 200px); }
  .faqs-side-copy   { left: 2rem; }
  .faqs-side-script { right: 2rem; }
}
@media (max-width: 900px) {
  .faqs-side-copy,
  .faqs-side-script,
  .faqs-spark,
  .faqs-brush,
  .faqs-deco-circle { display: none; }
  .faqs-header,
  .faqs-category-tabs,
  .faqs-card-stack,
  .faqs-bottom-tag { width: calc(100% - 40px); }
}
@media (max-width: 700px) {
  .faqs-shell { padding: 5.5rem .75rem 2rem; }
  .faqs-header,
  .faqs-category-tabs,
  .faqs-card-stack,
  .faqs-bottom-tag { width: 100%; }
  .faqs-title { font-size: clamp(3rem, 17vw, 4.5rem); }
  .faqs-subtitle { font-size: .98rem; }

  .faqs-category-tabs {
    display: flex;
    overflow-x: auto;
    gap: .5rem;
    padding-bottom: .2rem;
    scrollbar-width: none;
  }
  .faqs-category-tabs::-webkit-scrollbar { display: none; }
  .faq-filter-btn { flex: 0 0 auto; min-width: 112px; }

  .faq-card .faq-question {
    grid-template-columns: 52px minmax(0, 1fr) 30px;
    gap: .7rem;
    padding: .75rem .85rem;
  }
  .faq-leading-icon { width: 44px; height: 44px; }
  .faq-question-copy strong { font-size: 1rem; }
  .faq-tag { font-size: .58rem; min-height: 23px; padding: 0 .7rem; }

  .faq-card .faq-answer { padding-left: 4.35rem; padding-right: .85rem; }
  .faq-card.active .faq-answer-inner { padding-bottom: .85rem; }

  .faqs-bottom-tag { gap: .55rem; }
  .faqs-bottom-tag strong { letter-spacing: .3em; font-size: .7rem; }
  .faqs-bottom-tag p { letter-spacing: .18em; font-size: .62rem; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .faq-card,
  .faq-filter-btn,
  .faq-card .faq-question,
  .faq-toggle::before,
  .faq-toggle::after,
  .faq-card .faq-answer,
  .faq-answer-inner {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   FAQS NAVBAR
   CLEAR AT TOP → OPAQUE ON SCROLL
   ========================================= */

.faqs-page .navbar {
  background: transparent !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-bottom: 1px solid transparent !important;

  box-shadow: none !important;

  transition:
    background .35s ease,
    backdrop-filter .35s ease,
    box-shadow .35s ease,
    border-color .35s ease !important;
}


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

.faqs-exact-page .navbar,
.faq-page .navbar,
body.faqs-page .navbar {
  background: transparent !important;

  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  border-bottom-color: transparent !important;

  box-shadow: none !important;

  transition:
    background .35s ease,
    backdrop-filter .35s ease,
    border-color .35s ease,
    box-shadow .35s ease !important;
}

.faqs-exact-page .navbar.navbar-scrolled,
.faq-page .navbar.navbar-scrolled,
body.faqs-page .navbar.navbar-scrolled {
  background: rgba(55, 27, 43, .94) !important;

  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;

  border-bottom:
    1px solid rgba(255,255,255,.08) !important;

  box-shadow:
    0 8px 30px rgba(25,10,19,.18) !important;
}