/* Layout: светлый фон в точку, белые карточки без тяжёлых теней, розовый маркер в заголовках, яркие малиновые кнопки; контент 1200px */
:root {
  color-scheme: light;
  --bg: #F4F7FB;
  --dot: #D5DDE8;
  --card: #FFFFFF;
  --ink: #0E1B33;
  --text: #394458;
  --muted: #556073;
  --line: #E4EAF2;
  --chip: #EFF3F9;
  --accent: #0B6EE6;
  --accent-h: #0B4AA2;
  --accent-soft: #EAF3FF;
  --accent-soft-2: #D6E8FF;
  --rose: #A8CCF8;
  --hl: #CDE3FF;
  --ok: #12A150;
  --ok-ink: #0B7A3B;
  --ok-soft: #E6F6EC;
  --warn: #D97706;
  --warn-ink: #9A5204;
  --warn-soft: #FDF1E2;
  --on-accent: #FFFFFF;
  --wa: #25D366;

  --shadow: 0 1px 2px rgba(14, 27, 51, .04), 0 12px 28px -18px rgba(14, 27, 51, .18);
  --shadow-hover: 0 2px 4px rgba(14, 27, 51, .04), 0 20px 36px -20px rgba(11, 110, 230, .35);

  --font: "Manrope", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
main { overflow-x: clip; }

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.ic { width: 24px; height: 24px; flex: none; fill: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid rgba(11, 110, 230, .35); outline-offset: 3px; }

/* ---------- Типографика ---------- */
.pill { display: inline-block; padding: 5px 14px; border-radius: 8px; background: var(--hl); color: var(--ink); font: 600 13px/1.4 var(--font); }
.h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.hl { background: var(--hl); padding: 0 .16em; border-radius: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sw, .nw { position: relative; white-space: nowrap; }
.sw svg { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .34em; overflow: visible; pointer-events: none; }
.sw path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 0; }
.js .sw.reveal path { stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s .35s ease; }
.js .sw.reveal.in path { stroke-dashoffset: 0; }
.sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: 40px; }
.sec-head .sub { max-width: 60ch; color: var(--muted); font-size: 17px; }
.section { padding-top: 104px; padding-bottom: 104px; }
.section.tight { padding-top: 0; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 var(--font); white-space: nowrap;
  transition: transform .18s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn .ic { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 22px -10px rgba(11, 110, 230, .75); }
.btn-accent:hover { background: var(--accent-h); box-shadow: 0 14px 28px -10px rgba(11, 110, 230, .85); }
.btn-accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-accent:hover::after { transform: translateX(120%); }
.btn-soft { background: var(--accent-soft-2); color: #0B4AA2; }
.btn-soft:hover { background: var(--hl); }
.btn-line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-h); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav .menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav .menu-item { margin: 0; padding: 0; }
.nav a { position: relative; padding: 10px 11px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.hdr-phone { font-weight: 700; font-size: 15px; color: var(--ink); white-space: nowrap; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--accent); transition: transform .2s ease, background-color .2s ease; }
.icon-btn:hover { transform: scale(1.06); background: #eaf3ff; }
.icon-btn .ic { width: 22px; height: 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--chip); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mnav .wrap { display: grid; padding-top: 6px; padding-bottom: 20px; }
.mnav .menu { display: grid; margin: 0; padding: 0; list-style: none; }
.mnav .menu-item { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.mnav .menu a { display: block; padding: 14px 2px; font-weight: 600; font-size: 17px; color: var(--ink); }
.mnav .menu a[aria-current="page"] { color: var(--accent-h); }
.mnav-link { padding: 14px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; color: var(--ink); }
.mnav-phone { padding: 16px 2px 6px; font-weight: 700; font-size: 18px; color: var(--ink); }
.mnav .btn { margin-top: 10px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding-top: 64px; padding-bottom: 72px; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -10%; width: 70%; height: 110%;
  background: radial-gradient(closest-side, rgba(205, 227, 255, .7), rgba(205, 227, 255, 0)); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.trust { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-icons { display: flex; }
.trust-icons span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--card); }
.trust-icons span + span { margin-left: -9px; }
.trust-icons .ic { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 4vw, 56px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.hero .lead { font-size: 19px; color: var(--text); max-width: 46ch; }
.phone-form {
  display: flex; align-items: center; gap: 6px; width: 100%; max-width: 500px;
  padding: 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.phone-form input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 0; background: transparent; font-size: 15px; color: var(--ink); }
.phone-form input::placeholder { color: var(--muted); }
.phone-form input:focus { outline: none; }
.phone-form:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px var(--accent-soft); }
.phone-form .btn { height: 48px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 4px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-points .ic { width: 22px; height: 22px; color: var(--accent); }

.hero-visual { position: relative; padding: 18px 0 66px 18px; }
.app { position: relative; z-index: 1; background: var(--card); border: 1px solid #DEE5EE; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(14, 27, 51, .05), 0 40px 70px -40px rgba(14, 27, 51, .35); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: #F2F5FA; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #DAE1EB; }
.url { flex: 1; max-width: 300px; margin-inline: auto; height: 24px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.url .ic { width: 12px; height: 12px; }
.app-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); }
.app-side { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 14px 0; background: #F8FAFD; border-right: 1px solid var(--line); }
.app-side img { width: 32px; height: auto; margin-bottom: 10px; }
.app-side span { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #96A0B2; }
.app-side span.on { background: var(--accent-soft); color: var(--accent); }
.app-side .ic { width: 20px; height: 20px; }
.app-main { min-width: 0; padding: 16px 18px 6px; display: grid; gap: 12px; align-content: start; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-top b { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.app-top span:not(.app-new) { font-size: 12px; color: var(--muted); }
.app-new { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.app-new .ic { width: 14px; height: 14px; }
.app-tabs { display: flex; gap: 4px; font-size: 12.5px; color: var(--muted); }
.app-tabs span { padding: 5px 10px; border-radius: 7px; }
.app-tabs .on { background: var(--chip); color: var(--ink); font-weight: 700; }
.app-tabs em { font-style: normal; margin-left: 4px; padding: 0 6px; border-radius: 6px; background: var(--card); font-size: 12px; }
.app-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.app-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 7px 6px; border-bottom: 1px solid var(--line); }
.app-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.app-table tr:last-child td { border-bottom: 0; }
.app-table tbody tr { transition: background-color .2s ease; }
.app-table tbody tr:hover { background: #F4F8FE; }
.app-table .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.prob b { display: block; font-weight: 600; color: var(--ink); }
.prob span { font-size: 12px; color: var(--muted); }
.who { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--ink); }
.av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line); }
.chip { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.app-table td small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.c-new { background: var(--accent-soft); color: #0B4AA2; }
.c-work { background: var(--warn-soft); color: var(--warn-ink); }
.c-done { background: var(--ok-soft); color: var(--ok-ink); }
.notif { position: absolute; z-index: 2; left: -6px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(14, 27, 51, .45); animation: notif-in .7s 1.2s ease both; }
@keyframes notif-in { from { transform: translateY(14px); } to { transform: none; } }
.notif-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.notif-ic .ic { width: 22px; height: 22px; }
.notif b { display: block; font-size: 13.5px; color: var(--ink); }
.notif span { display: block; font-size: 12px; color: var(--muted); }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Карточки ---------- */
.card { background: var(--card); border-radius: 26px; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-soft-2); }
.tile { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.tile .ic { width: 28px; height: 28px; }
.lift:hover .tile { transform: rotate(-6deg) scale(1.08); background: var(--accent); color: var(--on-accent); --duo: var(--on-accent); --duo-o: .35; }

/* Кто мы */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.intro-text { padding: 48px; display: grid; align-content: center; gap: 22px; justify-items: start; min-width: 0; }
.intro-text p { font-size: 16.5px; max-width: 60ch; }
.intro-list { display: grid; gap: 10px; }
.intro-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.intro-list .ic { width: 22px; height: 22px; color: var(--accent); }
.intro-art { position: relative; overflow: hidden; padding: 20px 20px 24px; display: grid; align-content: space-between; gap: 6px; background: linear-gradient(180deg, var(--card), #F4F9FF); }
.iso { width: 100%; height: auto; display: block; }
.iso-badge { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.iso-led { animation: blink 1.4s ease-in-out infinite; }
.iso-chart { stroke-dasharray: 120; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 120; } 45%, 100% { stroke-dashoffset: 0; } }
.art-caption { display: flex; align-items: center; gap: 14px; padding: 16px 8px 4px; border-top: 1px solid var(--line); color: var(--ink); }
.art-caption .tile { width: 44px; height: 44px; border-radius: 13px; }
.art-caption .tile .ic { width: 24px; height: 24px; }
.art-caption b { font-weight: 700; font-size: 15.5px; line-height: 1.35; }

/* Услуги */
.services { position: relative; }
.services::before {
  content: ""; position: absolute; left: -10%; top: 15%; width: 60%; height: 70%;
  background: radial-gradient(closest-side, rgba(205, 227, 255, .6), rgba(205, 227, 255, 0)); pointer-events: none;
}
.bento { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.svc.wide { grid-column: span 2; }
.svc-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; }
.svc h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.svc-title span { font-size: 14px; color: var(--muted); }
.svc p { font-size: 15px; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chips li { padding: 7px 13px; border-radius: 999px; background: var(--chip); font-size: 13.5px; line-height: 1.3; color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.chips li:hover { background: var(--accent-soft); color: var(--accent-h); }
.svc.accent { position: relative; overflow: hidden; background: linear-gradient(120deg, #EAF3FF, #DCEBFF); border-color: var(--accent-soft-2); }
.svc.accent .tile { background: var(--card); }
.svc.accent.lift:hover .tile { background: var(--accent); color: var(--on-accent); }
.svc.accent strong { color: var(--accent-h); font-weight: 700; }
.svc-orn { position: absolute; right: 22px; bottom: 16px; width: 160px; opacity: .3; pointer-events: none; transition: transform .4s ease; }
.svc.accent:hover .svc-orn { transform: translateY(-6px) scale(1.04); }

/* Было → стало */
.cmp-card { padding: 14px; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmp-head { padding: 12px 14px 10px; }
.cmp-head span { justify-self: start; }
.cmp-head .was-pill { background: var(--chip); }
.cmp-row + .cmp-row { margin-top: 10px; }
.was, .now { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; min-width: 0; transition: transform .25s ease; }
.was { background: var(--bg); color: var(--muted); }
.now { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.cmp-row:hover .now { transform: translateX(4px); }
.was .ic, .now .ic { width: 26px; height: 26px; }
.was .ic { color: #9AA3B4; }
.now .ic { color: var(--accent); }

/* Плашка с формой */
.banner {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  padding: 36px 44px; border-radius: 26px;
  background-color: #EAF3FF; border: 1px solid var(--accent-soft-2);
}
.banner-text { display: grid; gap: 6px; min-width: 0; flex: 1 1 380px; }
.banner-text h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; }
.banner-text h3 .tile { width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: var(--on-accent); --duo: var(--on-accent); --duo-o: .35; animation: zap 2.6s ease-in-out infinite; }
@keyframes zap { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
.banner-text h3 .ic { width: 24px; height: 24px; }
.banner-text p { font-size: 15px; padding-left: 56px; }
.banner .phone-form { flex: 0 1 460px; }

/* О нас и цифры */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.about-text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.about-text p { font-size: 16.5px; max-width: 56ch; }
.chart-card { padding: 22px 22px 18px; display: grid; gap: 12px; min-width: 0; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chart-head b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.chart-head span { display: block; font-size: 12.5px; color: var(--muted); }
.chart-total { text-align: right; }
.chart-total b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.chart-legend { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--text); }
.chart-legend li { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }
.chart-legend b { color: var(--ink); font-weight: 700; }
i.b-ok { background: var(--accent); }
i.b-late { background: #13233F; }
.bar-chart { width: 100%; height: auto; display: block; }
.bar-chart .grid line { stroke: var(--line); stroke-width: 1; }
.bar-chart text { fill: var(--muted); font: 500 10px var(--font); }
.bar-chart rect.b-ok { fill: var(--accent); }
.bar-chart rect.b-late { fill: #13233F; }
.js .chart-card.reveal-up .bars rect { transform: scaleY(0); transform-origin: 0 180px; transform-box: view-box; transition: transform .9s .2s ease; }
.js .chart-card.reveal-up.in .bars rect { transform: scaleY(1); }
.chart-src { font-size: 12px; color: var(--muted); }
.stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 28px 24px; text-align: center; }
.stat b { display: block; font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat:hover b { color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); max-width: 30ch; margin-inline: auto; }
.demo-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }

/* Оборудование */
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eq { padding: 24px; display: grid; gap: 12px; align-content: start; }
.eq-head { display: flex; align-items: center; gap: 14px; }
.eq h3 { font-size: 17px; font-weight: 700; }
.eq-ic { width: 34px; height: 34px; color: var(--accent); --duo-o: .3; transition: transform .3s ease; }
.lift:hover .eq-ic { transform: rotate(-8deg) scale(1.12); }
.eq p { font-size: 14.5px; color: var(--muted); }
.brands { margin-top: 12px; padding: 30px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; overflow: hidden; }
.brands h3 { text-align: center; font-size: 24px; font-weight: 500; padding-left: 20px; padding-right: 20px; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); padding-left: 24px; padding-right: 24px; }
.logos li { display: grid; place-items: center; height: 84px; color: #7D879A; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transition: color .25s ease; }
.logos li:nth-child(5n + 1) { border-left: 0; }
.logos li:nth-child(-n + 5) { border-top: 0; }
.logos li:hover { color: var(--brand-c); }
.logos svg { height: var(--h, 26px); width: auto; max-width: 70%; fill: currentColor; transition: transform .25s ease; }
.logos li:hover svg { transform: scale(1.1); }

/* Как мы работаем */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.step-num { font-weight: 800; font-size: 13px; color: var(--ink); background: var(--hl); padding: 5px 11px; border-radius: 8px; }
.step .tile { width: 46px; height: 46px; border-radius: 50%; }
.step .tile .ic { width: 24px; height: 24px; }
.step h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.step p { font-size: 14.5px; color: var(--muted); }
.step.last { background: var(--accent-soft); border-color: var(--accent-soft-2); }
.step.last .tile { background: var(--accent); color: var(--on-accent); --duo: var(--on-accent); --duo-o: .35; }
.step.last .step-num { background: var(--card); }

/* Для управления образования */
.ben-top { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 56px; align-items: center; margin-bottom: 12px; }
.ben-text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.ben-text p { font-size: 16.5px; max-width: 54ch; }
.doc-wrap { position: relative; padding: 10px 14px 24px 4px; }
.doc { position: relative; padding: 24px 24px 22px; border-radius: 6px; background: #FFFFFF; border: 1px solid #E0E6EF; box-shadow: 10px 10px 0 -1px #F7F9FC, 10px 10px 0 0 #E0E6EF, 0 34px 50px -36px rgba(14, 27, 51, .4); font-size: 12.5px; color: var(--text); }
.doc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.doc-top img { height: 30px; width: auto; }
.doc-top p { text-align: right; font-size: 12px; line-height: 1.45; color: var(--muted); }
.doc .doc-title { margin: 14px 0 8px; font-size: 16px; font-weight: 800; }
.doc-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: 12px; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; color: var(--ink); font-weight: 600; }
.doc-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc-table th { padding: 6px 4px; border-bottom: 1px solid #D3DBE6; font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; }
.doc-table td { padding: 7px 4px; border-bottom: 1px solid #EBF0F6; text-align: right; color: var(--ink); }
.doc-table th:first-child, .doc-table td:first-child { text-align: left; }
.doc-table tbody tr:hover td { background: #F4F8FE; }
.doc-table tfoot td { border-top: 1.5px solid var(--ink); border-bottom: 0; font-weight: 800; }
.doc-note { margin-top: 12px; font-size: 12px; padding-right: 104px; }
.doc-note b { color: var(--ink); }
.doc-sign { margin-top: 18px; padding-right: 110px; font-size: 12px; color: var(--muted); }
.doc-sign .line { display: inline-block; width: 90px; margin: 0 6px; border-bottom: 1px solid #B4BCCA; }
.stamp { position: absolute; right: 22px; bottom: 22px; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 1px; border: 2px solid rgba(11, 74, 162, .7); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px rgba(11, 74, 162, .6); color: #0B4AA2; opacity: .85; transform: rotate(-14deg); text-align: center; }
.stamp span { font-size: 6.5px; font-weight: 800; letter-spacing: .08em; }
.stamp b { font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.ben { padding: 24px; display: grid; gap: 10px; align-content: start; }
.ben .tile { width: 46px; height: 46px; border-radius: 50%; margin-bottom: 4px; }
.ben .tile .ic { width: 24px; height: 24px; }
.ben h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.ben p { font-size: 14.5px; color: var(--muted); }

/* Финальный призыв */
.final {
  position: relative; overflow: hidden; text-align: center;
  display: grid; justify-items: center; gap: 18px;
  padding: 72px 48px; border-radius: 30px; background: var(--card); border: 1px solid var(--line);
}
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 0% 100%, rgba(205, 227, 255, .8), rgba(205, 227, 255, 0)),
    radial-gradient(40% 60% at 100% 0%, rgba(205, 227, 255, .8), rgba(205, 227, 255, 0));
}
.final-orn { position: absolute; width: 230px; opacity: .3; pointer-events: none; }
.final-orn.l { left: -30px; bottom: 6px; }
.final-orn.r { right: -30px; top: 6px; transform: scaleY(-1); }
.final > *:not(.final-orn) { position: relative; }
.final h2 { max-width: 18ch; }
.final > p { color: var(--text); font-size: 17px; max-width: 54ch; }
.final .phone-form { margin-top: 6px; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 18px; }
.contacts li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.contacts .ic { width: 20px; height: 20px; color: var(--accent); }
.contacts a:hover { color: var(--accent-h); }

/* Подвал */
.footer { margin-top: 96px; background: var(--card); border-top: 1px solid var(--line); padding-top: 48px; padding-bottom: 26px; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.f-brand img { height: 50px; width: auto; }
.f-brand p { margin-top: 14px; font-size: 14.5px; color: var(--muted); max-width: 32ch; }
.footer h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; font-size: 14.5px; }
.footer a { transition: color .2s ease; }
.footer a:hover { color: var(--accent-h); }
.f-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }

/* Плавающая кнопка и уведомление */
.wa-float {
  position: fixed; z-index: 60;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 211, 102, .9);
  transition: transform .2s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 30px; height: 30px; }
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(460px, calc(100% - 40px)); padding: 14px 18px; border-radius: 16px;
  background: var(--ink); color: #fff; font-size: 14px; box-shadow: var(--shadow);
}

/* Сервисная мастерская */
.ws-list { display: grid; gap: 12px; }
.ws { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ws.rev .ws-photo { order: 2; }
.ws-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; }
.ws-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ws:hover .ws-photo img { transform: scale(1.04); }
.ws-text { display: grid; gap: 14px; padding-right: 18px; min-width: 0; }
.ws.rev .ws-text { padding-right: 0; padding-left: 18px; }
.ws-text h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.01em; }
.ws-text p { color: var(--muted); max-width: 52ch; }
.checklist { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checklist .ic { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }

/* Отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.rv-org { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rv-org-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.rv-org-ic .ic { width: 22px; height: 22px; }
.rv-org b, .rv-person b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.rv-org div span, .rv-person div span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.rv-person { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.rv-text { font-size: 15px; line-height: 1.6; color: var(--text); flex: 1; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.stars { display: flex; gap: 3px; color: #F5A524; }
.stars .ic { width: 20px; height: 20px; }
.rv-demo { font-size: 12px; font-weight: 600; color: var(--muted); }

/* Команда */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team-head { align-self: center; display: grid; gap: 16px; justify-items: start; padding: 8px 24px 8px 0; }
.team-head p { color: var(--muted); max-width: 40ch; }
.team-head .h2 { font-size: clamp(28px, 2.7vw, 38px); }
.reason { padding: 26px; display: grid; gap: 10px; align-content: start; }
.reason .tile { width: 46px; height: 46px; border-radius: 50%; margin-bottom: 4px; }
.reason .tile .ic { width: 24px; height: 24px; }
.reason h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.reason p { font-size: 14.5px; color: var(--muted); }

/* Появление при прокрутке */
.js .reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal-up.in { opacity: 1; transform: none; }
.js .stagger > .reveal-up.in:nth-child(2) { transition-delay: .06s; }
.js .stagger > .reveal-up.in:nth-child(3) { transition-delay: .12s; }
.js .stagger > .reveal-up.in:nth-child(4) { transition-delay: .18s; }
.js .stagger > .reveal-up.in:nth-child(5) { transition-delay: .24s; }
.js .stagger > .reveal-up.in:nth-child(6) { transition-delay: .3s; }
.js .stagger > .reveal-up.in:nth-child(7) { transition-delay: .36s; }
.js .stagger > .reveal-up.in:nth-child(8) { transition-delay: .42s; }

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 600px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .intro-grid, .about-grid, .ben-top { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc.wide, .svc.backup { grid-column: span 2; }
  .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step.last { grid-column: span 2; }
  .ws { grid-template-columns: 1fr; gap: 20px; }
  .ws.rev .ws-photo { order: 0; }
  .ws-text, .ws.rev .ws-text { padding: 0 6px 6px; }
  .reviews { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-head { grid-column: 1 / -1; padding: 0 0 12px; }
  .team-grid .reason:last-child { grid-column: 1 / -1; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section.tight { padding-top: 0; }
}
@media (max-width: 640px) {
  .hdr { height: 68px; gap: 12px; }
  .logo img { height: 42px; }
  .hdr-actions .btn, .hdr-phone { display: none; }
  .hero { padding-top: 36px; padding-bottom: 48px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 17px; }
  .hero-visual { padding: 0 0 70px; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side, .c-who, .dots { display: none; }
  .app-main { padding: 14px 12px 4px; }
  .app-new { padding: 0 10px; }
  .notif { left: 10px; right: 10px; bottom: 0; }
  .phone-form { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; }
  .phone-form input { height: 48px; text-align: center; }
  .phone-form .btn { width: 100%; height: 50px; }
  .intro-text { padding: 26px; }
  .intro-art { padding: 14px 14px 16px; }
  .bento, .eq-grid, .steps, .ben-grid { grid-template-columns: 1fr; }
  .svc.wide, .svc.backup, .step.last { grid-column: auto; }
  .svc { padding: 22px; }
  .cmp-card { padding: 10px; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr; gap: 6px; }
  .cmp-row + .cmp-row { margin-top: 16px; }
  .banner { padding: 26px 20px; }
  .banner-text p { padding-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px; }
  .stat b { font-size: 27px; }
  .doc { padding: 18px 14px; }
  .doc-table { font-size: 12px; }
  .stamp { width: 76px; height: 76px; right: 12px; bottom: 14px; }
  .doc-note, .doc-sign { padding-right: 86px; }
  .doc-sign .line { width: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .reason:last-child { grid-column: auto; }
  .final { padding: 48px 20px; }
  .f-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); padding-left: 12px; padding-right: 12px; }
  .logos li { height: 70px; }
  .logos li:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .logos li:nth-child(2n + 1) { border-left: 0; }
  .logos li:nth-child(-n + 2) { border-top: 0; }
  .svc-orn { width: 110px; right: -12px; bottom: -14px; opacity: .2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal-up { opacity: 1; transform: none; }
}

.nav a[aria-current="page"] { color: var(--accent-h); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.more-link { display: flex; justify-content: center; margin-top: 24px; }

@media (max-width: 1320px) { .hdr-phone { display: none; } }
