/* ── Page background ── */
.page-bg {
  min-height: 100vh;
  background: linear-gradient(180deg, #cfe6f7 0%, #88b9e0 50%, #ffd6a8 90%);
  position: relative;
  overflow-x: hidden;
}

/* ── Clouds ── */
.page-clouds { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.page-clouds img { position: absolute; height: auto; filter: drop-shadow(0 8px 24px rgba(255,255,255,.5)); }

/* ── Content ── */
.page-content {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

/* ── Hero ── */
.faq-hero {
  text-align: center;
  margin-bottom: 56px;
}
.faq-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 100px;
  padding: 6px 18px 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 20px;
}
.faq-hero__eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}
.faq-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 56px);
  color: #0e1d3a;
  margin: 0 0 14px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.faq-hero__sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  color: #6b7691;
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ── Search bar ── */
.faq-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto 28px;
}
.faq-search__icon {
  position: absolute;
  left: 18px;
  top: 50%; transform: translateY(-50%);
  color: #6b7691;
  pointer-events: none;
}
.faq-search__input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #0e1d3a;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(14,29,58,.06);
}
.faq-search__input::placeholder { color: #9aa3b8; }
.faq-search__input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 4px 20px rgba(14,29,58,.08);
}

/* ── Category pills ── */
.faq-cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.faq-cat {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(14,29,58,.1);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6b7691;
  cursor: pointer;
  transition: all .25s;
  user-select: none;
}
.faq-cat:hover {
  background: rgba(59,130,246,.08);
  color: #3b82f6;
  border-color: rgba(59,130,246,.2);
}
.faq-cat.active {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(59,130,246,.3);
}

/* ── FAQ items ── */
.faq-list { margin-bottom: 0; }
.faq-item {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 16px rgba(14,29,58,.05);
  overflow: hidden;
  transition: box-shadow .3s, opacity .35s, transform .35s;
  opacity: 0;
  transform: translateY(18px);
}
.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.faq-item:hover { box-shadow: 0 6px 28px rgba(14,29,58,.1); }
.faq-item.hidden {
  display: none;
}

/* ── Question row ── */
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #0e1d3a;
  gap: 16px;
  user-select: none;
  transition: color .2s;
}
.faq-q:hover { color: #3b82f6; }

/* ── Category tag ── */
.faq-q__tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #3b82f6;
  background: rgba(59,130,246,.08);
  padding: 3px 10px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-right: 4px;
}

/* ── Chevron icon ── */
.faq-chevron {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(14,29,58,.05);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .35s cubic-bezier(.4,0,.2,1);
}
.faq-chevron svg {
  width: 16px; height: 16px;
  color: #0e1d3a;
  transition: color .25s;
}
.faq-item.open .faq-chevron {
  background: #3b82f6;
  transform: rotate(180deg);
}
.faq-item.open .faq-chevron svg { color: #fff; }

/* ── Answer panel ── */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s cubic-bezier(.4,0,.2,1);
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 22px;
}
.faq-a p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: #6b7691;
  margin: 0;
  padding-left: 2px;
  border-left: 3px solid rgba(59,130,246,.2);
  padding-left: 16px;
}

/* ── Empty state ── */
.faq-empty {
  text-align: center;
  padding: 48px 24px;
  display: none;
}
.faq-empty.show { display: block; }
.faq-empty__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(59,130,246,.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: #3b82f6;
}
.faq-empty h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0e1d3a;
  margin: 0 0 6px;
}
.faq-empty p {
  font-size: 14px;
  color: #6b7691;
  margin: 0;
}

/* ── Contact CTA ── */
.faq-contact {
  position: relative;
  text-align: center;
  margin-top: 64px;
  padding: 48px 40px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 40px rgba(14,29,58,.06);
  overflow: visible;
}
.faq-contact__cloud-left {
  position: absolute;
  left: -100px; top: -30px;
  width: 200px;
  opacity: .35;
  pointer-events: none;
}
.faq-contact__cloud-right {
  position: absolute;
  right: -80px; bottom: -20px;
  width: 180px;
  opacity: .3;
  pointer-events: none;
}
.faq-contact h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0e1d3a;
  margin: 0 0 8px;
  letter-spacing: -.5px;
}
.faq-contact__sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: #6b7691;
  margin: 0 0 28px;
  line-height: 1.6;
}
.faq-contact__avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.faq-contact__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, #88b9e0, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 2px 8px rgba(14,29,58,.12);
}
.faq-contact__avatar:first-child { margin-left: 0; }
.faq-contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #0e1d3a;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(14,29,58,.2);
}
.faq-contact__cta:hover {
  background: #1a2d52;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(14,29,58,.25);
}
.faq-contact__cta svg { flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .page-content { padding: 120px 16px 60px; }
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 18px; }
  .faq-contact { padding: 36px 24px; margin-top: 48px; }
  .faq-contact__cloud-left,
  .faq-contact__cloud-right { display: none; }
  .faq-q__tag { display: none; }
}
