

/* ─── RESET ─── */

ul { list-style: none; }
li { padding: 0; }

/* ─── TOKENS ─── */
:root {
  --navy:       #0d2d62;
  --navy-dark:  #091e44;
  --navy-mid:   #133b74;
  --gold:       #e0b000;
  --gold-lt:    #ffde6e;
  --gold-muted: rgba(224,176,0,0.18);
  --white:      #ffffff;
  --off-white:  #f5f9ff;
  --text-body:  #2d3a4b;
  --text-muted: #4a5568;
  --border:     rgba(13,45,98,0.10);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.05), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-open: 0 12px 32px -8px rgba(13,45,98,0.22);
  --radius-pill: 40px;
  --radius-card: 24px;
  --radius-icon: 12px;
  --transition:  0.3s cubic-bezier(0.2,0.9,0.4,1.1);
}

/* ─── SECTION ─── */
.hbs-faq-section {
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  position: relative;
  padding: 5rem 1.25rem;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

/* Background orbs */
.hbs-faq-section::before,
.hbs-faq-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hbs-faq-section::before {
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,45,98,0.04) 0%, rgba(224,176,0,0.02) 100%);
}
.hbs-faq-section::after {
  bottom: -15%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,176,0,0.05) 0%, rgba(13,45,98,0.02) 100%);
}

.floating-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

/* ─── INNER WRAPPER ─── */
.faq-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

/* ─── HEADING BLOCK ─── */
.faq-title-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-badge {
  display: inline-block;
  background: rgba(13,45,98,0.08);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
}

.faq-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.faq-subtitle {
  font-size: clamp(0.92rem, 2vw, 1.08rem) !important;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── BADGE PILLS ROW ─── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #333;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  white-space: nowrap;
}

.pill-badge i { font-size: 0.85rem; }
.pill-badge .pi-blue  { color: #2563eb; }
.pill-badge .pi-red   { color: #dc2626; }
.pill-badge .pi-gold  { color: var(--gold); }

/* ─── ACCORDION ITEMS ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  animation: fadeSlideUp 0.5s ease backwards;
}
.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.10s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.20s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.30s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }

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

/* ─── ACCORDION BUTTON ─── */
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: #0f2b4f;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  padding: 1.25rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.2s, box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.faq-btn:hover {
  background: #fefcf5;
  border-color: rgba(224,176,0,0.35);
  transform: translateY(-2px);
}

/* Open state */
.faq-item.open .faq-btn {
  background: linear-gradient(105deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-color: transparent;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow-open);
  transform: translateY(0);
}

/* Glint sweep on hover when open */
.faq-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.faq-item.open .faq-btn:hover::before { left: 100%; }

/* ─── ICON PREFIX ─── */
.faq-icon-prefix {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(13,45,98,0.10);
  border-radius: var(--radius-icon);
  color: var(--navy);
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.faq-item.open .faq-icon-prefix {
  background: rgba(255,222,110,0.2);
  color: var(--gold-lt);
}

/* ─── CHEVRON ─── */
.faq-chevron {
  flex-shrink: 0;
  margin-left: auto;
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  transition: transform 0.32s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-chevron svg {
  width: 18px; height: 18px;
  stroke: #4a5568;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.faq-item.open .faq-chevron svg { stroke: var(--gold-lt); }

/* ─── ACCORDION BODY ─── */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4,0,0.2,1);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-content {
  padding: 1.4rem 1.6rem 1.7rem 1.6rem;
  color: var(--text-body);
  font-size: 0.97rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Gold accent line */
.faq-body-content::before {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ─── ANSWER HIGHLIGHT ROW ─── */
.answer-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.answer-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.answer-text { flex: 1; }

/* List inside answers */
.answer-text ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.answer-text ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.93rem;
}

.answer-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hbs-faq-section { padding: 3rem 1rem; }

  .faq-btn {
    font-size: 0.92rem;
    padding: 1rem 1.1rem;
    gap: 10px;
  }

  .faq-icon-prefix { width: 28px; height: 28px; font-size: 0.8rem; }

  .faq-body-content {
    padding: 1.1rem 1.1rem 1.4rem;
    font-size: 0.9rem;
  }

  .pill-badge { font-size: 0.75rem; padding: 0.35rem 0.8rem; }
}

@media (max-width: 480px) {
  .faq-btn { font-size: 0.87rem; padding: 0.9rem 1rem; }
  .faq-icon-prefix { display: none; }
}
