/* ============================================================
   VS AIR CARGO — Core Stylesheet · LIGHT EDITION
   Warm paper + premium gold. Syne / Inter / JetBrains Mono.
   Dark image bands for hero/pagehead/footer contrast.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --paper:     #f4efe6;
  --paper-2:   #ede6d9;
  --surface:   #ffffff;
  --surface-2: #faf6ee;
  --ink-bg:    #100e0c;   /* dark bands */
  --ink-bg-2:  #17130f;

  --line:      rgba(16,14,12,0.12);
  --line-2:    rgba(16,14,12,0.22);
  --line-lt:   rgba(255,255,255,0.12);

  --text:      #17130f;
  --text-inv:  #f6f2ea;
  --muted:     #6c6357;
  --muted-2:   #9a9084;
  --muted-inv: #b3a99c;

  --gold:      #a4741d;   /* accent + gold text on light */
  --gold-2:    #e7c877;   /* bright gold for dark bands */
  --gold-deep: #7c5715;

  --ink:       #100e0c;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease:      cubic-bezier(0.6, 0.01, 0.05, 0.95);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --pad:  clamp(1.25rem, 5vw, 6rem);
  --maxw: 1600px;
  --nav-h: 84px;
  /* левый край контента .wrap при любой ширине окна: за это цепляются меню и слоганы сцен,
     чтобы всё стояло по одной вертикали, а не по разным (4vw против центрированных 1600px) */
  --edge: calc(max(0px, (100vw - var(--maxw)) / 2) + var(--pad));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* overflow-x на body не сдержит переполнение, если его нет на html; clip не создаёт
   scroll-контейнер и потому не ломает ScrollTrigger pin */
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400; line-height: 1.6; overflow-x: hidden; font-size: 17px;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Typography (weight-driven hierarchy: 800 head / 600 sub / 400 body / 700 labels) ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.h-display { font-size: clamp(3rem, 11vw, 12rem); text-transform: uppercase; letter-spacing: -0.04em; }
.h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); text-transform: uppercase; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 4.6vw, 4rem); }
.h3 { font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: -0.02em; }

