/* ==========================================================================
   Zivah Fertility & Women's Wellness Centre — FAQ page
   --------------------------------------------------------------------------
   Tight, premium, no-italic. Pairs with /assets/css/core.css.

     §1   Page shell + compact hero
     §2   Sticky toolbar (search + chip rail + filter trigger)
     §3   Chip rail (edge-fade, arrow scroll, horizontal scroll)
     §4   Two-column layout
     §5   Accordion (refined, dense, premium)
     §6   Sidebar — Browse + Support (uses project's .sticky-sidebar-wrap)
     §7   Mobile filter drawer (right-side sheet, gg pattern)
     §8   Empty / footer CTA
     §9   Responsive
   ========================================================================== */


/* §1  PAGE SHELL + COMPACT HERO ---------------------------------------- */

.zc-faq {
  font-family: var(--zc-f-body);
  color: var(--zc-warm-dk);
  background: var(--zc-off-white);
  isolation: isolate;
}
.zc-faq * { box-sizing: border-box; }
.zc-faq a { color: inherit; text-decoration: none; }
.zc-faq button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }
.zc-faq img { display: block; max-width: 100%; }

/* Italic kill-switch — explicit user preference */
.zc-faq, .zc-faq * { font-style: normal !important; }

/* Container — follows the project's site-wide rule:
   width 100%, NO max-width cap, padding does all the work.
   Tokens come straight from core.css :root (28px desktop, 14px mobile). */
.zc-faq__container {
  width: 100%;
  margin: 0 auto;
  padding-left:  var(--zc-pad-x);
  padding-right: var(--zc-pad-x);
}
@media (max-width: 991px) {
  .zc-faq__container {
    padding-left:  var(--zc-pad-x-mb);
    padding-right: var(--zc-pad-x-mb);
  }
}

.zc-faq__hero {
  position: relative;
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(22px, 2.6vw, 32px);
  background:
    radial-gradient(at 8% 30%,  rgba(207, 138, 63, 0.14) 0%, transparent 50%),
    radial-gradient(at 92% 0%,  rgba(245, 211, 163, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-off-white) 100%);
  border-bottom: 1px solid rgba(207, 138, 63, 0.10);
}
.zc-faq__hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zc-f-accent);                        /* Jost — small caps accent */
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zc-amber-dk);
  margin-bottom: 14px;
}
.zc-faq__hero-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--zc-amber);
}
.zc-faq__hero-title {
  font-family: var(--zc-f-display);                        /* Outfit display */
  font-size: clamp(30px, 3.8vw + 8px, 50px);
  font-weight: 600;                                        /* brighter, more presence */
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: var(--zc-deep);                                   /* richest dark for max contrast */
  margin: 0 0 12px;
  max-width: 880px;
}
.zc-faq__hero-title-accent {
  color: var(--zc-amber);
  font-weight: 600;
}
.zc-faq__hero-sub {
  font-family: var(--zc-f-body);                           /* Figtree */
  font-size: clamp(14.5px, 0.7vw + 11px, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--zc-charcoal);                               /* darker body — much more legible */
  margin: 0;
  max-width: 660px;
  letter-spacing: 0.05px;
}


/* §2  STICKY TOOLBAR ---------------------------------------------------
   Sits flush under the sticky header. Search is the HERO control —
   bigger, brighter, with its own elevation and amber focus glow.
   Chip rail and filter button are visually secondary. */
.zc-faq__toolbar {
  position: sticky;
  top: var(--zc-nav-h);                                /* flush with sticky header */
  z-index: 60;
  background: var(--zc-pearl);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-top: 1px solid rgba(207, 138, 63, 0.12);
  border-bottom: 1px solid rgba(207, 138, 63, 0.18);
  box-shadow: 0 10px 22px -10px rgba(46, 75, 113, 0.14);
  padding: 14px 0;
  margin-bottom: 0;
}
.zc-faq__toolbar-row {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr auto;
  gap: 12px;                                           /* search separates from chips/filter */
  align-items: center;
}

