/* ==========================
   FAQ PAGE
========================== */
/* ==========================
   FAQ PAGE – HEADER SAFE
========================== */

.faq-page {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;

  background-image: url("../images/patterns/jungle-texture.png");
  background-size: cover;
  background-position: center;
}

/* HEADER FAQ */
.faq-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.faq-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  margin-bottom: 18px;
  color: var(--green-dark);
}

.faq-header p {
  font-size: 1.05rem;
  color: #4f7c63;
}

/* LIST */
.faq-list {
  max-width: 800px;
}

/* ITEM */
.faq-item {
  border-bottom: 1px solid #e1e6e1;
  padding: 0 0 4px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;

  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--green-dark);

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

  cursor: pointer;
}

/* ICON */
.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-right: 30px;
}

.faq-answer p {
  padding-bottom: 22px;
  color: #444;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ==========================
   MOBILE
========================== */
@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }
}