.label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--muted); line-height: 1.55; font-weight: 500; }
.muted { color: var(--muted); }
.gold  { color: var(--gold); }
.serif-i { font-style: italic; font-family: var(--font-display); font-weight: 600; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(5rem, 12vw, 12rem); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.divider { height: 1px; background: var(--line); width: 100%; }

.section--surface { background: var(--surface-2); }
.section--light { background: var(--surface); }

/* inverted DARK band */
.section--dark { background: var(--ink-bg); color: var(--text-inv); }
.section--dark .lead, .section--dark .muted { color: var(--muted-inv); }
.section--dark .eyebrow { color: var(--muted-inv); }
.section--dark .eyebrow::before { background: var(--gold-2); }
.section--dark .gold { color: var(--gold-2); }
.section--dark .label { color: var(--gold-2); }

/* ============================================================ NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h); display: flex; align-items: center;
  transition: transform 0.5s var(--ease), background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  border-bottom: 1px solid transparent; color: #fff; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid { background: rgba(244,239,230,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); color: var(--text); }
.nav__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; text-transform: uppercase; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-2); color: var(--gold-2); font-size: 0.85rem; transition: color .4s, border-color .4s; }
.nav.is-solid .brand__mark { border-color: var(--gold); color: var(--gold); }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.3em; color: currentColor; opacity: 0.6; font-weight: 400; }

.nav__menu { display: flex; align-items: center; gap: 2.4rem; margin-inline: auto; }
.nav__link { font-size: 0.82rem; letter-spacing: 0.02em; position: relative; padding: 0.4rem 0; text-transform: uppercase; font-weight: 600; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor; transition: width 0.4s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav.is-solid .nav__link.is-active { color: var(--gold); }

.nav__has-sub { position: relative; }
.nav__sub { position: absolute; top: calc(100% + 1.2rem); left: 50%; transform: translateX(-50%) translateY(8px); background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border: 1px solid var(--line); min-width: 300px; padding: 0.6rem; opacity: 0; visibility: hidden; transition: all 0.35s var(--ease); box-shadow: 0 24px 60px -20px rgba(16,14,12,0.25); }
.nav__has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__sub a { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; font-size: 0.85rem; text-transform: none; letter-spacing: 0; color: var(--muted); transition: color 0.3s, background 0.3s; border-radius: 2px; }
.nav__sub a:hover { color: var(--gold); background: rgba(164,116,29,0.08); }
.nav__sub a span.n { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold); }

.nav__cta { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid currentColor; padding: 0.7rem 1.3rem; border-radius: 100px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; transition: all 0.4s var(--ease); opacity: 0.9; }
.nav__cta:hover { background: var(--gold); color: #fff; border-color: var(--gold); opacity: 1; }

.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: flex-end; }
.nav__burger span { width: 26px; height: 2px; background: currentColor; transition: 0.4s var(--ease); }
.nav__burger span:nth-child(3) { width: 18px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { width: 26px; transform: translateY(-8px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 190; background: var(--ink-bg-2); color: var(--text-inv); transform: translateY(-100%); transition: transform 0.7s var(--ease); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.drawer.is-open { transform: translateY(0); }
.drawer a { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9vw, 3.4rem); text-transform: uppercase; letter-spacing: -0.02em; padding: 0.4rem 0; display: flex; align-items: baseline; gap: 1rem; }
.drawer a:hover { color: var(--gold-2); }
.drawer a .n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-2); }
.drawer__foot { margin-top: 3rem; display: flex; gap: 2rem; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted-inv); }

/* ============================================================ BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 1.8rem; border-radius: 100px; font-size: 0.82rem; text-transform: uppercase; font-weight: 700; position: relative; overflow: hidden; transition: color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); background: linear-gradient(135deg, #c08d28 0%, var(--gold) 45%, var(--gold-deep) 100%); color: #fff; box-shadow: 0 16px 34px -18px rgba(124,87,21,0.9); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(16,14,12,0.7); }
.btn::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform 0.5s var(--ease); z-index: 0; }
.btn:hover::after { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: #fff; }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost { color: var(--text-inv); border-color: var(--line-lt); }
.section--dark .btn--ghost::after { background: var(--gold); }
.section--dark .btn--ghost:hover { color: var(--ink); border-color: var(--gold); }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink-bg); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 120%; object-fit: cover; will-change: transform; filter: brightness(0.62) saturate(1.05); }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,14,12,0.35) 0%, rgba(16,14,12,0.05) 35%, rgba(16,14,12,0.7) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero .lead { color: rgba(255,255,255,0.85); }
.hero__title { margin: 1.4rem 0; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.hero__meta { max-width: 34ch; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold-2), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position:absolute; top:0; left:0; width:100%; height:40%; background: var(--gold-2); animation: scrolldot 2s infinite var(--ease); }
@keyframes scrolldot { 0%{transform:translateY(-100%)} 100%{transform:translateY(250%)} }

/* ---------- HERO variant: light sky (video, SkyElite style) ---------- */
.hero--sky { background: var(--paper); color: var(--text); align-items: center; }
.hero--sky .hero__media img, .hero--sky .hero__media video { filter: none; }
.hero--sky .hero__media::after { background: linear-gradient(180deg, rgba(244,239,230,0.72) 0%, rgba(244,239,230,0.16) 38%, rgba(244,239,230,0.14) 68%, rgba(244,239,230,0.92) 100%); }
.hero--sky .hero__inner { padding-bottom: 0; transform: translateY(-3vh); }
.hero--sky__content { text-align: center; max-width: 940px; margin-inline: auto; }
.hero--sky .hero__label { display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: #514a3d; margin-bottom: 1.2rem; }
.hero--sky .hero__title { font-family: var(--font-body); text-transform: none; font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(3.4rem, 9.5vw, 8.5rem); margin: 0; }
.hero--sky .hero__title .l1 { display: block; color: #ffffff; font-weight: 700; }
.hero--sky .hero__title .l2 { display: block; color: var(--ink); font-weight: 800; margin-top: -0.1em; }
.hero--sky .lead { margin: 1.6rem auto 2rem; max-width: 44ch; color: var(--text); }
.hero--sky .hero__scroll { color: var(--muted); }
.hero--sky .hero__trust { margin-top: 2.4rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: #5c5445; }

.pill { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.78rem 1.7rem; border-radius: 100px; font-size: 0.95rem; font-weight: 600; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.pill:hover { transform: translateY(-1px); }
.pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pill--soft { background: #ddd6c9; color: var(--ink); }
.pill--soft:hover { background: #cfc7b7; }
.pill--dark { background: #202a36; color: #fff; }
.pill--dark:hover { background: #1a2229; }

/* nav over light hero */
.nav--onlight { color: var(--text); }
.nav--onlight .brand__mark { border-color: var(--gold); color: var(--gold); }
.nav--onlight .nav__link.is-active { color: var(--gold); }

/* ---------- SCRUB HERO (stepped slides: scroll = next slide + video segment) ---------- */
.scrub { position: relative; height: 100vh; height: 100svh; background: var(--paper); }
.scrub__stage { position: relative; height: 100%; overflow: hidden; }
.scrub__media { position: absolute; inset: 0; }
.scrub__media video { width: 100%; height: 100%; object-fit: cover; }
.scrub__media::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 55% at 50% 52%, rgba(244,239,230,0.38), rgba(244,239,230,0) 70%),
  linear-gradient(180deg, rgba(244,239,230,0.7) 0%, rgba(244,239,230,0.16) 36%, rgba(244,239,230,0.12) 70%, rgba(244,239,230,0.85) 100%); }
.scrub__layer { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: var(--pad); opacity: 0; pointer-events: none; }
.scrub__layer--hero { opacity: 1; pointer-events: auto; }
.scrub .hero--sky { background: transparent; }
.scrub__statement { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; font-size: clamp(2.4rem, 7vw, 6.5rem); color: var(--ink); max-width: 1100px; }
.scrub__statement .dim { color: #ffffff; }
.scrub__sub { margin-top: 1.4rem; color: var(--text); font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 500; }
.scrub__layer--left { place-items: center start; text-align: left; }
.scrub__layer--left > div { max-width: 680px; }
.scrub__progress { position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.scrub__progress span { width: 6px; height: 6px; border-radius: 50%; background: rgba(16,14,12,0.25); transition: background .3s, transform .3s; }
.scrub__progress span.on { background: var(--gold); transform: scale(1.5); }

/* ============================================================ MARQUEE */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.6rem; white-space: nowrap; background: var(--paper); }
.marquee--dark { background: var(--ink-bg); border-color: var(--line-lt); }
.marquee__track { display: inline-flex; gap: 3.5rem; will-change: transform; }
.marquee__item { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 3.5rem; color: var(--muted-2); }
.marquee--dark .marquee__item { color: rgba(255,255,255,0.28); }
.marquee__item .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.marquee--dark .marquee__item .dot { background: var(--gold-2); }
.marquee__item .on { color: var(--text); }
.marquee--dark .marquee__item .on { color: #fff; }

/* ============================================================ CARD — карточка-принцип (about) */
.card__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease); }
.office:hover .card__n { color: var(--gold); -webkit-text-stroke-color: transparent; }

/* ============================================================ SERVICE LIST (interactive rows) */
.svc-list { display: grid; grid-template-columns: 1fr; }
.svc-item { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 2rem; padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-top: 1px solid var(--line); position: relative; transition: padding-left 0.5s var(--ease); overflow: hidden; }
.svc-item:last-child { border-bottom: 1px solid var(--line); }
.svc-item__n { font-family: var(--font-mono); color: var(--gold); font-size: 0.85rem; position: relative; z-index: 2; }
.svc-item__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; transition: color 0.4s; position: relative; z-index: 2; }
.svc-item__desc { color: var(--muted); max-width: 40ch; font-size: 0.95rem; position: relative; z-index: 2; }
.svc-item__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all 0.4s var(--ease); flex: none; position: relative; z-index: 2; }
.svc-item:hover { padding-left: 1.5rem; }
.svc-item:hover .svc-item__title { color: #fff; }
.svc-item:hover .svc-item__n { color: var(--gold-2); }
.svc-item:hover .svc-item__desc { color: rgba(255,255,255,0.75); }
.svc-item:hover .svc-item__arrow { background: var(--gold); color: #fff; border-color: var(--gold); transform: rotate(-45deg); }
.svc-item__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; transition: opacity 0.5s; }
.svc-item__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.32); }
.svc-item:hover .svc-item__bg { opacity: 1; }
@media (max-width: 760px){ .svc-item { grid-template-columns: 40px 1fr; } .svc-item__desc, .svc-item__arrow { display: none; } }

/* ============================================================ STATS */
/* разделители рисует gap поверх фона-подложки — не надо чинить border у крайних ячеек на брейкпоинтах */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(16,14,12,0.5); }
.stat { position: relative; background: var(--surface); padding: clamp(1.8rem, 3vw, 3rem);
  transition: background 0.45s var(--ease); }
.stat::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width 0.7s var(--ease); }
.stat:hover { background: var(--surface-2); }
.stat:hover::after { width: 100%; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; color: var(--gold); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: 0.45em; vertical-align: super; }
.stat__label { margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; font-family: var(--font-mono); }
.section--dark .stats { background: var(--line-lt); box-shadow: none; }
.section--dark .stat { background: #14110e; }
.section--dark .stat:hover { background: #1b1713; }
.section--dark .stat__num { color: var(--gold-2); }
.section--dark .stat__label { color: var(--muted-inv); }
@media (max-width: 860px){ .stats { grid-template-columns: 1fr 1fr; } }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > * { display: block; will-change: transform; }
.parallax-img { will-change: transform; }

/* ============================================================ SPLIT / MEDIA */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }
.media-frame { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--paper-2); border-radius: 20px; box-shadow: 0 40px 80px -50px rgba(16,14,12,0.55); }
.media-frame img { width: 100%; height: 108%; object-fit: cover; will-change: transform; }
.media-frame--wide { aspect-ratio: 16/10; }
/* тонкая внутренняя рамка + мягкое затемнение к низу — фото читается как «кадр», а не как вставка */
.media-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 -90px 90px -60px rgba(16,14,12,.55); }
.media-tag { position: absolute; bottom: 1.2rem; left: 1.2rem; border-radius: 999px; z-index: 2; background: rgba(16,14,12,0.75); backdrop-filter: blur(8px); border: 1px solid var(--line-lt); padding: 0.6rem 1rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-2); }

