/* ==========================================================================
   Трафік Тревел — стилі сайту
   Кольори й шрифти — лише через змінні нижче. Світла тема на :root,
   темна — у двох блоках (за налаштуваннями системи і за кнопкою).
   Смуги .night (перший екран, запит, футер) і панелі послуг мають свої
   кольори й однакові в обох темах.
   ========================================================================== */

:root {
  /* палітра */
  --sand: #E8E3DA;
  --sand-2: #DCD5C9;
  --paper: #F6F3ED;
  --ink: #0D1B1E;
  --muted: #4D5A5D;
  --night: #07303A;
  --night-2: #0C4250;
  --night-ink: #E8E3DA;
  --night-muted: #A3B8BC;
  --night-line: rgba(232, 227, 218, .16);
  --sky: #A3D5FF;
  --sky-2: #CFE8FF;
  --cherry: #6B0F37;
  --cherry-ink: #F6E7EC;
  --amber: #FFC447;
  --live: #5BE38A;

  /* ролі (міняються в темній темі) */
  --bg: var(--sand);
  --surface: var(--paper);
  --text: var(--ink);
  --text-2: var(--muted);
  --faded: rgba(13, 27, 30, .24);
  --rule: rgba(13, 27, 30, .16);
  --label: var(--cherry);
  --focus: #0A5FB4;
  --shadow: 0 1px 0 rgba(13, 27, 30, .04), 0 10px 30px -14px rgba(13, 27, 30, .28);

  /* шрифти (усі з кирилицею) */
  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* форма й рух */
  --r-btn: 10px;
  --r-card: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --nav-h: 48px;

  color-scheme: light;
  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1517;
    --surface: #112327;
    --text: #E8E3DA;
    --text-2: #A2B2B5;
    --faded: rgba(232, 227, 218, .26);
    --rule: rgba(232, 227, 218, .14);
    --label: #EBA7C3;
    --focus: #A3D5FF;
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 10px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1517;
  --surface: #112327;
  --text: #E8E3DA;
  --text-2: #A2B2B5;
  --faded: rgba(232, 227, 218, .26);
  --rule: rgba(232, 227, 218, .14);
  --label: #EBA7C3;
  --focus: #A3D5FF;
  --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 10px 30px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* --- основа ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s, color .4s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-mono); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sky); color: var(--ink); }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  background: var(--sky); color: var(--ink); padding: 12px 18px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* темні смуги: свої значення ролей */
.night {
  --text: var(--night-ink);
  --text-2: var(--night-muted);
  --rule: var(--night-line);
  --faded: rgba(232, 227, 218, .3);
  --label: var(--sky);
  --focus: var(--sky);
  background: var(--night);
  color: var(--night-ink);
}

/* --- кнопки ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  border: 1px solid transparent; background: none; cursor: pointer;
  font: 600 15px/1.2 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn:active { transform: scale(.97); }
.btn--sky { background: var(--sky); color: var(--ink); }
.btn--sky:hover { background: #C2E3FF; box-shadow: 0 12px 30px -12px rgba(163, 213, 255, .7); }
.btn--ghost { border-color: var(--rule); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--line {
  background: var(--surface); color: var(--text); padding: 0 6px 0 18px; box-shadow: var(--shadow);
  font-weight: 500;
}
.sq {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px;
  background: var(--sky); color: var(--ink); transition: transform .35s var(--ease);
}
.btn--line:hover .sq, .nav__cta:hover .sq { transform: rotate(45deg); }
.btn--line:hover .ic { transform: none; }

.micro { font-size: 13px; line-height: 1.5; color: var(--text-2); margin-top: 14px; }
.micro a { color: inherit; }

/* --- навігація --------------------------------------------------------- */
.nav {
  position: fixed; z-index: 100; top: 12px; left: var(--gutter); right: var(--gutter);
  display: flex; gap: 8px; align-items: stretch;
  max-width: calc(var(--maxw) - 2 * var(--gutter)); margin-inline: auto;
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.nav__box {
  display: flex; align-items: center; height: var(--nav-h); padding: 0 16px;
  background: var(--surface); color: var(--text); border-radius: var(--r-btn); border: 0;
  box-shadow: var(--shadow); text-decoration: none;
  transition: background-color .4s, color .4s;
}
.nav__logo { gap: 10px; padding: 0 16px 0 12px; }
.logo-mark { width: 26px; height: 26px; fill: var(--night); }
:root[data-theme="dark"] .logo-mark { fill: var(--sky); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-mark { fill: var(--sky); } }
.logo-word { font: 800 12px/1.05 var(--f-display); letter-spacing: .03em; }
.nav__links { flex: 1; gap: 24px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; text-decoration: none; padding: 6px 0 6px 14px; color: var(--text-2); transition: color .25s; }
.nav__links a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--rule); transition: background-color .25s, transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::before { background: var(--label); transform: scale(1.3); }
.nav__icon { width: var(--nav-h); padding: 0; justify-content: center; cursor: pointer; }
.nav__icon:hover { color: var(--label); }
.ic-sun { display: none; }
:root[data-theme="dark"] .ic-sun { display: block; }
:root[data-theme="dark"] .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-sun { display: block; }
  :root:not([data-theme="light"]) .ic-moon { display: none; }
}
.nav__cta { gap: 14px; padding: 0 5px 0 18px; font-size: 14px; font-weight: 600; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--night-ink);
  padding: calc(var(--nav-h) + 48px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 36px);
  transition: clip-path .6s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--night-line);
  font: 700 clamp(26px, 8vw, 40px)/1.1 var(--f-display); text-decoration: none; text-transform: uppercase;
}
.menu__links span { font: 500 12px var(--f-mono); color: var(--sky); }
.menu__cta { align-self: flex-start; }
.menu__meta { color: var(--night-muted); font-size: 15px; line-height: 1.9; }
.menu__meta a { text-decoration: none; }

@media (max-width: 1080px) {
  .nav__links { gap: 16px; }
}
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__logo { margin-right: auto; }
  .nav__cta { padding: 0 5px; }
  .nav__cta > span:first-child { display: none; }
  .nav__burger { display: flex; }
}

