/* ==========================================================================
   MODERN FAQ SECTION — MATCHING REFERENCE IMAGE
   Dark brutalist palette with rounded card container
   ========================================================================== */

.ek-faq-section {
  background-color: #09090b;
  padding: 80px 0 100px 0;
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
}

.ek-faq-container {
  max-width: 1455px;
  margin: -46px auto;
  padding: 0 20px;
}

/* ── Main Rounded Card (Exactly like reference) ── */
.ek-faq-card {
  background-color: #151518;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 64px 64px;
  display: grid;
  grid-template-columns: 371px 1fr;
  column-gap: -2px;
  align-items: stretch;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Left Column ── */
.ek-faq-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

/* Top heading */
.ek-faq-top {
  margin-bottom: 48px;
}

.ek-faq-heading {
  font-size: clamp(38px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Bottom CTA block */
.ek-faq-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
}

.ek-faq-avatar-wrap {
  margin-bottom: 2px;
}

.ek-faq-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ek-faq-cta-copy {
  margin-bottom: 4px;
}

.ek-faq-cta-headline {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px 0;
  line-height: 1.4;
}

.ek-faq-cta-subline {
  font-size: 13px;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.5;
}

/* Dark Pill Button (Like Reference) */
.ek-faq-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 10px 24px;
  background-color: #09090b;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.ek-faq-pill-btn:hover {
  background-color: #ffffff;
  color: #09090b !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ── Right Column: Accordion Rows (Like Reference) ── */
.ek-faq-right {
  display: flex;
  flex-direction: column;
}

.ek-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease;
}

.ek-faq-item:first-child {
  border-top: none;
}

.ek-faq-item:last-child {
  border-bottom: none;
}

/* Trigger button */
.ek-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px 22px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.ek-faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.ek-faq-question {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: -0.01em;
  flex: 1;
  transition: color 0.15s ease;
}

.ek-faq-trigger:hover .ek-faq-question {
  color: #ffffff;
}

/* ── Circular + / - Icon ── */
.ek-faq-circle-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ek-faq-trigger:hover .ek-faq-circle-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.ek-faq-icon-line-v {
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* When expanded (open): rotate and fade vertical stroke -> turns into - */
.ek-faq-trigger:not(.collapsed) .ek-faq-icon-line-v,
.ek-faq-trigger[aria-expanded="true"] .ek-faq-icon-line-v {
  transform: rotate(90deg) scale(0);
  opacity: 0;
}

.ek-faq-trigger:not(.collapsed) .ek-faq-circle-icon,
.ek-faq-trigger[aria-expanded="true"] .ek-faq-circle-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* ── Answer Body ── */
.ek-faq-body {
  overflow: hidden;
}

.ek-faq-answer {
  padding: 0 12px 24px 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #a1a1aa;
}

/* ── Placeholder for empty FAQ ── */
.ek-faq-placeholder .ek-faq-trigger {
  cursor: default;
  opacity: 0.4;
}

/* ── Responsive adjustments ── */
@media (max-width: 991px) {
  .ek-faq-section {
    padding: 50px 0 70px 0;
  }

  .ek-faq-card {
    padding: 40px 28px;
    grid-template-columns: 1fr;
    row-gap: 36px;
    border-radius: 24px;
  }

  .ek-faq-left {
    padding-right: 0;
  }

  .ek-faq-top {
    margin-bottom: 24px;
  }

  .ek-faq-bottom {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .ek-faq-heading {
    font-size: 36px;
  }

  .ek-faq-trigger {
    padding: 18px 4px 18px 8px;
  }

  .ek-faq-answer {
    padding: 0 8px 18px 8px;
  }
}