/* ==========================================================================
   Бизнесёнок. Дизайн-система по мотивам reg.ru: светлый фон, белые плашки,
   крупные скругления, Geologica. Цвета бренда — королевский синий и оранжевый.
   ========================================================================== */
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/geologica-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/geologica-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #F2F4F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFE;
  --ink: #1B2240;
  --ink-2: #434B66;
  --muted: #6E7690;
  --line: rgba(27, 34, 64, .12);
  --dark: #0E1430;
  --dark-2: #172045;
  --blue: #2152E8;
  --blue-2: #1A44CC;
  --blue-ink: #1638A8;
  --sky: #E8EEFF;
  --sky-2: #CFDCFF;
  --sky-3: #8FB0FF;
  --orange: #FF7A1A;
  --orange-2: #F06200;
  --orange-soft: #FFF0E3;
  --acc: var(--blue);
  --acc-soft: rgba(33, 82, 232, .12);
  --r: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 48, .05), 0 4px 14px -6px rgba(14, 20, 48, .12);
  --shadow: 0 1px 2px rgba(14, 20, 48, .04), 0 14px 34px -14px rgba(14, 20, 48, .2);
  --shadow-lg: 0 40px 100px -30px rgba(8, 14, 40, .55);
  --font: 'Geologica', Inter, Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --panel-gutter: clamp(8px, 2.4vw, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dots: radial-gradient(rgba(27, 34, 64, .09) 1px, transparent 1.3px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
/* Атрибуты width/height нужны против сдвигов вёрстки, а высоту считаем по пропорциям — иначе фото растягивается */
img { height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
b, strong { font-weight: 500; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; }
.ico--xs { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 880px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.accent-blue { color: var(--blue); }
.accent-orange { color: var(--orange); }
.dim { color: var(--muted); }
.h2--light .dim { color: rgba(255, 255, 255, .55); }

/* ---------- Типографика ---------- */
.h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 18px 0 18px; text-wrap: balance; }
.h1.is-hero { animation: rise 1s var(--ease-out) both .1s; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; text-wrap: balance; }
.h2--light { color: #fff; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-2); }

/* Появление при скролле: прячем только то, что ниже экрана, и только после первой прокрутки (.anim ставит site.js).
   Без прокрутки — как у роботов Яндекса и Google — весь текст сразу видим. */
.anim [data-reveal]:not(.in):not(.timeline) { opacity: 0; translate: 0 28px; }
[data-reveal].in:not(.timeline) { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Кнопки, бейджи ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--h); padding: 0 24px; border: 0; border-radius: 14px; font: 400 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .3s, color .3s, box-shadow .4s var(--ease), translate .35s var(--ease); }
.btn--sm { --h: 44px; font-size: 15px; border-radius: 12px; padding: 0 16px; }
.btn--lg { --h: 58px; font-size: 17px; border-radius: 16px; padding: 0 28px; }
.btn--full { width: 100%; }
.btn--lead { padding-left: 10px; }
.btn--lg.btn--lead { padding-left: 12px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); box-shadow: 0 16px 34px -12px rgba(33, 82, 232, .7); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-2); box-shadow: 0 16px 34px -12px rgba(255, 122, 26, .7); }
.btn--white { background: #fff; color: var(--blue-ink); }
.btn--white:hover { box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .35); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost .ico, .btn .ico { width: 18px; height: 18px; }
.btn__ico { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; }
.btn--white .btn__ico { background: var(--sky); color: var(--blue); }
.btn--lg .btn__ico { width: 36px; height: 36px; }
.btn__ico .ico { width: 15px; height: 15px; }
.btn__ico::before, .btn__ico::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ring 2.6s var(--ease-out) infinite; }
.btn__ico::after { animation-delay: 1.3s; }
.btn--white .btn__ico::before, .btn--white .btn__ico::after { border-color: var(--sky-3); }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(2); opacity: 0; } }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); font-size: 14px; font-weight: 500; line-height: 1.2; }
.badge .ico { width: 15px; height: 15px; }
.badge--glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); } }
.zero-badge { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-2); }
.zero-badge .ico { width: 26px; height: 26px; }
.zero-badge b { display: block; color: var(--ink); font-size: 15px; }
.zero-badge small { color: var(--muted); font-size: 13px; }
.zero-badge--light { background: rgba(255, 255, 255, .14); color: #FFB37A; }
.zero-badge--light b { color: #fff; }
.zero-badge--light small { color: rgba(255, 255, 255, .7); }

.grain { position: relative; isolation: isolate; }
.grain::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background-image: var(--grain); background-size: 260px; mix-blend-mode: overlay; opacity: .5; }

[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before, [data-spot]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s; }
[data-spot]::before { z-index: -1; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), var(--acc-soft), transparent 45%); }
[data-spot]::after { padding: 1.5px; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--acc), transparent 65%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-spot]:hover::before, [data-spot]:hover::after { opacity: 1; }