/* --- перший екран ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 72px) 0 56px;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(163, 213, 255, .18), transparent 62%),
    radial-gradient(700px 500px at -5% 110%, rgba(107, 15, 55, .35), transparent 60%),
    var(--night);
}
.hero::before { /* «вогні злітної смуги»: сітка точок, що зникає донизу */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(163, 213, 255, .22) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.hero__title {
  margin: 18px 0 44px;
  font: 800 clamp(29px, 8.2vw, 128px)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: -.02em;
}
.rot { display: block; position: relative; height: 1.18em; overflow: hidden; }
.rot__word {
  position: absolute; left: 0; top: 0; line-height: 1.18; white-space: nowrap; color: var(--sky);
  transform: translateY(110%); transition: transform .8s var(--ease);
}
.rot__word.is-on { transform: none; }
.rot__word.is-out { transform: translateY(-110%); }
.hero__line2 { display: flex; align-items: center; gap: .22em; }
.hero__wedge { width: .7em; height: .7em; fill: var(--sky); overflow: visible; }
.hero__wedge circle, .flock circle { animation: flap 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hero__wedge circle:nth-child(2), .flock circle:nth-child(2) { animation-delay: .15s; }
.hero__wedge circle:nth-child(3), .flock circle:nth-child(3) { animation-delay: .3s; }
.hero__wedge circle:nth-child(4), .flock circle:nth-child(4) { animation-delay: .15s; }
.hero__wedge circle:nth-child(5), .flock circle:nth-child(5) { animation-delay: .3s; }
@keyframes flap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14%); } }

.flock {
  position: absolute; z-index: -1; top: 16%; left: -80px; width: 54px; color: var(--sky); opacity: .35;
  animation: fly 46s linear infinite;
}
.flock svg { fill: currentColor; overflow: visible; }
@keyframes fly { from { transform: translate(0, 0); } to { transform: translate(calc(100vw + 160px), -10vh); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 660px); gap: 48px; align-items: end; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: #C9D7DA; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* табло відправлень */
.board {
  container-type: inline-size;
  margin: 0; padding: 18px; border-radius: var(--r-card);
  background: #051A20; border: 1px solid rgba(232, 227, 218, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 70px -40px rgba(0, 0, 0, .8);
}
.board__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted);
}
.board__demo { margin-left: 8px; padding: 2px 6px; border: 1px solid var(--night-line); border-radius: 4px; font-size: 10px; }
.board__clock { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.board__cols, .board__row {
  --tw: min(19px, calc((100cqi - 36px) / 33 - 2px));
  --cw: calc(var(--tw) + 2px);
  display: grid; gap: 12px;
  grid-template-columns: calc(5 * var(--cw)) calc(9 * var(--cw)) calc(11 * var(--cw)) calc(8 * var(--cw));
}
.board__cols { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(163, 184, 188, .7); margin-bottom: 8px; }
.board__rows { display: grid; gap: 8px; }
.fl { display: flex; gap: 2px; color: var(--amber); font: 700 14px/1 var(--f-mono); white-space: pre; }
.tile {
  position: relative; display: grid; place-items: center;
  width: var(--tw); height: calc(var(--tw) * 1.5);
  background: linear-gradient(#0E262D 50%, #0B2026 50%); border-radius: 3px;
  font-size: calc(var(--tw) * .8); color: var(--amber);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5);
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6); }
.tile[data-f="a"] { animation: flipA .11s linear; }
.tile[data-f="b"] { animation: flipB .11s linear; }
@keyframes flipA { 50% { transform: scaleY(.15); filter: brightness(1.6); } }
@keyframes flipB { 50% { transform: scaleY(.15); filter: brightness(1.6); } }
.st.blink .tile { animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { color: rgba(255, 196, 71, .35); } }
@container (max-width: 560px) {
  .board__cols, .board__row {
    --tw: min(17px, calc((100cqi - 24px) / 22 - 2px));
    grid-template-columns: calc(5 * var(--cw)) calc(9 * var(--cw)) calc(8 * var(--cw));
    gap: 8px;
  }
  .col-what { display: none; }
}

.facts {
  list-style: none; margin: 64px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.facts__v { display: block; margin-bottom: 10px; font: 700 clamp(26px, 3.2vw, 46px)/1 var(--f-display); color: var(--sky); white-space: nowrap; }
.facts span { display: block; font-size: 14px; line-height: 1.5; color: var(--text-2); max-width: 22em; }

.dot-live {
  display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; vertical-align: 1px;
  background: var(--live); box-shadow: 0 0 0 0 rgba(91, 227, 138, .6); animation: live 2s infinite;
}
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(91, 227, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 138, 0); } }

/* --- секції ------------------------------------------------------------ */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec--tight { padding-top: 0; }
.label {
  display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--label);
}
.label::after { content: ""; flex: 1; border-bottom: 2px dotted var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: start; }
.h-title { margin: 0; font: 500 clamp(28px, 3.2vw, 46px)/1.12 var(--f-display); letter-spacing: -.01em; text-wrap: balance; }
.h-big {
  margin: 0 0 40px; font: 800 clamp(29px, 5.4vw, 84px)/1 var(--f-display);
  text-transform: uppercase; letter-spacing: -.02em; text-wrap: balance;
}
.h-sub { margin: 88px 0 28px; font: 500 clamp(22px, 2.2vw, 32px)/1.2 var(--f-display); }
.body-lg { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); }
.split--end { margin-top: -8px; }

.statement { margin-bottom: 32px; font: 500 clamp(20px, 2vw, 28px)/1.45 var(--f-text); text-wrap: pretty; }
.statement .w { color: var(--faded); transition: color .35s; }
.statement .w.on { color: var(--text); }

/* команда */
.team .h-sub { margin-top: 96px; }
.team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.role {
  display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 22px;
  background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow);
  transition: transform .5s var(--ease), background-color .4s, color .4s;
}
.role:hover { transform: translateY(-6px); background: var(--night); color: var(--night-ink); }
.role:hover p { color: var(--night-muted); }
.role__n { font-size: 12px; color: var(--label); margin-bottom: auto; }
.role:hover .role__n { color: var(--sky); }
.role b { font: 600 18px/1.25 var(--f-display); }
.role p { font-size: 15px; line-height: 1.5; color: var(--text-2); transition: color .4s; }

