/* ============ UTILS ============ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red-bright);
  z-index: 110;
  pointer-events: none;
  transform-origin: left;
}

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  right: var(--gutter);
  bottom: 1.25rem;
  z-index: 94;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.92);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--red); color: var(--red-bright); }
@media (max-width: 760px) {
  body.has-sticky-cta .back-top { bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
}

/* ============ NAV ACTIVE ============ */
.nav__links a.is-active,
.nav-drawer__link.is-active {
  color: var(--red-bright);
}
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

/* ============ HERO SECONDARY CTA ============ */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: stretch;
}
.btn--ghost {
  border-color: var(--line);
  background: rgba(7, 11, 18, 0.35);
}
.btn--ghost .btn__meta { color: var(--bone-dim); }

/* ============ BEFORE / AFTER ============ */
.shift__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 var(--gutter);
  border: 1px solid var(--line);
}
.shift__col { padding: 0; }
.shift__head {
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--bone-dim);
  background: var(--ink-2);
}
.shift__head + .shift__head { border-right: none; }
.shift__item {
  padding: 1.2rem var(--gutter);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.shift__item:nth-child(even) { border-right: none; }
.shift__item--after { color: var(--bone); background: rgba(201, 163, 92, 0.05); }
.shift__item em { color: var(--red-bright); font-style: normal; }
@media (max-width: 700px) {
  .shift__grid { grid-template-columns: 1fr; }
  .shift__item { border-right: none; }
}

/* ============ BATNA TOOL ============ */
.batna {
  margin: clamp(3rem, 8vh, 5rem) var(--gutter) 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.batna__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.batna__sub { color: var(--bone-dim); margin-bottom: 1.5rem; max-width: 40rem; }
.batna__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.batna__field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--red-bright);
  margin-bottom: 0.45rem;
}
.batna__field input,
.batna__field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--serif-text);
  font-size: 0.95rem;
}
.batna__field textarea { min-height: 4.5rem; resize: vertical; }
.batna__out {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--red);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.45;
  min-height: 4rem;
}
@media (max-width: 800px) { .batna__fields { grid-template-columns: 1fr; } }

/* ============ TELEGRAM MOCKUP ============ */
.tg-mock {
  margin-top: 2rem;
  border: 1px solid var(--line);
  background: #17212b;
  border-radius: 1.2rem;
  overflow: hidden;
  max-width: 20rem;
}
.tg-mock__bar {
  padding: 0.65rem 1rem;
  background: #232e3c;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: #8b9bab;
}
.tg-mock__body { padding: 1rem; display: grid; gap: 0.65rem; }
.tg-bubble {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fff;
}
.tg-bubble--in {
  background: #182533;
  justify-self: start;
  border-bottom-left-radius: 0.15rem;
}
.tg-bubble--out {
  background: #2b5278;
  justify-self: end;
  border-bottom-right-radius: 0.15rem;
}
.tg-bubble time {
  display: block;
  font-family: var(--mono);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.25rem;
}

/* ============ COHORT / PAY TRUST ============ */
.cohort {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(7, 11, 18, 0.15);
  background: rgba(207, 58, 42, 0.08);
}
.cohort__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s steps(2) infinite;
}
.ticket__installment {
  display: block;
  margin-top: 0.35rem;
  color: rgba(7, 11, 18, 0.55);
}
.pay-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.25rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 11, 18, 0.12);
  color: rgba(7, 11, 18, 0.65);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.pay-trust span::before { content: "✦ "; color: var(--red); }

.finale .hero__actions { justify-content: center; }

/* ============ FAQ ============ */
.faq {
  padding: clamp(6rem, 14vh, 10rem) 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 var(--gutter);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: calc(5rem + env(safe-area-inset-top, 0px));
}
.faq__heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.faq__heading em { color: var(--red-bright); font-style: italic; }
.faq__lede {
  color: var(--bone-dim);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}
.faq__contact {
  display: inline-block;
  color: var(--red-bright);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  transition: color 0.25s;
}
.faq__contact:hover { color: var(--bone); }
.faq__list {
  border: 1px solid var(--line);
  background: var(--ink);
}
.faq__item {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.faq__item:last-child { border-bottom: none; }
.faq__item[open] { background: rgba(201, 163, 92, 0.03); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1rem, 2vw, 1.5rem);
  transition: padding-left 0.35s var(--ease-out, ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { padding-left: calc(clamp(1rem, 2vw, 1.5rem) + 0.5rem); }
.faq__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}
.faq__q {
  flex: 1;
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
  font-weight: 500;
  color: var(--bone);
}
.faq__icon {
  color: var(--red-bright);
  font-size: 1.1rem;
  line-height: 1;
  padding-top: 0.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.45rem);
}
.faq__a p {
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--red);
  color: var(--bone-dim);
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 38rem;
}
.faq__a a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.25s;
}
.faq__a a:hover { color: var(--bone); }
@media (max-width: 900px) {
  .faq__layout { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__heading { max-width: none; }
}
@media (max-width: 560px) {
  .faq__item summary {
    gap: 0.75rem;
  }
  .faq__a p { padding-left: 0.75rem; }
}

/* ============ LEAD MAGNET ============ */
.sample {
  padding: clamp(4rem, 10vh, 7rem) var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}
.sample__title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.sample__sub { color: var(--bone-dim); max-width: 32rem; margin: 0 auto 1.75rem; }
.sample__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  max-width: 28rem;
  margin: 0 auto;
}
.sample__form input {
  flex: 1;
  min-width: 12rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--bone);
  font-family: var(--serif-text);
}
.sample__form button {
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  cursor: pointer;
}
