/* =========================================================
   GESTUS — "Naktinis reisas" (night run)
   ========================================================= */
:root {
  --bg: #07060d;
  --bg-2: #0d0b16;
  --bg-3: #15121f;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f4f3f8;
  --muted: #8f8ba3;
  --coral: #ff3d4f;
  --coral-glow: rgba(255, 61, 79, .45);
  --ice: #9fd6ff;
  --amber: #ffc46b;

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--coral); }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .96; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.h2 { font-size: clamp(44px, 7vw, 120px); }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; color: var(--muted); }
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 26px; }
.eyebrow i { font-style: normal; color: var(--coral); }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.head-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }

/* split words */
.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .02em .12em; margin: -.16em -.02em -.12em; }
.w-in { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px; border-radius: 2px; overflow: hidden; isolation: isolate;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s, box-shadow .4s;
}
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn--lg { --h: 60px; padding: 0 30px; }
.btn--xl { --h: 76px; padding: 0 44px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 14px 40px -14px var(--coral-glow); }
.btn--coral::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.btn--coral:hover { color: var(--bg); }
.btn--coral:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--line { color: #fff; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--line:hover { border-color: #fff; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: var(--bg); color: #fff; }
.js .preloader { display: grid; animation: preloader-failsafe .6s ease 9s forwards; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.no-preload .preloader { display: none; }
.preloader::before { content: ""; position: absolute; left: 50%; top: 50%; width: 60vmax; height: 60vmax; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 61, 79, .14), transparent 60%); pointer-events: none; }
.preloader__inner { position: relative; width: min(560px, 82vw); }
.preloader .logo { width: 100%; height: auto; }
.preloader__speedo { display: flex; align-items: baseline; gap: 10px; margin-top: 34px; }
.preloader__num { font-family: var(--display); font-size: clamp(64px, 12vw, 110px); line-height: .85; font-variant-numeric: tabular-nums; min-width: 2.1ch; }
.preloader__unit { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--coral); }
.preloader__bar { margin-top: 18px; height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--coral); box-shadow: 0 0 12px var(--coral); transform-origin: left; transform: scaleX(0); }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }

.logo { overflow: visible; display: block; }
.logo__ink path { fill: currentColor; }
.logo__road { fill: var(--coral); }
/* preloader: outline is drawn first (pathLength=1), then the fill comes in */
.logo--draw path { stroke-width: 1.1px; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.logo--draw .logo__ink path { stroke: currentColor; }
.logo--draw .logo__road { stroke: var(--coral); }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: transform .5s var(--ease), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); padding: 0 var(--gutter); max-width: var(--container); margin: 0 auto; }
.header__logo { width: 196px; flex: none; }
.header__logo .logo { width: 100%; height: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav > a { display: inline-flex; gap: 8px; align-items: baseline; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); transition: color .3s; position: relative; padding: 6px 0; }
.nav > a i { font-style: normal; font-size: 10px; color: var(--coral); }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover, .nav > a.is-active { color: #fff; }
.nav > a:hover::after, .nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.lang button { padding: 6px 7px; color: rgba(255, 255, 255, .5); transition: color .3s; position: relative; }
.lang button[aria-pressed="true"] { color: #fff; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 2px; height: 1px; background: var(--coral); }
.lang button:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--line-2); border-radius: 2px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.header.is-scrolled { background: rgba(7, 6, 13, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }

/* =========================================================
   DRIVE (scroll-driven hero)
   ========================================================= */
.drive { position: relative; height: 900vh; background: var(--bg); }
.drive__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.drive__canvas, .drive__poster, .drive__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.drive__poster img { object-fit: cover; }
.drive.is-ready .drive__poster { opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.drive__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 6, 13, .85) 0%, rgba(7, 6, 13, .35) 45%, rgba(7, 6, 13, 0) 70%),
    linear-gradient(0deg, rgba(7, 6, 13, .9) 0%, rgba(7, 6, 13, 0) 40%),
    linear-gradient(180deg, rgba(7, 6, 13, .55) 0%, rgba(7, 6, 13, 0) 22%);
}
.drive__grain {
  position: absolute; inset: -50%; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.scene { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(120px, 17vh, 190px); max-width: var(--container); margin: 0 auto; }
.scene--2, .scene--3 { opacity: 0; visibility: hidden; }
.scene__eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 22px; display: flex; gap: 12px; align-items: center; }
.scene__eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px var(--coral); }
.scene__title { font-size: clamp(54px, 10vw, 180px); max-width: 9.5em; }
.scene--1 .scene__title { max-width: 8em; }
.scene__lead { margin-top: 26px; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .78); }
.scene__buttons { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.scene__stats { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 210px)); border-top: 1px solid var(--line-2); }
.scene__stats li { padding: 18px 20px 0 0; }
.scene__stats li + li { padding-left: 20px; border-left: 1px solid var(--line-2); }
.scene__stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 42px); line-height: 1; }
.scene__stats span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scene--3 { text-align: right; }
.scene--4 { opacity: 0; visibility: hidden; top: calc(var(--header-h) + 3vh); bottom: auto; }
.scene--4 .scene__title { font-size: clamp(40px, 6vw, 104px); }
.scene--4 .map__legend { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }

/* map phase */
.drive__map { position: absolute; inset: 0; z-index: 1; visibility: hidden; overflow: hidden; pointer-events: none; }
.drive__map .map__dots { opacity: 0; }
.truck-pin { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; opacity: 0; pointer-events: none; }
.truck-pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 61, 79, .55), 0 0 24px 8px rgba(255, 61, 79, .55); }
.truck-pin::after { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 61, 79, .8); animation: pinring 1.8s var(--ease) infinite; }
@keyframes pinring { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.drive__map .map__dots { filter: brightness(1.9) saturate(.6); }
.drive__map-inner { position: absolute; left: 0; top: 0; width: 1200px; height: 640px; transform-origin: 0 0; }
.drive__map .map__dots, .drive__map .map__routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.truck-trail { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 61, 79, .9)); }
.truck-dot { fill: #fff; }
.truck-glow { fill: var(--coral); opacity: .35; transform-box: fill-box; transform-origin: center; animation: truckglow 1.4s ease-in-out infinite; }
@keyframes truckglow { 50% { transform: scale(1.6); opacity: .15; } }
.drive__skip { position: absolute; z-index: 4; right: var(--gutter); top: calc(var(--header-h) + 14px); color: rgba(255, 255, 255, .6); padding: 8px 0; transition: color .3s; }
.drive__skip:hover { color: var(--coral); }
.scene--3 .scene__title, .scene--3 .scene__lead { margin-left: auto; }

.hud { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; max-width: var(--container); margin: 0 auto; }
.hud__km > span { display: block; color: var(--muted); }
.hud__km b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; min-width: 4.6ch; }
.hud__track { position: relative; height: 1px; background: var(--line-2); margin-bottom: 9px; }
.hud__track span { position: absolute; inset: 0; background: var(--coral); box-shadow: 0 0 10px var(--coral); transform-origin: left; transform: scaleX(0); }
.hud__track::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line-2); }
.hud__scroll { display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .7); margin-bottom: 2px; }
.hud__scroll em { width: 1px; height: 28px; background: var(--line-2); position: relative; overflow: hidden; }
.hud__scroll em::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--coral); animation: scrollline 1.6s var(--ease) infinite; }
@keyframes scrollline { to { top: 110%; } }

/* =========================================================
   ROUTES
   ========================================================= */
