/* P2 «Кабина»: приборная панель. Палитра и размеры только через переменные :root. */

@font-face { font-family: "Geologica"; src: url("../shared/fonts/geologica.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../shared/fonts/golos-text.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  /* цвета */
  --c-bg: #0D1622;          /* графит приборной панели */
  --c-panel: #132133;       /* панель */
  --c-panel-2: #1A2A3E;     /* корпус блоков */
  --c-screen: #08111B;      /* стекло дисплея */
  --c-line: #2A3B52;        /* линии */
  --c-line-2: #3A5170;
  --c-ins: #2FB9EB;         /* приборы: голубой логотипа */
  --c-warn: #F9C525;        /* внимание и главная кнопка */
  --c-warn-ink: #14202E;
  --c-warn-deep: #8A6A06;
  --c-ink: #E6EEF6;
  --c-muted: #9EB0C5;
  --c-dim: #7D91AB;
  --c-err: #FF9A8B;
  --c-card: #DCE4EC;        /* ламинированная карта чек-листа */
  --c-card-ink: #0D1622;
  --c-card-muted: #44556B;
  --c-key-top: #1C2D43;
  --c-key-bot: #142236;
  --c-key-edge: #060C14;

  /* шрифты */
  --f-disp: "Geologica", "Golos Text", system-ui, sans-serif;
  --f-text: "Golos Text", system-ui, sans-serif;
  --w-disp: 500;
  --st-disp: 84%;           /* ось ширины Tektur для заголовков */
  --st-label: 90%;

  /* шкала размеров (шаг ~1.25) */
  --t-xs: 12px;
  --t-s: 14px;
  --t-b: 17px;
  --t-m: 20px;
  --t-h3: clamp(22px, 1.2vw + 14px, 30px);
  --t-h2-own: clamp(32px, 3.2vw + 12px, 58px);
  --t-h1-own: clamp(40px, 4.4vw + 10px, 76px);

  /* отступы */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 96px;
  --section: clamp(72px, 7vw, 112px);
  --pad: clamp(16px, 4vw, 48px);
  --container: 1200px;
  --gutter: 32px;
  --edge: max(var(--pad), calc((100vw - var(--container)) / 2));
  --hdr: 72px;

  /* радиусы, тени */
  --r-s: 3px; --r-m: 6px; --r-l: 12px; --r-xl: 18px;
  --sh-key: 0 3px 0 var(--c-key-edge), inset 0 1px 0 rgba(230, 238, 246, 0.07);
  --sh-key-down: 0 1px 0 var(--c-key-edge), inset 0 1px 0 rgba(230, 238, 246, 0.04);
  --sh-unit: 0 40px 80px -40px rgba(3, 8, 14, 0.9), inset 0 1px 0 rgba(230, 238, 246, 0.06);
  --glow: 0 0 14px rgba(47, 185, 235, 0.55);

  /* движение */
  --e-out: cubic-bezier(0.23, 1, 0.32, 1);
  --e-io: cubic-bezier(0.77, 0, 0.175, 1);
  --d-press: 120ms;
  --d-ui: 220ms;

  /* имена токенов, которые читает сцена из kit (descend-through-weather) */
  --bg: var(--c-bg);
  --ink: var(--c-ink);
  --surface: var(--c-panel);
  --muted: var(--c-muted);
  --line: var(--c-line);
  --font-display: var(--f-disp);
  --display-weight: var(--w-disp);
  --display-tracking: -0.01em;
  --t-h1: var(--t-h1-own);
  --t-h2: var(--t-h2-own);
  --t-lead: clamp(17px, 0.5vw + 14px, 20px);
  --r-lg: var(--r-l);
  --nav: var(--hdr);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 var(--t-b)/1.6 var(--f-text); overflow-x: clip; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-ins); color: var(--c-bg); }
