.home-faq-section {
  padding: 56px 0 72px;
  background: #fff;
}

.home-faq__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.home-faq__header h2 {
  margin: 0 0 10px;
  color: #1f1635;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
}

.home-faq__header p {
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
}

.home-faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.home-faq__item {
  background: #fff;
  border: 1px solid #e8e4f0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.home-faq__item[open],
.home-faq__item:hover {
  border-color: #d5cceb;
  box-shadow: 0 8px 24px rgba(88, 56, 168, .06);
}

.home-faq__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #1f1635;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.home-faq__question::-webkit-details-marker {
  display: none;
}

.home-faq__question-text {
  flex: 1;
}

.home-faq__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  position: relative;
}

.home-faq__icon::before,
.home-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #6b4bb5;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.home-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity .15s ease, transform .15s ease;
}

.home-faq__item[open] .home-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.home-faq__answer {
  padding: 0 20px 18px;
  color: #4b5563;
  font-size: .98rem;
  line-height: 1.85;
}

.home-faq__answer p {
  margin: 0 0 10px;
}

.home-faq__answer p:last-child {
  margin-bottom: 0;
}

.home-faq__answer strong {
  color: #2d2148;
}

.home-faq__note {
  display: inline;
  background: #fff8db;
  border: 1px dashed #e4c65a;
  border-radius: 6px;
  padding: 1px 6px;
  color: #6b5a1e;
}

@media (max-width: 767px) {
  .home-faq-section {
    padding: 40px 0 56px;
  }

  .home-faq__question {
    font-size: .98rem;
    padding: 16px;
  }

  .home-faq__answer {
    padding: 0 16px 16px;
    font-size: .94rem;
  }
}
