/* Главная-визитка hub-2026-11. Токены, кнопки и стекло те же, что в styles.css «Цифровых решений»:
   страницы одного сайта выглядят одинаково. Движение: сборка эмблемы на первом экране и переходы */
@font-face { font-family: "Tinos"; font-weight: 400; font-display: swap; src: url(fonts/tinos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tinos"; font-weight: 400; font-display: swap; src: url(fonts/tinos-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Golos Text"; font-weight: 400 600; font-display: swap; src: url(fonts/golos-text-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400 600; font-display: swap; src: url(fonts/golos-text-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF; }

:root {
  color-scheme: dark;
  --bg: #03050b; --bg-2: #070c18;
  --line: rgba(150,185,230,.14); --line-2: rgba(150,185,230,.28);
  --ink: #e8eef7; --ink-2: #a8b5c8; --ink-3: #7888a0;
  --accent: #5fb0e8; --accent-2: #8fd0ff;
  --sh-a: #7ce7f2; --sh-b: #a594ff; --sh-line: rgba(165,148,255,.22);
  --sig: linear-gradient(110deg, var(--sh-b), var(--sh-a) 58%, var(--accent));
  --serif: "Tinos", "Times New Roman", serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --maxw: 1200px; --gutter: clamp(16px, 4vw, 40px); --hh: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: var(--hh); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
main, .ftr { position: relative; z-index: 1; }

/* Кнопки как на страницах направлений */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: box-shadow .25s, border-color .2s, background .2s, transform .2s var(--ease); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sig { color: #05101c; background: var(--sig); box-shadow: 0 12px 30px -12px rgba(124,231,242,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-sig:hover { box-shadow: 0 0 0 6px rgba(124,231,242,.14), 0 16px 36px -10px rgba(165,148,255,.65); }
.btn-glass { background: rgba(255,255,255,.04); color: var(--ink); border-color: rgba(165,148,255,.38); }
.btn-glass:hover { border-color: var(--sh-a); background: rgba(124,231,242,.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.gl { border: 1px solid var(--sh-line); border-radius: 20px; background: linear-gradient(180deg, rgba(28,36,74,.55), rgba(10,15,32,.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

/* Шапка: та же структура, что на страницах направлений */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(3,5,11,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.hdr-in { height: var(--hh); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--serif); letter-spacing: .06em; }
.brand img { height: 36px; width: auto; }
/* На первом экране знак стоит в центре: в шапке он появляется после прокрутки */
.js .hdr .brand { opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .4s var(--ease); }
.js .hdr.solid .brand { opacity: 1; transform: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.hdr-phone { color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.burger { display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8,14,28,.6); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .25s, top .25s; }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i { top: 21px; }
.burger[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
@media (max-width: 1240px) { .hdr-phone { display: none; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .hdr .hdr-req { margin-left: auto; }
  .nav { position: fixed; top: var(--hh); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(3,5,11,.97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav a { padding: 14px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .hdr-in { gap: 10px; }
  .js .hdr .brand { opacity: 1; transform: none; }
}
@media (max-width: 420px) { .brand span { display: none; } .hdr .btn { padding: 0 14px; font-size: 13px; } }

/* Общие блоки */
.sec { padding: clamp(72px, 10vw, 120px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sh-a); margin-bottom: 18px; }
.h2 { font: 400 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); letter-spacing: -.01em; margin-bottom: 22px; max-width: 18ch; }
.lede { color: var(--ink-2); font-size: clamp(16px, 1.4vw, 18px); max-width: 56ch; }
.lede + .lede { margin-top: 14px; }
.note { margin-top: 28px; color: var(--ink-3); font-size: 14px; }

/* ===== 1. Первый экран: два направления и связка ===== */
.tx-grad { background-image: var(--sig); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hh) + 28px) 0 36px; }
.hero > .wrap { width: 100%; }
.hero-head { text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 { font: 400 clamp(30px, 3.4vw, 48px)/1.1 var(--serif); letter-spacing: -.012em; }
.duo { position: relative; margin-top: clamp(22px, 3.5vh, 40px); display: grid; grid-template-columns: 1fr clamp(220px, 22vw, 300px) 1fr; align-items: center; }
.duo .dir { align-self: stretch; }
/* Связь между направлениями проходит через эмблему */
.duo-beam { position: absolute; left: 12%; right: 12%; top: 50%; height: 2px; margin-top: -1px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--sh-b) 20%, #fff 50%, var(--accent-2) 80%, transparent); box-shadow: 0 0 14px 2px rgba(124,231,242,.45); opacity: 0; transform: scaleX(.2); transition: opacity .8s 1s, transform 1s var(--ease) 1s; }
.duo.on .duo-beam { opacity: .9; transform: none; }
.duo-core { position: relative; z-index: 2; justify-self: center; width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(26,44,72,.95), rgba(6,11,22,.98) 70%); border: 2px solid rgba(214,232,250,.55); box-shadow: 0 0 0 8px rgba(3,5,11,.9), 0 0 60px 10px rgba(124,231,242,.22); }

.dir { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 34px); border-radius: 22px; border: 1px solid var(--sh-line); background: linear-gradient(180deg, rgba(28,36,74,.6), rgba(10,15,32,.7)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .25s; }
.dir-soft { margin-right: -36px; padding-right: calc(36px + clamp(22px, 2.4vw, 34px)); transform: translateX(-16px); transition-delay: .9s; }
.dir-hw { margin-left: -36px; padding-left: calc(36px + clamp(22px, 2.4vw, 34px)); transform: translateX(16px); transition-delay: 1.05s; border-color: rgba(95,176,232,.28); background: linear-gradient(180deg, rgba(18,44,78,.6), rgba(8,16,32,.7)); }
.duo.on .dir { opacity: 1; transform: none; }
.dir:hover { border-color: rgba(124,231,242,.55); }
.dir-k { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dir-k span { color: var(--sh-a); }
.dir-hw .dir-k span { color: var(--accent-2); }
.dir h2 { margin-top: 12px; font: 400 clamp(26px, 2.5vw, 34px)/1.1 var(--serif); }
.dir-link { text-decoration: none; }
.dir-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.dir-sub { margin-top: 10px; color: var(--ink-2); font-size: 15px; max-width: 38ch; }
.dir-list { list-style: none; margin: 16px 0 auto; padding: 0; border-top: 1px solid var(--line); }
.dir-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; transition: color .2s, padding .2s var(--ease); }
.dir-list a::after { content: "→"; color: var(--ink-3); transition: transform .2s var(--ease), color .2s; }
.dir-list a:hover { color: var(--sh-a); padding-left: 6px; }
.dir-list a:hover::after { transform: translateX(3px); color: var(--sh-a); }
.dir-list span { flex: 1; }
.dir-list em { font: normal 500 12px/1 var(--mono); color: var(--sh-a); letter-spacing: .04em; }
.dir-hw .dir-list em { color: var(--accent-2); }
.dir-btn { margin-top: 20px; align-self: flex-start; }
.hero-more { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.hero-more b { color: var(--ink); font-weight: 600; }
.hero-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-more:hover b { color: var(--sh-a); }
@media (max-width: 1080px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 16px; }
  .duo-core { grid-column: 1 / -1; grid-row: 1; width: min(46vw, 220px); margin-bottom: 8px; }
  .dir-soft, .dir-hw { margin: 0; padding: clamp(22px, 2.4vw, 34px); }
  .duo-beam { display: none; }
}
@media (max-width: 680px) {
  .hero { min-height: auto; padding-top: calc(var(--hh) + 20px); }
  .hero-head { text-align: left; }
  .duo { grid-template-columns: 1fr; }
  .duo-core { width: min(52vw, 200px); }
  .dir-soft, .dir-hw { transform: translateY(12px); }
  .dir-btn { align-self: stretch; }
}

/* ===== 2. Как это связано ===== */
.layers { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }
.ly { position: relative; display: grid; grid-template-columns: 180px 220px 1fr; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 16px; border: 1px solid var(--line); background: rgba(12,20,38,.55); }
.ly::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; }
.ly-soft::before { background: linear-gradient(var(--sh-b), var(--sh-a)); }
.ly-hw::before { background: var(--accent); }
.ly-site::before { background: var(--ink-3); }
.ly-tag { font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ly-soft .ly-tag { color: var(--sh-a); } .ly-hw .ly-tag { color: var(--accent-2); }
.ly h3 { font: 400 24px/1.2 var(--serif); }
.ly p { color: var(--ink-2); font-size: 15px; }
/* Ступени: каждый слой стоит на следующем */
.ly:nth-child(2) { margin-left: 2%; } .ly:nth-child(3) { margin-left: 4%; } .ly:nth-child(4) { margin-left: 6%; } .ly:nth-child(5) { margin-left: 8%; }
.link-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .ly { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px 16px 22px; }
  .ly:nth-child(n) { margin-left: 0; }
}
.k-soft { color: var(--sh-a) !important; } .k-hw { color: var(--accent-2) !important; }
.ftr .ftr-req { font-size: 13px; }
.nav-dir { color: var(--ink) !important; }

/* ===== 3. Как работаем ===== */
.how { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); }
.how li { padding: 22px 20px 0 0; }
.how span { font: 500 12px/1 var(--mono); color: var(--sh-a); }
.how h3 { margin-top: 14px; font: 400 24px/1.2 var(--serif); }
.how p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .how { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } .how li { padding-right: 0; } }

/* ===== 4. Работы ===== */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 14px; }
.work { display: flex; flex-direction: column; padding: 28px; }
.work-k { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.work h3 { margin-top: 14px; font: 400 24px/1.2 var(--serif); }
.work p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.work-go { margin-top: auto; padding-top: 22px; color: var(--sh-a); font-weight: 600; font-size: 15px; text-decoration: none; }
.work-go:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr; } }

/* ===== 5. О компании ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.about-txt p { color: var(--ink-2); font-size: 17px; }
.about-txt p + p { margin-top: 16px; }
.about-txt .about-req { color: var(--ink-3); font-size: 14px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 0; } }

/* ===== 6. Заявка ===== */
.req { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.req-alt { margin-top: 26px; color: var(--ink-3); line-height: 1.8; }
.req-alt a { color: var(--ink); text-decoration: none; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); }
.field { display: grid; gap: 8px; }
.field label, .lbl { font-size: 14px; color: var(--ink-2); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(7,12,24,.8); color: var(--ink); font: 16px/1.4 var(--sans); }
.input:focus { border-color: var(--sh-a); outline: none; }
textarea.input { resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.chips input:checked + span { background: rgba(124,231,242,.14); border-color: var(--sh-a); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); }
.check input { margin-top: 3px; accent-color: var(--sh-a); }
.form .btn { justify-self: start; }
.form-msg { color: var(--sh-a); font-size: 15px; }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }

/* Подвал */
.ftr { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--ink-3); font-size: 14px; }
.ftr-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.ftr p { margin-top: 14px; max-width: 34ch; }
.brand-ftr { color: var(--ink); }
.ftr nav, .ftr address { display: grid; gap: 10px; font-style: normal; align-content: start; }
.ftr nav a, .ftr address a { text-decoration: none; }
.ftr nav a:hover, .ftr address a:hover { color: var(--ink); }
@media (max-width: 860px) { .ftr-in { grid-template-columns: 1fr; } }

/* Появление блоков ниже визитки: один раз */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .duo .dir, .duo .duo-beam { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Пересборка логотипа на первом экране: заголовок и направления появляются, когда знак уходит в круг */
.js .hero-head, .js .hero-more { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease) .3s, transform .7s var(--ease) .3s; }
.js .hero.on .hero-head, .js .hero.on .hero-more { opacity: 1; transform: none; }
.dir-soft, .dir-hw { transition-delay: .15s; }
.duo-em { position: absolute; inset: 3%; }
.duo-em .sl { position: absolute; }
/* В круге эмблемы только знак: слова логотипа не влезают и наезжают друг на друга */
.duo-em .sl-3d, .duo-em .sl-over { display: none; }
.dir-list .ico { flex: none; width: 30px; height: 30px; margin-right: 12px; display: grid; place-items: center; border-radius: 50%; background: #081226; border: 1px solid rgba(143,208,255,.45); font-style: normal; }
.dir-list .ico svg { width: 17px; height: 17px; fill: none; stroke: #e8eef7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dir-list a:hover .ico { border-color: var(--sh-a); }
.sl-fly-b .ico, .sl-fly-b { border-radius: 50%; }
.sl-fly-b svg { padding: 22%; box-sizing: border-box; fill: none; stroke: #e8eef7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: #081226; border: 1px solid rgba(143,208,255,.45); border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .js .hero-head, .js .hero-more { opacity: 1; transform: none; } }
.dir-note { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--sh-a); background: rgba(124,231,242,.06); border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 14px; }

/* Круг в центре проявляется, когда в него приходит логотип; до этого под сборкой ничего нет */
.js .duo-core { opacity: 0; transition: opacity .5s var(--ease); }
.js .duo.core-on .duo-core { opacity: 1; }
.duo-core { background: radial-gradient(circle at 50% 50%, rgba(22,38,64,.9), rgba(5,9,18,.98) 72%); border-width: 1.5px; }
.js .duo .dir { transition: opacity .7s var(--ease) .5s, transform .7s var(--ease) .5s, border-color .25s; }
.js .hero-head, .js .hero-more { transition-delay: .5s; }

/* Аудит 24.11.2026: подсказки в форме, оговорка про оферту, обязательное поле */
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.quick button { min-height: 34px; padding: 0 12px; border: 1px dashed rgba(143,208,255,.35); border-radius: 999px; background: transparent; color: var(--ink-2); font: 13px/1 var(--sans); cursor: pointer; }
.quick button:hover { border-color: var(--sh-a); color: var(--ink); }
.req-mark { color: var(--sh-a); }
.ftr .ftr-offer { margin-top: 10px; font-size: 12px; color: var(--ink-3); max-width: 40ch; }

/* ===== Телефон (мобильная ревизия 24.11.2026): оба направления на первом экране, порядок блоков, короче страница ===== */
@media (max-width: 760px) {
  .sec { padding: 56px 0; }
  .h2 { margin-bottom: 14px; }
  main { display: flex; flex-direction: column; }
  main > .hero { order: 1; } main > #trust { order: 2; } main > #works { order: 3; } main > #how { order: 4; } main > #link { order: 5; } main > #request { order: 6; }
  .hero { padding: calc(var(--hh) + 14px) 0 28px; }
  .hero h1 { font-size: clamp(25px, 7vw, 30px); }
  .eyebrow { margin-bottom: 10px; }
  .duo { grid-template-columns: 1fr; gap: 0; margin-top: 18px; }
  .dir-soft { grid-row: 1; } .duo-core { grid-row: 2; } .dir-hw { grid-row: 3; }
  .duo-core { grid-column: 1; width: 92px; margin: -26px auto; box-shadow: 0 0 0 6px rgba(3,5,11,.95), 0 0 30px 4px rgba(124,231,242,.22); }
  .dir, .dir-soft, .dir-hw { padding: 18px 18px 20px; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(24,32,66,.95), rgba(10,15,32,.95)); }
  .dir-soft { padding-bottom: 40px; }
  .duo-core { pointer-events: none; }
  .dir-hw { padding-top: 44px; background: linear-gradient(180deg, rgba(16,40,72,.95), rgba(8,16,32,.95)); }
  .dir h2 { margin-top: 8px; font-size: 24px; }
  .dir-sub { margin-top: 6px; font-size: 14px; }
  .dir-note { display: none; }
  .dir-list { display: flex; gap: 8px; margin: 14px 0 0; border: 0; flex-wrap: wrap; }
  .dir-list a { padding: 0; border: 0; }
  .dir-list a::after { display: none; }
  .dir-list a span, .dir-list a em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dir-list .ico { width: 40px; height: 40px; margin: 0; }
  .dir-list .ico svg { width: 20px; height: 20px; }
  .dir-btn { margin-top: 16px; align-self: stretch; min-height: 48px; }
  .hero-more { margin-top: 16px; font-size: 14px; }
  .how { margin-top: 18px; }
  .how li { padding: 14px 0 0; }
  .how h3 { margin-top: 6px; font-size: 19px; }
  .how p { font-size: 14.5px; margin-top: 4px; }
  .works { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .works::-webkit-scrollbar { display: none; }
  .work { flex: 0 0 84%; scroll-snap-align: start; padding: 20px; }
  .layers { margin-top: 18px; gap: 8px; }
  .ly { padding: 14px 16px 14px 20px; }
  .ly h3 { font-size: 19px; }
  .ftr nav a, .ftr address a { padding-block: 8px; }
}
@media (max-width: 760px) { .works { scroll-padding-inline: var(--gutter); } }

/* Акцент на разработке (25.11.2026): заголовок про программы, вторая строка про оборудование и NDA */
.hero-lead { margin: 14px auto 0; max-width: 60ch; color: var(--ink-2); font-size: clamp(16px, 1.35vw, 18px); }
.dir-soft { border-color: rgba(124,231,242,.42); box-shadow: 0 0 60px -28px rgba(124,231,242,.6); }
@media (max-width: 760px) { .hero-head { text-align: left; } .hero-lead { margin-left: 0; font-size: 15px; } }

/* Уведомление о cookie (как на остальных страницах) */
.cookie { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); box-sizing: border-box; display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: rgba(16,26,48,.95); border: 1px solid rgba(150,185,230,.22); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font: 13px/1.45 var(--sans); color: var(--ink-2, #a8b5c8); }
.cookie a { color: var(--ink); }
.cookie .btn { flex: none; min-height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 600px) {
  .cookie { left: 0; right: 0; width: 100%; bottom: 0; gap: 12px; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .cookie p { font-size: 11.5px; line-height: 1.35; }
  .cookie .btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
}

/* Флажок согласия: один вид на всех страницах */
.check input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid rgba(150,185,230,.55); border-radius: 6px; background: rgba(8,14,28,.6); display: inline-grid; place-content: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input[type=checkbox]::before { content: ""; width: 10px; height: 6px; border: solid #05101c; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input[type=checkbox]:checked { border-color: transparent; background: linear-gradient(110deg, #a594ff, #7ce7f2 58%, #5fb0e8); }
.check input[type=checkbox]:checked::before { opacity: 1; }
.check input[type=checkbox]:focus-visible { outline: 2px solid #7ce7f2; outline-offset: 2px; }
[data-invalid="true"] .check input[type=checkbox], .check[data-invalid="true"] input[type=checkbox] { border-color: #ff8a8a; }

/* UX-ревизия, круг 2 (25.11.2026) */
.check { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: start; }
.check > input { grid-column: 1; } .check > span { grid-column: 2; }
.quick button { min-height: 40px; }
.how h3 { font: 600 19px/1.25 var(--sans); }
@media (max-width: 760px) { .how h3 { font-size: 17px; } }
.cookie { z-index: 95; }
#reqForm .btn[type=submit] { width: 100%; }

/* Подвал как на двух других страницах: название видно и на телефоне, телефон моноширинным */
.brand-ftr span { display: inline !important; }
.ftr address a[href^="tel:"] { font: 500 16px/1.2 "JetBrains Mono", ui-monospace, Menlo, monospace; color: var(--ink); }

/* Форма заявки на главной: ловушка для ботов и сообщения об отправке (подготовка к выкладке, 26.11.2026) */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
#reqForm { position: relative; }
.form-msg.ok { color: #7ee2a8; }
.form-msg.err { color: #ffb4a8; }
.form-msg a { color: inherit; }
.form-msg:focus { outline: none; }

/* Баннер cookie плотный: сквозь .95 просвечивали иконки карточек (ревизия 26.11.2026) */
.cookie { background: #101a30; }
