/* ==========================================================================
   CiteBot — лендинг приёма заказов в Telegram.
   Стилистика: кинематографичная тёмная тема, крупная типографика,
   тонкие линии, золотой акцент, полноэкранные секции с изображениями.
   Тёмная тема — по умолчанию, светлая — атрибут data-theme="light" на <html>.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* поверхности */
  --bg: #0a0d10;
  --bg-soft: #0e1318;
  --surface: #10161c;
  --surface-2: #151d24;

  /* линии и подложки */
  --line: rgba(243, 240, 234, .12);
  --line-strong: rgba(243, 240, 234, .22);
  --tint-1: rgba(243, 240, 234, .04);
  --tint-2: rgba(243, 240, 234, .025);
  --tint-3: rgba(243, 240, 234, .08);

  /* текст */
  --text: #f3f0ea;
  --muted: #a2abb6;
  --muted-2: #7c8695;

  /* акценты */
  --gold: #c8a45c;
  --gold-2: #e0c489;
  --gold-soft: rgba(200, 164, 92, .14);
  --gold-line: rgba(200, 164, 92, .38);
  --on-gold: #12100a;

  /* постоянная светлая палитра для полноэкранных тёмных блоков */
  --always-light: #f6f3ec;
  --always-muted: rgba(246, 243, 236, .72);

  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 76px;
  --container: 1240px;
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

[data-theme="light"] {
  color-scheme: light;

  --bg: #f7f5f0;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1eee7;

  --line: rgba(18, 22, 27, .13);
  --line-strong: rgba(18, 22, 27, .26);
  --tint-1: rgba(18, 22, 27, .035);
  --tint-2: rgba(18, 22, 27, .02);
  --tint-3: rgba(18, 22, 27, .06);

  --text: #12161b;
  --muted: #5b6572;
  --muted-2: #7b8593;

  --gold: #8f6f28;
  --gold-2: #6f5518;
  --gold-soft: rgba(143, 111, 40, .10);
  --gold-line: rgba(143, 111, 40, .40);
  --on-gold: #ffffff;

  --shadow: 0 30px 60px -40px rgba(18, 22, 27, .35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------ сетка ----------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 900px; }

.section { padding: 128px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }

.section__head { max-width: 780px; margin: 0 0 64px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(30px, 4.6vw, 62px); text-transform: uppercase; }
.section__lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 18px 0 0; }
.section__head--center .section__lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-line);
}

/* ------------------------------ кнопки ---------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}
.btn > * { position: relative; z-index: 1; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(101%);
  transition: transform .38s cubic-bezier(.22, .61, .36, 1);
  z-index: 0;
}
.btn:hover::after { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
}
.btn--primary::after { background: var(--gold-2); }
.btn--primary:hover { transform: translateY(-2px); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost::after { background: var(--tint-3); }
.btn--ghost:hover { border-color: var(--gold); }

.btn--light { border-color: rgba(246, 243, 236, .4); color: var(--always-light); }
.btn--light::after { background: rgba(246, 243, 236, .14); }

.btn--sm { padding: 12px 22px; font-size: 11.5px; }
.btn--lg { padding: 20px 42px; font-size: 14px; }

.btn__arrow { transition: transform .3s ease; }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ------------------------------ прогресс чтения ------------------------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 130;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width .12s linear;
}

/* ------------------------------ шапка ----------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.header.is-stuck {
  background: var(--bg);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.is-stuck.header--over { color: var(--text); }
.header.is-stuck.header--over .brand__text span { color: var(--gold); }
.header.is-stuck.header--over .brand__mark { border-color: var(--gold-line); color: var(--gold); }
.header.is-stuck.header--over .nav__link { color: var(--muted); }
.header.is-stuck.header--over .nav__link:hover { color: var(--text); }
.header.is-stuck.header--over .theme-toggle,
.header.is-stuck.header--over .burger { border-color: var(--line); color: var(--text); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 14px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  flex: none;
}
.brand__text span { color: var(--gold); }
.brand--sm { font-size: 13px; }
.brand--sm .brand__mark { width: 30px; height: 30px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 14px; }
.header .btn--primary { padding: 13px 24px; font-size: 11.5px; }

.theme-toggle,
.burger {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.theme-toggle:hover,
.burger:hover { border-color: var(--gold); color: var(--gold); }

.theme-toggle__icon--sun { display: none; }
[data-theme="light"] .theme-toggle__icon--sun { display: block; }
[data-theme="light"] .theme-toggle__icon--moon { display: none; }

.burger { display: none; position: relative; }
.burger span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* шапка поверх тёмного героя */
.header--over { color: var(--always-light); }
.header--over .brand__mark { border-color: rgba(243, 240, 234, .35); color: var(--gold-2); }
.header--over .brand__text span { color: var(--gold-2); }
.header--over .nav__link { color: rgba(246, 243, 236, .74); }
.header--over .nav__link:hover { color: var(--always-light); }
.header--over .theme-toggle,
.header--over .burger { border-color: rgba(243, 240, 234, .3); color: var(--always-light); }

