/* ============================================================
   eDariba Shared — the FAQ / testimonial / pricing-card components.
   Load after CSS/Brand/tokens.css.

   Converted-to-Tailwind sections have been REMOVED from this file (not
   just left dead) because unlayered CSS like this always beats ANY
   @layer utilities rule regardless of specificity — a leftover
   .nav-item-trigger{color:...} here would silently override the
   Tailwind classes in header.php no matter how the selectors compare.
   Removed so far: base resets (html/a/ul — now src/tailwind.css's
   @layer base), the legacy layout-wrapper override (→ Tailwind's native
   utility), .mono/.btn*/.reveal (→ src/tailwind.css @utility), and the
   entire nav + footer sections (→ utility classes directly in
   header.php/footer.php/inc/nav-walker.php/inc/template-tags.php).
   Still here: .faq-item, .testimonial-card, .pricing-card, .cta — each
   is copy-pasted inline across many page templates rather than a single
   shared partial, so they're converted alongside their page's own CSS
   file (task: convert remaining per-page CSS), not as a standalone pass.
   ============================================================ */

/* ============================================================
   FAQ accordion (template-parts/components/faq-accordion.html)
   ============================================================ */

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: var(--space-5);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--teal);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 var(--space-5) var(--space-5);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   Testimonial card (template-parts/components/testimonial-card.html)
   ============================================================ */

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 800px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial-stars { display: flex; gap: 3px; color: var(--accent); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--fg);
}
.testimonial-role { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   Pricing card (template-parts/components/pricing-card.html)
   ============================================================ */

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pricing-plan-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-title);
  color: var(--fg);
}
.pricing-plan-desc { font-size: var(--text-label); color: var(--muted); }
.pricing-price { display: flex; align-items: baseline; gap: var(--space-2); margin: var(--space-3) 0; }
.pricing-amount { font-family: var(--font-mono); font-size: var(--text-headline); font-weight: 700; color: var(--fg); }
.pricing-period { font-size: var(--text-caption); color: var(--muted); }
.pricing-features { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.pricing-features li { font-size: var(--text-label); color: var(--fg); padding-inline-start: var(--space-4); position: relative; }
.pricing-features li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-cta { align-self: stretch; text-align: center; }


/* ============================================================
   eDariba Shared — CTA banner (Componants/cta-banner.html)
   Load after tokens.css + base.css.
   ============================================================ */

.cta {
  background: var(--teal-deep, #062626);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  margin: 0 20px var(--space-8);
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
  line-height: 1.3;
}
.cta p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 50ch;
  margin: 0 auto var(--space-6);
  font-size: 16px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
