/* -------------------------------------
   FAQ (кастомный аккордеон, без Bootstrap)
   ------------------------------------- */

.home-faq {
  padding-bottom: 52px;
}

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

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.96);
  box-shadow: 0 14px 38px rgba(15,23,42,0.95);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.faq-item.is-open {
  transform: translateY(-1px);
  border-color: rgba(248,250,252,0.6);
  box-shadow: 0 20px 52px rgba(15,23,42,1);
}

.faq-trigger {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  color: #f9fafb;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: 2px solid rgba(56,189,248,0.9);
  outline-offset: 2px;
}

/* стрелочка */
.faq-chevron {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.faq-chevron::before {
  content: "";
  border-style: solid;
  border-width: 0 2px 2px 0;
  border-color: currentColor;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg) translateY(-1px);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #e5e7eb;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  padding-inline: 1rem;
  background: rgba(15,23,42,0.98);
  transition: max-height 0.22s ease;
}

.faq-item.is-open .faq-panel {
  padding-block: 0 0.9rem;
}

.faq-panel p {
  margin: 0.8rem 0 0.3rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e5e7eb;
}