/* ============================================================ WCA badge */
.badge-wca { display: inline-flex; align-items: center; gap: 1rem; border: 1px solid var(--line-2); padding: 1.1rem 1.5rem; border-radius: 16px; background: var(--surface); box-shadow: 0 24px 50px -38px rgba(16,14,12,0.6); }
.section--dark .badge-wca { border-color: var(--line-lt); background: rgba(255,255,255,0.03); }
.badge-wca__ring { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-family: var(--font-display); font-weight: 800; flex: none; }
.section--dark .badge-wca__ring { border-color: var(--gold-2); color: var(--gold-2); }
.badge-wca__t { font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.5; color: var(--muted); }
.badge-wca__t b { color: var(--text); }
.section--dark .badge-wca__t { color: var(--muted-inv); }
.section--dark .badge-wca__t b { color: #fff; }


/* ============================================================ GRAIN — плёночная фактура тёмных полос */
.section--dark, .footer, .mresult, .pagehead { position: relative; }
.section--dark::after, .footer::after, .mresult::after, .pagehead::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"); }
/* .airlines зерно не получает: его ::after уже занят синим пятном подсветки */
.footer > *, .pagehead > *, .section--dark > * { position: relative; z-index: 2; }

/* ============================================================ MATCHER — подбор перевозки */
/* колонки равной ширины и растянуты по высоте — карточки зеркальны друг другу */
.matcher { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
@media (min-width: 980px){ .matcher { grid-template-columns: 1fr 1fr; } }
.matcher__controls { display: grid; align-content: space-between; gap: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 40px 80px -55px rgba(16,14,12,0.5); }
.mfield__label { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.mfield__label b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0; color: var(--gold);
  font-weight: 800; text-transform: none; }
.mchips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.mchip { padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: .88rem; font-weight: 700; color: var(--muted); transition: all .35s var(--ease); }
.mchip:hover { border-color: var(--gold); color: var(--gold); }
.mchip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mchip:focus-visible, .mrange:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mrange { -webkit-appearance: none; appearance: none; width: 100%; margin-top: 1.1rem; height: 4px; border-radius: 99px;
  background: var(--line-2); outline: none; }
.mrange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 4px 14px -2px rgba(164,116,29,.8); cursor: pointer; }
.mrange::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold);
  border: 3px solid var(--surface); cursor: pointer; }
.mrange__scale { display: flex; justify-content: space-between; margin-top: .6rem; font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .12em; color: var(--muted-2); }

/* карточка результата — тёмная, чтобы читалась как «ответ», а не ещё один элемент формы */
.mresult { position: relative; overflow: hidden; background: var(--ink-bg); color: var(--text-inv);
  border-radius: 20px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 40px 80px -45px rgba(16,14,12,.85);
  display: flex; flex-direction: column; }
/* кнопки прижаты к низу — низ карточки совпадает с низом формы слева */
.mresult__foot { margin-top: auto; }
.mresult::before { content: ''; position: absolute; top: -45%; right: -25%; width: 65%; height: 110%; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,200,119,.22), transparent 70%); pointer-events: none; }
.mresult > * { position: relative; z-index: 2; }
.mresult__eyebrow { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-inv); }
.mresult__mode { display: flex; align-items: center; gap: 1rem; margin-top: .7rem; font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.03em; }
.mresult__ico { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: rgba(231,200,119,.14); border: 1px solid rgba(231,200,119,.4); color: var(--gold-2); }
.mresult__ico svg { width: 26px; height: 26px; }
.mresult__rows { margin-top: 1.6rem; display: grid; gap: .9rem; }
.mresult__row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: baseline;
  border-top: 1px solid var(--line-lt); padding-top: .9rem; }
.mresult__row .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); }
.mresult__row .v { font-weight: 700; font-size: 1.05rem; }
.mresult__pros { list-style: none; margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.mresult__pros li { padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.07);
  border: 1px solid var(--line-lt); font-size: .78rem; font-weight: 600; color: #fff; }
.mresult__foot { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.mresult__foot .btn--ghost { border-color: var(--line-lt); color: #fff; }
/* смена рекомендации — короткая подсветка, чтобы изменение не проходило незаметно */
.mresult.is-flip { animation: mflip .5s var(--ease-out); }
@keyframes mflip { 0% { opacity: .35; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .mresult.is-flip { animation: none; } }

/* ============================================================ AIRLINE PARTNERS (dark band + logo belts) */
.airlines { position: relative; background: var(--ink-bg); color: var(--text-inv); overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem); border-block: 1px solid var(--line-lt); }
/* два золотых пятна по диагонали — дают глубину без картинки */
.airlines::before, .airlines::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px); opacity: .5; }
.airlines::before { width: 46vw; height: 46vw; top: -18vw; left: -10vw; background: radial-gradient(circle, rgba(231,200,119,.35), transparent 68%); }
.airlines::after  { width: 40vw; height: 40vw; bottom: -16vw; right: -8vw; background: radial-gradient(circle, rgba(96,150,220,.3), transparent 68%); }
.airlines__grid { position: relative; z-index: 2; display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.airlines__quote { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.5vw, 3.1rem); line-height: 1.14; letter-spacing: -0.03em; max-width: 22ch; }
.airlines__quote .serif-i { text-transform: none; }
.airlines__side { display: grid; align-content: center; gap: 1.2rem; }
.airlines__note { color: var(--muted-inv); max-width: 40ch; }
.airlines__count { display: inline-flex; align-items: baseline; gap: .8rem; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-inv); }
.airlines__count b { font-family: var(--font-display); font-size: 3.2rem; font-weight: 900; color: var(--gold-2); line-height: 1; }
@media (min-width: 900px){ .airlines__grid { grid-template-columns: 1.15fr .85fr; align-items: center; } }

