/* Сайт «продвижение бизнеса» (Жасур Сабиржанов). Бело-синий, как aiads.kz (решение владельца 27.11):
   синий первый экран, блок заявки и подвал; белые и светло-голубые блоки; заголовки тёмно-синие 800; без чёрного, без лайма,
   без надзаголовков и градиентного текста; тень только у «предметов» (панель, форма, фото). Анимации гаснут при prefers-reduced-motion. */
@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; --text: #263657; --muted: #4a5878; --line: #d3def3; --line-2: #e4ebf8;
  --fog: #f1f5ff; --fog-2: #e8efff; --white: #fff;
  --blue: #1f5bff; --blue-h: #1a4fe0; --blue-2: #3d78ff; --blue-soft: #e8efff; --sky: #bcd3ff;
  --deep: #0c2470; --navy: #0d2a8f; --wa: #15803d; --bad: #c62828;
  --g-hero: radial-gradient(70% 60% at 85% 30%, rgba(120, 165, 255, .55), transparent 65%), linear-gradient(180deg, #0d2a8f 0%, #1a4fe8 62%, #2f6bff 100%);
  --g-navy: linear-gradient(160deg, #2a66ff 0%, #1745d6 45%, #0c2470 100%);
  --g-deep: linear-gradient(160deg, #13308f 0%, #0c2470 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 22px; --r-sm: 18px; --wrap: 1200px; --pad: clamp(16px, 4vw, 40px);
  --ring: 0 0 0 1px var(--line-2);
  --lift: 0 30px 60px -30px rgba(5, 20, 80, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--deep); }
body { margin: 0; font: 500 17px/1.55 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.032em; max-width: 900px; }
h2.h-sm { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; letter-spacing: -.022em; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 700; color: var(--ink); }
.hero b, .dir.main b, .tile.v b, .tile.d b, .price.hit b, .cta-box .cta-tx b, .ftr b { color: inherit; }
.hero .board b { color: var(--ink); }
::selection { background: rgba(31, 91, 255, .22); }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.hero :focus-visible, .cta-box .cta-tx :focus-visible, .ftr :focus-visible, .dir.main:focus-visible { outline-color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--text); max-width: 680px; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; }

/* ---------- кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0;
  border-radius: 999px; background: var(--blue); color: #fff; font: 700 16.5px/1.15 'Onest', sans-serif; letter-spacing: -.012em; text-align: center;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: background-color .2s, transform .18s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--blue-h); }
.btn:active { transform: scale(.97); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
  transform: translateX(-120%); }
/* блеск только у главной кнопки экрана и у кнопки формы: иначе экран всё время мигает */
.hero .btn.inv::after, .form .btn::after { animation: shine 8s var(--ease) infinite 2s; }
@keyframes shine { 0% { transform: translateX(-120%); } 28%, 100% { transform: translateX(120%); } }
.btn.big { min-height: 58px; padding: 0 30px; font-size: 17.5px; }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.inv { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(5, 20, 80, .18); }
.btn.inv:hover { background: #eef3ff; }
.btn.inv::after { background: linear-gradient(105deg, transparent 35%, rgba(31, 91, 255, .14) 50%, transparent 65%); }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn.line:hover { background: rgba(255, 255, 255, .1); }
.btn.ghost { background: var(--blue-soft); color: var(--blue); box-shadow: none; }
.btn.ghost:hover { background: #dbe6ff; }
.btn.wa { background: var(--wa); }
.btn.wa:hover { background: #136e35; }
.btn.line::after, .btn.ghost::after { display: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px; background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line-2); transition: background-color .3s, box-shadow .3s; }
.hdr.scrolled { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 1px 0 var(--line-2), 0 12px 30px -24px rgba(12, 36, 112, .5); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo .mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--g-navy); }
.logo .mark svg { width: 22px; height: 22px; }
.logo b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.logo small { display: block; font-size: 13px; color: var(--muted); line-height: 1.2; font-weight: 500; }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { color: var(--ink); font-size: 15px; font-weight: 600; padding: 9px 12px; border-radius: 10px; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--fog); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--fog); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; background: #fff; box-shadow: 0 24px 40px -24px rgba(12, 36, 112, .4);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav a[aria-current="page"] { background: none; }
  .menu-btn { display: grid; }
  .hdr .btn.sm { display: none; }
}

