.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #0c1222;
  margin: 0;
}

/* Grid */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Item */
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.faq-item.active {
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #0c1222;
  text-align: left;
  line-height: 1.35;
}

.faq-icon {
  flex-shrink: 0;
  min-width: 22px;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: #6b7280;
  line-height: 1;
  transition: color 0.2s ease;
}

.faq-item.active .faq-icon::after {
  background: #2563eb;
  transform: rotate(90deg);
  opacity: 0;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #4e5a72;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .index-faq-inline {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .index-faq-inline {
    padding: 30px 16px;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .faq-question {
    font-size: 0.88rem;
    padding: 14px;
  }

  .faq-answer-inner {
    padding: 0px 14px 14px;
    font-size: 0.84rem;
  }
}
