/* ═══════════════════════════════════════════════════════
   QA FAQ SECTION — accordion · FAQPage schema · responsive
═══════════════════════════════════════════════════════ */

.qa-faq-section {
  padding: 52px 0 60px;
  background: #f0ffe8;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.qa-faq-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */

.qa-faq-header {
  text-align: center;
  margin-bottom: 32px;
}

.qa-faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gm);
  margin-bottom: 10px;
}

.qa-faq-eyebrow::before,
.qa-faq-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--go);
  border-radius: 1px;
  flex-shrink: 0;
}

.qa-faq-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  color: #0a2410;
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.qa-faq-lead {
  font-size: 13.5px;
  color: #666;
  line-height: 1.72;
  max-width: 520px;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════
   ACCORDION LIST
════════════════════════════════════════════════════ */

.qa-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qa-faq-item {
  background: #fff;
  border: 1.5px solid rgba(13,61,26,.12);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.qa-faq-item:hover {
  border-color: rgba(13,61,26,.25);
  box-shadow: 0 4px 16px rgba(13,61,26,.07);
}

.qa-faq-item.qa-faq--open {
  border-color: rgba(201,162,39,.42);
  box-shadow: 0 8px 32px rgba(13,61,26,.09);
}

/* Gold left accent bar — slides in when open */
.qa-faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--go) 0%, var(--gli) 100%);
  border-radius: 14px 0 0 14px;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .38s ease;
  z-index: 1;
}

.qa-faq-item.qa-faq--open::before {
  transform: scaleY(1);
}


/* ════════════════════════════════════════════════════
   QUESTION BUTTON
════════════════════════════════════════════════════ */

.qa-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px 15px 22px;
  background: transparent !important; /* override Kadence button global styles */
  color: #0a2410 !important;
  box-shadow: none !important;
  border: none;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .25s ease, color .25s ease;
}

/* Kill Kadence focus/active blue — replace with theme colours */
.qa-faq-q:focus,
.qa-faq-q:active {
  background: transparent !important;
  color: #0a2410 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Keyboard-only focus ring — gold, accessible */
.qa-faq-q:focus-visible {
  outline: 2px solid var(--go) !important;
  outline-offset: -2px;
  border-radius: 12px;
}

/* Hover — subtle dark green tint */
.qa-faq-q:hover {
  background: rgba(13,61,26,.05) !important;
  color: var(--gd) !important;
}

.qa-faq-q:hover .qa-faq-icon {
  background: rgba(13,61,26,.12);
  border-color: rgba(13,61,26,.18);
}

/* Open state — very soft gold tint */
.qa-faq-item.qa-faq--open .qa-faq-q {
  background: rgba(201,162,39,.06) !important;
  color: var(--gd) !important;
}

.qa-faq-q-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #0a2410 !important;
  line-height: 1.45;
  flex: 1;
  transition: color .25s ease;
}

.qa-faq-q:hover .qa-faq-q-text,
.qa-faq-item.qa-faq--open .qa-faq-q-text {
  color: var(--gd) !important;
}


/* ════════════════════════════════════════════════════
   CHEVRON ICON
════════════════════════════════════════════════════ */

.qa-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(13,61,26,.06);
  border: 1.5px solid rgba(13,61,26,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .28s ease, border-color .28s ease, transform .38s ease;
}

.qa-faq-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #3a5a3a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease;
}

.qa-faq-item.qa-faq--open .qa-faq-icon {
  background: var(--go);
  border-color: var(--go);
  transform: rotate(180deg);
}

.qa-faq-item.qa-faq--open .qa-faq-icon svg { stroke: #fff; }


/* ════════════════════════════════════════════════════
   ANSWER PANEL
════════════════════════════════════════════════════ */

.qa-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s ease;
}

.qa-faq-a-inner {
  padding: 12px 18px 16px 22px;
  border-top: 1px solid rgba(13,61,26,.06);
}

.qa-faq-a p {
  font-size: 13px;
  color: #555;
  line-height: 1.82;
  margin: 0;
}


/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

@media (max-width: 480px) {
  .qa-faq-section  { padding: 44px 0 52px; }
  .qa-faq-inner    { padding: 0 16px; }
  .qa-faq-q        { padding: 13px 14px 13px 16px; gap: 12px; }
  .qa-faq-a-inner  { padding: 10px 14px 14px 16px; }
  .qa-faq-icon     { width: 26px; height: 26px; }
  .qa-faq-item::before { display: none; }
}
