/* ==========================================================================
   ООО «ПТГ» — грузоперевозки. Тёмная тема, оранжевый акцент.
   ========================================================================== */

:root {
  --bg: #000;
  --fg: #fff;
  --dim: #3a3a3a;          /* «приглушённая» вторая половина заголовков */
  --mut: #9a9a9a;          /* второстепенный текст */
  --card: #0e0e0e;
  --card-hover: #161616;
  --line: rgba(255, 255, 255, .16);
  --accent: #ff4f00;
  --accent-soft: rgba(255, 79, 0, .18);
  --pad: clamp(20px, calc(4 * var(--vw)), 48px);
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Масштаб сайта. --vw/--vh — «честные» 1vw/1vh с поправкой на zoom */
  --z: 1;
  --vw: 1vw;
  --vh: 1vh;
}

/* Масштаб 125% на широких экранах (как браузерный zoom). Чтобы вернуть 100% — удалите этот блок. */
@media (min-width: 1366px) {
  :root { --z: 1.25; --vw: calc(1vw / 1.25); --vh: calc(1vh / 1.25); }
  html { zoom: 1.25; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, calc(11 * var(--vw)), 160px); position: relative; }

/* ---------- Свой курсор (assets/mus.png → cursor*.png: белый, на кликабельном — оранжевый) ---------- */
html, body, * {
  cursor: url("../assets/cursor.png") 4 2, auto;
  cursor: image-set(url("../assets/cursor.png") 1x, url("../assets/cursor@2x.png") 2x) 4 2, auto;
}
a, a *, button, button *, summary, select, label, [role="button"], .check, .check * {
  cursor: url("../assets/cursor-hover.png") 4 2, pointer;
  cursor: image-set(url("../assets/cursor-hover.png") 1x, url("../assets/cursor-hover@2x.png") 2x) 4 2, pointer;
}
input:not([type="checkbox"]), textarea { cursor: text; }

