.page-faq {
  background: var(--ink);
  color: var(--chalk);
  padding-bottom: 56px;
}

.page-faq .faq-hero {
  position: relative;
  padding: 28px 0 8px;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(200, 242, 76, 0.14) 0%, rgba(200, 242, 76, 0) 58%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink) 82%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--edge);
}

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

.page-faq .crumbs {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--moss);
  margin-bottom: 20px;
}

.page-faq .crumbs a {
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-faq .crumbs a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.page-faq .crumbs__sep {
  margin: 0 8px;
  color: var(--clay);
}

.page-faq h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 7.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 12px 0 18px;
  color: var(--chalk);
}

.page-faq .faq-hero__lead {
  font-size: 15px;
  line-height: 1.8;
  color: var(--soft);
  max-width: 40em;
}

.page-faq .faq-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}

.page-faq .faq-hero__jump-link {
  display: inline-block;
  padding: 7px 13px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--soft);
  border: 1px solid var(--hair);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-faq .faq-hero__jump-link:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.page-faq .faq-hero__fig {
  position: relative;
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--hair);
}

.page-faq .faq-hero__fig::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: -12%;
  bottom: -34%;
  width: 62%;
  height: 56%;
  background: var(--lime);
  opacity: 0.16;
  transform: skewY(-12deg);
  pointer-events: none;
}

.page-faq .faq-hero__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.page-faq .faq-hero__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--chalk);
  background: linear-gradient(180deg, rgba(8, 32, 27, 0) 0%, rgba(8, 32, 27, 0.88) 76%);
}

.page-faq .faq-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-m);
  overflow: hidden;
}

.page-faq .faq-stat {
  background: var(--pitch);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-stat__num {
  font-family: var(--font-num);
  font-size: 26px;
  line-height: 1;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.page-faq .faq-stat__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--soft);
}

.page-faq .faq-body {
  display: grid;
  gap: 34px;
  padding-top: 40px;
}

.page-faq .faq-side {
  border-left: 2px solid var(--edge);
  padding-left: 14px;
}

.page-faq .faq-nav__title {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--moss);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-faq .faq-nav__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}

.page-faq .faq-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  white-space: nowrap;
  padding: 7px 11px;
  font-size: 13px;
  color: var(--soft);
  border: 1px solid var(--hair);
  border-radius: var(--r-s);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-faq .faq-nav__num {
  font-family: var(--font-num);
  font-size: 11px;
  color: var(--clay);
}

.page-faq .faq-nav__link:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.page-faq .faq-nav__link:hover .faq-nav__num {
  color: var(--ink);
}

.page-faq .faq-side__note {
  display: none;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--moss);
}

.page-faq .faq-side__note a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-side__note a:hover {
  border-bottom: 2px solid var(--lime);
}

.page-faq .faq-groups {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-faq .faq-group {
  padding: 22px 0 14px;
  scroll-margin-top: 90px;
}

.page-faq .faq-group + .faq-group {
  border-top: 1px solid var(--hair);
}

.page-faq .faq-group__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.page-faq .faq-group__num {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.86;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--moss);
  flex: none;
}

.page-faq .faq-group__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--chalk);
  letter-spacing: 0.01em;
}

.page-faq .faq-group__note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--moss);
  margin-top: 6px;
  max-width: 42em;
}

.page-faq .faq-item {
  position: relative;
  border-bottom: 1px solid var(--hair);
}

.page-faq .faq-item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--lime);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.page-faq .faq-item[open]::before {
  opacity: 1;
}

.page-faq .faq-item__q {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--chalk);
  transition: color 0.2s var(--ease);
}

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

.page-faq .faq-item__q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-num);
  font-size: 20px;
  line-height: 1;
  color: var(--lime);
}

.page-faq .faq-item[open] .faq-item__q::after {
  content: "–";
}

.page-faq .faq-item__q:hover {
  color: var(--lime);
}