/* ---------- Прогресс, шапка, меню ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding-block: 12px; }
.header__in { position: relative; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: flex; justify-content: space-between; gap: 12px; }
.header__pill { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .92); border-radius: 18px; padding: 6px; box-shadow: var(--shadow-sm); transition: box-shadow .4s, background .4s; }
.header.is-scrolled .header__pill { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 10px 40px -12px rgba(14, 20, 48, .3); }
.logo { display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 4px 6px; text-decoration: none; }
.logo__mark { width: 38px; height: 38px; flex: none; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { display: grid; line-height: 1.1; }
.logo__text b { font-size: 19px; letter-spacing: -.03em; }
.logo__text small { font-size: 12px; color: var(--muted); }
.logo--light { color: #fff; padding-left: 0; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .55); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px; border: 0; background: none; font-size: 15px; font-weight: 400; text-decoration: none; cursor: pointer; transition: background .25s; }
.nav__link:hover, [data-mega].is-open > .nav__link { background: var(--bg); }
.ico--chev { width: 16px; height: 16px; transition: transform .3s var(--ease); }
[data-mega].is-open .ico--chev { transform: rotate(180deg); }
.header__pill--act { padding-left: 16px; }
.header__phone { font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.header__phone:hover { color: var(--blue); }
.burger { display: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bg); cursor: pointer; }
.mega { position: absolute; top: calc(100% + 10px); left: 0; width: min(1120px, 100%); background: #fff; border-radius: 28px; padding: 28px; box-shadow: 0 40px 100px -30px rgba(14, 20, 48, .4), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; translate: 0 10px; transition: opacity .3s, translate .4s var(--ease), visibility 0s .4s; }
.mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
[data-mega].is-open .mega { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
@media (hover: hover) { [data-mega]:hover .mega { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; } }
.mega__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mega__title { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.mega ul, .drawer ul, .footer ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 7px 10px; margin-left: -10px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 400; line-height: 1.3; transition: background .2s, color .2s; }
.mega li a:hover { background: var(--sky); color: var(--blue-ink); }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: var(--bg); font-size: 15px; }
.mega__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--blue); }
.mega__foot .ico { width: 18px; }
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; translate: 100% 0; transition: translate .5s var(--ease-out), visibility 0s .5s; }
.drawer.is-open { visibility: visible; translate: 0 0; transition-delay: 0s; }
.drawer__in { padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 18px; padding: 6px; }
.burger--close { display: grid; }
.drawer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__nav a { background: #fff; border-radius: 14px; padding: 14px 16px; text-decoration: none; font-weight: 400; }
.drawer__group { background: #fff; border-radius: 20px; padding: 16px; }
.drawer__title { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.drawer__group a { display: block; padding: 9px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer__group li:last-child a { border-bottom: 0; }
.drawer__call { display: grid; gap: 12px; background: var(--dark); color: #fff; border-radius: 22px; padding: 20px; }
.drawer__phone { font-size: 26px; font-weight: 500; letter-spacing: -.03em; text-decoration: none; }

/* ---------- Первый экран ---------- */
.hero { padding-top: 4px; }
.hero__stage { position: relative; isolation: isolate; width: min(100% - 2 * var(--panel-gutter), calc(var(--container) + 80px)); margin-inline: auto; border-radius: clamp(28px, 4vw, 48px); overflow: hidden; background: radial-gradient(60% 80% at 85% 15%, rgba(33, 82, 232, .9), transparent 60%), radial-gradient(40% 50% at 15% 95%, rgba(255, 122, 26, .45), transparent 60%), linear-gradient(160deg, #0B1640, #0E1430 65%); min-height: min(760px, calc(100svh - 90px)); display: flex; align-items: center; }
.hero__stage--short { min-height: 0; }
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.mesh.is-ready { opacity: 1; }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; left: var(--gx, 70%); top: var(--gy, 40%); translate: -50% -50%; background: radial-gradient(circle, rgba(143, 176, 255, .35), transparent 65%); pointer-events: none; mix-blend-mode: screen; transition: left .8s var(--ease-out), top .8s var(--ease-out); }
.hero__grid { position: relative; z-index: 4; width: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(14px, 3vw, 40px); }
.hero__grid--page { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.hero__card { background: #fff; border-radius: clamp(22px, 3vw, 32px); padding: clamp(24px, 3.4vw, 48px); box-shadow: var(--shadow-lg); animation: card-in 1s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; translate: 0 30px; scale: .98; } }
.hero__card .lead { max-width: 580px; }
.hero__card > p:not(.lead):not(.hero__note) { color: var(--muted); margin-top: 10px; }
.hero__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.hero__price s { color: var(--muted); font-size: 20px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.hero__price b { font-size: clamp(40px, 4.4vw, 58px); color: var(--orange); letter-spacing: -.04em; line-height: 1; }
.hero__price span { color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.hero__phone { display: inline-block; margin-top: 18px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; letter-spacing: -.03em; text-decoration: none; }
.hero__phone:hover { color: var(--blue); }
.hero__phone--inline { margin: 0 0 0 8px; font-size: 20px; }
.hero__chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { padding: 8px 14px; border-radius: 100px; background: var(--bg); font-size: 14px; }
.hero__chips b { font-weight: 600; }
.hero__note { display: flex; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero__note .ico { color: var(--orange); width: 18px; }
.hero__visual { position: relative; width: 100%; max-width: 560px; justify-self: center; transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); animation: visual-in 1.2s var(--ease-out) .2s both; }
@keyframes visual-in { from { opacity: 0; translate: 0 40px; } }
.hero__visual--scene { padding-right: 70px; }
.hero__buddy { position: absolute; right: -24px; bottom: -40px; width: 150px; height: auto; z-index: 6; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); animation: floaty 6s ease-in-out infinite; pointer-events: none; }
.hero__photo { position: relative; justify-self: center; width: 100%; max-width: 560px; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); animation: visual-in 1.2s var(--ease-out) .2s both; }
.hero__photo img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }

/* Бизнесёнок в герое: мягкое сияние, «дыхание», поворот к курсору по кадрам, прыжок по клику */
.mascot { --lx: 0; position: relative; display: grid; place-items: center; min-height: clamp(380px, 46vw, 600px); cursor: pointer; }
.mascot__body { position: relative; z-index: 2; display: grid; place-items: center; animation: breathe 6s ease-in-out infinite; transition: translate .2s linear; }
.mascot.is-hop .mascot__body { animation: hop .7s var(--ease-out), breathe 6s ease-in-out .7s infinite; }
.mascot__frame { grid-area: 1 / 1; width: auto; max-height: clamp(380px, 44vw, 580px); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); opacity: 0; }
.mascot__frame.is-on { opacity: 1; }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(6px) scale(1.05, .93); } 50% { transform: translateY(-40px) scale(.97, 1.04); } 75% { transform: translateY(0) scale(1.03, .96); } 100% { transform: translateY(0) scale(1); } }
.mascot__halo { position: absolute; z-index: 0; top: 14%; left: 50%; width: 76%; aspect-ratio: 1; translate: calc(-50% + var(--lx) * -16px) 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 176, 255, .5), rgba(33, 82, 232, .2) 55%, transparent 72%); animation: halo 6s ease-in-out infinite; }
@keyframes halo { 50% { scale: 1.06; opacity: .8; } }
.mascot__shadow { position: absolute; z-index: 1; bottom: 6%; left: 50%; width: 44%; height: 24px; translate: calc(-50% + var(--lx) * 8px) 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); animation: shadow 6s ease-in-out infinite; }
.mascot.is-hop .mascot__shadow { animation: shadow-hop .7s var(--ease-out); }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes shadow { 50% { transform: scaleX(.88); opacity: .75; } }
@keyframes shadow-hop { 50% { transform: scaleX(.6); opacity: .35; } }

