/* ===== Цвета: кобальт ===== */
:root {
  --bg:#F1F0EC; --soft:#E4E3DE; --line:#D5D4CE; --ink:#111318; --grey:#84858A;
  --acc:#2F4BFF; --acc-ink:#FFFFFF; --dark:#0E1530; --acc-dark:#93A2FF;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 3.6vw, 48px);
  --max: 1320px;
  --r-card: 32px;
  --r-tile: 24px;
}

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 "Onest", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
/* лёгкое зерно поверх всего */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--acc); color: var(--acc-ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; hyphens: none; }

h1 { font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: .92; letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 4.4rem); line-height: .95; letter-spacing: -.045em; max-width: 16ch; }
h2 span { display: block; color: var(--grey); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.08; letter-spacing: -.03em; }

main > section { position: relative; width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font: 700 16px/1 "Onest", sans-serif; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 620ms var(--ease), background-color 320ms var(--ease), box-shadow 500ms var(--ease), color 320ms;
  -webkit-tap-highlight-color: transparent;
}
.btn--main {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--acc); color: var(--acc-ink); padding: 0 8px 0 28px;
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--acc) 90%, transparent);
}
/* блик, пробегающий по кнопке */
.btn--main::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 900ms var(--ease);
}
.btn--main:hover::before { transform: translateX(120%); }
.btn--main:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--acc) 95%, transparent); }
.btn--main:active { transform: scale(.97); }
.btn__dot {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; flex: none;
  transition: transform 520ms var(--ease);
}
.btn__dot svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--main:hover .btn__dot { transform: rotate(-14deg) scale(1.08); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }

.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__note { margin-top: 16px; font-size: 14px; color: var(--grey); }

/* ===== Шапка-капсула ===== */
.nav {
  position: sticky; top: 12px; z-index: 30;
  width: min(var(--max), 100% - 2 * var(--pad)); margin: 12px auto 0;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 20px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.nav__mark { width: 14px; height: 14px; border-radius: 4px; background: var(--acc); transform: rotate(45deg); transition: transform 900ms var(--ease); }
.nav__logo:hover .nav__mark { transform: rotate(225deg); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { position: relative; font-size: 15px; color: var(--grey); text-decoration: none; transition: color 320ms; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 500ms var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__phone {
  padding: 13px 20px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 620ms var(--ease);
}
.nav__phone:hover { transform: translateY(-2px); }

/* ===== Первый экран ===== */
.hero {
  min-height: calc(100svh - 84px);
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: 32px 0 56px;
}
.hero > *:not(.hero__bg) { position: relative; z-index: 1; }

.hero__bg { position: absolute; z-index: 0; top: -110px; bottom: 0; left: 50%; width: 100vw; translate: -50% 0; overflow: hidden; pointer-events: none; }
.road { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease) .2s, transform 1.6s var(--ease) .2s; }
.hero.is-in .road { opacity: 1; transform: none; }
.road path { fill: none; stroke-linecap: round; }
.road__base { stroke: var(--line); stroke-width: 150; }
.road__edge { stroke: var(--soft); stroke-width: 138; }
.road__dash { stroke: var(--acc); stroke-width: 5; stroke-dasharray: 34 30; animation: drive 1.6s linear infinite; }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 22%, transparent) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 18% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 60% at 18% 30%, #000, transparent 70%);
  opacity: .7;
}

/* заголовок по строкам */
.lines .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.lines .ln > span { display: inline-block; transform: translateY(110%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); }
.lines .ln--grey { color: var(--grey); }
.hero.is-in .lines .ln > span { transform: none; }
.hero.is-in .lines .ln:nth-child(1) > span { transition-delay: .15s; }
.hero.is-in .lines .ln:nth-child(2) > span { transition-delay: .26s; }
.hero.is-in .lines .ln:nth-child(3) > span { transition-delay: .40s; }
.hero.is-in .lines .ln:nth-child(4) > span { transition-delay: .50s; }
.hero .cta { margin-top: 40px; }

