@charset "UTF-8";
.faq .faq__title {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 32px);
}
.faq .faq__list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}
.faq .faq__item {
  background: #262626;
  border-radius: 16px;
  padding: clamp(16px, 3vw, 32px);
}
.faq .faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}
.faq .faq__question::-webkit-details-marker {
  display: none;
}
.faq .faq__question-text {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
}
.faq {
  /* === ИКОНКА ПЛЮСА / КРЕСТИКА === */
}
.faq .faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.faq .faq__icon::before, .faq .faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--white);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq .faq__icon::before {
  width: 100%;
  height: 1.5px;
}
.faq .faq__icon::after {
  width: 1.5px;
  height: 100%;
}
.faq {
  /* === СТИЛИ ОТВЕТА === */
}
.faq .faq__answer {
  margin-top: 16px; /* Отступ от вопроса появляется только в открытом состоянии */
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.5;
  opacity: 0;
}
.faq {
  /* === ОТКРЫТОЕ СОСТОЯНИЕ === */
}
.faq .faq__item[open] .faq__icon {
  transform: rotate(45deg); /* Плюс превращается в крестик */
}
.faq .faq__item[open] .faq__answer {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Анимация проявления текста */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*# sourceMappingURL=faq.css.map */
