.page-faq {
  --faq-line: rgba(11, 61, 46, 0.14);
  background: var(--c-fog);
}

.page-faq .page-faq__wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}

.page-faq .page-faq__toc {
  margin-bottom: 44px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-pitch) 100%);
  border-left: 4px solid var(--c-gold);
  box-shadow: var(--shadow-panel);
}

.page-faq .page-faq__toc-title {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.page-faq .page-faq__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.page-faq .page-faq__toc-list a {
  color: var(--c-fog);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.2s var(--ease-out);
}

.page-faq .page-faq__toc-list a:hover,
.page-faq .page-faq__toc-list a.is-active {
  color: var(--c-gold);
}

.page-faq .faq-section {
  position: relative;
  padding: 34px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--faq-line);
  overflow: hidden;
}

.page-faq .faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 7px,
    rgba(212, 168, 67, 0.12) 7px,
    rgba(212, 168, 67, 0.12) 9px
  );
  pointer-events: none;
}

.page-faq .faq-section__head,
.page-faq .faq-item,
.page-faq .faq-media,
.page-faq .faq-section__support-grid,
.page-faq .faq-section__note,
.page-faq .faq-section__support-card {
  position: relative;
  z-index: 1;
}

.page-faq .faq-section__head {
  margin-bottom: 26px;
  padding-right: 70px;
}

.page-faq .faq-section__kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-coral);
}

.page-faq .faq-section__title {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-pitch);
}

.page-faq .faq-section__intro {
  margin: 0;
  max-width: 640px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--c-night);
}

.page-faq .faq-section--dark {
  background: linear-gradient(135deg, var(--c-pitch) 0%, var(--c-ink) 100%);
  padding: 34px 24px;
  border-bottom: 0;
}

.page-faq .faq-section--dark::before {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 7px,
    rgba(245, 247, 246, 0.07) 7px,
    rgba(245, 247, 246, 0.07) 9px
  );
}

.page-faq .faq-section--dark .faq-section__kicker {
  color: var(--c-gold);
}

.page-faq .faq-section--dark .faq-section__title {
  color: var(--c-fog);
}

.page-faq .faq-section--dark .faq-section__intro {
  color: rgba(245, 247, 246, 0.76);
}

.page-faq .faq-item {
  background: #fff;
  border: 1px solid var(--faq-line);
  margin-bottom: 14px;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-faq .faq-item[open] {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-panel);
}

.page-faq .faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

.page-faq .faq-item__question:hover {
  background: rgba(212, 168, 67, 0.07);
}

.page-faq .faq-item__question::after {
  content: "+";
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-coral);
  transition: transform 0.25s var(--ease-out);
}

.page-faq .faq-item[open] > .faq-item__question::after {
  content: "–";
  transform: rotate(180deg);
}

.page-faq .faq-item__answer {
  padding: 0 20px 20px;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--c-night);
}

.page-faq .faq-item[open] .faq-item__answer {
  animation: faq-fade-in 0.3s var(--ease-out) both;
}

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

.page-faq .faq-item__answer a {
  color: var(--c-pitch);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-section--dark .faq-item {
  background: rgba(11, 61, 46, 0.55);
  border-color: rgba(245, 247, 246, 0.14);
}

.page-faq .faq-section--dark .faq-item[open] {
  border-color: var(--c-gold);
}

.page-faq .faq-section--dark .faq-item__question {
  color: var(--c-fog);
}

.page-faq .faq-section--dark .faq-item__answer {
  color: rgba(245, 247, 246, 0.8);
}

.page-faq .faq-section--dark .faq-item__answer a {
  color: var(--c-gold);
}

.page-faq .faq-media {
  margin: 30px 0 0;
  padding: 10px;
  background: var(--c-cream);
  border: 1px solid var(--faq-line);
}

.page-faq .faq-section--dark .faq-media {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 247, 246, 0.14);
}

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

.page-faq .faq-media__caption {
  margin: 12px 0 2px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--c-night);
}

.page-faq .faq-section--dark .faq-media__caption {
  color: rgba(245, 247, 246, 0.72);
}

.page-faq .faq-section--support {
  border-bottom: 0;
}

.page-faq .faq-section__support-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.page-faq .faq-section__support-card {
  padding: 18px 20px;
  background: var(--c-cream);
  border-left: 3px solid var(--c-coral);
}

.page-faq .faq-section__support-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-coral);
}

.page-faq .faq-section__support-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  word-break: break-word;
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
}

.page-faq .faq-section__note {
  margin-top: 22px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-night);
}

.page-faq .faq-section__note a {
  color: var(--c-pitch);
  font-weight: 700;
}

@media (min-width: 760px) {
  .page-faq .page-faq__wrap {
    padding-top: 56px;
  }

  .page-faq .page-faq__toc {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 28px;
  }

  .page-faq .page-faq__toc-title {
    margin: 0;
    white-space: nowrap;
  }

  .page-faq .faq-section {
    padding: 48px 0 44px;
    margin-bottom: 40px;
  }

  .page-faq .faq-section--dark {
    padding: 48px 44px;
  }

  .page-faq .faq-section__head {
    margin-bottom: 32px;
  }

  .page-faq .faq-section__support-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