/* карточка Газели */
.stage { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.truck {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5; max-height: calc(100svh - 160px); width: 100%;
  border-radius: var(--r-card); overflow: hidden; background: var(--soft);
  clip-path: inset(100% 0 0 0 round var(--r-card));
  transition: clip-path 1.3s var(--ease) .35s;
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--ink) 45%, transparent);
}
.hero.is-in .truck { clip-path: inset(0 0 0 0 round var(--r-card)); }
.truck img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; transform: scale(1.25); transition: transform 1.8s var(--ease) .35s; }
.hero.is-in .truck img { transform: scale(1); }
.truck:hover img { transform: scale(1.04); transition-delay: 0s; }
.truck__price {
  position: absolute; top: 16px; left: 16px;
  padding: 10px 16px; border-radius: 999px; background: var(--bg);
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
}
.truck__icons { position: absolute; top: 16px; right: 16px; display: grid; gap: 8px; }
.truck__icons a {
  width: 48px; height: 48px; border-radius: 50%; background: var(--bg);
  display: grid; place-items: center; transition: transform 520ms var(--ease), background-color 320ms;
}
.truck__icons a:hover { transform: scale(1.1); background: var(--acc); }
.truck__icons svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.truck__status {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 22px; background: var(--bg);
}
.truck__status span:last-child { display: grid; font-size: 14px; color: var(--grey); line-height: 1.35; }
.truck__status b { color: var(--ink); font-size: 16px; }
.live { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; flex: none; }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22c55e; animation: ping 2s var(--ease) infinite; }

/* плавающие плашки */
.float {
  position: absolute; z-index: 2;
  display: grid; gap: 2px; padding: 14px 18px;
  border-radius: 20px; background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px color-mix(in srgb, var(--ink) 40%, transparent);
  font-size: 13px; color: var(--grey); line-height: 1.2;
  opacity: 0; scale: .8;
  transition: opacity .8s var(--ease), scale .9s var(--ease), translate .9s var(--ease);
  animation: bob 6s ease-in-out infinite;
}
.float b { font-size: 22px; color: var(--ink); letter-spacing: -.04em; }
.float--1 { left: -64px; top: 22%; animation-delay: -1s; }
.float--2 { left: -40px; bottom: 26%; animation-delay: -3s; }
.float--3 { right: -30px; top: 44%; display: flex; align-items: center; gap: 10px; background: var(--ink); border-color: var(--ink); animation-delay: -4.5s; }
.float--3 b { color: var(--bg); }
.float__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.float__ico svg { width: 18px; height: 18px; fill: none; stroke: var(--acc-ink); stroke-width: 2; stroke-linecap: round; }
.hero.is-in .float { opacity: 1; scale: 1; }
.hero.is-in .float--1 { transition-delay: 1.1s, 1.1s, 0s; }
.hero.is-in .float--2 { transition-delay: 1.25s, 1.25s, 0s; }
.hero.is-in .float--3 { transition-delay: 1.4s, 1.4s, 0s; }

