/* Kuku: сайт-заглушка kuku.kz, api.kuku.kz, maps.kuku.kz. Шрифт Onest со своего сервера (не Google: адреса посетителей не уходят наружу). */
@font-face { font-family: Onest; src: url(/_k/fonts/Onest_400Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Onest; src: url(/_k/fonts/Onest_600SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Onest; src: url(/_k/fonts/Onest_700Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff; --ink: #0b0d10; --muted: #5b5f66; --line: #e6e8eb; --brand: #f25500; --shot: #f4f5f6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0d10; --ink: #f3f1ee; --muted: #a2a6ad; --line: #24272c; --shot: #17191d; color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip; }
body { font-family: Onest, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; align-items: center; gap: 10px; height: 76px; }
.mark { width: 36px; height: 36px; display: block; }
.word { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-top: 40px; padding-bottom: 120px; } }
h1 { font-size: clamp(44px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 20px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 36px; max-width: 30ch; }
h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 20px; }

/* строки фактов: без карточек, тонкая линия между */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 520px; }
.rows li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows b { font-weight: 600; white-space: nowrap; }
.rows span { color: var(--muted); text-align: right; }
/* на телефоне подпись над значением: длинное значение справа рвалось по словам */
@media (max-width: 560px) { .rows li { flex-direction: column; gap: 2px; } .rows span { text-align: left; } }
.soon { margin: 28px 0 0; font-weight: 600; }

/* витрина: карта города и два телефона с настоящими экранами приложения */
.stage { position: relative; aspect-ratio: 1 / 0.92; border-radius: 32px; background: #ece9e3 url(/_k/img/city.jpg?v=1205509a) 22% 10% / 150% auto no-repeat; margin-bottom: 22%; }
.phone { position: absolute; width: 46%; max-width: 300px; padding: 2.2%; border-radius: 15% / 7%; background: #0b0d10;
  box-shadow: 0 40px 70px -30px rgba(11, 13, 16, .55), 0 12px 24px -12px rgba(11, 13, 16, .35); }
.phone.a { left: 3%; top: 16%; z-index: 1; }
.phone.b { right: 3%; top: -5%; }
.screen { position: relative; border-radius: 12.5% / 5.8%; overflow: hidden; background: #fff; container-type: inline-size; }
.screen img { display: block; width: 100%; height: auto; }
/* строка состояния поверх белого поля сверху кадра (снято с отступом 47 из 390) */
.status { position: absolute; left: 0; right: 0; top: 0; height: 5.57%; display: flex; align-items: center; justify-content: space-between;
  padding: .6% 8% 0 9%; font: 600 12px/1 Onest, system-ui, sans-serif; font-size: 4.3cqw; color: #0b0d10; }
.status::after { content: ""; position: absolute; left: 50%; top: 21%; width: 30%; height: 70%; margin-left: -15%; border-radius: 99px; background: #0b0d10; }
.status svg { height: 9px; height: 3.4cqw; width: auto; display: block; }
.status .icons { display: flex; gap: 4px; gap: 1.6cqw; align-items: center; }
/* выноска: тот же элемент из экрана, увеличенный на 12 % вокруг своего центра — целиком закрывает оригинал.
   Координаты — центр выреза в пикселях снимка 1170×2532, поэтому привязаны к экрану (.sw), а не к витрине */
.sw { position: relative; container-type: inline-size; }
.pick { position: absolute; z-index: 2; --t: translate(-50%, -50%); --s: 1; transform: var(--t) scale(var(--s)); background: #fff; border-radius: 16px; border-radius: 6cqw; padding: 1.6%;
  box-shadow: 0 28px 48px -22px rgba(11, 13, 16, .5), 0 0 0 1px rgba(11, 13, 16, .06); }
.pick img { display: block; width: 100%; height: auto; border-radius: 12px; border-radius: 4.4cqw; }
.pick.tariff { left: 50.09%; top: 61.30%; width: 105.30%; }
.pick.car { left: 50.26%; top: 75.63%; width: 105.68%; --t: translateX(-50%); transform-origin: 50% 0; margin-top: -1.6%; }  /* от верхнего края блока: увеличение уходит вниз, строку «Подача к…» не задевает */
@media (max-width: 899px) { .stage { margin-bottom: 30%; } }

.band { padding: 72px 0; }
/* тёмная полоса для водителей: ритм страницы, не плашка */
.band.dark { background: #0b0d10; color: #f3f1ee; --line: #24272c; --muted: #a2a6ad; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
/* одна крупная цифра — главный довод полосы */
.big { font-size: clamp(96px, 16vw, 168px); line-height: .9; font-weight: 700; letter-spacing: -0.04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.big small { font-size: .42em; letter-spacing: -0.02em; margin-left: .08em; }
.big + p { margin: 16px 0 0; color: var(--muted); font-size: 20px; max-width: 22ch; }
.foot { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 40px; color: var(--muted); font-size: 15px; }

/* одиночные страницы (адрес приложения, карта) */
.single { min-height: calc(100vh - 76px); display: grid; align-content: center; padding-top: 24px; padding-bottom: 72px; }
.single h1 { font-size: clamp(40px, 6vw, 60px); }
.single .lead { max-width: 34ch; }
.mapshot { width: 100%; aspect-ratio: 16 / 10; border-radius: 28px; background: #ece9e3 url(/_k/img/city.jpg?v=1205509a) 30% 20% / cover; margin-top: 40px; }

/* блоки выгод: текст и телефон на светлой панели, через один зеркально */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; padding-top: 72px; padding-bottom: 72px; }
  .feature.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } .feature.flip .ftext { order: 2; } }
.ftext h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 16px; }
.ftext p { font-size: 20px; color: var(--muted); margin: 0; max-width: 30ch; }
.panel { background: var(--shot); border-radius: 32px; padding: 56px 0 64px; display: flex; justify-content: center; overflow: visible; }
.phone.solo { position: relative; width: min(300px, 62%); max-width: none; padding: 9px; border-radius: 48px; }
.phone.solo .screen { border-radius: 39px; }
.pick.queue { left: 50.00%; top: 76.42%; width: 105.11%; }
.pick.wait { left: 50.00%; top: 62.80%; width: 105.11%; }
/* плашка с карты: тёмная сама по себе, без белой карточки */
.pick.chip { left: 49.96%; top: 9.58%; width: 89.50%; background: none; padding: 0; border-radius: 999px; }
.pick.chip img { border-radius: 999px; }

/* карта города на всю ширину, текст на белой карточке поверх */
.mapband { background: #ece9e3 url(/_k/img/city.jpg?v=1205509a) 30% 30% / cover; padding: 120px 0; margin: 48px 0 0; }
.mapcard { background: var(--bg); border-radius: 28px; padding: 36px 36px 32px; max-width: 460px; box-shadow: 0 30px 60px -30px rgba(11, 13, 16, .45); }
.mapcard h2 { font-size: 40px; margin: 0 0 12px; }
.mapcard p { margin: 0; color: var(--muted); font-size: 18px; }

/* финал */
.final { text-align: center; padding-top: 96px; padding-bottom: 96px; }
.final .big { width: 72px; height: 72px; margin: 0 auto 24px; }
.final h2 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 12px; }
.final p { font-size: 20px; color: var(--muted); margin: 0; }

/* картинки не выделяются, не перетаскиваются и не открываются долгим нажатием */
img { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.stage, .panel, .mapband { -webkit-user-select: none; user-select: none; }

/* движение: спокойная кривая, небольшие расстояния, без пружин. Скрываем только при включённом JS (html.js) */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }
html.js [data-reveal] [data-step] { opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
html.js [data-reveal].in [data-step] { opacity: 1; transform: none; }

/* выноска сначала совпадает с экраном (1 / 1,12), потом поднимается с него и отбрасывает тень */
.pick { transition: transform 1.1s var(--ease) .65s, box-shadow 1.1s var(--ease) .65s; }
html.js [data-reveal]:not(.in) .pick { --s: .893; box-shadow: 0 0 0 0 rgba(11, 13, 16, 0); }
.stage .pick { transition-delay: 1.05s; }

/* телефоны на первом экране чуть заметно дышат */
@keyframes kk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.stage .phone.a { animation: kk-float 7s ease-in-out infinite; }
.stage .phone.b { animation: kk-float 7s ease-in-out -3.5s infinite; }

/* цифра комиссии считается вниз — без прыжков ширины */
.big [data-num] { display: inline-block; min-width: 1.15ch; text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .stage .phone { animation: none; }
  .pick { transition: none; }
}
