/* ════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════ */
.faq {
  padding: 140px 8%;
  background: #F8FAFC;
  color: #05295E;
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow */
.faq::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(13, 86, 169, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.faq-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(13, 86, 169, 0.06);
  border: 1px solid rgba(13, 86, 169, 0.12);
  font-size: 12px;
  font-weight: 700;
  color: #0D56A9;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.faq-header h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 20px 0;
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  backdrop-filter: blur(20px);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  position: relative;
}

/* Top shimmer */
.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.08), transparent);
  transition: all 0.4s ease;
  z-index: 1;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: #05295E;
  line-height: 1.4;
  padding-right: 20px;
}

.faq-question span {
  font-size: 28px;
  color: #0D56A9;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.35s ease;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 28px 26px;
  line-height: 1.8;
  color: #5F6B7A;
  font-size: 15px;
}

.faq-item.active {
  border-color: rgba(13, 86, 169, 0.15);
  box-shadow: 0 8px 30px rgba(13, 86, 169, 0.06);
}

.faq-item.active .faq-answer {
  max-height: 250px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
  color: #B89857;
}

.faq-item.active::before {
  left: 8%;
  right: 8%;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.12), transparent);
}

.faq-item:hover {
  border-color: rgba(13, 86, 169, 0.2);
  box-shadow: 0 4px 20px rgba(13, 86, 169, 0.05);
}

.faq-item:hover::before {
  left: 10%;
  right: 10%;
  background: linear-gradient(90deg, transparent, rgba(13, 86, 169, 0.12), transparent);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .faq {
    padding: 100px 5%;
  }

  .faq-header {
    margin-bottom: 44px;
  }

  .faq-header h2 {
    font-size: 36px;
  }

  .faq-question {
    padding: 22px 20px;
  }

  .faq-question h3 {
    font-size: 16px;
    padding-right: 14px;
  }

  .faq-question span {
    font-size: 24px;
  }

  .faq-answer p {
    padding: 0 20px 22px;
    font-size: 14px;
  }

  .faq-item {
    border-radius: 16px;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 70px 4%;
  }

  .faq-header h2 {
    font-size: 28px;
  }

  .faq-question {
    padding: 20px 16px;
  }

  .faq-question h3 {
    font-size: 15px;
  }

  .faq-question span {
    font-size: 22px;
  }

  .faq-answer p {
    padding: 0 16px 18px;
    font-size: 13px;
  }

  .faq-item {
    border-radius: 14px;
    margin-bottom: 10px;
  }
}