/* SmartLink — v4. Частицы в hero, моно‑рамка, плотная чёрно‑зелёная типографика.
   Бюджет: анимации только transform/opacity; никаких blur/backdrop-filter. */

:root {
  --bg: #070F0C; --bg-2: #0C1813; --bg-3: #122219;
  --line: rgba(236, 240, 235, .12); --line-2: rgba(236, 240, 235, .22);
  --text: #ECF0EB; --muted: rgba(236, 240, 235, .56); --dim: rgba(236, 240, 235, .3);
  --teal: #4FC9B8; --sand: #D8C9A6;
  --font: 'Geologica', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 2.6vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; }
::selection { background: var(--teal); color: var(--bg); }
:focus-visible { outline: 1px solid var(--teal); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), 1520px); margin-inline: auto; }

/* ---------- типографика ---------- */
.m { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.m b { color: var(--text); font-weight: 500; }
.m i { font-style: normal; color: var(--teal); }
.d { text-transform: uppercase; font-weight: 800; letter-spacing: -.03em; line-height: .92; }
.d-xl { font-size: clamp(46px, 8.6vw, 140px); }
.d-lg { font-size: clamp(36px, 5.8vw, 92px); }
.d-md { font-size: clamp(26px, 3.4vw, 50px); line-height: 1; }
.lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.ln { will-change: transform; }
.ch { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--line-2); color: var(--text); transition: background-color .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--fill { background: var(--teal); border-color: var(--teal); color: var(--bg); }
.btn--fill:hover { background: var(--text); border-color: var(--text); }
.btn:disabled { opacity: .5; cursor: default; }
.tag { display: inline-flex; padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sec { padding: clamp(60px, 7vw, 120px) 0; }
.sec__head { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 56px); padding-top: 18px; border-top: 1px solid var(--line); }
.sec__head .m { grid-column: 1 / -1; }
.sec__head .lead { text-align: right; max-width: 40ch; padding-bottom: 6px; }
.count { font-weight: 300; color: var(--dim); margin-left: .15em; letter-spacing: -.02em; }
.low-power .ln { will-change: auto; }

/* ---------- прелоадер ---------- */
.pre { position: fixed; inset: 0; z-index: 1000; background: var(--bg); will-change: transform; }
.pre__inner { position: absolute; inset: 0; padding: var(--gutter); display: flex; flex-direction: column; justify-content: space-between; }
.pre__lines { display: grid; gap: 6px; }
.pre__line { opacity: 0; }
.pre__num { align-self: flex-end; font-family: var(--mono); font-weight: 500; font-size: clamp(64px, 12vw, 160px); line-height: .9; letter-spacing: -.04em; color: var(--text); }

/* ---------- шапка ---------- */
.top { position: fixed; left: 0; right: 0; top: 0; z-index: 100; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: transform .5s var(--ease), background-color .4s, border-color .4s; }
.top.is-scrolled { background: rgba(7, 15, 12, .94); border-color: var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.top__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.logo svg { width: 32px; height: 32px; flex: none; color: var(--teal); }
.mark__o path { stroke-dasharray: 1; }
.mark__i { fill: var(--sand); transform-box: fill-box; transform-origin: 50% 50%; transition: transform .5s var(--ease); }
.logo:hover .mark__i { transform: scale(1.1); }
.top__mid { display: flex; gap: 22px; justify-content: center; }
.top__nav { display: flex; justify-content: flex-end; gap: 4px; }
.top__nav a { padding: 8px 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .25s; white-space: nowrap; }
.top__nav a:hover { color: var(--text); }
.top__nav .btn { min-height: 34px; padding: 0 14px; font-size: 11px; margin-left: 8px; }
.burger { display: none; width: 40px; height: 40px; position: relative; justify-self: end; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); top: 50%; transition: transform .35s var(--ease); }
.burger span:first-child { transform: translateY(-4px); } .burger span:last-child { transform: translateY(3px); }
.burger.is-on span:first-child { transform: rotate(45deg); } .burger.is-on span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 90px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-102%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
.menu.is-on { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.menu nav a { display: block; font-size: clamp(34px, 9vw, 60px); text-transform: uppercase; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; padding: 6px 0; }
.menu__foot { display: grid; gap: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 110px 0 28px; overflow: hidden; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero.no-gl { background: radial-gradient(70% 60% at 70% 40%, rgba(79, 201, 184, .14), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero__corner { position: absolute; z-index: 1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hero__corner--tl { left: var(--gutter); top: 76px; }
.hero__corner--tr { right: var(--gutter); top: 76px; text-align: right; }
.hero__corner i { font-style: normal; color: var(--teal); }
.hero__mark { font-size: clamp(58px, 15.4vw, 236px); line-height: .88; letter-spacing: -.045em; font-weight: 800; text-transform: uppercase; overflow: hidden; padding-top: .06em; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 32px; align-items: end; margin-top: clamp(16px, 2vw, 30px); }
.hero__sub { font-size: clamp(20px, 2.3vw, 34px); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; max-width: 22ch; }
.hero__sub i { font-style: normal; color: var(--sand); }
.hero__cta { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(28px, 5vh, 56px); padding-top: 14px; border-top: 1px solid var(--line); }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta svg { width: 14px; height: 14px; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- бегущая строка ---------- */
.tape { position: relative; z-index: 1; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 12px 0; }
.tape__in { display: flex; width: max-content; animation: tape 70s linear infinite; }
.tape__in span { padding-right: 44px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tape__in span::before { content: "—"; margin-right: 44px; color: var(--teal); }
@keyframes tape { to { transform: translateX(-50%); } }
main { position: relative; z-index: 1; }
.after-hero { background: transparent; }
.after-hero > section { background: var(--bg); }
.after-hero > #contact { background: transparent; }
.ctaw { background: var(--bg); }

/* ---------- заявление + определение ---------- */
.state { padding: clamp(70px, 9vw, 150px) 0 clamp(50px, 6vw, 90px); }
.state__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 90px); align-items: end; }
.state h2 span { display: block; }
.state h2 .t { color: var(--teal); }
.def { font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line-2); }
.def b { display: block; color: var(--text); font-weight: 500; margin-bottom: 6px; letter-spacing: .04em; }
.def p { margin-bottom: 8px; }
.def p span { color: var(--teal); margin-right: 6px; }
.def a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ---------- с кем работаем ---------- */
.trust { padding: 0 0 clamp(60px, 7vw, 110px); }
.trust__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust__cell { position: relative; overflow: hidden; aspect-ratio: 1.5; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; transition: background-color .3s; }
.trust__cell:hover { background: var(--bg-2); }
.trust__cell img:not([src]) { display: none; }
.trust__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease), transform .9s var(--ease); }
.trust__cell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 12, .15), rgba(7, 15, 12, .9)); opacity: 0; transition: opacity .5s; }
.trust__cell:hover img { opacity: 1; transform: scale(1); }
.trust__cell:hover::after { opacity: 1; }
.trust__cell b, .trust__cell span { position: relative; z-index: 1; }
.trust__cell:hover span { color: var(--teal); }
.trust__cell--next b { color: var(--teal); }
.trust__cell--next:hover { background: var(--teal); }
.trust__cell--next:hover b, .trust__cell--next:hover span { color: var(--bg); }
.trust__cell b { font-size: clamp(15px, 1.25vw, 19px); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.1; }
.trust__cell span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }

/* ---------- проекты: подзаголовки ---------- */
.sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; margin: clamp(56px, 7vw, 110px) 0 16px; border-bottom: 1px solid var(--line); }
.sec__head + .sub { margin-top: 0; }
.sub span:first-child { color: var(--text); }

/* ---------- CRM‑системы: живые экраны ---------- */
.systems { display: grid; gap: 14px; }
.sys { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-2); scroll-margin-top: 80px; }
.sys:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr); }
.sys:nth-child(even) .sys__view { order: 2; border-left: 1px solid var(--line); }
.sys:nth-child(even) .sys__body { border-left: 0; }
/* у каждой CRM своя палитра, по цветам её интерфейса; тёмные и светлые чередуются */
.sys { color: var(--text); }
.sys--intermid { --bg-2: #11161D; --bg-3: #0B0E13; --line: rgba(238, 241, 244, .1); --line-2: rgba(238, 241, 244, .2); --text: #EEF1F4; --muted: rgba(238, 241, 244, .6); --dim: rgba(238, 241, 244, .36); --teal: #2DD4BF; }
.sys--lthaus { --bg-2: #EDF1F7; --bg-3: #DCE3EC; --line: rgba(15, 23, 42, .12); --line-2: rgba(15, 23, 42, .22); --text: #0F172A; --muted: rgba(15, 23, 42, .66); --dim: rgba(15, 23, 42, .46); --teal: #C2410C; }
.sys--loft { --bg-2: #F1EBE2; --bg-3: #E3DACD; --line: rgba(26, 24, 21, .12); --line-2: rgba(26, 24, 21, .22); --text: #1A1815; --muted: rgba(26, 24, 21, .66); --dim: rgba(26, 24, 21, .46); --teal: #8A5A2B; }
.sys--yana { --bg-2: #17130F; --bg-3: #0F0C0A; --line: rgba(241, 232, 222, .1); --line-2: rgba(241, 232, 222, .2); --text: #F1E8DE; --muted: rgba(241, 232, 222, .6); --dim: rgba(241, 232, 222, .36); --teal: #D8C9A6; }
.sys__view { display: flex; flex-direction: column; min-width: 0; background: var(--bg-3); }
.sys__bar { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--dim); }
.sys__cnt { color: var(--muted); font-variant-numeric: tabular-nums; }
.sys__screens { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.sys__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transition: opacity .6s var(--ease); }
.sys__screens img.is-on { opacity: 1; }
.sys__screens img:not([src]) { visibility: hidden; }
.sys__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.sys__tabs button { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; color: var(--muted); border-right: 1px solid var(--line); transition: color .25s, background-color .25s; }
.sys__tabs button:last-child { border-right: 0; }
.sys__tabs button:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.sys__tabs button.is-on { color: var(--text); }
.sys__tabs button i { font-style: normal; color: var(--dim); }
.sys__tabs button.is-on i { color: var(--teal); }
.sys__tabs button::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.sys__tabs button.is-on::after { transform: scaleX(1); }
.sys.is-auto .sys__tabs button.is-on::after { animation: sysProg var(--sys-dur, 5.5s) linear both; }
@keyframes sysProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sys__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.plate__top { display: flex; justify-content: space-between; gap: 12px; }
.sys h3, .prod h3 { font-size: clamp(28px, 2.7vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: .96; text-transform: uppercase; }
.sys__what { margin-top: -6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); }
.sys__body p:not(.sys__what), .prod p:not(.sys__what) { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.spec { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: auto; }
.spec div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.spec div span:first-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }

/* ---------- ИИ и роботы ---------- */
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prod { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.flow span { padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 10.5px; color: var(--text); }
.prod .spec { margin-top: 0; }

/* ---------- индекс проектов ---------- */
.ix { margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.sub + .ix { margin-top: 0; border-top: 0; }
.ix__row { display: grid; grid-template-columns: 56px 1.4fr 1fr .8fr 60px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .25s, padding-left .35s var(--ease); }
a.ix__row:hover { padding-left: 8px; }
.ix__row[hidden] { display: none; }
a.ix__row:hover { background: var(--bg-2); }
.ix__n { font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding-left: 10px; }
.ix__img { display: none; width: 92px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--bg-3); }
.ix-preview { position: fixed; left: 0; top: 0; width: 440px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; pointer-events: none; z-index: 60; opacity: 0; transform: scale(.92); border: 1px solid var(--line); background: var(--bg-3); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.ix-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ix__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
a.ix__row:hover .ix__img img { transform: scale(1.08); }
.ix__name { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.ix__dom { display: block; margin-top: 5px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .04em; color: var(--teal); }
.ix__type, .ix__city { font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ix__arr { width: 18px; height: 18px; justify-self: end; margin-right: 10px; opacity: .45; transition: transform .35s var(--ease), opacity .3s; }
a.ix__row:hover .ix__arr { opacity: 1; transform: translate(3px, -3px); }
.ix__more { display: flex; justify-content: center; padding-top: 28px; }

/* ---------- путь заявки ---------- */
.stages { position: relative; padding: 34px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line); overflow-x: clip; overflow-clip-margin: 12px; }
.stages__dot { position: absolute; left: 0; top: -5px; width: calc(100% - 9px); height: 9px; animation: lead 11s cubic-bezier(.5, 0, .3, 1) infinite; }
.stages__dot i { position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(79, 201, 184, .18); }
@keyframes lead { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.stage { position: relative; }
.stage::before { content: ""; position: absolute; left: 0; top: -38px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); }
.stage .m { display: block; margin-bottom: 10px; }
.stage h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.2; margin-bottom: 8px; }
.stage p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.log { margin-top: clamp(26px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); padding: 18px 22px 6px; }
.log__head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.log li { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.log li b { font-family: var(--mono); font-size: 12.5px; color: var(--teal); font-weight: 500; }
.log li i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

/* ---------- CTA ---------- */
.cta { border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(135deg, var(--bg-3), var(--bg-2) 60%); display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: end; }
.cta p { color: var(--muted); font-size: 15px; max-width: 40ch; margin-top: 14px; }
.mini { display: grid; gap: 10px; }
.mini .row { display: flex; gap: 8px; }
.mini input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--line-2); background: rgba(7, 15, 12, .5); color: var(--text); font: inherit; font-size: 15px; }
.mini input:focus { outline: none; border-color: var(--teal); }
.cta .done { display: none; font-size: 16px; }
.cta.is-done .mini { display: none; } .cta.is-done .done { display: block; }

/* ---------- услуги ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 56px 1.1fr 1fr 150px; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background-color .3s; }
.svc__row:hover { background: linear-gradient(90deg, var(--bg-2), transparent); }
.svc__n { font-family: var(--mono); font-size: 11.5px; color: var(--dim); padding: 8px 0 0 10px; }
.svc__name { font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-transform: uppercase; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc__text { font-size: 14px; line-height: 1.5; color: var(--muted); padding-top: 5px; max-width: 46ch; }
.svc__term { text-align: right; font-family: var(--mono); font-size: 12.5px; padding: 5px 10px 0 0; }
.svc__term small { display: block; font-size: 10.5px; color: var(--dim); margin-top: 4px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- о нас ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why__it { padding: 22px 20px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__it .m { display: block; margin-bottom: 14px; }
.why__it h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.2; margin-bottom: 8px; }
.why__it p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.nums { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 20px; margin-top: clamp(26px, 3vw, 44px); }
.num b { display: block; font-size: clamp(44px, 5.4vw, 86px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.num b small { font-size: .45em; color: var(--teal); vertical-align: top; }
.num > span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); max-width: 22ch; }
.founders { display: grid; gap: 10px; align-self: end; }
.founder { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.founder a { font-family: var(--mono); font-size: 13px; }

/* ---------- контакты ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact .lead { margin-top: 18px; }
.direct { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.direct a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; transition: padding-left .4s var(--ease); }
.direct a:hover { padding-left: 8px; }
.direct a small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.form, .done { border: 1px solid var(--line); border-radius: 4px; background: rgba(12, 24, 19, .82); padding: clamp(20px, 2.6vw, 34px); display: grid; gap: 16px; }
.form[hidden], .done[hidden] { display: none; }
.f { display: grid; gap: 6px; }
.f label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.f input, .f select, .f textarea { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 9px 0; font: inherit; font-size: 16px; color: var(--text); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.f input::placeholder, .f textarea::placeholder { color: var(--dim); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--teal); }
.f select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234FC9B8' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px; }
.f select option { color: var(--bg); background: var(--text); }
.f textarea { resize: vertical; min-height: 52px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form.is-invalid input[name="phone"] { border-color: #C6694C; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form__foot small { font-size: 11.5px; color: var(--dim); max-width: 30ch; line-height: 1.4; }
.done h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.done p { color: var(--muted); font-size: 15px; }
.done .ok { display: block; } .done .fb { display: none; }
.done.is-fb .ok { display: none; } .done.is-fb .fb { display: block; }
.done div { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- подвал ---------- */
.foot { position: relative; z-index: 1; background: var(--bg); border-top: 1px solid var(--line); padding: 28px 0 0; overflow: hidden; }
.foot__mark { margin-top: 26px; font-size: clamp(64px, 15.6vw, 236px); font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; line-height: .78; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236, 240, 235, .2); text-align: center; transform: translateY(.08em); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.foot ul { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.foot ul a:hover { color: var(--text); }
.foot__bot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--bg); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 22px; height: 22px; }

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  .top__in { grid-template-columns: auto 1fr auto; }
}
@media (max-width: 1000px) {
  .top__mid { display: none; }
}
@media (max-width: 1100px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__cta { justify-content: flex-start; }
  .state__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .sys, .sys:nth-child(even) { grid-template-columns: 1fr; }
  .sys:nth-child(even) .sys__view { order: 0; border-left: 0; }
  .sys__body { border-left: 0; border-top: 1px solid var(--line); }
  .prods { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .svc__row { grid-template-columns: 48px 1fr 130px; }
  .svc__text { grid-column: 2; }
  .svc__term { grid-column: 3; grid-row: 1; }
  .stages { grid-template-columns: repeat(2, 1fr); border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 20px; gap: 22px 18px; }
  .stages__dot { display: none; }
  .stage::before { left: -24px; top: 4px; }
}
@media (max-width: 860px) {
  .top__in { grid-template-columns: 1fr auto; }
  .top__mid, .top__nav { display: none; }
  .burger { display: block; }
  .hero__corner--tr { display: none; }
  .hero__mark { font-size: clamp(44px, 14vw, 120px); }
  .hero { padding-top: 96px; justify-content: flex-start; }
  .hero__corner--tl { top: 64px; }
  .hero .wrap { margin-top: 26vh; }
  .hero__meta span:nth-child(2), .hero__meta span:nth-child(3), .hero__meta span:nth-child(4) { display: none; }
  .sec__head { grid-template-columns: 1fr; }
  .sec__head .lead { text-align: left; }
  .ix__row { grid-template-columns: 76px 1fr 18px; gap: 4px 12px; padding: 12px 0; }
  .ix__n, .ix__type, .ix-preview { display: none; }
  .ix__img { display: block; width: 76px; grid-column: 1; grid-row: 1 / span 2; }
  .ix__name { font-size: 15.5px; }
  .trust__cell img, .trust__cell::after { display: none; }
  .sys__bar { padding: 9px 12px; }
  .sys__tabs button { padding: 8px 10px; min-height: 46px; font-size: 10px; }
  .sys__tabs button i { display: none; }
  .spec div { grid-template-columns: 92px 1fr; }
  .ix__dom { font-size: 10px; margin-top: 3px; }
  .ix__name { grid-column: 2; grid-row: 1; font-size: 15.5px; align-self: end; }
  .ix__city { grid-column: 2; grid-row: 2; align-self: start; }
  .ix__arr { grid-column: 3; grid-row: 1 / span 2; margin-right: 4px; }
  .cta, .contact__grid, .f2, .foot__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .log li { grid-template-columns: 72px 1fr; } .log li i { grid-column: 2; }
  .stages { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__cell { aspect-ratio: 2; padding: 14px; }
  .svc__row { grid-template-columns: 1fr; gap: 10px; }
  .svc__n { padding: 0; } .svc__text, .svc__term { grid-column: 1; } .svc__term { grid-row: auto; text-align: left; padding: 0; }
  .mini .row { flex-direction: column; }
  .nums { grid-template-columns: 1fr 1fr; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .tape__in, .stages__dot, .hero__meta svg { animation: none; } }
.low-power .tape__in, .low-power .stages__dot { animation: none; }
