/* =========================================================
   Project Hub — лендинг
   ========================================================= */
:root {
  --bg: #fbfaff;
  --bg-soft: #f4f0ff;
  --surface: #ffffff;
  --ink: #1c1730;
  --ink-2: #4d4766;
  --ink-3: #8a84a3;
  --line: #e9e4f7;
  --brand: #6d4aff;
  --brand-2: #9b7bff;
  --brand-soft: #ece5ff;
  --dark: #241d38;
  --kaspi: #f14635;
  --gold: #e8b23a;
  --ok: #19b36b;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(36, 29, 56, .04), 0 12px 40px -12px rgba(36, 29, 56, .14);
  --shadow-lg: 0 30px 80px -24px rgba(60, 35, 160, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(109, 74, 255, .7);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(109, 74, 255, .8); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.btn--light { background: #fff; color: var(--dark); height: 60px; padding: 0 32px; font-size: 17px; }

/* ---------- Навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(251, 250, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__burger { display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logo b { color: var(--brand); font-weight: 800; }
.logo__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 140px 0 0; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 75% 35%, rgba(155, 123, 255, .35), transparent 70%),
    radial-gradient(35% 45% at 15% 20%, rgba(255, 190, 220, .35), transparent 70%);
  filter: blur(10px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(25, 179, 107, .18); }
.hero__title { margin-top: 22px; font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; }
.grad {
  background: linear-gradient(100deg, var(--brand) 10%, #c06bff 60%, #ff6ba8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 22px; max-width: 540px; font-size: 19px; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; gap: 36px; margin: 44px 0 0; padding: 0; list-style: none; }
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust b { font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.hero__trust span { font-size: 14px; color: var(--ink-3); font-weight: 500; }

.hero__visual { position: relative; }
.browser {
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #e4def3; }
.browser__bar i:nth-child(1) { background: #ff8a80; }
.browser__bar i:nth-child(2) { background: #ffd36e; }
.browser__bar i:nth-child(3) { background: #7be0a6; }
.browser__url {
  margin-left: 14px; padding: 4px 14px; border-radius: 8px;
  background: var(--bg-soft); font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.browser__screen { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.browser__screen img, .browser__screen video { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.3;
}
.float-card b { display: block; font-weight: 700; }
.float-card small { color: var(--ink-3); font-size: 13px; }
.float-card--a { left: -28px; bottom: 44px; }
.float-card--b { right: -18px; top: 70px; }
.check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(25, 179, 107, .14); color: var(--ok); font-weight: 800; }
.kaspi-dot { width: 34px; height: 34px; border-radius: 10px; background: var(--kaspi); position: relative; }
.kaspi-dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 3px solid #fff; }

/* Бегущая строка */
.marquee {
  position: relative; margin-top: 90px; padding: 22px 0;
  border-block: 1px solid var(--line); background: var(--surface); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee__track span { font-weight: 700; font-size: 18px; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; color: var(--brand-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: 120px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.section__sub { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); }

/* Что входит */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 22px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature p { color: var(--ink-2); font-size: 15.5px; }
.feature--accent { background: var(--dark); border-color: var(--dark); color: #fff; }
.feature--accent p { color: #bdb5d8; }
.feature--accent .feature__icon { background: rgba(155, 123, 255, .2); color: #c9b8ff; }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); }
.step__num { display: block; font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 40px; }
.step h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; right: -14px; width: 8px; height: 8px;
  border-top: 2px solid var(--brand-2); border-right: 2px solid var(--brand-2);
  transform: rotate(45deg); z-index: 1;
}

/* Видео */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video { margin: 0; }
.video--wide { grid-column: 1 / -1; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--dark); border: 1px solid var(--line); cursor: pointer;
}
.video--wide .video__frame { aspect-ratio: 21 / 9; }
.video__frame img, .video__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.video__frame:hover img { transform: scale(1.03); }
.video__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 23, 48, .45));
}
.video.is-playing .video__frame::after { display: none; }
.video__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--brand); box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  transition: transform .4s var(--ease);
}
.video__frame:hover .video__play { transform: scale(1.08); }
.video__play svg { width: 28px; height: 28px; margin-left: 4px; }
.video__soon {
  position: absolute; z-index: 2; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.video figcaption { display: flex; flex-direction: column; padding: 16px 4px 0; }
.video figcaption b { font-size: 18px; }
.video figcaption span { color: var(--ink-3); font-size: 15px; }

/* Каталог */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.card h3 { margin: 14px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.card__meta span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 8px; background: var(--bg-soft); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.price b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price s { font-size: 14px; color: var(--ink-3); }
.price small { display: block; font-size: 13px; color: var(--kaspi); font-weight: 700; white-space: nowrap; }

/* Оплата */
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pay__card {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pay__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pay__card--hl { border: 2px solid var(--kaspi); box-shadow: 0 24px 60px -24px rgba(241, 70, 53, .35); }
.pay__tag {
  position: absolute; top: -14px; left: 30px; padding: 5px 12px; border-radius: 999px;
  background: var(--kaspi); color: #fff; font-size: 13px; font-weight: 700;
}
.pay__badge { display: inline-flex; padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 15px; color: #fff; }
.pay__badge--gold { background: linear-gradient(135deg, #f0c45a, #d79a22); }
.pay__badge--red { background: var(--kaspi); }
.pay__badge--credit { background: var(--dark); }
.pay__card h3 { margin: 24px 0 10px; font-size: 26px; font-weight: 800; }
.pay__card p { color: var(--ink-2); font-size: 15.5px; }
.pay__card ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.pay__card li { display: flex; align-items: center; gap: 10px; }
.pay__card li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(25, 179, 107, .14); color: var(--ok); font-size: 12px; font-weight: 800; }
.pay__note { margin-top: 26px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-weight: 700; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat;
  border-radius: 50%; background-color: var(--brand-soft);
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { overflow: hidden; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 90px 24px; border-radius: 32px; background: var(--dark); color: #fff;
}
.cta__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 70% at 20% 0%, rgba(155, 123, 255, .55), transparent 70%),
    radial-gradient(40% 70% at 85% 100%, rgba(255, 107, 168, .35), transparent 70%);
}
.cta > * { position: relative; }
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.cta p { margin: 16px auto 34px; max-width: 520px; color: #c9c1e6; font-size: 18px; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--ink-3); font-size: 14px; }
.footer a:last-child { font-weight: 600; color: var(--brand); }

/* Начальное состояние для анимаций (только когда JS готов) */
.js .reveal, .js .reveal-scale { opacity: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 640px; }
  .pay { grid-template-columns: 1fr; max-width: 520px; }
  .nav__links {
    position: fixed; inset: 64px 16px auto; flex-direction: column; gap: 4px;
    padding: 12px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s, transform .35s var(--ease);
  }
  .nav__links a { padding: 12px 14px; border-radius: 10px; }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav .btn--sm { margin-left: auto; }
  .nav__burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  }
  .nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
/* Элементы, которые есть только на телефоне */
.mbar, .swipe-hint, .swipe-dots, .nav__menu-cta { display: none; }

/* =========================================================
   Телефон
   ========================================================= */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 28px; }
  .section__head h2 { font-size: 30px; }
  .section__sub { font-size: 16px; margin-top: 10px; }
  .eyebrow { font-size: 12.5px; }
  .btn { height: 52px; }

  /* Шапка */
  .nav, .nav.is-scrolled { padding: 10px 0; padding-top: max(10px, env(safe-area-inset-top)); }
  .nav .btn--sm { display: none; }
  .nav__burger { margin-left: auto; }
  .nav__links { inset: calc(64px + env(safe-area-inset-top)) 12px auto; }
  .nav__links a { padding: 14px 16px; font-size: 17px; }
  .nav__menu-cta { display: inline-flex; margin-top: 8px; color: #fff !important; }

  /* Hero */
  .hero { padding-top: calc(96px + env(safe-area-inset-top)); }
  .hero__title { margin-top: 18px; font-size: clamp(34px, 10.4vw, 44px); }
  .hero__lead { margin-top: 16px; font-size: 16.5px; }
  .hero__cta { margin-top: 26px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px;
  }
  .hero__trust li { padding: 12px 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
  .hero__trust b { font-size: 22px; }
  .hero__trust span { font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
  .hero__inner { gap: 44px; }
  .hero__visual { margin-inline: 4px; }
  .float-card { padding: 9px 12px; gap: 10px; font-size: 13px; border-radius: 14px; }
  .float-card small { font-size: 12px; }
  .check, .kaspi-dot { width: 28px; height: 28px; border-radius: 8px; }
  .kaspi-dot::after { inset: 8px; border-width: 2.5px; }
  .float-card--a { left: -4px; bottom: -20px; }
  .float-card--b { right: -4px; top: -20px; }
  .marquee { margin-top: 56px; padding: 16px 0; }
  .marquee__track, .marquee__track span { gap: 36px; }
  .marquee__track span { font-size: 16px; }

  /* Что входит — компактные строки */
  .features { grid-template-columns: 1fr; gap: 10px; }
  .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; border-radius: 18px; }
  .feature__icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .feature__icon svg { width: 24px; height: 24px; }
  .feature h3 { font-size: 17px; margin: 2px 0 4px; }
  .feature p { font-size: 14.5px; line-height: 1.5; }
  .feature:hover { transform: none; }

  /* Шаги — вертикальная линия */
  .steps { grid-template-columns: 1fr; gap: 0; position: relative; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0 0 26px; background: none; border-radius: 0; }
  .step:last-child { padding-bottom: 0; }
  .step::after { display: none; }
  .step:not(:last-child)::before {
    content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: #dcd2fb;
  }
  .step__num {
    grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0;
    border-radius: 50%; background: var(--brand); color: #fff; font-size: 14px;
  }
  .step h3 { font-size: 18px; margin: 2px 0 4px; }
  .step p { font-size: 15px; }

  /* Свайп-карусели: видео и каталог */
  .swipe-hint {
    display: flex; align-items: center; gap: 6px; margin: -14px 0 14px;
    font-size: 14px; font-weight: 600; color: var(--ink-3);
  }
  .swipe-hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
  @keyframes nudge { 50% { transform: translateX(5px); } }
  .js-swipe {
    display: flex; gap: 12px; grid-template-columns: none;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 4px 16px 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .js-swipe::-webkit-scrollbar { display: none; }
  .js-swipe > * { flex: 0 0 86%; scroll-snap-align: start; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .swipe-dots i {
    width: 7px; height: 7px; border-radius: 99px; background: #d6ccf5; cursor: pointer;
    transition: width .35s var(--ease), background .3s;
  }
  .swipe-dots i.on { width: 22px; background: var(--brand); }

  .video--wide .video__frame, .video__frame { aspect-ratio: 16 / 10; border-radius: 18px; }
  .video__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .video figcaption { padding-top: 12px; }
  .video figcaption b { font-size: 16px; }
  .video figcaption span { font-size: 14px; }

  .section__head--row { gap: 14px; }
  .section__head--row .btn { display: none; }
  .card { border-radius: 18px; }
  .card:hover { transform: none; box-shadow: none; }
  .card__img { aspect-ratio: 16 / 10; }
  .card__body { padding: 16px 16px 18px; }
  .card h3 { font-size: 17px; margin: 10px 0 6px; }
  .card p { font-size: 14.5px; line-height: 1.5; }
  .card__meta { margin: 12px 0 14px; }
  .card__foot { padding-top: 14px; }
  .card__foot .btn--sm { height: 46px; padding: 0 22px; }
  .price b { font-size: 21px; }

  /* Оплата — Kaspi Red первым */
  .pay { gap: 12px; }
  .pay__card--hl { order: -1; margin-top: 12px; }
  .pay__card { padding: 24px 20px; border-radius: 18px; }
  .pay__card:hover { transform: none; }
  .pay__card h3 { margin: 16px 0 8px; font-size: 22px; }
  .pay__card p { font-size: 15px; }
  .pay__card ul { margin-top: 16px; }
  .pay__tag { left: 20px; }
  .pay__note { margin-top: 18px; font-size: 13px; }

  /* FAQ */
  .faq { gap: 8px; }
  .faq summary { padding: 18px 56px 18px 18px; font-size: 16px; line-height: 1.4; }
  .faq summary::after { right: 16px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }

  .cta { padding: 56px 20px; border-radius: 24px; }
  .cta h2 { font-size: 30px; }
  .cta p { font-size: 16px; margin: 12px auto 26px; }
  .cta .btn--light { width: 100%; height: 56px; }

  .footer { padding: 28px 0 calc(110px + env(safe-area-inset-bottom)); }
  .footer__inner { flex-direction: column; text-align: center; gap: 12px; }

  /* Нижняя панель покупки */
  .mbar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; z-index: 40; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 10px 10px 10px 18px; border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--line); box-shadow: 0 16px 40px -12px rgba(36, 29, 56, .3);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar__price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .mbar__price small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
  .mbar__price b { font-size: 16px; font-weight: 800; white-space: nowrap; }
  .mbar .btn { margin-left: auto; height: 48px; padding: 0 18px; font-size: 15px; }
}

@media (max-width: 359px) {
  .hero__trust span { font-size: 11.5px; }
  .mbar__price small { display: none; }
  .mbar .btn svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-scale { opacity: 1; }
}