/* переваги */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.perk {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
  min-height: 360px; padding: 24px; border-radius: var(--r-card); background: var(--sky); color: var(--ink);
  transition: transform .5s var(--ease), background-color .4s;
}
.perk:hover { transform: translateY(-6px); background: var(--sky-2); }
.perk__n { font-size: 13px; font-weight: 700; }
.perk p { font: 500 19px/1.35 var(--f-display); margin-top: 24px; }
.perk__ic {
  width: 84px; height: 84px; margin-top: auto; fill: none; stroke: var(--ink); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; transition: transform 1s var(--ease);
}
.perk:hover .perk__ic { transform: rotate(45deg) scale(1.08); }
html.js .rv .draw > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .35s; }
html.js .rv.in .draw > * { stroke-dashoffset: 0; }

/* поява під час прокрутки (без JS усе видно одразу) */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease), background-color .4s, color .4s; transition-delay: calc(var(--i, 0) * 70ms); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv.in:hover { transition-delay: 0s; }
html.js .role.rv.in:hover, html.js .perk.rv.in:hover { transform: translateY(-6px); }

/* --- послуги: стос панелей --------------------------------------------- */
.stack { margin-top: 64px; }
.svc {
  position: relative; padding: clamp(40px, 5vw, 76px) 0; border-radius: 28px 28px 0 0;
  transform-origin: 50% 0; box-shadow: 0 -24px 50px -30px rgba(0, 0, 0, .35);
}
.svc::after { /* затемнення, коли наступна панель накриває цю */
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000;
  opacity: var(--dim, 0); pointer-events: none;
}
.svc--night { background: var(--night); color: var(--night-ink); }
.svc--sky { background: var(--sky); color: var(--ink); }
.svc--cherry { background: var(--cherry); color: var(--cherry-ink); }
.svc--paper { background: var(--sand-2); color: var(--ink); }
.svc--night2 { background: var(--night-2); color: var(--night-ink); }
.svc--sky2 { background: var(--sky-2); color: var(--ink); }
.svc__in {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-areas: "n t" "art list"; gap: 40px 56px; align-items: start;
}
.svc__n { grid-area: n; font-size: 13px; letter-spacing: .12em; padding-top: 10px; }
.svc__n b { display: inline-block; padding: 3px 8px; border-radius: 5px; background: color-mix(in srgb, currentColor 16%, transparent); }
.svc__t { grid-area: t; margin: 0; font: 800 clamp(26px, 4.2vw, 64px)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: -.02em; text-wrap: balance; }
.svc__list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.svc__list li {
  display: flex; gap: 16px; padding: 16px 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.svc__list li::before { content: "→"; opacity: .6; flex: none; }

@media (min-width: 960px) and (min-height: 760px) {
  .svc { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; }
  .svc > .wrap { width: 100%; }
}

/* ілюстрації до послуг */
.art {
  grid-area: art; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card);
  background: color-mix(in srgb, currentColor 7%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.art__cap { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.art > svg { width: 100%; height: 100%; }

.art--route .route { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 6 9; opacity: .55; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -30; } }
.art--route .city { fill: var(--sky); }
.art--route .halo { fill: none; stroke: var(--sky); stroke-width: 1.5; opacity: .5; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.art--route text { font: 600 13px var(--f-mono); fill: currentColor; letter-spacing: .08em; }
.art--route .plane { fill: var(--sky); }

.seats {
  position: absolute; inset: 14% 10% 24%;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 7px; align-content: center;
}
.seats i {
  aspect-ratio: 1; border-radius: 6px 6px 3px 3px;
  background: color-mix(in srgb, currentColor 16%, transparent);
  animation: seat 5s var(--ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes seat { 0%, 12% { background: color-mix(in srgb, currentColor 16%, transparent); } 30%, 80% { background: var(--ink); } 100% { background: color-mix(in srgb, currentColor 16%, transparent); } }

.art--rings { display: grid; place-items: center; }
.art--rings i {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0; animation: ring 4.5s var(--ease) infinite;
}
.art--rings i:nth-child(2) { animation-delay: 1.5s; }
.art--rings i:nth-child(3) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(.35); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.art--rings > svg { width: 22%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; position: relative; }

.art--cards .gc {
  position: absolute; left: 50%; top: 46%; width: 56%; aspect-ratio: 1.6; padding: 16px; border-radius: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateX(var(--x, 0));
  transition: transform .9s var(--ease);
  animation: float 6s ease-in-out infinite; animation-delay: var(--fd, 0s);
}
.art--cards .gc b { font: 700 clamp(14px, 1.5vw, 20px)/1.1 var(--f-display); text-transform: uppercase; }
.art--cards .gc i { font: 500 11px var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.art--cards .gc:nth-child(1) { background: var(--night); color: var(--sky); --r: -12deg; --x: -18%; --fd: 0s; }
.art--cards .gc:nth-child(2) { background: var(--cherry); color: var(--cherry-ink); --r: 6deg; --x: 14%; --fd: -2s; }
.art--cards .gc:nth-child(3) { background: var(--sky); color: var(--ink); --r: -2deg; --x: 0%; --fd: -4s; }
.svc:hover .art--cards .gc:nth-child(1) { --r: -18deg; --x: -30%; }
.svc:hover .art--cards .gc:nth-child(2) { --r: 12deg; --x: 26%; }
@keyframes float { 50% { translate: 0 -6px; } }

.art--compass { display: grid; place-items: center; }
.art--compass > svg { width: 62%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; }
.art--compass .dash { stroke-dasharray: 2 7; opacity: .7; }
.art--compass .needle { transform-box: view-box; transform-origin: 100px 100px; animation: needle 7s var(--ease) infinite; }
.art--compass .needle path { fill: color-mix(in srgb, currentColor 30%, transparent); stroke: none; }
.art--compass .needle .n { fill: var(--sky); }
.art--compass text { font: 700 13px var(--f-mono); fill: currentColor; stroke: none; }
@keyframes needle { 0% { transform: rotate(0); } 18% { transform: rotate(38deg); } 34% { transform: rotate(-22deg); } 50% { transform: rotate(10deg); } 64%, 100% { transform: rotate(0); } }

.art--chat { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px; }
.bub {
  max-width: 82%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; font-size: 14px; line-height: 1.4;
  background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .35);
  opacity: 0; animation: bub 9s var(--ease) infinite;
}
.bub--out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--night); color: var(--sky-2); }
.bub:nth-child(2) { animation-delay: .9s; }
.bub:nth-child(3) { animation-delay: 1.8s; }
.bub:nth-child(4) { animation-delay: 2.7s; }
@keyframes bub { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 6%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
.bub--typing { display: flex; gap: 5px; padding: 14px 16px; }
.bub--typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: typing 1.2s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; }
.bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* --- відділи ------------------------------------------------------------ */
.depts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 64px; align-items: start; }
.depts__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.depts__tabs button {
  position: relative; display: flex; align-items: baseline; gap: 18px; width: 100%;
  padding: 20px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; text-align: left;
  font: 500 clamp(20px, 2vw, 28px)/1.2 var(--f-display); color: var(--text-2);
  transition: color .3s, padding-left .5s var(--ease);
}
.depts__tabs button::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 0; border-radius: 3px; background: var(--sky);
  transform: translateY(-50%); transition: height .5s var(--ease);
}
.depts__tabs button span { font-size: 12px; color: var(--label); }
.depts__tabs button:hover { color: var(--text); }
.depts__tabs button[aria-selected="true"] { color: var(--text); padding-left: 22px; }
.depts__tabs button[aria-selected="true"]::before { height: 60%; }
.depts__panels { position: sticky; top: 96px; }
.dept {
  view-transition-name: dept;
  position: relative; overflow: hidden; min-height: 400px; padding: clamp(28px, 4vw, 52px);
  border-radius: 22px; background: var(--night); color: var(--night-ink);
  border: 1px solid var(--night-line);
}
.dept + .dept { margin-top: 12px; }
.dept[hidden] { display: none; }
.dept::after { /* декоративний «ключ» з точок у кутку */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; opacity: .12;
  background: radial-gradient(circle, var(--sky) 0 9px, transparent 10px) 0 0 / 60px 60px;
  -webkit-mask-image: linear-gradient(135deg, transparent 40%, #000);
  mask-image: linear-gradient(135deg, transparent 40%, #000);
}
.dept__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.dept__t { margin: 18px 0 28px; font: 600 clamp(24px, 2.6vw, 38px)/1.15 var(--f-display); text-wrap: balance; }
.dept ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.dept li { display: flex; gap: 14px; font-size: 17px; line-height: 1.45; color: #D3DFE1; }
.dept li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--sky);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
::view-transition-old(dept), ::view-transition-new(dept) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* --- фокус і галузі --------------------------------------------------- */
.focus__title { margin: 0 0 80px; text-align: center; }
.focus__small { display: block; font: 500 clamp(20px, 2.4vw, 32px)/1.2 var(--f-display); text-transform: lowercase; }
.focus__big {
  display: block; font: 800 clamp(52px, 13vw, 200px)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.03em;
  transform: scale(calc(.72 + .28 * var(--p, 1))); transition: transform .1s linear;
}
.segs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.seg { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--text); }
.seg b { font: 500 clamp(18px, 1.6vw, 22px)/1.25 var(--f-display); }
.seg span { font-size: 15px; color: var(--text-2); }
.inds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ind {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 32px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); transition: padding .5s var(--ease), color .3s;
}
.ind::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 12px; background: var(--sky);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease);
}
.ind b { font: 500 clamp(19px, 2.2vw, 30px)/1.2 var(--f-display); }
.ind span { align-self: center; font-size: 16px; color: var(--text-2); transition: color .3s; }
@media (hover: hover) {
  .ind:hover { padding-inline: 20px; color: var(--ink); }
  .ind:hover span { color: var(--ink); }
  .ind:hover::before { transform: none; }
}
.ind-float {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 128px; height: 128px; margin: -64px 0 0 28px; border-radius: 20px;
  display: grid; place-items: center; align-content: center; gap: 8px;
  background: var(--night); color: var(--sky); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
  opacity: 0; scale: .5; transition: opacity .3s, scale .5s var(--ease);
}
.ind-float.on { opacity: 1; scale: 1; }
.ind-float svg { width: 40px; height: 40px; fill: currentColor; }
.ind-float span { font: 600 12px var(--f-mono); letter-spacing: .08em; }

