/* Сайт-резюме. Одна смілива зона - панель першого екрана; решта спокійна.
   Радіуси: 6 (чипи, дрібне), 10 (кнопки, картки), 16 (панелі). Бренд-колір - дії й посилання. */
:root {
  --bg: #EEF1F5;
  --bg-2: #E2E7EE;
  --surface: #FFFFFF;
  --ink: #0B1220;
  --ink-2: #273142;
  --muted: #4A5567;
  --line: #D3DAE4;
  --brand: #1C3FD0;
  --brand-hi: #1532AA;
  --brand-tint: #E6EBFC;
  --ok: #13814A;
  --r1: 6px; --r2: 10px; --r3: 16px;
  --f: 'Geologica', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --m: 'Martian Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --g: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --head: 68px;
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-0: 1.0625rem;
  --t-1: 1.25rem;
  --t-2: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --t-h1: clamp(2rem, 1.25rem + 2.1vw, 3.125rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f); font-size: var(--t-0); line-height: 1.55; font-weight: 400;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hi); }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r2); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px; border-radius: var(--r2); border: 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, box-shadow .18s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hi); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.btn.is-copied { box-shadow: inset 0 0 0 1.5px var(--ok); color: var(--ok); }
.btn-s { min-height: 44px; padding: 0 16px; font-size: var(--t-s); }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top-in { height: var(--head); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; color: var(--ink); line-height: 1.15; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 650; }
.brand-role { color: var(--muted); font-size: var(--t-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--r2); text-decoration: none; color: var(--ink-2); font-size: var(--t-s); }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.top-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: flex; gap: 2px; padding: 0; border-radius: var(--r2); background: var(--bg-2); font-size: var(--t-xs); font-weight: 600; }
.lang a, .lang span { min-width: 44px; min-height: 44px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.lang a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.lang span { background: var(--surface); color: var(--ink); }
.top-pdf { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font-size: var(--t-s); color: var(--ink-2); font-weight: 600; }

/* ---------- Перший екран ---------- */
.hero {
  --side: max(var(--g), calc((100% - var(--max)) / 2 + var(--g)));
  display: grid;
  grid-template-columns: var(--side) minmax(0, 5fr) clamp(28px, 3vw, 52px) minmax(0, 7.2fr) var(--side);
  align-items: center;
  padding: clamp(20px, 3vw, 40px) 0 clamp(8px, 2vw, 24px);
}
.hero-text { grid-column: 2; }
.hero-lead { font-size: var(--t-s); color: var(--ink-2); margin-bottom: 18px; }
h1 { font-size: var(--t-h1); line-height: 1.06; letter-spacing: -.032em; font-weight: 700; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.facts { margin-top: 24px; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 36px; font-size: var(--t-s); color: var(--ink-2); }
.facts li { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.facts b { font-size: 1.125rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-mail { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: var(--t-s); color: var(--ink-2); }
.hero-mail .mail-addr { font-weight: 500; color: var(--ink); }
.hero-mail a { min-height: 44px; display: inline-flex; align-items: center; }
.copy-fb { margin-top: 8px; font-size: var(--t-s); color: var(--ink-2); }

/* ---------- Панель першого екрана (інтерактив або результати) ---------- */
.mig {
  grid-column: 4 / 6; position: relative; color: #fff; min-width: 0;
  background-color: var(--brand);
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px);
  background-size: 20px 20px;
  border-radius: var(--r3) 0 0 var(--r3);
  padding: clamp(20px, 2.2vw, 30px);
  padding-right: max(clamp(20px, 2.2vw, 30px), calc(var(--side) - 12px));
}
.mig-head { display: flex; flex-direction: column; gap: 12px; }
.mig-title { font-size: var(--t-1); font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  position: relative; overflow: hidden;
  min-height: 44px; padding: 0 11px; border-radius: var(--r2); cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4);
  font-size: .875rem; font-weight: 500; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s;
}
.tab:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); }
.tab[aria-selected="true"] { background: #fff; color: var(--brand); border-color: #fff; font-weight: 650; }
.tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tab-tick { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.mig.is-cycling .tab.is-counting .tab-tick { animation: tick var(--dwell, 6s) linear forwards; }
.mig.is-paused .tab-tick { animation-play-state: paused !important; }
@keyframes tick { to { transform: scaleX(1); } }

.panels { margin-top: 16px; }
.js .panels { display: grid; }
.js .panel { grid-area: 1 / 1; visibility: hidden; }
.js .panel.is-on { visibility: visible; }
.panel { min-width: 0; border-radius: var(--r2); }
.panel:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.panel + .panel { margin-top: 28px; }
.js .panel + .panel { margin-top: 0; }
.panel-name { font-size: var(--t-0); margin-bottom: 8px; }
.js .panel-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.js .tabs { display: flex; }
html:not(.js) .tabs { display: none; }
html:not(.js) [data-copy], html:not(.js) #copy-hint { display: none; }
.js .addr-nojs { display: none; }

.moves { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; font-size: .75rem; }
.moves-k { color: #fff; margin-right: 3px; font-size: var(--t-xs); font-weight: 500; }
.moves .chip { background: rgba(6,12,40,.32); padding: 3px 7px; border-radius: var(--r1); color: #fff; box-shadow: none; font-size: .75rem; line-height: 1.3; }

.stage { position: relative; margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(100px, .42fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.col { display: flex; flex-direction: column; min-width: 0; }
.cap { font-size: var(--t-xs); color: #fff; opacity: .92; margin: 0 0 7px 2px; font-weight: 500; }
.col > .win, .col > .app { flex: 1; }

/* Хід переносу посередині */
.col-mid .ticks { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 12px 10px; border-radius: var(--r2); background: rgba(6,12,40,.26); border: 1px dashed rgba(255,255,255,.4); }
.tk { display: flex; gap: 7px; align-items: flex-start; font-size: .78rem; line-height: 1.3; color: rgba(255,255,255,.72); transition: color .3s; }
.tk-ic { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.tk-ic .i { width: 12px; height: 12px; color: var(--brand); opacity: 0; transition: opacity .25s; }
.tk.is-on { color: #fff; }
.tk.is-on .tk-ic { background: #fff; border-color: #fff; }
.tk.is-on .tk-ic .i { opacity: 1; }

/* Вікна-джерела (макети; моноширинний шрифт доречний лише тут) */
.win { border-radius: var(--r2); overflow: hidden; min-width: 0; color: #1d2330; font-size: 12px; line-height: 1.3; display: flex; flex-direction: column; background: #fff; }
.w-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; font-weight: 600; flex: none; white-space: nowrap; overflow: hidden; }
.w-title { overflow: hidden; text-overflow: ellipsis; }
.w-tools { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px; flex: none; white-space: nowrap; overflow: hidden; }
.w-btn { padding: 3px 8px; border-radius: 4px; font-size: 11px; }
.w-search { margin-left: auto; width: 30%; height: 16px; border-radius: 4px; flex: none; }
.w-body { flex: 1; overflow: hidden; }
.g { width: 100%; border-collapse: collapse; table-layout: fixed; }
.g th, .g td { text-align: left; padding: 0 7px; height: 27px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g th { font-weight: 600; height: 25px; }
.g .st { width: 24px; padding: 0 4px; }
.g .st .i { width: 13px; height: 13px; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.g tr.is-sending td { background: var(--hl, #FFF1B8); }
.g tr.is-done .st .i { opacity: 1; transform: none; }
.g tr.is-done td:not(.st):not(.rn) { color: var(--done, #5d6472); }
.g tr.is-drop td:not(.st):not(.rn) { text-decoration: line-through; color: #80858f; }
.g tr.is-drop .st .i { opacity: 0; }
.g tr.is-dup td:not(.rn) { background: #FFE9A8; }

.m-1c8 .w-bar { background: #FBE6A2; color: #3a3220; }
.m-1c8 .w-bar::before { content: ""; width: 13px; height: 13px; border-radius: 3px; background: #E0B43B; flex: none; }
.m-1c8 .w-tools { background: #FFF7DA; border-bottom: 1px solid #EBDDAF; }
.m-1c8 .w-btn { background: #F4C84A; color: #3a2d06; font-weight: 600; }
.m-1c8 .w-btn.ghost { background: #fff; border: 1px solid #D9CFA9; font-weight: 400; }
.m-1c8 .w-search { background: #fff; border: 1px solid #D9CFA9; }
.m-1c8 .g th { background: #F3F1EA; color: #5a5446; border-bottom: 1px solid #E2DED2; font-size: 11px; }
.m-1c8 .g td { border-bottom: 1px solid #EFECE4; }
.m-1c8 .st .i { color: #2F8F46; }

.m-1c77 { background: #D4D0C8; border: 2px solid #ECE9E2; font-family: 'Segoe UI', Tahoma, var(--f); }
.m-1c77 .w-bar { background: #102F7A; color: #fff; height: 25px; font-size: 11.5px; }
.m-1c77 .w-ctl { margin-left: auto; display: flex; gap: 3px; }
.m-1c77 .w-ctl b { width: 13px; height: 11px; background: #D4D0C8; box-shadow: inset -1px -1px #6d6a64, inset 1px 1px #fff; }
.m-1c77 .w-btn { background: #D4D0C8; box-shadow: inset -1px -1px #6d6a64, inset 1px 1px #fff; border-radius: 0; color: #111; }
.m-1c77 .w-search { background: #fff; box-shadow: inset 1px 1px #6d6a64; border-radius: 0; }
.m-1c77 .w-body { margin: 0 6px 6px; background: #fff; box-shadow: inset 1px 1px #6d6a64, inset -1px -1px #fff; }
.m-1c77 .g { font-family: var(--m); font-size: 10px; }
.m-1c77 .g th { background: #D4D0C8; box-shadow: inset -1px -1px #8b877f, inset 1px 1px #fff; font-weight: 500; font-family: 'Segoe UI', Tahoma, var(--f); font-size: 10.5px; }
.m-1c77 .g td { border-bottom: 1px dotted #b9b6ae; height: 26px; }
.m-1c77 .g tr.is-sending td { --hl: #0A246A; color: #fff; }
.m-1c77 .st .i { color: #107a2a; }

.m-xls .w-bar { background: #1D6B41; color: #fff; font-weight: 500; font-size: 11.5px; }
.m-xls .w-tools { border-bottom: 1px solid #E1E1E1; font-family: var(--m); font-size: 10.5px; color: #333; gap: 10px; }
.m-xls .w-fx { font-style: italic; font-weight: 500; color: #666; }
.m-xls .g { font-size: 11px; }
.m-xls .g th { background: #F3F3F3; color: #555; font-weight: 400; text-align: center; border: 1px solid #DCDCDC; height: 21px; font-size: 10px; }
.m-xls .g td { border: 1px solid #E4E4E4; height: 26px; }
.m-xls .g .rn { background: #F3F3F3; color: #666; text-align: center; width: 24px; padding: 0; font-size: 10px; }
.m-xls .g tr.h td { font-weight: 600; background: #FAFAFA; }
.m-xls .st .i { color: #1D6B41; }
.m-xls .g tr.is-sending td { --hl: #E3F1E8; }
.m-xls .g td:nth-child(3) { font-family: var(--m); font-size: 10px; }

.m-crm .w-bar { background: #26344F; color: #fff; font-size: 11.5px; }
.m-crm .w-tools { background: #F2F5FA; border-bottom: 1px solid #DDE3EC; gap: 4px; }
.m-crm .w-tab { padding: 3px 8px; border-radius: 4px; font-size: 10.5px; color: #4A5568; }
.m-crm .w-tab.on { background: #fff; color: #1d2330; font-weight: 600; box-shadow: 0 0 0 1px #DDE3EC; }
.m-crm .g th { color: #5A6475; font-size: 10.5px; border-bottom: 1px solid #E3E7EE; }
.m-crm .g td { border-bottom: 1px solid #EEF1F5; }
.m-crm .g td:nth-child(2) { color: #2B5C9E; }
.m-crm .st .i { color: #2F8F46; }

.m-odoo16 { background: #F7F6F8; }
.m-odoo16 .w-bar { background: #6E5A72; color: #fff; font-size: 11.5px; }
.m-odoo16 .w-tools { background: #fff; border-bottom: 1px solid #E3E0E5; }
.m-odoo16 .w-btn { background: #7C6880; color: #fff; }
.m-odoo16 .w-search { background: #F1EFF2; border: 1px solid #DDD9DF; }
.m-odoo16 .g th { color: #555; font-size: 10.5px; border-bottom: 1px solid #DDD9DF; background: #fff; }
.m-odoo16 .g td { border-bottom: 1px solid #ECE9EE; background: #fff; }
.m-odoo16 .g td:first-child { font-family: var(--m); font-size: 10px; }
.m-odoo16 .g tr.is-done:not(.is-drop) td:nth-child(3) { color: #1F7A3A; font-weight: 600; }
.m-odoo16 .g tr.is-drop td:nth-child(3) { color: #9b4a44; text-decoration: none; }
.m-odoo16 .st .i { color: #1F7A3A; }

.win-plain { padding: 10px 12px; gap: 6px; }
.win-plain li { padding: 6px 8px; border-radius: var(--r1); background: #F1F3F7; }

/* Екран Odoo (умовний) */
.app { background: #fff; color: #1B2230; border-radius: var(--r2); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.app-bar { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; background: #F4F6FA; border-bottom: 1px solid #E4E8EF; flex: none; white-space: nowrap; overflow: hidden; }
.app-dots { display: flex; gap: 4px; }
.app-dots b { width: 7px; height: 7px; border-radius: 50%; background: #CDD4E0; }
.app-name { font-weight: 650; font-size: 12px; }
.app-crumb { color: #4F596B; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; }
.app-tools { display: flex; align-items: center; gap: 8px; padding: 8px 10px 4px; flex: none; }
.app-new { background: var(--brand); color: #fff; font-weight: 600; font-size: 11px; padding: 3px 9px; border-radius: 5px; }
.app-search { flex: 1; max-width: 52%; margin-left: auto; height: 22px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px #D6DCE6; display: flex; align-items: center; gap: 5px; padding: 0 7px; color: #6B7487; font-size: 11px; white-space: nowrap; overflow: hidden; }
.app-search .i { width: 12px; height: 12px; }
.app-rows { flex: 1; padding: 2px 10px 8px; display: flex; flex-direction: column; justify-content: flex-start; }
.app-row { display: grid; grid-template-columns: minmax(92px, 1fr) minmax(0, auto); gap: 4px 10px; align-items: center; min-height: 40px; padding: 6px 0; border-bottom: 1px solid #EEF1F5; font-size: 12.5px; line-height: 1.3; opacity: .22; transition: opacity .35s, background-color .4s; }
.app-row:last-child { border-bottom: 0; }
.app-row dt { font-weight: 600; }
.app-row dd { display: inline-flex; align-items: center; gap: 5px; justify-self: end; text-align: right; font-size: 11.5px; padding: 3px 8px; border-radius: var(--r1); background: #EEF1F6; color: #3D4759; max-width: 15em; min-width: 0; }
.app-ok { display: inline-flex; opacity: 0; transition: opacity .25s; }
.app-ok .i { width: 12px; height: 12px; }
.app-row.in { opacity: 1; }
.app-row.in dd { background: #E3F4EA; color: #165C34; }
.app-row.in .app-ok { opacity: 1; }
.app-row.flash { background: #F3F6FF; }

.pkts { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.pkt { position: absolute; left: 0; top: 0; white-space: nowrap; background: #fff; color: var(--brand); border-radius: var(--r1); padding: 4px 8px; font: 600 11px/1.2 var(--f); box-shadow: 0 6px 18px rgba(6, 14, 60, .35), 0 0 0 1.5px var(--brand); }

.mig-out { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mig-out p { background: rgba(6,12,40,.28); border-radius: var(--r2); padding: 12px 14px; font-size: var(--t-s); line-height: 1.45; color: #fff; }
.mig-out b { display: block; font-weight: 650; margin-bottom: 2px; }
.mig-note { margin-top: 12px; font-size: var(--t-xs); color: #fff; opacity: .92; }

/* Панель результатів (трек без інтерактиву) */
.mig-table .mig-title { margin-bottom: 16px; }
.app-results { padding: 4px 18px 8px; }
.res { width: 100%; border-collapse: collapse; font-size: var(--t-s); color: var(--ink); }
.res th, .res td { text-align: left; vertical-align: baseline; padding: 14px 12px 14px 0; border-bottom: 1px solid #E8ECF2; }
.res tr:last-child th, .res tr:last-child td { border-bottom: 0; }
.res thead th { font-size: var(--t-xs); font-weight: 600; color: var(--muted); padding-top: 12px; padding-bottom: 8px; }
.res tbody th { font-weight: 600; width: 34%; }
.res .res-a { color: var(--muted); }
.res .res-b { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.res thead th:last-child { text-align: right; padding-right: 0; }

/* ---------- Секції ---------- */
section { scroll-margin-top: calc(var(--head) + 8px); }
.sec { padding-top: clamp(64px, 8vw, 112px); }
h2 { font-size: var(--t-2); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; max-width: 22em; }
h3 { font-size: var(--t-1); line-height: 1.25; letter-spacing: -.012em; font-weight: 650; }
.sec h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.sec h2:has(+ .sec-lead) { margin-bottom: 12px; }
.sec-lead { color: var(--muted); font-size: var(--t-0); max-width: 40em; margin-bottom: clamp(24px, 3vw, 40px); text-wrap: pretty; }
.chip, .chips > li, .chips > span { display: inline-block; padding: 4px 10px; border-radius: var(--r1); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-s); color: var(--ink-2); line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Послуги */
.svc-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border-radius: var(--r3); padding: 14px 14px 20px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none;
  transition: box-shadow .2s;
}
a.svc:hover, a.svc:focus-visible { box-shadow: inset 0 0 0 2px var(--brand); color: var(--ink); }
a.svc:focus-visible { outline-offset: 3px; border-radius: var(--r3); }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; flex: 1; }
.svc h3 { font-size: var(--t-1); }
.svc-text { color: var(--muted); font-size: var(--t-s); flex: 1; }
.svc-link { margin-top: 8px; align-self: flex-start; font-size: var(--t-s); font-weight: 500; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.svc:hover .svc-link { text-decoration-thickness: 2px; }
.mark { align-self: flex-start; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); padding: 2px 8px; border-radius: var(--r1); }
.svc-f { display: grid; grid-template-columns: clamp(170px, 16vw, 220px) minmax(0, 1fr); gap: 4px 22px; padding: 14px; }
.svc-f .svc-body { padding: 10px 6px 6px 0; }
.svc-f .ill { height: auto; min-height: 168px; align-self: stretch; }
.svc-f .v { inset: 18px 12%; }
.svc-f .v-migrate { column-gap: 22%; }
.svc-f .vm-a, .svc-f .vm-b { gap: 10px; }
.svc-f .vm-a i, .svc-f .vm-b i { height: 18px; }
.svc-f .vm-chip { height: 18px; top: calc(50% - 41px + var(--i) * 28px - 9px); }
.svc-f .v-leads { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; row-gap: 20px; }
.svc-f .vl-src { grid-column: 1; grid-auto-flow: column; justify-content: start; gap: 12px; }
.svc-f .vl-box { grid-column: 1; grid-row: 2; height: 64px; }
.svc-f .vl-d { left: 14px; top: 34px; }
.svc-f h3 { font-size: 1.375rem; }

/* ---------- Ілюстрації послуг ---------- */
.ill { position: relative; display: block; height: 128px; border-radius: var(--r2); background: var(--bg); overflow: hidden; --c: #6F7C92; --c2: #BCC6D4; transition: background-color .25s; flex: none; }
a.svc:is(:hover, :focus-visible) .ill { --c: var(--brand); --c2: #AEBDF3; background: var(--brand-tint); }
.ill i, .ill b { display: block; }
.v { position: absolute; inset: 16px 8%; }

.v-migrate { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34%; align-content: center; }
.vm-a, .vm-b { display: grid; gap: 7px; }
.vm-a i, .vm-b i { position: relative; height: 15px; border-radius: 4px; }
.vm-a i { background: var(--c2); }
.vm-a i::before { content: ""; position: absolute; left: 6px; top: 5px; width: 42%; height: 5px; border-radius: 3px; background: var(--c); opacity: .7; }
.vm-b i { background: #fff; box-shadow: inset 0 0 0 1.5px var(--c2); }
.vm-b i::before { content: ""; position: absolute; left: 5px; top: 3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vm-b i::after { content: ""; position: absolute; left: 18px; top: 5px; width: 46%; height: 5px; border-radius: 3px; background: var(--c2); }
.vm-chip { position: absolute; left: 33%; width: 22px; height: 15px; border-radius: 4px; background: var(--c); opacity: 0; top: calc(50% - 32px + var(--i) * 22px - 7px); }

.v-sync { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; }
.vs-n { height: 64px; border-radius: var(--r2); background: #fff; box-shadow: inset 0 0 0 1.5px var(--c2); display: grid; align-content: center; gap: 6px; padding: 0 10px; }
.vs-n i { height: 5px; border-radius: 3px; background: var(--c2); }
.vs-n i:first-child { background: var(--c); width: 70%; }
.vs-l { position: relative; height: 40px; margin: 0 8px; }
.vs-t, .vs-u { position: absolute; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--c2) 0 6px, transparent 6px 10px); }
.vs-t { top: 10px; } .vs-u { bottom: 10px; }
.vs-d { position: absolute; width: 14px; height: 10px; border-radius: 3px; background: var(--c); top: 6px; left: 20%; }
.vs-d.vs-r { top: auto; bottom: 6px; left: auto; right: 20%; }

.v-module { display: flex; justify-content: center; inset: 14px 14% 0; }
.vo-win { width: 100%; max-width: 240px; background: #fff; border-radius: 8px 8px 0 0; box-shadow: inset 0 0 0 1.5px var(--c2); padding: 0 10px; }
.vo-h { display: flex; gap: 4px; height: 20px; align-items: center; border-bottom: 1.5px solid var(--c2); margin: 0 -10px 8px; padding: 0 8px; }
.vo-h i { width: 6px; height: 6px; border-radius: 50%; background: var(--c2); }
.vo-f { display: grid; grid-template-columns: 28% 1fr; gap: 8px; align-items: center; height: 18px; margin-bottom: 6px; }
.vo-f i { height: 5px; border-radius: 3px; background: var(--c2); }
.vo-f b { height: 15px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--c2); }
.vo-f.k b { background: var(--c); box-shadow: none; width: 60%; }

.v-chart { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10%; }
.vc-bars { display: flex; align-items: flex-end; gap: 7%; border-bottom: 1.5px solid var(--c2); }
.vc-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--c2); transform-origin: bottom; }
.vc-bars i.k { background: var(--c); }
.vc-doc { background: #fff; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--c2); padding: 10px 8px; display: grid; align-content: start; gap: 8px; }
.vc-doc b { height: 5px; border-radius: 3px; background: var(--c2); }
.vc-doc b:first-child { background: var(--c); width: 60%; }

.v-leads { display: grid; grid-template-columns: 32px 1fr 44%; align-items: center; }
.vl-src { display: grid; gap: 10px; grid-column: 1; }
.vl-src i { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--c2); position: relative; }
.vl-src i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--c2); }
.vl-src i:first-child::after { background: var(--c); }
.vl-box { grid-column: 3; position: relative; height: 60px; background: #fff; border-radius: var(--r2); box-shadow: inset 0 0 0 1.5px var(--c2); }
.vl-box i { position: absolute; left: 10px; top: 13px; width: 32px; height: 32px; border-radius: 50%; background: var(--c); }
.vl-box b { position: absolute; left: 50px; right: 12px; height: 5px; border-radius: 3px; background: var(--c2); top: 21px; }
.vl-box b + b { top: 34px; right: 36%; }
.vl-d { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--c); left: 34px; top: calc(50% - 4px + (var(--i) - 1) * 38px); opacity: 0; }

.v-factory { display: grid; align-content: center; gap: 14px; }
.vf-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 12px; align-items: center; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--c2); padding: 10px 12px; position: relative; overflow: hidden; }
.vf-code { grid-row: span 2; display: flex; gap: 2px; height: 30px; align-items: stretch; }
.vf-code i { width: calc(var(--w) * 2px); background: var(--c); }
.vf-card > b { height: 5px; border-radius: 3px; background: var(--c2); }
.vf-card > b + b { width: 60%; }
.vf-card::after { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: #E5484D; opacity: 0; }
.vf-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.vf-track i { height: 8px; border-radius: 4px; background: var(--c2); }
.vf-track i:nth-child(-n+3) { background: var(--c); }

.v-upgrade { display: grid; grid-template-columns: 1fr 26px 1fr; gap: 10px; align-items: center; }
.vu-box { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--c2); }
.vu-box i { height: 22px; border-radius: 4px; background: var(--c2); }
.vu-old i.x { background: repeating-linear-gradient(135deg, var(--c2) 0 3px, #fff 3px 6px); }
.vu-new i { background: var(--c); }
.vu-new i.e { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c2); }
.vu-arrow { height: 2px; background: var(--c); position: relative; }
.vu-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--c); border-right: 0; }

.v-pulse { display: grid; grid-template-columns: 1fr 64px; gap: 8%; align-items: center; }
.vp-line { width: 100%; height: 64px; overflow: visible; }
.vp-line path { fill: none; stroke: var(--c); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.vp-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.vp-ring circle { fill: none; stroke-width: 6; }
.vp-ring .bg { stroke: var(--c2); }
.vp-ring .fg { stroke: var(--c); stroke-dasharray: 176; stroke-dashoffset: 44; stroke-linecap: round; }
.v-generic { display: grid; gap: 8px; align-content: center; }
.v-generic i { height: 12px; border-radius: 4px; background: var(--c2); }

@media (prefers-reduced-motion: no-preference) {
  a.svc:is(:hover, :focus-visible) .vm-chip { animation: vmfly 2.8s calc(var(--i) * .4s) infinite; }
  a.svc:is(:hover, :focus-visible) .vm-b i { animation: vmfill 2.8s calc(var(--i) * .4s) infinite; }
  a.svc:is(:hover, :focus-visible) .vs-d { animation: vsr 1.8s linear infinite; }
  a.svc:is(:hover, :focus-visible) .vs-d.vs-r { animation: vsl 1.8s .9s linear infinite; }
  a.svc:is(:hover, :focus-visible) .vo-f { animation: voin 3s calc(var(--i) * .22s) infinite both; }
  a.svc:is(:hover, :focus-visible) .vc-bars i { animation: vcgrow 3.2s calc(var(--i) * .08s) infinite both; }
  a.svc:is(:hover, :focus-visible) .vc-doc { animation: vcdoc 3.2s infinite both; }
  a.svc:is(:hover, :focus-visible) .vl-d { animation: vlfly 2.4s calc(var(--i) * .45s) infinite; }
  a.svc-f:is(:hover, :focus-visible) .vl-d { animation-name: vlfly2; }
  a.svc:is(:hover, :focus-visible) .vl-box i { animation: vlpulse 2.4s infinite; }
  a.svc:is(:hover, :focus-visible) .vf-card::after { animation: vfscan 2.4s ease-in-out infinite; }
  a.svc:is(:hover, :focus-visible) .vf-track i { animation: vfstep 3s calc(var(--i) * .35s) infinite both; }
  a.svc:is(:hover, :focus-visible) .vu-new i:not(.e) { animation: vupop 2.6s calc(var(--i) * .25s) infinite both; }
  a.svc:is(:hover, :focus-visible) .vp-line path { animation: vpdraw 2.6s linear infinite; }
  a.svc:is(:hover, :focus-visible) .vp-ring .fg { animation: vpring 2.6s linear infinite; }
}
@keyframes vmfly { 0% { left: 33%; opacity: 0; } 10% { opacity: 1; } 40% { left: calc(67% - 22px); opacity: 1; } 46%, 100% { left: calc(67% - 22px); opacity: 0; } }
@keyframes vmfill { 0%, 40% { box-shadow: inset 0 0 0 1.5px var(--c2); } 46%, 86% { box-shadow: inset 0 0 0 2px var(--c); } 100% { box-shadow: inset 0 0 0 1.5px var(--c2); } }
@keyframes vsr { from { left: 0; } to { left: calc(100% - 14px); } }
@keyframes vsl { from { right: 0; } to { right: calc(100% - 14px); } }
@keyframes voin { 0% { opacity: 0; transform: translateX(12px); } 14%, 84% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes vcgrow { 0% { transform: scaleY(.05); } 28%, 100% { transform: scaleY(1); } }
@keyframes vcdoc { 0%, 40% { opacity: 0; transform: translateX(10px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes vlfly2 { 0% { opacity: 0; transform: none; } 10% { opacity: 1; } 55% { opacity: 1; transform: translate(calc(var(--i) * 40px + 30px), 46px); } 62%, 100% { opacity: 0; transform: translate(calc(var(--i) * 40px + 30px), 46px); } }
@keyframes vlfly { 0% { opacity: 0; transform: none; } 10% { opacity: 1; } 55% { opacity: 1; transform: translate(var(--dx, 90px), calc((1 - var(--i)) * 38px)); } 62%, 100% { opacity: 0; transform: translate(var(--dx, 90px), calc((1 - var(--i)) * 38px)); } }
@keyframes vlpulse { 0%, 50% { transform: scale(1); } 60% { transform: scale(1.12); } 72%, 100% { transform: scale(1); } }
@keyframes vfscan { 0% { left: 10px; opacity: 1; } 50% { left: 60px; opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes vfstep { 0% { background: var(--c2); } 30%, 100% { background: var(--c); } }
@keyframes vupop { 0%, 10% { opacity: 0; transform: scale(.6); } 30%, 100% { opacity: 1; transform: none; } }
@keyframes vpdraw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes vpring { from { stroke-dashoffset: 176; } to { stroke-dashoffset: 0; } }

/* Проєкт */
.proj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.proj .proj-head h2 { margin-bottom: 18px; }
.proj-text { font-size: 1.125rem; color: var(--ink-2); max-width: 30em; }
.proj-status { margin-top: 20px; font-weight: 600; color: var(--ink); padding-left: 14px; border-left: 3px solid var(--ok); }
.scope { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.scope li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: var(--t-s); line-height: 1.45; }
.scope li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* Кейси */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case { background: var(--surface); border-radius: var(--r3); padding: clamp(20px, 2.4vw, 28px); box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .3s, background-color .3s; }
.case h3 { font-size: var(--t-1); }
.case-when { margin-top: 4px; font-size: var(--t-xs); color: var(--muted); }
.case-short { margin-top: 12px; color: var(--ink-2); font-size: var(--t-s); line-height: 1.55; text-wrap: pretty; }
.case-res { margin-top: 10px; font-weight: 550; line-height: 1.45; text-wrap: pretty; }
.case-more { margin-top: 10px; }
.case-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: var(--t-s); color: var(--brand); border-radius: var(--r1); }
.case-more summary::-webkit-details-marker { display: none; }
.case-more summary::before { content: ""; width: 20px; height: 20px; border-radius: var(--r1); background-color: var(--bg); background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: center; background-size: 10px 2px, 2px 10px; }
.case-more[open] summary::before { background-size: 10px 2px, 0 0; }
.case-more summary:hover { color: var(--brand-hi); }
.case-how { padding: 4px 0 4px 30px; }
.case-how ul { display: grid; gap: 6px; }
.case-how li { position: relative; color: var(--ink-2); font-size: var(--t-s); line-height: 1.5; padding-left: 14px; }
.case-how li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.case-stack { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.case-stack .chip { font-size: var(--t-xs); background: var(--bg); box-shadow: none; }
.case.is-flash { box-shadow: inset 0 0 0 3px var(--brand); background: #F4F6FF; }
@media (prefers-reduced-motion: no-preference) {
  .case.is-flash { animation: flash 2.6s ease-out forwards; }
}
@keyframes flash { 0%, 65% { box-shadow: inset 0 0 0 3px var(--brand); background: #F1F4FF; } 100% { box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); } }
.more-h { margin: clamp(40px, 5vw, 64px) 0 8px; font-size: var(--t-1); }
.case-rows { border-bottom: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 40px; background: transparent; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); padding: 22px 0; }
.case-row h4 { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.case-row .case-short { margin-top: 0; }
.case-row.is-flash { background: #E6EBFC; box-shadow: 0 0 0 14px #E6EBFC; outline: 3px solid var(--brand); outline-offset: 14px; border-radius: var(--r1); }
@keyframes flashrow { 0%, 65% { background: #E6EBFC; box-shadow: 0 0 0 14px #E6EBFC; outline-color: var(--brand); } 100% { background: transparent; box-shadow: 0 0 0 14px transparent; outline-color: transparent; } }
@media (prefers-reduced-motion: no-preference) {
  .case-row.is-flash { animation: flashrow 2.6s ease-out forwards; }
}

/* Типові задачі */
.tasks { border-bottom: 1px solid var(--line); }
.task { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px 40px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.task h3 { font-size: 1.125rem; }
.task p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.55; max-width: 44em; }

/* Що підключаю */
.groups { border-bottom: 1px solid var(--line); }
.group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 10px 32px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.group h3 { font-size: var(--t-0); font-weight: 650; }

/* Як пишу код */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.rules li { padding: 20px 0 24px; border-top: 1px solid var(--ink); }
.rules h3 { font-size: var(--t-0); font-weight: 650; margin-bottom: 6px; }
.rules p { color: var(--muted); font-size: var(--t-s); line-height: 1.55; }

/* Процес */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 16px; }
.steps li::before { content: counter(s); display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: var(--t-s); }

/* Стек */
.stack { border-bottom: 1px solid var(--line); }
.stack-g { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.stack-g h3 { font-size: 1.125rem; }
.stack-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; align-items: start; }
.stack-rows li { font-size: var(--t-s); color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }
.stack-k { font-weight: 600; color: var(--ink); }

/* Пропозиції (трек AI) */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { background: var(--surface); border-radius: var(--r3); padding: clamp(20px, 2.4vw, 28px); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.offer p { color: var(--muted); font-size: var(--t-s); }
.offer-proof { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; }
.offer-proof a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }

/* Контакти */
.sec-contact { padding-bottom: 32px; }
.contact { background: var(--ink); color: #fff; border-radius: var(--r3); padding: clamp(24px, 4.5vw, 64px); }
.contact h2 { color: #fff; font-size: clamp(2rem, 1.2rem + 3vw, 3.75rem); max-width: 13em; margin-bottom: 16px; }
.c-lead { font-size: var(--t-1); color: #C9D1DE; max-width: 32em; }
.c-grid { margin-top: clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.c-wa { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 196px; padding: 26px; border-radius: var(--r3); background: var(--brand); color: #fff; text-decoration: none; transition: background-color .2s; }
.c-wa:hover { background: var(--brand-hi); color: #fff; }
.c-wa:focus-visible, .copy:focus-visible, .c-more a:focus-visible, .c-hint a:focus-visible { outline-color: #fff; }
.c-wa .c-ic { width: 40px; height: 40px; }
.c-wa .c-out { position: absolute; right: 24px; top: 26px; width: 22px; height: 22px; opacity: .85; }
.c-wa-t b { display: block; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.c-wa-t span { display: block; margin-top: 6px; color: #E3E8FF; font-size: var(--t-0); }
.c-mail { padding: 26px; border-radius: var(--r3); background: #182134; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.c-k { color: #B4BFD0; font-size: var(--t-s); font-weight: 500; }
.copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; color: #fff; border-radius: var(--r2); }
.addr-nojs { color: #fff; user-select: all; }
.copy .addr, .addr-nojs { font-size: clamp(1.0625rem, .55rem + 3.4vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; max-width: 100%; overflow-wrap: anywhere; }
.copy-ic { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r2); background: rgba(255,255,255,.1); font-size: var(--t-s); font-weight: 600; transition: background-color .2s; }
.copy:hover .copy-ic { background: rgba(255,255,255,.18); }
.copy.is-copied .copy-ic { background: var(--ok); }
.c-hint { font-size: var(--t-s); color: #C9D1DE; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.c-hint a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.c-mail .copy-fb { color: #fff; }
.c-more { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.c-more a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--r2); background: #182134; color: #fff; text-decoration: none; font-size: var(--t-s); }
.c-more a:hover { background: #222D45; color: #fff; }
.c-more .i { color: #A9B9FF; }
.c-file { color: #B4BFD0; font-weight: 400; }
.c-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: #C9D1DE; font-size: var(--t-s); }
.c-meta p { display: inline-flex; align-items: center; gap: 8px; }
.c-meta .i { width: 18px; height: 18px; color: #A9B9FF; }
.c-status { color: #fff; font-weight: 500; }

/* Футер */
.foot { padding-top: 8px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; font-size: var(--t-s); color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: flex-end; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-who { align-self: center; }
.foot-note { grid-column: 1 / -1; color: var(--muted); }

/* 404 */
.nf { max-width: var(--max); margin: 0 auto; padding: 22vh var(--g); }
.nf h1 { margin-bottom: .5rem; }
.nf-en { color: var(--ink-2); font-size: var(--t-1); margin-bottom: 28px; }
.nf-links { border-bottom: 1px solid var(--line); max-width: 40rem; }
.nf-links li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: center; border-top: 1px solid var(--line); padding: 6px 0; }
.nf-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }
.nf-lang { color: var(--muted); font-size: var(--t-s); }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .nav { display: none; }
  .top-tools { margin-left: auto; }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: var(--g) minmax(0, 1fr) var(--g); }
  .hero-text { grid-column: 2; max-width: 46rem; }
  .mig { grid-column: 1 / -1; margin-top: 36px; border-radius: 0; padding: 24px var(--g); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-top { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .proj { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cases, .offers { grid-template-columns: 1fr; }
  .stack-g, .stack-rows { grid-template-columns: 1fr; }
  .case-row, .task { grid-template-columns: 1fr; }
  .c-grid { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .group { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .brand-role { display: none; }
  .top-in { gap: 10px; }
  .top-tools { gap: 4px; }
  .top-pdf { padding: 0 6px; }
  .btn-s { padding: 0 12px; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 16px; }
  .js .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tab { white-space: normal; line-height: 1.2; padding: 6px 10px; }
  .tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stage { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .col-src .g tr.r:nth-child(n+4) { display: none; }
  .m-xls .g tr.r:nth-child(n+5) { display: none; }
  .col-src .w-tools { display: none; }
  .col-mid .cap { display: none; }
  .col-mid .ticks { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; padding: 10px 12px; }
  .app-tools { display: none; }
  .app-row { min-height: 36px; }
  .mig-out { grid-template-columns: 1fr; }
  .svc-grid, .rules, .steps { grid-template-columns: 1fr; }
  .moves { display: none; }
  .contact { padding: 28px 18px 22px; }
  .c-wa, .c-mail { padding: 20px; }
  .c-wa { min-height: 0; }
  .copy .addr, .addr-nojs { font-size: clamp(.95rem, 4.5vw, 1.25rem); }
  .svc-f { grid-template-columns: 1fr; }
  .svc-f .ill { min-height: 0; height: 104px; }
  .svc-f .v { inset: 12px 10%; }
  .svc-f .v-leads { grid-template-columns: 32px 1fr 44%; grid-template-rows: none; }
  .svc-f .vl-src { grid-auto-flow: row; gap: 6px; }
  .svc-f .vl-src i { width: 22px; height: 22px; }
  .svc-f .vl-src i::after { inset: 7px; }
  .svc-f .vl-box { grid-column: 3; grid-row: 1; }
  .svc-f .vm-a i, .svc-f .vm-b i { height: 14px; }
  .svc-f .vm-a, .svc-f .vm-b { gap: 7px; }
  .svc-grid .ill { display: none; }
  .res thead { display: none; }
  .res, .res tbody, .res tr, .res th, .res td { display: block; width: auto; }
  .res tr { padding: 12px 0; border-bottom: 1px solid #E8ECF2; }
  .res tr:last-child { border-bottom: 0; }
  .res th, .res td { border: 0; padding: 0; text-align: left; }
  .res .res-a { margin-top: 2px; }
  .res .res-b { text-align: left; margin-top: 4px; }
  .app-results { padding: 4px 14px; }
}
@media (max-width: 380px) {
  .btn-s { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
}
