/* ================================================
   BAMPAA  -  FAQ Page
   assets/faq.css
   ================================================ */

.faq-shell {                 /* same left edge as every page, reading width for the text */
  max-width: calc(var(--b-wide) + 2 * var(--b-gutter));
  margin: 0 auto;
  padding: 32px var(--b-gutter) 40px;
}
.faq-shell > * { max-width: var(--b-read); }
.faq-subtitle { margin-bottom: 28px; }

/* ── Body ── */
.faq-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* ── Section ── */
.faq-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b-teal);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--b-line);
}

.faq-section-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── FAQ item (accordion) ── */
.faq-item {
  background: var(--b-surface);
  border: 1px solid var(--b-line);
  border-radius: var(--b-r-card);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--b-teal);
}

.faq-q {
  list-style: none;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--b-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
  transition: color 0.15s;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "+";
  font-size: 16px;
  font-weight: 400;
  color: var(--b-teal);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-q {
  color: var(--b-teal);
}

.faq-a {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--b-text-2);
  line-height: 1.7;
  border-top: 1px solid var(--b-line);
  padding-top: 14px;
}

/* ── Footer ── */
.faq-footer {
  margin-top: 48px;
  padding: 18px 24px;
  background: var(--b-surface);
  border: 1px solid var(--b-line);
  border-radius: var(--b-r-card);
  font-size: 14px;
  color: var(--b-text-2);
  text-align: center;
}

.faq-contact-link {
  color: var(--b-teal);
  font-weight: 600;
  text-decoration: none;
}

.faq-contact-link:hover {
  text-decoration: underline;
}
