.faq {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 690px;
  padding: 72px 24px;
  background: linear-gradient(90deg, rgba(17, 17, 19, 0.88), rgba(7, 7, 8, 0.98));
}

.faq-list {
  width: min(100%, 760px);
  text-align: center;
}

.faq-list h2 {
  margin-bottom: 34px;
  color: var(--text);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.05;
}

.faq-items {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(254, 143, 0, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
  color: rgba(248, 245, 237, 0.84);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  min-width: 28px;
  color: var(--gold-2);
  content: counter(faq-counter) ".";
}

.faq-items {
  counter-reset: faq-counter;
}

.faq-item {
  counter-increment: faq-counter;
}

.faq-arrow {
  margin-left: auto;
  color: var(--gold-2);
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(90deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px 52px;
  color: rgba(248, 245, 237, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

html[data-theme="light"] .faq {
  background: linear-gradient(180deg, #fbf7ef 0%, #f4ecde 100%);
}

html[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.66);
}

html[data-theme="light"] .faq-item summary {
  color: #1b1b1d;
}

html[data-theme="light"] .faq-item p {
  color: rgba(27, 27, 29, 0.66);
}

@media (max-width: 900px) {
  .faq {
    min-height: 820px;
    padding: 70px 18px;
  }

  .faq-list {
    width: min(100%, 370px);
  }

  .faq-list h2 {
    margin-bottom: 28px;
    font-size: 34px;
  }

  .faq-item summary {
    min-height: 62px;
    padding: 0 18px;
    font-size: 14px;
  }

  .faq-item p {
    padding: 0 18px 20px 46px;
  }
}
