/* =============================================================
   SECTION: FAQ
   ============================================================= */
.faq {
  margin-top: 48px;
}

@media (min-width: 768px) {
  .faq {
    margin-top: 64px;
  }
}

@media (min-width: 1220px) {
  .faq {
    margin-top: 100px;
  }
}

.faq__title {
  font-family: inherit;
  font-weight: 800;
  font-size: 28px;
  line-height: 120%;
  color: var(--color-text);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .faq__title {
    font-size: 36px;
    margin-bottom: 24px;
  }
}

@media (min-width: 1220px) {
  .faq__title {
    font-size: 40px;
    margin-bottom: 28px;
  }
}

.faq__container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .faq__container {
    gap: 16px;
  }
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background-color: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.faq__item.is-open {
  background-color: var(--color-dark);
  border-color: #FFB8052E;
}

.faq__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

@media (min-width: 768px) {
  .faq__header {
    padding: 20px 24px;
  }
}

.faq__question {
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  color: var(--color-white);
  transition: color 0.3s ease;
}

@media (min-width: 1220px) {
  .faq__question {
    font-size: 20px;
  }
}

.faq__item.is-open .faq__question {
  background: var(--color-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.faq__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq__arrow-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.faq__arrow-icon--up {
  display: none;
}

.faq__item.is-open .faq__arrow-icon--down {
  display: none;
}

.faq__item.is-open .faq__arrow-icon--up {
  display: block;
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  line-height: 150%;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .faq__answer {
    padding: 0 24px 20px 24px;
    font-size: 15px;
  }
}

@media (min-width: 1220px) {
  .faq__answer {
    font-size: 16px;
  }
}
