/* ==========================================================================
   BULLDROP — FAQ page
   Accordion list · CTA band
   Depends on shared.css tokens.
   ========================================================================== */

.faq { margin-bottom: 36px; }

.faq__list { display: grid; gap: 10px; }

.faq-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-surface);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.is-open {
  border-color: rgba(255, 176, 46, 0.28);
  background: var(--bg-surface-2);
}

.faq-item__head { margin: 0; font-size: inherit; font-weight: inherit; }

.faq-item__head button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  transition: color var(--t) var(--ease);
}
.faq-item__head button:hover { color: var(--text); }
.faq-item.is-open .faq-item__head button { color: var(--text); }

.faq-item__chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

/* Collapsed by default; grid-template-rows animates cleanly to auto height */
.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease-out);
}
.faq-item.is-open .faq-item__body { grid-template-rows: 1fr; }

.faq-item__body > p {
  overflow: hidden;
  max-width: 92ch;
  padding: 0 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}
.faq-item.is-open .faq-item__body > p { padding-bottom: 20px; }

/* Fallback for browsers without grid-row animation support */
@supports not (grid-template-rows: 1fr) {
  .faq-item__body { display: none; }
  .faq-item.is-open .faq-item__body { display: block; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 36px;
  margin-bottom: 20px;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 140% at 100% 50%, rgba(255, 176, 46, 0.16), transparent 60%),
    linear-gradient(120deg, var(--bg-surface-2), var(--bg-surface));
  overflow: hidden;
}
.cta-band__text { max-width: 62ch; }
.cta-band__title { margin-bottom: 10px; font-size: clamp(20px, 2.4vw, 26px); }
.cta-band__lead {
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}
.cta-band__art {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .faq-item__head button { padding: 16px 18px; font-size: 14.5px; }
  .faq-item__body > p { padding: 0 18px; font-size: 13.5px; }
  .faq-item.is-open .faq-item__body > p { padding-bottom: 18px; }
  .cta-band { flex-direction: column; text-align: center; padding: 28px 22px; }
  .cta-band__art { width: 130px; height: 130px; order: -1; }
}
