/* ==========================================================================
   TimRoSoft — дизайн-система
   ========================================================================== */

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --ink: #0b1526;
  --ink-2: #35435d;
  --ink-3: #5a6880;
  --line: #e4eaf4;
  --line-2: #d3ddec;
  --brand: #2e5bff;
  --brand-dark: #1c43d6;
  --brand-soft: #eaf0ff;
  --cyan: #13c2dc;
  --accent: #ffb020;
  --ok: #12b76a;
  --danger: #e54545;
  --navy: #071022;
  --navy-2: #0d1b36;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-xs: 0 1px 2px rgba(11, 21, 38, .06);
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .05), 0 10px 24px -18px rgba(11, 21, 38, .35);
  --shadow-md: 0 2px 6px rgba(11, 21, 38, .05), 0 24px 48px -30px rgba(11, 21, 38, .4);
  --shadow-lg: 0 40px 80px -40px rgba(11, 21, 38, .45);
  --shadow-brand: 0 12px 28px -14px rgba(46, 91, 255, .7);

  --container: 1220px;
  --gutter: 24px;
  --header-h: 76px;

  --font: "Manrope", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.022em; font-weight: 800; }
h1 { font-size: clamp(32px, 4.4vw, 56px); }
h2 { font-size: clamp(26px, 3.1vw, 42px); }
h3 { font-size: clamp(19px, 1.6vw, 24px); }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(46, 91, 255, .18); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(36px, 4.5vw, 64px) 0; }
.section--surface { background: var(--surface); }
.section--soft { background: linear-gradient(180deg, #f7f9fd, #eef3fb); }
.section--dark {
  background: radial-gradient(1000px 600px at 15% -10%, #16306b 0%, transparent 60%),
              radial-gradient(900px 500px at 90% 10%, #0d3f5c 0%, transparent 55%),
              linear-gradient(160deg, #071022, #0a1834 60%, #071022);
  color: #eef3ff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .muted { color: #a7b6d6; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.muted { color: var(--ink-3); }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- типографика блоков ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}
.section--dark .eyebrow { color: #8fb4ff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-head__text { max-width: 720px; }
.section-head h2 { margin-top: 12px; }
.section-head .lead { margin-top: 14px; font-size: 17px; color: var(--ink-3); max-width: 640px; }
.section--dark .section-head .lead { color: #a7b6d6; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

/* ---------- кнопки ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-ink: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  color: var(--btn-ink); background: var(--btn-bg);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, #3667ff, var(--brand) 45%, #1f4ae0);
  color: #fff; box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 18px 34px -14px rgba(46, 91, 255, .8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #14213a; }
.btn--outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink-3); background: #fff; }
.btn--ghost { background: var(--brand-soft); color: var(--brand-dark); }
.btn--ghost:hover { background: #dfe8ff; }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #f7f9ff; }
.btn--onDark { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn--onDark:hover { background: rgba(255, 255, 255, .18); }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--lg { padding: 17px 30px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--brand);
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.link-arrow .ico { width: 18px; height: 18px; }
.link-arrow:hover { gap: 12px; color: var(--brand-dark); }

/* ---------- иконки ---------- */
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #eef3ff, #e2ebff);
  color: var(--brand); border: 1px solid #dfe7fb;
}
.icon-tile .ico { width: 24px; height: 24px; }
.icon-tile--accent { background: linear-gradient(145deg, #fff6e6, #ffedd0); color: #c47a00; border-color: #ffe2b0; }
.icon-tile--dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- шапка ---------- */
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.topbar {
  background: #071022; color: #b9c7e4; font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.topbar__list { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #b9c7e4; }
.topbar__item .ico { width: 15px; height: 15px; opacity: .7; }
.topbar__item:hover { color: #fff; }
.topbar__badge {
  display: inline-flex; align-items: center; gap: 6px; color: #fff;
  background: rgba(46, 91, 255, .22); border: 1px solid rgba(120, 155, 255, .35);
  padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px;
}
.topbar__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #57e0a0; box-shadow: 0 0 0 3px rgba(87, 224, 160, .2); }

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.header.is-stuck { box-shadow: 0 10px 30px -22px rgba(11, 21, 38, .5); background: rgba(255, 255, 255, .96); }
.header__inner {
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 28px);
  width: 100%; min-height: var(--header-h);
  padding-inline: clamp(16px, 2.4vw, 56px);
}
.topbar > .container { max-width: none; padding-inline: clamp(16px, 2.4vw, 56px); }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.logo__name span { font-weight: 500; color: var(--brand); }
.logo__tagline { margin-top: 5px; font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); font-weight: 600; text-transform: uppercase; }
.logo-mark { border-radius: 13px; box-shadow: 0 8px 18px -10px rgba(46, 91, 255, .8); }
.footer .logo__name { color: #fff; }

.nav { flex: 1 1 auto; max-width: 980px; margin-inline: auto; min-width: 0; }
.nav__list { display: flex; align-items: center; justify-content: space-between; gap: clamp(2px, .5vw, 10px); width: 100%; flex-wrap: nowrap; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 10px clamp(8px, .85vw, 16px); border-radius: 10px;
  font-size: clamp(13px, 1.05vw, 15px); font-weight: 600; color: var(--ink-2);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav__link .ico { width: 15px; height: 15px; opacity: .55; transition: transform .2s var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"] { color: var(--ink); background: #f1f5fd; }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

.dropdown, .mega {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 12px; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item.is-open > .dropdown, .nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }
.dropdown a .ico { width: 17px; height: 17px; color: var(--brand); opacity: .9; }

.mega { width: min(860px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; padding: 18px; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__title {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-3); padding: 6px 12px 8px;
}
.mega a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 9px; font-size: 13.8px; color: var(--ink-2); }
.mega a span.count { font-size: 11.5px; color: var(--ink-3); }
.mega a:hover { background: var(--surface-2); color: var(--brand); }
.mega__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--line); }

.nav__item:last-child > .dropdown { left: auto; right: 0; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; padding-inline: 6px; }
.header__phone b { font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.header__phone span { font-size: 11.5px; color: var(--ink-3); }
.icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; color: var(--ink-2); border: 1px solid var(--line);
  background: #fff; transition: background-color .16s, color .16s, border-color .16s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn .badge-count {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.icon-btn .badge-count[hidden] { display: none; }
.burger { display: none; }

.mobile-nav, .cart-drawer {
  position: fixed; z-index: 120; top: 0; right: 0; bottom: 0; width: min(420px, 92vw);
  background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(102%); transition: transform .32s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-nav.is-open, .cart-drawer.is-open { transform: none; }
.mobile-nav__head, .cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.mobile-nav__body, .cart-drawer__body { padding: 12px 20px 24px; overflow-y: auto; flex: 1; }
.mnav-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mnav-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; font-size: 16px; font-weight: 700;
}
.mnav-toggle .ico { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.mnav-group.is-open .mnav-toggle .ico { transform: rotate(180deg); }
.mnav-sub { display: none; padding: 0 0 12px 2px; }
.mnav-group.is-open .mnav-sub { display: block; }
.mnav-sub a { display: block; padding: 8px 0; color: var(--ink-3); font-size: 14.5px; }
.mnav-sub a:hover { color: var(--brand); }
.mobile-nav__foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }

.overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(7, 16, 34, .5);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
body.is-locked { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eef3ff;
  background:
    radial-gradient(900px 520px at 8% -15%, rgba(46, 91, 255, .55), transparent 60%),
    radial-gradient(760px 520px at 92% 4%, rgba(19, 194, 220, .28), transparent 58%),
    linear-gradient(165deg, #060e1e, #0a1730 55%, #071022);
  padding: clamp(48px, 6vw, 86px) 0 clamp(64px, 8vw, 110px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(760px 520px at 70% 20%, #000 20%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; bottom: -340px;
  background: radial-gradient(circle, rgba(46, 91, 255, .35), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); color: #d8e4ff;
}
.hero__badge .pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #2e5bff, #13c2dc);
  padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
}
.hero h1 { margin: 22px 0 20px; color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8fb4ff, #57e0ff 55%, #8ff0d8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(16px, 1.3vw, 18.5px); color: #b7c6e4; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__fact { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #c3d1ec; }
.hero__fact .ico { width: 17px; height: 17px; color: #57e0ff; }

.hero__visual { position: relative; min-height: 420px; }
.mock {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; color: var(--ink); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .5);
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg);
  transition: transform .5s var(--ease);
}
.hero__visual:hover .mock { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #e2e8f4; }
.mock__dot:nth-child(1) { background: #ff6b6b; } .mock__dot:nth-child(2) { background: #ffc247; } .mock__dot:nth-child(3) { background: #35d07f; }
.mock__crumb { margin-left: 8px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.mock__body { padding: 18px; display: grid; gap: 14px; }
.mock__title { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.mock__kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.kpi span { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.kpi--up b { color: var(--ok); }
.mock__chart { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.mock__legend { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.mock__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); margin-right: 5px; }
.mock__legend i.alt { background: #c9d8ff; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; }
.bars span { flex: 1; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, #b9ccff, #dbe5ff); }
.bars span.on { background: linear-gradient(180deg, #2e5bff, #6d8cff); }
.mock__rows { display: grid; gap: 7px; }
.mock__row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; }
.mock__row .dotok { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.mock__row b { margin-left: auto; font-weight: 700; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 11px 15px;
  box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .65);
  font-size: 12.5px; line-height: 1.3;
}
.float-card b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.float-card span { color: var(--ink-3); }
.float-card .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.float-card--1 { left: -26px; bottom: 54px; animation: floaty 7s ease-in-out infinite; }
.float-card--2 { right: -18px; top: 34px; animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- бегущая строка брендов ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logos__inner { display: flex; align-items: center; gap: 18px; padding: 20px 0; }
.logos__label {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); padding-right: 16px; border-right: 1px solid var(--line); white-space: nowrap;
  position: relative; z-index: 2; background: #fff;
}
/* окно прокрутки: обрезает дорожку ровно по своей границе, подпись остаётся снаружи */
.logos__viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.logos__viewport::after {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 72px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 85%);
}
.logos__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logos__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex: 0 0 auto; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__track span { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: #97a5bd; white-space: nowrap; }
.logos__track span i { font-style: normal; color: #c3cddd; font-weight: 600; font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } .float-card { animation: none; } }
@media (max-width: 680px) {
  .logos__label { font-size: 10.5px; padding-right: 10px; letter-spacing: .06em; }
  .logos__group { gap: 28px; padding-right: 28px; }
  .logos__track span { font-size: 15px; }
  .logos__viewport::after { width: 40px; }
}

/* ---------- карточки ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative; overflow: hidden;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdcf5; }
.card__title { margin-top: 16px; font-size: 19px; }
.card__text { margin-top: 8px; color: var(--ink-3); font-size: 14.5px; }
.card__link { margin-top: 18px; }
.card--featured { border-color: var(--brand); box-shadow: 0 24px 50px -32px rgba(46, 91, 255, .55); }
.card--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

.pillar {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
  padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.pillar::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 91, 255, .1), transparent 65%); transition: transform .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdcf5; }
.pillar:hover::after { transform: scale(1.25); }
.pillar h3 { font-size: 18.5px; }
.pillar p { margin-top: 7px; color: var(--ink-3); font-size: 14px; }
.pillar__meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pillar__meta .price-inline { color: var(--ink); font-weight: 800; }
.pillar__link { margin-top: 14px; }

/* ---------- услуги ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card .card__title { margin-top: 18px; }
.service-card .price { margin-top: auto; padding-top: 20px; }
.service-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.service-card__meta .ico { width: 15px; height: 15px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 7px; font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--brand-soft); color: var(--brand-dark);
}
.badge--hit { background: #fff2d8; color: #8a4e00; }
.badge--ok { background: #e3f8ee; color: #07784a; }
.badge--dark { background: rgba(255, 255, 255, .12); color: #dbe6ff; }
.badge--soft { background: #f0f3f9; color: var(--ink-3); }

.price { display: flex; align-items: baseline; gap: 6px; }
.price__value { font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price__cur { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.price__note { font-size: 12.5px; color: var(--ink-3); }
.price--sm .price__value { font-size: 19px; }

/* ---------- каталог ---------- */
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; }
.filter-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.filter-block__title { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.filter-list { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 8px; font-size: 13.8px; color: var(--ink-2); }
.filter-list a:hover { background: var(--surface-2); color: var(--ink); }
.filter-list a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.filter-list a.is-active .count { color: var(--brand); }
.filter-list .count { font-size: 11.5px; color: var(--ink-3); }
.filter-collapse { display: grid; gap: 2px; }
.filter-collapse.is-collapsed .filter-list { max-height: 168px; }

.catalog-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.search-field { position: relative; flex: 1 1 260px; min-width: 220px; }
.search-field .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.search-field input {
  width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 14.5px; transition: border-color .16s, box-shadow .16s;
}
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 91, 255, .12); }
.select {
  appearance: none; padding: 12px 38px 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236b7a96' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 13px center;
  font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 91, 255, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: all .16s var(--ease);
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { opacity: .6; font-size: 12px; }
.result-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 13.5px; color: var(--ink-3); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcf5; }
.thumb { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(11, 21, 38, .05); }
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11, 21, 38, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 21, 38, .04) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 72%);
}
.thumb[data-group="kassa"] { background: linear-gradient(150deg, #eef3ff, #dce8ff); }
.thumb[data-group="pos"] { background: linear-gradient(150deg, #eff8ff, #dbeeff); }
.thumb[data-group="scan"] { background: linear-gradient(150deg, #f1f2ff, #e0e2ff); }
.thumb[data-group="label"] { background: linear-gradient(150deg, #eefaf5, #d9f4e8); }
.thumb[data-group="scale"] { background: linear-gradient(150deg, #fff6ec, #ffe9d2); }
.thumb[data-group="tsd"] { background: linear-gradient(150deg, #f6f1ff, #e8ddff); }
.thumb[data-group="consum"] { background: linear-gradient(150deg, #f5f7fb, #e6ebf4); }
.thumb__art { width: 78%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 12px 18px rgba(11, 21, 38, .14)); }
.thumb__badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.thumb__brand { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: rgba(11, 21, 38, .42); text-transform: uppercase; }
.product-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-size: 14.5px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; min-height: 40px; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 5px; }
.spec { font-size: 11px; font-weight: 600; color: var(--ink-3); background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; }
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.product-card__price small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.add-btn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d8e4ff;
  transition: background-color .16s, color .16s, transform .16s;
}
.add-btn:hover { background: var(--brand); color: #fff; transform: scale(1.05); }
.add-btn .ico { width: 18px; height: 18px; }
.add-btn.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.product-card__link { position: absolute; inset: 0; z-index: 1; }
.product-card__foot, .add-btn { position: relative; z-index: 2; }

.empty-state { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: #fff; }
.empty-state .ico { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--ink-3); }

/* ---------- таблицы ---------- */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data thead th { background: #f7f9fd; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafcff; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .strong { font-weight: 700; }
table.data .sku { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }

/* ---------- табы ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: #eef2fa; border-radius: 14px; border: 1px solid var(--line); }
.tab-btn {
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--ink-3);
  transition: background-color .16s, color .16s, box-shadow .16s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.tab-panel[hidden] { display: none; }

/* ---------- аккордеон ---------- */
.accordion { display: grid; gap: 10px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.acc-item:hover { border-color: var(--line-2); }
.acc-item.is-open { border-color: #cfdcf5; box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; text-align: left; font-size: 15.5px; font-weight: 700; line-height: 1.4;
}
.acc-trigger .ico { width: 20px; height: 20px; color: var(--ink-3); transition: transform .22s var(--ease); flex: 0 0 auto; }
.acc-item.is-open .acc-trigger .ico { transform: rotate(180deg); color: var(--brand); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 18px; color: var(--ink-3); font-size: 14.5px; max-width: 90ch; }

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step__num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: var(--brand-dark);
  background: linear-gradient(145deg, #eaf0ff, #dbe6ff); border: 1px solid #d5e2ff;
}
.step h3 { margin-top: 16px; font-size: 17px; }
.step p { margin-top: 7px; font-size: 14px; color: var(--ink-3); }
.step::before {
  content: ""; position: absolute; top: 43px; right: -19px; width: 19px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}
.step:nth-child(3n)::before, .step:last-child::before { display: none; }

/* ---------- статистика ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0; }
.stat__value { font-size: clamp(32px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__value em { font-style: normal; font-size: .5em; font-weight: 700; color: var(--brand); margin-left: 2px; }
.section--dark .stat__value em { color: #57e0ff; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.section--dark .stat__label { color: #a7b6d6; }

/* ---------- кейсы / отзывы ---------- */
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-card__industry { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.case-card__client { font-size: 17px; font-weight: 800; }
.case-card__metrics { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.case-card__metric b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--brand-dark); }
.case-card__metric span { font-size: 11.5px; color: var(--ink-3); }
.quote-card { display: flex; flex-direction: column; gap: 18px; }
.quote-card__text { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.quote-card__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff;
  background: linear-gradient(140deg, #2e5bff, #13c2dc);
  letter-spacing: -.02em;
}
.quote-card__author b { display: block; font-size: 14px; }
.quote-card__author span { font-size: 12.5px; color: var(--ink-3); }
.quote-card__stars { display: flex; gap: 3px; color: var(--accent); }
.quote-card__stars .ico { width: 15px; height: 15px; fill: currentColor; stroke: none; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(700px 380px at 10% 0%, rgba(46, 91, 255, .5), transparent 60%),
    radial-gradient(600px 380px at 95% 100%, rgba(19, 194, 220, .3), transparent 60%),
    linear-gradient(150deg, #081328, #0c1c3d 60%, #081328);
  color: #eaf1ff;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(120deg, #000, transparent 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { margin-top: 14px; color: #b7c6e4; max-width: 46ch; }
.cta__points { display: grid; gap: 10px; margin-top: 22px; }
.cta__point { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cdd9f0; }
.cta__point .ico { width: 18px; height: 18px; color: #57e0ff; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.form--panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); color: var(--ink); }
.form__title { font-size: 19px; font-weight: 800; }
.form__sub { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.field .req { color: var(--danger); }
.input, .textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; font-size: 14.5px; transition: border-color .16s, box-shadow .16s;
}
.textarea { min-height: 92px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(46, 91, 255, .12); }
.input::placeholder, .textarea::placeholder { color: #a3b0c6; }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229, 69, 69, .1); }
.field__error { font-size: 12px; color: var(--danger); min-height: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkline { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.checkline input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--brand); flex: 0 0 auto; }
.checkline a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.form__note { font-size: 11.5px; color: var(--ink-3); text-align: center; }
.form__success { display: grid; place-items: center; text-align: center; gap: 10px; padding: 26px 12px; }
.form__success .icon-tile { width: 56px; height: 56px; border-radius: 18px; background: #e3f8ee; color: #07784a; border-color: #bfeed6; }
.form__success h3 { font-size: 20px; }
.form__success p { color: var(--ink-3); font-size: 14px; max-width: 34ch; }
.form [hidden] { display: none !important; }

/* ---------- страница-шапка ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 46px) 0 clamp(34px, 4.5vw, 58px);
  background:
    radial-gradient(760px 380px at 88% -30%, rgba(46, 91, 255, .16), transparent 62%),
    linear-gradient(180deg, #eff3fb, #f4f7fc);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 14px; max-width: 20ch; }
.page-hero p { margin-top: 14px; max-width: 68ch; color: var(--ink-3); font-size: 16.5px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.page-hero__meta .ico { width: 17px; height: 17px; color: var(--brand); }
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs .ico { width: 13px; height: 13px; opacity: .5; }
.crumbs span { color: var(--ink-2); }

/* ---------- карточки услуг детально ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.tier--featured { border-color: var(--brand); box-shadow: 0 24px 50px -32px rgba(46, 91, 255, .55); }
.tier--featured::before {
  content: "Выбирают чаще"; position: absolute; top: -11px; left: 22px;
  background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.tier__name { font-size: 16px; font-weight: 800; }
.tier__price { margin-top: 12px; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.tier__price small { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tier__term { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.tier__features { display: grid; gap: 8px; margin: 18px 0 22px; }
.tier__features li { display: flex; gap: 9px; font-size: 13.8px; color: var(--ink-2); }
.tier__features .ico { width: 17px; height: 17px; color: var(--ok); margin-top: 2px; }
.tier .btn { margin-top: auto; }

.article { max-width: 78ch; }
.article p { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.72; }
.article h3 { margin-top: 28px; }
.article ul { display: grid; gap: 8px; margin-top: 14px; }
.article ul li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.article ul li .ico { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; flex: 0 0 auto; }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.checklist .ico { width: 19px; height: 19px; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.split--wide { grid-template-columns: 1.35fr .65fr; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel--brand { background: linear-gradient(150deg, #eff4ff, #e6edff); border-color: #d5e2ff; }

/* ---------- контакты ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.contact-card b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 800; }
.contact-card a, .contact-card span { display: block; margin-top: 6px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.contact-card small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.map-card {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #eaf0fa, #dfe8f7); min-height: 340px; display: grid; place-items: center;
}
.map-card svg { width: 100%; height: 100%; position: absolute; inset: 0; opacity: .9; }
.map-pin {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 13.5px; font-weight: 700;
}
.map-pin .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.map-pin small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }

/* ---------- корзина ---------- */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__thumb { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.cart-line__thumb svg { width: 90%; }
.cart-line__name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.cart-line__meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.cart-line__price { font-size: 15px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink-2); }
.qty button:hover { background: var(--surface-2); color: var(--brand); }
.qty span { min-width: 30px; text-align: center; font-size: 13.5px; font-weight: 700; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 16px; font-size: 15px; }
.cart-total b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--ink-3); }
.cart-empty .ico { width: 38px; height: 38px; margin: 0 auto 12px; opacity: .5; }

/* ---------- футер ---------- */
.footer { background: #071022; color: #93a4c4; padding: clamp(44px, 5vw, 64px) 0 28px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__about { max-width: 320px; }
.footer__about p { margin-top: 16px; font-size: 13.5px; line-height: 1.65; color: #8b9cbd; }
.footer__title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__list { display: grid; gap: 9px; }
.footer__list a { color: #93a4c4; font-size: 13.5px; }
.footer__list a:hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: #6f81a3; }
.footer__bottom a:hover { color: #fff; }
.footer__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 17px; margin-top: 18px; }
.footer__socials { display: flex; gap: 8px; margin-top: 18px; }
.footer__socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; color: #c3d1ec; }
.footer__socials a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- модалка ---------- */
dialog.modal {
  /* сброс * { margin: 0 } отключает автоцентрирование диалога — возвращаем явно */
  position: fixed; inset: 0; margin: auto;
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  border: 0; padding: 0; border-radius: var(--radius-lg);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(7, 16, 34, .55); backdrop-filter: blur(3px); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 24px 24px 0; }
.modal__body { padding: 18px 24px 24px; }
.modal__close { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-3); }
.modal__close:hover { background: var(--surface-2); color: var(--ink); }
.modal__subject { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
dialog.modal[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { transform: translateY(10px) scale(.985); opacity: 0; } }

/* ---------- тост ---------- */
.toast-wrap { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  padding: 13px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); animation: toastIn .25s var(--ease);
}
.toast .ico { width: 18px; height: 18px; color: #57e0a0; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } }

/* ---------- раскрытие при скролле ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card--hover:hover, .product-card:hover, .pillar:hover { transform: none; }
}

/* ---------- утилиты ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error {
  font-size: 13px; line-height: 1.45; color: #b42318;
  background: #fdecea; border: 1px solid #f5c6c2; border-radius: 10px; padding: 10px 12px;
}
.hr { height: 1px; background: var(--line); border: 0; }
.bg-white { background: #fff; }
.round-16 { border-radius: var(--radius); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.max-60 { max-width: 60ch; }
.nowrap { white-space: nowrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 4px 9px; border-radius: 7px; }
.section--dark .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #c9d6ee; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 9px; font-size: 13.5px; }
  .header__phone { display: none; }
  .header__cta { display: none; }
  .logo__tagline { display: none; }
  .header__inner { gap: 14px; }
  .hero__grid { gap: 36px; }
}
@media (max-width: 1000px) {
  .header__search { display: none; }
  .nav__link { padding: 9px 7px; font-size: 13px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions { gap: 6px; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { min-height: 0; max-width: 560px; }
  .mock { transform: none; }
  .float-card--1 { left: 0; bottom: -18px; }
  .float-card--2 { right: 0; top: -18px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filter-block--mobile { display: none; }
  .cta { grid-template-columns: 1fr; gap: 30px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 28px; }
  .sticky-side { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3n)::before { display: block; }
  .step:nth-child(2n)::before { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .topbar__list:last-child { display: none; }
  .checklist--cols { grid-template-columns: 1fr; }
  .hero__facts { gap: 10px 18px; }
}
@media (max-width: 680px) {
  :root { --gutter: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none !important; }
  .form__row { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card__name { font-size: 13px; min-height: 36px; }
  .product-card__specs { display: none; }
  .product-card__price { font-size: 16px; }
  .thumb__art { width: 86%; }
  .footer__top { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .header__inner { min-height: 66px; gap: 12px; }
  .logo__name { font-size: 19px; }
  .logo__tagline { display: none; }
  .logo-mark { width: 38px; height: 38px; }
  .float-card { font-size: 11px; padding: 8px 11px; }
  .float-card b { font-size: 12.5px; }
  .hero { padding-top: 32px; }
  .hero__actions .btn { width: 100%; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab-btn { flex: 0 0 auto; }
  .cart-line { grid-template-columns: 52px 1fr; }
  .cart-line__price { grid-column: 2; }
}
@media (max-width: 420px) {
  .products { grid-template-columns: 1fr; }
}
@media print {
  .header, .topbar, .footer, .cart-drawer, .mobile-nav, .cta { display: none !important; }
  body { background: #fff; }
  .card, .panel, .table-wrap { box-shadow: none; }
}

/* ---------- дополнения: фильтры, якоря ---------- */
html { scroll-padding-top: 96px; }
.filter-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 7px 9px; border-radius: 8px; text-align: left;
  font-size: 13.8px; font-weight: 500; color: var(--ink-2);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.filter-link:hover { background: var(--surface-2); color: var(--ink); }
.filter-link.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.filter-link.is-active .count { color: var(--brand); }
.filter-link .count { font-size: 11.5px; color: var(--ink-3); }
[data-filters-toggle] { display: none; }
[data-filters-toggle-mobile] { display: none; }
.catalog-toolbar .select { flex: 0 0 auto; }
@media (max-width: 1080px) {
  .filters:not(.is-open) .filter-block:not(:first-child) { display: none; }
  .filters.is-open .filter-block:first-child { background: transparent; border: 0; padding: 0; }
  [data-filters-toggle] { display: inline-flex; }
  [data-filters-toggle-mobile] { display: inline-flex; }
}
@media (max-width: 680px) {
  .header__search { display: none; }
  .catalog-toolbar { gap: 8px; }
  .catalog-toolbar .search-field { flex: 1 1 100%; }
  .catalog-toolbar .select { flex: 1 1 auto; }
  .filters.is-open { padding-bottom: 8px; }
}
.art-store { display: none; }
.cart-line .thumb { border: 0; border-radius: 10px; }
.cart-line .thumb__art { width: 92%; }
.cart-drawer__foot .form__note { margin-top: 0; }
@media (max-width: 680px) {
  .cart-line { grid-template-columns: 52px 1fr; }
  .cart-line__price { grid-column: 2; font-size: 14px; }
}

/* ---------- фикс: мега-меню не расширяет страницу ---------- */
html, body { overflow-x: clip; }
.header__inner { position: relative; }
.nav__item[data-menu="equipment"] { position: static; }
.nav__item[data-menu="equipment"] > .mega { left: clamp(16px, 2.4vw, 56px); right: auto; top: calc(100% + 12px); max-width: calc(100vw - 2 * clamp(16px, 2.4vw, 56px)); }
@media (max-width: 420px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .products { grid-template-columns: 1fr; } }

/* печать и скриншоты: не скрываем контент до появления в вьюпорте */
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- reveal только при работающем JS ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- SEO: гео-блок в подвале ---------- */
.footer__geo { border-top: 1px solid rgba(255,255,255,.08); margin-top: 10px; padding-top: 22px; }
.footer__geo-list { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 13px; }
.footer__geo-list a { color: #93a4c4; }
.footer__geo-list a:hover { color: #fff; }
.footer__geo-list a b { color: #fff; font-weight: 700; }
.footer__geo-list--services { margin-top: 4px; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.08); }
.chip--all { background: var(--brand-soft); border-color: #d5e2ff; color: var(--brand-dark); font-weight: 700; }
@media (max-width: 680px) { .footer__geo-list { gap: 6px 14px; font-size: 12.5px; } }

/* ---------- читаемость длинных текстов ---------- */
.article p, .article li { max-width: 74ch; }
.card__text { max-width: 78ch; }

/* ---------- фото товаров ---------- */
.thumb--photo { background: #fff; }
.thumb--photo::after { display: none; }
.thumb__img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
  padding: 12px;
}
.product-card:hover .thumb__img { transform: scale(1.04); transition: transform .3s var(--ease); }
.cart-line__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; background: #fff; }
.thumb__brand { z-index: 2; }
.thumb__badge { z-index: 3; }
@media (max-width: 680px) {
  .thumb__img { padding: 8px; }
}