/* --- процес ----------------------------------------------------------- */
.steps-wrap { position: relative; margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--rule); }
.steps__line i { position: absolute; inset: 0; background: var(--label); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-2); transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.step.on::before { background: var(--label); border-color: var(--label); transform: scale(1.15); }
.step__n { font-size: 12px; color: var(--label); }
.step b { font: 600 clamp(18px, 1.6vw, 22px)/1.2 var(--f-display); }
.step p { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* --- запит і посадковий талон ------------------------------------------ */
.brief .h-big { max-width: 18em; font-size: clamp(28px, 4.4vw, 68px); }
.brief__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 22px; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 8px; align-content: start; }
.field > label, .field > legend { padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--text-2); }
.field > legend { margin-bottom: 10px; }
.req { font-weight: 400; font-size: 12px; opacity: .8; margin-left: 4px; }
.form input:not([type="radio"]), .form textarea {
  width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px;
  background: rgba(232, 227, 218, .06); border: 1px solid var(--night-line); color: var(--night-ink);
  font: 400 16px/1.4 var(--f-text);
  transition: border-color .2s, background-color .2s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(232, 227, 218, .42); }
.form input:hover, .form textarea:hover { border-color: rgba(232, 227, 218, .32); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--sky); background: rgba(163, 213, 255, .08); }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.form input[aria-invalid="true"] { border-color: #FF8C78; }
.err { font-size: 13px; color: #FFB3A6; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--night-line); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.chip:hover span { border-color: rgba(232, 227, 218, .4); }
.chip input:checked + span { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.chip input:active + span { transform: scale(.95); }
.chip input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--night-line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 50px; height: 50px; flex: none; display: grid; place-items: center; background: none; border: 0; cursor: pointer; transition: background-color .2s; }
.stepper button:hover { background: rgba(163, 213, 255, .12); }
.form .stepper input { border: 0; border-radius: 0; background: none; text-align: center; font: 700 18px var(--f-mono); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; font-weight: 600; font-size: 15px; }
.form__status.ok { color: var(--sky); }
.form__status.bad { color: #FFB3A6; }
.form__status a { color: inherit; }

.pass-wrap { position: sticky; top: 96px; }
.pass-shadow { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.pass {
  --stub: 116px;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  overflow: hidden; background: var(--paper); color: var(--ink); border-radius: 20px;
  transform: rotate(-2deg); transition: transform .7s var(--ease);
  -webkit-mask:
    radial-gradient(circle 13px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 13px at calc(100% - var(--stub)) 0, transparent 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - var(--stub)) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
}
.pass-wrap:hover .pass { transform: rotate(0); }
.pass__main { padding: 22px 24px 20px; min-width: 0; }
.pass__top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(13, 27, 30, .12);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #56656A;
}
.pass__brand { display: flex; align-items: center; gap: 8px; font: 800 12px/1 var(--f-display); letter-spacing: .03em; color: var(--ink); }
.pass__brand svg { width: 20px; height: 20px; fill: var(--night); }
.pass__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px 18px; margin: 0; }
.pass__grid dt { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #56656A; margin-bottom: 4px; }
.pass__grid dd { margin: 0; font: 700 clamp(15px, 1.35vw, 18px)/1.2 var(--f-display); text-transform: uppercase; overflow-wrap: break-word; border-radius: 4px; }
.pass__grid dd.is-empty { color: #8C989B; }
.pass__grid dd.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { background: var(--sky); box-shadow: 0 0 0 4px var(--sky); } 100% { background: transparent; box-shadow: 0 0 0 4px transparent; } }
.pass__wide { grid-column: 1 / -1; }
.pass__code { width: 100%; height: 44px; margin-top: 22px; fill: var(--ink); }
.pass__stub {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 20px 16px;
  border-left: 2px dashed rgba(13, 27, 30, .2);
}
.pass__stub span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #56656A; }
.pass__stub b { font: 800 19px/1.2 var(--f-display); margin-bottom: 14px; }
.pass__stub b:last-child { margin-bottom: 0; }
.stamp {
  position: absolute; left: 34%; top: 38%; pointer-events: none;
  padding: 8px 16px 9px; border: 3px solid var(--cherry); border-radius: 12px; color: var(--cherry);
  text-align: center; text-transform: uppercase; opacity: 0;
  transform: rotate(-14deg) scale(2.4);
}
.stamp span { display: block; font: 800 26px/1 var(--f-display); letter-spacing: .02em; }
.stamp small { display: block; margin-top: 4px; font: 600 10px var(--f-mono); letter-spacing: .1em; }
.pass.is-stamped .stamp { animation: stamp .55s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.pass.is-stamped { animation: thud .35s .3s; }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-14deg) scale(2.4); } 60% { opacity: 1; transform: rotate(-14deg) scale(.92); } 100% { opacity: .92; transform: rotate(-14deg) scale(1); } }
@keyframes thud { 40% { transform: rotate(-2deg) translateY(4px); } }
.pass__hint { margin-top: 22px; text-align: center; font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* --- питання ------------------------------------------------------------ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--f-text); transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--label); }
.faq summary .ic { transition: transform .4s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq__a p { max-width: 62ch; padding-bottom: 24px; color: var(--text-2); }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* --- футер ------------------------------------------------------------- */
.foot { padding: clamp(80px, 9vw, 120px) 0 28px; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot .label { margin-bottom: 20px; }
.foot__big {
  display: block; margin-bottom: 20px; font: 600 clamp(19px, 1.7vw, 24px)/1.25 var(--f-display);
  text-decoration: none; overflow-wrap: anywhere; transition: color .25s;
}
.foot__big:hover { color: var(--sky); }
.foot__addr, .foot__note { color: var(--night-muted); font-size: 16px; line-height: 1.6; }
.foot__addr { font: 500 clamp(18px, 1.6vw, 22px)/1.4 var(--f-display); color: var(--night-ink); margin-bottom: 20px; }
.foot__time { font-size: 14px; color: var(--night-muted); }
.foot__time b { color: var(--night-ink); font-family: var(--f-mono); }
.foot__word {
  position: relative; display: flex; flex-direction: column; margin: clamp(56px, 8vw, 104px) 0 28px;
  font: 800 clamp(54px, 15.6vw, 236px)/.86 var(--f-display); letter-spacing: -.035em; color: var(--sky);
  user-select: none;
}
.foot__word span:last-of-type { align-self: flex-end; }
.foot__word .ch { display: inline-block; transition: transform .6s var(--ease), color .4s; }
.foot__word .ch:hover { transform: translateY(-10%); color: var(--sky-2); }
.foot__flock { position: absolute; top: 38%; left: -10%; width: clamp(40px, 6vw, 84px); fill: var(--amber); opacity: .9; animation: fly2 26s linear infinite; pointer-events: none; }
@keyframes fly2 { from { transform: translate(0, 0); } to { transform: translate(125vw, -60%); } }
.foot__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
  padding-top: 22px; border-top: 1px solid var(--night-line); font-size: 13px; line-height: 1.6; color: var(--night-muted);
}
.foot__legal p:first-child { flex: 1 1 520px; }
.foot__up { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--night-ink); }
.foot__up .ic { width: 16px; height: 16px; transform: rotate(-45deg); }


