/* --- Шрифты (Google Fonts, локальные woff2) --- */
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/golos-text-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/golos-text-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Оформление страницы --- */
/* SOFTFABRIC — Digital Fabric
   Вёрстка под дизайн-концепцию: синяя «ткань» систем + одна оранжевая сигнальная нить.
   Палитра выведена из логотипа: #173D7A (вордмарк) + #F16722 (знак). */

:root {
  --ink: #0F2440;
  --brand: #173D7A;
  --brand-2: #3E6AB5;
  --muted: #56688A;
  --text-2: #2F415C;
  --line: #C6D0DE;
  --steel: #B7C4D6;
  --canvas: #F3F5F8;
  --paper: #FFFFFF;
  --signal: #F16722;
  --on-dark: #C3CEDD;
  --on-dark-2: #8CA0BC;
  --wrap: 1400px;
  --pad: 40px;
  --display: "Bricolage Grotesque", "Golos Text", sans-serif;
  --text: "Golos Text", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
::selection { background: var(--signal); color: #fff; }

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }

/* ---------- каркас ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sec { position: relative; }
.sec__in { position: relative; z-index: 2; }
.sec--dark { background: var(--ink); color: #F3F5F8; }
.sec--paper { background: var(--paper); }
.sec--pad { padding: 104px 0; }
.sec--pad-t { padding-top: 88px; }

/* сквозная линия страницы: идёт через все секции сверху донизу */
.page { position: relative; }
html, body, .page { overflow-x: clip; }
.page-fabric { position: absolute; top: 0; bottom: 0; right: 0; width: min(150px, 11vw); z-index: 5; pointer-events: none; }
@media (max-width: 1400px) { .page-fabric { width: 120px; } }
@media (max-width: 1240px) {
  /* на узких экранах жёлоба нет — линия уходит ЗА контент, а не поверх него */
  .page-fabric { width: 92px; right: 0; left: auto; opacity: .45; z-index: 0; }
  .page-fabric svg path { stroke-width: 2; }
}
@media (max-width: 620px) { .page-fabric { width: 54px; opacity: .32; } }
.page-fabric > svg { width: 100%; height: 100%; }
.page-fabric path { stroke-dasharray: 9000; stroke-dashoffset: 9000; animation: sf-page-draw 3.4s cubic-bezier(.45, 0, .2, 1) forwards; }
.page-fabric path:nth-of-type(2) { animation-delay: .2s; }
.page-fabric path:nth-of-type(3) { animation-delay: .38s; }
@keyframes sf-page-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .page-fabric path { stroke-dashoffset: 0; animation: none; } }

/* слой «ткани»: линии направлений, растягивается по секции */
.fabric { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fabric > svg { width: 100%; height: 100%; }

/* ---------- типографика ---------- */

.d1, .d2, .d3, .d4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: pretty;
}
.d1 { font-size: clamp(32px, 4vw, 60px); line-height: 1.05; }
.d2 { font-size: clamp(28px, 3.4vw, 52px); }
.d3 { font-size: clamp(26px, 2.8vw, 40px); }
.d4 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }

.lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--text-2); }
.body { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.note { font-size: 17px; line-height: 1.7; color: var(--muted); }
.meta { font-size: 17px; color: var(--muted); }
.tiny { font-size: 15px; line-height: 1.6; }

.sec--dark .lead, .sec--dark .body { color: var(--on-dark); }
.sec--dark .note, .sec--dark .meta { color: var(--on-dark-2); }
.sec--dark a { color: #F3F5F8; }
.sec--dark a:hover { color: var(--signal); }

.m-17 { max-width: 17ch; } .m-20 { max-width: 20ch; } .m-24 { max-width: 24ch; }
.m-40 { max-width: 40ch; } .m-46 { max-width: 46ch; } .m-52 { max-width: 52ch; }
.m-64 { max-width: 64ch; } .m-70 { max-width: 70ch; }

.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-44 { margin-top: 44px; }
.mt-64 { margin-top: 64px; } .mt-96 { margin-top: 96px; }
.mt-8 { margin-top: 8px; } .mt-10 { margin-top: 10px; } .mt-14 { margin-top: 14px; }
.mt-28 { margin-top: 28px; } .mt-36 { margin-top: 36px; } .mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; } .mt-52 { margin-top: 52px; } .mt-56 { margin-top: 56px; }
.mt-72 { margin-top: 72px; } .mt-80 { margin-top: 80px; } .mt-88 { margin-top: 88px; }
.right { margin-left: auto; }

/* ---------- действия ---------- */

.link { border-bottom: 1px solid var(--line); }
.link:hover { border-bottom-color: var(--signal); }
.link--signal { border-bottom-color: var(--signal); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 30px; border: none; border-radius: 2px;
  background: var(--signal); color: #fff;
  font-family: var(--text); font-size: 17px; font-weight: 600; cursor: pointer;
  transition: background .2s ease;
}
.btn:hover { background: #D9551A; color: #fff; }
.btn--sm { height: 52px; padding: 0 22px; font-size: 16px; }

/* ---------- шапка ---------- */

.head { position: relative; z-index: 30; }
.head__in { display: flex; align-items: center; gap: 32px; padding: 34px var(--pad) 0; max-width: var(--wrap); margin: 0 auto; }
.head__logo { flex: none; }
.head__logo img { height: 34px; width: auto; }
.head__nav { display: flex; align-items: center; gap: 26px; font-size: 16px; color: var(--muted); min-width: 0; }
.head__nav a { color: var(--muted); }
.head__nav a:hover { color: var(--ink); }
.head__side { margin-left: auto; flex: none; display: flex; align-items: center; gap: 22px; font-size: 16px; white-space: nowrap; }
.head__phone { font-weight: 600; }
.head__cta {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  background: var(--signal); color: #fff; font-weight: 600; border-radius: 2px;
}
.head__cta:hover { background: #D2551A; color: #fff; }

/* выпадающее меню услуг */
.menu { position: relative; display: flex; align-items: center; }
.menu__top { display: inline-flex; align-items: center; gap: 7px; }
.menu__chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu:hover .menu__top, .menu:focus-within .menu__top { color: var(--signal); }
.menu__drop {
  position: absolute; left: -28px; top: 100%; margin-top: 18px; width: 720px;
  background: var(--paper); border: 1px solid var(--line); padding: 28px 32px 32px;
  display: grid; gap: 26px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 40px 80px -40px rgba(15, 36, 64, .22);
}
.menu:hover .menu__drop, .menu:focus-within .menu__drop { opacity: 1; visibility: visible; transform: none; }
.menu__all { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: 17px; }
.menu__all:hover { color: var(--signal); }
.menu__arrow { color: var(--signal); }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.menu__grid a { display: grid; gap: 5px; color: var(--ink); }
.menu__grid b { font-weight: 600; font-size: 17px; }
.menu__grid span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.menu__grid a:hover b { color: var(--signal); }
.head__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); font-size: 18px; cursor: pointer; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 16px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- первый экран ---------- */

.hero { padding: 80px 0 0; }
.hero__text { position: relative; z-index: 3; }
.hero__fabric { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__fabric > svg { width: 100%; height: 100%; }
.hero__spacer { height: 340px; }

/* подписи направлений — в системе координат слоя 1440×900 */
.track {
  position: absolute; left: calc(79.2% + 10px);
  padding: 0 6px; background: var(--canvas);
  font-size: 16px; line-height: 1.4; font-weight: 600;
}
.track--1 { top: calc(5.3% - 11px); color: var(--signal); }
.track--2 { top: calc(14.2% - 11px); color: var(--brand); }
.track--3 { top: calc(23.1% - 11px); color: var(--brand-2); }
.track--4 { top: calc(32% - 11px); color: var(--muted); }
.track--5 { top: calc(40.9% - 11px); color: var(--muted); }

/* мобильный список направлений вместо линий */
.tracks-m { display: none; gap: 10px; margin-top: 32px; }
.tracks-m li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tracks-m i { width: 26px; height: 2px; flex: none; }

/* ---------- полотна под реальные экраны ---------- */

.shot {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 26px;
}
.shot--bleed { border-left: none; border-right: none; width: calc(100% + var(--pad)); max-width: 100%; }
.shot--ink { background: var(--ink); border-color: var(--ink); }
.shot--ink .shot__hint { color: var(--on-dark-2); }
.shot--flat { background: var(--canvas); border: none; }
.shot__hint { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.shot--16x8 { aspect-ratio: 16 / 8; }
.shot--16x9 { aspect-ratio: 16 / 9; }
.shot--16x10 { aspect-ratio: 16 / 10; }
.shot--4x3 { aspect-ratio: 4 / 3; }
.shot--3x5 { aspect-ratio: 3 / 5; }
.shot--21x9 { aspect-ratio: 21 / 9; }

.bleed-right { padding-left: max(var(--pad), calc((100vw - 1320px) / 2)); overflow-x: clip; }
.pair { display: flex; align-items: flex-start; }
.pair__over { flex: none; width: min(30vw, 300px); margin-top: 120px; margin-left: -60px; }

/* ---------- строки и колонки контента ---------- */

.cols { display: flex; flex-wrap: wrap; gap: 56px; }
.cols--tight { gap: 32px; }
.cols--wide { gap: 80px; }
.cols > * { flex: 1 1 320px; min-width: 0; }
.cols--end { align-items: flex-end; }

.index { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 72px; }
.index__row { display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); align-content: start; }
.index__row b { font-weight: 600; font-size: 18px; }
.index__row span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.sec--dark .index__row { border-top-color: rgba(195, 206, 221, .22); }

.numeral {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.06em;
  font-size: clamp(180px, 34vw, 520px); line-height: .78; color: #E4E9F1;
}
.numeral-wrap { position: absolute; left: 0; right: 0; top: 100px; display: flex; justify-content: center; pointer-events: none; }

.process { display: grid; gap: 0; }
.process__step { display: flex; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.process__step b { flex: none; width: 200px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.process__step p { flex: 1; max-width: 60ch; }
.process__step:first-child { border-top: none; }

.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 28px 0; }
.faq details[open] summary { color: var(--brand); }
.faq summary { display: flex; gap: 16px; align-items: baseline; cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--signal); font-weight: 400; font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 14px; max-width: 70ch; }

/* ---------- финал и подвал ---------- */

.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.final__phone { font-size: 22px; font-weight: 600; }

.foot { background: var(--ink); color: var(--on-dark); }
.foot a { color: #F3F5F8; }
.foot a:hover { color: var(--signal); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--pad) 28px; display: flex; flex-wrap: wrap; gap: 48px; }
.foot__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.foot__col--brand { flex: 1 1 260px; gap: 18px; }
.foot__col--brand img { height: 32px; width: auto; }
.foot__legal {
  max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad) 40px;
  border-top: 1px solid rgba(195, 206, 221, .2);
  display: flex; flex-wrap: wrap; gap: 16px 26px; font-size: 14px;
}

/* ---------- форма-панель ---------- */

.modal { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(15, 36, 64, .55); }
.modal[hidden] { display: none; }
.modal__panel { width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--canvas); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal__close { width: 44px; height: 44px; flex: none; border: 1px solid var(--line); background: var(--paper); font-size: 18px; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 15px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea, .field select {
  border: 1px solid var(--line); background: var(--paper); padding: 14px 16px;
  font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink);
}
.field input, .field select { height: 52px; padding: 0 16px; }
.field select {
  appearance: none; -webkit-appearance: none; border-radius: 0; cursor: pointer;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field select:focus-visible, .field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 108px; }
.choice { display: flex; gap: 8px; }
.choice label {
  flex: 1; height: 48px; border: 1px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + label { border: 2px solid var(--signal); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--signal); }

.form-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.form-inline .field--wide { grid-column: 1 / -1; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 24px; margin: 18px 0 0; font-size: 15px; line-height: 1.5; }
.form-status:empty { min-height: 0; margin-top: 0; }
.form-status.is-success { color: #176B45; }
.form-status.is-error { color: #A22A1F; }
.form-inline[aria-busy="true"] { opacity: .82; }

/* ---------- движение ---------- */

.js-anim .js-draw path { stroke-dasharray: 2800; stroke-dashoffset: 2800; }
.is-in.js-draw path,
.js-draw.is-in path { animation: sf-draw 2.4s cubic-bezier(.45, 0, .2, 1) forwards; }
.js-draw path:nth-of-type(2) { animation-delay: .18s; }
.js-draw path:nth-of-type(3) { animation-delay: .34s; }
.js-draw path:nth-of-type(4) { animation-delay: .5s; }
.js-draw path:nth-of-type(5) { animation-delay: .66s; }
@keyframes sf-draw { to { stroke-dashoffset: 0; } }

.pulse { offset-distance: 0%; animation: sf-pulse 7s linear infinite; }
@keyframes sf-pulse {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  86% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* заголовки видимы всегда: появление — только лёгкий сдвиг, без сокрытия контента */
.js-anim .reveal { transform: translateY(14px); transition: transform .7s ease; }
.js-anim .reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-draw path { stroke-dashoffset: 0 !important; animation: none !important; }
  .pulse { display: none; }
  .reveal { transform: none !important; transition: none; }
}

/* ---------- адаптив ---------- */

@media (max-width: 1400px) {
  .head__nav { gap: 20px; font-size: 15px; }
  .head__side { gap: 16px; }
  .menu__drop { width: 620px; }
}

@media (max-width: 1240px) {
  .head__nav { display: none; }
  .menu { display: block; width: 100%; }
  .menu__top { display: flex; width: 100%; }
  .menu__drop { width: 100%; }
  .menu__drop {
    position: static; width: auto; margin: 14px 0 0; padding: 0 0 4px; border: none;
    box-shadow: none; opacity: 1; visibility: visible; transform: none; background: none; gap: 18px;
  }
  .menu__grid { grid-template-columns: 1fr; gap: 16px; }
  .menu__grid b, .menu__all { font-size: 16px; }
  .head__burger { display: block; }
  .head__nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    position: absolute; left: 0; right: 0; top: 100%; margin-top: 18px;
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 22px var(--pad); font-size: 18px;
  }
  .head__in { position: relative; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero__fabric { display: none; }
  .hero__spacer { height: 0; }
  .tracks-m { display: grid; }
  .sec--pad { padding: 56px 0; }
  .sec--pad-t { padding-top: 44px; }
  .numeral-wrap { top: 40px; }
  .pair { flex-direction: column; }
  .pair__over { width: min(60vw, 260px); margin: -40px 0 0 auto; }
  .shot--bleed { width: calc(100% + 20px); }
  .bleed-right { padding-left: var(--pad); }
  .process__step { flex-direction: column; gap: 10px; }
  .process__step b { width: auto; }
  .modal__panel { padding: 24px; }
  .final__actions { gap: 18px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .head__in { padding-top: 20px; gap: 16px; }
  .head__side .head__cta { display: none; }
  .head__phone { font-size: 15px; }
  .btn { width: 100%; }
}

/* линия-жёлоб: не пересекает текст, поэтому подложки под текстом не нужны */
.page-fabric .plate { fill: var(--canvas); }
.page-fabric .bar { fill: var(--signal); }
.page-fabric .tick { stroke: var(--steel); stroke-width: 1; }

/* статьи */
.posts { display: grid; gap: 56px 72px; }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.post { display: grid; gap: 14px; }
.post > * { margin: 0 !important; }
.post .d3 a { color: var(--ink); }
.post .d3 a:hover { color: var(--signal); }
.article { max-width: 62ch; margin-left: 0; margin-right: auto; }
.narrow-col > * { max-width: 74ch; }
.article .body { font-size: 19px; line-height: 1.65; }
.pull {
  margin: 0; padding: 0 0 0 24px; border-left: 3px solid var(--signal);
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em;
}
.pager { display: flex; align-items: center; gap: 14px; margin-top: 64px; font-size: 17px; }
.pager a, .pager__cur { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); }
.pager__cur { border-color: var(--signal); color: var(--signal); font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.pager__next { margin-left: auto; border: none; padding: 0; }
.pager__next:hover { color: var(--signal); }

/* цифры результата в кейсах */
.metrics { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.metric { display: grid; gap: 6px; }
.metric b { font-family: var(--display); font-size: clamp(38px, 4.6vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; color: var(--signal); }
.metric span { font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 22ch; }

/* блок статей на главной */
.reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.read { display: grid; gap: 12px; }
.read__meta { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .reads { grid-template-columns: 1fr; gap: 32px; } }

/* ——— отраслевой лендинг ——— */
.anchors { position: sticky; top: 0; z-index: 40; background: rgba(243,245,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.anchors__in { display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); }
.anchors__label { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.anchors__nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; color: var(--muted); }
.anchors__nav a { color: var(--muted); }
.anchors__nav a:hover { color: var(--signal); }
.anchors__cta { margin-left: auto; font-size: 15px; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--signal); }
@media (max-width: 1240px) { .anchors__nav, .anchors__label { display: none; } .anchors__in { justify-content: flex-end; } }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.lp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.marks { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 16px; color: var(--ink); }
.marks span { position: relative; padding-left: 16px; }
.marks span::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--signal); }
@media (max-width: 1000px) { .lp-hero { grid-template-columns: 1fr; gap: 44px; } .lp-hero__visual { order: 2; } }

.ui { background: var(--paper); border: 1px solid var(--line); padding: 22px; display: grid; gap: 16px; }
.ui__row--head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ui__art { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.ui__tag { font-size: 13px; color: var(--brand); border: 1px solid var(--brand); padding: 3px 8px; }
.ui__name { margin: 0; font-size: 15px; color: var(--muted); }
.ui__alt { display: flex; gap: 8px; flex-wrap: wrap; }
.ui__alt span { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 9px; }
.ui__stock { display: grid; gap: 1px; background: var(--line); }
.ui__cell { background: var(--paper); display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; }
.ui__cell b { font-weight: 500; }
.ui__cell span { color: var(--brand); font-weight: 600; }
.ui__cell--far span { color: var(--muted); }
.ui__order { display: flex; gap: 6px; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.ui__step { flex: 1; font-size: 13px; color: var(--steel-ink, var(--muted)); border-top: 3px solid var(--line); padding-top: 8px; }
.ui__step--done { border-top-color: var(--brand); color: var(--ink); }
.ui__step--now { border-top-color: var(--signal); color: var(--signal); font-weight: 600; }
.caption { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px 72px; }
.pain { border-top: 2px solid var(--ink); padding-top: 18px; }
.pain--wide { grid-column: span 2; }
@media (max-width: 1000px) { .pains { grid-template-columns: 1fr; } .pain--wide { grid-column: auto; } }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow__node { padding: 22px 26px 26px 0; border-top: 2px solid var(--line); position: relative; }
.flow__node--core { border-top-color: var(--signal); }
.flow__node:not(:last-child)::after { content: "→"; position: absolute; right: 8px; top: 18px; color: var(--signal); font-size: 18px; }
.flow__title { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.flow__list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; color: var(--muted); }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; } .flow__node:not(:last-child)::after { content: "↓"; right: auto; left: 0; top: auto; bottom: -14px; } .flow__node { padding-right: 0; } }

.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 56px; }
.feat { border-top: 1px solid var(--line); padding-top: 20px; }
.feat--lead { grid-column: span 2; border-top: 3px solid var(--signal); }
.feat--accent { border-top: 3px solid var(--brand); }
@media (max-width: 1000px) { .feats { grid-template-columns: 1fr; } .feat--lead { grid-column: auto; } }

.steps input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.steps__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 12px; }
.steps__tabs label { display: grid; gap: 6px; cursor: pointer; font-size: 16px; color: rgba(243,245,248,.55); border-top: 3px solid rgba(243,245,248,.2); padding-top: 12px; }
.steps__tabs label b { font-size: 14px; font-weight: 600; }
.steps__panel { display: none; padding-top: 36px; }
#ost1:checked ~ .steps__tabs label[for="ost1"], #ost2:checked ~ .steps__tabs label[for="ost2"], #ost3:checked ~ .steps__tabs label[for="ost3"], #ost4:checked ~ .steps__tabs label[for="ost4"], #ost5:checked ~ .steps__tabs label[for="ost5"], #ost6:checked ~ .steps__tabs label[for="ost6"] { color: var(--signal); border-top-color: var(--signal); }
#ost1:focus-visible ~ .steps__tabs label[for="ost1"], #ost2:focus-visible ~ .steps__tabs label[for="ost2"], #ost3:focus-visible ~ .steps__tabs label[for="ost3"], #ost4:focus-visible ~ .steps__tabs label[for="ost4"], #ost5:focus-visible ~ .steps__tabs label[for="ost5"], #ost6:focus-visible ~ .steps__tabs label[for="ost6"] { outline: 2px solid var(--signal); outline-offset: 4px; }
#ost1:checked ~ .steps__panels .p1, #ost2:checked ~ .steps__panels .p2, #ost3:checked ~ .steps__panels .p3, #ost4:checked ~ .steps__panels .p4, #ost5:checked ~ .steps__panels .p5, #ost6:checked ~ .steps__panels .p6 { display: block; }
@media (max-width: 1000px) {
  .steps__tabs { display: none; }
  .steps__panels { display: grid; gap: 28px; counter-reset: st; }
  .steps__panel { display: block; padding-top: 16px; border-top: 2px solid rgba(243,245,248,.2); }
  .steps__panel::before { counter-increment: st; content: "0" counter(st); display: block; font-size: 14px; font-weight: 600; color: var(--signal); margin-bottom: 8px; }
}

.st { font-style: normal; font-size: 13px; margin-left: 10px; white-space: nowrap; padding: 2px 8px; border: 1px solid currentColor; }
.st--done { color: var(--brand); }
.st--typ { color: var(--muted); }
.st--dev { color: var(--signal); }
.tbc { font-style: normal; color: var(--signal); }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 48px; }
.kpi { display: grid; gap: 6px; border-left: 2px solid var(--signal); padding-left: 16px; }
.kpi b { font-size: 19px; font-weight: 600; }
.kpi span { font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr; } }

.metrics--sm { gap: 20px 40px; }
.metrics--sm .metric b { font-size: clamp(28px, 2.6vw, 36px); }

.faq { display: grid; gap: 0; max-width: 900px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 20px; font-weight: 500; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--signal); font-size: 24px; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item .note { margin: 0 0 26px; max-width: 66ch; }

.sticky-cta { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 88px; }
  .sticky-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; background: var(--signal); color: #fff; text-align: center; padding: 16px; font-weight: 600; font-size: 16px; }
  .sticky-cta:hover { color: #fff; }
}
.sticky-cta.is-hidden { display: none; }
.factors { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; max-width: 900px; }
.factors li { font-size: 17px; line-height: 1.6; padding: 14px 0 14px 18px; border-top: 1px solid rgba(243,245,248,.18); position: relative; }
.factors li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 7px; height: 1px; background: var(--signal); }
@media (max-width: 900px) { .factors { grid-template-columns: 1fr; } }