/* ------------------------------ герой ----------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 70px) 0 70px;
  overflow: hidden;
  background: #0a0d10;
  color: var(--always-light);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -4% -2% -4% -2%;
  width: 104%;
  height: 108%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.04);
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.13) translate3d(1.2%, -1.6%, 0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 9, 12, .88) 0%, rgba(6, 9, 12, .35) 42%, rgba(6, 9, 12, .82) 100%),
    linear-gradient(90deg, rgba(6, 9, 12, .82) 0%, rgba(6, 9, 12, .18) 62%, rgba(6, 9, 12, .5) 100%);
}
.hero__inner { position: relative; width: 100%; }

.hero__title {
  font-size: clamp(40px, 8.2vw, 116px);
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
  margin: 0 0 30px;
  max-width: 18ch;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp .9s cubic-bezier(.22, .61, .36, 1) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__title .accent {
  color: transparent;
  background: linear-gradient(120deg, var(--gold-2), var(--gold) 60%, #f0dcb2);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  text-transform: none;
  padding-right: .08em;
}

.hero__lead {
  max-width: 54ch;
  font-size: 18px;
  color: var(--always-muted);
  opacity: 0;
  animation: fadeUp .9s ease .45s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
  opacity: 0;
  animation: fadeUp .9s ease .6s forwards;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(243, 240, 234, .16);
  list-style: none;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .62);
  opacity: 0;
  animation: fadeUp .9s ease .75s forwards;
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-2);
  flex: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero__index {
  position: absolute;
  right: 28px;
  bottom: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .6);
  writing-mode: vertical-rl;
}
.hero__index i {
  display: block;
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, var(--gold-2), transparent);
}
.hero__scroll {
  position: absolute;
  left: 28px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .55);
}
.hero__scroll::after {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scrollHint 2.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleX(.35); opacity: .5; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ------------------------------ бегущая строка -------------------------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 20px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 46px;
  padding-right: 46px;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ticker__item::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------ цифры ----------------------------------- */

.numbers-block { padding: 0; }
.numbers-block .container { padding-inline: 28px; }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.numbers__item { padding: 44px 32px; border-right: 1px solid var(--line); }
.numbers__item:last-child { border-right: 0; }
.numbers__value {
  display: block;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--text), var(--muted-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numbers__label { font-size: 13.5px; color: var(--muted); }

/* ------------------------------ список проблем -------------------------- */

.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: border-color .3s ease;
}
.row:hover { border-top-color: var(--gold-line); }
.row__num { font-size: 12px; letter-spacing: .2em; color: var(--gold); padding-top: 6px; }
.row__title { font-size: 20px; text-transform: none; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.2; }
.row__text { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ------------------------------ плитки ---------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.tile {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  isolation: isolate;
}
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(.92);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1), filter .5s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 12, .1) 0%, rgba(6, 9, 12, .72) 60%, rgba(6, 9, 12, .95) 100%);
}
.tile:hover .tile__img { transform: scale(1.07); filter: saturate(1.05); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: 26px 22px; color: var(--always-light); }
.tile__num { display: block; font-size: 11px; letter-spacing: .24em; color: var(--gold-2); margin-bottom: 10px; }
.tile__title { font-size: 19px; margin: 0 0 8px; letter-spacing: -.02em; }
.tile__text { margin: 0; font-size: 14px; color: rgba(246, 243, 236, .72); }
.tile__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.tile__arrow span { display: inline-block; transition: transform .3s ease; }
.tile:hover .tile__arrow span { transform: translateX(6px); }

