/* BuyerFlow — публичный сайт.
   Раскладка: чередование тёмно-синих и светлых «бумажных» секций; детали из мира люкса —
   отстрочка (пунктир), бирка (карточка цены), отверстие бирки в надписях над заголовками. */
:root {
  --navy: #090F27;          /* основной цвет (со скриншота) */
  --navy-2: #111939;        /* приподнятые поверхности на тёмном */
  --navy-deep: #060A1C;     /* подвал */
  --ivory: #EEE7DC;         /* светлая секция */
  --paper: #F7F3EC;         /* светлая секция, вариант */
  --ink: #090F27;           /* текст на светлом */
  --ink-soft: #4B5068;      /* второстепенный текст на светлом */
  --on-navy: #EEE7DC;       /* текст на тёмном */
  --on-navy-soft: #A9AEC4;  /* второстепенный текст на тёмном */
  --gold: #C4A26B;          /* акцент: кнопки, отстрочка */
  --gold-hi: #DCC398;       /* акцент на тёмном */
  --gold-deep: #8A6A38;     /* акцент на светлом */
  --removed: #D9806A;       /* «убрано ботом» */
  --line: rgba(9, 15, 39, .14);
  --line-navy: rgba(238, 231, 220, .12);

  --f-display: "Prata", "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 20px;
  --maxw: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; }