/* ===== Ситуации ===== */
.help { padding: 130px 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 16px; }
.chips button {
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font: 700 15px/1 "Onest", sans-serif; letter-spacing: -.01em; cursor: pointer;
  transition: background-color 320ms var(--ease), color 320ms, border-color 320ms, transform 520ms var(--ease);
}
.chips button:hover { border-color: var(--ink); transform: translateY(-2px); }
.chips button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 12px; border-radius: var(--r-card); background: var(--soft);
}
.case__text { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.case__text h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.045em; }
.case__text p { color: var(--grey); max-width: 44ch; }
.case__meta { display: flex; gap: 40px; margin: 8px 0 10px; }
.case__meta b { display: block; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1; }
.case__meta span { font-size: 14px; color: var(--grey); }
.case__text .btn { align-self: flex-start; }
.case__text > :not(.btn) { transition: opacity 280ms var(--ease), transform 500ms var(--ease); }
.case.is-swapping .case__text > :not(.btn) { opacity: 0; transform: translateY(10px); }
.case__photo { border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.case__photo img { width: 100%; height: 100%; object-fit: cover; }
.case__photo img.wipe { animation: wipe 1s var(--ease); }

/* ===== Рейсы (на цветной подложке) ===== */
.trips { margin-top: 130px; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px); border-radius: 40px; background: var(--soft); }
.trips h2 { margin-bottom: 40px; }
.trips__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trip { padding: 8px; border-radius: 28px; background: var(--bg); transition: transform 620ms var(--ease), box-shadow 620ms var(--ease); }
.trip:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 30px 50px -30px color-mix(in srgb, var(--ink) 50%, transparent); }
.trip__photo { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; }
.trip__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.trip:hover .trip__photo img { transform: scale(1.06); }
.trip__body { padding: 18px 12px 12px; }
.trip__car { font-size: 14px; color: var(--grey); }
.trip__route { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 19px; letter-spacing: -.025em; margin-top: 2px !important; }
.trip__route svg { width: 22px; height: 8px; fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; }
.trip__bars { display: flex; gap: 4px; margin: 16px 0; }
.trip__bars i { flex: 1; height: 10px; border-radius: 4px; background: var(--line); transition: background-color .45s var(--ease); }
.trip.is-in .trip__bars i.on { background: var(--acc); }
.trip.is-in .trip__bars i:nth-child(1) { transition-delay: .5s; }
.trip.is-in .trip__bars i:nth-child(2) { transition-delay: .58s; }
.trip.is-in .trip__bars i:nth-child(3) { transition-delay: .66s; }
.trip.is-in .trip__bars i:nth-child(4) { transition-delay: .74s; }
.trip.is-in .trip__bars i:nth-child(5) { transition-delay: .82s; }
.trip.is-in .trip__bars i:nth-child(6) { transition-delay: .90s; }
.trip.is-in .trip__bars i:nth-child(7) { transition-delay: .98s; }
.trip.is-in .trip__bars i:nth-child(8) { transition-delay: 1.06s; }
.trip__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.trip__stats dt { font-weight: 700; font-size: 18px; letter-spacing: -.03em; white-space: nowrap; }
.trip__stats dd { margin: 0; font-size: 13px; color: var(--grey); }
.trip--dark { background: var(--dark); color: #fff; }
.trip--dark .trip__bars i { background: rgba(255,255,255,.14); }
.trip--dark.is-in .trip__bars i.on { background: var(--acc-dark); }
.trip--dark .trip__route svg { stroke: var(--acc-dark); }
.trip--dark .trip__car, .trip--dark .trip__stats dd { color: rgba(255,255,255,.55); }

/* ===== Машина ===== */
.spec { padding: 130px 0 40px; }
.spec h2 { margin-bottom: 40px; }
.spec__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, auto)); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-tile); background: var(--soft); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform 620ms var(--ease); }
.tile:not(.tile--photo):hover { transform: translateY(-6px); }
.tile b { font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.tile span { color: var(--grey); }
.tile--photo { grid-row: span 2; padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.05); }
.tile--photo p { position: absolute; left: 14px; bottom: 14px; padding: 14px 18px; border-radius: 18px; background: var(--bg); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tile--accent { background: var(--acc); color: var(--acc-ink); }
.tile--accent span { color: var(--acc-ink); opacity: .75; }
.tile--dark { background: var(--dark); color: #fff; }
.tile--dark span { color: rgba(255,255,255,.6); }
.tile--dark b { color: var(--acc-dark); }

/* ===== Районы ===== */
.area { padding: 130px 0 40px; }
.area h2 { margin-bottom: 40px; }
.area__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zone { position: relative; overflow: hidden; border-radius: var(--r-tile); background: var(--soft); padding: 28px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; }
/* круги «радиуса подачи» в углу карточки */
.zone::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, transparent 28%, var(--line) 28.5% 29.5%, transparent 30% 48%, var(--line) 48.5% 49.5%, transparent 50% 68%, var(--line) 68.5% 69.5%, transparent 70%);
  transition: transform 1.2s var(--ease);
}
.zone:hover::before { transform: scale(1.15) rotate(20deg); }
.zone__time { position: relative; align-self: flex-start; margin-bottom: auto; padding: 9px 14px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 14px; }
.zone:first-child .zone__time { background: var(--acc); color: var(--acc-ink); }
.zone p { color: var(--grey); }

