/* =====================================================
   FAQ.CSS — Page-specific styles for FAQ
   Loaded by: faq.html
   Relies on: global.css, components.css (pg-banner-lum, lum-*, btn-glow, glass)
   ===================================================== */

/* ========== FEATURE: Category Filter Tabs ========== */
/* Pill-shaped tabs that filter FAQ items by data-cat attribute.
   main.js handles the tab switching (.faq-tab class → data-cat → show/hide) */
.faq-lum-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.faq-lum-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: .25s;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  color: rgba(17,17,17,.45);
  font-family: var(--body);
}
.faq-lum-tab:hover {
  background: rgba(0,0,0,.06);
  color: rgba(17,17,17,.7);
}
/* Active / selected state */
.faq-lum-tab.on {
  background: rgba(217,199,184,.35);
  border-color: var(--accent);
  color: #111111;
  box-shadow: none;
}

/* ========== FEATURE: FAQ Accordion List ========== */
/* Items start hidden and become .visible when their tab is active.
   Clicking a .faq-q (handled by main.js) toggles .open on the parent .faq-item */
.faq-lum-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

/* Individual FAQ item */
.faq-item { border-radius: 14px; overflow: hidden; transition: .25s; }

/* ALL items with data-cat are hidden by default — JS adds .visible to show them */
.faq-item[data-cat] { display: none; }
.faq-item[data-cat].visible { display: block; }

/* Glow shadow on open state */
.faq-item.open { box-shadow: 0 4px 24px rgba(0,0,0,.07); }

/* Question row — clickable (main.js listens on .faq-q) */
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 12px;
}
.faq-q-text { font-family: var(--body); font-size: 18px; font-weight: 600; }

/* +/× icon circle — rotates 45deg on open */
.faq-q-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: #111111;
  transition: .25s;
}
.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  background: #EDE3DA;
  border-color: var(--accent);
  box-shadow: none;
}

/* Answer — collapses to 0, expands on .open (max-height trick) */
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: rgba(17,17,17,.8);
  line-height: 1.85;
  border-top: 1px solid rgba(0,0,0,.07);
}
.faq-item.open .faq-a { max-height: 600px; }

/* ========== FEATURE: Bottom CTA Block ========== */
/* Dark glass CTA inviting users to ask a custom question */
.faq-lum-cta {
  padding: 60px 40px;
  text-align: center;
  margin-top: 52px;
  position: relative;
  overflow: hidden;
}
/* Subtle radial glow overlay */
.faq-lum-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(217,199,184,.35), transparent 70%);
}
.faq-lum-cta-inner { position: relative; z-index: 1; }
.faq-lum-cta h2 { font-family: var(--heading); font-size: 38px; margin-bottom: 12px; }
.faq-lum-cta h2 em { font-style: italic; color: #111111; }
.faq-lum-cta p { font-size: 15px; color: rgba(17,17,17,.75); margin-bottom: 28px; }
.faq-lum-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Outlined secondary button */
.btn-outline-lum {
  padding: 14px 28px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  color: rgba(17,17,17,.6);
  text-decoration: none;
  letter-spacing: .5px;
  transition: .25s;
}
.btn-outline-lum:hover { border-color: #111111; color: #111111; }

/* ========== RESPONSIVE ========== */
@media(max-width: 768px) {
  .faq-lum-cta { padding: 40px 20px; }
  .faq-lum-cta-btns { flex-direction: column; align-items: center; }
}