.routes { background: var(--bg); }
.map__dots { filter: brightness(1.15) saturate(.5); }
.map__routes { overflow: visible; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: 1.6; stroke-linecap: round; }
.route--asia { stroke-dasharray: 2 6; stroke: rgba(255, 61, 79, .9); }
.route-pulse { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 61, 79, 1)); }
.city { fill: var(--bg); stroke: var(--coral); stroke-width: 2; }
.city--north { stroke: var(--ice); }
.city--asia { stroke: var(--amber); }
.city-ring { fill: none; stroke: var(--coral); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map.is-live .city-ring { animation: cityring 2.4s var(--ease) infinite; }
@keyframes cityring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.hub { fill: var(--coral); }
.hub-glow { fill: url(#hubGlow); }
.hub-ring { fill: none; stroke: var(--coral); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: hubring 2.6s var(--ease) infinite; }
.hub-ring:nth-of-type(2) { animation-delay: 1.3s; }
@keyframes hubring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.city-label { font-family: var(--mono); font-size: 13px; fill: rgba(255, 255, 255, .85); letter-spacing: .08em; text-transform: uppercase; }
.city-label--hub { font-size: 15px; fill: #fff; font-weight: 600; }
.map__legend { display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.map__legend li { display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--coral); }
.dot--hub { background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.dot--north { border-color: var(--ice); }
.dot--asia { border-color: var(--amber); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.number { padding: 34px 28px 0 0; }
.number + .number { padding-left: 28px; border-left: 1px solid var(--line); }
.number b { font-size: clamp(64px, 8vw, 128px); font-variant-numeric: tabular-nums; }
.number > span { display: inline-block; margin-left: 8px; color: var(--coral); }
.number p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 280px; }

/* =========================================================
   COLD CHAIN
   ========================================================= */
.cold { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: clamp(100px, 12vw, 160px) 0; }
.cold__media { position: absolute; inset: 0; }
.cold__media img { width: 100%; height: 115%; object-fit: cover; filter: saturate(.85); }
.cold__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 13, .95) 0%, rgba(7, 6, 13, .78) 45%, rgba(7, 6, 13, .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%); }
.cold__inner { position: relative; }
.cold__temp { font-size: clamp(110px, 22vw, 360px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ice); font-variant-numeric: tabular-nums; margin-bottom: 26px; text-shadow: 0 0 60px rgba(159, 214, 255, .25); }
.cold__temp sup { font-size: .28em; vertical-align: top; position: relative; top: .25em; -webkit-text-stroke: 0; color: var(--ice); }
.cold .h2 { max-width: 9em; }
.cold .lead { margin-top: 28px; max-width: 620px; color: rgba(255, 255, 255, .72); }
.ticks { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.ticks li { padding: 10px 14px; border: 1px solid rgba(159, 214, 255, .3); color: var(--ice); background: rgba(159, 214, 255, .05); }

/* =========================================================
   SERVICES (list on desktop, swipe on mobile)
   ========================================================= */
.services { background: var(--bg-2); }
.srv { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.srv__item { position: relative; display: grid; grid-template-columns: 90px 1fr 420px; gap: 28px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); overflow: hidden; }
.srv__item:last-child { border-bottom: 1px solid var(--line); }
.srv__item::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255, 61, 79, .14), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.srv__item > * { position: relative; z-index: 1; }
.srv__num { color: var(--coral); }
.srv__item h3 { font-size: clamp(30px, 3.6vw, 60px); transition: transform .6s var(--ease); }
.srv__item p { color: var(--muted); font-size: 15.5px; }
.srv__item:hover { padding-left: 18px; }
.srv__item:hover::before { transform: scaleX(1); }
.srv__item:hover h3 { transform: translateX(6px); }
.swipe__dots { display: none; }

/* =========================================================
   FLEET
   ========================================================= */
.fleet { background: var(--bg); position: relative; overflow: hidden; }
.fleet__pin { padding: clamp(60px, 8vh, 110px) 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.head-row--fleet { margin-bottom: clamp(28px, 4vh, 56px); grid-template-columns: 1fr auto; }
.fleet__counter { color: var(--muted); text-align: right; }
.fleet__counter #fleetNow { color: #fff; font-size: 14px; }
.fleet__progress { width: 200px; height: 1px; background: var(--line-2); margin-top: 14px; }
.fleet__progress span { display: block; height: 100%; background: var(--coral); transform-origin: left; transform: scaleX(0); }
.fleet__track { display: flex; gap: 22px; width: max-content; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); will-change: transform; }
.truck { width: min(600px, 84vw); flex: none; display: grid; grid-template-rows: auto 1fr; background: var(--bg-3); border: 1px solid var(--line); transition: border-color .4s; }
.truck:hover { border-color: rgba(255, 61, 79, .55); }
.truck__media { height: clamp(160px, 28vh, 320px); overflow: hidden; position: relative; }
.truck__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-3), transparent 45%); }
.truck__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.truck:hover .truck__media img { transform: scale(1.06); }
.truck__body { padding: 22px 28px 28px; display: flex; flex-direction: column; }
.truck__tag { color: var(--coral); }
.truck h3 { font-size: clamp(34px, 3vw, 50px); margin-top: 10px; }
.truck__cap { margin-top: 8px; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specs div { padding: 12px 10px 12px 0; }
.specs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 10.5px; }
.specs dd { margin: 4px 0 0; font-size: 14px; color: #fff; white-space: nowrap; }
.truck__note { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.truck .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 1025px) and (max-height: 860px) { .truck__note { display: none; } }
/* desktop screens up to 1200px tall: the pinned section must fit the viewport, buttons included (sizes follow vh) */
@media (min-width: 1025px) and (max-height: 1199px) {
  .fleet__pin { padding: 72px 0 24px; }
  .head-row--fleet { margin-bottom: 18px; }
  .head-row--fleet .h2 { font-size: clamp(40px, 9vh, 96px); }
  .truck__media { height: clamp(120px, 21vh, 240px); }
  .truck__body { padding: 14px 24px 18px; }
  .truck h3 { font-size: clamp(26px, 4.2vh, 44px); margin-top: 6px; }
  .specs { margin: 10px 0 12px; }
  .specs div { padding-top: 7px; padding-bottom: 7px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { overflow: hidden; background: var(--bg-2); }
.about__year { position: absolute; left: 0; right: 0; top: clamp(30px, 5vw, 60px); pointer-events: none; overflow: hidden; }
.about__year-track { display: flex; gap: .3em; width: max-content; font-size: clamp(160px, 26vw, 420px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); animation: marquee 40s linear infinite; }
.about__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); padding-top: clamp(120px, 16vw, 260px); }
.values { margin-top: 44px; border-top: 1px solid var(--line); }
.values li { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.values li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.about__text .lead { color: var(--text); }
.about__text > p:not(.lead) { margin-top: 22px; color: var(--muted); }
.key { margin-top: 40px; padding: 30px 32px; border-left: 2px solid var(--coral); background: linear-gradient(90deg, rgba(255, 61, 79, .08), transparent); }
.key h3 { font-size: 32px; margin-bottom: 12px; }
.key p { color: var(--muted); }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { padding: clamp(70px, 9vw, 120px) 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(30px, 4vw, 70px); width: max-content; font-size: clamp(56px, 9vw, 150px); animation: marquee 30s linear infinite; }
.marquee__track span { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); transition: color .4s, -webkit-text-stroke-color .4s; white-space: nowrap; }
.marquee__track span:hover { color: #fff; -webkit-text-stroke-color: #fff; }
.marquee__track i { width: .2em; height: .2em; border-radius: 50%; background: var(--coral); box-shadow: 0 0 20px var(--coral); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(255, 61, 79, .22), transparent 70%), var(--bg); }
.cta__road { position: absolute; left: 50%; bottom: 0; width: 4px; height: 100%; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .14) 0 40px, transparent 40px 80px); animation: lane 1s linear infinite; opacity: .6; }
@keyframes lane { to { background-position: 0 80px; } }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(50px, 9vw, 160px); max-width: 10em; }
.cta .lead { margin: 28px 0 44px; max-width: 620px; color: rgba(255, 255, 255, .75); }