.features-extra {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.features-extra h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -.01em; }
.features-extra p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ------------------------------ манифест -------------------------------- */

.manifesto {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
  background: #0a0d10;
  color: var(--always-light);
  isolation: isolate;
}
.manifesto__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  z-index: -2;
}
.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 9, 12, .94) 0%, rgba(6, 9, 12, .62) 55%, rgba(6, 9, 12, .32) 100%);
}
.manifesto__inner { max-width: 780px; }
.manifesto__title { font-size: clamp(32px, 5.4vw, 74px); text-transform: uppercase; margin-bottom: 24px; }
.manifesto__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-2);
}
.manifesto p { color: var(--always-muted); font-size: 18px; max-width: 58ch; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.manifesto__actions { margin-top: 38px; }
.manifesto__kicker {
  margin: 30px 0 0;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .6);
}
.eyebrow--center { justify-content: center; }
.chip {
  padding: 9px 16px;
  border: 1px solid rgba(243, 240, 234, .22);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(246, 243, 236, .78);
  transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.chip:hover { border-color: var(--gold-2); color: var(--always-light); background: rgba(200, 164, 92, .12); }

/* ------------------------------ маршрут --------------------------------- */

.route__phases {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.route__phase--build { color: var(--gold); }
.route__phase--support { color: var(--muted-2); }

.route__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  padding-top: 50px;
}
.route__list::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-line), var(--gold), var(--gold-line));
}
.route__step { position: relative; padding-top: 46px; }
.route__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}
.route__step--done .route__dot { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.route__step h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.02em; }
.route__step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.route__support {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px dashed var(--line-strong);
}
.route__support-dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px dashed var(--gold-line);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
}
.route__support h3 { font-size: 20px; margin-bottom: 8px; }
.route__support p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.route__support ul { list-style: none; display: grid; gap: 8px; }
.route__support li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15px; }
.route__support li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 1px;
  background: var(--gold);
}

/* ------------------------------ расчёт ---------------------------------- */

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.calc__field { margin-bottom: 40px; }
.calc__field label {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.calc__field label strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  text-transform: none;
}
.calc__field input[type="range"] {
  width: 100%;
  height: 2px;
  margin: 0;
  background: var(--line-strong);
  appearance: none;
  cursor: pointer;
}
.calc__field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--gold-line);
}
.calc__field input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--bg);
}
.calc__scale { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--muted-2); }
.calc__note { margin: 0; color: var(--muted-2); font-size: 14px; max-width: 46ch; }
.calc__inputs h3 { font-size: 20px; margin-bottom: 16px; letter-spacing: -.02em; }
.calc__lead-text { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.calc__lead-text strong { color: var(--text); }

.calc__out { border-top: 1px solid var(--line); }
.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.calc__row strong { color: var(--text); font-size: 22px; font-weight: 700; white-space: nowrap; }
.calc__row--total strong {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--gold);
}
.calc__hint { margin: 20px 0 0; color: var(--muted-2); font-size: 13.5px; }

/* ------------------------------ тарифы ---------------------------------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 42px 34px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), border-color .4s ease, box-shadow .4s ease;
}
.plan:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--gold-line); background: linear-gradient(180deg, var(--gold-soft), var(--surface)); }
.plan__tag {
  position: absolute;
  top: -12px;
  left: 34px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--on-gold);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.plan__name { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.plan__desc { color: var(--muted); font-size: 15px; min-height: 68px; margin-bottom: 26px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.plan__price span { font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.plan__price small { color: var(--muted-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.plan__support {
  margin: 0 0 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.plan__support span { color: var(--text); font-weight: 600; }
.plan__list { list-style: none; display: grid; gap: 12px; margin: 0 0 32px; }
.plan__list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; }
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.plan__excluded {
  margin: 0 0 24px;
  padding: 12px 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.5;
}
.plan .btn { margin-top: auto; }
.pricing__note {
  max-width: 860px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--muted-2);
  font-size: 14.5px;
}

/* ------------------------------ вопросы --------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  position: relative;
  display: block;
  padding: 30px 60px 30px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -.02em;
  transition: color .3s ease, padding-left .3s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 42%;
  width: 12px; height: 12px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item summary:hover { color: var(--gold); padding-left: 10px; }
.faq__item[open] summary { color: var(--gold); }
.faq__body { padding: 0 90px 34px 0; color: var(--muted); font-size: 16px; }
.faq__body p:last-child { margin-bottom: 0; }

/* ------------------------------ финальный призыв ------------------------ */

