/* ============================================================
   Baby Shark · офлайн-встреча в Астане
   Механика и раскладка — как у proeducation.school/rech,
   гамма — фирменная Baby Shark (жёлтый + морская глубина).
   ============================================================ */
@import url('/assets/fonts/fonts-local.css');

:root {
  --bg: #FFE38A;          /* насыщенный фирменный жёлтый фон */
  --bg-2: #FFD34D;
  --black: #0E1116;       /* «стикерный» чёрный для выделений */
  --card: #ffffff;
  --ink: #05303F;         /* морская глубина */
  --ink-2: #3F6675;
  --ink-3: #8AA3AE;
  --accent: #0FA8CB;      /* фирменный голубой */
  --accent-2: #57C7E0;
  --gold: #FFC619;        /* фирменный жёлтый */
  --grad: linear-gradient(135deg, #FFC619 0%, #FFB703 55%, #FF9E00 100%);
  --grad-deep: linear-gradient(160deg, #00374B 0%, #004A64 50%, #0FA8CB 100%);
  --wa: linear-gradient(180deg, #34d36f, #1fae57);
  --line: rgba(0, 74, 100, 0.13);
  --shadow: 0 10px 30px rgba(0, 55, 75, 0.13);
  --shadow-soft: 0 4px 16px rgba(0, 55, 75, 0.08);
  --r: 22px;
  --r-sm: 15px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(92% 40% at 88% -6%, rgba(255, 172, 0, 0.75) 0%, rgba(255, 172, 0, 0) 100%),
    radial-gradient(76% 32% at 0% 22%, rgba(255, 198, 25, 0.85) 0%, rgba(255, 198, 25, 0) 100%),
    radial-gradient(64% 26% at 100% 60%, rgba(15, 168, 203, 0.14) 0%, rgba(15, 168, 203, 0) 100%),
    var(--bg);
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: 640px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 400px) { .wrap { padding: 0 16px; } }

/* ---------- типографика ---------- */
.kicker { font-size: 12.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.kicker-light { color: #FFE79A; }
.h1 { font-size: clamp(38px, 10.5vw, 55px); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
.h2 { font-size: clamp(26px, 6.5vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; }
.h2-light { color: #fff; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 46ch; }
.sec-sub { color: var(--ink-2); margin: -8px 0 20px; }
.micro { font-size: 13.5px; color: var(--ink-2); text-align: center; margin-top: 10px; }
.nowrap { white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; font-family: var(--font); font-weight: 700; font-size: 16px;
  color: var(--gold); background: var(--black); border-radius: 999px; padding: 15px 28px;
  box-shadow: 0 10px 26px rgba(14, 17, 22, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-block { display: flex; width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31, 174, 87, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.75); color: var(--ink); border: 1px solid var(--line); font-weight: 600; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 14.5px; }
.wa-ico { flex: none; }

/* ---------- шапка ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 227, 138, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 7px; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.nav-date { font-size: 12px; font-weight: 700; color: var(--ink); background: var(--bg-2); border: 1px solid rgba(255, 183, 3, 0.45); border-radius: 999px; padding: 6px 13px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 30px 0 6px; }
.hero-visual { position: relative; margin: 24px 0 20px; }
.hero-photo {
  width: 100%; height: auto; border-radius: var(--r);
  box-shadow: 0 22px 50px rgba(0, 55, 75, 0.24);
}
.hero-shark {
  position: absolute; right: -12px; bottom: -20px; width: 27%; max-width: 132px; height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 55, 75, 0.3));
  pointer-events: none;
}
.hero-badge {
  position: absolute; left: -6px; bottom: 18px; z-index: 2;
  background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-badge b { display: block; font-size: 21px; line-height: 1.1; color: var(--ink); }
.hero-badge span { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.chip { font-size: 13px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; box-shadow: var(--shadow-soft); }
.chip-gold { background: var(--gold); border-color: rgba(212, 145, 0, 0.5); }

/* ---------- полоса цифр ---------- */
.stats-sec { padding: 12px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; text-align: center; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.st { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 8px; box-shadow: var(--shadow-soft); }
.st-n { display: block; font-size: clamp(23px, 6vw, 31px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.st span { font-size: 12.5px; color: var(--ink-2); }

/* ---------- секции ---------- */
.sec { padding: 44px 0; }
.sec-tint { background: linear-gradient(180deg, rgba(255, 172, 0, 0.55), rgba(255, 172, 0, 0.14)); }
.sec-img { display: block; width: 100%; height: auto; border-radius: var(--r); margin: 20px 0; box-shadow: var(--shadow); }

/* боли */
.pains { list-style: none; display: grid; gap: 10px; }
.pains li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; box-shadow: var(--shadow-soft); font-size: 15px;
}
.pi { flex: none; font-size: 23px; line-height: 1.25; }
.callout { margin-top: 22px; background: var(--grad-deep); border-radius: var(--r); padding: 26px 22px; color: #fff; text-align: center; box-shadow: var(--shadow); }
.callout-big { font-size: clamp(21px, 5.5vw, 26px); font-weight: 700; line-height: 1.25; }
.callout-sub { margin-top: 8px; color: #BFE9F4; font-size: 15px; }

/* карточки-преимущества */
.feats { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .feats { grid-template-columns: 1fr 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; box-shadow: var(--shadow-soft); }
.fi { font-size: 34px; display: block; margin-bottom: 10px; line-height: 1; }
.feat b { font-size: 16px; display: block; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--ink-2); }

/* программа */
.module { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-soft); margin-bottom: 14px; overflow: hidden; }
.module-head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; background: linear-gradient(135deg, rgba(255, 198, 25, 0.24), rgba(255, 183, 3, 0.1)); border-bottom: 1px solid var(--line); }
.module-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); background: var(--grad); border-radius: 999px; padding: 4px 10px; flex: none; }
.module-name { font-weight: 700; font-size: 16.5px; }
.points { list-style: none; padding: 6px 0; }
.points li { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 11px 18px; align-items: start; }
.points li + li { border-top: 1px solid rgba(0, 74, 100, 0.08); }
.points li::before { content: '→'; grid-row: span 2; color: var(--accent); font-weight: 700; line-height: 1.5; }
.points b { grid-column: 2; font-size: 15.5px; font-weight: 700; }
.points span { grid-column: 2; font-size: 13.5px; color: var(--ink-2); }

/* пакет участника */
.gifts { display: grid; gap: 12px; }
.gift { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 17px; box-shadow: var(--shadow-soft); position: relative; }
.gift-ico { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.gift b { font-size: 15.5px; display: block; }
.gift p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.gift-val { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--accent); background: rgba(15, 168, 203, 0.1); border-radius: 999px; padding: 3px 10px; }
.sum { margin-top: 16px; background: var(--card); border: 2px dashed rgba(255, 183, 3, 0.65); border-radius: var(--r); padding: 18px; text-align: center; }
.sum-old { font-size: 15px; color: var(--ink-2); }
.sum-old .sum-strike { color: var(--ink); text-decoration: line-through; text-decoration-color: #d64545; text-decoration-thickness: 2px; }
.sum-new { font-size: clamp(24px, 6vw, 30px); font-weight: 700; margin-top: 8px; }
.sum-price { display: inline-block; background: var(--black); color: var(--gold); border-radius: 12px; padding: 2px 14px; transform: rotate(-1.5deg); }

/* спикер */
.author { display: grid; gap: 20px; }
.author-photo { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top center; }
.author-role { color: var(--ink-2); font-weight: 600; margin: -10px 0 14px; }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: rgba(15, 168, 203, 0.14); color: var(--accent); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* цитата */
.quote { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-soft); }
.quote img { width: 100%; height: auto; }
.quote-body { padding: 20px 18px; }
.quote-body p { font-size: 16px; font-style: italic; color: var(--ink); }
.quote-body cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

/* дилеры */
.dealers { display: grid; gap: 12px; }
@media (min-width: 560px) { .dealers { grid-template-columns: repeat(3, 1fr); } }
.dealer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-soft); text-align: center; }
.dealer-ava { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 10px; background: var(--bg-2); border: 2px solid rgba(255, 183, 3, 0.5); display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.dealer-ava img { width: 100%; height: 100%; object-fit: cover; }
.dealer b { display: block; font-size: 15.5px; }
.dealer .city { font-size: 12.5px; color: var(--ink-3); }
.dealer .num { display: block; margin-top: 8px; font-size: 19px; font-weight: 700; color: var(--accent); }
.dealer .num small { font-size: 12px; font-weight: 600; color: var(--ink-2); display: block; }

/* когда и где */
.where { background: var(--grad-deep); border-radius: var(--r); padding: 26px 22px; color: #fff; box-shadow: var(--shadow); }
.where-grid { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 560px) { .where-grid { grid-template-columns: 1fr 1fr; } }
.where-item { border-left: 3px solid var(--gold); padding-left: 14px; }
.where-item span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #BFE9F4; font-weight: 700; }
.where-item b { font-size: 17px; font-weight: 700; }
.where-note { margin-top: 18px; font-size: 14px; color: #BFE9F4; background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 13px 15px; }

/* цена + форма */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px; box-shadow: var(--shadow); }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 4px 0 16px; }
.price-new { font-size: clamp(42px, 11vw, 56px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.price-new .cur { font-size: 0.5em; font-weight: 600; }
.price-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: var(--black); color: var(--gold); border-radius: 999px; padding: 5px 12px; }
.includes { list-style: none; display: grid; gap: 9px; margin: 6px 0 20px; }
.includes li { position: relative; padding-left: 28px; font-size: 15px; }
.includes li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: rgba(52, 211, 153, 0.2); color: #0ca678; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.form-note { font-size: 12px; color: var(--ink-2); text-align: center; }
.steps-buy { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.steps-buy li::marker { font-weight: 700; color: var(--accent); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-soft); margin-bottom: 10px; overflow: hidden; }
summary { list-style: none; cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; font-size: 15.5px; position: relative; -webkit-tap-highlight-color: transparent; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: rgba(15, 168, 203, 0.1); color: var(--accent); font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 18px 16px; font-size: 14.5px; color: var(--ink-2); }

/* футер */
.foot { padding: 36px 0 26px; text-align: center; }
.foot .logo { justify-content: center; }
.foot-sub { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.foot-links { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--accent); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.foot-links a { border-bottom: 1px solid rgba(15, 168, 203, 0.3); }
.foot-copy { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* sticky-бар */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0, 55, 75, 0.1);
  transition: transform 0.25s ease;
}
.bar.hide { transform: translateY(115%); }
.bar-price { display: flex; flex-direction: column; line-height: 1.15; flex: none; }
.bar-new { font-size: 19px; font-weight: 700; }
.bar-old { font-size: 12px; color: var(--ink-3); }
.bar-btn { flex: 1; padding: 13px 16px; font-size: 15.5px; }

@media (min-width: 700px) {
  .bar { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; border-radius: 999px; width: 560px; border: 1px solid var(--line); padding: 10px 12px 10px 22px; }
  .bar.hide { transform: translateX(-50%) translateY(150%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .btn, summary::after { transition: none; }
}


/* ============================================================
   ВЫДЕЛЕНИЕ КЛЮЧЕВЫХ СЛОВ
   ============================================================ */
/* жёлтый маркер, который «прочерчивается» при появлении */
.mark {
  color: var(--black);
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% 88%;
  padding: 0 0.09em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  transition: background-size 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s;
}
.js-anim .mark { background-size: 0% 88%; }
.js-anim .mark.on { background-size: 100% 88%; }
.mark-gold { background-image: linear-gradient(var(--gold), var(--gold)); }

/* чёрная плашка с жёлтым текстом — «стикер» */
.mark-dark {
  color: var(--gold);
  background: var(--black);
  padding: 0.02em 0.16em;
  border-radius: 0.12em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  display: inline-block;
  transform: rotate(-1.5deg);
}
/* белое выделение на жёлтом/тёмном */
.mark-white { color: #fff; background: rgba(255, 255, 255, 0.16); padding: 0 0.14em; border-radius: 0.12em; }

/* ============================================================
   БЕГУЩАЯ СТРОКА
   ============================================================ */
.ticker {
  overflow: hidden; background: var(--black); color: var(--gold);
  border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
  padding: 11px 0; margin: 26px 0 0;
  transform: rotate(-1.2deg) scale(1.03);
}
.ticker-in { display: flex; width: max-content; animation: slide 26s linear infinite; }
.ticker span {
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0 18px; white-space: nowrap;
}
.ticker span i { font-style: normal; color: #fff; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-in { animation-play-state: paused; }

/* ============================================================
   СТИКЕРЫ
   ============================================================ */
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.sticker {
  position: absolute; background: #fff; color: var(--black);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.01em;
  padding: 8px 13px; border-radius: 999px;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
  white-space: nowrap;
}
.sticker-gold { background: var(--gold); }
.sticker-1 { top: 6%; left: -8px; transform: rotate(-7deg); animation: float1 5.5s ease-in-out infinite; }
.sticker-2 { top: 34%; right: -6px; transform: rotate(6deg); animation: float2 6.5s ease-in-out infinite; }
.sticker-3 { top: 63%; right: 4%; transform: rotate(4deg); animation: float1 7s ease-in-out infinite 0.8s; }
@keyframes float1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes float2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* акулёнок покачивается */
.hero-shark { animation: bob 4.5s ease-in-out infinite; transform-origin: bottom center; }

/* живой акулёнок (Kling) — круглая «наклейка» в стикерном языке страницы */
.hero-shark-live {
  position: absolute; right: -8px; bottom: -22px;
  width: 31%; max-width: 148px; height: auto; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black);
  background: #FFE9A8;
  animation: float2 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -9px; rotate: 4deg; } }

/* ============================================================
   ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
   ============================================================ */
.js-anim .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1); }
.js-anim .rv.on { opacity: 1; transform: none; }
.js-anim .rv-1 { transition-delay: 0.06s; } .rv-2 { transition-delay: 0.12s; }
.rv-3 { transition-delay: 0.18s; } .rv-4 { transition-delay: 0.24s; }

/* ============================================================
   ЖИВЫЕ МЕЛОЧИ
   ============================================================ */
/* блик по кнопке */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255, 198, 25, 0.28), transparent);
  transform: skewX(-18deg); left: -80%; animation: gloss 3.6s ease-in-out infinite;
}
.btn-ghost::after { display: none; }
@keyframes gloss { 0% { left: -80%; } 55%, 100% { left: 160%; } }

/* карточки приподнимаются */
.feat, .gift, .dealer, .st, .pains li { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.feat:hover, .gift:hover, .dealer:hover, .st:hover, .pains li:hover {
  transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 55, 75, 0.16);
}
.module { transition: transform 0.22s ease; }
.module:hover { transform: translateY(-3px); }

/* пульс у плашки дохода */
.hero-badge { animation: pop 0.7s cubic-bezier(0.2, 1.4, 0.4, 1) both 0.5s; }
@keyframes pop { from { opacity: 0; transform: scale(0.7) rotate(-6deg); } to { opacity: 1; transform: none; } }

/* конфетти после отправки формы */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

/* стрелка «листай ниже» */
.scroll-hint { display: block; text-align: center; font-size: 22px; margin-top: 14px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 7px; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-in, .hero-shark, .hero-shark-live, .sticker, .btn::after, .hero-badge, .scroll-hint { animation: none !important; }
  .js-anim .rv { opacity: 1; transform: none; transition: none; }
  .js-anim .mark { background-size: 100% 88%; transition: none; }
}


/* ============================================================
   БЫЛО → СТАЛО (история спикера)
   ============================================================ */
.story { display: grid; gap: 10px; align-items: stretch; margin-bottom: 22px; }
@media (min-width: 560px) { .story { grid-template-columns: 1fr auto 1fr; gap: 14px; } }
.story-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--shadow-soft); text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.story-lbl {
  display: inline-block; align-self: center; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; border-radius: 999px;
  padding: 4px 12px; margin-bottom: 10px;
  background: rgba(0, 74, 100, 0.08); color: var(--ink-2);
}
.story-role { font-size: 15.5px; font-weight: 700; display: block; }
.story-num { display: block; margin-top: 8px; font-size: clamp(24px, 6.5vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.story-note { font-size: 12.5px; color: var(--ink-2); }

.story-was { opacity: 0.88; }
.story-was .story-num { color: var(--ink-2); }
.story-now { border: 2px solid var(--black); box-shadow: 5px 5px 0 var(--black); }
.story-now .story-lbl { background: var(--black); color: var(--gold); }
.story-now .story-num { color: var(--ink); }

.story-arrow {
  align-self: center; justify-self: center;
  font-size: 26px; font-weight: 800; color: var(--black);
  background: var(--gold); border: 2px solid var(--black); border-radius: 999px;
  width: 46px; height: 46px; display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--black);
  transform: rotate(90deg);
  animation: arrowPulse 2.4s ease-in-out infinite;
}
@media (min-width: 560px) { .story-arrow { transform: none; } }
@keyframes arrowPulse { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

/* «стало» въезжает чуть позже — эффект превращения */
.js-anim .story-now { opacity: 0; transform: translateY(14px) scale(0.94); transition: opacity 0.55s ease 0.35s, transform 0.55s cubic-bezier(0.2, 1.3, 0.4, 1) 0.35s; }
.js-anim .story.on .story-now { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .story-arrow { animation: none; }
  .js-anim .story-now { opacity: 1; transform: none; transition: none; }
  .sticker-sale, .peek-shark, .where::before, .where::after, .pricelist .bub,
  .rv.on .fi, .rv.on .gift-ico, .rv.on .pi,
  .js-anim .price-card.on .price-new, .form.shake, details[open] p { animation: none; }
  .js-anim .pains li, .js-anim .callout { opacity: 1; transform: none; transition: none; }
  .sum-strike::after { width: 100%; transition: none; }
}


/* ============================================================
   ЗАКРЫТЫЙ ПРАЙС
   ============================================================ */
.pricelist {
  margin-top: 16px; background: var(--grad-deep); color: #fff;
  border-radius: var(--r); padding: 24px 22px 22px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.pricelist::before {
  content: ''; position: absolute; right: -70px; top: -70px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 25, 0.32), transparent 68%);
  pointer-events: none;
}
.pricelist-lbl {
  display: inline-block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--gold); color: var(--black);
  border-radius: 999px; padding: 5px 13px; margin-bottom: 12px;
}
.pricelist-h { font-size: clamp(22px, 5.6vw, 28px); font-weight: 700; line-height: 1.18; }
.pricelist-h .mark { color: var(--black); }
.pricelist-sub { margin-top: 10px; font-size: 14.5px; color: #BFE9F4; }
.pricelist-items { list-style: none; display: grid; gap: 10px; margin: 18px 0 14px; }
.pricelist-items li { position: relative; padding-left: 28px; font-size: 14.5px; }
.pricelist-items li::before {
  content: '🔒'; position: absolute; left: 0; top: 0; font-size: 14px;
}
.pricelist-items b { color: var(--gold); font-weight: 700; }
.pricelist-note {
  font-size: 13px; color: #BFE9F4;
  background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 11px 14px;
}


/* гарантия и розыгрыш */
.guarantee {
  margin: 2px 0 18px; font-size: 14px; color: var(--ink-2);
  background: rgba(15, 168, 203, 0.09); border: 1px solid rgba(15, 168, 203, 0.25);
  border-radius: 14px; padding: 12px 15px;
}
.guarantee b { color: var(--ink); }
.raffle {
  margin: 16px 0 2px; font-size: 14px; color: var(--ink);
  background: var(--bg-2); border: 2px dashed rgba(212, 145, 0, 0.55);
  border-radius: 14px; padding: 12px 15px;
}


/* ============================================================
   ВОЛНИСТЫЕ РАЗДЕЛИТЕЛИ (морская тема)
   ============================================================ */
.wave {
  height: 26px; margin-bottom: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 26'%3E%3Cpath d='M0 14Q30 0 60 14T120 14V26H0Z' fill='%23FFC53E'/%3E%3C/svg%3E") repeat-x;
  background-size: 120px 26px;
}

/* ============================================================
   СТИКЕРЫ-ПЕЧАТИ НА ЗАГОЛОВКАХ И ЦЕНЕ
   ============================================================ */
.sticker-h {
  position: static; display: inline-block; margin-left: 8px; vertical-align: middle;
  transform: rotate(4deg); animation: none; font-size: 11.5px;
}
.price-card { position: relative; }
.sticker-sale {
  position: absolute; top: -14px; right: 16px; transform: rotate(6deg);
  animation: float2 5.5s ease-in-out infinite;
}

/* лёгкий наклон карточек — «раскиданные стикеры» */
.gift:nth-child(odd), .st:nth-child(odd) { rotate: -0.7deg; }
.gift:nth-child(even), .st:nth-child(even) { rotate: 0.7deg; }
.gift:hover, .st:hover { rotate: 0deg; }

/* акулёнок выныривает из тёмного блока */
.callout { position: relative; }
.peek-shark {
  position: absolute; top: -30px; right: 16px; width: 60px; height: auto;
  animation: bob 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 55, 75, 0.3));
  pointer-events: none;
}

/* ============================================================
   ДРАМАТУРГИЯ ЦЕНЫ
   ============================================================ */
.sum-old .sum-strike { text-decoration: none; position: relative; white-space: nowrap; }
.sum-strike::after {
  content: ''; position: absolute; left: 0; top: 52%; height: 3px; width: 0;
  background: #d64545; rotate: -4deg; transition: width 0.5s ease 0.4s;
}
.sum.on .sum-strike::after { width: 100%; }
.sum-save { margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.js-anim .price-card.on .price-new { animation: pop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1); }

/* второй тикер — встречный ход */
.ticker-rev { transform: rotate(1.2deg) scale(1.03); margin: 0 0 26px; }
.ticker-rev .ticker-in { animation-direction: reverse; }

/* ============================================================
   РАЗНООБРАЗИЕ ПОЯВЛЕНИЙ
   ============================================================ */
.js-anim .pains li { opacity: 0; transform: translateX(-20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-anim .pains li:nth-child(even) { transform: translateX(20px); }
.js-anim .pains li:nth-child(2) { transition-delay: 0.07s; }
.js-anim .pains li:nth-child(3) { transition-delay: 0.14s; }
.js-anim .pains li:nth-child(4) { transition-delay: 0.21s; }
.js-anim .pains li:nth-child(5) { transition-delay: 0.28s; }
.js-anim .pains.on li { opacity: 1; transform: none; }
.js-anim .callout { transform: translateY(18px) scale(0.94); }
.js-anim .callout.on { transform: none; }

/* эмодзи «здороваются» при появлении */
@keyframes wiggle { 30% { rotate: -12deg; } 60% { rotate: 9deg; } }
.rv.on .fi, .rv.on .gift-ico, .rv.on .pi { animation: wiggle 0.5s ease 0.25s both; }

/* ============================================================
   ФОРМА: ошибка и отправка
   ============================================================ */
@keyframes shake { 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.form.shake { animation: shake 0.3s ease; }
@keyframes spin { to { rotate: 360deg; } }
.btn.busy::before {
  content: ''; width: 15px; height: 15px; flex: none;
  border: 2px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}

/* ============================================================
   ПУЗЫРЬКИ В ТЁМНЫХ БЛОКАХ
   ============================================================ */
.where { overflow: hidden; }
.where::before, .where::after,
.pricelist .bub, .where .bub {
  content: ''; position: absolute; bottom: -18px; left: 18%;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: rise 8s linear infinite; pointer-events: none;
}
.where::after { left: 74%; width: 8px; height: 8px; animation-delay: 3.5s; animation-duration: 10s; }
.pricelist .bub { left: 55%; width: 10px; height: 10px; animation-delay: 1.6s; animation-duration: 9s; }
@keyframes rise { to { transform: translateY(-360px); opacity: 0; } }

/* ============================================================
   FAQ И ФОКУС
   ============================================================ */
summary { transition: background 0.2s ease; }
summary:hover { background: rgba(255, 198, 25, 0.14); }
@keyframes fadeUp { from { opacity: 0; translate: 0 -6px; } }
details[open] p { animation: fadeUp 0.28s ease both; }
:where(a, button, summary, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ============================================================
   ПРОГРЕСС ПРОКРУТКИ
   ============================================================ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform-origin: 0 0; transform: scaleX(0); z-index: 70;
}


/* ---------- номер WhatsApp в шапке и футере ---------- */
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-wa {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 4px 12px rgba(31, 174, 87, 0.35);
}
.nav-wa:active { transform: scale(0.94); }
.foot-phone { margin-top: 12px; font-size: 15px; }
.foot-phone a { color: var(--ink); }
.foot-phone b { font-weight: 800; border-bottom: 2px solid var(--gold); }
@media (max-width: 380px) { .nav-date { font-size: 11px; padding: 5px 10px; } }

/* большая кнопка «в WhatsApp» в блоке цены */
.btn-lg { padding: 18px 26px; font-size: 17.5px; }

/* ===== Таймер цены: у каждого посетителя свой отсчёт (старт — первый визит) ===== */
.offer-timer{
  display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
  margin:12px auto 0; padding:10px 16px; max-width:520px;
  border:1px solid rgba(255,214,0,.45); border-radius:14px;
  background:rgba(255,214,0,.08); font-size:14px; line-height:1.3;
}
.offer-timer-txt b{ white-space:nowrap }
.offer-timer-clock{
  font-variant-numeric:tabular-nums; font-weight:800; font-size:20px; letter-spacing:.5px;
  padding:2px 10px; border-radius:9px; background:rgba(255,214,0,.9); color:#1a1a1a;
}
.offer-timer-after{ opacity:.75 }
.offer-timer.is-over{ border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.06) }
.offer-timer.is-over .offer-timer-clock{ background:rgba(255,255,255,.18); color:inherit; font-size:14px }
@media (max-width:520px){
  .offer-timer{ gap:8px; padding:9px 12px; font-size:13px }
  .offer-timer-clock{ font-size:18px }
}

/* Кто ведёт — прямо на первом экране (10.09): раньше имя спикера появлялось только на 10-м экране из 17 */
.lead-who { margin-top: 10px; font-size: 15px; }
.lead-who b { font-weight: 700; }