/* ---------- Свечение за курсором (на заднем плане, под всем текстом) ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: -1; width: calc(460px / var(--z)); height: calc(460px / var(--z)); border-radius: 50%;
  pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); will-change: transform;
  background: radial-gradient(circle, rgba(255, 79, 0, .26) 0%, rgba(255, 79, 0, .1) 38%, transparent 68%);
}
.cursor-glow.is-on { opacity: 1; }

/* ---------- Типографика ---------- */
.h2 {
  font-size: clamp(32px, calc(4.6 * var(--vw)), 72px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 400;
  text-transform: uppercase;
}
.h2 span { color: var(--dim); }
.h3 {
  font-size: clamp(20px, calc(1.9 * var(--vw)), 28px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 400;
  text-transform: uppercase;
}
.muted { color: var(--mut); }
.aside { font-size: 14px; line-height: 1.35; color: var(--mut); max-width: 270px; text-align: right; letter-spacing: -.01em; }

.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(40px, calc(6 * var(--vw)), 88px);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
  background: #fff; color: #000;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--accent); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--gray { background: #333; color: #fff; position: relative; }
.btn--gray::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.btn--gray:hover { background: #444; }
.btn--lg { height: 60px; padding: 0 40px; width: 100%; }
.pill {
  display: inline-flex; align-items: center; height: 40px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: #fff;
}

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { position: relative; z-index: 60; display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.logo__mark { width: 14px; height: 14px; background: var(--accent); display: inline-block; transform: skewX(-14deg); }
.logo small { font-size: 11px; font-weight: 400; letter-spacing: .02em; color: var(--mut); text-transform: uppercase; align-self: flex-end; padding-bottom: 3px; }
.nav { display: flex; gap: clamp(20px, calc(3 * var(--vw)), 46px); font-size: 15px; }
.nav a { position: relative; padding: 8px 0; color: #c9c9c9; transition: color .25s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a.is-active::after { transform: scaleX(1); }
.header .btn { height: 44px; padding: 0 24px; }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(calc(100 * var(--vh)), 700px); max-height: 1000px; overflow: hidden; padding-top: 76px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255, 255, 255, .06), transparent 70%);
}
.hero__title { position: absolute; left: 0; right: 0; top: clamp(96px, calc(11 * var(--vw)), 150px); text-align: center; font-weight: 400; letter-spacing: -.055em; line-height: .84; pointer-events: none; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--top { text-transform: uppercase; font-size: clamp(20px, calc(6.9 * var(--vw)), 130px); color: #d9d9d9; position: relative; z-index: 3; }
.hero__line--top i { font-style: normal; font-weight: 300; margin-inline: .14em; }
/* Размеры строк заголовка: отсюда считается и высота фуры, поэтому фура всегда стоит строго под надписями */
.hero { --t-top: clamp(96px, calc(11 * var(--vw)), 150px); --t-l1: clamp(20px, calc(6.9 * var(--vw)), 130px); }
/* Слова «БЕЗ» и «ГРАНИЦ» стоят по бокам кабины, вверху у крыши. Растворяются к краям экрана */
.hero__word {
  flex: 1 1 0; min-width: 0; align-self: stretch; display: grid; grid-template-rows: 6% auto 1fr;   /* 6% — отступ от строки «ГРУЗОПЕРЕВОЗКИ»: больше — ниже */
  font-size: clamp(32px, calc(7 * var(--vw)), 125px); line-height: .9; letter-spacing: -.045em; font-weight: 400; text-transform: uppercase;
}
.hero__word > span {
  grid-row: 2; display: block; padding-inline: calc(1.6 * var(--vw));
  background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hero__word--l { text-align: right; }
.hero__word--l > span { background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 5%, rgba(255, 255, 255, .2) 55%, rgba(255, 255, 255, .34)); }
.hero__word--r { text-align: left; }
.hero__word--r > span { background-image: linear-gradient(90deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .2) 45%, rgba(255, 255, 255, 0) 95%); }
/* Сцена с фурой: от низа экрана до строки «ГРУЗОПЕРЕВОЗКИ» (с небольшим зазором) — прежний размер фуры */
.hero__stage {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: center; pointer-events: none;
  height: calc(100% - var(--t-top) - var(--t-l1) * .84 - 10px);
}
/* «Коробка» фуры обрезана по кузову: ширина = высота × 1280/1792, без прозрачных полей фото */
.hero__truckbox {
  position: relative; flex: none; height: 100%; aspect-ratio: 1280 / 1792;
  -webkit-mask-image: linear-gradient(#000 74%, transparent 98%); mask-image: linear-gradient(#000 74%, transparent 98%);
}
.hero__truck {
  /* без transform: дробный сдвиг заставляет браузер пересэмплировать картинку (мыло) */
  position: absolute; top: 0; left: -44.375%; height: 100%; width: auto; max-width: none; user-select: none;
  image-rendering: auto;   /* штатное сглаживание браузера; значения high-quality в браузерах не существует */
}
.hero__about { position: absolute; left: var(--pad); top: 47%; z-index: 3; max-width: 250px; font-size: 14px; line-height: 1.35; }
.hero__about b { display: block; font-weight: 400; margin-bottom: 64px; font-size: 14px; }
.hero__about p { color: #cfcfcf; }
.hero__rule { position: absolute; left: 0; right: 0; top: 71%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18) 20%, rgba(255, 255, 255, .18) 80%, transparent); z-index: 1; }
.hero__actions { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 0 0 clamp(28px, calc(4 * var(--vw)), 52px) 0; width: 340px; }
.hero__tags { display: flex; gap: 12px; padding-left: 0; margin-bottom: 40px; }
.hero__tags .pill { height: 38px; }
.hero__btns { display: flex; align-items: center; gap: 56px; }
.hero__btns .btn--gray { width: 186px; height: 64px; }
.hero__play { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; }
.hero__play svg { width: 14px; height: 14px; fill: #fff; transition: transform .3s var(--ease); }
.hero__play:hover svg { transform: translateX(4px); }
.hero__right { position: absolute; right: var(--pad); bottom: clamp(28px, calc(4 * var(--vw)), 52px); z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; }
.hero__stats { display: flex; gap: 20px; }
.stat-card {
  width: 146px; height: 138px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .55);
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
  backdrop-filter: blur(6px);
}
.stat-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7; }
.stat-card strong { font-size: 40px; font-weight: 400; letter-spacing: -.04em; line-height: 1; text-align: right; }
.stat-card span { font-size: 14px; color: var(--mut); line-height: 1.15; }


/* ---------- Манифест ---------- */
.manifest { padding-block: clamp(80px, calc(12 * var(--vw)), 180px); }
.manifest__text { max-width: 1120px; margin-inline: auto; text-align: center; font-size: clamp(30px, calc(4.7 * var(--vw)), 72px); line-height: .98; letter-spacing: -.05em; text-transform: uppercase; }
.manifest__text .w { color: #fff; transition: color .35s; }
.js .manifest__text .w:not(.on) { color: var(--dim); }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, calc(5 * var(--vw)), 80px); align-items: end; }
.about__text { padding-bottom: 8px; }
.about__text p { margin: 36px 0 44px; font-size: 15px; color: #cfcfcf; max-width: 470px; line-height: 1.45; }
.about__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
/* Галерея в скруглённой рамке: большое фото сверху, под ним ряд маленьких квадратиков для переключения (их может быть сколько угодно) */
.about__media { position: relative; border-radius: 28px 0 0 28px; overflow: hidden; background: #111; margin-right: calc(var(--pad) * -1); }
.gal__stage { position: relative; aspect-ratio: 16 / 10; background: #0a0a0a; overflow: hidden; }
/* Размытая копия фото на фоне — чтобы вертикальные снимки не оставляли пустых чёрных полей */
.gal__bg { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(28px) brightness(.45) saturate(1.2); transition: opacity .35s; }
.gal__main { position: absolute; inset: 0; display: block; padding: 0; }
.gal__img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform 1s var(--ease); }
.gal__img.is-swap, .gal__bg.is-swap { opacity: 0; }
.gal__main:hover .gal__img { transform: scale(1.025); }
.gal__main::after {
  content: "⤢"; position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line);
  backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease), background .3s;
}
.gal__main:hover::after, .gal__main:focus-visible::after { opacity: 1; transform: none; background: var(--accent); border-color: var(--accent); }
.gal__arrow {
  position: absolute; top: 50%; margin-top: -22px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .5); border: 1px solid var(--line); font-size: 17px; opacity: 0; transition: opacity .3s, background .25s, border-color .25s;
}
.gal__arrow--prev { left: 14px; } .gal__arrow--next { right: 14px; }
.gal__stage:hover .gal__arrow, .gal__arrow:focus-visible { opacity: 1; }
.gal__arrow:hover { background: var(--accent); border-color: var(--accent); }
.gal__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line); color: #ddd; pointer-events: none; }
/* Витрина: пока галерею не начали листать — сразу несколько фото (одно большое + четыре поменьше); после первого клика — одно фото */
.gal__mosaic {
  position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; background: #0a0a0a;
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.gal__tile { position: relative; padding: 0; overflow: hidden; background: #111; min-height: 0; }
.gal__tile:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.gal__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; filter: saturate(.92) brightness(.92); }
.gal__tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .4)); pointer-events: none; }
.gal__tile:hover img, .gal__tile:focus-visible img { transform: scale(1.07); filter: none; }
.gal__tile:focus-visible { outline-offset: -3px; }
.gal__tile--more::after {
  content: attr(data-more); position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: clamp(22px, calc(2.6 * var(--vw)), 40px); letter-spacing: -.03em;
  background: rgba(0, 0, 0, .55); transition: background .3s;
}
.gal__tile--more:hover::after { background: rgba(255, 79, 0, .55); }
/* появление плиток при показе блока */
.js .gallery.is-in .gal__tile { animation: tileIn .8s var(--ease) both; }
.js .gallery.is-in .gal__tile:nth-child(2) { animation-delay: .08s; } .js .gallery.is-in .gal__tile:nth-child(3) { animation-delay: .16s; }
.js .gallery.is-in .gal__tile:nth-child(4) { animation-delay: .24s; } .js .gallery.is-in .gal__tile:nth-child(5) { animation-delay: .32s; }
@keyframes tileIn { from { opacity: 0; transform: scale(.94); } }
/* После выбора фото: витрина растворяется, остаётся одно большое фото */
.gallery:not(.is-mosaic) .gal__mosaic { opacity: 0; transform: scale(1.05); pointer-events: none; }
.gallery.is-mosaic .gal__img, .gallery.is-mosaic .gal__bg { opacity: 0; }
.gallery.is-mosaic .gal__arrow, .gallery.is-mosaic .gal__count, .gallery.is-mosaic .gal__main { opacity: 0; pointer-events: none; }
.gal__grid {
  position: absolute; top: 14px; right: 14px; z-index: 2; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line);
  backdrop-filter: blur(6px); transition: background .25s, border-color .25s, opacity .3s;
}
.gal__grid:hover { background: var(--accent); border-color: var(--accent); }
.gallery.is-mosaic .gal__grid { opacity: 0; pointer-events: none; }
/* Ряд маленьких квадратиков: листается мышью/пальцем, активный подсвечен оранжевой рамкой */
.gal__strip {
  display: flex; gap: 6px; padding: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #333 transparent; background: #0e0e0e;
}
.gal__strip::-webkit-scrollbar { height: 5px; } .gal__strip::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.gal__thumb { flex: none; width: 74px; height: 74px; padding: 0; border-radius: 8px; overflow: hidden; position: relative; scroll-snap-align: center; opacity: .5; transition: opacity .25s, transform .25s var(--ease); }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb::after { content: ""; position: absolute; inset: 0; border-radius: 8px; border: 2px solid transparent; transition: border-color .25s; pointer-events: none; }
.gal__thumb:hover { opacity: .9; transform: translateY(-2px); }
.gal__thumb.is-active { opacity: 1; }
.gal__thumb.is-active::after { border-color: var(--accent); }

