.page-faq {
  color: var(--text);
  font-family: var(--font-sans);
}

.page-faq__inner {
  padding-top: 34px;
  padding-bottom: 72px;
}

.page-faq__intro {
  position: relative;
  max-width: 780px;
  margin-bottom: 34px;
}

.page-faq__intro::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 210, 106, 0.18), rgba(10, 14, 39, 0));
  pointer-events: none;
  z-index: 0;
}

.page-faq__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  text-transform: uppercase;
}

.page-faq__intro h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-faq__h1-sub {
  display: inline-block;
  color: var(--text-muted);
  font-weight: 600;
}

.page-faq__lead {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-faq__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-faq__meta span {
  padding: 7px 14px;
  border: 1px solid var(--border-trans);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--electric);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.page-faq__find {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 46px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 208, 255, 0.22);
  border-left: 3px solid var(--electric);
  border-radius: 14px;
  background: rgba(0, 208, 255, 0.07);
}

.page-faq__find-key {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--electric);
  color: var(--bg-deep);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.page-faq__find p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.page-faq__section {
  margin-bottom: 54px;
}

.page-faq__quick-grid {
  display: grid;
  gap: 26px;
  margin-top: 18px;
}

.page-faq__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border-trans);
}

.page-faq__step:last-child {
  border-bottom: none;
}

.page-faq__step-n {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(0, 210, 106, 0.12);
}

.page-faq__step-body h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.page-faq__step-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-faq__fig {
  margin: 0;
}

.page-faq__fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-trans);
  border-radius: 20px;
  background: var(--bg-card);
  object-fit: cover;
}

.page-faq__fig--wide img {
  aspect-ratio: 3 / 2;
}

.page-faq__fig--book {
  max-width: 300px;
}

.page-faq__fig--book img {
  border-radius: 18px;
}

.page-faq__fig figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-faq__layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-faq__main {
  order: 1;
}

.page-faq__aside {
  order: 2;
  padding: 24px;
  border: 1px solid var(--border-trans);
  border-radius: var(--radius-card);
  background: var(--bg-card);
}

.page-faq__aside .section-head {
  margin-top: 0;
}

.page-faq__toc-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-faq__toc-list li {
  border-left: 2px solid var(--border-trans);
  padding-left: 12px;
  transition: border-color 0.2s ease;
}

.page-faq__toc-list li:hover,
.page-faq__toc-list li:focus-within {
  border-left-color: var(--accent);
}

.page-faq__toc-list a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.page-faq__toc-list a:hover,
.page-faq__toc-list a:focus {
  color: var(--accent-bright);
}

.page-faq__toc-list li span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.page-faq__accordion {
  display: grid;
  gap: 12px;
}

.page-faq__item {
  border: 1px solid var(--border-trans);
  border-radius: 16px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.page-faq__item[open] {
  border-color: rgba(0, 210, 106, 0.45);
}

.page-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  position: relative;
}

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

.page-faq__item summary::after {
  content: "+";
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-trans);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--accent-bright);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.page-faq__item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(0, 210, 106, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.page-faq__answer {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.66;
  animation: pageFaqAnswerIn 0.28s ease;
}

.page-faq__answer p {
  margin: 0;
}

.page-faq__answer p + p {
  margin-top: 10px;
}

.page-faq__contact {
  margin-top: 36px;
  padding: 26px 24px;
  border: 1px solid rgba(0, 210, 106, 0.3);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(0, 210, 106, 0.13), rgba(255, 184, 0, 0.05) 75%);
}

.page-faq__contact-tag {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-faq__contact h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.page-faq__contact > p:not(.page-faq__contact-tag) {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.62;
  max-width: 480px;
}

.page-faq__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 6px 0 14px;
}

.page-faq__contact-mail,
.page-faq__contact-tel {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--border-trans);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.page-faq__contact-mail {
  color: var(--accent-bright);
}

.page-faq__contact-tel {
  color: var(--gold);
}

.page-faq__contact-note {
  margin: 0 0 18px !important;
  font-size: 13px;
  color: var(--text-muted);
}

.page-faq__contact .btn {
  margin-top: 4px;
}

@keyframes pageFaqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 600px) {
  .page-faq__quick-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .page-faq__fig--book {
    margin-left: auto;
    margin-right: auto;
  }

  .page-faq__contact {
    padding: 30px;
  }
}

@media (min-width: 920px) {
  .page-faq__inner {
    padding-top: 44px;
    padding-bottom: 88px;
  }

  .page-faq__intro {
    margin-bottom: 46px;
  }

  .page-faq__layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
  }

  .page-faq__main {
    order: 0;
    grid-column: 2;
  }

  .page-faq__aside {
    order: 0;
    grid-column: 1;
    position: sticky;
    top: 108px;
    margin-top: 48px;
  }

  .page-faq__contact {
    margin-top: 44px;
    padding: 32px 34px;
  }
}
