/* =========================================================================
   Поручни НСТ — дизайн-система
   Фирменные цвета nst-comp.ru: #3c4b5c / #243548 / #354f6d / #597a9b / #47596b
   ========================================================================= */
@font-face {
  font-family: "Inter var";
  src: url("/assets/fonts/inter-var-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter var";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope var";
  src: url("/assets/fonts/manrope-var-cyrillic.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope var";
  src: url("/assets/fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2d2d2d;
  --ink-soft: #52606d;
  --h: #243548;
  --primary: #3c4b5c;
  --primary-700: #2f3d4d;
  --btn: #354f6d;
  --btn-hover: #2b425c;
  --accent: #597a9b;
  --link: #47596b;
  --line: #e3e8ee;
  --line-soft: #eef2f6;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-tint: #eef3f7;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-1: 0 1px 2px rgba(36, 53, 72, .06), 0 8px 24px -12px rgba(36, 53, 72, .16);
  --shadow-2: 0 2px 4px rgba(36, 53, 72, .07), 0 22px 44px -20px rgba(36, 53, 72, .28);
  --shadow-3: 0 30px 70px -30px rgba(36, 53, 72, .45);
  --ease: cubic-bezier(.22, .68, 0, 1);
  --ease-soft: cubic-bezier(.4, .1, .2, 1);
  --header-h: 84px;
  --wrap: 1280px;
  --font: "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Manrope var", "Inter var", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.62 var(--font);
  font-feature-settings: "ss01" 1, "cv05" 1;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .22s var(--ease-soft); }
a:hover { color: var(--btn); }
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--font-h); color: var(--h); margin: 0 0 .5em; letter-spacing: -.015em; }
h1, .h1 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; line-height: 1.08; }
h2, .h2 { font-size: clamp(24px, 2.9vw, 36px); font-weight: 700; line-height: 1.16; }
h3, .h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; line-height: 1.3; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 34px); }
.narrow { max-width: 880px; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }
section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 20px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--btn); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font: 600 16px/1 var(--font-h); letter-spacing: .01em; text-align: center; overflow: hidden;
  background: var(--btn-bg); color: var(--btn-fg); isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease-soft), color .3s var(--ease-soft);
}
.btn::after {
  content: ""; position: absolute; inset: 0 auto 0 -40%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
  transform: skewX(-18deg); transition: transform .65s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(53, 79, 109, .65); }