h3 { font: 600 1.125rem/1.35 var(--f-body); margin: 0; text-wrap: balance; }
p { margin: 0; }
em { font-style: normal; color: var(--gold-deep); }
.sec-navy em { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sel { user-select: all; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec > .wrap { display: grid; gap: clamp(28px, 4vw, 48px); }
.sec-navy { background: var(--navy); color: var(--on-navy); }
.sec-ivory { background: var(--ivory); color: var(--ink); }
.sec-paper { background: var(--paper); color: var(--ink); }

/* Надпись над заголовком — как маленькая бирка с отверстием */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.sec-navy .eyebrow, .hero .eyebrow { color: var(--gold-hi); }
.sec > .wrap > .eyebrow { margin-bottom: calc(16px - clamp(28px, 4vw, 48px)); }
.eyebrow-hole { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 58ch; }
.sec-navy .lead { color: var(--on-navy-soft); }
.fine { font-size: .875rem; color: var(--on-navy-soft); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--gold); color: var(--navy); text-decoration: none;
  font: 600 1rem/1.2 var(--f-body); letter-spacing: .01em;
  padding: 17px 28px; border-radius: 2px;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.btn:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(196, 162, 107, .85); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost { color: var(--on-navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.btn-ghost:hover { color: var(--gold-hi); }

/* Шапка */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(9, 15, 39, .94); color: var(--on-navy);
  border-bottom: 1px solid var(--line-navy);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { font: 400 1.4rem/1 var(--f-display); text-decoration: none; color: var(--on-navy); letter-spacing: .01em; }
.brand span { color: var(--gold-hi); }
.menu { display: flex; gap: 28px; margin-left: auto; font-size: .95rem; }
.menu a { text-decoration: none; color: var(--on-navy-soft); }
.menu a:hover { color: var(--on-navy); }
.top-end { display: flex; align-items: center; gap: 18px; margin-left: 28px; }
.langs { display: flex; gap: 2px; font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; }
.langs a { padding: 8px 7px; text-decoration: none; color: var(--on-navy-soft); }
.langs a[aria-current] { color: var(--gold-hi); }
.langs a:hover { color: var(--on-navy); }
@media (max-width: 980px) {
  .menu { display: none; }
  .top-end { margin-left: auto; }
}
@media (max-width: 420px) {
  .top-end { gap: 8px; }
  .btn-sm { padding: 9px 12px; }
  .brand { font-size: 1.2rem; }
}

/* Первый экран */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(196, 162, 107, .13), transparent 70%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-copy .eyebrow { margin-bottom: 0; }
.hero h1 { max-width: 15ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.stitch {
  position: absolute; left: 0; right: 0; bottom: 28px; height: 1.5px; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--gold) 0 11px, transparent 11px 19px);
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .phone { justify-self: center; }
}

/* Телефон и посты Telegram */
.phone {
  width: min(320px, 100%); border-radius: 42px; padding: 10px;
  background: #03050F; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(238, 231, 220, .08);
  transform: rotate(2deg);
}
.phone-bar { height: 26px; display: flex; justify-content: center; align-items: flex-start; }
.phone-notch { width: 90px; height: 20px; border-radius: 0 0 14px 14px; background: #03050F; margin-top: -10px; }
.phone-screen { background: #0D1430; border-radius: 32px; padding: 14px 12px 22px; margin-top: -26px; padding-top: 40px; }
.phone .post { border: 0; }

.post {
  background: var(--navy-2); color: var(--on-navy); border-radius: 14px;
  border: 1px solid var(--line-navy); overflow: hidden; text-align: left;
}
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post-head b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.2; }
.post-head small { font: 400 .7rem/1.2 var(--f-mono); color: var(--on-navy-soft); }
.avatar {
  width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: #2A3358; color: var(--on-navy); font: 600 .85rem/1 var(--f-body);
}
.avatar-gold { background: var(--gold); color: var(--navy); font-family: var(--f-display); font-weight: 400; font-size: 1rem; }
.topic {
  margin-left: auto; font: 500 .68rem/1 var(--f-mono); color: var(--gold-hi);
  border: 1px solid rgba(220, 195, 152, .45); padding: 5px 8px; border-radius: 999px; white-space: nowrap;
}
.album { display: grid; gap: 2px; }
.album-3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3.4; }
.album-3 .t1 { grid-row: span 2; }
.album-4 { grid-template-columns: 1fr 1fr; aspect-ratio: 1 / 1; }
.tile { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-ico { width: 44%; height: 44%; color: rgba(9, 15, 39, .42); }
.t1 { background: linear-gradient(155deg, #EADBC0, #C49E68); }
.t2 { background: linear-gradient(155deg, #DDD4C8, #A39581); }
.t3 { background: linear-gradient(155deg, #4A3427, #22170F); }
.t3 .tile-ico { color: rgba(238, 231, 220, .55); }
.t4 { background: linear-gradient(155deg, #F6F1E8, #DCD3C4); }
.post-before .tile-tag::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 1.5px), var(--removed) calc(50% - 1.5px), var(--removed) calc(50% + 1.5px), transparent calc(50% + 1.5px)),
    linear-gradient(to bottom right, transparent calc(50% - 1.5px), var(--removed) calc(50% - 1.5px), var(--removed) calc(50% + 1.5px), transparent calc(50% + 1.5px));
  opacity: .85;
}
.wm {
  position: absolute; right: 8px; bottom: 7px; font: 500 .62rem/1 var(--f-mono);
  color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); letter-spacing: .04em;
}
.post-text { padding: 12px 14px 4px; font-size: .86rem; line-height: 1.5; }
.post-foot { padding: 6px 14px 14px; }
.note { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .03em; }
.note-gold { color: var(--gold-hi); }
.note-strike { color: var(--removed); }

/* Боли */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); }
.pain-list li { border-top: 1px solid var(--line); padding-block: 22px 26px; display: grid; gap: 8px; }
.pain-list p { color: var(--ink-soft); max-width: 46ch; }
.outro { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--f-display); max-width: 32ch; }
@media (max-width: 700px) { .pain-list { grid-template-columns: minmax(0, 1fr); } }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { display: grid; gap: 10px; align-content: start; border-top: 1.5px dashed var(--gold); padding-top: 22px; }
.step-n { font: 400 2.6rem/1 var(--f-display); color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* До и после */
.demo-head { display: grid; gap: 20px; }
.demo-head .eyebrow { margin-bottom: 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; max-width: 900px; }
.demo-arrow { align-self: center; }
.demo-col { margin: 0; display: grid; gap: 12px; min-width: 0; }
.demo-col figcaption { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft); }
.demo-arrow svg { width: 48px; height: 16px; color: var(--gold); display: block; }
@media (max-width: 760px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
  .demo-arrow { justify-self: center; transform: rotate(90deg); }
}

/* Возможности — сетка с волосяными линиями */
.features {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.features li { background: var(--ivory); padding: 28px 26px 30px; display: grid; gap: 8px; align-content: start; }
.features p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Калькулятор */
.calc-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.calc-box { border: 1px solid var(--line-navy); padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; background: var(--navy-2); }
.calc-box label { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; color: var(--on-navy-soft); }
.calc-box output { font: 500 1rem/1 var(--f-mono); color: var(--on-navy); font-variant-numeric: tabular-nums; }
.calc-box input[type="range"] { width: 100%; accent-color: var(--gold); margin: 0 0 14px; }
.calc-result { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px dashed rgba(196, 162, 107, .5); padding-top: 20px; }
.calc-result b { font: 400 clamp(3rem, 7vw, 4.6rem)/1 var(--f-display); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.calc-result span { max-width: 22ch; color: var(--on-navy); }
.calc-note { color: var(--on-navy-soft); font-size: .95rem; }
@media (max-width: 860px) { .calc-in { grid-template-columns: minmax(0, 1fr); } }

/* Для кого */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.audience li { display: grid; gap: 10px; align-content: start; }
.audience li::before { content: ""; width: 36px; height: 2px; background: var(--gold); margin-bottom: 8px; }
.audience p { color: var(--ink-soft); }
@media (max-width: 900px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience { grid-template-columns: minmax(0, 1fr); } }

.wide { margin: 0; background: var(--navy); }
.wide img { width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; }

/* Автор */
.author-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--navy); overflow: hidden; max-width: 440px; width: 100%; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1.5px dashed rgba(196, 162, 107, .7); pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(6rem, 14vw, 9rem)/1 var(--f-display); color: var(--gold-hi); }
.author-copy { display: grid; gap: 16px; }
.author-copy .eyebrow { margin-bottom: 0; }
.role { font: 500 .8rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.bio { display: grid; gap: 14px; max-width: 60ch; color: var(--ink-soft); }
.stats { list-style: none; margin: 12px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stats li { display: grid; gap: 6px; align-content: start; }
.stats b { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stats span { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
@media (max-width: 860px) {
  .author-in { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 360px; }
}
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Цена — бирка */
.price-in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: clamp(32px, 6vw, 80px); }
.hangtag {
  position: relative; background: var(--ivory); color: var(--ink);
  padding: 64px clamp(24px, 4vw, 40px) 36px; display: grid; gap: 16px; justify-items: start;
  clip-path: polygon(16% 0, 84% 0, 100% 8%, 100% 100%, 0 100%, 0 8%);
}
.hangtag-hole { position: absolute; top: 22px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--gold); }
.plan { font: 500 .8rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.badge { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--navy); color: var(--gold-hi); padding: 7px 10px; }
.amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; border-bottom: 1.5px dashed var(--gold); padding-bottom: 18px; width: 100%; }
.amount b { font: 400 clamp(4rem, 9vw, 5.4rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.amount .cur { font: 400 2.2rem/1 var(--f-display); }
.amount .per { font: 500 .85rem/1 var(--f-mono); color: var(--ink-soft); margin-left: 8px; }
.included { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; width: 100%; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.ck { width: 18px; height: 18px; flex: none; color: var(--gold-deep); margin-top: 4px; }
.hangtag .btn { background: var(--navy); color: var(--on-navy); }
.hangtag .btn:hover { background: #1B2450; box-shadow: 0 14px 26px -16px rgba(9, 15, 39, .8); }
.hangtag .fine { color: var(--ink-soft); }
.price-copy { display: grid; gap: 20px; }
.price-copy .eyebrow { margin-bottom: 0; }
.price-copy .lead { color: var(--on-navy-soft); }
@media (max-width: 860px) { .price-in { grid-template-columns: minmax(0, 1fr); } }

/* Данные */
.security { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.security li { display: grid; gap: 10px; align-content: start; border-left: 1.5px dashed var(--gold); padding-left: 20px; }
.security p { color: var(--ink-soft); }
@media (max-width: 760px) { .security { grid-template-columns: minmax(0, 1fr); } }

/* Вопросы */
.faq-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; transition: transform .32s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--gold-deep); }
.plus::before { left: 0; right: 0; top: 7px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq details[open] .plus, .faq details.is-open .plus { transform: rotate(135deg); }
.faq.js-faq details[open]:not(.is-open) .plus { transform: none; }
.faq summary { transition: opacity .2s; }
.faq summary:hover { opacity: .7; }
.faq-a { color: var(--ink-soft); max-width: 62ch; }
.faq-a p { padding-bottom: 24px; }
/* Плавное раскрытие включает site.js (без JS работает обычный <details>) */
.faq.js-faq .faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .38s var(--ease), opacity .3s; }
.faq.js-faq details.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a-in { overflow: hidden; min-height: 0; }
@media (max-width: 860px) { .faq-in { grid-template-columns: minmax(0, 1fr); } }

/* Финал */
.final-in { justify-items: start; gap: 24px; }
.final h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 20ch; }

/* Подвал */
.foot { background: var(--navy-deep); color: var(--on-navy-soft); padding-block: 48px 28px; font-size: .92rem; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-brand { display: grid; gap: 10px; align-content: start; }
.foot-links, .foot-contacts { display: grid; gap: 10px; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-navy); }
.foot-label { font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.foot-geo { margin-top: 32px; font-size: .75rem; opacity: .6; }
@media (max-width: 700px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* Юридические страницы */
.legal { min-height: 60vh; }
.narrow { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-body { display: grid; gap: 16px; color: var(--ink-soft); }
.legal-body strong { color: var(--ink); }
.back { font: 500 .8rem/1 var(--f-mono); letter-spacing: .08em; text-decoration: none; color: var(--gold-deep); }

/* Карусель скриншотов бота */
.shots { overflow: hidden; }
.shots-head { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.shots-copy { display: grid; gap: 18px; max-width: 640px; }
.shots-copy .eyebrow { margin-bottom: 0; }
.round {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 0;
  transition: background .2s, color .2s, border-color .2s, opacity .2s, transform .25s var(--ease);
}
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.round:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); border-color: var(--line); }
.shots-nav { display: flex; gap: 10px; }
.shots-track {
  --side: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 23vw, 264px); gap: clamp(16px, 2.4vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 44px var(--side) 28px; scroll-padding-inline: var(--side); scrollbar-width: none;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track:focus-visible { outline-offset: -4px; }
.shot { margin: 0; scroll-snap-align: start; display: grid; gap: 16px; align-content: start; }
.shot-frame {
  display: block; width: 100%; aspect-ratio: 9 / 19; border-radius: 30px; padding: 7px; border: 0;
  background: var(--navy); box-shadow: 0 30px 50px -30px rgba(9, 15, 39, .6);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
button.shot-frame { cursor: zoom-in; }
.shot-frame:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -30px rgba(9, 15, 39, .7); }
.shot-screen { display: block; height: 100%; border-radius: 24px; overflow: hidden; background: #0D1430; }
.shot-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot figcaption { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; line-height: 1.35; }
.shot-n { font: 500 .75rem/1 var(--f-mono); color: var(--gold-deep); flex: none; }
.shots-dots { display: flex !important; justify-content: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.dot.on { width: 26px; background: var(--gold); }

/* Заглушка экрана бота */
.sk { height: 100%; display: flex; flex-direction: column; color: var(--on-navy); }
.sk-bar { display: flex; align-items: center; gap: 8px; padding: 22px 12px 10px; border-bottom: 1px solid var(--line-navy); }
.sk-av { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font: 400 .8rem/1 var(--f-display); }
.sk-name { font-size: .78rem; font-weight: 600; }
.sk-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; }
.sk-b { height: 26px; border-radius: 12px; background: #1B2550; display: block; }
.sk-out { align-self: flex-end; background: rgba(196, 162, 107, .35); }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.sk-qr {
  align-self: center; width: 62%; aspect-ratio: 1; border-radius: 10px; margin: 8px 0;
  background: #F3EEE6 repeating-conic-gradient(var(--navy) 0 25%, transparent 0 50%) 0 0 / 18% 18%;
  border: 8px solid #F3EEE6;
}
.sk-photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: linear-gradient(155deg, #EADBC0, #C49E68); }
.sk-photo svg { width: 46%; height: 46%; color: rgba(9, 15, 39, .42); }
.sk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px 16px; }
.sk-btns span { height: 30px; border-radius: 8px; background: #222C57; }

/* Увеличенный скриншот */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 520px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 10, 28, .88); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; gap: 14px; justify-items: center; animation: lb-in .35s var(--ease); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.lb-cap { color: var(--on-navy); text-align: center; font-size: .95rem; }
.lb-nav { display: flex; gap: 10px; }
.lightbox .round { color: var(--on-navy); border-color: rgba(238, 231, 220, .3); }
.lightbox .round:hover { background: var(--on-navy); color: var(--navy); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Кнопка, которая выезжает снизу после прокрутки */
.fab {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: min(420px, calc(100% - 32px)); transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .38s var(--ease), opacity .3s;
}
.fab.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fab .btn { width: 100%; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .75); }

/* Движение — как на сайте-образце:
   1) блоки первого экрана по очереди всплывают при загрузке;
   2) остальные проявляются при прокрутке (класс .rv ставит site.js, без JS всё видно сразу);
   3) соседние элементы появляются с задержкой 55 мс друг за другом. */
@media (prefers-reduced-motion: no-preference) {
  .top { animation: rise .8s ease both; }
  .hero-copy > * { animation: rise .9s ease both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(2) { animation-delay: .18s; }
  .hero-copy > :nth-child(3) { animation-delay: .28s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  .hero-copy > :nth-child(5) { animation-delay: .42s; }
  .phone { animation: phone-in 1.1s var(--ease) .32s both; }
  .rv { opacity: 0; transform: translateY(16px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
  .rv.is-visible { opacity: 1; transform: none; }
  .phone-screen .post { animation: post-in .9s var(--ease) .9s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(32px) rotate(5deg); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes post-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shots-track { scroll-behavior: auto; }
}