/* --- перший екран: слайд-шоу ------------------------------------------------ */
.hero__bgs { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bgs::after { /* затемнення, щоб текст читався на будь-якому фото */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 28, 35, .95) 0%, rgba(4, 28, 35, .82) 42%, rgba(4, 28, 35, .5) 100%),
    linear-gradient(0deg, var(--night) 0%, transparent 40%);
}
.hero__bg {
  position: absolute; inset: 0; opacity: 0; background: center / cover no-repeat;
  transition: opacity 1.4s ease; transform: scale(1.06);
}
.hero__bg.is-on { opacity: 1; animation: kenburns 10s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero__bg--1 { background-image: url("/img/parus.jpg"); background-position: 72% 30%; }
.hero__bg--2 { background-image: url("/img/train.jpg"); background-position: 60% 50%; }
.hero__bg--3 { background-image: url("/img/parus-night.jpg"); background-position: 30% 40%; }
@media (max-width: 900px) {
  .hero__bg--2 { background-image: url("/img/train-960.jpg"); }
  .hero__bg--3 { background-image: url("/img/parus-night-960.jpg"); }
  .hero__bgs::after { background: linear-gradient(180deg, rgba(4, 28, 35, .7) 0%, rgba(4, 28, 35, .88) 45%, var(--night) 100%); }
}

.slides { display: grid; }
html.js .slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
html.js .slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease .15s, visibility 0s; }
html.js .slide > * { transform: translateY(18px); transition: transform .9s var(--ease); }
html.js .slide.is-on > * { transform: none; }
html.js .slide.is-on > :nth-child(2) { transition-delay: .08s; }
html.js .slide.is-on > :nth-child(3) { transition-delay: .16s; }
html:not(.js) .slide + .slide { margin-top: 64px; }
.hero__title--sm { font-size: clamp(28px, 6vw, 92px); }