.float { position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55); font-size: 13px; line-height: 1.25; animation: floaty 6s ease-in-out infinite; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.float__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--blue); color: #fff; flex: none; }
.float__ico--orange { background: var(--orange); }
.float__ico .ico { width: 18px; height: 18px; }
.float--a { top: 6%; left: -8%; }
.float--b { bottom: 14%; right: 2%; animation-delay: -2s; }
.float--c { bottom: 8%; left: 0; animation-delay: -4s; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* Бегущая строка под героем */
.tk { overflow: hidden; margin-top: 14px; padding-block: 12px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tk__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.tk__item { display: inline-flex; align-items: center; gap: 22px; margin-right: 22px; font-size: clamp(20px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.tk__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.tk__item i { font-style: normal; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Сцены «окно amoCRM» ---------- */
.scene { position: relative; container-type: inline-size; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5); font-size: 13px; line-height: 1.35; color: var(--ink); }
.scene__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.scene__bar i { width: 10px; height: 10px; border-radius: 50%; background: #E1E4EA; }
.scene__bar i:first-child { background: #FF8A8A; }
.scene__bar i:nth-child(2) { background: #FFD27A; }
.scene__bar i:nth-child(3) { background: #7FE6A9; }
.scene__bar span { margin-left: 10px; font-weight: 500; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; height: 340px; padding: 14px; overflow: hidden; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.kanban__head { padding: 2px 2px 9px; border-bottom: 3px solid var(--c); margin-bottom: 10px; }
.kanban__head b { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kanban__head small { font-size: 11px; color: var(--muted); }
.kanban__cards { display: flex; flex-direction: column; gap: 8px; }
.deal { background: #fff; border-radius: 11px; padding: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 14px -8px rgba(0, 0, 0, .18); }
.deal__src { display: inline-block; margin-bottom: 6px; padding: 2px 7px; border-radius: 6px; background: var(--sky); color: var(--blue-ink); font-size: 10px; font-weight: 500; }
.deal b { display: block; font-size: 12px; line-height: 1.3; }
.deal small { color: var(--muted); font-size: 11px; }
.deal.is-moving { box-shadow: 0 0 0 2px var(--blue), 0 16px 30px -10px rgba(33, 82, 232, .55); z-index: 2; position: relative; }
.deal.is-new { animation: deal-in .7s var(--ease-out); }
.deal.is-out { animation: deal-out .5s var(--ease) forwards; }
@keyframes deal-in { from { opacity: 0; translate: 0 -14px; scale: .92; } }
@keyframes deal-out { to { opacity: 0; scale: .9; } }
@container (max-width: 440px) { .kanban { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kanban__col:nth-child(4) { display: none; } }
.chat { position: relative; display: flex; flex-direction: column; gap: 10px; height: 340px; padding: 18px 16px 44px; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 13px; line-height: 1.4; transition: opacity .45s var(--ease-out), translate .45s var(--ease-out), scale .45s var(--ease-out); }
.msg__ch { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 500; opacity: .7; }
.msg--in { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.msg--out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.msg--bot { align-self: flex-end; background: linear-gradient(135deg, var(--blue), #4C78FF); color: #fff; border-bottom-right-radius: 5px; }
.msg--sys { align-self: center; padding: 6px 14px; border-radius: 100px; background: var(--orange-soft); color: var(--orange-2); font-size: 11.5px; font-weight: 500; }
.chat__typing { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 4px; padding: 8px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .3s; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
.chat__typing.is-on { opacity: 1; }
.chat__typing.is-right { left: auto; right: 16px; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.js .scene--chat.is-live .msg:not(.is-shown) { opacity: 0; translate: 0 12px; scale: .96; }
.call { position: relative; display: grid; gap: 12px; align-content: start; height: 340px; padding: 16px; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.call__card { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.call__ava { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.call__ava .ico { width: 20px; height: 20px; }
.call__ava i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: ring 2s var(--ease-out) infinite; }
.call__ava i:nth-child(2) { animation-delay: 1s; }
.call__meta { flex: 1; min-width: 0; display: grid; }
.call__meta small { color: var(--muted); font-size: 11px; }
.call__meta b { font-size: 16px; }
.call__meta span { font-size: 12px; color: var(--ink-2); }
.call__timer { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--blue-ink); background: var(--sky); padding: 5px 10px; border-radius: 100px; }
.wave { display: flex; align-items: center; gap: 3px; height: 58px; padding: 0 12px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }
.wave i { flex: 1; height: 70%; border-radius: 3px; background: linear-gradient(var(--blue), var(--sky-3)); transform: scaleY(var(--h)); animation: wave 1.1s ease-in-out var(--d) infinite alternate; }
@keyframes wave { to { transform: scaleY(.12); } }
.calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calls li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.calls .ico { width: 16px; height: 16px; color: var(--blue); }
.calls .is-missed .ico { color: #F0506E; }
.calls .ico--play { margin-left: auto; color: var(--muted); }
.toast { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 12px; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.toast .ico { width: 16px; height: 16px; color: var(--orange); }
.js .scene--call.is-live .toast:not(.is-on) { opacity: 0; transform: translateY(14px) scale(.95); }
.flow { --n: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 340px; padding: 18px; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.node { display: flex; align-items: center; gap: 10px; width: min(100%, 320px); padding: 9px 12px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(0, 0, 0, .14); animation: node-on calc(var(--n, 5) * .8s) linear calc(var(--i) * .8s) infinite; }
.node__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--sky); color: var(--blue-ink); flex: none; }
.node__ico .ico { width: 16px; height: 16px; }
.node--trigger .node__ico { background: var(--blue); color: #fff; }
.node--cond .node__ico { background: var(--orange-soft); color: var(--orange-2); }
.node__t { flex: 1; font-weight: 500; font-size: 13px; }
.node small { font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.flow__link { position: relative; width: 2px; height: 20px; flex: none; background: repeating-linear-gradient(to bottom, var(--blue) 0 4px, transparent 4px 8px); animation: dash .6s linear infinite; }
.flow__link::after { content: ''; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 26, .25); opacity: 0; animation: packet calc(var(--n, 5) * .8s) linear calc(var(--i) * .8s + .4s) infinite; }
@keyframes dash { to { background-position: 0 8px; } }
@keyframes packet { 0% { top: -4px; opacity: 1; } 10% { top: calc(100% - 4px); opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes node-on { 0%, 14% { box-shadow: 0 0 0 2px var(--blue), 0 12px 30px -8px rgba(33, 82, 232, .6); } 24%, 100% { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -6px rgba(0, 0, 0, .14); } }
.dash { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; height: 340px; padding: 16px; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border-radius: 13px; padding: 10px 12px; box-shadow: var(--shadow-sm); min-width: 0; }
.kpi small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-size: 22px; letter-spacing: -.03em; }
.kpi em { margin-left: 4px; font-style: normal; font-size: 11px; color: var(--blue); font-weight: 500; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 6px; padding: 14px 14px 10px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, rgba(33, 82, 232, .25), var(--blue)); transform-origin: bottom; transition: transform 1s var(--ease-out) calc(var(--i) * .05s); }
.bars svg { position: absolute; left: 14px; right: 14px; top: 14px; bottom: 10px; width: calc(100% - 28px); height: calc(100% - 24px); overflow: visible; }
.bars path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out) .5s; }
.dash__axis { display: flex; justify-content: space-between; padding: 0 6px; font-size: 10.5px; color: var(--muted); }
.js .scene--chart.is-live:not(.is-drawn) .bars i { transform: scaleY(0); transition-duration: .4s; transition-delay: 0s; }
.js .scene--chart.is-live:not(.is-drawn) .bars path { stroke-dashoffset: 1; transition-duration: 0s; }
.check { height: 340px; padding: 18px; background: #F3F6FC var(--dots) 0 0 / 18px 18px; }
.check__top { display: flex; align-items: baseline; gap: 8px; }
.check__top b { font-size: 32px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.check__top small { color: var(--muted); }
.check__progress { height: 8px; border-radius: 8px; background: #E2E7F2; overflow: hidden; margin: 10px 0 16px; }
.check__progress span { display: block; height: 100%; width: var(--p, 100%); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky-3)); transition: width .7s var(--ease-out); }
.check__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); transition: color .3s; }
.check__box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); color: #fff; flex: none; transition: background .3s, box-shadow .3s, color .3s; }
.check__box .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.check__item em { margin-left: auto; padding: 3px 9px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); font-style: normal; font-size: 11px; font-weight: 500; transition: opacity .3s; }
.check__item.is-warn .check__box { background: var(--orange); }
.check__item.is-warn em { background: var(--orange-soft); color: var(--orange-2); }
.js .scene--checklist.is-live .check__item:not(.is-done) { color: var(--muted); }
.js .scene--checklist.is-live .check__item:not(.is-done) .check__box { background: #fff; color: transparent; box-shadow: inset 0 0 0 1.5px #C9D0DA; }
.js .scene--checklist.is-live .check__item:not(.is-done) em { opacity: 0; }

/* ---------- Секции и панели ---------- */
.section { padding-block: clamp(30px, 4.2vw, 64px); }
.section__head { display: grid; justify-items: start; gap: 14px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__head--split > div { display: grid; justify-items: start; gap: 14px; }
.section__head--split > p { max-width: 420px; }
.panel { width: min(100% - 2 * var(--panel-gutter), calc(var(--container) + 80px)); margin-inline: auto; border-radius: clamp(28px, 4vw, 56px); padding: clamp(34px, 5.6vw, 76px) clamp(18px, 4.4vw, 56px); }
.panel--dark { background: radial-gradient(60% 70% at 100% 0%, rgba(33, 82, 232, .35), transparent 60%), var(--dark); color: #fff; }
.panel--blue { background: radial-gradient(55% 80% at 100% 0%, rgba(143, 176, 255, .5), transparent 60%), radial-gradient(45% 60% at 0% 100%, rgba(255, 122, 26, .35), transparent 60%), linear-gradient(135deg, #1A44CC, #2B5CF0); color: #fff; }
.panel__head { display: grid; justify-items: center; text-align: center; gap: 14px; margin: 0 auto clamp(28px, 4vw, 52px); max-width: 780px; }
.panel--dark .panel__head p, .panel--blue p { color: rgba(255, 255, 255, .8); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .grow { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes grow { from { scale: .93; border-radius: 90px; } }
  }
}

/* «Что настроим за 0 ₽» */
.zero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zcard { position: relative; display: grid; gap: 10px; padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.zcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 20, 48, .35); }
.zcard__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky); color: var(--blue); margin-bottom: 8px; transition: background .3s, color .3s, transform .5s var(--ease-out); }
.zcard:hover .zcard__ico { background: var(--blue); color: #fff; transform: rotate(-8deg); }
.zcard h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.zcard p { color: var(--muted); font-size: 15px; }
.zcard__go { position: absolute; top: 24px; right: 24px; color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.zcard__go .ico { width: 20px; }
.zcard:hover .zcard__go { color: var(--blue); transform: translateX(4px); }
.mini { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; margin-top: 14px; }
.mini__card { display: grid; align-content: start; justify-items: start; gap: 12px; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.mini__card h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.mini__card p { color: var(--muted); font-size: 15px; }
.mini__card--blue { background: linear-gradient(135deg, var(--blue), #3C6BFF); color: #fff; }
.mini__card--blue p { color: rgba(255, 255, 255, .8); }
.mini__photo { position: relative; border-radius: 26px; overflow: hidden; min-height: 220px; }
.mini__photo img { width: 100%; height: 100%; object-fit: cover; }
.mini__photo figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); font-size: 13px; }
.mini__photo figcaption b { font-size: 15px; }

/* «В чём подвох» */
.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.honest__text { display: grid; justify-items: start; gap: 16px; }
.honest__art { position: relative; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.honest__art img { width: 100%; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.honest__art figcaption { position: absolute; left: 50%; bottom: -22px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 100px; background: #fff; color: var(--ink); font-weight: 500; white-space: nowrap; box-shadow: var(--shadow); }
.honest__art figcaption i { font-style: normal; color: var(--orange); }
.honest__art figcaption span { animation: glow-word 4.5s infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes glow-word { 0%, 30%, 100% { color: var(--ink); } 10%, 20% { color: var(--blue); } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--sky); color: var(--blue); stroke-width: 2.6; }
.checks--light .ico { background: rgba(255, 255, 255, .18); color: #fff; }

/* Город */
.city-text { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: #fff; box-shadow: var(--shadow-sm); }
.city-text > div:first-child { display: grid; align-content: start; justify-items: start; gap: 14px; }
.city-text__body { display: grid; gap: 14px; color: var(--ink-2); }
.city-text__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.phone-big { font-size: 24px; font-weight: 500; letter-spacing: -.03em; text-decoration: none; }
.local { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.local__intro { display: grid; justify-items: start; gap: 14px; }
.local__intro p:not(.lead) { color: var(--ink-2); }
.local__links h3 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.local__links .chips + h3 { margin-top: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 100px; background: #fff; box-shadow: var(--shadow-sm); font-size: 15px; text-decoration: none; transition: background .25s, color .25s, translate .3s var(--ease); }
.chip:hover { background: var(--sky); color: var(--blue-ink); translate: 0 -2px; }
.chip .ico { width: 15px; height: 15px; color: var(--orange); }
.chip--ghost { background: var(--bg); box-shadow: none; }
.chip--blue { background: var(--blue); color: #fff; }
.chip--blue:hover { background: var(--blue-2); color: #fff; }
.chips--big .chip { padding: 12px 20px; font-size: 16px; }
/* Блок городов: светлая панель, точечная сетка, схема маршрутов из Москвы */
.geo { position: relative; overflow: hidden; width: min(100% - 2 * var(--panel-gutter), calc(var(--container) + 80px)); margin-inline: auto; padding: clamp(32px, 5vw, 72px) clamp(18px, 4.4vw, 56px); border-radius: clamp(28px, 4vw, 56px); background: radial-gradient(45% 60% at 92% 8%, rgba(33, 82, 232, .16), transparent 70%), radial-gradient(40% 50% at 5% 100%, rgba(255, 122, 26, .12), transparent 70%), var(--dots) 0 0 / 22px 22px, linear-gradient(180deg, #F7F9FF, #EEF2FD); box-shadow: inset 0 0 0 1px rgba(33, 82, 232, .08); }
.geo__head { position: relative; z-index: 2; display: grid; justify-items: start; align-content: start; gap: 14px; max-width: 520px; min-height: 300px; margin-bottom: clamp(20px, 3vw, 36px); }
.geo__head .badge .ico { width: 15px; height: 15px; }
.geo__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.geo__stats span { padding: 8px 14px; border-radius: 100px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; color: var(--muted); }
.geo__stats b { color: var(--blue); font-weight: 600; }
.geo-map { position: absolute; z-index: 1; top: clamp(16px, 3vw, 44px); right: clamp(12px, 3vw, 48px); width: min(56%, 700px); height: auto; pointer-events: none; }
.geo-map__routes path { fill: none; stroke: rgba(33, 82, 232, .35); stroke-width: 1.6; stroke-dasharray: 3 5; animation: route-flow 2.4s linear infinite; }
.geo-map__routes path:nth-child(3n) { stroke: rgba(255, 122, 26, .45); }
@keyframes route-flow { to { stroke-dashoffset: -16; } }
.geo-map__pin circle:not(.geo-map__pulse) { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.geo-map__pin.is-hub circle:not(.geo-map__pulse) { fill: var(--orange); }
.geo-map__pulse { fill: rgba(33, 82, 232, .25); transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.6s var(--ease-out) infinite; animation-delay: calc(var(--i) * .22s); }
.is-hub .geo-map__pulse { fill: rgba(255, 122, 26, .3); }
@keyframes pin-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.geo-map text { font: 500 11px var(--font); fill: var(--ink-2); text-anchor: middle; paint-order: stroke; stroke: rgba(247, 249, 255, .9); stroke-width: 4px; }
.cities { position: relative; z-index: 2; columns: 4 240px; column-gap: 14px; }
.cities__group { break-inside: avoid; margin-bottom: 14px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); transition: box-shadow .3s, translate .4s var(--ease-out); }
.cities__group:hover { box-shadow: 0 0 0 1.5px var(--sky-2), var(--shadow); translate: 0 -3px; }
.cities__region { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.cities__region .ico { width: 18px; height: 18px; color: var(--orange); }
.cities__region small { margin-left: auto; padding: 2px 9px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); font-size: 12px; font-weight: 500; }
.cities ul { list-style: none; margin: 0; padding: 0; }
.cities a { display: inline-block; padding: 3px 0; text-decoration: none; font-size: 15px; transition: color .2s, translate .2s; }
.cities a:hover { color: var(--blue); translate: 3px 0; }
@media (max-width: 980px) { .geo__head { min-height: 0; } .geo-map { position: relative; top: auto; right: auto; width: 100%; margin: -10px 0 10px; } }

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 16px; align-items: start; }
.calc__main { display: grid; gap: 14px; }
.calc__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.calc__row .sel { max-width: 360px; }
.calc__addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.calc__addons--3 { grid-template-columns: repeat(3, 1fr); }
.addon { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .3s, box-shadow .3s; }
.addon.has-val { background: rgba(33, 82, 232, .25); box-shadow: inset 0 0 0 1px rgba(143, 176, 255, .6); }
.addon__label { font-size: 14px; color: rgba(255, 255, 255, .85); }
.sel { width: 100%; height: 44px; padding: 0 36px 0 12px; border-radius: 12px; border: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231B2240' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center no-repeat; color: var(--ink); font-size: 14px; appearance: none; cursor: pointer; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .1); width: fit-content; }
.stepper button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; cursor: pointer; }
.stepper button:hover { background: var(--blue); }
.stepper output { min-width: 30px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.stepper--big button { width: 44px; height: 44px; font-size: 22px; }
.stepper--big output { min-width: 44px; font-size: 22px; }
.calc__total { position: sticky; top: 100px; display: grid; gap: 16px; padding: 26px; border-radius: 26px; background: #fff; color: var(--ink); }
.calc__label { color: var(--muted); font-size: 14px; }
.calc__sum { font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__sum.is-bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { scale: 1.06; color: var(--blue); } }
.calc__zero { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-2); }
.calc__zero .ico { width: 26px; height: 26px; }
.calc__zero b { display: block; color: var(--ink); }
.calc__zero small { color: var(--muted); font-size: 13px; }
.calc__phone { font-size: 14px; color: var(--muted); text-align: center; }
.calc__phone a { color: var(--ink); font-weight: 500; text-decoration: none; }

/* Сферы */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.theme { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); text-align: left; cursor: pointer; transition: background .3s, transform .4s var(--ease-out), box-shadow .3s; }
.theme:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--blue), var(--shadow); }
.theme b { display: block; font-size: 15px; line-height: 1.25; }
.theme small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.theme__ck { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--sky); color: var(--blue); flex: none; transition: background .3s, color .3s; }
.theme__ck .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.theme:hover .theme__ck { background: var(--blue); color: #fff; }
.universal { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 20px 24px; border-radius: 22px; background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; flex-wrap: wrap; }
.universal__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--orange); }
.universal > div { flex: 1; min-width: 220px; display: grid; }
.universal b { font-size: 18px; }
.universal span { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.review__stars { display: flex; gap: 2px; color: var(--orange); }
.review__stars .ico { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { font-size: 17px; line-height: 1.5; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--muted); }
.review__ava { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 600; }

/* FAQ — ответы всегда открыты, весь текст в видимой части */
.faq { display: grid; gap: 10px; }
.faq__item { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.faq__n { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--blue-ink); font-size: 14px; font-weight: 500; }
.faq__q { align-self: center; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.faq__a { color: var(--ink-2); }

/* CTA */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: clamp(30px, 5vw, 64px); border-radius: clamp(28px, 4vw, 48px); background: radial-gradient(60% 90% at 90% 20%, rgba(143, 176, 255, .45), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(255, 122, 26, .4), transparent 60%), linear-gradient(130deg, #142A8C, #2152E8); color: #fff; --acc: #fff; --acc-soft: rgba(255, 255, 255, .12); }
.cta__text { display: grid; justify-items: start; gap: 16px; position: relative; z-index: 1; }
.cta .lead { color: rgba(255, 255, 255, .85); }
.cta .accent { color: #FFB37A; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta__phone { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.03em; text-decoration: none; }
.cta__art img { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); rotate: 3deg; transition: rotate .6s var(--ease-out); }
.cta:hover .cta__art img { rotate: 0deg; }

/* Консультация */
.consult { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.consult__text { display: grid; justify-items: start; gap: 16px; }
.consult__card { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.consult__title { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.consult__or { text-align: center; color: var(--muted); font-size: 14px; }
.consult__or a { color: var(--ink); font-weight: 500; text-decoration: none; }

/* Услуга */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain { padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.pain__n { display: inline-grid; place-items: center; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 100px; background: var(--orange-soft); color: var(--orange-2); font-weight: 500; font-size: 14px; margin-bottom: 30px; }
.pain h3, .feature h3, .why__item h3 { font-size: 19px; line-height: 1.25; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.pain p, .feature p, .why__item p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); align-content: start; }
.feature__ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; }
.feature__ico .ico { width: 20px; height: 20px; }
.feature h3 { align-self: center; margin: 0; }
.longread { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); }
.longread__text { display: grid; justify-items: start; gap: 16px; }
.longread__text p { color: rgba(255, 255, 255, .8); }
.longread__side { display: grid; align-content: start; gap: 16px; }
.longread__side h3 { font-size: 18px; font-weight: 500; color: #fff; }
.longread__side .checks li { color: rgba(255, 255, 255, .85); align-items: flex-start; }
.timeline { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 2px; background: rgba(255, 255, 255, .14); }
.timeline__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding-bottom: 18px; }
.timeline__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 500; font-size: 14px; box-shadow: 0 0 0 6px rgba(33, 82, 232, .25); z-index: 1; }
.timeline__step b { display: block; color: #fff; margin: 10px 0 4px; }
.timeline__step p { color: rgba(255, 255, 255, .65); font-size: 15px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why--3 { grid-template-columns: repeat(3, 1fr); }
.why__item { padding: 26px 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.why__n { display: block; font-size: 38px; font-weight: 500; letter-spacing: -.05em; color: var(--sky-2); margin-bottom: 18px; line-height: 1; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 20, 48, .35); }
.svc__tag { padding: 4px 10px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); font-size: 12px; font-weight: 500; }
.svc h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.svc p { font-size: 15px; color: var(--muted); }
.svc__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue); }
.svc__go .ico { width: 18px; transition: transform .3s var(--ease); }
.svc:hover .svc__go .ico { transform: translateX(4px); }
.audit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 20px 24px; border-radius: 22px; background: var(--orange-soft); text-decoration: none; }
.audit__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: #fff; }
.audit > span:nth-child(2) { flex: 1; min-width: 240px; display: grid; }
.audit small { color: var(--ink-2); font-size: 15px; }
.audit__go { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; color: var(--orange-2); }
.audit__go .ico { width: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--blue); }
.link-arrow .ico { width: 18px; }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step { padding: 24px 22px; border-radius: 24px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .3s, transform .5s var(--ease-out); }
.step:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.step__n { display: block; font-size: 15px; font-weight: 500; color: #FFB37A; margin-bottom: 26px; }
.step h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; color: #fff; }
.step p { font-size: 15px; color: rgba(255, 255, 255, .7); }

/* Сфера: цифры */
.stats-strip { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: #fff; border-radius: 26px; padding: 10px; box-shadow: var(--shadow-sm); }
.stat { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; }
.stat b { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.stats--big .stat b { font-size: clamp(40px, 5vw, 64px); }

/* Текстовые блоки и статьи */
.prose { display: grid; gap: 16px; justify-items: start; }
.prose p { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.prose--article { display: block; margin-top: 28px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose--article > * + * { margin-top: 1em; }
.prose--article h2 { margin-top: 1.8em; font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); }
.prose--article h3 { margin-top: 1.5em; font-size: 21px; font-weight: 500; color: var(--ink); }
.prose--article a { color: var(--blue); }
.prose--article ul, .prose--article ol { padding-left: 1.3em; }
.prose--article li + li { margin-top: .4em; }
.prose--article li::marker { color: var(--blue); }
.prose--article img { border-radius: 18px; height: auto; margin-block: 1.4em; box-shadow: var(--shadow-sm); }
.prose--article blockquote { padding: 18px 22px; border-radius: 18px; background: var(--sky); color: var(--ink); }
.prose--article table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.prose--article th, .prose--article td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose--article strong { color: var(--ink); }
.article__head { padding-block: clamp(28px, 4vw, 48px) 10px; }
.article__h1 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 8px; }
.article__cover { width: 100%; height: auto; border-radius: 26px; box-shadow: var(--shadow); margin-top: 10px; }
.art-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block: 2em !important; padding: 22px 24px; border-radius: 22px; background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; font-size: 16px; line-height: 1.4; }
.art-cta div { display: grid; flex: 1; min-width: 220px; }
.art-cta b { font-size: 18px; }
.art-cta span { color: rgba(255, 255, 255, .7); }
.art-end { display: grid; justify-items: start; gap: 14px; margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.art-end h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; }
.art-end p { color: var(--muted); }

/* Блог */
.blog-count { margin-bottom: 16px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 22px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 20, 48, .35); }
.post__cover { display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--sky); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease-out); }
.post:hover .post__cover img { scale: 1.05; }
.post__ph { display: grid; place-items: center; height: 100%; color: var(--blue); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 13px; color: var(--muted); padding-inline: 10px; }
.article .post__meta { padding: 0; margin-bottom: 4px; }
.post__cat { padding: 3px 10px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); text-decoration: none; font-weight: 500; }
.post h3 { padding-inline: 10px; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.post p { padding-inline: 10px; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__go { margin-top: auto; padding-inline: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--blue); font-weight: 500; }
.post__go .ico { width: 16px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; }
.pager span { background: var(--blue); color: #fff; }
.pager a:hover { color: var(--blue); }

/* Услуги: список и поиск сфер */
.all-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.all-services__title { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.all-services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.all-services a { text-decoration: none; font-size: 15px; }
.all-services a:hover { color: var(--blue); }
.search { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.search .ico { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 17px; }
.topics { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 20px; }
.topics li { break-inside: avoid; }
.topics a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: 15px; }
.topics a:hover { color: var(--blue); }
.search__empty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* О нас */
.philosophy { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.philosophy > div { display: grid; justify-items: start; gap: 16px; }
.philosophy__art { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out); }
.philosophy__art img { width: 100%; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.values { display: grid; gap: 10px; width: 100%; }
.value { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .12); }
.value b { display: block; font-size: 18px; margin-bottom: 4px; }
.value p { font-size: 15px; }

/* Окно заявки */
:root:has(.modal[open]) { overflow: hidden; }
.modal { width: min(100% - 24px, 500px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 30px; overflow: auto; overscroll-behavior: contain; background: #fff; color: var(--ink); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); }
.modal:focus-visible { outline: none; }
.modal::backdrop { background: rgba(8, 14, 40, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal[open] { animation: modal-in .55s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; translate: 0 24px; scale: .96; } }
.modal__head { display: grid; gap: 10px; padding: 26px 28px 24px; color: #fff; background: radial-gradient(60% 90% at 100% 0%, rgba(143, 176, 255, .5), transparent 60%), linear-gradient(130deg, #142A8C, #2152E8); }
.modal__close { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; transition: background .2s, rotate .3s var(--ease); }
.modal__close:hover { background: rgba(255, 255, 255, .3); rotate: 90deg; }
.modal__head .zero-badge { width: fit-content; padding-right: 18px; }
.modal__pre { font-size: 14px; color: rgba(255, 255, 255, .75); }
.modal__pre b { color: #fff; }
.modal__title { font-size: clamp(24px, 4vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.modal__text { color: rgba(255, 255, 255, .8); }
.modal__body { padding: 16px 12px 22px; }
.modal__summary { margin: 0 16px 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font: 13px/1.5 var(--font); white-space: pre-wrap; }
.modal__form { position: relative; min-height: 220px; }
.modal__form:not(:has(iframe))::before { content: ''; position: absolute; inset: 0 16px auto; height: 220px; border-radius: 14px; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%) 0 0 / 200% 100%, linear-gradient(var(--bg) 0 0) 0 26px / 100% 42px no-repeat, linear-gradient(var(--bg) 0 0) 0 100px / 100% 42px no-repeat, linear-gradient(var(--bg) 0 0) 0 170px / 100% 44px no-repeat; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0, 0 26px, 0 100px, 0 170px; } }
.modal__or { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0; }
.modal__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px; padding: 13px; border-radius: 14px; background: var(--bg); font-weight: 500; text-decoration: none; }
.modal__phone .ico { width: 16px; color: var(--blue); }
.modal__privacy { margin: 12px 16px 0; text-align: center; font-size: 12px; color: var(--muted); }

/* Подвал */
.footer { margin-top: clamp(24px, 4vw, 48px); background: var(--dark); color: rgba(255, 255, 255, .72); border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0; padding-block: clamp(44px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer__about { display: grid; justify-items: start; align-content: start; gap: 14px; }
.footer__about p { font-size: 15px; }
.footer__phone { font-size: 24px; font-weight: 500; letter-spacing: -.03em; color: #fff; text-decoration: none; }
.footer__mail { text-decoration: none; }
.footer__partner { display: inline-flex; padding: 8px 14px; border-radius: 10px; background: #fff; }
.footer__partner img { height: 34px; width: auto; }
.footer__title { color: #fff; font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.footer__col ul { display: grid; gap: 8px; }
.footer a { transition: color .2s; }
.footer__col a, .footer__bottom a { text-decoration: none; font-size: 14px; }
.footer a:hover { color: #FFB37A; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
.callbar { display: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1140px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__pill--act { padding-left: 6px; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .why, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__about { grid-column: 1 / -1; }
  .all-services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero__stage { min-height: 0; }
  .hero__grid, .hero__grid--page { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { margin: 10px auto 30px; }
  .hero__visual--scene { padding-right: 0; }
  .hero__buddy { width: 110px; right: -8px; }
  .float--a { left: 0; }
  .float--b { right: 0; }
  .zero, .reviews, .posts, .features--3, .why--3 { grid-template-columns: repeat(2, 1fr); }
  .mini, .honest, .city-text, .local, .calc, .cta, .consult, .longread, .philosophy { grid-template-columns: 1fr; }
  .calc__total { position: static; }
  .pains, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .honest__art { margin-bottom: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .header { padding-block: 8px; }
  .header__pill--act .btn--lead > span:last-child { display: none; }
  .header__pill--act .btn--lead { padding: 0 6px; width: 44px; }
  .logo__text small { display: none; }
  .zero, .reviews, .posts, .features, .features--3, .why, .why--3, .svc-grid, .pains, .steps, .themes, .calc__addons, .calc__addons--3, .all-services { grid-template-columns: 1fr; }
  .calc__row { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__phone--inline { margin: 6px 0 0; }
  .mega { display: none; }
  .float { padding: 8px 12px 8px 8px; }
  .float small { display: none; }
  .float--c { display: none; }
  .callbar { position: fixed; z-index: 60; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 20px; background: rgba(14, 20, 48, .92); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); }
  .callbar__phone { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: clamp(14px, 4vw, 17px); white-space: nowrap; }
  .callbar__phone .ico { width: 18px; color: #FFB37A; }
  .callbar .btn { padding: 0 14px 0 8px; gap: 8px; font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Карточка итога калькулятора: длинная кнопка и плашка переносятся, а не вылезают за край */
.calc__total > * { min-width: 0; }
.calc__total .btn { white-space: normal; height: auto; min-height: 58px; padding-block: 12px; text-align: center; line-height: 1.25; }

@media (max-width: 760px) {
  /* Длинные подписи кнопок переносятся, а не распирают карточку */
  .hero__actions .btn, .consult__card .btn, .art-cta .btn { white-space: normal; height: auto; min-height: var(--h); padding-block: 10px; line-height: 1.25; text-align: left; }
  .hero__card { min-width: 0; }
}

/* Все сферы — раскрываются кнопкой, как «Показать ещё» на старом сайте */
.all-topics { margin-top: 26px; }
.all-topics > summary { list-style: none; width: fit-content; margin-inline: auto; }
.all-topics > summary::-webkit-details-marker { display: none; }
.all-topics[open] > summary { margin-bottom: 26px; }
.all-topics__list { columns: 4 230px; column-gap: 24px; padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.all-topics__group { break-inside: avoid; margin-bottom: 16px; }
.all-topics__letter { font-size: 22px; font-weight: 500; color: var(--blue); margin-bottom: 4px; }
.all-topics ul { list-style: none; margin: 0; padding: 0; }
.all-topics a { display: inline-block; padding: 2px 0; font-size: 14px; text-decoration: none; }
.all-topics a:hover { color: var(--blue); }

/* Города: крупные сразу, полный список по кнопке */
.top-cities { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.all-cities { position: relative; z-index: 2; margin-top: 22px; }
.all-cities > summary { list-style: none; width: fit-content; }
.all-cities > summary::-webkit-details-marker { display: none; }
.all-cities[open] > summary { margin-bottom: 22px; }
.all-cities[open] > summary::after { content: ' ↑'; }

/* Бизнесёнок на карточке героя — только на мобильных, вместо отдельного блока */
.hero__card { position: relative; }
.hero__card-buddy { display: none; }
@media (max-width: 980px) {
  .hero--home .hero__visual--mascot { display: none; }
  .hero--home .hero__stage { padding-top: 86px; }
  .hero__card-buddy { display: block; position: absolute; z-index: 2; top: -96px; right: 6px; width: 104px; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .4)); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
  .hero--home .hero__card .badge { max-width: calc(100% - 96px); }
}
@media (max-width: 760px) {
  .callbar .btn { font-size: 14px; padding-right: 12px; }
  .callbar__phone { font-size: clamp(13px, 3.8vw, 16px); }
}

/* Мобильный первый экран: ровные кнопки и телефон, цена в одну строку */
.hero__price s, .hero__price b { white-space: nowrap; }
@media (max-width: 760px) {
  .hero__price { flex-wrap: wrap; gap: 4px 10px; }
  .hero__price s { font-size: 17px; }
  .hero__price b { font-size: 44px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero__actions .btn { justify-content: center; text-align: center; gap: 14px; padding-inline: 18px; }
  .hero__actions .btn--lead { padding-left: 14px; }
  .hero__phone { display: block; text-align: center; margin-top: 16px; }
  .hero__phone--inline { margin: 4px 0 0; }
  .hero__card-buddy { top: -118px; right: 4px; }
  .hero--home .hero__card .badge { max-width: calc(100% - 84px); font-size: 13px; }
  .geo-map { display: none; }
  .callbar { padding-left: 12px; gap: 8px; }
  .callbar .btn { padding: 0 12px 0 6px; gap: 8px; font-size: 14px; }
  .callbar .btn__ico { width: 28px; height: 28px; }
}
@media (max-width: 370px) {
  .callbar__phone .ico { display: none; }
  .callbar .btn { font-size: 13px; }
}

/* Иконка в кнопке — всегда круг, даже когда подпись переносится на две строки */
.btn__ico { flex: none; aspect-ratio: 1; }

/* Мобильный бизнесёнок — внутри карточки, справа от бейджа и заголовка, а не над ней */
@media (max-width: 980px) {
  .hero--home .hero__stage { padding-top: 0; }
  .hero__card-buddy { top: 14px; right: 10px; width: clamp(82px, 24vw, 120px); animation: none; }
  .hero--home .hero__card .badge { max-width: calc(100% - clamp(86px, 25vw, 124px)); }
  .hero--home .hero__card .h1 { padding-right: clamp(64px, 19vw, 100px); }
}
@media (max-width: 400px) {
  .hero__card-buddy { width: 70px; right: 6px; }
  .hero--home .hero__card .badge { max-width: calc(100% - 66px); }
  .hero--home .hero__card .h1 { font-size: 31px; padding-right: 52px; }
}

/* Телефон: любая кнопка переносит подпись и не шире своего блока */
@media (max-width: 760px) {
  .btn { white-space: normal; max-width: 100%; height: auto; min-height: var(--h); padding-block: 10px; line-height: 1.25; text-align: center; }
  .cta__actions, .city-text__cta, .consult__card, .art-end { width: 100%; }
  .cta__actions .btn, .art-end .btn, .universal .btn, .mini__card .btn { width: 100%; }
}
@media (max-width: 760px) {
  .callbar .btn, .header__pill .btn { white-space: nowrap; min-height: 0; height: var(--h); padding-block: 0; }
}
@media (max-width: 370px) {
  .callbar { padding-left: 10px; gap: 6px; }
  .callbar__phone { font-size: 13px; }
  .callbar .btn { padding: 0 10px 0 5px; gap: 6px; font-size: 13px; }
  .callbar .btn__ico { width: 26px; height: 26px; }
}

/* Подпись кнопки всегда цвета самой кнопки — правила вида «.блок span» её не перекрашивают */
.btn > span:not(.btn__ico) { color: inherit; }
/* Оранжевые кнопки — оттенок темнее акцентного, чтобы белая подпись читалась (контраст ≥ 3:1 для крупного текста) */
.btn--orange { background: #DE5600; }
.btn--orange:hover { background: #C24A00; }
/* Кнопки внутри текста статьи — не обычные ссылки: без синего цвета и подчёркивания */
.prose--article a.btn--orange, .prose--article a.btn--blue { color: #fff; text-decoration: none; }

/* Калькулятор на телефоне: плотные поля, допуслуги в две колонки, итог прилипает к низу экрана */
@media (max-width: 760px) {
  #calculator .panel { padding-inline: 12px; }
  .calc { gap: 10px; }
  .calc__main { gap: 8px; }
  .calc__row { gap: 8px; padding: 12px 14px; border-radius: 16px; }
  .calc__row:nth-child(2) { grid-template-columns: 1fr auto; }
  .calc__row .sel { max-width: none; }
  .addon__label { font-size: 13px; line-height: 1.25; }
  .calc__addons, .calc__addons--3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .addon { gap: 6px; padding: 10px; border-radius: 14px; }
  .addon .sel { height: 38px; padding: 0 26px 0 10px; font-size: 13px; background-position: right 9px center; }
  .stepper { padding: 3px; gap: 2px; }
  .stepper button { width: 28px; height: 28px; font-size: 16px; }
  .stepper--big button { width: 36px; height: 36px; font-size: 20px; }
  .stepper--big output { min-width: 34px; font-size: 19px; }
  .calc__total { position: sticky; z-index: 5; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 12px 12px 16px; border-radius: 20px; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .55); }
  .calc__label { grid-column: 1; font-size: 12px; }
  .calc__sum { grid-column: 1; font-size: 28px; }
  .calc__total .btn { grid-column: 2; grid-row: 1 / 3; width: auto; min-height: 48px; padding: 8px 14px; font-size: 14px; max-width: 150px; }
  .calc__zero, .calc__phone { display: none; }
}
.calc__cta-short { display: none; }
@media (max-width: 760px) { .calc__cta-long { display: none; } .calc__cta-short { display: inline; } }
@media (max-width: 760px) { .calc__addons--3 .addon:last-child:nth-child(odd) { grid-column: span 2; } }

/* Кнопка-подсказка в карточке сферы: вся карточка кликабельна, «У меня эта тематика» показывает действие */
.theme { flex-direction: row; }
.theme__body { display: flex; flex-direction: column; align-items: flex-start; min-height: 100%; }
.theme__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 12px; border-radius: 100px; background: var(--sky); color: var(--blue-ink); font-size: 13px; font-weight: 500; transition: background .25s, color .25s; }
.theme__cta .ico { width: 14px; height: 14px; transition: translate .3s var(--ease); }
.theme:hover .theme__cta { background: var(--blue); color: #fff; }
.theme:hover .theme__cta .ico { translate: 3px 0; }
/* «У меня эта тематика» — яркая, как «Оставить заявку» */
.theme__cta { background: #DE5600; color: #fff; padding: 8px 14px; box-shadow: 0 8px 18px -10px rgba(222, 86, 0, .8); }
.theme:hover .theme__cta { background: #C24A00; color: #fff; }

/* Телефон в окне заявки: подпись сверху, номер одной строкой */
.modal__phone { justify-content: flex-start; gap: 12px; padding: 12px 16px; }
.modal__phone-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sky); color: var(--blue); flex: none; }
.modal__phone-ico .ico { width: 18px; height: 18px; }
.modal__phone small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.modal__phone b { display: block; font-size: 18px; white-space: nowrap; letter-spacing: -.01em; }

/* Окно в режиме «предложение»: бизнесёнок выглядывает из шапки */
.modal__head { position: relative; overflow: hidden; }
.modal__buddy { display: none; }
.modal.is-promo .modal__head { padding-right: 150px; min-height: 230px; }
.modal.is-promo .modal__buddy { display: block; position: absolute; right: 6px; bottom: -70px; width: 140px; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); animation: buddy-peek .8s var(--ease-out) .15s both; pointer-events: none; }
@keyframes buddy-peek { from { transform: translateY(60px) rotate(6deg); opacity: 0; } }
@media (max-width: 480px) {
  .modal.is-promo .modal__head { padding-right: 112px; min-height: 0; }
  .modal.is-promo .modal__buddy { width: 106px; bottom: -48px; right: 0; }
}

/* Баннер на телефоне: карточка над нижней панелью */
.promo { position: fixed; z-index: 65; left: 8px; right: 8px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 74px 1fr; grid-template-rows: auto auto; align-items: center; gap: 4px 12px; padding: 12px 14px 12px 8px; border-radius: 22px; background: radial-gradient(70% 120% at 100% 0%, rgba(143, 176, 255, .45), transparent 60%), linear-gradient(130deg, #142A8C, #2152E8); color: #fff; box-shadow: 0 24px 50px -16px rgba(8, 14, 40, .7); transform: translateY(140%); transition: transform .55s var(--ease-out); overflow: visible; }
.promo.is-in { transform: none; }
.promo__buddy { grid-row: 1 / 3; width: 74px; height: auto; margin-top: -46px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.promo__text { display: grid; gap: 2px; padding-right: 26px; }
.promo__text b { font-size: 16px; }
.promo__text span { font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.3; }
.promo .btn { grid-column: 2; justify-self: start; }
.promo__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.promo__close .ico { width: 16px; height: 16px; }
@media (min-width: 761px) { .promo { display: none !important; } }
/* Отступ под бизнесёнка — только у заголовка и текста, плашка «0 ₽» на всю ширину */
.modal.is-promo .modal__head { padding-right: 28px; }
.modal.is-promo .modal__title, .modal.is-promo .modal__text { padding-right: 128px; }
@media (max-width: 480px) {
  .modal.is-promo .modal__head { padding-right: 20px; }
  .modal.is-promo .modal__title, .modal.is-promo .modal__text { padding-right: 92px; }
}
/* Число внутри цифры («200» в «200+») — не подпись: тот же размер и цвет, что у знака */
.stat b span { font-size: inherit; color: inherit; }

/* Плашка cookie / подписки: фиксированная карточка, вёрстку не сдвигает */
.consent { position: fixed; z-index: 66; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); display: flex; align-items: flex-end; gap: 12px; padding: 16px 18px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px -18px rgba(8, 14, 40, .45), 0 0 0 1px var(--line); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease-out); }
.consent.is-in { opacity: 1; transform: none; }
.consent__buddy { width: 64px; height: auto; margin: -38px 0 -4px -6px; flex: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .25)); }
.consent__body { display: grid; gap: 6px; font-size: 14px; line-height: 1.4; }
.consent__body b { font-size: 16px; }
.consent__body span { color: var(--ink-2); }
.consent__body a { color: var(--blue); }
.consent__body--done b { color: var(--blue); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.consent .btn--sm { --h: 40px; }
.footer__cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.footer__cookie:hover { color: #FFB37A; }
@media (max-width: 760px) {
  .consent { left: 8px; right: 8px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); padding: 14px; }
  .consent .btn { flex: 1 1 auto; }
}

/* Ярлык «Бесплатно» над карточкой подписки */
.consent__tag { position: absolute; top: -13px; left: 88px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; background: linear-gradient(135deg, #FF7A1A, #DE5600); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(222, 86, 0, .8); animation: tag-pop .6s var(--ease-out) .2s both; }
@keyframes tag-pop { from { opacity: 0; transform: translateY(6px) scale(.85); } }

.mascot__pic { display: contents; }

/* Контрастность по WCAG AA: оранжевый для текста и кнопок с белым текстом — темнее, приглушённый текст — темнее */
:root { --muted: #59617A; --orange-text: #B84600; }
.accent-orange, .hero__price b { color: var(--orange-text); }
.btn--orange, .theme__cta { background: #B84600; }
.btn--orange:hover, .theme:hover .theme__cta { background: #9C3B00; }
.panel--blue .accent-orange, .cta .accent-orange { color: #FFC08F; }

/* Телефон: первый экран рисуется сразу, без анимаций появления; бегущая строка стартует позже */
@media (max-width: 980px) {
  .hero__card, .h1.is-hero, .hero__visual, .hero__photo, .counter, .hero__link { animation: none; }
  .tk__track { animation-delay: 4s; }
  .hero__card-buddy { animation: none; }
}
