/* НАПинтех v2 — стили сайта. Токены → база → компоненты → секции → тарифы → утилиты */
/* Onest - локально (без Google Fonts), вариативный 400-800 */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/onest-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; }
:root {
  --ink: #0A0F2C;
  --ink-2: #2B3354;
  --muted: #5F6888;
  --line: #E2E7F3;
  --line-2: #CFD7EA;
  --bg: #FFFFFF;
  --bg-soft: #F2F6FC;
  --bg-soft-2: #EAF0FA;

  --blue: #384BFF;            /* фирменный (знак логотипа) */
  --blue-600: #2637E8;
  --blue-50: #EEF1FF;
  --sky: #0A8CFF;             /* «технологичный» синий */
  --cyan: #2FC6F6;            /* Битрикс24 */
  --violet: #5B2BE0;
  --orange: #FF7A00;          /* CTA, как на текущем сайте */
  --orange-600: #EB6A00;
  --lime: #6BDB1A;            /* AI-акцент */
  --green: #19B85A;
  --red-badge: #FF5A1F;

  --grad-hero: linear-gradient(118deg, #0B6BFF 0%, #2D3BF5 42%, #4B23D4 78%, #5B1FC7 100%);
  --grad-soft: linear-gradient(180deg, #F4F8FF 0%, #EAF1FC 100%);
  --grad-text: linear-gradient(90deg, #0A8CFF, #384BFF 60%, #5B2BE0);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 44, .05), 0 2px 8px rgba(10, 15, 44, .04);
  --shadow: 0 18px 40px -18px rgba(23, 37, 120, .28), 0 4px 10px rgba(10, 15, 44, .04);
  --shadow-lg: 0 40px 80px -30px rgba(23, 37, 120, .45);
  --ring: 0 0 0 3px rgba(56, 75, 255, .35);

  --container: 1280px;
  --gutter: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }
.accent { color: var(--sky); }
.accent-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: #D8DEFF; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.soft { background: var(--bg-soft); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Заголовок секции в стиле «линия + акцент» */
.head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 900px; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { position: relative; }
.head .line-title::before { content: ""; position: absolute; right: calc(100% + 24px); top: .55em; width: 100vw; max-width: 140px; height: 4px; background: var(--ink); border-radius: 2px; }
.head .lead { margin-top: 18px; max-width: 720px; }
.head.center .lead { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: "⟵"; font-size: 1rem; letter-spacing: 0; }
.kicker::after { content: "⟶"; font-size: 1rem; letter-spacing: 0; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  letter-spacing: .02em; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-upper { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(56, 75, 255, .8); }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 16px 30px -12px rgba(56, 75, 255, .9); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 28px -12px rgba(255, 122, 0, .75); }
.btn-orange:hover { background: var(--orange-600); color: #fff; }
.btn-sky { background: var(--sky); color: #fff; box-shadow: 0 12px 24px -12px rgba(10, 140, 255, .8); }
.btn-sky:hover { background: #0079E6; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--blue-50); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.arrow-btn { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); }
.arrow-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.arrow-btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line-2); }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(10, 15, 44, .35); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand .logo-mark { color: var(--blue); transition: transform .6s var(--ease); }
.brand:hover .logo-mark { transform: rotate(90deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .nav-drop > button { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font: inherit; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.main-nav a:hover, .nav-drop > button:hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a[aria-current="page"], .nav-drop.active > button { color: var(--blue); background: var(--blue-50); }
.nav-drop { position: relative; }
.nav-drop > button svg { transition: transform .2s; }
.nav-drop .drop {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 300px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-drop .drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-drop:hover .drop, .nav-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover > button svg, .nav-drop.open > button svg { transform: rotate(180deg); }
.drop a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; }
.drop a img { width: 44px; height: 44px; }
.drop a span { display: flex; flex-direction: column; line-height: 1.25; }
.drop a b { color: var(--ink); font-size: .98rem; }
.drop a small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.drop a:hover { background: var(--bg-soft); }
.nav-phone { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--ink); font-weight: 700; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.15; }
.header-phone small { color: var(--muted); font-weight: 500; font-size: .75rem; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1200px) { .header-phone { display: none; } }
@media (max-width: 1000px) {
  .burger { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 12px var(--gutter) 28px; background: #fff; box-shadow: var(--shadow-lg); max-height: calc(100dvh - var(--header-h)); overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; }
  .main-nav a, .nav-drop > button { padding: 14px; font-size: 1.08rem; border-radius: 14px; width: 100%; }
  .nav-drop .drop { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 8px; min-width: 0; display: none; }
  .nav-drop.open .drop { display: block; }
  .nav-phone { display: flex !important; margin-top: 8px; color: var(--ink) !important; font-weight: 700 !important; }
}
@media (max-width: 520px) { .header-actions .btn { display: none; } .brand-text small { display: none; } }

/* ======== HERO (градиентная панель со срезанным углом) ======== */
.hero { padding: 12px 0 0; position: relative; }
.hero-panel {
  position: relative; overflow: hidden; color: #fff; background: var(--grad-hero); border-radius: var(--r-xl);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 64% 100%, calc(64% - 70px) calc(100% - 70px), 0 calc(100% - 70px));
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px) calc(clamp(40px, 6vw, 80px) + 70px);
  min-height: 640px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center;
}
.hero-panel::before { content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 198, 246, .55), transparent); pointer-events: none; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 .arr { display: inline-flex; align-items: flex-end; gap: .2em; }
.hero h1 .arr svg { width: .75em; height: .75em; margin-bottom: .08em; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 600px; }
.hero .lead strong { color: #9FE3FF; font-weight: 600; }
.pill-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; margin-bottom: 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); font-size: .9rem; font-weight: 600; backdrop-filter: blur(6px); }
.pill-badge img { width: 28px; height: 28px; }
.hero-checks { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; list-style: none; padding: 0; margin: 28px 0 36px; font-weight: 500; }
.hero-checks li { display: flex; gap: 10px; align-items: center; }
.hero-checks svg { color: #9FE3FF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; gap: 14px; align-items: center; margin-top: 28px; font-weight: 600; font-size: .95rem; max-width: 440px; }
.hero-note svg { flex-shrink: 0; }
.hero-visual { position: relative; z-index: 1; align-self: stretch; min-height: 520px; }
.hero-person { position: absolute; bottom: calc(-1 * clamp(40px, 6vw, 80px) - 70px); right: -10px; width: min(460px, 100%); filter: drop-shadow(0 30px 40px rgba(10, 15, 44, .35)); }
.hero-person img { width: 100%; }
.glass {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; color: var(--ink);
  background: rgba(255, 255, 255, .94); box-shadow: 0 20px 40px -16px rgba(10, 15, 44, .45); font-size: .88rem; font-weight: 600; line-height: 1.3; backdrop-filter: blur(10px);
  animation: bob 6s ease-in-out infinite; max-width: 270px;
}
.glass img { width: 38px; height: 38px; flex-shrink: 0; }
.glass small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.glass-1 { left: -60px; top: 30%; }
.glass-2 { right: -8px; top: 0; animation-delay: -2s; }
.glass-3 { left: -20px; bottom: 4%; animation-delay: -4s; }
.float3d { position: absolute; z-index: 2; width: 84px; filter: drop-shadow(0 18px 24px rgba(10, 15, 44, .35)); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-2deg); } }
@media (max-width: 1100px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; clip-path: none; padding-bottom: 0; }
  .hero-visual { min-height: 460px; }
  .hero-person { position: absolute; bottom: 0; right: 50%; translate: 50% 0; width: min(380px, 80%); }
  .glass-1 { left: 0; }
  .glass-3 { left: auto; right: 0; }
}
@media (max-width: 600px) {
  .hero-checks { grid-template-columns: 1fr; }
  .glass { font-size: .78rem; padding: 10px 12px; max-width: 210px; }
  .glass img { width: 30px; height: 30px; }
  .glass-2 { right: 0; }
  .hero-panel { border-radius: var(--r-lg); }
  .hero-visual { min-height: 400px; }
}

/* Якорные «пилюли» */
.anchors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.anchors a { padding: 10px 20px; border: 1.5px solid var(--sky); border-radius: 999px; color: var(--sky); font-weight: 600; font-size: .92rem; transition: all .2s; }
.anchors a:hover { background: var(--sky); color: #fff; }
@media (max-width: 1100px) { .anchors { justify-content: flex-start; } }

/* Бегущая строка логотипов */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marquee-item img { height: 44px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ======== Интерактивные вкладки «процессы» ======== */
.proc { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.proc-tabs { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 24px); }
.proc-tab { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--r); border: 1.5px solid transparent; background: transparent; font: inherit; color: var(--ink-2); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.proc-tab img { width: 48px; height: 48px; transition: transform .35s var(--ease); flex-shrink: 0; }
.proc-tab b { display: block; font-size: 1.08rem; color: var(--ink); letter-spacing: -.01em; }
.proc-tab small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.proc-tab:hover { background: var(--bg-soft); }
.proc-tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.proc-tab[aria-selected="true"] img { transform: scale(1.12) rotate(-6deg); }
.proc-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad-text); }
.proc-tab[aria-selected="true"] .bar { animation: fillbar var(--dur, 7s) linear forwards; }
.proc.paused .proc-tab .bar { animation-play-state: paused; }
@keyframes fillbar { to { width: 100%; } }
.proc-stage { position: relative; border-radius: var(--r-xl); background: var(--grad-hero); padding: clamp(18px, 3vw, 36px); min-height: 560px; overflow: hidden; }
.proc-stage::before { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 198, 246, .5), transparent); }
.proc-panel { position: relative; display: none; }
.proc-panel.on { display: block; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.proc-caption { color: #fff; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.proc-caption span { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .86rem; font-weight: 600; border: 1px solid rgba(255,255,255,.2); }
@media (max-width: 980px) {
  .proc { grid-template-columns: 1fr; }
  .proc-tabs { position: static; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 10px; }
  .proc-tab { scroll-snap-align: start; }
  .proc-stage { min-height: 0; }
}

/* Макет окна Битрикс24 */
.app { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(5, 10, 40, .6); overflow: hidden; font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #F5F7FB; border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF6159; }
.app-bar i:nth-child(2) { background: #FFBD2E; }
.app-bar i:nth-child(3) { background: #28C941; }
.app-bar b { margin-left: 8px; font-size: 13px; }
.app-bar .app-search { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--muted); border: 1px solid var(--line); font-size: 11.5px; }
.app-body { display: grid; grid-template-columns: 52px 1fr; min-height: 400px; }
.app-side { background: #1F2A4D; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 14px 0; }
.app-side i { width: 24px; height: 24px; border-radius: 8px; background: rgba(255,255,255,.14); }
.app-side i.on { background: var(--cyan); }
.app-main { padding: 16px; overflow: hidden; }
.app-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.app-toolbar b { font-size: 16px; margin-right: 6px; }
.chip-s { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 600; font-size: 11px; }
.chip-s.blue { background: var(--cyan); color: #fff; }
.chip-s.green { background: #DFF6E7; color: #0B7A3A; }

.kb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kb-col h5 { margin: 0 0 8px; padding: 6px 8px; border-radius: 8px; color: #fff; font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; }
.kb-card { background: #F6F8FC; border: 1px solid var(--line); border-radius: 10px; padding: 9px; margin-bottom: 8px; }
.kb-card b { display: block; font-size: 12px; }
.kb-card span { color: var(--muted); font-size: 11px; }
.kb-card em { display: block; font-style: normal; font-weight: 700; margin-top: 4px; }
.kb-card.moving { position: relative; z-index: 2; animation: dealMove 4s var(--ease) infinite; box-shadow: var(--shadow); background: #fff; border-color: var(--cyan); }
@keyframes dealMove { 0%, 25% { transform: translateX(0); } 55%, 85% { transform: translateX(calc(100% + 10px)); } 100% { transform: translateX(0); } }

.tasks { display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: 18px 1.2fr 2fr 70px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #F6F8FC; }
.task .cb { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--line-2); }
.task.done .cb { background: var(--green); border-color: var(--green); }
.task.done b { text-decoration: line-through; color: var(--muted); }
.gantt { position: relative; height: 10px; border-radius: 999px; background: #E7ECF6; }
.gantt i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--cyan); animation: grow 1.4s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.task .who { display: flex; justify-content: flex-end; }
.ava { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 9.5px; font-weight: 700; margin-left: -6px; border: 2px solid #fff; }

.flow { display: grid; justify-items: start; padding: 8px 4px; }
.flow-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #F6F8FC; border: 1px solid var(--line); min-width: 300px; opacity: 0; animation: stepIn .5s var(--ease) forwards; }
.flow-step img { width: 28px; height: 28px; }
.flow-step small { display: block; color: var(--muted); }
.flow-arrow { width: 2px; height: 18px; margin-left: 28px; background: repeating-linear-gradient(var(--line-2) 0 4px, transparent 4px 7px); }
.flow-step.ok { background: #E9F9EF; border-color: #BDEBCD; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.chat { display: grid; grid-template-columns: 170px 1fr; gap: 12px; min-height: 360px; }
.chat-list { display: grid; gap: 6px; align-content: start; }
.chat-li { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; }
.chat-li.on { background: var(--blue-50); }
.chat-li i { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.chat-li small { display: block; color: var(--muted); font-size: 10.5px; }
.chat-win { background: #F6F8FC; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); opacity: 0; animation: stepIn .45s var(--ease) forwards; }
.msg.me { align-self: flex-end; background: #DCEBFF; }
.msg small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.msg-src { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-bottom: 4px; color: #fff; }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 10px 6px 0; border-bottom: 1px solid var(--line); }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bars i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); animation: rise 1.2s var(--ease) both; transform-origin: bottom; }
.bars span { font-size: 10.5px; color: var(--muted); }
@keyframes rise { from { transform: scaleY(0); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: #F6F8FC; border-radius: 12px; padding: 10px 12px; }
.kpi small { color: var(--muted); display: block; }
.kpi b { font-size: 18px; letter-spacing: -.02em; }
.kpi em { font-style: normal; color: var(--green); font-weight: 700; font-size: 11px; margin-left: 4px; }

.ai-call { display: grid; gap: 12px; }
.wave { display: flex; align-items: center; gap: 3px; height: 46px; padding: 0 12px; background: #F6F8FC; border-radius: 12px; }
.wave i { flex: 1; height: 100%; background: var(--cyan); border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(.9); } }
.ai-sum { border: 1.5px solid #C7F0A8; background: #F3FCEB; border-radius: 12px; padding: 12px 14px; }
.ai-sum b { display: flex; gap: 8px; align-items: center; color: #2F7A00; margin-bottom: 6px; }
.ai-sum b img { width: 22px; height: 22px; }
.ai-sum ul { margin: 0; padding-left: 18px; }
.ai-sum li { opacity: 0; animation: stepIn .4s var(--ease) forwards; }
.score { display: flex; gap: 10px; flex-wrap: wrap; }
.score span { padding: 6px 10px; border-radius: 10px; background: #F6F8FC; font-weight: 600; }
.score span b { color: var(--green); }

@media (max-width: 640px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .kb { grid-template-columns: repeat(2, 1fr); }
  .kb-col:nth-child(n+3) { display: none; }
  .task { grid-template-columns: 18px 1fr 60px; }
  .task .gantt { display: none; }
  .chat { grid-template-columns: 1fr; min-height: 0; }
  .chat-list { display: none; }
  .flow-step { min-width: 0; width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
}

/* ======== Карточки с 3D-иконками ======== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.b-card {
  --cut-s: 34px;
  position: relative; grid-column: span 2; padding: 36px 32px 32px; border-radius: var(--r-lg); background: var(--grad-soft);
  clip-path: polygon(var(--cut-s) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-s));
  transition: transform .35s var(--ease), background .35s;
}
.b-card:hover { transform: translateY(-6px); }
.b-card.wide { grid-column: span 3; }
.b-card img.i3d { width: 92px; height: 92px; margin-bottom: 26px; filter: drop-shadow(0 14px 18px rgba(23, 37, 120, .22)); transition: transform .5s var(--ease); }
.b-card:hover img.i3d { transform: translateY(-6px) rotate(-8deg) scale(1.06); }
.b-card h3 { color: var(--sky); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.b-card.ai h3 { color: #3BA700; }
.b-card p { color: var(--ink-2); margin-bottom: 16px; }
.b-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.b-card ul li::marker { color: var(--sky); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-card, .b-card.wide { grid-column: span 1; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }

.icards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icard { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); border: 1.5px solid #DCE8F6; background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #BCD6F5; }
.icard img.i3d { width: 76px; height: 76px; margin-bottom: 22px; filter: drop-shadow(0 12px 14px rgba(23, 37, 120, .2)); }
.icard h3 { font-size: 1.45rem; margin-bottom: 10px; }
.icard p { color: var(--ink-2); margin-bottom: 18px; }
.icard.cta-card { background: var(--bg-soft); border-color: transparent; justify-content: center; }
.icard.cta-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.icard.cta-card .btn { align-self: flex-start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; border: 1.2px solid var(--sky); color: var(--sky); border-radius: 999px; font-size: .86rem; font-weight: 500; }
.tags-note { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
@media (max-width: 1000px) { .icards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .icards { grid-template-columns: 1fr; } }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; min-height: 44px; }
.filter button:hover { border-color: var(--sky); color: var(--sky); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-hidden { display: none !important; }

/* ======== О компании ======== */
.about { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.about::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; z-index: 1; }
.collage { position: relative; min-height: 600px; }
.collage .ph-1 { position: absolute; left: 0; top: 0; width: 72%; height: 82%; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 140px; overflow: hidden; box-shadow: var(--shadow-lg); }
.collage .ph-2 { position: absolute; right: 0; bottom: 0; width: 48%; height: 56%; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .badge-cert { position: absolute; left: 24px; bottom: 30px; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font: inherit; font-weight: 700; cursor: zoom-in; border: 0; text-align: left; animation: bob 6s ease-in-out infinite; }
.collage .badge-cert img { width: 44px; height: 44px; }
.collage .badge-cert small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.about h2 { color: #fff; }
.about .lead { color: rgba(255,255,255,.85); }
.about .kicker { color: #fff; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 40px; }
.about-tiles div { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.12); font-weight: 700; line-height: 1.3; border: 1px solid rgba(255,255,255,.12); transition: background .2s, transform .2s; }
.about-tiles div:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; }
.counter b { display: block; font-size: clamp(2rem, 3.2vw, 2.8rem); white-space: nowrap; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.counter span { color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.3; display: block; }
@media (max-width: 1000px) { .about-grid { grid-template-columns: 1fr; } .collage { min-height: 480px; } }
@media (max-width: 600px) { .counters { grid-template-columns: 1fr 1fr; } .about-tiles { grid-template-columns: 1fr; } .collage { min-height: 380px; } }

/* ======== До / после ======== */
.ba { display: grid; justify-items: center; gap: 36px; }
.ba-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-2); }
.ba-switch button { position: relative; z-index: 1; padding: 12px 26px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; border-radius: 999px; min-height: 48px; transition: color .3s; }
.ba-switch button[aria-pressed="true"] { color: #fff; }
.ba-switch .knob { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: #E5484D; transition: transform .45s var(--ease), background-color .45s; }
.ba.after .ba-switch .knob { transform: translateX(100%); background: var(--green); }
.ba-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ba-card { position: relative; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); min-height: 200px; transition: border-color .45s, background-color .45s; }
.ba-card .face { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ba-card .face.after { position: absolute; inset: 28px; opacity: 0; transform: translateY(14px); }
.ba.after .ba-card .face.before { opacity: 0; transform: translateY(-14px); }
.ba.after .ba-card .face.after { opacity: 1; transform: none; }
.ba.after .ba-card { border-color: #BDEBCD; background: #F6FDF8; }
.ba-card img { width: 44px; height: 44px; margin-bottom: 14px; }
.ba-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ba-card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.ba-card .face.before h3 { color: #C2262C; }
.ba-card .face.after h3 { color: #0B7A3A; }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ba-grid { grid-template-columns: 1fr; } .ba-card { min-height: 190px; } }

/* ======== Этапы — слайдер ======== */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.slider-head .head { margin: 0; }
.slider-nav { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 12px; }
.dots button { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sky); background: #fff; padding: 0; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #B9D9FF; transition: background .2s; }
.dots button[aria-current="true"]::after { background: var(--sky); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.stage-card { scroll-snap-align: start; }
.stage-top { position: relative; height: 180px; border-radius: var(--r); background: linear-gradient(180deg, #F7FAFF, #E3EEFC); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%); overflow: hidden; margin-bottom: 22px; }
.stage-top b { position: absolute; left: 6px; bottom: -18px; font-size: 6rem; font-weight: 800; letter-spacing: -.06em; color: #fff; line-height: 1; -webkit-text-stroke: 1.5px #CFE3FB; }
.stage-top img { position: absolute; right: 16%; top: 16px; width: 130px; filter: drop-shadow(0 20px 20px rgba(23, 37, 120, .25)); transition: transform .5s var(--ease); }
.stage-card:hover .stage-top img { transform: translateY(-8px) rotate(-6deg); }
.stage-card h3 { font-size: 1.35rem; font-weight: 600; }
.stage-card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 1100px) { .track { grid-auto-columns: calc((100% - 20px) / 2.2); } }
@media (max-width: 600px) { .track { grid-auto-columns: 82%; } }

/* ======== Сертификат ======== */
.cert { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cert-img { position: relative; border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(8deg) rotateX(3deg); transition: transform .5s var(--ease); }
.cert-img:hover { transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.01); }
.cert-img .zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); }
.cert ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 16px; }
.cert li { display: flex; gap: 14px; align-items: flex-start; }
.cert li img { width: 36px; height: 36px; flex-shrink: 0; }
@media (max-width: 900px) { .cert { grid-template-columns: 1fr; } .cert-img { transform: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92dvh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 25, .82); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88dvh; width: auto; border-radius: 16px; }
.lightbox .dialog-close { top: -18px; right: -18px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }

/* ======== Калькулятор тарифа ======== */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.calc-in { padding: clamp(28px, 4vw, 48px); }
.calc-in h3 { font-size: 1.1rem; margin: 0 0 14px; }
.calc-out { padding: clamp(28px, 4vw, 48px); background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.calc-out::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,198,246,.45), transparent); pointer-events: none; }
.calc-out > * { position: relative; }
.calc label.lbl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 12px; }
.calc label.lbl output { color: var(--blue); font-size: 1.6rem; letter-spacing: -.03em; }
.range { width: 100%; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p, 10%), #E2E7F3 var(--p, 10%)); outline: none; margin: 4px 0 8px; cursor: pointer; }
.range::-webkit-slider-thumb { appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: var(--shadow); cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: grab; }
.range:focus-visible { box-shadow: var(--ring); }
.range-scale { position: relative; height: 1.2em; color: var(--muted); font-size: .8rem; margin: 0 14px 28px; }
.range-scale span { position: absolute; top: 0; translate: -50% 0; white-space: nowrap; }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.need { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .93rem; transition: all .2s; user-select: none; line-height: 1.25; }
.need img { width: 30px; height: 30px; flex-shrink: 0; }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.need:has(input:focus-visible) { box-shadow: var(--ring); }
.rec-label { font-weight: 600; color: rgba(255,255,255,.75); margin-bottom: 4px; }
.rec-name { font-size: clamp(2.2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 18px; }
.rec-price { font-size: 1.05rem; margin-bottom: 4px; }
.rec-price b { font-size: 2.4rem; letter-spacing: -.03em; }
.rec-why { color: rgba(255,255,255,.82); font-size: .95rem; margin: 12px 0 28px; }
.calc-out .btn { margin-top: auto; align-self: flex-start; }
.mini-switch { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 22px; }
.mini-switch button { border: 0; background: none; color: #fff; font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .9rem; min-height: 40px; }
.mini-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); } }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .needs { grid-template-columns: 1fr; } }

/* ======== FAQ с фото ======== */
.faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-xl) 140px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .3s var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq summary:hover .plus { border-color: var(--blue); }
.faq .faq-body { padding: 0 60px 24px 0; color: var(--ink-2); animation: panelIn .35s var(--ease); }
.faq .faq-body p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-photo { position: relative; top: 0; aspect-ratio: 16/10; } .faq .faq-body { padding-right: 0; } }

/* ======== Градиентная панель «почему мы» ======== */
.why { position: relative; border-radius: var(--r-xl); background: var(--grad-hero); color: #fff; padding: clamp(36px, 6vw, 88px); overflow: hidden; }
.why::before { content: ""; position: absolute; left: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,198,246,.5), transparent); }
.why h2 { color: #fff; max-width: 820px; position: relative; }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 48px; }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.why-item img { width: 48px; height: 48px; }
.why-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.why-item p { margin: 0; color: rgba(255,255,255,.82); font-size: .94rem; }
.why .why-3d { position: absolute; right: 3%; top: 30px; width: 170px; filter: drop-shadow(0 30px 30px rgba(0,0,0,.35)); animation: bob 7s ease-in-out infinite; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: 1fr 1fr; } .why .why-3d { width: 100px; opacity: .6; } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } .why .why-3d { display: none; } }

/* ======== CTA с формой ======== */
.cta { position: relative; border-radius: var(--r-xl); background: var(--blue); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: clamp(32px, 5vw, 64px); padding-bottom: 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 100%, rgba(47,198,246,.45), transparent 50%), radial-gradient(circle at 90% 0, rgba(91,43,224,.5), transparent 45%); pointer-events: none; }
.cta-copy { position: relative; display: flex; flex-direction: column; }
.cta-copy h2 { color: #fff; }
.cta-copy .lead { color: rgba(255,255,255,.85); }
.cta-contacts { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; gap: 12px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 1.05rem; }
.cta-contacts a:hover { color: #9FE3FF; }
.cta-person { position: relative; margin-top: auto; width: min(330px, 80%); }
.form-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lg); align-self: start; margin-bottom: clamp(32px, 5vw, 64px); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding-bottom: clamp(32px, 5vw, 64px); } .cta-person { display: none; } .form-card { margin-bottom: 0; } }

.lead-form { display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 14px;
  padding: 13px 16px; min-height: 52px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: var(--ring); }
.field input[aria-invalid="true"] { border-color: #E5484D; background: #FFF5F5; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.consent.invalid span { color: #E5484D; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1.3em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #E5484D; }
.lead-form.sent > :not(.form-status) { display: none; }
.lead-form.sent .form-status { font-size: 1.1rem; padding: 28px 0; text-align: center; }

.lead-dialog { border: 0; padding: 0; border-radius: var(--r-lg); width: min(500px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: var(--shadow-lg); color: var(--ink); }
.lead-dialog::backdrop { background: rgba(10, 15, 44, .6); backdrop-filter: blur(4px); }
.lead-dialog[open], .lightbox[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.dialog-head { background: var(--grad-hero); color: #fff; padding: 28px 32px 24px; position: relative; overflow: hidden; }
.dialog-head h2 { font-size: 1.7rem; margin-bottom: 6px; color: #fff; padding-right: 48px; }
.dialog-head p { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; padding-right: 60px; }
.dialog-head img { position: absolute; right: 18px; bottom: -10px; width: 70px; opacity: .95; }
.dialog-body { padding: 24px 32px 28px; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; display: grid; place-items: center; }
.dialog-close:hover { background: rgba(255,255,255,.3); }

/* Подвал */
.site-footer { background: #060A22; color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: .95rem; margin-top: clamp(72px, 10vw, 128px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; max-width: 360px; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .logo-mark { color: #6F7DFF; }
.brand-light small { color: rgba(255,255,255,.5); }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: #fff; }
.footer-cert { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #fff; font-weight: 600; line-height: 1.3; margin-top: 18px; }
.footer-cert img { width: 40px; height: 40px; }
.footer-cert small { display: block; color: rgba(255,255,255,.55); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.legal-card { background: var(--bg-soft, #F4F6FB); border-radius: 16px; padding: 20px 24px; margin: 1.2em 0; }
.legal-card p { margin: .2em 0; }
.legal-date { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ======== Внутренние страницы ======== */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 22px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); }

/* Hero «заголовок выходит за панель» */
.hero-split .out-title { position: relative; z-index: 2; margin: 0 0 -0.3em clamp(24px, 5vw, 72px); color: var(--ink); font-size: clamp(3rem, 7.5vw, 6.2rem); letter-spacing: -.05em; }
.hero-split .hero-panel { min-height: 560px; }
.hero-split .in-title { color: #fff; margin: 0 0 28px; display: flex; align-items: flex-end; gap: .25em; font-size: clamp(3rem, 7.5vw, 6.2rem); letter-spacing: -.05em; line-height: 1; }
.hero-split .in-title svg { width: .6em; height: .6em; margin-bottom: .1em; flex-shrink: 0; }
.lead-accent { color: #8FD3FF; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.3; letter-spacing: -.02em; margin-bottom: 18px; max-width: 620px; font-weight: 500; }
.cluster { position: relative; height: 440px; }
.cluster img { position: absolute; filter: drop-shadow(0 30px 30px rgba(5, 10, 50, .45)); animation: bob 7s ease-in-out infinite; }
.cluster .c1 { width: 210px; left: 22%; top: 24%; }
.cluster .c2 { width: 150px; left: 0; bottom: 4%; animation-delay: -2s; }
.cluster .c3 { width: 180px; right: 0; bottom: 12%; animation-delay: -4s; }
.cluster .c4 { width: 96px; right: 14%; top: 2%; animation-delay: -3s; }
.ai-box { position: absolute; z-index: 4; right: 0; top: 64px; max-width: 330px; padding: 22px 26px; border-radius: 22px 0 0 22px; background: var(--lime); color: #0A2A00; box-shadow: 0 20px 40px -16px rgba(30, 90, 0, .55); }
.ai-box b { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.ai-box b img { width: 32px; height: 32px; }
.ai-box p { margin: 0; font-size: .93rem; color: #164400; }
@media (max-width: 1100px) { .cluster { height: 300px; } .cluster .c1 { width: 150px; } .cluster .c2, .cluster .c3 { width: 110px; } .ai-box { display: none; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-photo { position: relative; border-radius: 300px; overflow: hidden; background: var(--sky); aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.statement { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack { --cut-s: 34px; position: relative; display: flex; flex-direction: column; padding: 40px 36px 36px; border-radius: var(--r-lg); background: var(--grad-soft); clip-path: polygon(var(--cut-s) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-s)); transition: transform .3s var(--ease); }
.pack:hover { transform: translateY(-6px); }
.pack.hot { background: var(--grad-hero); color: #fff; }
.pack img.i3d { width: 88px; height: 88px; margin-bottom: 22px; filter: drop-shadow(0 14px 18px rgba(23, 37, 120, .25)); }
.pack h3 { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; margin-bottom: 6px; }
.pack .for { color: var(--muted); margin-bottom: 18px; }
.pack.hot .for { color: rgba(255,255,255,.75); }
.pack .pr { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 20px; }
.pack h4 { color: var(--sky); font-weight: 600; font-size: 1.05rem; margin: 6px 0 10px; letter-spacing: 0; }
.pack.hot h4 { color: #8FD3FF; }
.pack ul { margin: 0 0 26px; padding-left: 20px; display: grid; gap: 8px; font-size: .96rem; }
.pack .btn { margin-top: auto; }
.pack .flag { position: absolute; top: 22px; right: 22px; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: #0A2A00; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
@media (max-width: 1000px) { .packs { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ======== ТАРИФЫ (стиль bitrix24.ru) ======== */
.p-head { text-align: center; max-width: 920px; margin: 0 auto 36px; }
.p-head h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); letter-spacing: -.045em; }
.p-head p { color: var(--ink-2); font-size: 1.05rem; }
.period { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; border: 1.5px solid #9FDCF3; background: #fff; margin-top: 8px; }
.period button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 0; background: none; font: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.period button[aria-pressed="true"] { background: var(--cyan); color: #fff; }
.off { background: var(--red-badge); color: #fff; font-size: .82rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.2; }

.tariffs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; margin-top: 48px; }
.tariff {
  --t: var(--cyan); --t-bg: linear-gradient(180deg, #EAF3FF 0%, #F4F9FF 55%, #fff 100%);
  position: relative; padding: 26px 22px 28px; border-radius: 32px; background: var(--t-bg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tariff:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(23, 37, 120, .35); }
.tariff.free { --t: var(--green); --t-bg: linear-gradient(180deg, #E5FAEC 0%, #F3FDF6 55%, #fff 100%); }
.tariff.ent { --t: #A64BF4; --t-bg: linear-gradient(180deg, #F3EAFF 0%, #FAF6FF 55%, #fff 100%); }
.tariff .flag { position: absolute; top: -18px; left: 50%; translate: -50% 0; padding: 7px 16px; border-radius: 999px; background: var(--cyan); color: #fff; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.tariff h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -.02em; }
.tariff .t-lead { font-size: .9rem; color: var(--ink-2); min-height: 4.2em; line-height: 1.4; margin-bottom: 18px; }
.tariff .t-lead a { color: var(--sky); }
.t-users, .t-disk { font-weight: 700; line-height: 1.2; margin-bottom: 18px; min-height: 2.5em; }
.t-users b, .t-disk b { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.t-users select { width: 100%; font: inherit; font-weight: 700; font-size: 1.05rem; padding: 10px 40px 10px 12px; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M5 8l7 8 7-8z'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer; min-height: 52px; }
.t-price { min-height: 128px; margin-bottom: 18px; }
.t-old { display: flex; align-items: center; gap: 8px; height: 26px; }
.t-old s { color: var(--ink); font-weight: 600; font-size: .98rem; }
.t-now { font-size: clamp(1.9rem, 2.4vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.t-now.free-p { font-size: 2.2rem; margin-top: 26px; }
.t-per { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.t-per u { text-decoration: none; border-bottom: 1.5px dashed currentColor; }
.t-total { font-size: .8rem; color: var(--muted); margin-top: 4px; min-height: 1.2em; }
.t-btn { width: 100%; min-height: 60px; border-radius: 22px; border: 0; background: var(--t); color: #fff; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; transition: filter .2s, transform .2s; margin-bottom: 24px; }
.t-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tools button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 6px; margin: 0 -6px; width: calc(100% + 12px); border: 0; border-radius: 10px; background: none; font: inherit; font-size: .93rem; color: var(--ink); cursor: pointer; text-align: left; transition: background .15s; }
.tools button:hover, .tools button[aria-expanded="true"] { background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); }
.lvl { display: inline-flex; gap: 2px; padding: 2px; border-radius: 6px; border: 1.5px solid var(--t); flex-shrink: 0; }
.lvl i { width: 8px; height: 8px; border-radius: 2px; background: transparent; }
.lvl i.on { background: var(--t); }
.crm1 { font-size: .68rem; font-weight: 800; color: #fff; background: var(--t); padding: 3px 7px; border-radius: 6px; margin-left: auto; margin-right: 4px; }
.tools-more { display: none; }
@media (max-width: 1240px) { .tariffs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .tariffs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .tariffs { grid-template-columns: 1fr; }
  .tariff .t-lead, .t-price { min-height: 0; }
  .tariff:not(.expanded) .tools li:nth-child(n+7) { display: none; }
  .tools-more { display: block; margin-top: 8px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--sky); cursor: pointer; padding: 8px 0; }
}

.pop { position: absolute; z-index: 40; width: min(380px, calc(100vw - 32px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(10, 15, 44, .45); border: 1px solid var(--line); padding: 20px 20px 16px; font-size: .9rem; animation: pop .2s var(--ease); }
.pop h4 { font-size: 1.1rem; margin: 0 0 4px; letter-spacing: -.01em; padding-right: 40px; }
.pop .pop-sub { color: var(--muted); font-size: .82rem; margin-bottom: 12px; }
.pop ul { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow: auto; }
.pop li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--bg-soft-2); }
.pop li span:last-child { font-weight: 700; text-align: right; flex-shrink: 0; max-width: 45%; }
.pop .y { color: var(--green); }
.pop .n { color: var(--line-2); }
.pop .pop-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); cursor: pointer; display: grid; place-items: center; }
.pop a { display: inline-block; margin-top: 12px; font-weight: 700; }

.center-btn { display: flex; justify-content: center; margin-top: 44px; }
.btn-soft { background: var(--bg-soft); color: var(--ink); border-radius: 18px; min-height: 60px; padding: 16px 28px; font-size: 1.02rem; }
.btn-soft:hover { background: var(--bg-soft-2); color: var(--ink); }
.btn-soft svg { transition: transform .3s; }
.btn-soft[aria-expanded="true"] svg { transform: rotate(180deg); }
.btn-soft:hover svg { transform: none; }
.btn-soft[aria-expanded="true"]:hover svg { transform: rotate(180deg); }

.info-i { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--cyan); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; font-family: Georgia, serif; }
.subs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.sub-card { padding: 26px 24px; border-radius: 28px; background: linear-gradient(180deg, #EAF3FF, #F6FAFF); }
.sub-card small { display: block; font-size: .9rem; }
.sub-card h3 { font-size: 1.2rem; margin-bottom: 22px; }
.sub-card .t-now { font-size: 2rem; }
@media (max-width: 1000px) { .subs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .subs { grid-template-columns: 1fr; } }

/* Таблица сравнения */
.compare-box { margin-top: 36px; }
.compare-box[hidden] { display: none; }
.compare-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.search-box { position: relative; flex: 1 1 300px; max-width: 460px; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input { width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; font: inherit; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; user-select: none; min-height: 44px; }
.toggle input { appearance: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--cyan); }
.toggle input:checked::after { transform: translateX(20px); }
.link-btn { border: 0; background: none; font: inherit; font-weight: 600; color: var(--sky); cursor: pointer; padding: 8px 6px; min-height: 44px; }
.compare { border-radius: 28px; overflow: clip; border: 1px solid var(--line); background: #fff; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.compare thead th { position: sticky; top: 0; z-index: 3; padding: 18px 10px; text-align: center; font-weight: 700; background: #fff; border-bottom: 2px solid var(--line); }
.compare thead th:first-child { text-align: left; padding-left: 24px; width: 36%; }
.compare thead th .th-dot { display: block; width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 6px; background: var(--cyan); }
.compare thead th.c-free .th-dot { background: var(--green); }
.compare thead th.c-ent .th-dot { background: #A64BF4; }
.compare td { padding: 12px 10px; border-top: 1px solid var(--bg-soft-2); text-align: center; vertical-align: middle; }
.compare td:first-child { text-align: left; padding-left: 24px; }
.compare td.hl { background: rgba(47, 198, 246, .06); }
.compare .inner td:first-child { padding-left: 44px; color: var(--ink-2); }
.compare .grp td { background: var(--bg-soft); font-weight: 700; font-size: .88rem; }
.compare .sec th { background: #fff; padding: 0; text-align: left; border-top: 1px solid var(--line); }
.compare .sec button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 24px; border: 0; background: none; font: inherit; font-weight: 800; font-size: 1.08rem; color: var(--ink); cursor: pointer; text-align: left; letter-spacing: -.01em; }
.compare .sec button:hover { background: var(--bg-soft); }
.compare .sec button svg { transition: transform .2s var(--ease); color: var(--muted); }
.compare .sec button[aria-expanded="false"] svg { transform: rotate(-90deg); }
.compare .sec .count { margin-left: auto; font-weight: 600; font-size: .82rem; color: var(--muted); background: var(--bg-soft); padding: 3px 10px; border-radius: 999px; }
.compare .yes { color: var(--green); display: inline-grid; }
.compare .no { color: var(--line-2); display: inline-grid; }
.compare .val { font-weight: 600; font-variant-numeric: tabular-nums; }
.compare tr[hidden] { display: none; }
.compare-empty { padding: 36px; text-align: center; color: var(--muted); }
@media (min-width: 900px) {
  .compare { overflow: visible; } .compare-scroll { overflow: visible; }
  .compare thead th { top: var(--header-h); }
  .compare thead th:first-child { border-top-left-radius: 28px; }
  .compare thead th:last-child { border-top-right-radius: 28px; }
}
@media (max-width: 899px) {
  .compare table { min-width: 680px; }
  .compare td:first-child, .compare thead th:first-child { position: sticky; left: 0; z-index: 2; width: 180px; min-width: 180px; background: #fff; box-shadow: 1px 0 0 var(--line); }
  .compare thead th:first-child { z-index: 4; }
  .compare .grp td:first-child { background: var(--bg-soft); }
  .compare .sec button { position: sticky; left: 0; width: auto; max-width: 100vw; }
  .compare .inner td:first-child { padding-left: 30px; }
}

/* Коробка */
.box-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.box-opts span { padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.box-opts img { width: 22px; height: 22px; }
.tariffs.t4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tariffs.t4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tariffs.t4 { grid-template-columns: 1fr; } }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .93rem; }
.feat-list li { display: flex; gap: 10px; align-items: flex-start; }
.feat-list svg { color: var(--t); flex-shrink: 0; margin-top: 3px; }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 3; }
.c-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); color: var(--ink); transition: transform .3s var(--ease); }
a.c-card:hover { transform: translateY(-6px); color: var(--ink); }
.c-card img { width: 56px; height: 56px; }
.c-card small { color: var(--muted); }
.c-card b { font-size: 1.1rem; line-height: 1.3; word-break: break-word; }
.map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 21 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 1100px) { .contact-cards { grid-template-columns: 1fr 1fr; margin-top: 24px; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }

/* Появление при скролле */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .msg, .flow-step, .ai-sum li { opacity: 1; }
}

/* правки v2.1 */
.t-users select { font-size: .92rem; padding-right: 34px; background-position: right 12px center; }
.hero-split .out-title { font-weight: 800; line-height: 1; }
.contact-cards { margin-top: 28px; }
.cluster .c4 { right: auto; left: 6%; top: 8%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .pill-badge { font-size: .8rem; padding: 6px 12px 6px 6px; max-width: 100%; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .glass-1, .glass-3 { display: none; }
  .glass-2 { top: 8px; }
  .period button { padding: 10px 14px; font-size: .92rem; white-space: nowrap; }
  .anchors { display: none; }
  .hero-split .out-title { margin-left: 4px; }
  .head .line-title::before { display: none; }
}

/* ===== v2.2: правки по главной ===== */
/* Отступы: компактнее по всему сайту */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-sm { padding: clamp(36px, 5vw, 64px) 0; }
.section-tight-top { padding-top: clamp(24px, 3vw, 40px); }
.marquee-wrap { padding: clamp(28px, 4vw, 48px) 0 0; }
.head { margin-bottom: clamp(28px, 4vw, 48px); }
.site-footer { margin-top: clamp(40px, 5vw, 64px); padding-top: 56px; }
#zayavka { padding-bottom: 0; }

/* О нас — светлый вариант */
.about { background: var(--bg-soft); color: var(--ink); }
.about::after { display: none; }
.about h2 { color: var(--ink); }
.about .lead { color: var(--ink-2); }
.about .kicker { color: var(--blue); }
.about-tiles { margin: 28px 0 0; }
.about-tiles div { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.about-tiles div img { width: 36px; height: 36px; flex-shrink: 0; }
.about-tiles div:hover { background: #fff; border-color: var(--blue-100, #DDE2FF); box-shadow: var(--shadow); }
.collage { min-height: 540px; }
.collage .ph-1 { box-shadow: var(--shadow); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.stat-card { position: relative; overflow: hidden; padding: 28px 28px 26px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad-text); }
.stat-card b { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 10px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-card b span { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card > span { color: var(--ink-2); font-weight: 500; line-height: 1.35; display: block; }
@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr 1fr; } }

/* Калькулятор: облако/коробка, шкала с метками */
.product-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 18px; background: var(--bg-soft); margin-bottom: 28px; }
.product-switch button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 14px; background: none; font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--ink-2); cursor: pointer; transition: background .25s, box-shadow .25s, color .25s; }
.product-switch button img { width: 30px; height: 30px; transition: transform .3s var(--ease); }
.product-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.product-switch button[aria-pressed="true"] img { transform: scale(1.12) rotate(-6deg); }
.range-scale { height: 3.2em; margin-bottom: 18px; }
.range-scale span { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.range-scale span:first-child { align-items: flex-start; translate: 0 0; }
.range-scale span:last-child { align-items: flex-end; translate: -100% 0; }
.range-scale b { color: var(--ink); font-size: .82rem; }
.range-scale small { font-size: .74rem; color: var(--muted); }
.rec-users { color: rgba(255,255,255,.8); font-weight: 600; margin: -10px 0 14px; }
.mini-switch[hidden] { display: none; }
.needs[hidden] { display: none; }
@media (max-width: 520px) { .range-scale small { display: none; } .range-scale { height: 1.6em; } }

/* Вопросы: карточка «Остались вопросы?» вместо фото */
.faq-wrap { grid-template-columns: 420px 1fr; gap: clamp(28px, 4vw, 56px); }
.ask-card { position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; border-radius: var(--r-xl); background: var(--grad-hero); color: #fff; padding: 36px 32px 0; min-height: 520px; display: flex; flex-direction: column; }
.ask-card::before { content: ""; position: absolute; right: -120px; bottom: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,198,246,.55), transparent); }
.ask-card .kicker { color: #fff; }
.ask-card h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.6rem); position: relative; }
.ask-card p { color: rgba(255,255,255,.82); position: relative; }
.ask-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.ask-person { position: relative; margin-top: auto; align-self: flex-end; width: 62%; margin-right: -8px; }
.ask-person img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.3)); }
.faq summary { justify-content: flex-start; }
.faq summary .plus { margin-left: auto; }
.q-num { font-size: .85rem; font-weight: 800; color: var(--blue); background: var(--blue-50); border-radius: 10px; padding: 6px 9px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details[open] { border-bottom-color: var(--blue); }
.faq .faq-body { padding-left: 54px; }
@media (max-width: 1000px) { .faq-wrap { grid-template-columns: 1fr; } .ask-card { position: relative; top: 0; min-height: 0; padding-bottom: 32px; } .ask-person { display: none; } .faq .faq-body { padding-left: 0; } }

/* Калькулятор: кнопки числа пользователей + ползунок 1000–10000 */
.calc .lbl { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 12px; }
.calc .lbl output { color: var(--blue); font-size: 1.6rem; letter-spacing: -.03em; }
.seats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.seats button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; transition: all .2s var(--ease); }
.seats button b { font-size: 1.1rem; letter-spacing: -.02em; color: var(--ink); }
.seats button small { font-size: .68rem; color: var(--muted); line-height: 1.15; text-align: center; }
.seats button:hover { border-color: var(--blue); }
.seats button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); box-shadow: 0 10px 20px -10px rgba(56,75,255,.7); }
.seats button[aria-pressed="true"] b, .seats button[aria-pressed="true"] small { color: #fff; }
.big-range { padding: 14px 16px 6px; border-radius: 14px; background: var(--bg-soft); margin-bottom: 8px; animation: panelIn .35s var(--ease); }
.big-range[hidden] { display: none; }
.range-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.calc-in h3 { margin-top: 22px; }
@media (max-width: 560px) { .seats { grid-template-columns: repeat(3, 1fr); } }

/* ===== v2.3 ===== */
.about { padding-top: clamp(16px, 2.5vw, 32px); }
.cta { padding-bottom: clamp(32px, 5vw, 64px); align-items: center; }
.form-card { margin-bottom: 0; }
.cta-chat { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin-top: 4px; }
.cta-chat .bubble { position: relative; padding: 12px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(.97); }
.cta-chat .who { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.cta-chat .who svg { color: currentColor; }
.cta-chat .in-msg { align-self: flex-start; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-bottom-left-radius: 6px; color: #fff; }
.cta-chat .out-msg { align-self: flex-end; background: #fff; color: var(--ink); border-bottom-right-radius: 6px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.cta-chat .out-msg .who { color: var(--blue); opacity: 1; }
.cta-chat .done-msg { align-self: center; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: #0A2A00; font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.cta-chat .typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 16px; background: rgba(255,255,255,.9); border-bottom-right-radius: 6px; }
.cta-chat .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: dot 1s ease-in-out infinite; }
.cta-chat .typing i:nth-child(2) { animation-delay: .15s; }
.cta-chat .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
.cta-rocket { position: absolute; right: -24px; top: -70px; width: 84px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.35)); animation: bob 5s ease-in-out infinite; }
.cta.in .in-msg { animation: msgIn .5s var(--ease) .2s forwards; }
.cta.in .typing { animation: msgIn .4s var(--ease) 1s forwards, msgOut .3s var(--ease) 2.4s forwards; }
.cta.in .out-msg { animation: msgIn .5s var(--ease) 2.5s forwards; }
.cta.in .done-msg { animation: msgIn .5s var(--ease) 3.4s forwards; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
@keyframes msgOut { to { opacity: 0; transform: scale(.9); height: 0; padding: 0; margin: -10px 0 0; } }
@media (max-width: 900px) { .cta-chat { display: none; } }
@media (prefers-reduced-motion: reduce) { .cta-chat .bubble { opacity: 1; transform: none; } .cta-chat .typing { display: none; } }
#uslugi { padding-bottom: clamp(24px, 3vw, 40px); }
#faq { padding-bottom: clamp(24px, 3vw, 40px); }
#zayavka { padding-top: clamp(16px, 2vw, 28px); }

/* ===== Страница «Внедрение» v3 ===== */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.trust-strip > div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--bg-soft); }
.trust-strip img { width: 40px; height: 40px; flex-shrink: 0; }
.trust-strip span { line-height: 1.3; color: var(--ink-2); font-size: .9rem; }
.trust-strip b { display: block; color: var(--ink); font-size: 1.02rem; }
@media (max-width: 1000px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }

/* Квиз */
.quiz { display: grid; grid-template-columns: 1fr 360px; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.quiz-main { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; min-height: 520px; }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-step.on { animation: panelIn .4s var(--ease); }
.q-step legend { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; padding: 0; margin-bottom: 6px; }
.q-hint { display: inline-block; font-size: .85rem; color: var(--blue); background: var(--blue-50); padding: 4px 12px; border-radius: 999px; margin: 6px 0 18px; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.q-opts-2 { grid-template-columns: 1fr 1fr; }
.q-opts-5 { grid-template-columns: repeat(5, 1fr); }
.q-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); border: 1.5px solid transparent; cursor: pointer; font-weight: 600; line-height: 1.25; transition: all .2s var(--ease); user-select: none; }
.q-opt input { position: absolute; opacity: 0; pointer-events: none; }
.q-opt img { width: 32px; height: 32px; flex-shrink: 0; transition: transform .3s var(--ease); }
.q-opt::after { content: ""; margin-left: auto; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); background: #fff; flex-shrink: 0; transition: all .2s; }
.q-opt:has(input[type="radio"])::after { border-radius: 50%; }
.q-opt:hover { border-color: var(--blue-100, #DDE2FF); background: #fff; }
.q-opt:has(input:checked) { background: #fff; border-color: var(--blue); box-shadow: 0 10px 24px -14px rgba(56,75,255,.6); }
.q-opt:has(input:checked) img { transform: scale(1.12) rotate(-6deg); }
.q-opt:has(input:checked)::after { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center; border-color: var(--blue); }
.q-opt:has(input:focus-visible) { box-shadow: var(--ring); }
.q-big { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 104px; padding: 16px 8px; }
.q-big b { font-size: 1.6rem; letter-spacing: -.03em; }
.q-big span { font-size: .8rem; color: var(--muted); font-weight: 500; }
.q-big::after { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; margin: 0; }
.q-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.q-via { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.q-via label { cursor: pointer; }
.q-via input { position: absolute; opacity: 0; }
.q-via span { display: inline-flex; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .92rem; transition: all .2s; min-height: 44px; align-items: center; }
.q-via input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-via input:focus-visible + span { box-shadow: var(--ring); }
.q-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.q-foot[hidden] { display: none; }
.q-progress { flex: 1; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.q-progress b { color: var(--ink); }
.q-progress i { display: block; height: 6px; border-radius: 999px; background: var(--bg-soft-2); overflow: hidden; }
.q-progress em { display: block; height: 100%; width: 0; background: var(--grad-text); border-radius: inherit; transition: width .5s var(--ease); }
.q-foot .arrow-btn { width: 52px; height: 52px; }
.q-done { text-align: center; margin: auto; padding: 24px 0; animation: panelIn .5s var(--ease); }
.q-done img { margin: 0 auto 16px; width: 72px; height: 72px; }
.q-done h3 { font-size: 1.8rem; }
.q-done p { color: var(--ink-2); max-width: 420px; margin-inline: auto; }
.quiz .form-status { margin-top: 10px; }

.quiz-side { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.quiz-side::before { content: ""; position: absolute; right: -100px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,198,246,.5), transparent); }
.quiz-side > * { position: relative; }
.q-person { display: flex; align-items: center; gap: 14px; }
.q-ava { position: relative; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.6); flex-shrink: 0; }
.q-ava img { width: 100%; height: 140%; object-fit: cover; object-position: center 8%; }
.q-ava i { position: absolute; right: 2px; bottom: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); border: 2px solid #fff; }
.q-person b { display: block; font-size: 1.05rem; }
.q-person small { color: rgba(255,255,255,.75); }
.q-say { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; border-top-left-radius: 6px; padding: 16px 18px; margin: 0; font-size: .95rem; line-height: 1.5; }
.q-estimate { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.45); }
.q-estimate small { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 4px; }
.q-estimate b { display: block; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; }
.q-estimate span { display: block; color: var(--blue); font-weight: 700; margin-top: 4px; }
.q-gift { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.35; }
.q-gift img { width: 44px; height: 44px; flex-shrink: 0; }
.q-gift b { display: block; color: #fff; }
@media (max-width: 980px) { .quiz { grid-template-columns: 1fr; } .quiz-side { order: -1; padding: 22px; } .q-say, .q-gift { display: none; } .quiz-main { min-height: 0; } }
@media (max-width: 600px) { .q-opts, .q-opts-2, .q-contact { grid-template-columns: 1fr; } .q-opts-5 { grid-template-columns: repeat(3, 1fr); } .q-big { min-height: 84px; } }

/* Пакеты внедрения */
.impl-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.impl-pack { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 28px; background: #fff; border: 1.5px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.impl-pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.impl-pack.hot { background: var(--grad-hero); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(45,59,245,.8); }
.impl-pack .flag { position: absolute; top: -14px; left: 24px; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: #0A2A00; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ip-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.ip-top img { width: 64px; height: 64px; flex-shrink: 0; filter: drop-shadow(0 10px 14px rgba(23,37,120,.2)); }
.ip-top h3 { font-size: 1.5rem; margin-bottom: 4px; }
.ip-top p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.impl-pack.hot .ip-top p { color: rgba(255,255,255,.78); }
.ip-price { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.ip-price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.impl-pack.hot .ip-price small { color: rgba(255,255,255,.7); }
.ip-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.ip-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--bg-soft); font-size: .82rem; font-weight: 600; }
.ip-meta svg { color: var(--blue); }
.impl-pack.hot .ip-meta span { background: rgba(255,255,255,.14); }
.impl-pack.hot .ip-meta svg { color: #9FE3FF; }
.impl-pack .feat-list { margin-bottom: 24px; }
.impl-pack .feat-list svg { color: var(--blue); }
.impl-pack.hot .feat-list svg { color: var(--lime); }
.impl-pack .feat-list li.all { font-weight: 700; }
.impl-pack .btn { margin-top: auto; white-space: normal; }
.impl-pack.hot .btn-outline { background: #fff; }
@media (max-width: 1150px) { .impl-packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .impl-packs { grid-template-columns: 1fr; } }

.extras { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--bg-soft); }
.extras-head h3 { font-size: 1.6rem; }
.extras-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.extra { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid transparent; font: inherit; text-align: left; cursor: pointer; transition: all .2s var(--ease); color: var(--ink); }
.extra img { width: 40px; height: 40px; flex-shrink: 0; }
.extra span { font-weight: 600; line-height: 1.25; }
.extra b { margin-left: auto; white-space: nowrap; color: var(--blue); font-size: .95rem; }
.extra:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .extras-grid { grid-template-columns: 1fr; } }

/* Результаты */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.result-card { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.result-card img { width: 56px; height: 56px; margin-bottom: 16px; }
.result-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.result-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .results { grid-template-columns: 1fr; } }

/* Гарантии */
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guarantee { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--grad-soft); overflow: hidden; }
.guarantee .g-num { position: absolute; right: 16px; top: 6px; font-size: 4rem; font-weight: 800; letter-spacing: -.06em; color: #fff; -webkit-text-stroke: 1.5px #CFE3FB; line-height: 1; }
.guarantee img { position: relative; width: 52px; height: 52px; margin-bottom: 18px; }
.guarantee h3 { font-size: 1.15rem; margin-bottom: 8px; }
.guarantee p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 1000px) { .guarantees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guarantees { grid-template-columns: 1fr; } }
.btn[hidden], .arrow-btn[hidden] { display: none !important; }
.ip-top { min-height: 92px; }

/* «Внедрение ↳ Битрикс24» в две строки внутри панели */
.hero-split .in-title-2 { flex-direction: column; align-items: flex-start; gap: 0; }
.hero-split .in-title-2 span { display: flex; align-items: flex-end; gap: .25em; }
/* Кнопки в карточках подписки BitrixGPT */
.sub-card { --t: var(--cyan); }

/* ===== Поддержка ===== */
.result-card.cta-tile { background: var(--grad-hero); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.result-card.cta-tile h3 { color: #fff; font-size: 1.4rem; }
.result-card.cta-tile p { color: rgba(255,255,255,.82); margin-bottom: 16px; }
.result-card.cta-tile .btn { align-self: flex-start; }
.results:has(.cta-tile) { grid-template-columns: repeat(3, 1fr); }
.check-list.big { font-size: 1.05rem; gap: 14px; margin-top: 24px; }

.srv { background: #0E1430; color: #fff; border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg); }
.srv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: .95rem; }
.srv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(107,219,26,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(107,219,26,0); } 100% { box-shadow: 0 0 0 0 rgba(107,219,26,0); } }
.srv-up { margin-left: auto; font-size: .8rem; font-weight: 700; color: var(--lime); background: rgba(107,219,26,.12); padding: 4px 10px; border-radius: 999px; }
.srv-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.gauge { position: relative; display: grid; place-items: center; padding: 14px 8px 12px; border-radius: 18px; background: rgba(255,255,255,.05); }
.gauge svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3; }
.gauge circle.g { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: calc(var(--v) * 1px) 100px; transition: stroke-dasharray .8s var(--ease); pathLength: 100; }
.gauge b { position: absolute; top: 46px; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.gauge small { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: 4px; }
.srv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.srv-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
.srv-list img { width: 28px; height: 28px; }
.srv-list span { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.srv-list small { display: block; color: rgba(255,255,255,.55); font-weight: 500; font-size: .78rem; }
.srv-list em { margin-left: auto; font-style: normal; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.srv-list em.ok { color: var(--lime); background: rgba(107,219,26,.12); }

.sup-packs { grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin-inline: auto; }
.ip-price small { font-size: 1rem; }
.hourly { display: flex; align-items: center; gap: 20px; max-width: 1100px; margin: 24px auto 0; padding: 22px 28px; border-radius: var(--r-lg); background: #fff; border: 1.5px dashed var(--line-2); }
.hourly img { width: 56px; height: 56px; flex-shrink: 0; }
.hourly b { display: block; font-size: 1.1rem; }
.hourly span { color: var(--ink-2); }
.hourly .btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 1000px) { .sup-packs { grid-template-columns: 1fr; max-width: 560px; } .results:has(.cta-tile) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .hourly { flex-direction: column; align-items: flex-start; } .hourly .btn { margin-left: 0; } .results:has(.cta-tile) { grid-template-columns: 1fr; } }

.sla { max-width: 1000px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.sla-row { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); align-items: center; border-top: 1px solid var(--line); }
.sla-row > span { padding: 18px 20px; }
.sla-th { border-top: 0; background: var(--ink); color: #fff; font-weight: 700; }
.sla-th > span:not(:first-child), .sla-t { text-align: center; }
.sla-t { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.sla-lvl { display: flex; flex-direction: column; gap: 2px; border-left: 4px solid; }
.sla-lvl b { font-size: 1rem; }
.sla-lvl small { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.sla-lvl.lvl-0 { border-left-color: #E5484D; }
.sla-lvl.lvl-1 { border-left-color: var(--orange); }
.sla-lvl.lvl-2 { border-left-color: var(--green); }
@media (max-width: 700px) { .sla-row { grid-template-columns: 1fr repeat(3, 70px); font-size: .9rem; } .sla-row > span { padding: 14px 10px; } .sla-t { font-size: .95rem; } }

.steps-line { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps-line::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.sl-step { position: relative; text-align: center; }
.sl-num { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 8px var(--bg-soft); }
.section:not(.soft) .sl-num { box-shadow: 0 0 0 8px #fff; }
.sl-step img { width: 48px; height: 48px; margin: 0 auto 10px; }
.sl-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sl-step p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) { .steps-line { grid-template-columns: 1fr 1fr; } .steps-line::before { display: none; } }
@media (max-width: 520px) { .steps-line { grid-template-columns: 1fr; } }

.other-sup { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--grad-soft); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.other-sup:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.other-sup img { width: 64px; height: 64px; flex-shrink: 0; }
.other-sup b { display: block; font-size: 1.25rem; color: var(--blue); }
.other-sup span { color: var(--ink-2); }
.other-sup svg { margin-left: auto; flex-shrink: 0; color: var(--blue); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.soft .btn-soft { background: #fff; box-shadow: var(--shadow-sm); }

.ip-calc { display: inline-block; align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 4px 10px; border-radius: 8px; margin: -6px 0 12px; }
.impl-pack.hot .ip-calc { color: #fff; background: rgba(255,255,255,.16); }

/* ===== Отчёты и аналитика ===== */
.lightbox { max-width: min(1400px, 96vw); }
.rep-vis { display: flex; align-items: center; justify-content: center; min-height: 480px; }
.rep-app { position: relative; z-index: 2; width: min(520px, 100%); transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); transition: transform .6s var(--ease); }
.rep-app:hover { transform: none; }
.rep-app-body { padding: 16px; }
.rep-app .bars { height: 150px; }
.rep-mini-tl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px; background: #F6F8FC; border-radius: 12px; font-weight: 600; }
.rep-glass { top: auto; bottom: 6%; right: auto; left: -30px; }
.rep-3d { right: -10px; top: 2%; width: 110px; animation-delay: -3s; }

.tl { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: #1B1F2A; box-shadow: inset 0 2px 6px rgba(0,0,0,.45), 0 8px 18px -8px rgba(0,0,0,.5); }
.tl i { font-style: normal; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem; font-variant-numeric: tabular-nums; transition: background-color .4s, box-shadow .4s, color .4s; }
.tl i:nth-child(1) { background: #E5484D; box-shadow: 0 0 14px rgba(229, 72, 77, .7); }
.tl i:nth-child(2) { background: #F5B300; color: #2A1D00; box-shadow: 0 0 14px rgba(245, 179, 0, .6); }
.tl i:nth-child(3) { background: #2FB344; box-shadow: 0 0 14px rgba(47, 179, 68, .6); }
.tl i.off { background: #3A3F4B; color: #9AA0AE; box-shadow: none; }
.tl-sm i { min-width: 26px; height: 26px; padding: 0 6px; font-size: .75rem; }

.rep-pain { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.rep-pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rep-pain-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--bg-soft); color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
.rep-pain-list img { width: 40px; height: 40px; flex-shrink: 0; }
.rep-pain-list b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 2px; }

.tl-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tl-legend { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; }
.tl-legend li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); line-height: 1.4; }
.tl-legend b { display: block; color: var(--ink); }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.tl-dot.r { background: #E5484D; box-shadow: 0 0 12px rgba(229, 72, 77, .6); }
.tl-dot.y { background: #F5B300; box-shadow: 0 0 12px rgba(245, 179, 0, .6); }
.tl-dot.g { background: #2FB344; box-shadow: 0 0 12px rgba(47, 179, 68, .6); }
.tl-demo { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-hero); color: #fff; padding: clamp(20px, 3vw, 36px); }
.tl-demo::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 198, 246, .5), transparent); pointer-events: none; }
.tl-demo > * { position: relative; }
.tl-demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tl-demo-head > b { font-size: 1.2rem; }
.tl-time { margin: 0; }
.tl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tl-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 18px 30px -18px rgba(5, 10, 40, .5); }
.tl-card b { display: block; font-size: 1rem; }
.tl-card small { display: block; color: var(--muted); margin-bottom: 12px; min-height: 1.3em; }
.tl-hint { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; color: rgba(255, 255, 255, .82); font-size: .88rem; }

.cases { display: grid; gap: 24px; }
.case { --t: var(--sky); padding: clamp(14px, 2vw, 24px); background: #fff; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-shot { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #F4F4F2; cursor: zoom-in; }
.case-shot img { width: 100%; transition: transform .5s var(--ease); }
.case-shot:hover img { transform: scale(1.015); }
.case-shot .zoom { position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); transition: background-color .2s, color .2s; }
.case-shot:hover .zoom { background: var(--blue); color: #fff; }
.case-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.case-body { padding: 24px clamp(4px, 1vw, 12px) 6px; }
.case-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.case-top img { width: 48px; height: 48px; }
.case-num { font-weight: 700; color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.case h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 20px; }
.case-cols { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(18px, 3vw, 32px); align-items: start; }
.case h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; }
.case-cols p { color: var(--ink-2); font-size: .96rem; }
.case-res { background: #F3FCEB; border: 1.5px solid #C7F0A8; border-radius: var(--r); padding: 20px; }
.case-res h4 { color: #2F7A00; }
.case-res p { color: #164400; font-weight: 600; }
.case-res .btn { background: #fff; }

.rep-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.rep-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.rep-chip svg { color: var(--green); flex-shrink: 0; }

@media (max-width: 1100px) { .rep-vis { min-height: 400px; padding: 24px 0 40px; } .rep-glass { left: 0; } }
@media (max-width: 960px) { .tl-wrap, .rep-pain { grid-template-columns: 1fr; } .case-cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .rep-app { transform: none; }
  .rep-glass, .rep-3d { display: none; }
  .rep-vis { min-height: 0; }
  .tl-grid { grid-template-columns: 1fr; }
  .rep-chips { justify-content: flex-start; }
}
.case:not(.case-wide) { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.case:not(.case-wide) .case-body { padding: 4px 4px 0 0; }
.case:not(.case-wide) h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 16px; }
.case:not(.case-wide) .case-cols { grid-template-columns: 1fr; gap: 16px; }
.case:not(.case-wide) .case-cols p { margin-bottom: 0; }
.case:not(.case-wide) .case-res { padding: 16px 18px; }
.case:not(.case-wide) .case-res p { margin-bottom: 12px; }
@media (max-width: 960px) { .case:not(.case-wide) { grid-template-columns: 1fr; } .case:not(.case-wide) .case-body { padding: 8px 4px 0; } }
.rep-glass { bottom: -2%; }
.case:not(.case-wide) .case-more { grid-template-columns: 1fr; }
.case-wide .case-more { grid-template-columns: repeat(auto-fill, minmax(260px, 420px)); }