/* SEARCH — premium standalone control, taller and brighter */
.zc-faq__search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 18px;
  background: var(--zc-white);
  border: 1.5px solid var(--zc-linen);
  border-radius: 14px;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 8px 22px rgba(46, 75, 113, 0.08),
    0 2px 6px rgba(207, 138, 63, 0.06);
  transition:
    border-color 0.3s var(--zc-ease),
    box-shadow 0.3s var(--zc-ease),
    background 0.3s ease;
}
.zc-faq__search:hover {
  border-color: var(--zc-amber-a35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 26px rgba(46, 75, 113, 0.10),
    0 3px 8px rgba(207, 138, 63, 0.10);
}
.zc-faq__search:focus-within {
  border-color: var(--zc-amber);
  background: var(--zc-white);
  box-shadow:
    0 0 0 4px var(--zc-amber-a18),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 30px rgba(46, 75, 113, 0.12),
    0 4px 10px rgba(207, 138, 63, 0.14);
}
.zc-faq__search-ic {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--zc-amber);
  stroke-width: 2.4;
  transition: color 0.25s ease, transform 0.3s var(--zc-ease-spring);
}
.zc-faq__search:focus-within .zc-faq__search-ic {
  color: var(--zc-amber-dk);
  transform: scale(1.08);
}
.zc-faq__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--zc-f-body);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--zc-deep);                                /* darkest tone for sharp legibility */
  padding: 8px 0;
  letter-spacing: 0.05px;
}
.zc-faq__search-input::placeholder {
  color: var(--zc-warm-mid);
  font-weight: 400;
  opacity: 0.85;
}
.zc-faq__search-clear {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--zc-snow);
  color: var(--zc-warm-dk);
  font-size: 12px;
  flex-shrink: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.zc-faq__search-clear:hover {
  background: var(--zc-amber);
  color: var(--zc-white);
  transform: rotate(90deg);
}
.zc-faq.has-query .zc-faq__search-clear { opacity: 1; pointer-events: auto; }


/* §3  CHIP RAIL -------------------------------------------------------- */

.zc-faq__rail {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
}
.zc-faq__rail-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Comfortable left/right breathing room (matches the toolbar's panel
     gutters) so the first/last chip never sits flush against the edge. */
  padding: 6px 12px;
  scroll-snap-type: x proximity;
  flex: 1;
  min-width: 0;
  transition: padding 0.3s ease;        /* smooth shift when arrows fade in */
}
/* When arrows are visible, give the rail extra inner padding so the
   arrow buttons don't sit on top of the first/last chip. The padding
   transitions in/out together with the arrow's opacity. */
.zc-faq__rail.can-prev .zc-faq__rail-track { padding-left:  44px; }
.zc-faq__rail.can-next .zc-faq__rail-track { padding-right: 44px; }
.zc-faq__rail-track::-webkit-scrollbar { display: none; }

/* Edge fades — only paint when there's actual scroll-back / scroll-forward
   content. On initial load nothing is hidden behind a fade. */
.zc-faq__rail::before,
.zc-faq__rail::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.zc-faq__rail::before { left: 0;  background: linear-gradient(90deg,  var(--zc-pearl) 0%, transparent 100%); }
.zc-faq__rail::after  { right: 0; background: linear-gradient(-90deg, var(--zc-pearl) 0%, transparent 100%); }
.zc-faq__rail.can-prev::before { opacity: 1; }
.zc-faq__rail.can-next::after  { opacity: 1; }

/* Arrow scroll buttons — premium glass pills, only appear when can-scroll */
.zc-faq__rail-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-snow) 100%);
  border: 1.5px solid var(--zc-amber-a35);
  color: var(--zc-amber-dk);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(0, 0, 0, 0.04) inset,
    0 6px 14px rgba(46, 75, 113, 0.16),
    0 2px 6px rgba(207, 138, 63, 0.12);
  cursor: pointer;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease,
              transform 0.3s var(--zc-ease-spring), box-shadow 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.zc-faq__rail-btn--prev { left:  4px; }
.zc-faq__rail-btn--next { right: 4px; }
.zc-faq__rail-btn:hover {
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  border-color: var(--zc-amber-dk);
  color: var(--zc-white);
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 10px 24px var(--zc-amber-a45),
    0 4px 10px rgba(207, 138, 63, 0.30);
}
.zc-faq__rail.can-prev .zc-faq__rail-btn--prev { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }
.zc-faq__rail.can-next .zc-faq__rail-btn--next { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }

/* Chips — premium frosted-glass pills (Jost, 12px, 0 16px padding).
   Active state is a clean bright amber pill with WHITE text — no dark
   brown bleed (was caused by --zc-amber-dk at the gradient's lower
   stop + inset brown sculpt shadow; both replaced with brighter amber). */
.zc-faq__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px !important;
  border-radius: 999px;

  background: linear-gradient(210deg, var(--zc-amber-a12) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--zc-amber-a18);

  font-family: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500;
  color: var(--zc-charcoal);
  letter-spacing: 0.1px;
  text-transform: none;

  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  position: relative;

  /* Sculpted glass — soft warm linen inset (not brown) */
  box-shadow:
    inset -6px 4px 6px 0px rgba(214, 207, 194, 0.55),
    0 2px 6px rgba(46, 75, 113, 0.04);

  transition:
    background 0.3s var(--zc-ease),
    border-color 0.3s var(--zc-ease),
    color 0.3s var(--zc-ease),
    transform 0.3s var(--zc-ease-spring),
    box-shadow 0.3s var(--zc-ease);
}
.zc-faq__chip:hover {
  background: linear-gradient(210deg, var(--zc-amber-a25) 0%, rgba(255, 255, 255, 0) 100%);
  border-color: var(--zc-amber-a45);
  color: var(--zc-amber-dk);
  transform: translateY(-1px);
  box-shadow:
    inset -6px 4px 8px 0px rgba(207, 138, 63, 0.20),
    0 6px 14px rgba(207, 138, 63, 0.16);
}
.zc-faq__chip:active {
  transform: translateY(0);
  box-shadow:
    inset -4px 3px 5px 0px rgba(207, 138, 63, 0.20),
    0 2px 6px rgba(207, 138, 63, 0.10);
}
.zc-faq__chip.is-active {
  /* Bright amber — both gradient stops stay in the warm-amber range so
     no muddy brown shows through. Light from the upper right keeps the
     glassy feel even when the chip is solid. */
  background: linear-gradient(210deg, var(--zc-amber-lt) 0%, var(--zc-amber) 100%) !important;
  border-color: var(--zc-amber) !important;
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.40),
    inset -6px 4px 6px 0px rgba(255, 255, 255, 0.18),     /* highlight, not brown */
    0 6px 14px var(--zc-amber-a45) !important;
}
.zc-faq__chip.is-active:hover {
  transform: translateY(-1px);
  color: #ffffff !important;
}
.zc-faq__chip.is-active:hover,
.zc-faq__chip.is-active:focus,
.zc-faq__chip.is-active:active {
  color: #ffffff !important;                              /* lock white through every state */
}

.zc-faq__chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--zc-amber-a12);
  color: var(--zc-amber-dk);
  font-family: var(--zc-f-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.zc-faq__chip.is-active .zc-faq__chip-count {
  background: rgba(255, 255, 255, 0.28);
  color: var(--zc-white);
}


/* Mobile Filter trigger — full glass 3D, Jost font. Inset highlight on
   top + inset shadow on bottom = pressed-metal pill. Lifts and turns
   amber on hover/active. */
.zc-faq__filter-btn {
  display: none;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-snow) 100%);
  border: 1.5px solid var(--zc-amber-a25);
  font-family: var(--zc-f-accent);                    /* Jost */
  font-size: 12.5px;
  font-weight: 700;
  color: var(--zc-charcoal);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition:
    background 0.3s var(--zc-ease),
    border-color 0.3s var(--zc-ease),
    color 0.3s var(--zc-ease),
    transform 0.35s var(--zc-ease-spring),
    box-shadow 0.35s var(--zc-ease);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(26, 18, 8, 0.04) inset,
    0 8px 20px rgba(46, 75, 113, 0.10),
    0 2px 6px rgba(207, 138, 63, 0.10);
}
.zc-faq__filter-btn i {
  color: var(--zc-amber);
  font-size: 17px;
  transition: transform 0.35s var(--zc-ease-spring), color 0.3s ease;
}
.zc-faq__filter-btn:hover {
  background: linear-gradient(180deg, var(--zc-amber-lt) 0%, var(--zc-amber) 100%);
  border-color: var(--zc-amber-dk);
  color: var(--zc-white);
  transform: translateY(-2px);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.40) inset,
    0 -1px 0 rgba(0, 0, 0, 0.14) inset,
    0 14px 30px var(--zc-amber-a45),
    0 4px 10px rgba(207, 138, 63, 0.30);
}
.zc-faq__filter-btn:hover i {
  color: var(--zc-white);
  transform: rotate(-12deg) scale(1.12);
}
.zc-faq__filter-btn:active { transform: translateY(0); }