/* ленты логотипов: край растворяется маской, чтобы плитки не обрубались на границе */
.airlines__belts { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee--logos { background: transparent; border: none; padding-block: 0; }
.marquee--logos .marquee__track { gap: 1.1rem; }
.marquee--logos .marquee__item { gap: 1.1rem; }
.logo-tile { flex: none; width: clamp(150px, 15vw, 210px); height: clamp(78px, 7.5vw, 104px);
  display: grid; place-items: center; padding: 1.5rem 1.4rem; border-radius: 14px;
  background: #fff; border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.9); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
/* min-*:auto у grid-элемента не даёт height:100% сжать картинку ниже её внутреннего минимума —
   у высоких логотипов (KLM) это выпихивало их за плитку */
.logo-tile img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.logo-tile:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -20px rgba(231,200,119,.55); }

/* ============================================================ OFFICES / CARDS */
.office { border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.8rem, 3vw, 3rem); transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; position: relative; overflow: hidden; background: var(--surface); }
/* золотая дымка из верхнего угла, проявляется на ховере */
.office::before { content: ''; position: absolute; top: -40%; right: -30%; width: 70%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, rgba(164,116,29,0.16), transparent 70%); opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none; }
.office:hover::before { opacity: 1; }
.office:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(16,14,12,0.32); }
.section--dark .office { background: rgba(255,255,255,0.03); border-color: var(--line-lt); }
.office__city { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.office__country { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.flag { width: 26px; height: auto; aspect-ratio: 3/2; border-radius: 3px; flex: none;
  box-shadow: 0 2px 8px -2px rgba(16,14,12,.5), 0 0 0 1px rgba(16,14,12,.12) inset; }
.office__rows { margin-top: 1.6rem; display: grid; gap: 1rem; }
.office__row { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; align-items: baseline; }
.section--dark .office__row { border-color: var(--line-lt); }
.office__row .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.office__row .v { font-size: 0.98rem; }
.office__row a:hover { color: var(--gold); }
.section--dark .office__row a:hover { color: var(--gold-2); }
@media (max-width: 520px){ .office__row { grid-template-columns: 1fr; gap: 0.3rem; } }

/* form */
/* honeypot: убираем из потока и от скринридеров, но НЕ display:none —
   часть ботов игнорирует поля, скрытые именно так */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 1rem; font-size: .9rem; min-height: 1.2em; }
.form-note.is-ok  { color: #1e7a3c; }
.form-note.is-err { color: #b3261e; }
.section--dark .form-note.is-ok { color: #7fd8a0; }
.field { position: relative; margin-bottom: 1.8rem; }
.field input, .field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-2); padding: 1rem 0; color: var(--text); font-family: var(--font-body); font-size: 1.05rem; transition: border-color 0.4s; }
.section--dark .field input, .section--dark .field textarea { color: #fff; border-color: var(--line-lt); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1rem; color: var(--muted); pointer-events: none; transition: all 0.35s var(--ease); font-size: 1.05rem; }
.section--dark .field label { color: var(--muted-inv); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: -0.6rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-family: var(--font-mono); }
.section--dark .field input:focus + label, .section--dark .field input:not(:placeholder-shown) + label,
.section--dark .field textarea:focus + label, .section--dark .field textarea:not(:placeholder-shown) + label { color: var(--gold-2); }

/* ============================================================ FOOTER (dark) */
.footer { background: var(--ink-bg-2); color: var(--text-inv); border-top: 1px solid var(--line-lt); padding-top: clamp(4rem, 8vw, 8rem); }
.footer__cta { text-align: center; padding-bottom: clamp(3rem, 6vw, 6rem); }
.footer .eyebrow { color: var(--muted-inv); }
.footer .eyebrow::before { background: var(--gold-2); }
.footer .gold { color: var(--gold-2); }
.footer__big { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; }
.footer__big a { display: inline-flex; align-items: center; gap: 1rem; transition: color 0.4s; }
.footer__big a:hover { color: var(--gold-2); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: 3.5rem; border-top: 1px solid var(--line-lt); }
.footer .brand__mark { border-color: var(--gold-2); color: var(--gold-2); }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 1.4rem; }
.footer__col a, .footer__col p { display: block; color: var(--muted-inv); font-size: 0.92rem; margin-bottom: 0.7rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--line-lt); font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted-inv); letter-spacing: 0.05em; }

/* кредит разработчика: в покое приглушён, чтобы не спорить с контентом футера */
.ft-made { display: inline-flex; align-items: center; gap: .6rem; opacity: .55;
  transition: opacity .35s var(--ease); }
.ft-made:hover { opacity: 1; }
.ft-made__lbl { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-inv); }
.ft-made__logo { width: 88px; height: auto; display: block; }
/* курсор-стрелка подсказывает, что это ссылка наружу */
.ft-made__cur { width: 13px; height: 13px; color: #b6f000; transform: translateY(-1px);
  transition: transform .35s var(--ease); }
.ft-made__cur svg { width: 100%; height: 100%; display: block; }
.ft-made:hover .ft-made__cur { transform: translate(3px, -4px); }
@media (prefers-reduced-motion: reduce){ .ft-made:hover .ft-made__cur { transform: translateY(-1px); } }
@media (max-width: 860px){ .footer__bottom { justify-content: flex-start; } }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================ PAGE HEADER (dark band) */
.pagehead { padding-top: calc(var(--nav-h) + clamp(3rem,7vw,7rem)); padding-bottom: clamp(2rem,5vw,4rem); position: relative; overflow: hidden; background: var(--ink-bg); color: #fff; min-height: 62vh; display: flex; align-items: flex-end; }
.pagehead__media { position: absolute; inset: 0; z-index: 0; }
/* top:-15% — запас под параллакс: он сдвигает фото вниз и без запаса оголял чёрный верх .pagehead */
.pagehead__media img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; filter: brightness(0.5); will-change: transform; }
.pagehead__media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(16,14,12,0.4), rgba(16,14,12,0.85)); }
.pagehead .wrap { position: relative; z-index: 2; width: 100%; }
.pagehead .eyebrow, .pagehead .label { color: rgba(255,255,255,0.75); }
.pagehead .lead { color: rgba(255,255,255,0.85); }
.pagehead__watermark { position: absolute; right: clamp(1rem,4vw,4rem); bottom: -2vw; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 26vw, 26rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(231,200,119,0.28); pointer-events: none; user-select: none; }
.crumbs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { color: var(--gold-2); }