.btn:hover::after { transform: translateX(320%) skewX(-18deg); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(89, 122, 155, .45); outline-offset: 2px; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--btn); border-color: rgba(53, 79, 109, .3); }
.btn-outline:hover { border-color: var(--btn); background: rgba(53, 79, 109, .06); color: var(--btn-hover); }
.btn-ghost { background: transparent; color: var(--primary); border-color: transparent; padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--btn); background: rgba(53, 79, 109, .06); }
.btn-ghost i { transition: transform .3s var(--ease); font-style: normal; }
.btn-ghost:hover i { transform: translateX(4px); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.link-btn { background: none; border: 0; color: var(--link); cursor: pointer; font: 500 14px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; }
.link-more { font: 600 16px/1 var(--font-h); color: var(--btn); display: inline-flex; align-items: center; gap: .4em; }
.link-more i { font-style: normal; transition: transform .3s var(--ease); }
.link-more:hover i { transform: translateX(5px); }
.eyebrow {
  display: inline-block; font: 600 13px/1 var(--font-h); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

/* ---------------------------------------------------------------- header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--btn)); }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .35s var(--ease), --header-h .35s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(36, 53, 72, .35); }
.header-inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--h); flex: 0 0 auto; }
.logo-mark { color: var(--btn); display: grid; place-items: center; transition: transform .5s var(--ease); }
.logo:hover .logo-mark { transform: translateY(-2px) rotate(-2deg); }
.logo-draw { stroke-dasharray: 28; stroke-dashoffset: 28; animation: draw 1.6s var(--ease) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font: 800 21px/1 var(--font-h); letter-spacing: .06em; color: var(--primary); }
.logo-text i { font: 500 10.5px/1.2 var(--font); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 14px); list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 10px; color: var(--primary); font: 500 15.5px/1 var(--font-h); }
.nav-link:hover, .nav-link.is-active { color: var(--btn); background: rgba(53, 79, 109, .07); }
.nav-link.is-active { position: relative; }
.nav-link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--accent); border-radius: 2px; }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.has-sub:hover .chev { transform: rotate(225deg) translateY(-1px); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 10px);
  display: flex; gap: 26px; padding: 22px 26px; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-col.wide { min-width: 560px; }
.sub-title { display: block; font: 600 12px/1 var(--font-h); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sub ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sub ul.cols2 { grid-template-columns: 1fr 1fr; }
.sub a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 15px; color: var(--primary); }
.sub a:hover { background: var(--bg-soft); color: var(--btn); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--primary); display: grid; place-items: center; cursor: pointer; transition: all .25s var(--ease); }
.icon-btn:hover { border-color: var(--accent); color: var(--btn); transform: translateY(-2px); }
.header-cta { display: inline-flex; }
.burger { display: none; width: 44px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 12px 10px; }
.burger span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7fafc 0%, #eef3f7 62%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; width: 780px; height: 780px; right: -180px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 122, 155, .22), rgba(89, 122, 155, 0) 62%);
  animation: float 16s var(--ease-soft) infinite alternate;
}
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-40px, 40px, 0) scale(1.08); } }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke: rgba(60, 75, 92, .09); stroke-width: 2; }
.hero-lines .draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: heroDraw 2.6s var(--ease) .3s forwards; }
.hero-lines .d2 { stroke: rgba(89, 122, 155, .16); animation-delay: .8s; }
@media (max-width: 1024px) { .hero-mini { left: auto; right: -14px; bottom: -22px; } }
@keyframes heroDraw { to { stroke-dashoffset: 0; } }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(28px, 4vw, 68px);
  align-items: center; padding: clamp(34px, 4.6vw, 72px) clamp(16px, 3.4vw, 34px) clamp(40px, 5vw, 78px);
}
.hero-meta { margin: 26px 0 0; font-size: 14px; color: var(--ink-soft); max-width: 52ch; padding-top: 18px; border-top: 1px dashed var(--line); }
.hero-text h1 { margin-bottom: .45em; }
.hero-lead { font-size: clamp(16.5px, 1.35vw, 19px); color: #46525f; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.hero-points li { display: flex; flex-direction: column; gap: 2px; padding-left: 22px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero-points b { font: 600 15.5px/1.35 var(--font-h); color: var(--h); }
.hero-points span { font-size: 14.5px; color: var(--ink-soft); }
.hero-visual { position: relative; }
.hero-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px;
  box-shadow: var(--shadow-3); overflow: hidden;
}
.hero-card img { border-radius: 18px; }
.hero-badge {
  position: absolute; right: 30px; bottom: 30px; display: flex; flex-direction: column; gap: 2px;
  background: rgba(36, 53, 72, .92); color: #fff; padding: 12px 18px; border-radius: 14px;
  backdrop-filter: blur(6px); box-shadow: var(--shadow-1);
}
.hero-badge b { font: 700 22px/1 var(--font-h); }
.hero-badge span { font-size: 12.5px; opacity: .82; }
.hero-mini {
  position: absolute; left: -26px; bottom: -30px; width: 186px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 12px; box-shadow: var(--shadow-3); display: grid; gap: 8px;
}
.hero-mini img { border-radius: 12px; }
.hero-mini span { font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(52px, 6vw, 104px) 0; }
.section + .section { padding-top: clamp(20px, 2.4vw, 40px); }
.section-sub { max-width: 74ch; color: var(--ink-soft); margin-bottom: clamp(26px, 3vw, 44px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 2.6vw, 40px); }
.section-tasks { background: #fff; }
.section-why, .section-help { background: var(--bg-soft); }
.section-steps { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.grid { display: grid; gap: clamp(16px, 1.8vw, 26px); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* tiles */
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease-soft);
}
.tile::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(89, 122, 155, .1), transparent 55%);
  opacity: 0; transition: opacity .45s var(--ease-soft);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(89, 122, 155, .5); }
