/* FAQ accordeon */

.faq-item {
  width: min(94%, 980px);
  margin: 14px auto;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(10, 10, 8, 0.86);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 215, 122, 0.52);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  color: #f0d77a;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.faq-question span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #171207;
  background: linear-gradient(135deg, #fff0a8, #d4af37);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.faq-answer {
  display: none;
  padding: 0 26px 26px;
  color: #d8ceb3;
  font-size: 18px;
  line-height: 1.75;
  text-align: left;
}

.faq-item.active .faq-answer {
  display: block;
}

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

@media (max-width: 800px) {
  .faq-item {
    width: 100%;
    border-radius: 15px;
  }

  .faq-question {
    padding: 18px;
    font-size: 16px;
  }

  .faq-question span {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .faq-answer {
    padding: 0 18px 20px;
    font-size: 16px;
  }
}