/* ===== Вопросы (на цветной подложке) ===== */
.faq { margin-top: 130px; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 56px); border-radius: 40px; background: var(--soft); display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.faq__list { display: grid; gap: 8px; }
.faq details { border-radius: 22px; background: var(--bg); transition: box-shadow 320ms; }
.faq details[open] { box-shadow: 0 20px 40px -30px color-mix(in srgb, var(--ink) 50%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 22px 26px; font-weight: 700; font-size: 18px; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--soft); transition: transform 500ms var(--ease), background-color 320ms; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; translate: -50% -50%; background: var(--ink); border-radius: 2px; }
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--acc); }
.faq details p { padding: 0 26px 24px; color: var(--grey); max-width: 56ch; animation: open .5s var(--ease); }

/* ===== Контакты ===== */
.contacts { padding: 130px 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; }
.contacts__card { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--dark); color: #fff; padding: clamp(28px, 4vw, 56px); }
.contacts__card::before {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc-dark) 35%, transparent), transparent 65%);
  animation: glow 7s ease-in-out infinite;
}
.contacts__card > * { position: relative; }
.contacts__card h2 span { color: rgba(255,255,255,.45); }
.contacts__phone { display: block; margin-top: 44px; font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 4.2rem); letter-spacing: -.05em; line-height: 1; text-decoration: none; white-space: nowrap; color: var(--acc-dark); transition: letter-spacing 620ms var(--ease); }
.contacts__phone:hover { letter-spacing: -.035em; }
.contacts__alt { margin-top: 12px; color: rgba(255,255,255,.55); }
.contacts__alt a { color: #fff; text-decoration: none; }
.contacts .cta { margin-top: 36px; }
.contacts .btn--main { background: var(--acc-dark); color: var(--dark); }
.contacts .btn--main .btn__dot { background: var(--dark); color: #fff; }
.contacts__info { display: flex; flex-wrap: wrap; gap: 40px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.contacts__info dt { font-size: 13px; color: rgba(255,255,255,.5); }
.contacts__info dd { margin: 4px 0 0; }
.contacts__map { border-radius: var(--r-card); overflow: hidden; background: var(--soft); min-height: 520px; }
.contacts__map iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; }

.foot { width: min(var(--max), 100% - 2 * var(--pad)); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 40px; font-size: 14px; color: var(--grey); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

.callbar { display: none; }

/* ===== Появление ===== */
.rise { opacity: 0; transform: translateY(32px); filter: blur(14px); }
.rise.is-in {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 900ms var(--ease) var(--d, 0ms), transform 1000ms var(--ease) var(--d, 0ms), filter 900ms var(--ease) var(--d, 0ms);
}
.d-1 { --d: 100ms; } .d-2 { --d: 200ms; } .d-3 { --d: 320ms; } .d-4 { --d: 440ms; }
.hero .d-3 { --d: 650ms; } .hero .d-4 { --d: 800ms; }

@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes drive { to { stroke-dashoffset: -64; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); transform: scale(1.12); } to { clip-path: inset(0); transform: scale(1); } }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.2); opacity: 1; } }