/* ---------- лендинг услуг: смысловые схемы ---------- */

.diagram { display: block; width: 100%; height: auto; }
.diagram text { text-rendering: geometricPrecision; }

/* роли команды: одна линия, точки подключения */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 64px; }
.role { position: relative; padding: 30px 0 0; border-top: 1px solid var(--line); }
.role::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--signal); }
.role b { display: block; font-weight: 600; font-size: 18px; }
.role span { display: block; margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* форматы сотрудничества: разная подача, без карточек */
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 72px; }
.format { border-top: 2px solid var(--ink); padding-top: 24px; }
.format--accent { border-top-color: var(--signal); }
.format__row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.format__row:first-of-type { margin-top: 20px; }
.format__row b { font-size: 15px; font-weight: 500; color: var(--muted); }
.format__row span { font-size: 17px; line-height: 1.55; }

/* регламент реакции */
.sla { display: grid; }
.sla__row {
  display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.4fr) minmax(150px, .9fr);
  gap: 40px; padding: 28px 0; border-top: 1px solid rgba(195, 206, 221, .22); align-items: baseline;
}
.sla__row b { font-size: 19px; font-weight: 600; }
.sla__row span { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); }
.sla__row i {
  font-style: normal; text-align: right; color: var(--signal);
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
@media (max-width: 860px) {
  .sla__row { grid-template-columns: 1fr; gap: 10px; }
  .sla__row i { text-align: left; }
}

/* принципы */
.creed { display: grid; }
.creed__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; padding: 34px 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .creed__row { grid-template-columns: 1fr; gap: 14px; } }

