/* ============================================================
   FAQ
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(30px, 5vw, 60px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.faq-intro .section-head {
  margin-bottom: 12px;
}

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

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--gradient-surface);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.1), rgba(255, 255, 255, 0.015));
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: #fff;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--primary-soft);
  border-bottom: 2px solid var(--primary-soft);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14.8px;
  color: var(--text-secondary);
  animation: faqOpen 0.35s var(--ease);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }
}