/* ===== Адаптив ===== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__phone { margin-left: auto; }
  .trips__grid { grid-template-columns: repeat(2, 1fr); }
  .float--1 { left: -24px; } .float--2 { left: -16px; } .float--3 { right: -12px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; gap: 32px; }
  .hero .cta { margin-top: 28px; }
  .stage { justify-self: stretch; max-width: none; }
  .truck { aspect-ratio: 4 / 4.4; max-height: none; }
  .road { transform: none; }
  .help, .spec, .area, .contacts { padding-top: 80px; }
  .trips, .faq { margin-top: 80px; border-radius: 28px; }
  .case { grid-template-columns: 1fr; }
  .case__photo { order: -1; }
  .spec__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile--photo { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .tile { min-height: 180px; }
  .area__grid, .faq, .contacts { grid-template-columns: 1fr; }
  .zone { min-height: 0; }
  .zone__time { margin-bottom: 24px; }
  .faq { gap: 28px; }
  .contacts__map, .contacts__map iframe { min-height: 360px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding-left: 16px; }
  .nav__phone { padding: 12px 16px; font-size: 14px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .btn--main { justify-content: space-between; }
  .float { padding: 10px 14px; border-radius: 16px; }
  .float b { font-size: 17px; }
  .float--1 { left: -6px; top: 34%; }
  .float--2 { left: auto; right: -6px; bottom: 30%; }
  .float--3 { display: none; }
  .trips__grid { grid-template-columns: 1fr; }
  .chips button { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .case__meta { gap: 28px; }
  .contacts .cta .btn--main { flex: 1 1 100%; }
  .contacts .cta .btn--light { flex: 1; }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .callbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 620ms var(--ease);
  }
  .callbar.is-on { transform: none; }
  .callbar .btn { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .rise, .rise.is-in { opacity: 1; transform: none; filter: none; transition: none; }
  .lines .ln > span, .truck img, .road { transform: none !important; transition: none !important; opacity: 1 !important; }
  .truck { clip-path: none !important; transition: none !important; }
  .float { opacity: 1; scale: 1; }
}

/* ===================================================== */
/* ===== Улучшения: шапка, геолокация, отзывы, контакт ===== */
/* ===================================================== */

/* 1. WhatsApp в шапке */
.nav__wa {
  width: 46px; height: 46px; flex: none; border-radius: 50%; background: #1FA855;
  display: grid; place-items: center; transition: transform 520ms var(--ease);
}
.nav__wa:hover { transform: scale(1.08) rotate(-8deg); }
.nav__wa svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round; }

/* 2. шапка прячется при прокрутке вниз */
.nav { transition: transform 620ms var(--ease), opacity 400ms var(--ease), filter 900ms var(--ease); }
.nav.rise.is-in { transition: transform 620ms var(--ease), opacity 900ms var(--ease) var(--d, 0ms), filter 900ms var(--ease) var(--d, 0ms); }
.nav.nav--hidden { transform: translateY(calc(-100% - 24px)); }

/* 3. подсветка текущего раздела */
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); background: var(--acc); }

/* 5. кнопка «Отправить, где я» */
.btn--geo { gap: 10px; font: 700 16px/1 "Onest", sans-serif; }
.btn__pin { width: 20px; height: 20px; fill: none; stroke: var(--acc); stroke-width: 1.9; transition: transform 520ms var(--ease); }
.btn--geo:hover .btn__pin { transform: translateY(-3px); }
.btn--geo.is-loading .btn__pin { animation: hop .7s var(--ease) infinite; }
.btn--geo.is-loading { pointer-events: none; }
.cta__note.is-warn { color: var(--ink); }
@keyframes hop { 50% { transform: translateY(-5px); } }

/* 14. отзывы */
.reviews { padding: 130px 0 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.reviews__side { position: sticky; top: 110px; }
.rating { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.rating__num { font-size: clamp(4.5rem, 9vw, 8rem); line-height: .82; letter-spacing: -.07em; }
.rating__stars { display: flex; gap: 4px; }
.rating__stars i { width: 24px; height: 24px; background: #FFB800; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rating p { margin-top: 8px; color: var(--grey); }
.reviews__note { margin-top: 28px; max-width: 40ch; color: var(--grey); }
.reviews .cta { margin-top: 28px; }
.reviews__widget { height: 720px; border-radius: var(--r-card); overflow: hidden; background: #fff; box-shadow: 0 40px 70px -50px color-mix(in srgb, var(--ink) 60%, transparent); }
.reviews__widget iframe { display: block; width: 100%; height: 100%; border: 0; }

/* 20. сохранить в контакты */
.save {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 20px 12px 12px;
  border-radius: 22px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none;
  transition: background-color 320ms var(--ease), transform 620ms var(--ease);
}
.save:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.save > span:last-child { display: grid; font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.35; }
.save b { color: #fff; font-size: 16px; }
.save__ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--acc-dark); display: grid; place-items: center; }
.save__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--dark); stroke-width: 1.9; stroke-linecap: round; }
.contacts__info dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); transition: color 320ms, border-color 320ms; }
.contacts__info dd a:hover { color: var(--acc-dark); border-color: var(--acc-dark); }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; padding-top: 80px; }
  .reviews__side { position: static; }
  .reviews__widget { height: 600px; }
}
@media (max-width: 600px) {
  .nav { gap: 8px; }
  .nav__wa { margin-left: auto; width: 42px; height: 42px; }
  .nav__phone { margin-left: 0; }
  .nav__logo { font-size: 15px; }
  .rating { gap: 14px; }
  .rating__stars i { width: 18px; height: 18px; }
}
@media (max-width: 380px) {
  .nav__logo { font-size: 0; gap: 0; }
  .nav__logo .nav__mark { width: 16px; height: 16px; }
}
@media (max-width: 1100px) and (min-width: 601px) {
  .nav__wa { margin-left: auto; }
  .nav__phone { margin-left: 0; }
}