:focus-visible { outline: 2px solid var(--c-warn); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s-4); top: var(--s-3); z-index: 100; padding: 12px 16px; background: var(--c-warn); color: var(--c-warn-ink); font: 600 var(--t-s) var(--f-disp); border-radius: var(--r-s); transform: translateY(-160%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.sect { padding-block: var(--section); scroll-margin-top: var(--hdr); }
.h2 { font: var(--w-disp) var(--t-h2-own)/1.02 var(--f-disp); font-stretch: var(--st-disp); letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.h3 { font: var(--w-disp) var(--t-h3)/1.12 var(--f-disp); font-stretch: var(--st-disp); }
.need { font-family: var(--f-text); font-weight: 500; font-stretch: 100%; text-transform: none; letter-spacing: 0; border-bottom: 1px dashed var(--c-warn); background: rgba(249, 197, 37, 0.12); padding: 0 4px; border-radius: 2px; color: inherit; }

/* ---------- клавиши: физические кнопки панели */
.key {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: 0 18px; border: 1px solid var(--c-line); border-radius: var(--r-s);
  background: linear-gradient(var(--c-key-top), var(--c-key-bot)); color: var(--c-ink); box-shadow: var(--sh-key);
  font: 600 15px/1 var(--f-disp); font-stretch: var(--st-label); letter-spacing: 0.03em; text-decoration: none; cursor: pointer;
  transition: transform var(--d-press) var(--e-out), box-shadow var(--d-press) var(--e-out), border-color var(--d-ui) ease;
}
.key:active { transform: translateY(2px); box-shadow: var(--sh-key-down); }
.key--warn { background: var(--c-warn); color: var(--c-warn-ink); border-color: #E2B21A; box-shadow: 0 3px 0 var(--c-warn-deep), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.key--warn:active { box-shadow: 0 1px 0 var(--c-warn-deep); }
.key--lg { min-height: 56px; padding: 0 28px; font-size: var(--t-b); }
@media (hover: hover) and (pointer: fine) {
  .key:hover { border-color: var(--c-line-2); transform: translateY(-1px); }
  .key--warn:hover { border-color: #FFE07A; }
  .key:active { transform: translateY(2px); }
}

/* ---------- шапка */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: var(--s-6); padding-inline: var(--edge); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 168px; height: auto; }
.hdr__nav { display: flex; gap: var(--s-5); margin-right: auto; }
.hdr__nav a, .menu__nav a { font: 500 var(--t-s)/1 var(--f-disp); font-stretch: var(--st-label); letter-spacing: 0.03em; color: var(--c-muted); text-decoration: none; padding: 14px 0; background: linear-gradient(var(--c-ins), var(--c-ins)) 0 100% / 0 1px no-repeat; transition: background-size var(--d-ui) var(--e-out), color var(--d-ui) ease; }
.hdr__nav a:hover { color: var(--c-ink); background-size: 100% 1px; }
.hdr__end { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.lang { display: flex; padding: 3px; background: var(--c-screen); border: 1px solid var(--c-line); border-radius: var(--r-s); }
.lang button { min-width: 40px; min-height: 38px; border: 0; background: none; color: var(--c-dim); font: 600 var(--t-xs)/1 var(--f-disp); letter-spacing: 0.08em; cursor: pointer; border-radius: 2px; position: relative; }
.lang button[aria-pressed="true"] { color: var(--c-ins); background: var(--c-panel); }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--c-ins); box-shadow: var(--glow); }
.lang button:hover { color: var(--c-ink); }
.hdr__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: var(--r-s); background: var(--c-panel); cursor: pointer; }
.hdr__burger path { fill: none; stroke: var(--c-ink); stroke-width: 1.8; stroke-linecap: round; }
.alti-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; display: none; }
.alti-bar i { position: absolute; inset: 0; background: var(--c-ins); transform-origin: 0 50%; transform: scaleX(0); box-shadow: var(--glow); }

.menu { position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--c-bg); padding: var(--s-6) var(--pad); display: none; flex-direction: column; gap: var(--s-5); overflow-y: auto; }
.menu[data-open] { display: flex; }
.menu__nav { display: grid; }
.menu__nav a { font-size: var(--t-m); color: var(--c-ink); padding: 14px 0; border-bottom: 1px solid var(--c-line); background: none; }
.menu__cta { align-self: stretch; min-height: 56px; }
.menu__tel { font: 600 var(--t-m) var(--f-disp); color: var(--c-ins); text-decoration: none; padding: 10px 0; }
.menu-open body { overflow: hidden; }

@media (max-width: 1179px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-flex; }
}
@media (max-width: 639px) {
  :root { --hdr: 64px; }
  .hdr__cta { display: none; }
  .hdr__logo img { width: 128px; }
  .hdr__in { gap: var(--s-3); }
  .lang button { min-width: 36px; min-height: 40px; }
}