/* ============================================================ NEW: STICKY SCROLLYTELLING (service intro) */
.scrolly { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,6rem); align-items: start; }
.scrolly__sticky { position: sticky; top: calc(var(--nav-h) + 3vh); }
.scrolly__index { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 16vw, 16rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.scrolly__title { margin-top: 1rem; }
.scrolly__body > p { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.4; color: var(--muted); padding-block: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.scrolly__body > p:first-child { padding-top: 0; }
.scrolly__body > p b, .scrolly__body > p strong { color: var(--text); font-weight: 600; }
.scrolly__body .gold { color: var(--gold); font-family: var(--font-display); font-style: italic; font-weight: 600; }
@media (max-width: 900px){ .scrolly { grid-template-columns: 1fr; } .scrolly__sticky { position: relative; top: 0; } }

/* ============================================================ NEW: BENTO features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(0.8rem, 1.4vw, 1.2rem); grid-auto-rows: minmax(180px, auto); }
.bento__cell { grid-column: span 2; border: 1px solid var(--line); background: var(--surface); padding: clamp(1.4rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; overflow: hidden; transition: border-color .4s, transform .4s, box-shadow .4s, background .4s; }
.bento__cell:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(16,14,12,0.3); }
.bento__cell--wide { grid-column: span 3; }
/* каждая возможность — отдельной строкой во всю ширину; span-модификаторы гасим */
.bento--rows { grid-template-columns: 1fr; grid-auto-rows: auto; }
.bento--rows .bento__cell,
.bento--rows .bento__cell--wide,
.bento--rows .bento__cell--tall { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
.bento--rows .bento__cell { flex-direction: row; align-items: center; justify-content: flex-start;
  gap: clamp(1rem, 3vw, 2.2rem); min-height: 104px; }
.bento--rows .bento__cell > div { flex: 1; }
.bento--rows .bento__ico { flex: none; width: 34px; height: 34px; }
.bento--rows .bento__cell--img { padding: 0; height: clamp(180px, 26vw, 260px); }
.bento--rows .bento__cell--img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px){
  .bento--rows .bento__cell { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .bento--rows .bento__cell > * { flex: initial; }
}
.bento__cell--tall { grid-row: span 2; grid-column: span 2; }
.bento__cell--dark { background: var(--ink-bg); color: #fff; border-color: transparent; }
.bento__cell--dark .bento__d { color: var(--muted-inv); }
.bento__cell--dark .bento__k { color: var(--gold-2); }
.bento__cell--img { padding: 0; }
.bento__cell--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__cell--img:hover img { transform: scale(1.06); }
.bento__ico { width: 46px; height: 46px; color: var(--gold); }
.bento__cell--dark .bento__ico { color: var(--gold-2); }
.bento__k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.bento__t { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.05; letter-spacing: -0.015em; }
.bento__d { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.bento__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; color: var(--gold-2); }
@media (max-width: 900px){ .bento { grid-template-columns: repeat(2, 1fr); } .bento__cell, .bento__cell--wide, .bento__cell--tall { grid-column: span 1; grid-row: auto; } .bento__cell--wide { grid-column: span 2; } }
@media (max-width: 560px){ .bento { grid-template-columns: 1fr; } .bento__cell--wide { grid-column: span 1; } }

/* ============================================================ NEW: PROCESS TIMELINE */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 130px 1fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.8rem, 3.5vw, 3rem); border-top: 1px solid var(--line-lt); align-items: start; position: relative; }
.step:last-child { border-bottom: 1px solid var(--line-lt); }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); color: transparent; -webkit-text-stroke: 1px var(--gold-2); line-height: 0.9; }
.step__t { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.015em; margin-bottom: 0.6rem; }
.step__d { color: var(--muted-inv); max-width: 60ch; }
.step:hover .step__n { color: var(--gold-2); -webkit-text-stroke: 1px transparent; transition: color .4s, -webkit-text-stroke .4s; }
/* золотая нить слева ведёт взгляд по шагам и подсвечивает активный */
.step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold-2), transparent); transform: scaleY(0); transform-origin: top;
  transition: transform .55s var(--ease); }
.step:hover::before { transform: scaleY(1); }
.step { padding-inline-start: 1.4rem; transition: padding-inline-start .45s var(--ease); }
.step:hover { padding-inline-start: 2rem; }

