.page-faq {
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(123, 47, 247, 0.18), transparent 60%),
    linear-gradient(180deg, #0A1128 0%, #0D1430 100%);
  min-height: 70vh;
}

.page-faq .faq-hero {
  padding: 40px 0 24px;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 32px;
}

.page-faq .faq-hero__content {
  max-width: 760px;
}

.page-faq .faq-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-faq .faq-hero__lead {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.page-faq .faq-hero__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(142, 154, 165, 0.22);
  background: var(--bg-alt);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 800px;
}

.page-faq .faq-hot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-faq .faq-hot__label {
  font-size: 14px;
  color: var(--metal);
  font-weight: 600;
  margin-right: 4px;
}

.page-faq .faq-hot__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  color: var(--accent-main);
  background: rgba(57, 255, 20, 0.06);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-faq .faq-hot__tag:hover {
  background: rgba(57, 255, 20, 0.14);
  transform: translateY(-2px);
}

.page-faq .faq-layout {
  display: grid;
  gap: 36px;
  padding: 28px 0 64px;
}

.page-faq .faq-group {
  padding-top: 24px;
}

.page-faq .faq-group + .faq-group {
  margin-top: 8px;
}

.page-faq .faq-group__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.page-faq .faq-group__title {
  position: relative;
  margin: 0;
  padding-left: 20px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.page-faq .faq-group__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent-alt);
  transform: skewX(-18deg);
  border-radius: 2px;
}

.page-faq .faq-group__hint {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(123, 47, 247, 0.14);
  border: 1px solid rgba(123, 47, 247, 0.32);
  color: #C9B3FF;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-faq .faq-group__desc {
  margin: -6px 0 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.page-faq .faq-item {
  position: relative;
  margin-bottom: 12px;
  background: rgba(20, 30, 48, 0.7);
  border: 1px solid rgba(142, 154, 165, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  transition: background 0.25s ease;
}

.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.page-faq .faq-item summary h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-main);
  transition: color 0.25s ease;
}

.page-faq .faq-item[open] summary h3 {
  color: var(--accent-main);
}

.page-faq .faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  display: block;
  background: var(--metal);
  transition: background 0.25s ease, transform 0.3s ease;
}

.page-faq .faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 9px;
  left: 3px;
}

.page-faq .faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 3px;
  left: 9px;
}

.page-faq .faq-item[open] .faq-item__icon::before {
  background: var(--accent-main);
}

.page-faq .faq-item[open] .faq-item__icon::after {
  background: var(--accent-main);
  transform: scaleY(0);
}

.page-faq .faq-item__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.page-faq .faq-item[open] .faq-item__answer-wrap {
  grid-template-rows: 1fr;
}

.page-faq .faq-item__answer {
  overflow: hidden;
  min-height: 0;
}

.page-faq .faq-item__body {
  padding: 16px 20px 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid rgba(142, 154, 165, 0.15);
}

.page-faq .faq-item__body p {
  margin: 0 0 12px;
}

.page-faq .faq-item__body p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-faq .faq-side__card {
  background: linear-gradient(160deg, rgba(27, 16, 53, 0.9), rgba(20, 30, 48, 0.95));
  border: 1px solid rgba(142, 154, 165, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.page-faq .faq-side__card h2 {
  margin: 10px 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.page-faq .faq-side__card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

.page-faq .faq-side__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(142, 154, 165, 0.25);
}

.page-faq .faq-side__item span {
  font-size: 12px;
  color: var(--metal);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-faq .faq-side__item a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.page-faq .faq-side__item a:hover {
  color: var(--accent-main);
}

.page-faq .faq-side__item p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.page-faq .faq-side__card--image {
  padding: 0;
  overflow: hidden;
  border: none;
}

.page-faq .faq-side__card--image img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-faq .faq-side__actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 56px 0 32px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
  }

  .page-faq .faq-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    padding: 40px 0 80px;
  }

  .page-faq .faq-side {
    position: sticky;
    top: 32px;
  }

  .page-faq .faq-group__title {
    font-size: 26px;
  }
}
