.faq {
  padding: var(--space-8) var(--space-5) var(--space-9);
  scroll-margin-top: 90px;
}

.faq__heading {
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: var(--space-7);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
}

.faq-item__icon {
  color: var(--color-primary);
  font-size: 1.3rem;
  flex: none;
  display: inline-block;
}

.faq-item__answer {
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding-bottom 0.25s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 300px;
  opacity: 1;
  padding-bottom: var(--space-4);
}
