.faq-section {
  min-height: calc(100vh - 220px);
  padding: 26px 0 84px;
  background:
    radial-gradient(circle at 8% 0%, rgba(26, 32, 47, 0.72), transparent 34%),
    linear-gradient(180deg, #0d121b 0%, #0d121b 100%);
}

.faq-shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 34px;
  color: #536177;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 11px;
  font-weight: 700;
}

.faq-breadcrumb-home {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f6b31a;
  text-decoration: none;
}

.faq-breadcrumb-home svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-side-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-radius: 12px;
  background: #121826;
  color: #667796;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.faq-side-link:hover {
  transform: translateX(2px);
  color: #becce7;
  border-color: rgba(88, 108, 146, 0.28);
}

.faq-side-link.is-active {
  background: linear-gradient(180deg, #f6c42f 0%, #e4a20a 100%);
  color: #fffdf5;
  box-shadow: 0 12px 22px rgba(228, 162, 10, 0.3);
}

.faq-side-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
}

.faq-side-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-card {
  border-radius: 13px;
  background: #181e2b;
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.faq-card-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 22px 22px;
  background: transparent;
  border: none;
  color: #f4f5fa;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.faq-card-question span:first-child {
  font-size: 15px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.005em;
}

.faq-card-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  opacity: 0.9;
}

.faq-card-toggle::before,
.faq-card-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.4px;
  border-radius: 999px;
  background: #8393b3;
  transform: translate(-50%, -50%);
}

.faq-card-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-card.is-open .faq-card-toggle::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-card.is-open .faq-card-toggle::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.faq-card.is-open .faq-card-toggle {
  opacity: 1;
}

.faq-card-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-card.is-open .faq-card-answer {
  max-height: 420px;
}

.faq-card-answer-inner {
  padding: 2px 22px 18px;
  color: #62718f;
  font-size: 13px;
  line-height: 1.32;
  max-width: 980px;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 18px 0 56px;
  }

  .faq-shell {
    padding: 0 14px;
  }

  .faq-sidebar {
    grid-template-columns: 1fr;
  }

  .faq-card-question {
    padding: 18px 18px 16px;
  }

  .faq-card-question span:first-child {
    font-size: 14px;
  }

  .faq-card-answer-inner {
    padding: 0 18px 16px;
    font-size: 13px;
  }
}
