/* ============================================================
   SKYLINE STUDIO — FAQ PAGE CSS
   File: css/faq.css
   ============================================================ */

.faq-section {
  background: var(--navy);
}

.faq-inner {
  max-width: 800px;
}

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

.faq-item {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  animation: fadeUp 0.5s ease-out forwards;
  opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }

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

.faq-item.active {
  border-color: var(--cobalt);
  background: linear-gradient(180deg, rgba(43, 107, 255, 0.05), var(--navy-light));
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--cobalt-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cobalt-glow);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  color: var(--cobalt-light);
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--cobalt);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--silver);
  line-height: 1.7;
  margin: 0;
}

/* CTA Final */
.cta-final {
  background: linear-gradient(135deg, rgba(43, 107, 255, 0.1), rgba(167, 139, 250, 0.05));
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-final .section-title { animation: fadeUp 0.6s ease-out 0.1s forwards; opacity: 0; }
.cta-final .section-sub { animation: fadeUp 0.6s ease-out 0.2s forwards; opacity: 0; margin: 16px auto 0; }

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fadeUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 15px;
    padding: 18px 20px;
  }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ── DETAILED INTRO ── */
.faqp-intro-content { max-width: 860px; }
.faqp-intro-content p {
  font-size: 16px; color: var(--silver); line-height: 1.85; margin-bottom: 22px;
}
.faqp-intro-content p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .faqp-intro-content p { font-size: 15px; line-height: 1.75; }
}