/* ======================================================= */
/* ===== Дизайн v2: интро, такси, отзывы, 3D, трасса, ночь ===== */
/* ======================================================= */

/* ---------- 24. ночной режим ---------- */
html[data-theme="night"] {
  --bg:#0B0F1E; --soft:#141A30; --line:#252D4B; --ink:#EEF0F8; --grey:#8C93AD;
  --acc:#4D66FF; --acc-ink:#FFFFFF; --dark:#060913; --acc-dark:#9DABFF;
}
html[data-theme="night"] body::after { mix-blend-mode: overlay; opacity: .12; }
html[data-theme="night"] .contacts__map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }
html[data-theme="night"] .truck { box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.nav__theme {
  width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: transform 520ms var(--ease), background-color 320ms;
}
.nav__theme:hover { transform: rotate(-20deg) scale(1.06); }
.nav__theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav__theme .i-moon { fill: currentColor; stroke: none; }
.nav__theme .i-sun { display: none; }
html[data-theme="night"] .nav__theme .i-sun { display: block; }
html[data-theme="night"] .nav__theme .i-moon { display: none; }
@media (max-width: 1100px) and (min-width: 601px) { .nav__theme { margin-left: auto; } .nav__wa { margin-left: 0; } }
@media (max-width: 600px) { .nav__theme { margin-left: auto; width: 42px; height: 42px; } .nav__wa { margin-left: 0; } }

/* ---------- 2. интро: большое фото сжимается в карточку ---------- */
html.is-intro { overflow: hidden; }
.intro { position: fixed; z-index: 90; top: 0; left: 0; width: 100vw; height: 100vh; overflow: hidden; background: var(--soft); }
.intro img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; animation: introZoom 2.2s var(--ease) both; }
.intro__brand {
  position: absolute; left: clamp(20px, 5vw, 64px); bottom: clamp(24px, 6vh, 64px);
  color: #fff; font-weight: 700; font-size: clamp(2.6rem, 7vw, 7rem); line-height: .9; letter-spacing: -.05em;
  text-shadow: 0 4px 40px rgba(0,0,0,.45);
  animation: introText 1s var(--ease) both .15s;
}
.intro__brand span { display: block; font-size: .32em; letter-spacing: -.02em; opacity: .85; margin-top: .3em; }
.intro.is-leaving .intro__brand { opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .5s var(--ease); }
@keyframes introZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes introText { from { opacity: 0; transform: translateY(30px); filter: blur(10px); } }
.hero--intro .truck { clip-path: none; transition: none; }
.hero--intro .truck img { transform: none; transition: none; }
.hero--intro .truck__price, .hero--intro .truck__icons, .hero--intro .truck__status { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.hero--intro.is-in .truck__price, .hero--intro.is-in .truck__icons, .hero--intro.is-in .truck__status { opacity: 1; transform: none; }
.hero--intro.is-in .truck__icons { transition-delay: .1s; }
.hero--intro.is-in .truck__status { transition-delay: .2s; }

/* ---------- 5. ситуации как приложение такси ---------- */
.order { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: 40px; }
.order__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order__list button {
  width: 100%; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 10px 20px 10px 10px; border: 0; border-radius: 20px; background: var(--soft); color: var(--ink);
  font: 700 17px/1.2 "Onest", sans-serif; letter-spacing: -.015em; text-align: left; cursor: pointer;
  transition: background-color 320ms var(--ease), color 320ms, transform 520ms var(--ease);
}
.order__list button:hover { transform: translateX(6px); }
.order__list i { width: 52px; height: 52px; border-radius: 16px; background: var(--bg); display: grid; place-items: center; transition: background-color 320ms; }
.order__list svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 320ms; }
.order__list em { font-style: normal; font-size: 15px; color: var(--grey); white-space: nowrap; }
.order__list button[aria-selected="true"] { background: var(--ink); color: var(--bg); transform: translateX(10px); }
.order__list button[aria-selected="true"] i { background: var(--acc); }
.order__list button[aria-selected="true"] svg { stroke: #fff; }
.order__list button[aria-selected="true"] em { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.phone {
  width: 100%; max-width: 380px; margin-inline: auto; aspect-ratio: 9 / 18.5;
  padding: 11px; border-radius: 54px; background: #0d0f14;
  box-shadow: inset 0 0 0 2px #2b2f3a, 0 60px 90px -50px rgba(0,0,0,.55);
}
.phone__screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.phone__bar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; font: 700 13px "Onest", sans-serif; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.phone__notch { width: 92px; height: 27px; border-radius: 999px; background: #0d0f14; }
.phone__photo { height: 40%; flex: none; overflow: hidden; }
.phone__photo img { width: 100%; height: 100%; object-fit: cover; }
.phone__sheet { position: relative; flex: 1; margin-top: -26px; border-radius: 28px 28px 0 0; background: var(--bg); padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.phone__sheet::before { content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 40px; height: 4px; border-radius: 4px; background: var(--line); }
.phone__label { font-size: 13px; color: var(--grey); }
.phone__sheet h3 { font-size: 23px; line-height: 1.05; letter-spacing: -.04em; }
.phone__sheet > p:not(.phone__label) { font-size: 14px; color: var(--grey); line-height: 1.4; }
.phone__rows { margin: 2px 0 0; display: grid; }
.phone__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.phone__rows dt { color: var(--grey); }
.phone__rows dd { margin: 0; font-weight: 700; text-align: right; }
.phone__sheet .btn--main { margin-top: auto; width: 100%; justify-content: space-between; min-height: 56px; }
.phone__wa { text-align: center; font-weight: 700; font-size: 14px; color: var(--grey); text-decoration: none; padding: 2px 0 4px; transition: color 320ms; }
.phone__wa:hover { color: var(--ink); }
.order__phone .phone__sheet > :not(.btn):not(.phone__wa) { transition: opacity 280ms var(--ease), transform 500ms var(--ease); }
.order__phone.is-swapping .phone__sheet > :not(.btn):not(.phone__wa) { opacity: 0; transform: translateY(8px); }
.phone__photo img.wipe { animation: wipe 1s var(--ease); }

/* ---------- 12. отзывы-инфографика ---------- */
.reviews { display: block; }
.score { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: 48px; }
.score__big { display: flex; align-items: flex-end; gap: 24px; }
.score__num { font-size: clamp(7rem, 17vw, 15rem); line-height: .78; letter-spacing: -.08em; font-variant-numeric: tabular-nums; }
.score__meta { padding-bottom: .6em; }
.score__meta p { margin-top: 10px; color: var(--grey); line-height: 1.35; }
.praise { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--soft); display: grid; gap: 14px; }
.praise__h { font-weight: 700; font-size: 20px; letter-spacing: -.03em; margin-bottom: 6px; }
.praise__row { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr 34px; align-items: center; gap: 16px; font-weight: 700; }
.praise__row i { height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; }
.praise__row i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 0%); border-radius: 999px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.praise.is-in .praise__row i::after { transform: scaleX(1); }
.praise.is-in .praise__row:nth-of-type(3) i::after { transition-delay: .15s; }
.praise.is-in .praise__row:nth-of-type(4) i::after { transition-delay: .3s; }
.praise.is-in .praise__row:nth-of-type(5) i::after { transition-delay: .45s; }
.praise__row b { text-align: right; font-size: 20px; letter-spacing: -.03em; }
.praise__note { font-size: 13px; color: var(--grey); margin-top: 4px; }
.reviews__more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.reviews .reviews__widget { height: 680px; margin-top: 16px; max-width: 760px; animation: open .6s var(--ease); }
.reviews .reviews__widget[hidden] { display: none; }

/* ---------- 14. фото с 3D-наклоном и выносками ---------- */
.tile--photo { display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 2vw, 24px); perspective: 1000px; }
.tile--photo > p { position: static; align-self: flex-start; margin-top: 16px; }
.tilt { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; transform-style: preserve-3d; transition: transform 700ms var(--ease); box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); }
.tilt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.tile--photo:hover .tilt img { transform: none; }
.co {
  position: absolute; z-index: 2; transform: translateZ(50px);
  display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: var(--bg); color: var(--ink); font-weight: 700; font-size: 13px; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}
