.page-faq {
  --faq-aside-width: 220px;
  background: var(--night);
  color: var(--white);
  overflow-x: hidden;
}

.page-faq .faq-hero {
  position: relative;
  padding: 152px 0 64px;
  background:
    radial-gradient(760px 320px at 84% 0%, rgba(245, 179, 1, 0.1) 0%, transparent 62%),
    linear-gradient(135deg, var(--night-soft) 0%, var(--night) 55%, var(--green-deep) 140%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -8%;
  width: 44vw;
  height: 300px;
  background: linear-gradient(140deg, rgba(245, 179, 1, 0.06), rgba(245, 179, 1, 0));
  transform: skewX(-14deg);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: center;
}

.page-faq .faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-faq .faq-hero__kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  transform: skewX(-18deg);
}

.page-faq .faq-hero__title {
  margin: 0;
  max-width: 860px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 62px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.16;
  color: var(--white);
}

.page-faq .faq-hero__title em {
  font-style: italic;
  color: var(--gold);
}

.page-faq .faq-hero__desc {
  margin: 18px 0 0;
  max-width: 580px;
  color: var(--gray-green);
  font-size: 16px;
  line-height: 1.85;
}

.page-faq .faq-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.page-faq .faq-hero__stat {
  padding: 0 14px 0 0;
  border-right: 1px solid var(--border);
}

.page-faq .faq-hero__stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-faq .faq-hero__stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-faq .faq-hero__stat-label {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: var(--gray-green);
  white-space: nowrap;
}

.page-faq .faq-hero__visual {
  position: relative;
}

.page-faq .faq-hero__frame {
  position: relative;
  margin: 0;
  padding: 10px;
  background: var(--green-deep);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-hero__frame::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 58px;
  height: 58px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 2;
}

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

.page-faq .faq-hero__badge {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(11, 16, 38, 0.82);
  transform: skewX(-8deg);
  pointer-events: none;
}

.page-faq .faq-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
}

.page-faq .faq-quick {
  position: relative;
  z-index: 3;
  padding: 34px 0 40px;
  background: var(--night);
}

.page-faq .faq-quick__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: -22px;
}

.page-faq .faq-quick__card {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 20px 16px;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 140%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.page-faq .faq-quick__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 36px, transparent 36px);
}

.page-faq .faq-quick__card:hover,
.page-faq .faq-quick__card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(245, 179, 1, 0.45);
}

.page-faq .faq-quick__index {
  grid-row: 1 / 3;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 10px;
}

.page-faq .faq-quick__title {
  grid-column: 2;
  grid-row: 1;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-faq .faq-quick__count {
  grid-column: 2;
  grid-row: 2;
  width: max-content;
  align-self: start;
  margin-top: 6px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-green);
  background: var(--night);
  border: 1px solid var(--border);
}

.page-faq .faq-quick__arrow {
  grid-row: 1 / 3;
  grid-column: 3;
  align-self: center;
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.25s var(--ease-out);
}

.page-faq .faq-quick__card:hover .faq-quick__arrow {
  transform: translateX(4px);
}

.page-faq .faq-main {
  position: relative;
  padding: 0 0 72px;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-soft) 32%, var(--night) 100%);
}

.page-faq .faq-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120px;
  width: 220px;
  height: 100%;
  background: linear-gradient(90deg, rgba(245, 179, 1, 0.035), transparent);
  transform: skewX(-12deg);
  pointer-events: none;
}

.page-faq .faq-main__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.page-faq .faq-side {
  display: none;
}

.page-faq .faq-side__eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-green);
}

.page-faq .faq-side__list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

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

.page-faq .faq-side__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 2px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease, padding-left 0.25s var(--ease-out);
}

.page-faq .faq-side__link:hover {
  color: var(--gold);
  padding-left: 8px;
}

.page-faq .faq-side__num {
  min-width: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.page-faq .faq-panel {
  min-width: 0;
}

.page-faq .faq-zone {
  scroll-margin-top: 92px;
  margin-bottom: 60px;
}

.page-faq .faq-zone:last-of-type {
  margin-bottom: 0;
}

.page-faq .faq-zone__head {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  margin-bottom: 20px;
  padding: 0 0 14px;
  border-bottom: 3px solid var(--gold);
}

.page-faq .faq-zone__head::after {
  content: "";
  grid-column: 2;
  justify-self: end;
  width: 9px;
  height: 9px;
  margin-top: 6px;
  background: var(--red);
  transform: rotate(45deg);
}

.page-faq .faq-zone__num {
  grid-row: 1 / 3;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.page-faq .faq-zone__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--white);
}

.page-faq .faq-zone__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-green);
}

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

.page-faq .faq-item {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(10, 61, 46, 0.22) 0%, rgba(11, 16, 38, 0.06) 100%);
  transition: background 0.35s var(--ease-out);
}

.page-faq .faq-item[open] {
  background: linear-gradient(90deg, var(--green-deep) 0%, rgba(10, 61, 46, 0.5) 100%);
}

.page-faq .faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 16px 18px 16px 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--white);
  transition: color 0.2s ease;
}

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

.page-faq .faq-item__q::marker {
  display: none;
  content: "";
}

.page-faq .faq-item__q:hover,
.page-faq .faq-item[open] .faq-item__q {
  color: var(--gold);
}

.page-faq .faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transform: skewX(-8deg);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.page-faq .faq-item[open] .faq-item__q::after {
  content: "–";
  background: var(--gold);
  color: var(--night);
}

.page-faq .faq-item__a {
  padding: 0 22px 24px 16px;
}

.page-faq .faq-item__a p {
  margin: 0 0 10px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-green);
}

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

.page-faq .faq-item__a a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 179, 1, 0.35);
  transition: border-color 0.2s ease;
}

.page-faq .faq-item__a a:hover {
  border-color: var(--gold);
}

.page-faq .faq-route {
  margin: 28px 0 0;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--night-soft) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
}

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

.page-faq .faq-route__caption {
  margin: 12px 0 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-green);
}

.page-faq .faq-route__caption::before {
  content: "// ";
  color: var(--gold);
}

.page-faq .faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.page-faq .faq-more {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 56px;
  padding: 28px 26px 26px;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 140%);
  color: var(--night);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--red);
  transform: skewX(-10deg) translateX(-3px);
}

.page-faq .faq-more__tit {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  text-transform: uppercase;
}

.page-faq .faq-more__desc {
  margin: 6px 0 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(11, 16, 38, 0.8);
}

.page-faq .faq-more .btn {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .page-faq .faq-quick__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 760px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-quick__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .faq-main__layout {
    grid-template-columns: var(--faq-aside-width) minmax(0, 1fr);
    gap: 56px;
  }

  .page-faq .faq-side {
    display: block;
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 24px 18px 24px 0;
    border-right: 1px solid var(--border);
  }
}

@media (max-width: 639px) {
  .page-faq .faq-more {
    flex-direction: column;
    align-items: flex-start;
  }
}