.zc-faq__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zc-amber), var(--zc-amber-dk));
  color: var(--zc-white);
  font-family: var(--zc-f-accent);
  font-size: 11px;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 2px 8px var(--zc-amber-a45);
}
.zc-faq__filter-btn:hover .zc-faq__filter-count {
  background: var(--zc-white);
  color: var(--zc-amber-dk);
}


/* §4  TWO-COLUMN LAYOUT ------------------------------------------------ */

.zc-faq__main {
  padding: 24px 0 56px;
}
.zc-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 2.2vw, 36px);
  align-items: start;
}


/* §5  ACCORDION ------------------------------------------------------- */

.zc-faq__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--zc-linen);
}
.zc-faq__panel-title {
  font-family: var(--zc-f-display);
  font-size: clamp(22px, 1.6vw + 12px, 30px);
  font-weight: 600;                                   /* brighter — was 500 */
  line-height: 1.2;
  color: var(--zc-deep);                              /* darker tone */
  letter-spacing: -0.3px;
  margin: 0;
}
.zc-faq__panel-title-accent { color: var(--zc-amber); font-weight: 600; }
.zc-faq__panel-result {
  font-family: var(--zc-f-accent);                    /* Jost — small caps */
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--zc-white);
  background: linear-gradient(135deg, var(--zc-amber), var(--zc-amber-dk));
  border: none;
  padding: 7px 14px;
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--zc-amber-a45);
}

/* §5  ACCORDION — premium glass cards, locked padding/typography
       (!important on the structural rules so legacy
       button{padding}/h*{margin}/a{color} can't bleed through). */

.zc-faq__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.zc-faq__item {
  position: relative;
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-pearl) 100%);
  border: 1px solid var(--zc-linen);
  border-radius: 16px !important;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 3px rgba(46, 75, 113, 0.04);
  transition:
    border-color 0.3s var(--zc-ease),
    box-shadow 0.4s var(--zc-ease),
    transform 0.4s var(--zc-ease-spring),
    background 0.4s ease;
}
.zc-faq__item::before {
  content: '';
  position: absolute;
  top: 14px; bottom: 14px; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--zc-amber), var(--zc-amber-dk));
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s var(--zc-ease-out);
}
.zc-faq__item:hover {
  border-color: var(--zc-amber-a25);
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-pearl) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 26px rgba(46, 75, 113, 0.08),
    0 3px 8px rgba(207, 138, 63, 0.06);
  transform: translateY(-1px);
}
.zc-faq__item.is-open {
  border-color: var(--zc-amber-a45);
  background: linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-white) 60%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 16px 40px rgba(46, 75, 113, 0.10),
    0 6px 14px rgba(207, 138, 63, 0.10);
  transform: translateY(-1px);
}
.zc-faq__item.is-open::before { transform: scaleY(1); }

/* QUESTION BUTTON — locked structure */
.zc-faq__q {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  text-align: left !important;
  padding: 18px 22px 18px 22px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  color: inherit;
}
.zc-faq__q:focus-visible {
  background: var(--zc-amber-a08) !important;
}

/* Q ICON — premium amber tile, glass on idle, solid amber on hover/open */
.zc-faq__q-icon {
  width: 42px !important;
  height: 42px !important;
  flex-shrink: 0;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(207, 138, 63, 0.14) 0%, rgba(207, 138, 63, 0.06) 100%);
  border: 1px solid var(--zc-amber-a25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--zc-amber-dk) !important;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 2px 6px rgba(207, 138, 63, 0.10);
  transition:
    background 0.35s var(--zc-ease),
    border-color 0.35s var(--zc-ease),
    color 0.35s var(--zc-ease),
    transform 0.4s var(--zc-ease-spring),
    box-shadow 0.4s var(--zc-ease);
}
.zc-faq__q-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.zc-faq__item:hover .zc-faq__q-icon {
  background: linear-gradient(135deg, var(--zc-amber-lt), var(--zc-amber));
  border-color: var(--zc-amber);
  color: var(--zc-white) !important;
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 6px 16px var(--zc-amber-a45);
}
.zc-faq__item.is-open .zc-faq__q-icon {
  background: linear-gradient(135deg, var(--zc-amber), var(--zc-amber-dk));
  border-color: var(--zc-amber-dk);
  color: var(--zc-white) !important;
  transform: rotate(0) scale(1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.30) inset,
    0 8px 20px var(--zc-amber-a45);
}
.zc-faq__item:hover .zc-faq__q-icon img,
.zc-faq__item.is-open .zc-faq__q-icon img {
  filter: brightness(0) invert(1);
}