.co i { width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 25%, transparent); }
.co--1 { left: 44.6%; top: 31%; translate: -10px -50%; }
.co--2 { left: 63%; top: 38%; translate: -10px -50%; }
.co--3 { left: 30%; top: 70%; translate: -10px -50%; }

/* ---------- 21. ночная трасса в контактах ---------- */
.contacts__card > .road-night { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; perspective: 380px; }
.road-night__lanes {
  position: absolute; left: 50%; bottom: -10%; width: 130%; height: 75%; translate: -50% 0;
  transform: rotateX(72deg); transform-origin: 50% 100%;
  display: flex; justify-content: space-around;
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 95%); mask-image: linear-gradient(to top, #000 20%, transparent 95%);
}
.road-night__lanes i { width: 7px; background: repeating-linear-gradient(to bottom, color-mix(in srgb, var(--acc-dark) 70%, transparent) 0 70px, transparent 70px 140px); animation: lane 1.1s linear infinite; }
@keyframes lane { to { background-position: 0 140px; } }
.headlight { position: absolute; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,236,200,.22), transparent 62%); animation: flick 4s ease-in-out infinite; }
.headlight--l { left: -120px; }
.headlight--r { right: -120px; animation-delay: -2s; }
@keyframes flick { 50% { opacity: .65; } }