/* ---------- высотомер */
.alti { position: fixed; right: max(20px, calc((100vw - var(--container)) / 2 - 104px)); top: 50%; z-index: 40; width: 52px; height: min(56vh, 500px); transform: translateY(-50%); display: none; }
.alti__win { position: absolute; inset: 0; overflow: hidden; border-left: 1px solid #3A5170; background: rgba(13, 22, 34, 0.55); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.alti__strip { position: absolute; left: 0; right: 0; top: 50%; will-change: transform; }
.alti__strip svg { overflow: visible; }
.alti__strip path { fill: none; stroke: #5C7697; stroke-width: 1; }
.alti__strip text { fill: var(--c-muted); font: 500 10px var(--f-disp); font-variant-numeric: tabular-nums; }
.alti__box { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 78px; padding: 6px 8px 6px; background: var(--c-bg); border: 1px solid var(--c-ins); border-radius: 2px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; line-height: 1; gap: 4px 4px; pointer-events: none; z-index: 2; }
.alti__phase { grid-column: 1 / -1; font: 500 9px var(--f-disp); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; overflow: hidden; }
.alti__num { white-space: nowrap; font: 600 15px var(--f-disp); font-variant-numeric: tabular-nums; color: var(--c-ink); text-align: right; }
.alti__unit { font: 500 9px var(--f-disp); color: var(--c-ins); }
.alti__marks { list-style: none; padding: 0; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.alti__marks li { position: absolute; right: 100%; top: 50%; height: 0; }
.alti__marks a { position: absolute; right: -8px; top: -12px; height: 24px; display: flex; align-items: center; gap: 10px; padding-right: 12px; text-decoration: none; pointer-events: auto; white-space: nowrap; }
.alti__marks a::after { content: ""; width: 0; height: 0; border-block: 5px solid transparent; border-left: 7px solid var(--c-ins); position: absolute; right: 2px; }
.alti__marks a span { font: 500 var(--t-xs)/1 var(--f-disp); color: var(--c-ink); background: var(--c-bg); padding: 5px 8px; border: 1px solid var(--c-line); border-radius: 2px; opacity: 0; transform: translateX(6px); transition: opacity var(--d-ui) var(--e-out), transform var(--d-ui) var(--e-out); }
.alti:hover .alti__marks a span, .alti:focus-within .alti__marks a span { opacity: 1; transform: none; }
.alti__marks a:hover span, .alti__marks a:focus-visible span { border-color: var(--c-ins); color: var(--c-ins); }
.alti__marks li.is-out a { visibility: hidden; }
@media (min-width: 1280px) { .js .alti { display: block; } }
@media (max-width: 1279px) { .js .alti-bar { display: block; } }

/* ---------- 1. первый экран, HUD */
.hero { position: relative; min-height: 100svh; min-height: 100dvh; padding-top: var(--hdr); overflow: hidden; background: var(--c-bg); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; filter: grayscale(1) brightness(0.5) contrast(1.2); transform: scale(1.04); will-change: transform; }
.hero__tint { position: absolute; inset: 0; background: #164A7C; mix-blend-mode: color; }
.hero__tint::after { content: ""; position: absolute; inset: 0; background: var(--c-bg); opacity: 0.22; }
.hud { position: absolute; left: 0; right: 0; top: var(--hdr); bottom: 0; width: 100%; height: calc(100% - var(--hdr)); }
.hud { filter: drop-shadow(0 0 1.5px rgba(4, 10, 18, 0.7)); }
.hud__l { fill: none; stroke: #45C6F2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hud__neg { stroke-dasharray: 9 7; }
.hud__ptr { fill: none; }
.hud text { fill: var(--c-ins); font: 500 16px var(--f-disp); font-variant-numeric: tabular-nums; }
.hud__hdg { will-change: transform; }
@media (min-width: 900px) { .hud { left: 15vw; width: 100vw; } }
.hero__panel { position: absolute; left: var(--edge); bottom: clamp(24px, 5vh, 56px); width: min(640px, 52vw); padding: var(--s-6); background: var(--c-bg); display: grid; gap: var(--s-5); }
.hero__panel::before, .hero__panel::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--c-ins); }
.hero__panel::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hero__panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hero__title { font: var(--w-disp) var(--t-h1-own)/0.98 var(--f-disp); font-stretch: 80%; letter-spacing: -0.015em; text-wrap: balance; }
.hero__lead { font-size: var(--t-lead); color: var(--c-muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; }
  .hero__media { position: relative; inset: auto; flex: 1 1 auto; min-height: 46svh; }
  .hud { top: 0; height: 100%; }
  .hero__panel { position: relative; left: auto; bottom: auto; width: auto; padding: var(--s-6) var(--pad) var(--s-6); }
  .hero__panel::before, .hero__panel::after { display: none; }
}
@media (max-width: 519px) {
  .hero__actions .key { flex: 1 1 100%; }
}

/* ---------- 2. о компании: сцена kit, только подстройка размеров под длинный заголовок */
.about { scroll-margin-top: 0; --p-ink: var(--c-bg); }
.about .wx__title { font-stretch: var(--st-disp); text-wrap: balance; }
.about .wx__tagline { color: var(--c-muted); }
.about .wx__note { font-stretch: var(--st-disp); }
.about .wx__statement { font-family: var(--f-disp); font-stretch: var(--st-disp); }
.about.is-live .wx__title { font-size: clamp(34px, 3.2vw, 54px); line-height: 1.04; align-self: start; }
.about.is-live .wx__hero { grid-template-rows: auto auto 1fr; row-gap: var(--s-4); }
.about.is-live .wx__tagline { font-size: var(--t-b); }
.about.is-live .wx__tagline--2 { grid-column: 2; }
.about:not(.is-live) .wx__title { font-size: var(--t-h2-own); }

/* ---------- 3. услуги: FCU и дисплей */
.services .h2 { margin-bottom: var(--s-6); }
.fcu { position: relative; display: inline-flex; gap: var(--s-3); padding: 14px; background: linear-gradient(#17283D, var(--c-panel)); border: 1px solid var(--c-line); border-radius: var(--r-m); box-shadow: var(--sh-unit); }
.fcu__key {
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; min-width: 168px; min-height: 64px; padding: 18px 18px 12px;
  border: 1px solid var(--c-line); border-radius: var(--r-s); background: linear-gradient(var(--c-key-top), var(--c-key-bot)); box-shadow: var(--sh-key);
  font: 600 var(--t-b)/1.1 var(--f-disp); font-stretch: var(--st-label); text-align: left; cursor: pointer; color: var(--c-muted);
  transition: transform var(--d-press) var(--e-out), box-shadow var(--d-press) var(--e-out), color var(--d-ui) ease;
}
.fcu__key:active { transform: translateY(2px); box-shadow: var(--sh-key-down); }
.fcu__key[aria-selected="true"] { color: var(--c-ink); }
.fcu__led { position: absolute; left: 14px; right: 14px; top: 7px; height: 3px; border-radius: 2px; background: #22344B; }
.fcu__led::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--c-ins); box-shadow: var(--glow); opacity: 0; transition: opacity 160ms ease; }
.fcu__key[aria-selected="true"] .fcu__led::after { opacity: 1; }
.fcu__n { font-size: var(--t-xs); color: var(--c-dim); font-variant-numeric: tabular-nums; }
.fcu__frame { position: absolute; inset: -6px; border: 1px solid var(--c-ins); border-radius: 5px; pointer-events: none; display: none; }
.js .fcu__key .fcu__frame { display: block; }
@media (hover: hover) and (pointer: fine) { .fcu__key:hover { color: var(--c-ink); } }

.dsp { margin-top: var(--s-5); padding: 10px; background: var(--c-screen); border: 1px solid var(--c-line); border-radius: var(--r-l); box-shadow: var(--sh-unit); }
.dsp__panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.dsp__panel + .dsp__panel { margin-top: 10px; }
.js .dsp { display: grid; }
.js .dsp__panel { grid-area: 1 / 1; margin: 0; }
.js .dsp__panel:not(.is-on) { visibility: hidden; opacity: 0; pointer-events: none; }
.dsp__photo { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 16 / 11; background: var(--c-panel); }
.dsp__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--e-out); }
@media (hover: hover) and (pointer: fine) { .dsp__photo:hover img { transform: scale(1.03); } }
.dsp__text { padding: var(--s-5) var(--s-6) var(--s-5) 0; display: grid; gap: var(--s-4); align-content: center; }
.dsp__text p { color: var(--c-muted); max-width: 46ch; }
.dsp__map { width: 100%; max-width: 320px; height: auto; margin-bottom: var(--s-3); overflow: visible; }
.dsp__base { stroke: var(--c-line); stroke-width: 1; fill: none; }
.dsp__route { fill: none; stroke: var(--c-ins); stroke-width: 1.6; stroke-linecap: round; }
.dsp__route--back { stroke: var(--c-dim); stroke-dasharray: 5 6; }
.dsp__ticks { stroke: var(--c-line-2); stroke-width: 1.2; fill: none; }
.dsp__pt { fill: var(--c-ins); }
.dsp__pt--b { fill: var(--c-ink); }
.dsp__pt--s { fill: var(--c-bg); stroke: var(--c-ins); stroke-width: 1.6; }
.dsp__map text { fill: var(--c-muted); font: 500 12px var(--f-disp); letter-spacing: 0.06em; }
@media (max-width: 899px) {
  .dsp__panel { grid-template-columns: 1fr; gap: 0; }
  .dsp__text { padding: var(--s-5) var(--s-3) var(--s-4); }
}
@media (max-width: 639px) {
  .fcu { display: flex; width: 100%; padding: 10px; gap: 8px; }
  .fcu__key { flex: 1 1 0; min-width: 0; grid-template-columns: 1fr; padding: 18px 8px 10px; font-size: var(--t-s); text-align: center; }
  .fcu__n { display: none; }
}

/* ---------- 4. флот: схема салона */
.fleet { padding-top: 0; }
.fleet__pin { min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--hdr) + var(--s-5)) 0 var(--s-5); background: var(--c-bg); }
.fleet__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: var(--s-6); }
.fleet__head .h2 { max-width: none; white-space: nowrap; }
.fleet__lead { color: var(--c-muted); max-width: 44ch; }
.fleet__count { display: grid; justify-items: end; text-align: right; color: var(--c-muted); font: 500 var(--t-s)/1.2 var(--f-disp); }
.fleet__num { font: 600 clamp(36px, 3.4vw, 52px)/1 var(--f-disp); color: var(--c-ins); font-variant-numeric: tabular-nums; }
.fleet__stage { position: relative; flex: 1 1 auto; min-height: 440px; width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin: var(--s-4) auto 0; padding-inline: var(--pad); }
.fleet__plane { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 775.4 / 740; height: 100%; max-width: 62%; }
.plane { width: 100%; height: 100%; overflow: visible; }
.plane__body { fill: var(--c-panel); stroke: #4A6584; stroke-width: 1.2; }
.plane__wing { fill: rgba(47, 185, 235, 0.06); stroke: #4A6584; stroke-width: 1.2; stroke-linejoin: round; }
.plane__nacelle { fill: rgba(47, 185, 235, 0.12); stroke: #5C7A9C; stroke-width: 1.2; }
.plane__detail { fill: none; stroke: #2E4560; stroke-width: 1; }
.plane__glass { fill: var(--c-ins); opacity: 0.55; }
.plane__fin { fill: rgba(158, 176, 197, 0.35); stroke: #4A6584; stroke-width: 1; }
.plane__seats rect { fill: var(--c-ins); }
.plane__row { opacity: 1; }
.fleet__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fleet__lines path { fill: none; stroke: var(--c-ins); stroke-width: 1.2; }
.fleet__lines circle { fill: var(--c-bg); stroke: var(--c-ins); stroke-width: 1.5; }
.co { position: absolute; width: min(280px, 22%); display: grid; gap: 6px; }
.co dt { font: 500 var(--t-s)/1.2 var(--f-disp); font-stretch: var(--st-label); color: var(--c-muted); letter-spacing: 0.03em; }
.co dd { display: grid; gap: 8px; }
.co__val { font: 600 clamp(26px, 2.4vw, 38px)/1.05 var(--f-disp); font-stretch: var(--st-disp); color: var(--c-ink); font-variant-numeric: tabular-nums; }
.co__val .need { font-size: 0.56em; vertical-align: 0.2em; }
.co__note { font-size: var(--t-s); line-height: 1.5; color: var(--c-muted); }
.co__note--lead { font-size: var(--t-b); color: var(--c-ink); }
.co--l1 { left: var(--pad); top: 2%; }
.co--l2 { left: var(--pad); bottom: 4%; }
.co--r1 { right: var(--pad); top: 10%; }
.co--r2 { right: var(--pad); bottom: 8%; }
.fleet__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: var(--s-4); }
.fleet__specs { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
.fleet__specs div { display: flex; gap: var(--s-3); align-items: baseline; }
.fleet__specs dt { font: 500 var(--t-s) var(--f-disp); color: var(--c-muted); }
.fleet__specs dd { font: 600 var(--t-b) var(--f-disp); }
.fleet__caption { font-size: var(--t-s); color: var(--c-dim); max-width: 60ch; }
.fleet__photo figure { margin-top: var(--s-7); }
.fleet__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-m); }
.fleet__photo figcaption { margin-top: var(--s-3); font-size: var(--t-s); color: var(--c-dim); max-width: 70ch; }
@media (max-width: 1023px) {
  .fleet__pin { min-height: 0; padding-top: var(--section); }
  .fleet__head { grid-template-columns: 1fr; gap: var(--s-4); }
  .fleet__count { justify-items: start; text-align: left; }
  .fleet__stage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); min-height: 0; }
  .fleet__plane { position: relative; left: auto; transform: none; grid-column: 1 / -1; height: auto; width: min(100%, 560px); max-width: none; justify-self: center; }
  .co { position: static; width: auto; }
  .fleet__lines { display: none; }
}
@media (max-width: 519px) { .fleet__stage { grid-template-columns: 1fr; } }

/* ---------- 5. преимущества: ECAM */
.ecam-s .h2 { margin-bottom: var(--s-6); }
.ecam { box-shadow: 0 0 0 10px var(--c-panel-2), 0 0 0 11px var(--c-line), var(--sh-unit); margin: 11px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--c-line); border-radius: var(--r-s); overflow: hidden; }
.ecam__cell { position: relative; background: var(--c-screen); padding: var(--s-6); display: grid; align-content: start; gap: var(--s-4); min-height: 280px; }
.ecam__cell--1 { grid-column: span 7; }
.ecam__cell--2 { grid-column: span 5; }
.ecam__cell--3 { grid-column: span 5; }
.ecam__cell--4 { grid-column: span 7; }
.ecam__cell::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c-ins); box-shadow: var(--glow); transform-origin: 0 50%; }
.ecam__cell p { color: var(--c-muted); max-width: 52ch; }
.ecam__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.lamp { position: relative; width: 52px; height: 16px; border-radius: 2px; background: #111D2C; border: 1px solid var(--c-line); }
.lamp::after { content: ""; position: absolute; inset: 2px; border-radius: 1px; background: var(--c-ins); box-shadow: var(--glow); }
.ecam__icon { height: 44px; width: auto; overflow: visible; }
.ecam__icon path, .ecam__icon circle { fill: none; stroke: var(--c-ins); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ecam__icon text { fill: var(--c-ins); font: 600 26px var(--f-disp); letter-spacing: 0.06em; }
/* лампы гаснут до проверки (класс ставит скрипт) */
.ecam__cell::before { transition: transform 420ms var(--e-out); }
.lamp::after, .ecam__icon, .ecam__cell .h3 { transition: opacity 160ms ease; }
.ecam__cell.is-dim::before { transform: scaleX(0); }
.ecam__cell.is-dim .lamp::after { opacity: 0; }
.ecam__cell.is-dim .ecam__icon { opacity: 0.28; }
.ecam__cell.is-dim .h3 { opacity: 0.55; }
.ecam.is-test .ecam__cell .lamp::after { opacity: 1; transition: none; }
@media (max-width: 899px) {
  .ecam__cell { grid-column: 1 / -1 !important; min-height: 0; padding: var(--s-5); }
}

/* ---------- 6. процесс: карта контрольной проверки */
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: start; }
.process__head { position: sticky; top: calc(var(--hdr) + var(--s-6)); display: grid; gap: var(--s-6); }
.process__photo { border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; max-width: 440px; }
.process__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--e-out); }
@media (hover: hover) and (pointer: fine) { .process__photo:hover img { transform: scale(1.03); } }
.card { list-style: none; position: relative; padding: var(--s-6) var(--s-6) var(--s-5); background: var(--c-card); color: var(--c-card-ink); border-radius: 10px; box-shadow: 0 40px 70px -40px rgba(1, 5, 10, 0.95); }
.card::before { content: ""; position: absolute; top: 18px; right: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-bg); box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.5); }
.card__item { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid rgba(13, 22, 34, 0.14); }
.card__item:last-child { border-bottom: 0; }
.card__box { width: 26px; height: 26px; border: 1.5px solid var(--c-card-ink); border-radius: 3px; margin-top: 1px; }
.card__box svg { width: 100%; height: 100%; }
.card__box path { fill: none; stroke: var(--c-card-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.card__line { display: flex; align-items: baseline; gap: 10px; font: 600 var(--t-m)/1.2 var(--f-disp); font-stretch: var(--st-label); text-transform: uppercase; letter-spacing: 0.04em; min-width: 0; }
.card__n { font-variant-numeric: tabular-nums; color: var(--c-card-muted); }
.card__dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted rgba(13, 22, 34, 0.4); transform: translateY(-5px); }
.card__state { text-align: right; }
.card__text { grid-column: 2; margin-top: 6px; color: var(--c-card-muted); font-size: 16px; }
@media (max-width: 899px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .process__photo { display: none; }
  .card { padding: var(--s-5) var(--s-4); }
  .card__line { font-size: var(--t-b); flex-wrap: wrap; }
}

/* ---------- 7. документы: табличка */
.plate { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: var(--s-7); padding: var(--s-7); background: linear-gradient(170deg, #17293F, var(--c-panel)); border: 1px solid var(--c-line); border-radius: 10px; box-shadow: var(--sh-unit); }
.plate__screw { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4B6382, #22334A); }
.plate__screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: #111C2A; transform: rotate(35deg); }
.plate__screw:nth-child(1) { left: 16px; top: 16px; }
.plate__screw:nth-child(2) { right: 16px; top: 16px; }
.plate__screw:nth-child(3) { left: 16px; bottom: 16px; }
.plate__screw:nth-child(4) { right: 16px; bottom: 16px; }
.plate__text { display: grid; gap: var(--s-5); align-content: start; }
.plate__status { display: flex; align-items: center; gap: var(--s-3); padding: 14px 18px; border: 1px solid rgba(249, 197, 37, 0.45); border-radius: var(--r-s); background: rgba(249, 197, 37, 0.06); font: 500 var(--t-b)/1.3 var(--f-disp); font-stretch: var(--st-label); width: fit-content; }
.plate__lamp { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c-warn); box-shadow: 0 0 12px rgba(249, 197, 37, 0.8); animation: blink 2.6s ease-in-out infinite; }
@keyframes blink { 0%, 55%, 100% { opacity: 1; } 70%, 90% { opacity: 0.2; } }
.plate__body { color: var(--c-muted); max-width: 52ch; }
.plate__scan { aspect-ratio: 210 / 297; border: 1.5px dashed var(--c-line-2); border-radius: var(--r-s); display: grid; place-items: center; padding: var(--s-5); text-align: center; background: rgba(8, 17, 27, 0.5); }
.plate__scan p { font: 500 var(--t-s)/1.4 var(--f-disp); color: var(--c-muted); }
@media (max-width: 899px) {
  .plate { grid-template-columns: 1fr; padding: var(--s-6) var(--s-5); gap: var(--s-6); }
  .plate__scan { max-width: 260px; }
  .plate__status { width: auto; }
}

/* ---------- 8. форма: MCDU */
.quote__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); align-items: start; }
.quote__head { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--hdr) + var(--s-6)); }
.quote__lead { color: var(--c-muted); }
.quote__tel a { font: 600 var(--t-m) var(--f-disp); color: var(--c-ins); text-decoration: none; }
.mcdu { padding: 16px; background: linear-gradient(#1D2D42, var(--c-panel-2)); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--sh-unit); }
.mcdu__screen { padding: var(--s-5) var(--s-6) var(--s-6); background: var(--c-screen); border: 1px solid #050A10; border-radius: 8px; box-shadow: inset 0 0 50px rgba(47, 185, 235, 0.05); }
.mcdu__title { text-align: center; font: 600 var(--t-s)/1 var(--f-disp); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ins); padding-bottom: var(--s-4); margin-bottom: var(--s-5); border-bottom: 1px solid var(--c-line); }
.mcdu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
.field { display: grid; gap: 6px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font: 500 var(--t-s)/1.3 var(--f-disp); font-stretch: var(--st-label); letter-spacing: 0.03em; color: var(--c-ins); }
.field__opt { color: var(--c-dim); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 2px; background: transparent; border: 0; border-bottom: 1px solid #2F4460; border-radius: 0; color: var(--c-ink); font: 500 var(--t-m)/1.3 var(--f-disp); caret-color: var(--c-warn); transition: border-color var(--d-ui) ease; }
.field textarea { resize: vertical; min-height: 76px; }
.field input::placeholder, .field textarea::placeholder { color: #6E839E; font: 400 var(--t-b)/1.3 var(--f-text); }
.field input:hover, .field textarea:hover { border-bottom-color: var(--c-line-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--c-warn); outline-offset: 4px; border-bottom-color: var(--c-ins); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--c-err); }
.field__err { font-size: var(--t-s); color: var(--c-err); }
.field__hint { font-size: 13px; color: var(--c-dim); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mcdu__pad { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px dashed var(--c-line); display: grid; gap: 6px; }
.mcdu__pad-label { font: 500 var(--t-xs) var(--f-disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-dim); }
.mcdu__pad-line { font: 500 var(--t-b)/1.4 var(--f-disp); color: var(--c-ink); min-height: 1.4em; word-break: break-word; }
.mcdu__pad-line .sep { color: var(--c-ins); padding-inline: 8px; }
.mcdu__pad-line .boxes { display: inline-flex; gap: 2px; vertical-align: -2px; }
.mcdu__pad-line .boxes i { width: 9px; height: 14px; border: 1.5px solid var(--c-warn); }
.mcdu__summary { margin-top: var(--s-4); color: var(--c-err); font-weight: 500; }
.mcdu__keys { margin-top: var(--s-5); }
.mcdu__submit[disabled] { opacity: 0.7; cursor: progress; }
.mcdu__consent { margin-top: var(--s-4); font-size: 13px; line-height: 1.5; color: var(--c-dim); }
.mcdu__consent a { color: var(--c-muted); }
.mcdu__ok { padding: var(--s-7) 0; display: grid; gap: var(--s-4); justify-items: start; }
.mcdu__ok .h3 { color: var(--c-ins); }
.mcdu__ok p { color: var(--c-muted); }
@media (max-width: 1023px) {
  .quote__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .quote__head { position: static; }
}
@media (max-width: 639px) {
  .mcdu { padding: 8px; border-radius: var(--r-l); }
  .mcdu__screen { padding: var(--s-4); }
  .mcdu__grid { grid-template-columns: 1fr; }
  .mcdu__submit { width: 100%; }
}

/* ---------- 9. контакты, политика, подвал */
.contacts .h2 { margin-bottom: var(--s-6); }
.contacts__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-7); border-top: 1px solid var(--c-line); padding-top: var(--s-6); }
.contacts__list dt { font: 500 var(--t-s) var(--f-disp); color: var(--c-muted); margin-bottom: var(--s-2); }
.contacts__list dd { color: var(--c-ink); }
.contacts__big dd a { font: 600 clamp(24px, 2.6vw, 40px)/1.15 var(--f-disp); font-stretch: var(--st-disp); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--c-ins), var(--c-ins)) 0 100% / 0 2px no-repeat; transition: background-size var(--d-ui) var(--e-out); }
.contacts__big dd a:hover { background-size: 100% 2px; }
@media (max-width: 639px) { .contacts__list { grid-template-columns: 1fr; } }
.privacy { border-top: 1px solid var(--c-line); padding-block: var(--s-7); }
.privacy__in { display: grid; gap: var(--s-4); }
.privacy p { color: var(--c-muted); max-width: 70ch; }
.ftr { border-top: 1px solid var(--c-line); padding-block: var(--s-6); background: var(--c-screen); font-size: var(--t-s); color: var(--c-muted); }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-6); }
.ftr__brand { display: grid; gap: var(--s-4); align-content: start; }
.ftr__brand img { width: 150px; }
.ftr__nav, .ftr__legal { display: grid; gap: 2px; align-content: start; }
.ftr a { text-decoration: none; padding: 5px 0; }
@media (max-width: 767px) { .ftr a { padding: 11px 0; } }
.ftr a:hover { color: var(--c-ink); }
@media (max-width: 767px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion: всё в финальном состоянии */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__img { transform: none; }
}

/* Заголовки и метки: Geologica с острыми углами (ось SHRP) вместо Tektur,
   у которого строчная «д» болгарской формы читается как «g». */
html { font-variation-settings: "SHRP" 70; }
.hero__title, .h2 { letter-spacing: -0.02em; }

/* Телефон: ссылки вне текста не ниже 44 px. */
@media (max-width: 760px) {
  .quote__tel a, .contacts a, .menu__tel, footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