/* ---------- секции ---------- */
section { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
section.tight { padding: clamp(40px, 5vw, 64px) 0; }
section.white + section.white, section.fog + section.fog { padding-top: 0; }
.white { background: #fff; }
.fog { background: var(--fog); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head.center { justify-items: center; text-align: center; }
.sec-head .btn-row { margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: #dbe6ff; margin-bottom: 22px; font-weight: 500; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- первый экран ---------- */
.hero { color: #fff; background: var(--g-hero); overflow: hidden; padding: clamp(44px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); }
.hero::before { width: 56vw; height: 40vw; left: 50%; top: -20vw; background: radial-gradient(closest-side, rgba(150, 190, 255, .5), transparent); animation: aurora 16s ease-in-out infinite alternate; }
.hero::after { width: 40vw; height: 30vw; left: -12vw; bottom: -16vw; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); animation: aurora2 12s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translateX(-60%) scale(1); } 100% { transform: translateX(-30%) scale(1.15); } }
@keyframes aurora2 { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(8%, -10%, 0); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { color: var(--sky); }
.hero .lead { color: #eaf1ff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: #eaf1ff; }
.chips svg { width: 17px; height: 17px; padding: 3px; border-radius: 50%; background: #fff; color: var(--blue); flex: none; }
.hero.compact { padding-bottom: clamp(52px, 6vw, 84px); }
.hero.compact .hero-grid { grid-template-columns: 1fr; }
.hero.compact h1 { font-size: clamp(32px, 4.6vw, 56px); max-width: 960px; }
.hero.solo { min-height: 72vh; display: grid; align-items: center; text-align: center; }
.hero.solo .wrap { max-width: 760px; }
.hero.solo .lead { margin: 0 auto; }
.hero.solo .btn-row { justify-content: center; }
.author { display: flex; gap: 12px; align-items: center; margin: 22px 0 0; font-size: 15px; color: #dbe6ff; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.author a { color: #fff; font-weight: 700; }
.hin { opacity: 0; transform: translateY(16px); filter: blur(8px); animation: hIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes hIn { to { opacity: 1; transform: none; filter: blur(0); } }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hero .btn-row { flex-direction: column; align-items: stretch; } .hero .btn-row .btn { width: 100%; } h1 { letter-spacing: -.028em; } }
@media (max-width: 600px) { .crumbs > span:not([aria-hidden]):last-child, .crumbs > span[aria-hidden]:nth-last-child(2) { display: none; } }

/* панель кабинета: белый «предмет» на синем */
.board { position: relative; border-radius: 28px; padding: 12px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -36px rgba(5, 20, 80, .85); }
.board-top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); margin: 6px 8px 12px; }
.board-top b { font-size: 15.5px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--wa); }
.live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22a355; }
.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22a355; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--fog); border-radius: 16px; padding: 12px 12px 13px; }
.kpi small { display: block; font-size: 12px; color: var(--muted); line-height: 1.25; font-weight: 600; }
.kpi b { display: block; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi.hi { background: var(--blue); }
.kpi.hi small { color: #dbe6ff; }
.kpi.hi b { color: #fff; }
.chart { margin-top: 8px; background: var(--fog); border-radius: 16px; padding: 12px 14px 8px; }
.chart small { font-size: 12px; color: var(--muted); font-weight: 600; }
.chart svg { width: 100%; height: 92px; margin-top: 4px; }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s var(--ease) .6s forwards; }
.chart .area { fill: url(#ga); opacity: 0; animation: fadeIn 1s ease 1.6s forwards; }
.chart .dot { fill: var(--blue); stroke: #fff; stroke-width: 3; opacity: 0; animation: fadeIn .4s ease 2.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.msgs { margin-top: 8px; display: grid; gap: 7px; }
.msg { display: flex; gap: 10px; align-items: center; background: var(--fog); border-radius: 14px; padding: 9px 12px; font-size: 14px; line-height: 1.3;
  opacity: 0; transform: translateY(10px) scale(.98); animation: msgIn .6s var(--ease) forwards; animation-delay: var(--d, 0s); }
.msg .av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--wa); }
.msg .av svg { width: 17px; height: 17px; }
.msg .av.ok { background: var(--blue); }
.msg time { margin-left: auto; font-size: 12px; color: var(--muted); }
.msg .tag { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); white-space: nowrap; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.board-note { font-size: 12.5px; color: var(--muted); margin: 10px 8px 4px; }
@media (max-width: 600px) { .kpis { gap: 6px; } .kpi { padding: 10px; } .board { padding: 10px; border-radius: 26px; } }

/* ---------- направления ---------- */
.dirs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dir { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); background: var(--fog); color: var(--text); text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.fog .dir { background: #fff; box-shadow: var(--ring); }
.dir:hover { transform: translateY(-3px); box-shadow: 0 0 0 1.5px var(--sky); }
.dir .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--ring); }
.fog .dir:not(.main) .ico { background: var(--fog); box-shadow: none; }
.dir .ico svg { width: 24px; height: 24px; }
.dir:not(.main) .ico, .fog .dir:not(.main) .ico { width: auto; height: auto; background: none; box-shadow: none; place-items: start; }
.dir:not(.main) .ico svg { width: 28px; height: 28px; }
.dir h3 { margin-top: 6px; }
.dir p { font-size: 15.5px; }
.dir .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--blue); }
.dir .more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dir:hover .more svg { transform: translateX(4px); }
.dir.main { grid-column: span 2; grid-row: span 2; background: var(--g-navy); color: #e3ecff; padding: clamp(26px, 3vw, 38px); box-shadow: none; }
.dir.main h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; }
.dir.main p { font-size: 17px; max-width: 440px; }
.dir.main .ico { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.dir.main .more { color: #fff; }
.badge { position: absolute; top: clamp(26px, 3vw, 38px); right: clamp(26px, 3vw, 38px); padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; }
.funnel { display: grid; gap: 8px; margin-top: 18px; }
.funnel div { height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.funnel div::before { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: rgba(255, 255, 255, .9); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.funnel span { position: relative; z-index: 1; line-height: 38px; padding-left: 14px; font-size: 14.5px; font-weight: 700; color: var(--deep); }
.is-in .funnel div::before { transform: scaleX(1); }
@media (max-width: 960px) { .dirs { grid-template-columns: repeat(2, 1fr); } .dir.main { grid-row: auto; } }
@media (max-width: 600px) { .dirs { grid-template-columns: 1fr; } .dir.main { grid-column: auto; } .badge { position: static; align-self: flex-start; order: -1; }
  .dir:not(.main) { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 4px; padding: 20px; }
  .dir:not(.main) > * { grid-column: 2; } .dir:not(.main) .ico { grid-column: 1; grid-row: 1 / span 3; } .dir:not(.main) h3 { margin-top: 0; } }

/* ---------- плитки (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); background: #fff; box-shadow: var(--ring);
  overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.white .tile { background: var(--fog); box-shadow: none; }
.tile.w3 { grid-column: span 3; }
.tile.v { background: var(--g-navy); color: #e3ecff; box-shadow: none; }
.tile.d { background: var(--g-deep); color: #e3ecff; box-shadow: none; }
.tile.v h3, .tile.d h3 { color: #fff; }
.tile p { font-size: 16px; }
.tile .num { font-size: 13.5px; font-weight: 800; color: var(--blue); letter-spacing: .01em; }
.tile.v .num, .tile.d .num { color: var(--sky); }
.tile .viz { margin-top: auto; padding-top: 14px; }
@media (max-width: 960px) { .tile, .tile.w3 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3 { grid-column: auto; min-height: 0; } }
.bars { display: grid; gap: 10px; }
.bars div { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #dbe6ff; }
.bars i { display: block; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.bars i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: #fff; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.is-in .bars i::after { transform: scaleX(1); }
.chat { display: grid; gap: 8px; font-size: 14px; }
.chat p { max-width: 88%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--fog); color: var(--ink); line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); transition-delay: var(--d, 0s); }
.white .chat p { background: #fff; }
.chat p.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; }
.chat p.me small { color: #dbe6ff; }
.chat p small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.is-in .chat p { opacity: 1; transform: none; }
.toggles { display: grid; gap: 10px; }
.toggles div { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.toggles span { flex: none; width: 40px; height: 24px; border-radius: 99px; background: var(--blue); position: relative; transition: background .4s; }
.toggles span::after { content: ""; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .4s var(--ease); }
.is-in .toggles .off span { animation: offBg .6s var(--ease) 1s forwards; }
.is-in .toggles .off span::after { animation: knobOff .6s var(--ease) 1s forwards; }
@keyframes knobOff { to { left: 3px; } }
@keyframes offBg { to { background: #b9c8e6; } }
.toggles em { font-style: normal; margin-left: auto; font-size: 13px; color: var(--muted); }
.spark svg { width: 100%; height: 80px; }
.spark path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; }
.is-in .spark path { animation: draw 1.8s var(--ease) .3s forwards; }
.dots { display: flex; align-items: center; margin: 6px 0; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: #fff; flex: none; transform: scale(0); transition: transform .5s var(--ease) var(--d, 0s); }
.dots b { flex: 1; height: 2px; background: rgba(255, 255, 255, .45); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease) var(--d, 0s); }
.is-in .dots i, .is-in .dots b { transform: none; }
.weeks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: #c9d7f7; }

/* ---------- кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case { border-radius: var(--r); padding: 28px; background: var(--fog); display: flex; flex-direction: column; gap: 12px; }
.fog .case { background: #fff; box-shadow: var(--ring); }
.case .who { font-size: 14.5px; color: var(--blue); font-weight: 700; }
.case .res { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; color: var(--ink); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.case p { font-size: 16px; }
.case dl { display: grid; gap: 0; margin: 2px 0 0; }
.case dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.case dt { color: var(--muted); }
.case dd { margin: 0; font-weight: 800; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.case .meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.shot { margin: 22px 0 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--ring); }
.shot figcaption { font-size: 14px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line-2); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }

/* отзыв */
.review { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.thumb { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: pointer; aspect-ratio: 9/16; background: var(--deep); box-shadow: var(--lift); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.thumb:hover img { transform: scale(1.04); }
.thumb .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.thumb .play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.thumb .play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--blue); }
.thumb .dur { position: absolute; right: 12px; bottom: 12px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(12, 36, 112, .7); padding: 4px 9px; border-radius: 99px; }
.review h2 { margin-bottom: 16px; }
.review blockquote { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.review .by { margin-top: 18px; font-size: 15.5px; color: var(--muted); font-weight: 600; }
.review details { margin-top: 16px; font-size: 16px; }
.review summary { cursor: pointer; color: var(--blue); font-weight: 700; }
.review details p { margin-top: 10px; }
.vmodal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(6, 16, 50, .88); padding: 16px; }
.vmodal[hidden] { display: none; }
.vmodal video { max-height: 92vh; width: auto; border-radius: 18px; background: #000; }
.vmodal .x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; cursor: pointer; }
@media (max-width: 720px) { .review { grid-template-columns: 1fr; } .thumb { max-width: 240px; margin: 0 auto; } }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: st; }
.steps li { position: relative; padding: 24px 20px; border-radius: var(--r-sm); background: var(--fog); counter-increment: st; }
.fog .steps li { background: #fff; box-shadow: var(--ring); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; color: var(--blue); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 18px 20px; } }

/* ---------- карточки-ссылки и метки ---------- */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.lk { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 54px 22px 22px; border-radius: var(--r-sm); background: var(--fog); color: var(--ink);
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.fog .lk { background: #fff; box-shadow: var(--ring); }
.lk:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--sky); }
.lk b { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.lk span { font-size: 15px; color: var(--muted); }
.lk::after { content: ""; position: absolute; right: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%231f5bff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; transition: transform .3s var(--ease); }
.lk:hover::after { transform: translateX(3px); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 10px 16px; border-radius: 999px; background: var(--fog); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.fog .pills a { background: #fff; box-shadow: var(--ring); }
.pills a:hover { background: var(--blue); color: #fff; }

/* ---------- цены ---------- */
.sub-t { font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price { border-radius: var(--r); padding: 28px; background: var(--fog); display: flex; flex-direction: column; gap: 14px; }
.fog .price { background: #fff; box-shadow: var(--ring); }
.price.hit { background: var(--g-navy); color: #e3ecff; box-shadow: none; }
.price .t { font-size: 15.5px; font-weight: 800; color: var(--blue); }
.price.hit .t { color: var(--sky); }
.price .sum { font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.price.hit .sum { color: #fff; }
.price .sum.tx { font-size: clamp(26px, 2.5vw, 32px); letter-spacing: -.03em; }
.price .sum small { font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.price.hit .sum small { color: #dbe6ff; }
.price .pn { font-size: 15px; color: var(--muted); }
.price.hit .pn { color: #dbe6ff; }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg, .cta-box li svg { flex: none; width: 20px; height: 20px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.price.hit li svg { background: #fff; }
.price .btn { margin-top: auto; }
.prices-other { margin-top: 14px; border-radius: var(--r); padding: 24px 28px; background: var(--fog); }
.fog .prices-other { background: #fff; box-shadow: var(--ring); }
.prices-other h3 { margin-bottom: 8px; }
.prices-other ul { list-style: none; margin: 0; padding: 0; }
.prices-other li { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.prices-other li:first-child { border-top: 0; }
.prices-other a { font-weight: 700; color: var(--ink); text-decoration: none; }
.prices-other a:hover { color: var(--blue); }
.prices-other span { color: var(--muted); }
.prices-other b { color: var(--blue); white-space: nowrap; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .prices-other li { grid-template-columns: 1fr auto; row-gap: 4px; } .prices-other span { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: 360px 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; }
.about figure { margin: 0; }
.about img { border-radius: 26px; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--lift); }
.about h2 { margin-bottom: 16px; }
.about .lead + .lead { margin-top: 12px; }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.facts li { padding: 16px 18px; border-radius: var(--r-sm); background: var(--fog); font-size: 15px; }
.fog .facts li { background: #fff; box-shadow: var(--ring); }
.facts b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 4px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about img { aspect-ratio: 1 / 1; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- вопросы ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.qa { display: grid; gap: 10px; }
.qa details { border-radius: var(--r-sm); background: var(--fog); transition: box-shadow .2s; }
.fog .qa details { background: #fff; box-shadow: var(--ring); }
.qa details[open] { box-shadow: 0 0 0 1.5px var(--sky); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 17px; color: var(--ink); position: relative; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 2.5px; margin-top: -1px; border-radius: 2px; background: var(--blue); transition: transform .3s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa .ans { padding: 0 22px 22px; font-size: 16.5px; }
.qa .ans p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- заявка: синий блок, белая анкета ---------- */
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 5vw, 64px); background: var(--g-navy); color: #e3ecff;
  display: grid; grid-template-columns: 1fr 430px; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-box::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 190, 255, .45), transparent); animation: aurora2 10s ease-in-out infinite alternate; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-box .lead { color: #eaf1ff; margin-top: 16px; }
.cta-box ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 16.5px; color: #fff; font-weight: 600; }
.cta-box li { display: flex; gap: 10px; }
.cta-box li svg { background: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 40px 70px -36px rgba(5, 20, 80, .85); }
.form-t { font-size: 15px; font-weight: 800; color: var(--blue); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.field input { width: 100%; min-height: 56px; border-radius: 14px; border: 0; background: #f6f9ff; box-shadow: inset 0 0 0 1.5px #b9c8e6; padding: 0 16px;
  font: 600 17px 'Onest', sans-serif; color: var(--ink); transition: box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.field input::placeholder { color: #7a87a5; font-weight: 500; }
.field input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(31, 91, 255, .16); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.field .err { font-size: 14px; font-weight: 600; color: var(--bad); }
.field .err:empty { display: none; }
.form .btn { width: 100%; margin-top: 4px; }
.form .fine { font-size: 13px; color: var(--muted); text-align: center; }
.form .fail { font-size: 15px; color: var(--bad); background: #fdecea; border-radius: 12px; padding: 12px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 940px) { .cta-box { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cta-box { border-radius: 26px; padding: 26px 18px; } .form { padding: 22px 18px; } }

/* ---------- текстовые страницы ---------- */
section.txt { padding-top: clamp(48px, 6vw, 80px); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { font-size: 18px; line-height: 1.7; max-width: 680px; }
.prose > * + * { margin-top: 18px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 48px; letter-spacing: -.03em; line-height: 1.12; }
.prose h3 { font-size: 22px; margin-top: 32px; }
.prose ul { padding-left: 22px; }
.prose ol { padding-left: 1.9em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--ring); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { background: var(--fog); color: var(--ink); font-size: 15px; }
.prose .box { padding: 20px 22px; border-radius: 18px; background: var(--fog); color: var(--ink); }
.fog .prose .box { background: #fff; box-shadow: var(--ring); }
.prose .box b { display: block; margin-bottom: 6px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.toc { position: sticky; top: 100px; border-radius: 20px; background: var(--fog); padding: 22px; }
.fog .toc { background: #fff; box-shadow: var(--ring); }
.toc-t { font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.toc p:not(.toc-t) { font-size: 15px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }
.toc a:not(.btn) { color: var(--text); text-decoration: none; }
.toc a:not(.btn):hover { color: var(--blue); }
.toc .btn { width: 100%; margin-top: 18px; min-height: 48px; font-size: 15.5px; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- подвал ---------- */
.ftr { color: #c9d7f7; background: var(--deep); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.ftr .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.ftr h2 { color: #fff; font-size: 15.5px; letter-spacing: -.01em; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ftr a { color: #c9d7f7; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .logo { color: #fff; margin-bottom: 14px; }
.ftr .logo small { color: #c9d7f7; }
.ftr .about-f { font-size: 15px; max-width: 320px; }
.ftr .about-f p + p { margin-top: 14px; }
.ftr-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff !important; }
.ftr-wa svg { width: 20px; height: 20px; color: #4ade80; }
.ftr .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 960px) { .ftr .cols { grid-template-columns: 1fr 1fr; } .ftr .about-f { grid-column: 1 / -1; } }

/* ---------- стрелка к заявке ---------- */
.to-form { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(12, 36, 112, .7);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.to-form.show { opacity: 1; transform: none; pointer-events: auto; }
.to-form svg { width: 24px; height: 24px; }

/* ---------- появление при прокрутке ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hin { opacity: 1; transform: none; filter: none; }
  .js .rv { opacity: 1; transform: none; }
  .chart .line { stroke-dashoffset: 0; } .chart .area, .chart .dot, .msg { opacity: 1; transform: none; }
}