/* ============================================================ NEW: FAQ accordion */
.faq { border-top: none; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); padding-inline: clamp(1.1rem, 2vw, 1.8rem); transition: border-color .4s, box-shadow .4s, background .4s; }
.faq__item:hover { border-color: var(--line-2); box-shadow: 0 24px 50px -40px rgba(16,14,12,.7); }
.faq__item.is-open { border-color: var(--gold); box-shadow: 0 30px 60px -42px rgba(164,116,29,.9); }
.section--dark .faq__item { background: rgba(255,255,255,.03); border-color: var(--line-lt); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; text-align: left; padding: clamp(1.3rem, 2.5vw, 2rem) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.6rem); transition: color .3s; }
.faq__q:hover { color: var(--gold); }
.faq__ico { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .4s, color .4s, border-color .4s; font-size: 1.1rem; }
.faq__item.is-open .faq__ico { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq__a { overflow: hidden; height: 0; }
.faq__a > div { padding-bottom: clamp(1.3rem, 2.5vw, 2rem); color: var(--muted); max-width: 70ch; font-size: 1.02rem; line-height: 1.6; }

/* ============================================================ TICK LIST (услуги внутри услуги) */
.ticks { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.ticks li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(164,116,29,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4741d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section--dark .ticks li { color: var(--muted-inv); }
.section--dark .ticks li::before { background-color: rgba(231,200,119,0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e7c877' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.export-note { margin-top: 2.4rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold);
  background: rgba(164,116,29,0.06); border-radius: 0 4px 4px 0; }
.export-note p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.export-note p + p { margin-top: 0.6rem; }

/* ============================================================ CURSOR */
.cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
.cursor-ring { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid rgba(164,116,29,0.55); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s; }
.cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(164,116,29,0.12); border-color: var(--gold); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ============================================================ PAGE TRANSITION */
.pt-overlay { position: fixed; inset: 0; z-index: 9000; background: var(--ink-bg); transform: translateY(100%); pointer-events: none; display: grid; place-items: center; }
.pt-overlay.is-active { pointer-events: all; }
.pt-overlay__logo { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem,7vw,5rem); color: var(--gold-2); opacity: 0; }

/* preloader */
.preload { position: fixed; inset: 0; z-index: 9500; background: var(--ink-bg); color: #fff; display: grid; place-items: center; }
.preload__inner { text-align: center; }
.preload__count { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 14vw, 12rem); line-height: 1; }
.preload__bar { width: min(70vw, 340px); height: 1px; background: var(--line-lt); margin: 1.5rem auto 0; position: relative; overflow: hidden; }
.preload__bar span { position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.preload__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-inv); margin-top: 1rem; }

/* ============================================================ NAV — без подложки, по ширине слайда
   4vw слева/справа = отступ слогана .jhero-word, поэтому меню симметрично контенту сцены */
.nav { background: transparent; }
/* тот же контейнер, что у .wrap: 1600px по центру + --pad. Слоганы сцен цепляются за --edge */
.nav__inner { max-width: var(--maxw); width: 100%; margin-inline: auto; padding-inline: var(--pad);
  background: transparent; border: none; border-radius: 0; box-shadow: none; gap: 1.6rem; }
/* при скролле нужна подложка: контент уезжает под меню.
   Фон — на всей полосе (не на .nav__inner), иначе он обрывался бы по краям контейнера.
   saturate + blur = «живое» стекло: оно подбирает цвет того, что под ним, а не мутит серым */
.nav.is-solid { color: var(--text); border-bottom: 1px solid rgba(16,14,12,.07);
  background: rgba(250,246,238,.7); -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%); box-shadow: 0 10px 40px -24px rgba(16,14,12,.5); }
.nav.is-solid .nav__inner { background: transparent; border: none; }
/* волосяной блик по верхней кромке — стекло читается как объём, а не как плоский слой */
.nav.is-solid::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); }
.nav .nav__link { text-transform: none; font-size: 1.02rem; letter-spacing: 0; font-weight: 600; opacity: .9; transition: opacity .3s; }
/* «Услуги» лежит в обёртке .nav__has-sub — без flex её базовая линия уезжала от соседей */
.nav__menu { align-items: center; }
.nav__has-sub { display: flex; align-items: center; }
.nav__link--sub { display: inline-flex; align-items: center; gap: .4rem; }
.nav__caret { width: 10px; height: 7px; flex: none; transition: transform .35s var(--ease); }
.nav__has-sub:hover .nav__caret { transform: rotate(180deg); }
/* подчёркивание ведём по всей ссылке, включая стрелку */
.nav__link--sub::after { width: 0; }
.nav .nav__link:hover, .nav .nav__link.is-active { opacity: 1; }
.nav.is-solid .nav__link.is-active { color: var(--gold); }
/* над светлым небом hero — тёмный текст с белым гало; над тёмными pagehead остаётся белый */
/* без text-shadow: тёмный текст и так читается на светлом небе hero */
.nav--onlight { color: #15293b; text-shadow: none; }

/* isolation + z-index:-1 у псевдоэлементов: заливка и блик ложатся под текст,
   но остаются внутри кнопки и не перекрывают надпись */
.nav .nav__cta { position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #c08d28, var(--gold) 55%, var(--gold-deep));
  color: #fff; border: none; padding: .5rem .5rem .5rem 1.35rem; gap: .75rem;
  text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 700; opacity: 1;
  text-shadow: none; box-shadow: 0 10px 30px -12px rgba(8,12,26,.5);
  transition: color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
/* заливка на ховере — чёрная (раньше было наоборот: белая/чёрная кнопка → золото) */

/* чёрная заливка выезжает слева */
.nav .nav__cta::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateX(-101%); transition: transform .5s var(--ease); }
.nav .nav__cta:hover::before { transform: none; }
/* блик пробегает по кнопке следом за заливкой */
.nav .nav__cta::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); }
.nav .nav__cta:hover::after { animation: ctaShine .75s var(--ease) .12s; }
@keyframes ctaShine { to { left: 130%; } }

.nav .nav__cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(8,12,26,.75); }
/* стрелка в круглом шеврон-бейдже */
.nav .nav__cta span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.22); font-size: .78rem; line-height: 1;
  transition: background .4s var(--ease), transform .4s var(--ease); }

.nav .nav__cta:hover span { background: rgba(255,255,255,.28); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce){
  .nav .nav__cta::before { transition: none; }
  .nav .nav__cta:hover::after { animation: none; }
}

/* переключатель языка: флаг + код, флаг «наливается» цветом на ховере */
.lang { position: relative; display: inline-flex; align-items: center; gap: .5rem;
  height: 36px; padding: 0 .85rem 0 .5rem; border-radius: 999px;
  border: 1px solid currentColor; overflow: hidden; isolation: isolate;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em;
  opacity: .8; text-shadow: none; transition: opacity .3s var(--ease), color .35s var(--ease),
  border-color .35s var(--ease), transform .35s var(--ease); }