.tile:hover::before { opacity: 1; }
.tile-title, .tile > span:first-child { font: 650 19px/1.3 var(--font-h); color: var(--h); }
.tile-text { color: var(--ink-soft); font-size: 15.5px; }
.tile-more { margin-top: auto; font: 600 14.5px/1 var(--font-h); color: var(--btn); display: inline-flex; gap: .4em; align-items: center; }
.tile-more i { font-style: normal; transition: transform .3s var(--ease); }
.tile:hover .tile-more i { transform: translateX(5px); }
.tile-link { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
.tile-link > span { font: 600 17px/1.35 var(--font-h); color: var(--h); }
.tile-link i { font-style: normal; color: var(--accent); transition: transform .35s var(--ease); }
.tile-link:hover i { transform: translateX(6px); }
.tile-task { min-height: 220px; }

/* why */
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.why-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--bg-tint); color: var(--btn); display: grid; place-items: center; margin-bottom: 16px; }
.why-item h3 { font-size: 18px; margin-bottom: .35em; }
.why-item p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step { display: flex; gap: 16px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { font: 700 26px/1 var(--font-h); color: var(--accent); opacity: .55; }
.step b { display: block; font: 650 17px/1.3 var(--font-h); color: var(--h); margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* b2b */
.b2b-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.section-b2b { background: linear-gradient(135deg, var(--primary) 0%, var(--h) 100%); color: #dde5ee; border-radius: 0; }
.section-b2b .h2, .section-b2b h2 { color: #fff; }
.section-b2b p { color: #c9d5e2; }
.section-b2b .eyebrow { color: #9db4cc; }
.section-b2b .btn-ghost { color: #fff; }
.section-b2b .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.b2b-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); padding: 20px; }
.stat b { display: block; font: 700 30px/1 var(--font-h); color: #fff; margin-bottom: 6px; }
.stat span { font-size: 13.5px; color: #bacbdc; }

/* cards */
.card {
  position: relative;
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(89, 122, 155, .45); }
.card-media { position: relative; display: block; background: #fff; padding: 14px 14px 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-shine {
  position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 48%, transparent 58%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.card:hover .card-shine { transform: translateX(120%); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 22px; flex: 1; }
.card-body h3 { font-size: 17.5px; margin: 0; }
.card-text { font-size: 15px; color: #4b5563; margin: 0; }
.card-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.card-tags li { font: 500 12px/1 var(--font); color: var(--primary); background: var(--bg-tint); border-radius: 999px; padding: 6px 10px; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-foot { position: relative; z-index: 2; margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.price { display: flex; flex-direction: column; font: 700 23px/1.1 var(--font-h); color: var(--h); letter-spacing: -.01em; }
.price em { font: 400 12px/1.3 var(--font); font-style: normal; color: var(--ink-soft); }
.card-actions { display: flex; align-items: center; gap: 14px; }
.link-arrow { font: 600 14.5px/1 var(--font-h); color: var(--btn); display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.link-arrow i { font-style: normal; transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* faq */
.faq-list { display: grid; gap: 12px; max-width: 980px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(89, 122, 155, .55); box-shadow: var(--shadow-1); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font: 600 17px/1.35 var(--font-h); color: var(--h); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--bg-tint); transition: transform .35s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--btn); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* cta + form */
.section-cta { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.cta-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 3.6vw, 60px); align-items: start; }
.cta-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cta-points li { padding-left: 26px; position: relative; color: #4a5661; }
.cta-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.cta-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.4vw, 34px); box-shadow: var(--shadow-1); }
.lead-form { position: relative; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field-label { font: 500 13.5px/1 var(--font); color: var(--ink-soft); }
.field-label em { font-style: normal; color: #97a4b1; }
.field input, .field textarea, .search-input, .sort select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-xs);
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(89, 122, 155, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b4413f; background: #fdf6f6; }
.field-err { display: none; font-size: 12.5px; color: #b4413f; }
.field.is-invalid .field-err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.check input { margin-top: 3px; accent-color: var(--btn); width: 16px; height: 16px; }
.check.is-invalid span { color: #b4413f; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.is-error { color: #b4413f; }
.form-success {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .96); border-radius: 18px;
  display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.form-success svg { color: var(--accent); }
.form-success b { font: 650 20px/1.2 var(--font-h); color: var(--h); }
.form-success span { font-size: 14.5px; color: var(--ink-soft); max-width: 34ch; }
.form-success .suc-c { stroke-dasharray: 140; stroke-dashoffset: 140; }
.form-success .suc-t { stroke-dasharray: 40; stroke-dashoffset: 40; }
.lead-form.is-sent .form-success { opacity: 1; visibility: visible; }
.lead-form.is-sent .form-success .suc-c { animation: drawFast .7s var(--ease) forwards; }
.lead-form.is-sent .form-success .suc-t { animation: drawFast .5s var(--ease) .45s forwards; }
@keyframes drawFast { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- product page */
.page-head { padding: clamp(30px, 4vw, 58px) 0 clamp(20px, 2.4vw, 36px); background: linear-gradient(180deg, var(--bg-soft), #fff); }
.page-head--landing { padding-bottom: clamp(26px, 3vw, 46px); }
.page-sub { max-width: 78ch; color: #4a5661; font-size: clamp(16px, 1.25vw, 18.5px); }
.page-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.page-points li { padding-left: 28px; position: relative; }
.page-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.crumbs { font-size: 13.5px; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b6c1cc; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--btn); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(26px, 3.6vw, 60px); padding-top: clamp(18px, 2vw, 30px); }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transition: transform .5s var(--ease); }
.gallery-main.is-zoomed img { transform: scale(1.85); transition: transform .12s linear; }
.gallery-zoom-hint { position: absolute; left: 14px; bottom: 14px; font-size: 12px; color: var(--ink-soft); background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 86px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); }
.thumb img { border-radius: 8px; }
.thumb.is-active, .thumb:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-info h1 { font-size: clamp(24px, 2.6vw, 38px); }
.product-lead { color: #46525f; font-size: clamp(16px, 1.2vw, 18px); }
.product-bullets { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.product-bullets li { position: relative; padding-left: 28px; color: #3f4b57; }
.product-bullets li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.product-buy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-1); }
.buy-price { display: flex; flex-direction: column; gap: 8px; }
.buy-price .price { font-size: 30px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #3f6b52; }
.stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #4f9a70; box-shadow: 0 0 0 4px rgba(79, 154, 112, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(79, 154, 112, .06); } }
.buy-note { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.product-facts { display: grid; gap: 12px; margin: 24px 0 0; }
.product-facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.product-facts dt { font: 500 14px/1.4 var(--font); color: var(--ink-soft); }
.product-facts dd { margin: 0; font-size: 15px; color: #3c4753; }
.product-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 3.4vw, 56px); padding: clamp(26px, 3vw, 46px) 0 0; }
.prose p { color: #3f4b57; }
.prose p + p { margin-top: -.1em; }
.content-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.content-list li { position: relative; padding-left: 26px; color: #3f4b57; }
.content-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.spec-table th { width: 45%; color: var(--ink-soft); font-weight: 500; background: var(--bg-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .95); border-top: 1px solid var(--line); backdrop-filter: blur(10px); transform: translateY(120%); transition: transform .4s var(--ease); }
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3.4vw, 34px); }
.sticky-info { display: flex; flex-direction: column; }
.sticky-info b { font: 600 15px/1.3 var(--font-h); color: var(--h); }
.sticky-info span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------------------------------------------------------------- catalog */
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 20px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filter-group { display: grid; gap: 10px; }
.filter-title { font: 600 12.5px/1 var(--font-h); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--primary); border-radius: 999px;
  padding: 8px 14px; font: 500 13.5px/1 var(--font); cursor: pointer;
  transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.chip.is-active { background: var(--btn); border-color: var(--btn); color: #fff; box-shadow: 0 8px 18px -10px rgba(53, 79, 109, .8); }
.filters-hint { border-top: 1px dashed var(--line); padding-top: 16px; display: grid; gap: 8px; }
.filters-hint p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.catalog-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.found { font-size: 15px; color: var(--ink-soft); }
.found b { color: var(--h); font: 650 17px/1 var(--font-h); }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.sort select { width: auto; padding: 10px 14px; font-size: 14.5px; }
.only-mobile { display: none; }
.empty-note { padding: 22px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--ink-soft); }
.grid-products { transition: opacity .3s var(--ease); }
.grid-products.is-filtering { opacity: .45; }
.card.is-hidden { display: none; }
.card.is-flipping { transition: transform .45s var(--ease); }

/* search */
.search-input { font-size: 17px; padding: 16px 18px; }
.search-results { display: grid; gap: 10px; max-height: 52vh; overflow: auto; margin-top: 16px; }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .25s, transform .25s var(--ease); }
.search-hit:hover { border-color: var(--accent); transform: translateX(3px); }
.search-hit img { width: 64px; height: 64px; border-radius: 10px; background: var(--bg-soft); object-fit: contain; flex: 0 0 64px; }
.search-hit div { display: grid; gap: 3px; }
.search-hit b { font: 600 15.5px/1.3 var(--font-h); color: var(--h); }
.search-hit span { font-size: 13.5px; color: var(--ink-soft); }
.search-results--page { max-height: none; }

/* ---------------------------------------------------------------- modals */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(24, 33, 44, .55); backdrop-filter: blur(3px); animation: fadeIn .3s var(--ease); }
.modal-card { position: relative; width: min(680px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow-3); animation: modalIn .45s var(--ease); }
.modal-card--wide { width: min(760px, 100%); }
.modal-x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; color: var(--primary); cursor: pointer; transition: all .25s var(--ease); }
.modal-x:hover { border-color: var(--accent); transform: rotate(90deg); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- footer / misc */
.site-footer { background: var(--h); color: #c3d0dd; padding: clamp(40px, 5vw, 72px) 0 24px; margin-top: clamp(40px, 5vw, 80px); }
.logo-footer .logo-text b { color: #fff; }
.logo-footer .logo-text i { color: #93a9c0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(20px, 3vw, 48px); }
.f-title { display: block; font: 600 12.5px/1 var(--font-h); letter-spacing: .1em; text-transform: uppercase; color: #8ea6bf; margin-bottom: 14px; }
.f-links, .f-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-links a, .f-contacts a { color: #cfdae6; font-size: 15px; }
.f-links a:hover, .f-contacts a:hover { color: #fff; }
.f-links.cols2 { grid-template-columns: 1fr 1fr; }
.f-contacts li { font-size: 15px; }
.site-footer .muted { color: #9fb2c6; }
.site-footer .btn-outline { color: #d7e2ee; border-color: rgba(215, 226, 238, .35); margin-top: 14px; }
.site-footer .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #9fb2c6; }
.footer-bottom a { color: #cfdae6; }
.mobile-bar { display: none; }
.sitemap-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.h3 { font-size: 19px; }

/* ---------------------------------------------------------------- reveal animations */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-26px); }
.js .reveal-right { transform: translateX(26px); }
.js .reveal-scale { transform: scale(.96); }
html:not(.js) .hero-lines .draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ---------------------------------------------------------------- лендинги: hero-сетка и контент с асидом */
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 3.4vw, 60px); align-items: center; }
.page-head-grid .hero-visual { max-width: 520px; margin-left: auto; }
.page-head-text { min-width: 0; }
.section-content { padding-top: clamp(28px, 3vw, 52px); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 3.2vw, 56px); align-items: start; }
.content-main { display: grid; gap: clamp(26px, 3vw, 48px); max-width: 840px; }
.content-block h2 { margin-bottom: .5em; }
.content-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-1); }
.aside-card b { font: 650 17px/1.3 var(--font-h); color: var(--h); }
.aside-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.aside-card .btn { justify-self: start; }
.aside-facts { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.aside-facts li { position: relative; padding-left: 22px; font-size: 14px; color: #4b5563; }
.aside-facts li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aside-links a { font-size: 14.5px; }
.card-fill {
  border-style: dashed; background: linear-gradient(135deg, #fbfdfe, #f1f6f9);
  align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px 24px;
  cursor: pointer; font: inherit; color: inherit; width: 100%;
}
.card-fill b { font: 650 18px/1.3 var(--font-h); color: var(--h); }
.card-fill span { font-size: 14.5px; color: var(--ink-soft); }
.card-fill i { font-style: normal; color: var(--accent); font-size: 20px; transition: transform .3s var(--ease); }
.card-fill:hover { border-color: var(--accent); }
.card-fill:hover i { transform: translateX(5px); }


/* ---------------------------------------------------------------- доп. акценты анимации */
.section-content .h2.reveal, .section-tasks .h2, .section-cta .h2 { position: relative; }
.section-content .h2.reveal::after, .section-tasks .h2::after, .section-cta .h2::after {
  content: ""; display: block; width: 66px; height: 3px; margin-top: 14px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(89, 122, 155, .12));
  transform: scaleX(0); transform-origin: left center; transition: transform .9s var(--ease) .12s;
}
.js .section-content .h2.reveal.is-in::after { transform: scaleX(1); }
.section-tasks .h2::after, .section-cta .h2::after { transform: scaleX(1); }
.section-b2b .h2.reveal::after { background: linear-gradient(90deg, #9db4cc, rgba(157, 180, 204, .1)); }
.card-fill .h2.reveal::after { display: none; }
.hero-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, .55) 50%, transparent 58%);
  transform: translateX(-120%); animation: heroSheen 2.4s var(--ease) .9s 1 forwards;
}
@keyframes heroSheen { to { transform: translateX(120%); } }
.section-b2b { position: relative; overflow: hidden; }
.section-b2b::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 180, 204, .18), transparent 65%);
  animation: float 18s var(--ease-soft) infinite alternate;
}
@media (prefers-reduced-motion: reduce) { .hero-card::after { animation: none; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-points { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2); padding: 18px clamp(16px, 3.4vw, 34px) 26px; max-height: calc(100vh - var(--header-h));
    overflow: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .32s var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { justify-content: space-between; padding: 14px 6px; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 17px; }
  .nav-link.is-active::after { display: none; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: 0; padding: 6px 0 14px; min-width: 0; }
  .has-sub.is-open .sub { display: grid; gap: 12px; }
  .sub-col.wide { min-width: 0; }
  .sub ul.cols2 { grid-template-columns: 1fr; }
  .chev { transition: transform .3s var(--ease); }
  .has-sub.is-open .chev { transform: rotate(225deg) translateY(-1px); }
  .burger { display: block; }
  .header-cta { display: none; }
  .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-mini { right: 8px; top: -14px; width: 150px; }
  .b2b-grid, .cta-grid, .product-layout, .product-cols, .sitemap-grid { grid-template-columns: 1fr; }
  .page-head-grid, .content-grid { grid-template-columns: 1fr; }
  .content-aside { position: static; }
  .page-head-grid .hero-visual { max-width: 560px; margin: 0; }
  .filters { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .only-mobile { display: inline-flex; }
  #filters { display: none; }
  #filters.is-open { display: grid; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .b2b-stats { grid-template-columns: 1fr 1fr; }
  .hero-mini { display: none; }
  .hero-badge { right: 16px; bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-links.cols2 { grid-template-columns: 1fr; }
  .sticky-info { max-width: 58%; }
  .sticky-info b { font-size: 13.5px; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px; background: rgba(255, 255, 255, .94); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { flex: 1; }
  .site-footer { padding-bottom: 84px; }
  .sticky-buy { bottom: 62px; }
  .crumbs { font-size: 12.5px; }
  .product-facts > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (min-width: 721px) { .mobile-bar { display: none; } }

/* печать */
@media print {
  .site-header, .site-footer, .mobile-bar, .sticky-buy, .section-cta, .modal { display: none !important; }
  body { font-size: 12pt; }
}