.cta {
  position: relative;
  padding: 150px 0 130px;
  overflow: hidden;
  background: #0a0d10;
  color: var(--always-light);
  text-align: center;
  isolation: isolate;
}
.cta__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 70% at 50% 45%, rgba(6, 9, 12, .35) 0%, rgba(6, 9, 12, .9) 100%);
}
.cta__title { font-size: clamp(34px, 6vw, 88px); text-transform: uppercase; margin-bottom: 22px; }
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--gold-2);
}
.cta p { color: var(--always-muted); font-size: 18px; max-width: 62ch; margin-inline: auto; }
.cta__actions { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta__handle {
  display: inline-block;
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .6);
}

/* ------------------------------ подвал ---------------------------------- */

.footer { border-top: 1px solid var(--line); padding: 72px 0 48px; background: var(--bg-soft); }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col strong {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
  font-weight: 600;
}
.footer__col a, .footer__col span { color: var(--muted); font-size: 14.5px; transition: color .25s ease; }
.footer__col a:hover { color: var(--gold); }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 40ch; margin: 18px 0 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted-2);
}

/* ------------------------------ уведомление ----------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 24px);
  padding: 16px 26px;
  max-width: min(92vw, 560px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ кнопка telegram ------------------------- */

.fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 110;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 20px 40px -18px rgba(200, 164, 92, .7);
  transition: transform .3s ease, background-color .3s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.04); background: var(--gold-2); }

/* ------------------------------ юридическая страница -------------------- */

.legal { padding: 150px 28px 110px; max-width: 900px; }
.legal h1 { font-size: clamp(28px, 4vw, 48px); text-transform: uppercase; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 8px; }
.legal ul li { list-style: disc; }
.legal a { color: var(--gold); }
.legal__updated { color: var(--muted-2); font-size: 14px; }
.legal__notice {
  padding: 22px 24px;
  margin: 28px 0 8px;
  border: 1px solid var(--gold-line);
  border-left-width: 2px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--text);
  font-size: 15.5px;
}
.legal__notice strong { color: var(--gold); }

/* ------------------------------ анимации появления ---------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal-line.is-visible { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .js .reveal-line { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__lead, .hero__actions, .hero__meta { opacity: 1; }
}

/* ------------------------------ адаптив --------------------------------- */

@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 380px; }
  .features-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 980px) {
  .section { padding: 96px 0; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers__item { border-bottom: 1px solid var(--line); }
  .numbers__item:nth-child(2n) { border-right: 0; }
  .numbers__item:nth-last-child(-n+2) { border-bottom: 0; }
  .rows { grid-template-columns: 1fr; gap: 0; }
  .route__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .route__list::before { display: none; }
  .calc { grid-template-columns: 1fr; gap: 44px; }
  .plans { grid-template-columns: 1fr; gap: 20px; }
  .plan__desc { min-height: 0; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 28px 34px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link { width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__link::after { display: none; }
  html:not(.js) .nav { position: static; transform: none; background: none; border: 0; padding: 0; }
  html:not(.js) .burger { display: none; }
  .burger { display: grid; }
  .hero__index { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 74px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 320px; }
  .features-extra { grid-template-columns: 1fr; gap: 24px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 64px; }
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .hero__actions .btn { width: 100%; }
  .hero__meta { gap: 10px 20px; font-size: 11px; }
  .hero__scroll { position: static; margin-top: 34px; }
  .route__list { grid-template-columns: 1fr; row-gap: 34px; }
  .route__step { padding: 8px 0 0 62px; }
  .route__support { grid-template-columns: 1fr; gap: 18px; }
  .manifesto, .cta { padding: 92px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .faq__body { padding-right: 20px; }
  .faq__item summary { padding-right: 46px; }
  .legal { padding-top: 120px; }
  .fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