/* золотая заливка выезжает снизу, как у .btn */
.lang::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: translateY(101%); transition: transform .4s var(--ease); }
.lang:hover { opacity: 1; color: #fff; border-color: var(--gold); transform: translateY(-1px); }
.lang:hover::before { transform: none; }
.lang__flag { width: 22px; height: 15px; border-radius: 3px; flex: none; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(16,14,12,.18) inset; filter: saturate(.15) opacity(.75);
  transition: filter .35s var(--ease), transform .35s var(--ease); }
/* в покое флаг приглушён, на ховере оживает — не спорит с логотипом за внимание */
.lang:hover .lang__flag { filter: none; transform: scale(1.08); }
.lang__code { line-height: 1; }
.nav--onlight .lang { border-color: rgba(21,41,59,.3); }
.nav.is-solid .lang { border-color: var(--line-2); }
/* шторка тёмная, а .nav лежит поверх неё (z-index 200 против 190) — иначе тёмный
   текст «EN» и крестик сливались бы с фоном меню */
.nav.is-menu { color: #fff; text-shadow: none; }
.nav.is-menu .lang { border-color: rgba(255,255,255,.5); color: #fff; opacity: 1; }
.nav.is-menu .lang .lang__flag { filter: none; }
.nav.is-menu .nav__burger span { background: #fff; }
@media (prefers-reduced-motion: reduce){
  .lang::before { transition: none; }
  .lang:hover { transform: none; }
}

/* логотип-марка: SVG с золотым градиентом вместо кружка «VS» */
.brand__mark { width: 56px; height: 50px; border: none; border-radius: 0; display: grid; place-items: center; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.nav--onlight .brand small { opacity: .75; }

/* ============================================================ JOURNEY HERO (небо → трасса → ж/д → море) */
.journey { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.journey__stage { position: relative; height: 100%; }

.jscene { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.jscene img { max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* сцена «трасса» приходит снизу без тени: её верх (#eaf4fc) совпадает с низом неба — стык не читается.
   У «ж/д» переход боковой, там мягкая тень уместна: она отделяет слой, а не выдаёт шов */
.jscene--rail { box-shadow: -34px 0 70px -10px rgba(12,30,55,.45); }

/* сцены 2–3 скрыты до инициализации GSAP (позиции задаёт JS);
   без JS / с reduced-motion видна только первая сцена */
.jscene--road, .jscene--rail { visibility: hidden; }

/* ---- солнце ---- */
.j-sun { position: absolute; top: 6%; right: 10%; width: 22vw; height: 22vw; max-width: 320px; max-height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,244,214,.95) 0%, rgba(255,238,190,.45) 38%, rgba(255,238,190,0) 70%); }

/* ---- сцена 1: небо ---- */
.jscene--sky { background: linear-gradient(180deg, #6aa4dc 0%, #a9cdec 46%, #eaf4fc 100%); z-index: 4; }
.j-cl { position: absolute; will-change: transform; }
.j-cl--haze  { top: 6%;  left: -10%; width: 72vw; opacity: .85; z-index: 1; }
.j-cl--back  { top: 10%; right: -14%; width: 58vw; opacity: .9;  z-index: 1; }
.j-plane     { position: absolute; top: 56%; left: 70%; transform: translate(-50%, -50%); width: min(60vw, 920px); z-index: 4;
  filter: drop-shadow(0 30px 60px rgba(20,50,90,.25)); will-change: transform; }
.j-cl--mid   { bottom: -14%; left: -10%;  width: 78vw; z-index: 3; }
.j-cl--mid2  { bottom: -20%; right: -16%; width: 88vw; transform: scaleX(-1); opacity: .95; z-index: 3; }
.j-cl--front { bottom: -42%; left: -5%;   width: 112vw; z-index: 5; }
/* ЕДИНАЯ типографика всех слайдов: гигантский слоган слева-сверху, тег+CTA слева-снизу */
.jtext { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.jtext a { pointer-events: auto; }
.jhero-word { position: absolute; top: 15vh; left: var(--edge); max-width: 56vw; }
/* первый слайд центрируем по вертикали через flex у контейнера, а не top/transform:
   GSAP анимирует .jhero-word по y и затёр бы translateY(-50%) */
.jtext--hero { display: flex; align-items: center; }
.jtext--hero .jhero-word { position: static; margin-inline-start: var(--edge); }
.jhero-giant { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 4.4rem); margin: 0; }
/* строки слогана — тень лежит на глифах (не на боксе) */
.gl { display: block; }
.gl--light { color: #fff; text-shadow: 0 3px 26px rgba(18,58,112,.6), 0 1px 4px rgba(18,58,112,.35); }
.gl--dark  { color: #15293b; text-shadow: 0 2px 22px rgba(255,255,255,.75), 0 1px 3px rgba(255,255,255,.5); }
/* без overflow:hidden — иначе тень глифов режется в прямоугольную плашку, пока идёт интро */
.jhero-giant .word { display: inline-block; vertical-align: top; }
.jhero-giant .char { display: inline-block; will-change: transform; }
.jhero-sub { margin-top: 1.2rem; font-size: clamp(.78rem, .95vw, .98rem); font-weight: 600;
  color: #2b3d4a; letter-spacing: .02em; text-shadow: 0 1px 12px rgba(255,255,255,.7); }
/* первый слайд — главный слоган сайта, поэтому крупнее остальных сцен */
.jtext--hero .jhero-giant { font-size: clamp(2.2rem, 4.9vw, 4.9rem); }
/* тег сцены + «Подробнее» — в один ряд */
.jhero-actions { margin-top: 2.2rem; display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem; }
.jhero-tag { display: inline-flex; align-items: center; gap: 1rem; padding: .95rem 1.9rem; border-radius: 999px;
  background: rgba(10,20,32,.58); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: clamp(.9rem, 1.15vw, 1.15rem); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 14px 34px -16px rgba(8,25,45,.5); }
.jhero-tag .n { font-family: var(--font-mono); font-size: 1em; color: var(--gold-2); font-weight: 500; }
/* «Подробнее» — ведёт на страницу услуги этого слайда */
.jhero-more { display: inline-flex; align-items: center; gap: .8rem; padding: .95rem 1.7rem; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: clamp(.82rem, 1vw, 1rem); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 34px -14px rgba(120,80,10,.7); transition: background .35s var(--ease), transform .35s var(--ease); }
.jhero-more span { transition: transform .35s var(--ease); }
.jhero-more:hover { background: var(--gold-deep); transform: translateY(-2px); }
.jhero-more:hover span { transform: translateX(5px); }
.journey .hero__scroll { color: #54606c; z-index: 7; }

/* ---- сцена 2: трасса ---- */
.jscene--road { background: linear-gradient(180deg, #eaf4fc 0%, #d9eaf7 34%, #e6f2fb 56%, #dfe9e0 100%); z-index: 4; }
.j-cl--road-far { top: 5%; left: 4%; width: 46vw; opacity: .55; }
.j-mountains { position: absolute; bottom: 13.5vh; left: -5vw; width: 110vw; will-change: transform; }
/* дорога рисуется кодом: асфальт + краевые линии + жёлтая прерывистая разметка */
.j-road { position: absolute; bottom: 0; left: 0; width: 100%; height: 15vh;
  background: linear-gradient(180deg, #565b62 0%, #3d4147 100%); box-shadow: 0 -3px 0 rgba(255,255,255,.28); }
.j-road::before { content: ''; position: absolute; left: 0; width: 100%; top: 7%; height: 3px; background: rgba(238,238,234,.85); }
.j-road::after { content: ''; position: absolute; top: 47%; left: 0; width: 100%; height: 5px;
  background: repeating-linear-gradient(90deg, #e9d9a8 0 64px, transparent 64px 140px); opacity: .9; }
.j-truck { position: absolute; bottom: 2.8vh; left: 14vw; width: min(45vw, 610px); z-index: 5;
  transform: translateX(-70vw); filter: drop-shadow(0 10px 14px rgba(20,25,32,.28)); will-change: transform; }
.j-truck img { display: block; width: 100%; }
/* накладные крутящиеся колёса поверх PNG (сам PNG статичен) */
.jw { position: absolute; width: 6.9%; aspect-ratio: 1; border-radius: 50%; will-change: transform;
  background: url('../img/hero/wheel.png') center / contain no-repeat; }

/* ---- сцена 3: ж/д ---- */
.jscene--rail { background: linear-gradient(180deg, #b3d2ec 0%, #e9f2f6 58%, #d9ded6 100%); z-index: 4; }
/* фото-фон степи на весь экран; насыпь, шпалы и рельс рисуются кодом.
   --rail — уровень головки рельса от низа экрана; колёса поезда садятся ровно на него.
   --tw — ширина поезда; у train.png снизу 12% прозрачного поля, отсюда поправка .0121 */
.jscene--rail { --rail: 13.4vh; --tw: min(92vw, 1450px); }
/* фон шире экрана: параллакс сдвигает его, но края не оголяются */
.j-rail-far { position: absolute; top: 0; bottom: 0; left: -8%; width: 116%; height: 100%; object-fit: cover; will-change: transform; }
/* насыпь щебня — узкая полоса под шпалами, низ растворяется в траве фона */
.j-ballast { position: absolute; bottom: calc(var(--rail) - 5vh); left: 0; width: 100%; height: 3.8vh;
  background: linear-gradient(180deg, #8b8375 0%, #6b6153 40%, #4e4639 78%, rgba(62,56,44,0) 100%); }
.j-ballast::before { content: ''; position: absolute; inset: 0; opacity: .6;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.2) 0 2px, transparent 2px 5px),
              repeating-linear-gradient(62deg, rgba(0,0,0,.26) 0 2px, transparent 2px 4px); }
/* шпалы + головка рельса (верх блока = уровень рельса) */
.j-track { position: absolute; bottom: calc(var(--rail) - 2.4vh); left: -4vw; width: 108vw; height: 2.4vh; z-index: 4; }
.j-track::before { content: ''; position: absolute; top: 4px; bottom: 0; left: 0; right: 0;
  background: repeating-linear-gradient(90deg, #4e3d2c 0 30px, transparent 30px 86px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.j-track::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(180deg, #b9c2ca 0%, #6d757e 55%, #3f454c 100%); }
.j-train { position: absolute; bottom: calc(var(--rail) - var(--tw) * 0.0121); left: 6vw; width: var(--tw); z-index: 5;
  transform: translateX(-160vw); filter: drop-shadow(0 6px 12px rgba(20,25,32,.4)); will-change: transform; }

/* панели сцен 2–3: та же типографика, появляются по скроллу */
.jtext--panel { opacity: 0; visibility: hidden; }

/* ---- прогресс ---- */
.journey__progress { position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%);
  z-index: 9; display: flex; flex-direction: column; gap: 10px; }
.journey__progress span { width: 6px; height: 6px; border-radius: 50%; background: rgba(16,14,12,.25);
  transition: background .3s, transform .3s; }
.journey__progress span.on { background: var(--gold); transform: scale(1.5); }

@media (max-width: 768px){
  .j-plane { width: 100vw; top: 48%; left: 54%; }
  .j-cl--mid { width: 130vw; } .j-cl--mid2 { width: 140vw; } .j-cl--front { width: 170vw; }
  .j-mountains { width: 220vw; left: -60vw; bottom: 11vh; }
  .j-road { height: 12vh; }
  .j-truck { width: 78vw; left: 6vw; bottom: 2vh; }
  /* поезд крупнее: ось задаёт --rail, а компенсация низа считается от --tw — сцена сама пересчитается */
  .jscene--rail { --rail: 11vh; --tw: 320vw; }
  .j-train { left: 0; }
  .jhero-word { top: calc(var(--nav-h) + 3vh); left: var(--edge); right: var(--edge); max-width: none; }
  .jhero-giant { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
  /* у .jtext--hero своя, более специфичная строка размера — без неё слоган 1-го слайда
     остался бы desktop-размером (на 390px это 38px и текст лез к краю) */
  .jtext--hero .jhero-giant { font-size: clamp(1.9rem, 8.6vw, 3.1rem); }
  /* на узком экране центровка по вертикали загоняла текст на самолёт — прижимаем к верху */
  .jtext--hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 3vh); }
  /* слоган во всю ширину экрана, без правого поля-ограничителя */
  .jtext--hero .jhero-word { margin-inline-end: var(--edge); max-width: none; width: 100%; }
  .jhero-sub { font-size: .68rem; margin-top: .9rem; }
  .jhero-actions { margin-top: 1.4rem; gap: .7rem; }
  .jhero-tag { font-size: .72rem; padding: .7rem 1.2rem; gap: .7rem; }
  .jhero-more { font-size: .72rem; padding: .7rem 1.2rem; gap: .6rem; }
  .j-plane { top: 62%; left: 52%; }
}
/* ============================================================ RESPONSIVE */
@media (max-width: 1024px){
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  /* меню скрыто — без этого space-between оставлял «Связаться» болтаться по центру */
  .nav .nav__cta { margin-inline-start: auto; }

  /* мобильная шапка при скролле — чёрная (на десктопе остаётся светлое стекло).
     Вместе с фоном переопределяем всё, что было рассчитано на светлую подложку:
     цвет текста, кромку, блик и рамку переключателя */
  .nav.is-solid { color: #fff; background: rgba(10,9,8,.92);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 10px 40px -22px rgba(0,0,0,.9); }
  .nav.is-solid::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
  .nav.is-solid .nav__burger span { background: #fff; }
  .nav.is-solid .lang { border-color: rgba(255,255,255,.45); color: #fff; }
  .nav.is-solid .lang .lang__flag { filter: none; }
  .nav--onlight.is-solid { color: #fff; }
  .split { grid-template-columns: 1fr; }
  .split--rev { direction: ltr; }
  .stats { grid-template-columns: 1fr 1fr; }
  /* 56vw хватало десктопу, а на планшете тег и кнопка уже не вставали в строку */
  .jhero-word { max-width: 78vw; }
}
@media (max-width: 620px){
  :root { --nav-h: 72px; }
  body { font-size: 16px; }
  .footer__big { font-size: clamp(1.5rem, 7vw, 2rem); }
  /* на мобильном оставляем только знак: текст «VS AIR CARGO» съедал всю ширину навбара */
  .brand > span:not(.brand__mark) { display: none; }
  .brand__mark { width: 58px; height: 50px; }
  .nav__inner { gap: .6rem; }
  .nav .nav__cta { padding: .42rem .42rem .42rem 1rem; font-size: .74rem; gap: .5rem; }
  .nav .nav__cta span { width: 24px; height: 24px; }
}
/* на совсем узких «Связаться» не влезает рядом с логотипом — те же контакты есть в меню-шторке */
@media (max-width: 400px){
  .nav .nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll-line::after { animation: none; }
  * { scroll-behavior: auto !important; }
}