/* ---------- Просмотр фото ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .94); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100 * var(--vh) - 56px * 2 - 48px); width: auto; height: auto; object-fit: contain; border-radius: 6px; transition: opacity .25s; }
.lightbox__img.is-swap { opacity: 0; }
.lightbox__cap { display: flex; gap: 20px; justify-content: center; width: 100%; font-size: 14px; color: #cfcfcf; }
.lightbox__count { color: var(--mut); white-space: nowrap; }
.lightbox__close, .lightbox__nav { position: absolute; z-index: 2; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(0, 0, 0, .5); font-size: 18px; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); border-color: var(--accent); }
body.is-lightbox { overflow: hidden; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  padding: 28px 26px 32px; min-height: 340px; display: flex; flex-direction: column;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: transparent; transition: background .35s var(--ease);
  position: relative;
}
.svc:hover { background: var(--card-hover); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.svc__num { font-size: 13px; color: #555; letter-spacing: .04em; }
.ico { width: 44px; height: 44px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico svg.fill { fill: #fff; stroke: none; }
.svc:hover .ico { transform: rotate(-8deg) scale(1.06); }
.svc h3 { margin: 56px 0 14px; }
.svc p { font-size: 15px; color: var(--mut); line-height: 1.35; max-width: 270px; }

/* ---------- Преимущества ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.adv__item { padding: 28px 32px 32px 26px; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; transition: background .35s var(--ease); }
.adv__item:hover { background: #111; }
.adv__item h3 { font-size: clamp(22px, calc(2.2 * var(--vw)), 32px); margin-bottom: 14px; }
.adv__item p { font-size: 15px; color: var(--mut); max-width: 300px; line-height: 1.35; }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 30px 28px 20px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { font-size: clamp(64px, calc(8 * var(--vw)), 120px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px #4a4a4a; transition: color .4s, -webkit-text-stroke-color .4s; margin-bottom: 40px; }
.step:hover .step__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { margin-bottom: 14px; }
.step p { font-size: 15px; color: var(--mut); line-height: 1.35; max-width: 250px; }

/* ---------- География ---------- */
.geo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.geo__map { position: relative; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 60%, rgba(255, 79, 0, .08), transparent 70%), #050505; padding: clamp(8px, calc(2 * var(--vw)), 24px); }
.geo__map svg { width: 100%; height: auto; }
.map-dots { fill: #fff; opacity: .42; }
.map-link { fill: none; stroke: #fff; stroke-opacity: .12; stroke-width: 1; }
.map-trace { fill: none; stroke: var(--accent); stroke-opacity: .28; stroke-width: 1; stroke-dasharray: 3 5; transition: opacity .6s; }
.map-trail { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 79, 0, .9)); transition: opacity .6s; }
.map-arrow { fill: #fff; filter: drop-shadow(0 0 5px rgba(255, 79, 0, 1)); transition: opacity .4s; }
.map-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; animation: ring 1.2s ease-out forwards; transform-box: fill-box; transform-origin: center; }
.map-city circle { fill: #fff; }
.map-city text { fill: #cfcfcf; font-size: 12px; font-family: var(--font); letter-spacing: -.01em; }
.map-hub circle.core { fill: var(--accent); }
.map-hub circle.ring { fill: none; stroke: var(--accent); stroke-opacity: .5; animation: ring 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.map-hub text { fill: #fff; font-size: 14px; font-weight: 600; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.geo__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.geo__chips .pill { height: 44px; padding: 0 24px; font-size: 15px; transition: border-color .3s, background .3s; }
.geo__chips .pill:hover { border-color: var(--accent); background: var(--accent-soft); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 24px; }
.counter { padding: 32px 24px 0 0; }
.counter + .counter { padding-left: 24px; border-left: 1px solid var(--line); }
.counter strong { display: block; font-size: clamp(44px, calc(6 * var(--vw)), 96px); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.counter strong em { font-style: normal; color: var(--accent); }
.counter span { display: block; margin-top: 12px; font-size: 14px; color: var(--mut); }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { border: 1px solid var(--line); background: var(--card); padding: 30px 28px 28px; display: flex; flex-direction: column; min-height: 360px; transition: border-color .3s, transform .4s var(--ease); }
.review:hover { border-color: rgba(255, 79, 0, .6); transform: translateY(-4px); }
.review__q { font-size: 56px; line-height: 1; height: 44px; margin-bottom: 14px; color: var(--accent); font-weight: 400; letter-spacing: -.1em; }
.review__stars { display: flex; gap: 4px; margin-bottom: 22px; }
.review__stars svg { width: 16px; height: 16px; fill: var(--accent); }
.review__text { font-size: 17px; line-height: 1.38; letter-spacing: -.015em; color: #e4e4e4; margin-bottom: auto; padding-bottom: 32px; }
.review__who { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.review__ava { width: 44px; height: 44px; border-radius: 50%; background: #1d1d1d; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; color: var(--mut); flex: none; }
.review__who b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.review__who small { font-size: 13px; color: var(--mut); }

/* ---------- FAQ ---------- */
.faq { max-width: 1000px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; font-size: clamp(16px, calc(1.7 * var(--vw)), 22px); letter-spacing: -.02em; text-transform: uppercase; text-align: left; transition: color .25s; }
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--accent); transition: background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 32px; max-width: 560px; font-size: 15px; line-height: 1.4; color: #d0d0d0; }

/* ---------- Заявка ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, calc(6 * var(--vw)), 96px); align-items: start; }
.contact__info > p { margin: 32px 0 48px; max-width: 400px; color: var(--mut); font-size: 15px; line-height: 1.45; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.cinfo a, .cinfo span { font-size: 18px; letter-spacing: -.02em; text-align: right; }
.cinfo a { transition: color .25s; }
.cinfo a:hover { color: var(--accent); }

.form { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, calc(3.4 * var(--vw)), 48px); position: relative; }
.form::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-bottom: 4px; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 12px 0; font-size: 18px; letter-spacing: -.01em; outline: none;
  transition: border-color .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #555; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select { cursor: pointer; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ff4f00' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.field select option { background: #111; color: #fff; }
.field select:has(option[value=""]:checked) { color: #555; }
.field.has-error input, .field.has-error textarea { border-color: #ff3b30; }
.field__err { font-size: 12px; color: #ff6a5e; margin-top: 6px; min-height: 0; display: none; }
.field.has-error .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; color: var(--mut); line-height: 1.4; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check__box { width: 20px; height: 20px; border: 1px solid var(--line); flex: none; margin-top: 1px; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.check__box svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.2; opacity: 0; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check.has-error .check__box { border-color: #ff3b30; }
.form__submit { margin-top: 8px; }
.form__note { margin-top: 14px; font-size: 12px; color: #6a6a6a; text-align: center; }
.form__ok { display: none; text-align: center; padding: 56px 0; }
.form.is-sent .form__grid, .form.is-sent .form__submit, .form.is-sent .form__note { display: none; }
.form.is-sent .form__ok { display: block; }
.form__ok .ico { margin: 0 auto 28px; width: 64px; height: 64px; border-radius: 10px; }
.form__ok .ico svg { width: 30px; height: 30px; }
.form__ok h3 { font-size: clamp(26px, calc(3 * var(--vw)), 40px); margin-bottom: 14px; }
.form__ok p { color: var(--mut); max-width: 360px; margin-inline: auto; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Футер ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 64px 36px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 56px; }
.footer__brand p { margin-top: 18px; max-width: 300px; font-size: 14px; color: var(--mut); line-height: 1.4; }
.footer__nav { display: flex; gap: clamp(32px, calc(6 * var(--vw)), 96px); flex-wrap: wrap; }
.footer__nav h4 { font-size: 12px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin-bottom: 18px; }
.footer__nav li + li { margin-top: 10px; }
.footer__nav a { font-size: 15px; transition: color .25s; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #6a6a6a; padding-top: 28px; border-top: 1px solid var(--line); }
.footer__giant { font-size: clamp(120px, calc(28 * var(--vw)), 440px); line-height: .8; letter-spacing: -.07em; color: #0f0f0f; text-align: center; font-weight: 600; margin-top: 20px; user-select: none; overflow: hidden; }

/* ---------- Анимации появления ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero__line--top { animation: titleIn 1.1s var(--ease) both; }
.hero__word--l > span { animation: wordL 1.4s .2s var(--ease) both; }
.hero__word--r > span { animation: wordR 1.4s .2s var(--ease) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(30px); } }
@keyframes wordL { from { opacity: 0; transform: translateX(-40px); } }
@keyframes wordR { from { opacity: 0; transform: translateX(40px); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .svc { min-height: 280px; }
  .about { grid-template-columns: 1fr; align-items: start; }
  .about__media { margin-right: 0; border-radius: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: #000; z-index: 55; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 90px var(--pad) 40px; gap: 6px; font-size: clamp(34px, calc(9 * var(--vw)), 56px); letter-spacing: -.04em;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .menu-open .nav { display: flex; opacity: 1; pointer-events: auto; }
  .nav a { color: #fff; }
  .menu-open .header { background: #000; }

  .hero { min-height: 0; max-height: none; padding-bottom: 40px; display: flex; flex-direction: column; }
  .hero__title { position: relative; top: auto; margin-top: 32px; }
  .hero__stage { position: relative; left: auto; right: auto; bottom: auto; height: auto; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "l r" "t t"; margin-top: calc(1 * var(--vw)); }
  .hero__word { display: block; font-size: calc(10.5 * var(--vw)); }
  .hero__word--l { grid-area: l; }
  .hero__word--r { grid-area: r; }
  .hero__word > span { padding-inline: .12em; }
  .hero__truckbox { grid-area: t; justify-self: center; height: auto; width: calc(78 * var(--vw)); margin-top: calc(-1 * var(--vw)); }
  .hero__about { position: relative; left: auto; top: auto; max-width: 420px; padding: 0 var(--pad); margin-top: 8px; }
  .hero__about b { margin-bottom: 8px; color: var(--mut); }
  .hero__rule { display: none; }
  .hero__actions { position: relative; width: auto; padding: 32px 0 0; }
  .hero__play { white-space: nowrap; }
  .hero__right { position: relative; right: auto; bottom: auto; align-items: stretch; padding: 32px var(--pad) 0; }
  .hero__stats { gap: 12px; }
  .stat-card { flex: 1; width: auto; }
  .aside { text-align: left; max-width: 420px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .adv { grid-template-columns: 1fr; }
  .adv__item { min-height: 0; gap: 56px; }
  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(calc(84 * var(--vw)), 380px); scroll-snap-align: start; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3) { padding-left: 0; border-left: 0; }
  .counter:nth-child(n+3) { margin-top: 32px; }
}

@media (max-width: 640px) {
  .gal__thumb { width: 58px; height: 58px; }
  .gal__arrow { opacity: 1; width: 38px; height: 38px; }
  .gal__main::after { opacity: 1; transform: none; width: 30px; height: 30px; font-size: 13px; }
  .lightbox { padding: 64px 12px 96px; }
  .lightbox__nav { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .lightbox__img { max-height: calc(100 * var(--vh) - 64px - 96px - 40px); }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc h3 { margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step:nth-child(n+2) { border-top: 1px solid var(--line); margin-top: 20px; }
  .form__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__tags { margin-bottom: 24px; }
  .hero__btns { gap: 24px; }
  .hero__btns .btn--gray { width: 150px; height: 58px; padding: 0; }
  .hero__play { font-size: 16px; }
  .cinfo li { flex-direction: column; gap: 6px; }
  .cinfo a, .cinfo span { text-align: left; }
  .geo__map { overflow-x: auto; scrollbar-width: thin; }
  .geo__map svg { min-width: 720px; }
  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