/* Q TEXT BLOCK — tag + title */
.zc-faq__q-text {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zc-faq__q-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: var(--zc-amber) !important;
  width: fit-content;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.zc-faq__q-title {
  font-family: 'Outfit', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: var(--zc-deep) !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: color 0.3s ease;
}
.zc-faq__item.is-open .zc-faq__q-title {
  color: var(--zc-amber-dk) !important;
  font-weight: 700 !important;
}

/* CHEVRON — glass pill, flips amber on open */
.zc-faq__chevron {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-snow) 100%) !important;
  border: 1.5px solid var(--zc-linen) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  color: var(--zc-warm-dk) !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 6px rgba(46, 75, 113, 0.06);
  transition:
    background 0.35s var(--zc-ease),
    border-color 0.35s var(--zc-ease),
    color 0.35s var(--zc-ease),
    transform 0.4s var(--zc-ease-spring),
    box-shadow 0.4s var(--zc-ease);
}
.zc-faq__chevron i { transition: transform 0.45s var(--zc-ease-spring); }
.zc-faq__item:hover .zc-faq__chevron {
  background: linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-snow) 100%) !important;
  border-color: var(--zc-amber-a35) !important;
  color: var(--zc-amber-dk) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 6px 14px rgba(207, 138, 63, 0.18);
}
.zc-faq__item.is-open .zc-faq__chevron {
  background: linear-gradient(135deg, var(--zc-amber), var(--zc-amber-dk)) !important;
  border-color: var(--zc-amber-dk) !important;
  color: var(--zc-white) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 20px var(--zc-amber-a45);
}
.zc-faq__item.is-open .zc-faq__chevron i { transform: rotate(180deg); }

/* ANSWER PANEL — smooth grid-based open animation */
.zc-faq__a {
  display: grid !important;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.42s var(--zc-ease-out),
    opacity 0.32s ease;
}
.zc-faq__a > .zc-faq__a-inner {
  overflow: hidden !important;
  min-height: 0 !important;
}
.zc-faq__item.is-open .zc-faq__a {
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows 0.5s var(--zc-ease-spring),
    opacity 0.42s ease 0.1s;
}
.zc-faq__a-inner {
  padding: 0 26px 0 80px !important;
  margin: 0 !important;
}
.zc-faq__item.is-open .zc-faq__a-inner {
  /* Subtle dashed separator slides into view with the answer.
     Margin keeps the rule aligned with the title text (after the icon). */
  border-top: 1px dashed var(--zc-amber-a25) !important;
  margin: 0 26px 0 80px !important;
  padding: 16px 0 22px !important;
}
.zc-faq__a-inner p {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  font-family: 'Figtree', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  color: var(--zc-charcoal) !important;
  letter-spacing: 0.1px !important;
}
.zc-faq__a-inner p:last-child { margin-bottom: 0 !important; }
.zc-faq__a-inner strong {
  color: var(--zc-deep) !important;
  font-weight: 700 !important;
}
.zc-faq__a-inner a {
  color: var(--zc-amber-dk) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.zc-faq__a-inner a:hover { color: var(--zc-amber) !important; }


/* §6  SIDEBAR --------------------------------------------------------- */

.zc-faq__aside-wrap {
  /* sticky-sidebar-wrap — project's existing JS-driven sticky behaviour */
}
.zc-faq__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zc-faq__side-card {
  background: var(--zc-white);
  border: 1px solid var(--zc-linen);
  border-radius: 14px;
  overflow: hidden;
}
.zc-faq__side-head {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--zc-linen);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.zc-faq__side-title {
  font-family: var(--zc-f-display);
  font-size: 18px;
  color: var(--zc-charcoal);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.zc-faq__side-meta {
  font-family: var(--zc-f-heading);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--zc-amber-dk);
}
.zc-faq__side-body { padding: 6px; }

.zc-faq__browse {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.zc-faq__browse-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s var(--zc-ease);
  font-family: var(--zc-f-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--zc-warm-dk);
}
.zc-faq__browse-link:hover {
  background: var(--zc-amber-a08);
  color: var(--zc-amber-dk);
}
.zc-faq__browse-link.is-active {
  background: linear-gradient(90deg, var(--zc-amber-a12), transparent);
  color: var(--zc-amber-dk);
  font-weight: 600;
  position: relative;
}
.zc-faq__browse-link.is-active::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--zc-amber);
}
.zc-faq__browse-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--zc-snow);
  border: 1px solid var(--zc-linen);
  color: var(--zc-warm-mid);
  font-family: var(--zc-f-heading);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.22s ease;
}
.zc-faq__browse-link:hover .zc-faq__browse-count,
.zc-faq__browse-link.is-active .zc-faq__browse-count {
  background: var(--zc-amber-a12);
  border-color: var(--zc-amber-a25);
  color: var(--zc-amber-dk);
}

