/* hero */
.faq-hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  margin-bottom: 10px;
}

/* =========================
   LIST (no cards)
========================= */

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* each row */
.faq-item {
  border-bottom: 1px solid var(--slate);

  opacity: 0;
  transform: translateX(-40px);

  animation: slideIn 0.8s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

/* question button */
.faq-question {
  color: var(--slate);
  width: 100%;
  padding: 22px 10px;

  background: none;
  border: none;

  display: flex;
  justify-content: space-between;
  align-items: center;


  cursor: pointer;
  text-align: left;

}


/* simple + / − icon */
.icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: #9f1010;
  width: 18px;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: 0.3s ease;
}

.icon::after {
  transform: translateY(-50%) rotate(90deg);
}

/* active state turns + into − */
.faq-item.active .icon::after {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* =========================
   ANSWER (smooth expand)
========================= */

.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition:
    max-height 0.8s ease,
    padding 0.4s ease;
}

.faq-answer p {
  padding: 0 10px 20px;
  color: #4b5563;
  line-height: 1.8;
  font-size: 17px;
}

/* open state */
.faq-item.active .faq-answer {
  max-height: 300px;
}

/* =========================
   ANIMATIONS
========================= */

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

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}