.page-faq .faq-item__a {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--soft);
  padding: 0 6px 18px 0;
  max-width: 62ch;
}

.page-faq .faq-item__a a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid var(--edge);
}

.page-faq .faq-item__a a:hover {
  border-bottom: 2px solid var(--lime);
}

.page-faq .faq-group--last {
  padding-bottom: 4px;
}

.page-faq .faq-jump-row {
  display: grid;
  gap: 8px;
  margin: 26px 0 34px;
}

.page-faq .faq-jump-row__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--chalk);
  text-decoration: none;
  background: var(--pitch);
  border-left: 2px solid var(--clay);
  border-radius: var(--r-s);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-faq .faq-jump-row__link:hover {
  border-left-color: var(--lime);
  color: var(--lime);
  padding-left: 20px;
}

.page-faq .faq-jump-row__link span {
  color: var(--clay);
  font-family: var(--font-num);
}

.page-faq .faq-jump-row__link:hover span {
  color: var(--lime);
}

.page-faq .faq-contact {
  display: grid;
  gap: 22px;
  padding: 24px 20px;
  background: var(--ink-deep);
  border: 1px solid var(--hair);
  border-top: 2px solid var(--coral);
  border-radius: var(--r-l);
}

.page-faq .faq-contact__title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--chalk);
  margin: 10px 0 12px;
}

.page-faq .faq-contact__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--soft);
  max-width: 40em;
}

.page-faq .faq-contact__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 13.5px;
  color: var(--chalk);
  word-break: break-word;
}

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

.page-faq .faq-contact__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--moss);
}

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

.page-faq .faq-contact__fig {
  margin: 0;
  border-radius: var(--r-m);
  overflow: hidden;
  border: 1px solid var(--hair);
}

.page-faq .faq-contact__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  filter: saturate(0.9);
}

@media (min-width: 720px) {
  .page-faq {
    padding-bottom: 72px;
  }

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

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

  .page-faq .faq-stat {
    padding: 20px 18px;
  }

  .page-faq .faq-stat__num {
    font-size: 32px;
  }

  .page-faq .faq-group__num {
    font-size: 56px;
  }

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

  .page-faq .faq-item__q {
    font-size: 17.5px;
    padding: 18px 44px 18px 0;
  }

  .page-faq .faq-jump-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-faq .faq-contact {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 32px 28px;
    gap: 28px;
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 44px;
  }

  .page-faq .faq-hero__fig img {
    aspect-ratio: 7 / 5;
  }

  .page-faq .faq-body {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 52px;
    padding-top: 56px;
  }

  .page-faq .faq-side {
    position: sticky;
    top: 88px;
    align-self: start;
    border-left: none;
    padding-left: 0;
  }

  .page-faq .faq-nav__list {
    flex-direction: column;
    overflow-x: visible;
    gap: 2px;
    padding-bottom: 0;
  }

  .page-faq .faq-nav__link {
    border: none;
    border-left: 2px solid var(--hair);
    border-radius: 0;
    padding: 9px 10px;
    white-space: normal;
    font-size: 13.5px;
    line-height: 1.4;
    background: transparent;
  }

  .page-faq .faq-nav__link:hover {
    background: transparent;
    color: var(--lime);
    border-left: 2px solid var(--lime);
    padding-left: 10px;
  }

  .page-faq .faq-nav__link:hover .faq-nav__num {
    color: var(--amber);
  }

  .page-faq .faq-side__note {
    display: block;
  }

  .page-faq .faq-group {
    padding: 30px 0 18px;
  }

  .page-faq .faq-group__head {
    gap: 20px;
  }

  .page-faq .faq-group__num {
    font-size: 64px;
  }

  .page-faq .faq-item::before {
    left: -18px;
  }

  .page-faq .faq-item__q {
    font-size: 18px;
  }

  .page-faq .faq-contact {
    padding: 40px 36px;
  }

  .page-faq .faq-contact__title {
    font-size: 32px;
  }
}
