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

.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.faq h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  max-width: 9ch;
}

.faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.faq__list {
  display: grid;
  gap: 0.7rem;
}

.faq__item {
  background: #fff;
  border: 1px solid rgba(11, 13, 16, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(12, 18, 28, 0.04);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

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

.faq__item summary span { min-width: 0; }

.faq__chevron {
  width: 9px;
  height: 9px;
  flex: none;
  border-right: 1.6px solid #8b97a3;
  border-bottom: 1.6px solid #8b97a3;
  transform: rotate(45deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] .faq__chevron { transform: rotate(225deg); }

.faq__body {
  overflow: hidden;
}

.faq__item[open] .faq__body { height: auto; }

.faq.is-animated .faq__body {
  height: 0;
  transition: height 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--muted);
  max-width: 62ch;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.45s ease 0.08s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item[open] p {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .faq { padding-bottom: 1.3rem; }
  .faq h2 { max-width: none; font-size: 1.5rem; }
  .faq__layout { gap: 0.9rem; }
  .faq .section-head__lead { margin-top: 0.4rem; font-size: 0.82rem; }
  .faq__actions { margin-top: 0.55rem; gap: 0.35rem; }
  .faq__actions .btn {
    min-height: 32px;
    padding: 0.22rem 0.55rem;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .faq__list { gap: 0.35rem; }
  .faq__item { border-radius: 12px; }
  .faq__item summary { padding: 0.65rem 0.75rem; font-size: 0.86rem; }
  .faq__item p { padding: 0 0.75rem 0.7rem; font-size: 0.78rem; }
}