/* квиз */
.quiz { border: none; padding: 0; max-width: 880px; }
.quiz__bar { position: relative; height: 2px; background: var(--line); }
.quiz__bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--signal); transition: width .35s ease; }
.quiz__step { font-size: 15px; color: var(--muted); }
.quiz__set { border: none; padding: 0; margin: 0; }
.quiz__q { padding: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; }
.quiz__opts { display: grid; gap: 12px; margin-top: 28px; }
.quiz__opt {
  display: flex; align-items: center; gap: 14px; padding: 17px 20px;
  border: 1px solid var(--line); background: var(--canvas); cursor: pointer;
  font-size: 17px; line-height: 1.4; transition: border-color .15s ease, background .15s ease;
}
.quiz__opt:hover { border-color: var(--signal); }
.quiz__opt input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--signal); }
.quiz__opt:has(input:checked) { border-color: var(--signal); background: #FFF6F2; }
.quiz__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quiz__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.quiz__back { background: none; border: none; border-bottom: 1px solid var(--line); padding: 0 0 2px; font: inherit; font-size: 16px; color: var(--muted); cursor: pointer; }
.quiz__back:hover { color: var(--ink); border-bottom-color: var(--signal); }
.quiz__done { display: grid; gap: 12px; padding: 28px 0 0; border-top: 2px solid var(--signal); }

/* выбор цели в основной форме */
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 16px; }
.pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--signal); }
.pick:has(input:checked) { border-color: var(--signal); background: #FFF6F2; }

/* .btn задаёт display:inline-flex и перебивает служебное правило hidden */
[hidden] { display: none !important; }

/* полные по ширине блоки не должны доезжать до сквозной линии */
.sla, .creed { max-width: 1120px; }
.roles { max-width: 1160px; }

/* широкие схемы на узких экранах: горизонтальная прокрутка вместо нечитаемого масштаба */
.diagram-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
@media (max-width: 900px) {
  .diagram-scroll .diagram { min-width: 720px; }
  .diagram-scroll { padding-bottom: 8px; }
}
@media (max-width: 620px) {
  .diagram-scroll .diagram { min-width: 560px; }
  .roles { gap: 0 24px; }
  .sla__row { padding: 18px 0; }
  .quiz__opt { padding: 15px 16px; }
  .picks { display: grid; }
}

/* жёлоб под сквозную линию: контент останавливается, не доезжая до неё */
@media (min-width: 1100px) { .wrap.sec__in { padding-right: 150px; } }

/* ---------- повествовательный лендинг: одна история ---------- */

/* крупная реплика — эмоциональные точки страницы */
.say {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.03; font-size: clamp(32px, 4.6vw, 68px); text-wrap: pretty; margin: 0;
}
.say--sm { font-size: clamp(28px, 3.6vw, 52px); }
.say i { font-style: normal; color: var(--signal); }

/* последовательность «ситуация → реакция» */
.story { display: grid; max-width: 1080px; }
.story__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.story__row p { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; }
.story__row p + p { color: var(--signal); font-weight: 600; }
.sec--dark .story__row { border-top-color: rgba(195, 206, 221, .22); }
@media (max-width: 760px) { .story__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; } }

