.faq-section {
  padding: 0 0 var(--space-xl);
}

.faq-section .section-title {
  margin-bottom: var(--space-xl);
}

.faq-section .section-title h2 {
  margin-bottom: var(--space-sm);
}

.faq-section .section-title p {
  max-width: 720px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-item.is-open {
  border-color: rgba(133, 185, 59, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(133, 185, 59, 0.15);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-answer p:last-child {
  padding-bottom: 24px;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .faq-question {
    padding: 18px 18px;
    font-size: 1rem;
  }

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

  .faq-answer p:last-child {
    padding-bottom: 18px;
  }
}