.zc-faq__support {
  background:
    radial-gradient(at 20% 0%, rgba(207, 138, 63, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--zc-charcoal) 0%, var(--zc-deep) 100%);
  border: 1px solid rgba(207, 138, 63, 0.18);
  border-radius: 14px;
  padding: 20px 18px 18px;
  position: relative;
  overflow: hidden;
}
.zc-faq__support::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 140px; height: 140px;
  border: 1px solid rgba(207, 138, 63, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.zc-faq__support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--zc-f-heading);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--zc-amber-soft);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.zc-faq__support-eyebrow::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--zc-amber);
}
.zc-faq__support-title {
  font-family: var(--zc-f-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--zc-white);
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  position: relative;
  z-index: 1;
}
.zc-faq__support-sub {
  font-family: var(--zc-f-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--zc-w52);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.zc-faq__support-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.zc-faq__support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 42px;
  border-radius: 10px;
  font-family: var(--zc-f-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}
.zc-faq__support-btn--primary {
  background: linear-gradient(135deg, var(--zc-amber), var(--zc-amber-dk));
  color: var(--zc-white);
  box-shadow: 0 6px 18px var(--zc-amber-a45);
}
.zc-faq__support-btn--primary:hover {
  transform: translateY(-1px);
  color: var(--zc-white);
  box-shadow: 0 10px 26px var(--zc-amber-a45);
}
.zc-faq__support-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--zc-w94);
}
.zc-faq__support-btn--ghost:hover {
  background: rgba(207, 138, 63, 0.14);
  border-color: var(--zc-amber-a35);
  color: var(--zc-amber-lt);
}


/* §7  MOBILE FILTER DRAWER (right sheet) ------------------------------ */

.zc-faq__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--zc-pearl);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(18, 12, 4, 0.18);
  pointer-events: none;
  visibility: hidden;
}
body.zc-faq-drawer-open .zc-faq__drawer {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.zc-faq__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--zc-linen);
  background: var(--zc-white);
  flex-shrink: 0;
}
.zc-faq__drawer-title {
  font-family: var(--zc-f-display);
  font-size: 19px;
  color: var(--zc-charcoal);
  margin: 0;
  font-weight: 500;
}
.zc-faq__drawer-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--zc-snow);
  border: 1px solid var(--zc-linen);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--zc-warm-dk);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
}
.zc-faq__drawer-close:hover {
  background: var(--zc-amber-a08);
  border-color: var(--zc-amber-a25);
  color: var(--zc-amber-dk);
}
.zc-faq__drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}
.zc-faq__drawer-foot {
  flex-shrink: 0;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--zc-linen);
  background: var(--zc-white);
  display: flex;
  gap: 8px;
}
.zc-faq__drawer-foot .zc-faq__support-btn {
  flex: 1;
  min-width: 0;
}

.zc-faq__drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 4, 0.45);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.zc-faq-drawer-open .zc-faq__drawer-backdrop {
  opacity: 1;
  visibility: visible;
}
body.zc-faq-drawer-open { overflow: hidden; }