/* =========================================================
   CONTACTS & FORM
   ========================================================= */
.contacts { background: var(--bg-2); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.cline { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.cline span { color: var(--muted); }
.cline b { font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); }
.cline b span { color: inherit; }
a.cline:hover { padding-left: 12px; }
a.cline:hover b { color: var(--coral); }
.requisites { margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; text-transform: none; }
.requisites dt { color: var(--muted); font-size: 10.5px; text-transform: uppercase; }
.requisites dd { margin: 4px 0 0; font-size: 13px; color: #fff; word-break: break-all; }

.form-card { position: relative; padding: clamp(26px, 3.4vw, 44px); background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.form-card::before { content: ""; position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 79, .28), transparent 70%); pointer-events: none; }
.form-card__title { position: relative; font-size: clamp(36px, 3.4vw, 52px); }
.form-card__text { position: relative; margin-top: 10px; color: var(--muted); font-size: 15px; }
.order-form { position: relative; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--route { grid-template-columns: 1fr auto 1fr; align-items: center; }
.route-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--coral); border: 1px solid rgba(255, 61, 79, .4); }
.field { position: relative; display: block; }
.field input, .field select, .field textarea { width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: 0; font: inherit; font-size: 15.5px; color: #fff; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); transition: border-color .3s, background-color .3s; appearance: none; -webkit-appearance: none; }
.field textarea { height: auto; min-height: 100px; padding-top: 26px; resize: vertical; }
.field select { cursor: pointer; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3d4f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: #111; }
.field > span { position: absolute; left: 17px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: rgba(255, 61, 79, .05); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field--select > span { transform: translateY(-10px) scale(.74); color: rgba(255, 255, 255, .7); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a96; background: rgba(255, 61, 79, .08); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; margin: 4px 0 6px; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-2); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease); }
.check input:checked { background: var(--coral); border-color: var(--coral); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check.is-invalid input { border-color: #ff8a96; }
.form-status { min-height: 1.4em; font-size: 14px; color: #ffb0b8; }
.order-form.is-sending .btn { pointer-events: none; opacity: .75; }
.order-form.is-sending .btn .ico { animation: drive .8s linear infinite; }
@keyframes drive { 0% { transform: translateX(-4px); } 50% { transform: translateX(6px); } 100% { transform: translateX(-4px); } }
.form-success { position: relative; text-align: center; padding: 40px 10px 20px; }
.form-success h3 { font-size: 40px; margin-top: 18px; }
.form-success p { margin-top: 10px; color: var(--muted); }
.form-success__truck { width: 200px; margin: 0 auto; overflow: visible; }
.fs-road { stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 8 6; animation: road 1s linear infinite; }
.fs-truck { fill: none; stroke: var(--coral); stroke-width: 2.4; stroke-linejoin: round; animation: truckin 1.4s var(--ease) both; }
@keyframes road { to { stroke-dashoffset: -28; } }
@keyframes truckin { from { transform: translateX(-140px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); padding: 40px 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { margin: 30px 0 50px; color: rgba(255, 255, 255, .85); }
.footer__big .logo { width: 100%; height: auto; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__grid > p { color: var(--muted); max-width: 360px; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 10px; text-transform: none; font-size: 13px; color: var(--muted); }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--coral); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; color: var(--muted); }
.footer__credit { font-size: 12px; opacity: .7; transition: opacity .3s; }
.footer__credit:hover { opacity: 1; }
.to-top { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--muted); transition: color .3s; }
.to-top:hover { color: var(--coral); }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 6, 13, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal__panel { position: relative; width: min(720px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(24px, 4vw, 44px); background: var(--bg-2); border: 1px solid var(--line-2); }
.modal__title { font-size: clamp(38px, 5vw, 64px); margin-bottom: 24px; padding-right: 50px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 20px; transition: transform .4s var(--ease), background-color .3s, border-color .3s; z-index: 2; }
.modal__close:hover { transform: rotate(90deg); background: var(--coral); border-color: var(--coral); }
.modal .form-card { padding: 0; background: none; border: 0; }
.modal .form-card::before, .modal .form-card__title, .modal .form-card__text { display: none; }
.modal .order-form { margin-top: 0; }
body.modal-open { overflow: hidden; }

/* =========================================================
   REVEAL initial states (only with JS)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(36px); }
.js .split { visibility: hidden; }
.js .split.is-split { visibility: visible; }
html.js:not(.app-ready) .reveal, html.js:not(.app-ready) .split { animation: content-failsafe .6s ease 2s forwards; }
@keyframes content-failsafe { to { opacity: 1; transform: none; visibility: visible; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) { .nav { gap: 20px; } .header__cta { display: none; } }

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .header__cta { display: inline-flex; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gutter) 40px; background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav > a { font-family: var(--display); font-size: clamp(44px, 12vw, 80px); letter-spacing: 0; color: #fff; padding: 2px 0; gap: 14px; }
  .nav > a i { font-family: var(--mono); font-size: 12px; }
  .nav > a::after { display: none; }
  .nav__extra { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
  .head-row, .about__grid, .contacts__grid, .head-row--fleet { grid-template-columns: 1fr; }
  .fleet__counter { display: none; }

  /* swipe carousels */
  .swipe { position: relative; }
  .swipe__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); width: auto; max-width: none; }
  .swipe__track::-webkit-scrollbar { display: none; }
  .swipe__track > * { scroll-snap-align: start; flex: 0 0 auto; }
  .swipe__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
  .swipe__dots button { width: 22px; height: 3px; background: var(--line-2); transition: background-color .3s, width .4s var(--ease); }
  .swipe__dots button.is-active { background: var(--coral); width: 40px; }

  .srv__item { width: min(82vw, 380px); min-height: 300px; display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; border: 1px solid var(--line); background: var(--bg-3); }
  .srv__item:last-child { border-bottom: 1px solid var(--line); }
  .srv__item:hover { padding-left: 24px; }
  .srv__item h3 { font-size: 38px; }
  .srv__item p { margin-top: auto; }
  .fleet__pin { min-height: 0; }
  .truck { width: 84vw; }
  .truck__media { height: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .header__logo { width: 142px; }
  .drive { height: 780vh; }
  .scene--4 .scene__title { font-size: clamp(36px, 11vw, 60px); }
  .scene--4 .map__legend { font-size: 10.5px; gap: 6px 14px; }
  .drive__skip { top: auto; bottom: 70px; }
  .drive__shade { background: linear-gradient(0deg, rgba(7, 6, 13, .95) 0%, rgba(7, 6, 13, .55) 42%, rgba(7, 6, 13, 0) 70%), linear-gradient(180deg, rgba(7, 6, 13, .6) 0%, rgba(7, 6, 13, 0) 20%); }
  .scene { bottom: 108px; }
  .scene__title { font-size: clamp(50px, 15vw, 90px); }
  .scene__lead { font-size: 15px; margin-top: 18px; }
  .scene__buttons { margin-top: 26px; }
  .scene__buttons .btn { flex: 1 1 100%; --h: 54px; }
  .scene__stats { grid-template-columns: 1fr 1fr; }
  .scene__stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .scene--3 { text-align: left; }
  .scene--3 .scene__title, .scene--3 .scene__lead { margin-left: 0; }
  .hud { bottom: 22px; grid-template-columns: auto 1fr; }
  .hud__scroll { display: none; }
  .hud__km b { font-size: 26px; }
  .h2 { font-size: clamp(44px, 13vw, 72px); }
  .numbers { grid-template-columns: 1fr; }
  .number + .number { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .number { padding: 26px 0; }
  .city-label { font-size: 20px; }
  .city-label--hub { font-size: 22px; }
  .cold__temp { font-size: 34vw; }
  .field-row, .field-row--route, .footer__grid { grid-template-columns: 1fr; }
  .requisites, .specs { grid-template-columns: 1fr 1fr; }
  .route-arrow { justify-self: center; transform: rotate(90deg); }
  .specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .btn--xl { --h: 64px; padding: 0 28px; font-size: 13px; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .split { visibility: visible; }
  .drive__grain { display: none; }
}

/* ---------- Privacy policy page ---------- */
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .3s, text-decoration-color .3s; }
.check a:hover { color: var(--coral); text-decoration-color: var(--coral); }
.policy__back { color: rgba(255, 255, 255, .72); transition: color .3s; white-space: nowrap; }
@media (max-width: 520px) { .policy__back { display: none; } } /* the footer keeps its own back link */
@media (max-width: 400px) {
  .header__inner { gap: 12px; }
  .header__logo { width: 116px; }
  .header__actions { gap: 8px; }
  .lang button { padding: 6px; }
  .lang button[aria-pressed="true"]::after { left: 6px; right: 6px; }
}
.policy__back:hover { color: #fff; }
.policy { padding: calc(var(--header-h) + 64px) 0 96px; }
.policy__body { max-width: 760px; }
.policy__body[hidden] { display: none; }
.policy__body h1 { font-size: clamp(44px, 8vw, 96px); line-height: .98; margin-bottom: 56px; }
.policy__sec { padding: 28px 0; border-top: 1px solid var(--line); }
.policy__sec h2 { font-family: var(--body); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.policy__sec h2 i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--coral); letter-spacing: .08em; }
.policy__sec p, .policy__sec li { color: rgba(244, 243, 248, .78); font-size: 16px; }
.policy__sec p + p, .policy__sec ul + p, .policy__sec p + ul { margin-top: 12px; }
.policy__sec ul { padding-left: 20px; list-style: disc; }
.policy__sec li::marker { color: var(--coral); }
.policy__sec a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--coral); }
.policy__sec a:hover { color: var(--coral); }
@media (max-width: 760px) {
  .policy { padding-top: calc(var(--header-h) + 36px); }
  .policy__body h1 { margin-bottom: 36px; }
}
