@import "./page-shared.css";

/* ── JPRO FAQ — professional accordion ── */
.jpro-faq-hero.page-hero {
  background: linear-gradient(115deg, #061640 0%, #0d2880 50%, #1a4ab0 100%);
  padding: 72px 24px 64px;
}

.jpro-faq-section.faq-section {
  background: #f5f7fb;
  padding: 56px 0 80px;
}

.jpro-faq-section .page-section-inner {
  max-width: 860px;
  margin: 0 auto;
}

.jpro-faq-section .faq-group-header {
  border-bottom-color: #e2e8f0;
  margin-bottom: 18px;
}

.jpro-faq-section .faq-group-icon {
  background: linear-gradient(135deg, #03318f, #3d5bbf);
}

.jpro-faq-section .faq-group-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #091654;
}

.jpro-faq-section .faq-card-list {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(9, 22, 84, 0.07);
  overflow: hidden;
  background: #fff;
}

.jpro-faq-section details.faq-item {
  border-bottom: 1px solid #eef2f7;
}

.jpro-faq-section details.faq-item:last-child {
  border-bottom: 0;
}

.jpro-faq-section details.faq-item[open] {
  background: #f8faff;
}

.jpro-faq-section summary.faq-question {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  padding: 18px 20px;
  gap: 14px;
  background: transparent !important;
  border: 0 !important;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

.jpro-faq-section summary.faq-question:hover {
  color: #3d5bbf;
  background: #f0f5ff !important;
}

.jpro-faq-section details.faq-item[open] summary.faq-question {
  color: #03318f;
}

.jpro-faq-section .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef2fb;
  border: 1px solid rgba(61, 91, 191, 0.2);
}

.jpro-faq-section .faq-icon::before,
.jpro-faq-section .faq-icon::after {
  background: #3d5bbf;
}

.jpro-faq-section details.faq-item[open] .faq-icon {
  background: #3d5bbf;
  border-color: #3d5bbf;
}

.jpro-faq-section details.faq-item[open] .faq-icon::before,
.jpro-faq-section details.faq-item[open] .faq-icon::after {
  background: #fff;
}

.jpro-faq-section .faq-answer-inner {
  border-top: 1px solid #eef2f7;
  padding: 6px 20px 20px;
}

.jpro-faq-section .faq-answer-inner p {
  margin: 12px 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.jpro-faq-section .faq-cta-box {
  margin-top: 40px;
  background: linear-gradient(135deg, #091654 0%, #03318f 55%, #3d5bbf 100%);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(9, 22, 84, 0.18);
}

.jpro-faq-section .faq-cta-box h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  color: #fff;
  margin: 0 0 10px;
}

.jpro-faq-section .faq-cta-box p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
}

.jpro-faq-section .faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #03318f;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jpro-faq-section .faq-cta-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .jpro-faq-section summary.faq-question {
    font-size: 14px;
    padding: 16px;
  }

  .jpro-faq-section .faq-cta-box {
    padding: 28px 20px;
  }
}