.page-faq {
  --faq-radius: 16px;
  --faq-line: rgba(0, 168, 255, 0.16);
  --faq-card: rgba(26, 34, 51, 0.76);
  --faq-muted: rgba(240, 244, 248, 0.62);
  overflow-x: clip;
}

.page-faq .faq-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.page-faq .faq-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 14, 23, 0.96) 0%, rgba(10, 14, 23, 0.82) 38%, rgba(0, 168, 255, 0.30) 100%);
}

.page-faq .faq-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--c-electric) 45%, var(--c-neon) 90%, transparent);
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px 44px;
}

.page-faq .faq-hero .breadcrumb {
  margin-bottom: 4px;
  color: rgba(240, 244, 248, 0.55);
}

.page-faq .faq-hero .breadcrumb a {
  color: rgba(240, 244, 248, 0.8);
  text-decoration: none;
}

.page-faq .faq-hero .breadcrumb a:hover {
  color: var(--c-ice);
}

.page-faq .faq-hero h1 {
  margin: 14px 0 0;
  font-family: var(--f-head);
  font-size: clamp(38px, 6vw, 64px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--c-text);
}

.page-faq .faq-hero__lead {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--faq-muted);
}

.page-faq .faq-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
  padding: 6px 8px 6px 16px;
  background: rgba(10, 14, 23, 0.74);
  border: 1px solid rgba(0, 168, 255, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.page-faq .faq-search:focus-within {
  border-color: var(--c-electric);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.12);
}

.page-faq .faq-search__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 168, 255, 0.16);
}

.page-faq .faq-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 14px;
  padding: 8px 0;
}

.page-faq .faq-search__input::placeholder {
  color: rgba(240, 244, 248, 0.4);
}

.page-faq .faq-catwrap {
  padding: 36px 0 8px;
}

.page-faq .faq-catwrap__grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.page-faq .faq-catwrap__media {
  margin: 0;
  max-width: 200px;
  border-radius: var(--faq-radius);
  overflow: hidden;
}

.page-faq .faq-catwrap__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--faq-radius);
}

.page-faq .faq-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}

.page-faq .faq-cats__item {
  --cat: var(--c-electric);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: linear-gradient(145deg, rgba(26, 34, 51, 0.92), rgba(10, 14, 23, 0.78));
  border: 1px solid rgba(0, 168, 255, 0.14);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.page-faq .faq-cats__item--account {
  --cat: var(--c-neon);
}

.page-faq .faq-cats__item--guide {
  --cat: var(--c-violet);
}

.page-faq .faq-cats__item--support {
  --cat: var(--c-amber);
}

.page-faq .faq-cats__item:hover,
.page-faq .faq-cats__item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cat);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.page-faq .faq-cats__idx {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cat);
}

.page-faq .faq-cats__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

.page-faq .faq-section {
  padding: 44px 0 8px;
  scroll-margin-top: calc(var(--topbar-h) + 12px);
}

.page-faq .faq-section--data {
  --faq-sec: var(--c-electric);
}

.page-faq .faq-section--account {
  --faq-sec: var(--c-neon);
}

.page-faq .faq-section--guide {
  --faq-sec: var(--c-violet);
}

.page-faq .faq-section--support {
  --faq-sec: var(--c-amber);
}

.page-faq .faq-section__head {
  position: relative;
  margin-bottom: 24px;
  padding-left: 22px;
}

.page-faq .faq-section__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: var(--faq-sec, var(--c-electric));
}

.page-faq .faq-section__tag {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faq-sec, var(--c-electric));
}

.page-faq .faq-section__head h2 {
  margin: 0;
  font-family: var(--f-head);
  font-size: 30px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-text);
}

.page-faq .faq-section__head p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--faq-muted);
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.page-faq .faq-item {
  background: linear-gradient(150deg, rgba(26, 34, 51, 0.9), rgba(10, 14, 23, 0.66));
  border: 1px solid var(--faq-line);
  border-radius: var(--faq-radius);
  overflow: hidden;
  transition: box-shadow 0.35s;
}

.page-faq .faq-item[open] {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(0, 168, 255, 0.06);
}

.page-faq .faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  border-left: 3px solid var(--faq-sec, var(--c-electric));
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-text);
}

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

.page-faq .faq-item__plus {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
  transition: transform 0.3s, opacity 0.3s;
}

.page-faq .faq-item__plus::before,
.page-faq .faq-item__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  border-radius: 2px;
}

.page-faq .faq-item__plus::before {
  width: 2px;
  height: 12px;
}

.page-faq .faq-item__plus::after {
  width: 12px;
  height: 2px;
}

.page-faq .faq-item[open] .faq-item__plus {
  transform: rotate(45deg);
}

.page-faq .faq-item__a {
  padding: 2px 24px 22px 22px;
  border-left: 3px solid var(--faq-sec, var(--c-electric));
  font-size: 15px;
  line-height: 1.8;
  color: var(--faq-muted);
  animation: faq-fade-in 0.35s var(--ease) both;
}

.page-faq .faq-item__a p {
  margin: 0 0 10px;
}

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

.page-faq .faq-item__a a {
  color: var(--c-electric);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-item__a a:hover {
  color: var(--c-ice);
}

.page-faq .faq-contact-list {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding-left: 18px;
}

.page-faq .faq-contact-list li {
  font-family: var(--f-mono);
  font-size: 14px;
  color: rgba(240, 244, 248, 0.82);
}

.page-faq .faq-cta {
  position: relative;
  margin-top: 56px;
  padding: 40px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.16), rgba(123, 97, 255, 0.10) 45%, rgba(10, 14, 23, 0.85));
  border-top: 1px solid rgba(0, 168, 255, 0.22);
  border-bottom: 1px solid rgba(0, 168, 255, 0.16);
}

.page-faq .faq-cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 255, 0.30), transparent 68%);
}

.page-faq .faq-cta__inner {
  position: relative;
  text-align: center;
}

.page-faq .faq-cta h2 {
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(28px, 4vw, 44px);
  font-style: italic;
  font-weight: 900;
  color: var(--c-text);
}

.page-faq .faq-cta p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--faq-muted);
}

.page-faq .faq-cta .btn {
  margin-top: 22px;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 700px) {
  .page-faq .faq-hero {
    min-height: 380px;
  }

  .page-faq .faq-hero__inner {
    padding: 56px 40px 48px;
  }

  .page-faq .faq-catwrap__grid {
    grid-template-columns: 200px 1fr;
  }

  .page-faq .faq-catwrap {
    padding: 48px 0 8px;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero {
    min-height: 420px;
  }

  .page-faq .faq-hero__inner {
    padding: 64px 48px 56px;
  }

  .page-faq .faq-hero__lead {
    font-size: 16px;
  }

  .page-faq .faq-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq .faq-section {
    padding: 56px 0 8px;
  }

  .page-faq .faq-section__head h2 {
    font-size: 36px;
  }

  .page-faq .faq-item__q {
    padding: 22px 26px;
    font-size: 17px;
  }

  .page-faq .faq-item__a {
    padding-left: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__a {
    animation: none;
  }

  .page-faq .faq-cats__item {
    transition: none;
  }
}
