/* Синтера Лаб: стили сайта по мини-брендбуку 1.0 (октябрь 2026).
   Палитра: основной синий #183B66, графит #252D38, светлый фон #F3F5F7, холодный акцент #DCE7F5.
   Шрифт: Manrope 400/500/600. Без градиентов, теней и свечений на логотипе.
   Фирменный приём: крупный фрагмент знака как фоновая графика. */
:root {
  --bg: #F3F5F7;
  --surface: #FFFFFF;
  --subtle: #EDF1F5;
  --text: #252D38;
  --muted: #5B6676;
  --faint: #8A94A3;
  --border: #DEE3EA;
  --accent: #183B66;
  --accent-hover: #10294A;
  --accent-2: #2B5488;
  --cold: #DCE7F5;
  --violet: #2B5488;
  --cyan: #4A78B0;
  --dark: #183B66;
  --dark-2: #1E4675;
  --dark-border: rgba(255, 255, 255, 0.16);
  --on-dark: #FFFFFF;
  --on-dark-muted: #B8C7DB;
  --grad: linear-gradient(100deg, #183B66 0%, #2B5488 55%, #4A78B0 100%);
  --shadow-sm: 0 1px 2px rgba(37, 45, 56, 0.04), 0 8px 24px rgba(37, 45, 56, 0.05);
  --shadow: 0 20px 60px rgba(37, 45, 56, 0.08);
  --radius: 20px;
  --radius-sm: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --font-head: "Manrope", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  color-scheme: light;
}
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
::selection { background: rgba(24, 59, 102, 0.16); color: var(--text); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 54px); }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 560px; text-wrap: pretty; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.accent-word { color: var(--accent); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-plain { background: var(--subtle); color: var(--text); }
.btn-outline-light { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-ghost:hover { background: rgba(24, 59, 102, 0.06); }
  .btn-plain:hover { background: #EBEDF2; }
  .btn-outline-light:hover { box-shadow: inset 0 0 0 1px #6B7280; }
  a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
}

/* ---------- Прогресс и шапка ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: transform 400ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease; }
.header.is-scrolled { background: rgba(250, 250, 251, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(13, 13, 18, 0.06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height 300ms var(--ease-out); }
.header.is-scrolled .header-inner { height: 70px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; width: auto; margin-left: -12px; }
.nav { display: flex; gap: 36px; }
.nav a { position: relative; font-size: 15px; font-weight: 500; padding: 6px 0; color: #262A33; transition: color 200ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--text); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 250ms var(--ease-out); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(250, 250, 251, 0.97); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms; }
.mobile-menu a.m-link { font-family: var(--font-head); font-weight: 600; font-size: 32px; letter-spacing: -0.03em; opacity: 0; transform: translateY(14px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.mobile-menu .btn { margin-top: 24px; opacity: 0; transition: opacity 400ms var(--ease-out); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 300ms var(--ease-out); }
.menu-open .mobile-menu a.m-link, .menu-open .mobile-menu .btn { opacity: 1; transform: none; }
.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: 40ms; }
.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: 80ms; }
.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: 120ms; }
.menu-open .mobile-menu a.m-link:nth-child(5) { transition-delay: 160ms; }
.menu-open .mobile-menu .btn { transition-delay: 200ms; }

/* ---------- Появление ---------- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i) * 50ms + var(--d, 0ms)); }
.split.is-in .w > span { transform: none; }
.hero-intro { opacity: 0; transform: translateY(14px); animation: intro 1000ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- 1. Первый экран ---------- */
.hero { position: relative; min-height: min(100vh, 880px); min-height: min(100svh, 880px); display: flex; align-items: center; padding: 110px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(40px, 5.1vw, 74px); line-height: 1.04; }
.hero .lead { margin: 28px 0 40px; font-size: clamp(18px, 1.6vw, 22px); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.orbit { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: end; container-type: inline-size; --R: 38.67cqw; --T: 19cqw; --spin: 70s; }
.orbit-glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 231, 245, 0.9), rgba(220, 231, 245, 0.35) 60%, transparent 100%); animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: 0.65; transform: scale(0.96); } to { opacity: 1; transform: scale(1.04); } }
.orbit-ring, .orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-rot { position: absolute; inset: 0; animation: spin var(--spin) linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-lines .lines line { stroke: #CBD3EA; stroke-width: 1; transition: stroke 300ms ease, stroke-width 300ms ease; }
.orbit-lines .flow line { stroke: url(#ig); stroke: #7C9CF0; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.1 22; animation: flow 2.8s linear infinite; opacity: 0.7; }
.orbit-lines .flow line:nth-child(2) { animation-delay: -0.5s; }
.orbit-lines .flow line:nth-child(3) { animation-delay: -1s; }
.orbit-lines .flow line:nth-child(4) { animation-delay: -1.5s; }
.orbit-lines .flow line:nth-child(5) { animation-delay: -2s; }
.orbit-lines .flow line:nth-child(6) { animation-delay: -2.4s; }
@keyframes flow { to { stroke-dashoffset: -22.1; } }
.node { position: absolute; left: calc(50% - var(--T) / 2); top: calc(50% - var(--T) / 2); width: var(--T); height: var(--T); transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(-1 * var(--a))); }
.node-inner { display: block; width: 100%; height: 100%; animation: spin var(--spin) linear infinite reverse; }
.tile { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 26%; background: #fff; box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 16px 40px rgba(24, 59, 102, 0.10); transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.tile img { width: 64%; height: auto; }
.node-label { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); width: max-content; max-width: 170px; text-align: center; font-size: clamp(11px, 2.4cqw, 15px); line-height: 1.3; color: #2B2F38; font-weight: 500; }
.core { position: absolute; left: 50%; top: 50%; width: 31cqw; height: 31cqw; margin: -15.5cqw 0 0 -15.5cqw; animation: float 6s ease-in-out infinite; }
.core-tile { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 24%; background: var(--accent); box-shadow: 0 2px 4px rgba(24, 59, 102, 0.12), 0 30px 60px rgba(24, 59, 102, 0.25); }
.core-tile img { width: 64%; height: auto; }
.core-pins { position: absolute; inset: -14%; width: 128%; height: 128%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.orbit:hover .orbit-rot, .orbit:hover .node-inner, .orbit:focus-within .orbit-rot, .orbit:focus-within .node-inner { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .node:hover .tile, .node:focus-visible .tile { transform: scale(1.08); box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 24px 50px rgba(24, 59, 102, 0.16); }
}
.orbit:has(.node[data-i="0"]:hover) .lines line[data-i="0"],
.orbit:has(.node[data-i="1"]:hover) .lines line[data-i="1"],
.orbit:has(.node[data-i="2"]:hover) .lines line[data-i="2"],
.orbit:has(.node[data-i="3"]:hover) .lines line[data-i="3"],
.orbit:has(.node[data-i="4"]:hover) .lines line[data-i="4"],
.orbit:has(.node[data-i="5"]:hover) .lines line[data-i="5"] { stroke: var(--accent); stroke-width: 1.6; }
.node .tile { animation: tileIn 900ms var(--ease-out) backwards; }
.node[data-i="0"] .tile { animation-delay: 450ms; }
.node[data-i="1"] .tile { animation-delay: 530ms; }
.node[data-i="2"] .tile { animation-delay: 610ms; }
.node[data-i="3"] .tile { animation-delay: 690ms; }
.node[data-i="4"] .tile { animation-delay: 770ms; }
.node[data-i="5"] .tile { animation-delay: 850ms; }
@keyframes tileIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(56px, 6.5vw, 96px) 0; }
.section-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: 44px; }
.section-row .lead { justify-self: end; }

/* ---------- 2. Услуги ---------- */
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px 28px 32px; display: flex; flex-direction: column; transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 300ms ease; }
.card .art { height: 168px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 16px; }
.card .art img { max-height: 100%; max-width: 100%; width: auto; mix-blend-mode: multiply; transition: transform 600ms var(--ease-out); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.card { isolation: isolate; }
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--ang), transparent 0deg, transparent 250deg, #183B66 290deg, #2B5488 325deg, #6F93C2 355deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 400ms ease;
}
@keyframes snake { to { --ang: 360deg; } }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(24, 59, 102, 0.10); border-color: transparent; background: #F7F9FC; }
  .card:hover::after { opacity: 1; animation: snake 5s linear infinite; }
  .card:hover .art img { transform: translateY(-4px); }
  .card:hover h3 { color: var(--accent); }
}
.card h3 { transition: color 300ms ease; }
.card { transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 300ms ease, background-color 300ms ease; }

