/* ==================================================
   Amin FAQ
================================================== */

.amin-faq {
  direction: rtl;
  width: 100%;
  padding: 52px 16px;
  background: #ffffff;
  box-sizing: border-box;
}

.amin-faq__inner {
  max-width: 920px;
  margin: 0 auto;
}

.amin-faq__head {
  text-align: center;
  margin-bottom: 28px;
}

.amin-faq__head h2 {
  display: inline-block;
  width: fit-content;
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.6;
  letter-spacing: -0.5px;

  background: conic-gradient(
    at bottom right,
    #14b8a6,
    #f97316,
    #eab308
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.amin-faq__head p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  color: #64748b;
}

.amin-faq__list {
  border-top: 1px solid #e5e7eb;
}

.amin-faq__item {
  border-bottom: 1px solid #e5e7eb;
}

.amin-faq__question {
  width: 100%;
  min-height: 70px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  cursor: pointer;

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

  text-align: right;
  font-family: inherit;
}

.amin-faq__question-text {
  font-size: 17px;
  font-weight: 850;
  line-height: 1.9;
}

.amin-faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.amin-faq__icon::before,
.amin-faq__icon::after {
  content: "";
  position: absolute;
  background: #0f172a;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.amin-faq__icon::before {
  width: 16px;
  height: 2px;
}

.amin-faq__icon::after {
  width: 2px;
  height: 16px;
}

.amin-faq__item.is-open .amin-faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.amin-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.amin-faq__answer-inner {
  padding: 0 0 22px;
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
}

.amin-faq__item.is-open .amin-faq__question-text {
  color: #111827;
}

.amin-faq__item:hover .amin-faq__question-text {
  color: #2563eb;
}

/* Mobile */
@media (max-width: 767px) {
  .amin-faq {
    padding: 40px 14px;
  }

  .amin-faq__head {
    text-align: right;
    margin-bottom: 20px;
  }

  .amin-faq__head h2 {
    font-size: 24px;
  }

  .amin-faq__head p {
    font-size: 13px;
  }

  .amin-faq__question {
    min-height: 64px;
    gap: 12px;
  }

  .amin-faq__question-text {
    font-size: 15px;
  }

  .amin-faq__answer-inner {
    font-size: 14px;
    padding-bottom: 18px;
  }
}