/* ---------- адаптив новых блоков ---------- */
@media (max-width: 1000px) {
  .order { grid-template-columns: 1fr; }
  .order__list { display: flex; overflow-x: auto; gap: 8px; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .order__list::-webkit-scrollbar { display: none; }
  .order__list li { flex: none; scroll-snap-align: start; }
  .order__list button { grid-template-columns: 40px auto; gap: 10px; padding: 8px 16px 8px 8px; font-size: 15px; white-space: nowrap; }
  .order__list button:hover, .order__list button[aria-selected="true"] { transform: none; }
  .order__list i { width: 40px; height: 40px; border-radius: 12px; }
  .order__list em { display: none; }
  .phone { max-width: 340px; }
  .score { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .praise__row { grid-template-columns: 1fr 44px; row-gap: 6px; }
  .praise__row i { grid-column: 1 / -1; grid-row: 2; }
  .praise__row b { grid-row: 1; grid-column: 2; }
  .co { font-size: 11px; padding: 5px 10px 5px 6px; }
  .co--2 { left: 52%; }
  .reviews .reviews__widget { height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; }
  .praise__row i::after { transform: none; }
}
.co--2 { left: 66%; top: 40%; flex-direction: row-reverse; padding: 7px 8px 7px 12px; translate: calc(-100% + 10px) -50%; }
@media (max-width: 600px) { .co--2 { left: 66%; padding: 5px 6px 5px 10px; } }

/* ===== полоса прокрутки в стиле сайта ===== */
html { scrollbar-width: thin; scrollbar-color: var(--acc) var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--acc); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--acc) 80%, var(--ink)); border-width: 2px; }
::-webkit-scrollbar-button { display: none; height: 0; }
::-webkit-scrollbar-corner { background: var(--bg); }

/* ===== Max ===== */
.contacts__alt + .contacts__alt { margin-top: 4px; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