/* ---------- 3. Решения ---------- */
.solutions { padding: 0 0 0; }
.solutions-panel { position: relative; margin: 0 var(--gutter); border-radius: 36px; background: var(--dark); color: var(--on-dark); padding: clamp(52px, 6vw, 88px) 0 clamp(48px, 5.5vw, 80px); overflow: hidden; }
.section-row.dark h2 { color: var(--on-dark); }
.section-row.dark .lead { color: var(--on-dark-muted); margin-top: 20px; justify-self: start; }
.car-nav { display: flex; align-items: center; gap: 12px; justify-self: end; }
.car-count { font-variant-numeric: tabular-nums; color: var(--on-dark-muted); font-size: 15px; margin-right: 8px; }
.car-count b { color: var(--on-dark); font-weight: 600; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: var(--on-dark); cursor: pointer; display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out), opacity 200ms ease; }
.car-btn:active { transform: scale(0.94); }
.car-btn:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .car-btn:not(:disabled):hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); } }
.car { position: relative; }
.car-track {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 8px max(var(--gutter), calc((100% - var(--container)) / 2)) 12px; scroll-padding: 0 max(var(--gutter), calc((100% - var(--container)) / 2));
  cursor: grab; outline: none; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track.is-dragging .slide { pointer-events: none; }
.slide { flex: 0 0 min(var(--slide-w, 820px), 80%); scroll-snap-align: start; display: block; color: inherit; }
.browser { position: relative; border-radius: 16px; background: #0F2747; padding: 30px 5px 5px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.browser::before { content: ""; position: absolute; top: 12px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); box-shadow: 14px 0 0 rgba(255, 255, 255, 0.24), 28px 0 0 rgba(255, 255, 255, 0.24); }
.browser img { border-radius: 11px; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.slide-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.pill { display: inline-block; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--on-dark-muted); }
.slide-meta h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 14px 0 8px; color: var(--on-dark); }
.slide-meta p { color: var(--on-dark-muted); font-size: 16px; max-width: 520px; }
.more { flex-shrink: 0; display: inline-flex; gap: 10px; align-items: center; height: 50px; padding: 0 24px; border-radius: 12px; background: #fff; color: var(--text); font-weight: 600; font-size: 15.5px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.slide:active .more { transform: scale(0.97); }
.btn-light { background: #fff; color: var(--text); }
.slide-cta { display: flex; }
.cta-box { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; border-radius: 16px; border: 1px solid var(--dark-border); background: var(--dark-2); padding: clamp(28px, 5vw, 64px); min-height: 100%; }
.cta-mark { width: 64px; height: 64px; }
.cta-box h3 { font-size: clamp(28px, 3.2vw, 42px); color: var(--on-dark); letter-spacing: -0.03em; }
.cta-box p { color: var(--on-dark-muted); max-width: 440px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .slide:hover .browser { transform: translateY(-6px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.1); }
  .slide:hover .more { background: #DCE7F5; }
  .slide-cta:hover .cta-box { border-color: #3B4256; }
  .slide-cta:hover .btn-light { background: #DCE7F5; }
  .slide:hover .more .arrow { transform: translateX(4px); }
}

/* ---------- 4. Отрасли ---------- */
.industries h2 { max-width: 900px; margin-bottom: 40px; }
.acc { display: flex; gap: 14px; height: 520px; }
.acc-item { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: flex-grow 520ms var(--ease-in-out), border-color 300ms ease, box-shadow 500ms var(--ease-out); }
.acc-item.is-open { flex-grow: 4.2; cursor: default; box-shadow: var(--shadow-sm); }
.acc-icon { position: absolute; top: 26px; left: 50%; width: 44px; height: 44px; margin-left: -22px; transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.acc-item.is-open .acc-icon { opacity: 0; transform: scale(0.8); }
.acc-vtitle { position: absolute; left: 50%; bottom: 30px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1; color: #262A33; transition: opacity 300ms ease; }
.acc-item.is-open .acc-vtitle { opacity: 0; }
.acc-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px 40px 40px; min-width: 400px; opacity: 0; transform: translateY(14px); transition: opacity 250ms ease, transform 300ms var(--ease-out); pointer-events: none; }
.acc-item.is-open .acc-content { opacity: 1; transform: none; transition: opacity 400ms ease 180ms, transform 500ms var(--ease-out) 180ms; pointer-events: auto; }
.acc-art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding-bottom: 16px; }
.acc-art img { max-height: 100%; max-width: 100%; mix-blend-mode: multiply; }
.acc-art img.masked { -webkit-mask: radial-gradient(closest-side, #000 72%, transparent); mask: radial-gradient(closest-side, #000 72%, transparent); }
.acc-art img[data-fallback] + svg { display: none; }
.acc-art img.is-missing { display: none; }
.acc-art img.is-missing + svg { display: block; }
.acc-art svg { width: 46%; max-width: 220px; height: auto; }
.acc-content h3 { font-size: 30px; letter-spacing: -0.03em; margin-bottom: 10px; }
.acc-content p { color: var(--muted); font-size: 16.5px; max-width: 440px; }
@media (hover: hover) and (pointer: fine) {
  .acc-item:not(.is-open):hover { border-color: #C9CFDD; }
  .acc-item:not(.is-open):hover .acc-icon { transform: translateY(-3px); }
}
.why { margin: 0 0 48px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.why-item { position: relative; padding-top: 22px; border-top: 1px solid var(--border); }
.why-item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.why.is-in .why-item::before { transform: scaleX(1); }
.why-item b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
.why-item p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- 5. Как работаем ---------- */
.process { padding-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; --x0: 46px; --len: 0px; }
.steps::before, .steps::after { content: ""; position: absolute; left: var(--x0); width: var(--len); top: 46px; height: 1px; }
.steps::before { background: var(--border); }
.steps::after { background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1600ms var(--ease-in-out) 200ms; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.step-tile { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 26px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 14px 36px rgba(24, 59, 102, 0.09); opacity: 0; transform: translateY(12px) scale(0.96); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out), box-shadow 300ms ease; transition-delay: var(--d); }
.step-tile svg { width: 44px; height: 44px; }
.steps.is-in .step-tile { opacity: 1; transform: none; }
.step-num { margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.step b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 4px 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.5; max-width: 190px; }
.steps .pulse { position: absolute; top: 43px; left: var(--x0); width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(24, 59, 102, 0.14); opacity: 0; }
.steps.is-in .pulse { animation: travel 7s var(--ease-in-out) 2s infinite; }
@keyframes travel { 0% { opacity: 0; transform: translateX(0); } 6% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(var(--len)); } }
@media (hover: hover) and (pointer: fine) { .step:hover .step-tile { box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 22px 46px rgba(24, 59, 102, 0.15); transform: translateY(-4px); } }

/* ---------- 6. Контакты ---------- */
.contact { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(40px, 5.4vw, 68px); }
.contact .lead { margin-top: 22px; }
.contacts-list { margin-top: 44px; display: grid; gap: 8px; }
.contacts-list a { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .contacts-list a:hover { background-size: 100% 1.5px; } }
.contacts-list .hours { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.6; }
.form-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); overflow: hidden; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.input { width: 100%; height: 54px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 16px; color: var(--text); background: var(--subtle); caret-color: var(--accent); transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
textarea.input { height: 110px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #8B919C; }
.input:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(24, 59, 102, 0.12); }
.input[aria-invalid="true"] { background: #FEF2F2; border-color: #F87171; }
.err { display: block; font-size: 13px; color: #DC2626; margin-top: 6px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.chips legend { padding: 0; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); font-size: 14.5px; background: #fff; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: #B8BFCD; } }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); line-height: 1.45; margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-card .btn { width: 100%; }
.form-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 14px; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; animation: spin 700ms linear infinite; display: none; }
.is-loading .btn .spinner { display: inline-block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-body { transition: opacity 300ms ease, transform 400ms var(--ease-out); }
.form-card.is-sent .form-body { opacity: 0; transform: scale(0.98); pointer-events: none; }
.form-success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s linear 400ms; }
.form-card.is-sent .form-success { opacity: 1; visibility: visible; transform: none; transition-delay: 200ms, 200ms, 0s; }
.form-success svg { width: 104px; height: 104px; margin-bottom: 24px; }
.form-success .ring { stroke-dasharray: 340; stroke-dashoffset: 340; }
.form-success .tick { stroke-dasharray: 80; stroke-dashoffset: 80; }
.form-card.is-sent .ring { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms var(--ease-out) 300ms; }
.form-card.is-sent .tick { stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease-out) 1000ms; }
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 340px; }
.form-success .demo { margin-top: 16px; font-size: 13px; background: var(--subtle); padding: 8px 12px; border-radius: 10px; }
.form-error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-size: 14px; display: none; }
.form-error.show { display: block; }
.form-error a { text-decoration: underline; }

/* ---------- Подвал ---------- */
.footer { position: relative; background: var(--dark); color: var(--on-dark); padding: 88px 0 32px; overflow: hidden; }
.footer-top img { height: 56px; width: auto; margin-left: -14px; }
.footer-top p { color: var(--on-dark-muted); margin-top: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.footer h4 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a, .footer li span { color: var(--on-dark-muted); font-size: 15.5px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer li a:hover { color: #fff; } }
.footer .btn-outline-light { margin-top: 22px; }
.footer-word { position: relative; margin: 72px 0 0; user-select: none; }
.footer-word span { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 8.2vw, 124px); line-height: 0.9; letter-spacing: -0.03em; text-align: center; white-space: nowrap; }
.footer-word .outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); }
.footer-word .lit { position: absolute; inset: 0; background: linear-gradient(#FFFFFF, #DCE7F5); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-mask: radial-gradient(220px circle at var(--fx, 50%) var(--fy, 50%), #000 0%, transparent 70%); mask: radial-gradient(220px circle at var(--fx, 50%) var(--fy, 50%), #000 0%, transparent 70%); opacity: 0.9; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--dark-border); display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-size: 14px; color: var(--on-dark-muted); }
.footer-bottom .left { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--on-dark-muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .footer-bottom button:hover, .footer-bottom a:hover { color: #fff; } }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 70; width: min(760px, calc(100% - 32px)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px rgba(13, 13, 18, 0.16); padding: 22px 24px; transform: translate(-50%, calc(100% + 40px)); transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1); }
.cookie.show { transform: translate(-50%, 0); }
.cookie p { font-size: 14.5px; line-height: 1.5; color: #374151; }
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
.cookie-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s linear 250ms; }
.cookie-modal.show { visibility: visible; transition: none; }
.cookie-modal .backdrop { position: absolute; inset: 0; background: rgba(11, 12, 16, 0.5); opacity: 0; transition: opacity 250ms ease; }
.cookie-modal.show .backdrop { opacity: 1; }
.cookie-modal .dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 32px; opacity: 0; transform: scale(0.96); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.cookie-modal.show .dialog { opacity: 1; transform: none; }
.cookie-modal h3 { font-size: 24px; margin-bottom: 8px; }
.cookie-modal .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.ck-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.ck-row b { display: block; font-size: 16px; margin-bottom: 4px; }
.ck-row p { font-size: 14px; color: var(--muted); line-height: 1.45; }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #D1D5DB; transition: background-color 200ms ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transition: transform 200ms var(--ease-out); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { background: #9DBEF7; }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dialog .cookie-actions { margin-top: 20px; }

/* ---------- Внутренние страницы ---------- */
.doc-page { padding: 150px 0 100px; }
.doc { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 48px 0 16px; line-height: 1.2; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: #1F2937; }
.doc p + p { margin-top: 12px; }
.doc ol, .doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc .card-info { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin: 20px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.doc th { font-weight: 600; background: var(--subtle); }
.table-scroll { overflow-x: auto; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.doc-toc a { font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--text); }


/* ---------- Страницы проектов ---------- */
.p-hero { padding: 130px 0 40px; }
.back { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; margin-bottom: 36px; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--text); } }
.p-hero .pill.light { display: block; width: fit-content; margin-bottom: 18px; }
.pill.light { border-color: var(--border); color: var(--muted); background: #fff; }
.p-hero h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 960px; }
.p-hero .lead { margin-top: 24px; max-width: 720px; font-size: clamp(18px, 1.5vw, 21px); }
.p-meta { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.p-meta div { padding: 20px 24px 0 0; }
.p-meta div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.p-meta span { display: block; font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.p-meta b { font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.browser.light { background: #E9EBF1; box-shadow: 0 30px 80px rgba(13, 13, 18, 0.10), 0 0 0 1px rgba(13, 13, 18, 0.04); }
.browser.light::before { background: #CDD1DA; box-shadow: 14px 0 0 #CDD1DA, 28px 0 0 #CDD1DA; }
.p-note { margin-top: 20px; font-size: 14px; color: var(--faint); max-width: 720px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 30px; }
.pcard h3 { font-size: 19px; margin-bottom: 10px; }
.pcard h3::before { content: ""; display: block; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); margin-bottom: 18px; }
.pcard p { color: var(--muted); font-size: 15.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px 80px; align-items: start; }
.research { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.research li { padding: 22px 0; border-top: 1px solid var(--border); }
.research li:last-child { border-bottom: 1px solid var(--border); }
.research b { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.research p { color: var(--muted); font-size: 15.5px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--border); }
.timeline::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1px; background: var(--accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform 1600ms var(--ease-in-out) 200ms; }
.timeline.is-in::after { transform: scaleY(1); }
.tl-row { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 24px; align-items: center; padding: 16px 0; }
.tl-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 10px 26px rgba(40,52,110,0.09); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; opacity: 0; transform: scale(0.9); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--d); }
.timeline.is-in .tl-num { opacity: 1; transform: none; }
.tl-main b { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.tl-main p { color: var(--muted); font-size: 15px; }
.tl-time { font-size: 15px; font-weight: 600; color: var(--text); background: var(--subtle); padding: 7px 14px; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.galgrid { display: grid; grid-template-columns: 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; }
.gal figcaption { text-align: center; }
.p-shot .browser { max-width: 1040px; margin: 0 auto; }
.p-note { margin-left: auto; margin-right: auto; text-align: center; }
.gal { margin: 0; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.shot img { width: 100%; height: auto; }
.gal figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.p-gallery { padding-top: 0; }
.p-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; background: var(--dark); color: var(--on-dark); border-radius: 32px; padding: clamp(32px, 5vw, 64px); }
.p-cta h2 { color: var(--on-dark); font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: #D7DAE0; font-size: 16.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(220, 231, 245, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DCE7F5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.p-cta-actions { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 22px; }
.p-cta-actions p { color: var(--on-dark-muted); }
.next-link { color: var(--on-dark); font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.24); padding-bottom: 4px; }
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icard { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px 26px 30px; display: flex; flex-direction: column; align-items: flex-start; transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.icard-ic { width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(13,13,18,0.04), 0 12px 30px rgba(24, 59, 102, 0.10); display: grid; place-items: center; margin-bottom: 26px; }
.icard-ic svg { width: 32px; height: 32px; }
.icard b { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.icard p { color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (hover: hover) and (pointer: fine) { .icard:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.gantt { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px 32px 24px; }
.gantt ol { list-style: none; margin: 0; padding: 0; }
.g-head, .g-row { display: grid; grid-template-columns: minmax(280px, 0.95fr) 1.6fr; gap: 32px; align-items: center; }
.g-head { padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--faint); }
.g-scale { position: relative; height: 18px; }
.g-scale em { position: absolute; right: 0; top: -22px; font-style: normal; }
.g-scale span { position: absolute; top: 0; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.g-scale span:first-of-type { transform: none; }
.g-row { padding: 18px 0; border-bottom: 1px solid #F0F1F5; }
.g-row:last-child { border-bottom: 0; }
.g-info { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.g-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--subtle); font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-info b { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; }
.g-info p { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.g-track { position: relative; height: 40px; border-radius: 10px; background: repeating-linear-gradient(90deg, #EEF1F5 0 1px, transparent 1px 100%) 0 0 / calc(100% / 12) 100%; }
.g-bar { position: absolute; top: 4px; bottom: 4px; left: min(var(--s), calc(100% - max(var(--w), 96px))); width: max(var(--w), 96px); border-radius: 9px; background: linear-gradient(90deg, #183B66, #2B5488); display: flex; align-items: center; padding: 0 12px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease-out); transition-delay: var(--d); }
.g-bar span { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 400ms ease; transition-delay: calc(var(--d) + 500ms); }
.gantt.is-in .g-bar { transform: none; }
.gantt.is-in .g-bar span { opacity: 1; }
.g-total { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.p-sec { padding: clamp(40px, 5vw, 72px) 0; }
@media (max-width: 1100px) {
  .p-meta { grid-template-columns: 1fr 1fr; }
  .p-meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .two-col, .p-cta { grid-template-columns: 1fr; }
  .igrid { grid-template-columns: 1fr 1fr; }
  .g-head, .g-row { grid-template-columns: 1fr; gap: 12px; }
  .g-head > span { display: none; }
}
@media (max-width: 680px) {
  .p-hero { padding-top: 110px; }
  .p-meta { grid-template-columns: 1fr; }
  .p-meta div + div { padding-left: 0; border-left: 0; }
  .pgrid, .igrid { grid-template-columns: 1fr; }
  .gantt { padding: 20px; }
  .tl-row { grid-template-columns: 44px 1fr; }
  .tl-time { grid-column: 2; justify-self: start; }
}

/* ---------- Фирменный приём: фрагмент знака на фоне ---------- */
.solutions-panel::after, .footer::before, .p-cta::before { content: ""; position: absolute; pointer-events: none; background: url("../img/symbol-tone.svg") no-repeat center / contain; }
.solutions-panel::after { right: -6%; bottom: -38%; width: 52%; aspect-ratio: 146 / 150; opacity: 0.9; }
.solutions-panel > .container, .car { position: relative; z-index: 1; }
.footer::before { right: -8%; top: -30%; width: 42%; aspect-ratio: 146 / 150; opacity: 0.8; }
.footer > .container { position: relative; z-index: 1; }
.p-cta { position: relative; overflow: hidden; }
.p-cta::before { right: -10%; bottom: -60%; width: 46%; aspect-ratio: 146 / 150; }
.p-cta > div { position: relative; z-index: 1; }
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -12%; bottom: -30%; width: 44%; max-width: 620px; aspect-ratio: 146 / 150; background: url("../img/symbol-cold.svg") no-repeat center / contain; pointer-events: none; }
.contact > .container { position: relative; z-index: 1; }
/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header .btn-desktop { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; padding: 120px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .orbit { justify-self: center; max-width: 520px; }
  .section-row { grid-template-columns: 1fr; align-items: start; }
  .section-row .lead, .car-nav { justify-self: start; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .acc { flex-direction: column; height: auto; }
  .acc-item, .acc-item.is-open { flex: none; cursor: default; }
  .acc-vtitle { display: none; }
  .acc-icon, .acc-item.is-open .acc-icon { display: block; left: auto; right: 24px; top: 24px; margin: 0; width: 40px; height: 40px; opacity: 1; transform: none; }
  .acc-content h3 { padding-right: 56px; }
  .acc-content { position: relative; opacity: 1; transform: none; min-width: 0; padding: 26px; pointer-events: auto; }
  .acc-art { display: none; }
  .acc-content h3 { font-size: 24px; }
  .why { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .steps::before, .steps::after, .steps .pulse { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { height: 66px; }
  .logo img { height: 40px; margin-left: -10px; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero .lead { margin: 20px 0 28px; }
  .hero-actions .btn { width: 100%; }
  .orbit { --T: 21cqw; }
  .node-label { font-size: 11px; max-width: 96px; top: calc(100% + 6px); }
  .grid-6 { grid-template-columns: 1fr; }
  .card .art { height: 130px; }
  .solutions-panel { margin: 0 10px; border-radius: 26px; }
  .slide { flex-basis: 86%; }
  .slide-meta { flex-direction: column; align-items: flex-start; }
  .car-btn { width: 46px; height: 46px; }
  .why { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .step-tile { width: 76px; height: 76px; border-radius: 22px; }
  .step-tile svg { width: 36px; height: 36px; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
  .cookie { bottom: 12px; padding: 18px; }
  .cookie .btn { flex: 1 1 auto; }
}


/* ---------- Большие экраны: шире контейнер, крупнее типографика ---------- */
@media (min-width: 1600px) {
  :root { --container: 1400px; --slide-w: 920px; }
  body { font-size: 18px; }
  .hero h1 { font-size: 80px; }
  .orbit { max-width: 660px; }
  h2 { font-size: 58px; }
  .lead { font-size: 20px; max-width: 620px; }
  .card .art { height: 190px; }
  .acc { height: 580px; }
}
@media (min-width: 1920px) {
  :root { --container: 1580px; --slide-w: 1040px; }
  .hero h1 { font-size: 90px; }
  .hero .lead { font-size: 24px; }
  .orbit { max-width: 740px; }
  h2 { font-size: 64px; }
  .section { padding: 104px 0; }
  .grid-6 { gap: 28px; }
  .card { padding: 32px 32px 36px; }
  .card h3 { font-size: 23px; }
  .card p { font-size: 16.5px; }
  .card .art { height: 210px; }
  .acc { height: 640px; }
  .step-tile { width: 104px; height: 104px; }
  .steps::before, .steps::after { top: 52px; }
  .steps .pulse { top: 49px; }
  .btn { height: 58px; padding: 0 30px; font-size: 17px; }
}
@media (min-width: 2400px) {
  :root { --container: 1800px; --slide-w: 1200px; }
  body { font-size: 19px; }
  .hero h1 { font-size: 104px; }
  .orbit { max-width: 840px; }
  h2 { font-size: 72px; }
  .lead { font-size: 22px; max-width: 700px; }
  .logo img { height: 56px; }
  .nav { gap: 44px; }
  .nav a { font-size: 17px; }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { transform: none; transition: opacity 400ms ease; }
  .split .w > span { transform: none; transition: none; }
  .hero-intro { animation: none !important; opacity: 1; transform: none; }
  .orbit-rot, .node-inner, .core, .orbit-glow { animation: none !important; }
  .acc-item { transition: none; }
  .step-tile { transition: opacity 400ms ease; transform: none; }
}
.cta-mark { stroke: #DCE7F5; }

/* ---------- Компактная форма: целиком помещается на экране ---------- */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { padding: clamp(22px, 2.6vw, 34px); }
.form-card .field { margin-bottom: 14px; }
.form-card .field label { font-size: 14px; margin-bottom: 6px; }
.form-card .input { height: 48px; font-size: 15.5px; }
.form-card textarea.input { height: 84px; padding: 12px 16px; }
.form-card .chips { margin-bottom: 14px; gap: 6px; }
.form-card .chips legend { font-size: 14px; margin-bottom: 6px; }
.form-card .chip span { padding: 7px 13px; font-size: 14px; }
.form-card .consent { margin: 4px 0 16px; font-size: 13.5px; }
.form-card .btn { height: 50px; }
.form-card .form-note { margin-top: 10px; }
.contact-grid { align-items: center; }
@media (max-width: 680px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Кнопка на синем фоне страниц проектов */
.p-cta .btn-primary { background: #FFFFFF; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .p-cta .btn-primary:hover { background: var(--cold); } }