.addr { display: grid; gap: 10px; align-self: end; }
.addr__card {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-card); text-decoration: none;
  background: rgba(5, 26, 32, .66); border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.addr__card b { font: 600 clamp(18px, 1.7vw, 24px)/1.2 var(--f-display); }
.addr__card > span:not(.addr__tag):not(.addr__go) { font-size: 15px; color: #C9D7DA; }
.addr__tag { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.addr__tag .ic { width: 14px; height: 14px; }
.addr__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--sky); }
.addr__go .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
a.addr__card:hover { border-color: var(--sky); background: rgba(5, 26, 32, .8); transform: translateY(-3px); }
a.addr__card:hover .addr__go .ic { transform: translate(2px, -2px); }
.addr__card--main { border-color: rgba(163, 213, 255, .45); }

/* що міряємо: картка на слайді результатів */
.ba {
  align-self: end; padding: 22px; border-radius: var(--r-card);
  background: rgba(5, 26, 32, .7); border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ba__legend { margin-bottom: 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--night-muted); }
.ba__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ba__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; align-items: baseline; }
.ba__n { grid-row: 1 / span 2; font-size: 12px; color: var(--sky); }
.ba__label { font-weight: 600; font-size: 16px; color: var(--night-ink); }
.ba__how { grid-column: 2; font-size: 13px; line-height: 1.4; color: var(--night-muted); }
html.js .slide .ba__row { opacity: 0; transform: translateX(-12px); transition: opacity .8s ease .4s, transform 1s var(--ease) .4s; }
html.js .slide.is-on .ba__row { opacity: 1; transform: none; }
html.js .slide.is-on .ba__row:nth-child(2) { transition-delay: .55s; }
html.js .slide.is-on .ba__row:nth-child(3) { transition-delay: .7s; }