/* §8  EMPTY + FOOTER CTA ----------------------------------------------- */

.zc-faq__empty {
  display: none;
  padding: 28px 22px;
  text-align: center;
  background: var(--zc-pearl);
  border: 1px dashed var(--zc-amber-a25);
  border-radius: 14px;
  margin-top: 8px;
}
.zc-faq__empty.is-show { display: block; }
.zc-faq__empty-icon {
  font-size: 32px;
  color: var(--zc-amber);
  margin-bottom: 10px;
}
.zc-faq__empty-title {
  font-family: var(--zc-f-display);
  font-size: 19px;
  color: var(--zc-charcoal);
  margin: 0 0 4px;
  font-weight: 500;
}
.zc-faq__empty-sub {
  font-family: var(--zc-f-body);
  font-size: 13.5px;
  color: var(--zc-warm-mid);
  margin: 0;
}

.zc-faq__footer {
  margin-top: 20px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--zc-pearl), var(--zc-snow));
  border: 1px solid var(--zc-linen);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.zc-faq__footer-text {
  flex: 1;
  min-width: 200px;
}
.zc-faq__footer-title {
  font-family: var(--zc-f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--zc-charcoal);
  margin: 0 0 2px;
  letter-spacing: -0.1px;
}
.zc-faq__footer-sub {
  font-family: var(--zc-f-body);
  font-size: 13px;
  color: var(--zc-warm-mid);
  margin: 0;
  line-height: 1.5;
}
.zc-faq__footer .zc-faq__support-btn {
  flex-shrink: 0;
}


/* §9  RESPONSIVE -------------------------------------------------------- */

@media (max-width: 1100px) {
  .zc-faq__layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }
  .zc-faq__toolbar-row {
    grid-template-columns: minmax(240px, 360px) 1fr;
  }
}

@media (max-width: 991px) {
  .zc-faq__toolbar {
    top: var(--zc-mob-h);
    background: var(--zc-white);
    padding: 12px 0;
  }
}

@media (max-width: 880px) {
  .zc-faq__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Sidebar moves into the mobile filter drawer — hide the desktop column */
  .zc-faq__aside-wrap { display: none; }

  /* Toolbar collapses: hide the chip rail, show the Filter trigger button */
  .zc-faq__toolbar-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .zc-faq__rail { display: none; }
  .zc-faq__filter-btn { display: inline-flex; }
}

@media (max-width: 560px) {
  .zc-faq__hero { padding: 28px 0 18px; }
  .zc-faq__hero-title { font-size: clamp(24px, 6vw + 4px, 30px); }
  .zc-faq__hero-sub { font-size: 14px; }

  /* Tighten the toolbar so search + filter both fit on small phones */
  .zc-faq__search { height: 48px; padding: 0 14px; gap: 10px; }
  .zc-faq__search-input { font-size: 14.5px; }
  .zc-faq__filter-btn { height: 48px; padding: 0 14px; font-size: 12.5px; gap: 8px; }
  /* Hide just the "Filter" label on tiny phones — keep the count badge visible */
  .zc-faq__filter-btn > span:not(.zc-faq__filter-count) { display: none; }

  .zc-faq__panel-head {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .zc-faq__panel-title { font-size: 22px; }
  .zc-faq__q { padding: 14px 16px 14px 16px !important; gap: 12px !important; }
  .zc-faq__q-icon { width: 38px !important; height: 38px !important; border-radius: 11px !important; }
  .zc-faq__q-icon img { width: 22px; height: 22px; }
  .zc-faq__q-title { font-size: 14.5px !important; }
  .zc-faq__q-tag { font-size: 9.5px !important; letter-spacing: 1.4px !important; }
  .zc-faq__chevron { width: 32px !important; height: 32px !important; font-size: 10px !important; }
  .zc-faq__a-inner { padding: 0 16px 0 66px !important; }
  .zc-faq__item.is-open .zc-faq__a-inner {
    margin: 0 16px 0 66px !important;
    padding: 14px 0 18px !important;
  }
  .zc-faq__a-inner p { font-size: 13.5px !important; line-height: 1.7 !important; }

  .zc-faq__footer {
    padding: 16px 18px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .zc-faq__footer .zc-faq__support-btn { width: 100%; }
}