/* маршрут задачи: до и после */
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.route span { font-size: 16px; line-height: 1.3; padding: 11px 15px; border: 1px solid var(--line); background: var(--paper); }
.route i { font-style: normal; color: var(--steel); }
.route--now i { color: var(--signal); }
.route--now span { border-color: var(--ink); }
.route--now span:last-child { border-color: var(--signal); color: var(--signal); font-weight: 600; }
.route__label { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 14px; }

/* две модели работы рядом */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; max-width: 1060px; }
.model__head { border-top: 2px solid var(--line); padding-top: 18px; }
.model--ours .model__head { border-top-color: var(--signal); }
.chain { display: grid; margin: 26px 0 0; }
.chain li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; color: var(--text-2); }
.chain li::before { content: "↓"; flex: none; width: 14px; color: var(--steel); }
.chain li:first-child { border-top: none; }
.chain li:first-child::before { content: "•"; color: var(--muted); }
.model--ours .chain li::before { color: var(--signal); }
.chain li.loop { color: var(--signal); font-weight: 600; }
.chain li.loop::before { content: "↻"; color: var(--signal); }
.chain li.win { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; gap: 44px; } }

/* причины сбоя: где может быть проблема */
.where { display: flex; flex-wrap: wrap; gap: 10px; }
.where span { font-size: 16px; padding: 10px 15px; border: 1px solid rgba(195, 206, 221, .35); }
.where span.hit { border-color: var(--signal); color: var(--signal); }

/* регламент реакции в светлой секции */
.sec:not(.sec--dark) .sla__row { border-top-color: var(--line); }
.sec:not(.sec--dark) .sla__row span { color: var(--muted); }

/* «1С» — название продукта: в display-заголовках набираем основным шрифтом,
   у Bricolage декоративная цифра и узкая кириллическая С */
.n1c { font-family: var(--text); font-weight: 700; letter-spacing: -0.01em; }