/* керування слайдами */
.hero__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 44px; }
.hero__btn {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  border-radius: var(--r-btn); border: 1px solid var(--rule); background: rgba(255, 255, 255, .04); color: var(--text);
  transition: background-color .25s, border-color .25s, transform .2s;
}
.hero__btn:hover { border-color: var(--sky); background: rgba(163, 213, 255, .12); }
.hero__btn:active { transform: scale(.94); }
.ic-play { display: none; }
.hero.is-paused .ic-pause { display: none; }
.hero.is-paused .ic-play { display: block; }
.dots { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; margin-right: 6px; }
.dot {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline;
  padding: 6px 0 10px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--night-muted);
  transition: color .3s;
}
.dot:hover, .dot.is-on { color: var(--night-ink); }
.dot__n { font-size: 11px; color: var(--sky); }
.dot__t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot__bar { grid-column: 1 / -1; position: relative; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(232, 227, 218, .2); }
.dot__bar i { position: absolute; inset: 0; background: var(--sky); transform-origin: 0 50%; transform: scaleX(0); }
.dot.is-on .dot__bar i { transform: scaleX(1); }
.hero.is-auto .dot.is-on .dot__bar i { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-auto.is-held .dot.is-on .dot__bar i { animation-play-state: paused; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- стрічка контрагентів --------------------------------------------------- */
.partners-strip { display: flex; align-items: stretch; background: var(--sky); color: var(--ink); overflow: hidden; }
.partners-strip__label {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; padding: 0 20px;
  background: var(--sky-2); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.partners-strip__view {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.partners-strip__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.partners-strip:hover .partners-strip__track, .partners-strip:focus-within .partners-strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pl { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 14px; list-style: none; }
.pl a {
  display: inline-flex; align-items: center; gap: 6px; padding: 17px 0; white-space: nowrap; text-decoration: none;
  font: 700 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; transition: color .25s;
}
.pl a .ic { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.pl a:hover { color: var(--cherry); }
.pl a:hover .ic { transform: translate(2px, -2px); }
.pl__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .5; }

/* --- результати: діаграма до / після ---------------------------------------- */
.chart { margin-top: 56px; padding: clamp(22px, 3vw, 40px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.chart__title { font: 600 clamp(18px, 1.6vw, 22px)/1.2 var(--f-display); }
.legend { display: flex; gap: 18px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.legend i { display: inline-block; width: 22px; height: 10px; margin-right: 8px; border-radius: 3px; vertical-align: 0; }
.legend__b, .bar__b { background: color-mix(in srgb, var(--text) 16%, transparent); }
.legend__a, .bar__a { background: var(--sky); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.bar { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) minmax(5.5em, auto); gap: 10px 28px; align-items: center; }
.bar__name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.bar__name small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--text-2); }
.bar__track { display: grid; gap: 6px; }
.bar__track i {
  display: flex; align-items: center; justify-content: flex-end; height: 24px; min-width: 2.6em; padding: 0 8px; border-radius: 6px;
  width: calc(var(--w) * 100%); color: var(--ink); font: 700 12px var(--f-mono);
}
.bar__b { color: var(--text) !important; }
html.js .chart .bar__track i { width: 2.6em; transition: width 1.5s var(--ease); }
html.js .chart.in .bar__track i { width: calc(var(--w) * 100%); }
html.js .chart.in .bar:nth-child(2) .bar__track i { transition-delay: .12s; }
html.js .chart.in .bar:nth-child(3) .bar__track i { transition-delay: .24s; }
html.js .chart.in .bar:nth-child(4) .bar__track i { transition-delay: .36s; }
.bar__delta { font: 700 clamp(22px, 2.4vw, 34px)/1 var(--f-display); color: var(--label); text-align: right; white-space: nowrap; }
.chart .legend span + span::before { content: "→"; margin-right: 18px; color: var(--label); }
.metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .metrics { grid-template-columns: minmax(0, 1fr); } }
.metric { display: grid; align-content: start; gap: 10px; padding: 22px; border: 1px solid var(--rule); border-radius: 16px; }
.metric__n { font-size: 12px; color: var(--label); }
.metric b { font: 600 clamp(17px, 1.4vw, 20px)/1.25 var(--f-display); }
.metric span:last-child { font-size: 14px; line-height: 1.45; color: var(--text-2); }
html.js .chart .metric { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform 1s var(--ease); }
html.js .chart.in .metric { opacity: 1; transform: none; }
html.js .chart.in .metric:nth-child(2) { transition-delay: .12s; }
html.js .chart.in .metric:nth-child(3) { transition-delay: .24s; }
html.js .chart.in .metric:nth-child(4) { transition-delay: .36s; }

/* --- контрагенти: картки ------------------------------------------------------ */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.partner {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 250px; padding: 22px;
  border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .5s var(--ease), background-color .35s, color .35s;
}
.partner__mono {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: auto; border-radius: 14px;
  background: var(--sky); color: var(--ink); font: 800 13px/1 var(--f-display); letter-spacing: .02em;
  transition: transform .6s var(--ease);
}
.partner b { margin-top: 18px; font: 600 18px/1.2 var(--f-display); overflow-wrap: break-word; }
.partner__d { font-size: 14px; line-height: 1.45; color: var(--text-2); transition: color .35s; }
.partner__url { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--label); }
.partner__url .ic { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.partner:hover { transform: translateY(-6px); background: var(--night); color: var(--night-ink); }
.partner:hover .partner__d { color: var(--night-muted); }
.partner:hover .partner__url { color: var(--sky); }
.partner:hover .partner__url .ic { transform: translate(2px, -2px); }
.partner:hover .partner__mono { transform: rotate(-8deg) scale(1.06); }
.focus .partners + .h-sub { margin-top: 88px; }

/* --- відгуки ------------------------------------------------------------- */
.revs-nav { display: flex; justify-content: flex-end; gap: 8px; margin: 40px 0 16px; }
.revs-nav .hero__btn { color: var(--text); }
.revs {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 16px; margin: 0 -4px;
  scrollbar-width: thin;
}
.rev {
  position: relative; scroll-snap-align: start; margin: 0; padding: 28px; min-height: 300px;
  display: flex; flex-direction: column; gap: 24px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow);
}
.rev:not(.rev--task)::before { content: "“"; font: 800 64px/.6 var(--f-display); color: var(--sky); height: 24px; }
.rev__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin-bottom: -10px; }
.rev__a { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.rev__a b { color: var(--text); font-weight: 600; }
.rev blockquote { margin: 0; font: 500 clamp(17px, 1.4vw, 19px)/1.5 var(--f-text); text-wrap: pretty; }
.rev figcaption { margin-top: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; }
.rev__av {
  grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--night); color: var(--sky); font: 700 13px var(--f-display);
}
.rev figcaption b { font-size: 15px; }
.rev figcaption span:last-child { font-size: 14px; color: var(--text-2); }

.foot__note + .foot__time { margin-top: 12px; }

@media (max-width: 1180px) {
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .addr, .ba { max-width: 560px; }
  .revs { grid-auto-columns: calc((100% - 12px) / 2); }
}
@media (max-width: 900px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; }
  .bar__track { grid-column: 1 / -1; grid-row: 2; }
  .bar__delta { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners > li:last-child { grid-column: 1 / -1; }
  .partner { min-height: 210px; padding: 18px; }
  .partner b { font-size: 16px; }
  .revs { grid-auto-columns: 86%; }
  .dot__t { display: none; }
  .dots { gap: 6px; }
  .hero__ctrl { gap: 6px; margin-top: 32px; }
  .hero__btn { width: 42px; height: 42px; }
  .partners-strip__label { padding: 0 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg.is-on { transform: none; }
  .partners-strip__view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .partners-strip__track .pl[aria-hidden] { display: none; }
}


/* --- виставки: карта маршрутів і календар ------------------------------------ */
.expo { overflow: hidden; }
.expo .split { margin-bottom: 48px; }
.routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.routes__map {
  margin: 0; padding: clamp(12px, 2vw, 22px); border-radius: 22px; background: #051A20; border: 1px solid var(--night-line);
  display: flex; flex-direction: column; justify-content: center;
}
.routes__map svg { width: 100%; height: auto; overflow: visible; }
.map-dots { fill: none; stroke: rgba(163, 213, 255, .26); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 6.944; }
.map-city circle { fill: rgba(163, 184, 188, .8); transition: fill .4s; }
.map-city text { font: 600 13px var(--f-mono); fill: rgba(163, 184, 188, .85); letter-spacing: .03em; transition: fill .4s; paint-order: stroke; stroke: #051A20; stroke-width: 4px; }
.map-city--home circle { fill: var(--amber); }
.map-city--home text { fill: var(--amber); }
.map-city.is-on circle { fill: var(--sky); }
.map-city.is-on text { fill: var(--night-ink); }
.route-ground { fill: none; stroke: var(--amber); stroke-width: 2.6; stroke-linecap: round; }
.route-air { fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(163, 213, 255, .55)); }
.route-pulse { fill: none; stroke: var(--sky); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.route-pulse.on { animation: halo 1.8s var(--ease) infinite; }
.route-veh circle { fill: var(--night); stroke: var(--sky); stroke-width: 2; }
.route-veh use { color: var(--sky); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.route-veh.is-plane use { fill: currentColor; stroke: none; }
.routes__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.routes__legend i { display: inline-block; width: 22px; height: 0; margin-right: 8px; vertical-align: 3px; border-top: 2.5px solid var(--sky); }
.routes__legend .lg-ground { border-top: 2.5px dashed var(--amber); }
.routes__legend .lg-pulse { width: 10px; height: 10px; border: 2px solid var(--sky); border-radius: 50%; vertical-align: -1px; }

.plan {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2vw, 26px); border-radius: 22px;
  background: rgba(232, 227, 218, .04); border: 1px solid var(--night-line);
}
.route-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.route-tabs button, .expo-filter button {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--night-line); background: none;
  color: var(--night-ink); font: 500 13px var(--f-text); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.route-tabs button:hover, .expo-filter button:hover { border-color: rgba(232, 227, 218, .45); }
.route-tabs button[aria-pressed="true"], .expo-filter button[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.plan__kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.plan__t { margin: 0; font: 600 clamp(20px, 1.9vw, 26px)/1.2 var(--f-display); }
.plan__d { color: var(--amber); font-size: 13px; font-weight: 700; }
.plan__steps { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; }
.plan__steps li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 14px;
  border: 1px solid transparent; opacity: .5; transition: opacity .4s, background-color .4s, border-color .4s;
}
.plan__steps li.is-on { opacity: 1; background: rgba(163, 213, 255, .08); border-color: rgba(163, 213, 255, .3); }
.plan__steps li.is-done { opacity: .85; }
.plan__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(163, 213, 255, .12); color: var(--sky); }
.plan__steps b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.plan__steps span:not(.plan__ic) { display: block; font-size: 13px; line-height: 1.4; color: var(--night-muted); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan__head { display: grid; gap: 8px; }
@media (min-width: 1081px) {
  .plan {
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 14px 32px; align-items: start;
    grid-template-areas: "tabs tabs" "head steps" "btn steps";
  }
  .route-tabs { grid-area: tabs; margin-bottom: 4px; }
  .plan__head { grid-area: head; }
  .plan__steps { grid-area: steps; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
  .plan__steps li { grid-template-columns: minmax(0, 1fr); align-items: start; height: 100%; }
  .plan .btn { grid-area: btn; margin-top: 4px; }
}

.photo-strip {
  margin-top: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.photo-strip__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.photo-strip:hover .photo-strip__track { animation-play-state: paused; }
.photo-strip__set { display: flex; gap: 12px; padding-right: 12px; }
.photo-strip figure { position: relative; flex: none; width: clamp(220px, 24vw, 320px); aspect-ratio: 4 / 3; margin: 0; border-radius: 16px; overflow: hidden; background: #0B2026; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.07); }
.photo-strip figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 5px 9px; border-radius: 7px; width: fit-content; max-width: calc(100% - 20px);
  background: rgba(5, 26, 32, .8); color: var(--night-ink); font: 600 11px var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.expo .h-sub { margin-top: 72px; }
.expo-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.expo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ex {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: rgba(232, 227, 218, .04); border: 1px solid var(--night-line);
  transition: transform .5s var(--ease), border-color .3s, opacity .9s var(--ease);
}
.ex[hidden] { display: none; }
html.js .ex.rv.in:hover, .ex:hover { transform: translateY(-6px); border-color: rgba(163, 213, 255, .45); }
.ex__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0B2026; }
.ex__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ex:hover .ex__img img { transform: scale(1.06); }
.ex__date { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 8px; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 700; }
.ex__region { position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 8px; background: rgba(5, 26, 32, .82); color: var(--night-ink); font-size: 11px; letter-spacing: .04em; }
.ex__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.ex__tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.ex__name { margin: 0; font: 700 clamp(18px, 1.5vw, 21px)/1.2 var(--f-display); }
.ex__place { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--night-muted); }
.ex__place .ic { width: 16px; height: 16px; margin-top: 1px; }
.ex__why { font-size: 15px; line-height: 1.5; color: #D3DFE1; }
.ex__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.ex__acts .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.ex.is-past { opacity: .5; }
.ex.is-past .ex__date::after { content: " · відбулася"; }
.expo-note { margin-top: 22px; font-size: 13px; line-height: 1.5; color: var(--night-muted); max-width: 70ch; }

@media (max-width: 1080px) {
  .expo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .expo-grid { grid-template-columns: minmax(0, 1fr); }
  .map-city text { font-size: 30px; stroke-width: 8px; }
  .map-city:not(.is-on):not(.map-city--home) text { display: none; }
  .map-city circle { r: 7px; }
  .map-dots { stroke-width: 4.2; }
  .route-ground, .route-air { stroke-width: 4.5; }
  .route-tabs button { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .photo-strip__set[aria-hidden] { display: none; }
}

/* --- окремі сторінки (404, дані) ---------------------------------------- */
.page-top { padding: calc(var(--nav-h) + 64px) 0 40px; }
.doc { max-width: 760px; }
.doc h1 { margin: 0 0 24px; font: 700 clamp(28px, 4vw, 48px)/1.1 var(--f-display); text-wrap: balance; }
.doc h2 { margin: 40px 0 12px; font: 600 clamp(19px, 2vw, 24px)/1.25 var(--f-display); }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }

/* --- адаптив ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk { min-height: 280px; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .board { max-width: 680px; }
  .brief__grid { grid-template-columns: minmax(0, 1fr); }
  .pass-wrap { position: relative; top: 0; max-width: 560px; }
}
@media (max-width: 900px) {
  .split, .depts { grid-template-columns: minmax(0, 1fr); }
  .depts { gap: 24px; }
  .depts__tabs { flex-direction: row; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: none; }
  .depts__tabs::-webkit-scrollbar { display: none; }
  .depts__tabs button {
    width: auto; flex: none; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 999px;
    font: 500 15px/1.2 var(--f-text); gap: 8px;
  }
  .depts__tabs button::before { display: none; }
  .depts__tabs button[aria-selected="true"] { padding-left: 16px; background: var(--text); color: var(--bg); border-color: var(--text); }
  .depts__tabs button[aria-selected="true"] span { color: inherit; }
  .depts__panels { position: relative; top: 0; }
  .dept { min-height: 0; }
  .svc__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "n" "t" "art" "list"; gap: 24px; }
  .art { max-width: 520px; }
  .segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 40px; }
  .steps__line { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps__line i { transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .step { padding-top: 0; }
  .step::before { left: -40px; top: 2px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 48px; }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .role { min-height: 0; }
  .role__n { margin-bottom: 8px; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .perk { min-height: 240px; }
  .segs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ind { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .h-sub { margin-top: 64px; }
  .cta-row .btn { flex: 1 1 100%; }
  .pass { --stub: 92px; }
  .pass__main { padding: 18px 16px 16px; }
  .pass__stub { padding: 16px 12px; }
  .pass__stub b { font-size: 16px; }
  .stamp { left: 18%; }
  .stamp span { font-size: 22px; }
}

/* --- менше руху -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .flock, .foot__flock { display: none; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .rv .draw > * { stroke-dashoffset: 0; }
  .bub { opacity: 1; }
  .art--rings i { opacity: .25; }
  .art--rings i:nth-child(2) { transform: scale(1.4); }
  .art--rings i:nth-child(3) { transform: scale(1.8); }
  .pass.is-stamped .stamp { opacity: .92; transform: rotate(-14deg); }
  .menu { clip-path: none; }
}
html:not(.js) .hero__ctrl, html:not(.js) .revs-nav { display: none; }
@media (max-width: 480px) {
  .partners { grid-template-columns: minmax(0, 1fr); }
  .partner { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .partner__mono { width: 48px; height: 48px; margin: 0; font-size: 12px; }
  .partner b { margin-top: 0; flex: 1; }
  .partner__d, .partner__url { flex-basis: 100%; }
}
