/* Прокладка «Реклама в Instagram: первые 7 дней за 39 900 ₸» (29.11.2026).
   Бело-синяя палитра сайтов владельца (как stomatologiya v13 и aiads): синий градиент на первом и последнем экране,
   тёмно-синие жирные заголовки, текст не светлее #34446a, без чёрного; кнопки на синем белые, на белом зелёная #15803d. */
@font-face { font-family: 'Onest'; src: url('/fonts/onest-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('/fonts/onest-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b1a3a; --gray: #34446a; --fog: #f1f5ff; --line: #d3def3; --blue: #1f5bff; --deep: #0c2470;
  --navy: linear-gradient(165deg, #2a66ff 0%, #1745d6 48%, #0c2470 100%);
  --green: #15803d; --wa: #25d366; --red: #e5322d;
  --pad: 20px; --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #0c2470; }
body { margin: 0; background: #fff; color: var(--ink); font: 500 17px/1.45 'Onest', -apple-system, system-ui, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ffd43b; outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 var(--pad); text-align: center; }
h2 { font-size: clamp(27px, 7.4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }

/* ---------- Кнопки ---------- */
.btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 60px;
  border-radius: 16px; font: 750 19px/1 'Onest', sans-serif; letter-spacing: -.015em; text-decoration: none;
  transition: transform .16s ease-out, background-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn span { position: relative; z-index: 1; }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(6, 20, 70, .35); }
.btn.light svg { color: var(--green); }
.btn.green { background: var(--green); color: #fff; }
/* Блеск: один проход после загрузки (класс .go ставит app.js) */
.btn::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; transform: translateX(-170%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(31, 91, 255, .16), transparent); pointer-events: none; }
.btn.green::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
.btn.go::after { animation: shine 1.6s ease-in-out .5s 1; }
@keyframes shine { to { transform: translateX(300%) skewX(-20deg); } }

/* ---------- Первый экран ---------- */
.hero { background: var(--navy); color: #fff; padding: calc(28px + env(safe-area-inset-top)) 0 30px; }
.hero h1 { font-size: clamp(28px, 8.6vw, 46px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.me { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; line-height: 1.32; color: #e3ecff; text-align: left; }
.me img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); object-fit: cover; flex: none; }
.price { margin: 18px 0 0; padding: 16px 18px 18px; background: #fff; color: var(--ink); border-radius: 24px; }
.price span { display: block; font-size: 17px; font-weight: 700; color: var(--gray); }
.price b { display: block; margin-top: 2px; font-size: clamp(48px, 15.5vw, 74px); line-height: 1; font-weight: 850; letter-spacing: -.045em; color: var(--blue);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Сколько мест осталось по этой цене (слово владельца 29.11); цифру менять в index.html, когда место занято. Простая строка, без плашки (владелец 30.11) */
.left { margin-top: 8px; font-size: 17px; line-height: 1.25; font-weight: 750; color: #b3261e; }
@media (max-width: 359px) { .hero { padding-top: calc(20px + env(safe-area-inset-top)); } .me { gap: 10px; font-size: 13.5px; } .me img { width: 48px; height: 48px; }
  .price { padding-left: 12px; padding-right: 12px; } .left { font-size: 15.5px; } }
.hero .lead { margin: 16px auto 20px; max-width: 24em; font-size: 18px; line-height: 1.38; color: #fff; text-wrap: balance; }
@media (max-width: 359px) { .hero .lead { margin: 12px auto 14px; font-size: 15.5px; } }

/* ---------- Что входит ---------- */
.get { padding: 42px 0 40px; }
.get ul { margin-top: 22px; display: grid; gap: 10px; text-align: left; }
.get li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px 15px; border: 1.5px solid var(--line); border-radius: 18px; }
.get li b { display: block; font-size: 18px; line-height: 1.25; font-weight: 750; text-wrap: balance; }
.get li span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.38; font-weight: 500; color: var(--gray); text-wrap: pretty; }
.get i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--fog); color: var(--blue); }
.get svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 359px) { .get li { gap: 12px; padding: 13px 14px 14px; } .get i { width: 40px; height: 40px; border-radius: 12px; } .get svg { width: 23px; height: 23px; } }

/* ---------- Примеры клиентов ---------- */
.case { background: var(--fog); padding: 42px 0 44px; }
.ex { margin-top: 12px; padding: 18px 12px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; }
.case h2 + .ex { margin-top: 22px; }
.ex h3 { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.nums { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nums div { display: flex; flex-direction: column; justify-content: space-between; padding: 12px 4px 14px; background: var(--fog); border-radius: 16px; }
.nums dt { font-size: 14px; line-height: 1.25; color: var(--gray); font-weight: 600; }
.nums dd { margin-top: 6px; font-size: clamp(24px, 7.2vw, 32px); line-height: 1; font-weight: 850; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums .up dd { color: var(--green); }
.x9 { margin-top: 12px; font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--deep); text-wrap: balance; }
/* Снимок кабинета: верх (дата) и низ (итог) одного снимка, середина таблицы вырезана и отмечена разрывом */
.shot { margin: 14px auto 0; max-width: 330px; }
.pic { border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.sl { position: relative; }
.sl img { width: 100%; }
.gap { display: grid; place-items: center; height: 20px; background: var(--fog); border-block: 1.5px dashed var(--line); }
.gap::after { content: "· · ·"; font-size: 15px; line-height: 1; font-weight: 800; color: var(--gray); }
.ring { position: absolute; border: 3px solid var(--red); border-radius: 10px; }
.ring.r1 { left: 2.5%; top: 1%; width: 94.5%; height: 43%; }
.ring.r2 { left: 33%; top: 57%; width: 26%; height: 39%; }
.nums.two { margin-top: 10px; }
.nums.two div { justify-content: flex-start; padding: 14px 6px 12px; }
.nums.two dd { margin-top: 0; color: var(--green); }
.nums.two dt { margin-top: 6px; text-wrap: balance; }
.big { margin-top: 8px; font-size: clamp(30px, 8.6vw, 38px); line-height: 1; font-weight: 850; letter-spacing: -.035em; color: var(--green); white-space: nowrap; }
.sub { margin: 8px auto 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--gray); text-wrap: balance; }

/* ---------- Призыв ---------- */
.end { background: var(--navy); color: #fff; padding: 46px 0 calc(40px + env(safe-area-inset-bottom)); }
.end .btn { margin-top: 24px; }
.tel { margin-top: 5px; font-size: 17px; font-weight: 700; }
.tel a { display: inline-block; padding: 11px 8px; color: #fff; text-decoration: underline 1px rgba(255, 255, 255, .45); text-underline-offset: 5px; }

/* ---------- Кнопка внизу экрана: видна, когда верхняя кнопка ушла вверх, а последний блок ещё не показался ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease); }
.bar.on { transform: none; }
.bar .btn { max-width: 520px; margin: 0 auto; height: 54px; font-size: 18px; }
.bar .btn span { white-space: nowrap; }
.bar :focus-visible { outline-color: var(--deep); }
@media (max-width: 359px) { .bar .btn { font-size: 15px; gap: 8px; } .bar .btn svg { width: 22px; height: 22px; } }

@media (min-width: 900px) {
  .hero { padding: 72px 0 64px; }
  .get, .case { padding: 72px 0; }
  .end { padding: 72px 0; }
  .bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.go::after { animation: none; }
  .bar { transition: none; }
}
