/* Главная depanini.ru — лендинг. Свой файл, чтобы не трогать остальные страницы (они на site.css).
   Цвета и шрифт — как в приложении: жёлтый #FDC71C, графит, Montserrat (жирный только в заголовках). */
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url('fonts/Montserrat_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('fonts/Montserrat_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('fonts/Montserrat_800ExtraBold.woff2') format('woff2'); }

:root {
  --y: #FDC71C;
  --y-soft: rgba(253, 199, 28, .14);
  --on-y: #15171A;
  --bg: #0D0F12;
  --bg-2: #121418;
  --card: #171A1F;
  --card-2: #1E2228;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F5F6;
  --soft: #B9BEC6;
  --muted: #858B94;
  --green: #4BD98D;
  --r: 16px;
  --mock-bg: #F5F6F7;
  --mock-mute: #6B7078;
  color-scheme: dark;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.y { color: var(--y); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 16px; font: 800 16px/1 'Montserrat', sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-y { background: var(--y); color: var(--on-y);  }
.btn-y:hover { background: #FFD23F; }
.btn-g { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-g:hover { background: rgba(255, 255, 255, .1); }
.btn-d { background: var(--on-y); color: #fff; }
.btn-d:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-o { background: transparent; color: var(--on-y); box-shadow: inset 0 0 0 2px var(--on-y); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 8px; }

/* Шапка */
.top { position: fixed; inset: 0 0 auto; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, box-shadow .3s; }
.top.scrolled { background: rgba(13, 15, 18, .78); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.top.scrolled .wrap { height: 64px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--soft); white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { text-decoration: none; color: var(--on-y); background: var(--y); padding: 11px 16px; border-radius: 12px; font-weight: 800; font-size: 15px; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: #FFD23F; }
@media (max-width: 980px) { .nav-links { gap: 18px; } .nav-links a { font-size: 14px; } .nav-cta-more { display: none; } }
@media (min-width: 760px) and (max-width: 860px) {
  .top .wrap, .nav-links, .nav-actions { gap: 8px; }
  .top .logo { font-size: 18px; gap: 8px; }
  .top .logo img { width: 32px; height: 32px; }
  .nav-cta { padding-inline: 10px; }
}

/* Первый экран */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 520px at 78% 42%, rgba(253, 199, 28, .07), transparent 65%), var(--bg); }
.hero-roads { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 85% 75% at 60% 50%, #000 40%, transparent 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; padding-top: 110px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; font-weight: 800; margin: 0 0 22px; }
.hero h1 .y { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--soft); max-width: 560px; margin: 0 0 28px; }
.invite { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--y-soft); color: #FFE7A0; font-weight: 600; max-width: 560px; }

/* Быстрая цена в первом экране */
.quick { max-width: 560px; padding: 18px; border-radius: var(--r); background: rgba(23, 26, 31, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.seg button { min-height: 40px; border: 0; border-radius: 11px; background: transparent; color: var(--soft); font: 600 14px 'Montserrat', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--y); color: var(--on-y); font-weight: 800; }
.quick-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 16px; }
.quick-prices div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.quick-prices div > span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.quick-prices b { display: block; font-size: clamp(17px, 2vw, 22px); font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; transition: opacity .25s; }
.quick-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-btns .btn { flex: 1 1 200px; }
.quick-note { margin: 12px 2px 0; font-size: 13px; color: var(--muted); }

/* Телефон и всплывающие карточки */
.stage { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2C3138, #0B0C0E); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -20px rgba(0, 0, 0, .9); transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.phone video, .phone .screen-img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #1B1E22; }
.phone::after { content: ''; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); border-radius: 20px; background: #0B0C0E; }
@keyframes float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.toast { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 18px 13px; border-radius: 16px; background: rgba(24, 27, 32, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -12px rgba(0, 0, 0, .7); font-size: 13px; color: var(--soft); white-space: nowrap; opacity: 0; animation: toast-in .7s var(--ease) forwards; }
.toast b { color: #fff; font-size: 15px; font-weight: 800; line-height: 1.2; }
.toast .tl { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 'Montserrat', sans-serif; color: var(--y); margin-bottom: 2px; }
.toast .tl i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.6s steps(2, start) infinite; }
.t1 { top: 12%; left: -6%; animation-delay: .6s; }
.t2 { top: 46%; right: -2%; animation-delay: 1.2s; }
.t3 { bottom: 10%; left: -2%; animation-delay: 1.8s; }


/* Условия под первым экраном */
.terms { border-block: 1px solid var(--line); background: var(--bg-2); }
.terms ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.terms li { padding: 26px 24px; color: var(--soft); font-size: 14px; border-left: 1px solid var(--line); }
.terms li:first-child { border-left: 0; padding-left: 0; }
.terms b { display: block; color: var(--text); font-size: 16px; font-weight: 800; margin-bottom: 4px; }
@media (max-width: 980px) { .terms ul { grid-template-columns: 1fr 1fr; } .terms li:nth-child(3) { border-left: 0; padding-left: 0; } .terms li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .terms ul { grid-template-columns: 1fr; } .terms li { border-left: 0; padding: 16px 0; } .terms li + li { border-top: 1px solid var(--line); } }

/* Секции */
.sec { padding: clamp(64px, 8vw, 108px) 0; position: relative; scroll-margin-top: 72px; }
.sec-alt { background: var(--bg-2); }
.sec h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; max-width: 620px; text-wrap: balance; }
.sec .sub { font-size: clamp(16px, 1.4vw, 18px); color: var(--soft); max-width: 520px; margin: 18px 0 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
@media (min-width: 900px) { .sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; } .sec-head .sub { margin: 0; justify-self: end; } }


/* Три шага — чередуются слева и справа */
.steps { display: grid; gap: clamp(48px, 7vw, 96px); counter-reset: st; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
.step-num { display: inline-block; font: 600 14px/1 'Montserrat', sans-serif; color: var(--y); margin-bottom: 16px; }
.step-num::before { content: 'Шаг '; }
.step-num::after { content: ' / 3'; color: var(--muted); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.step-text p { color: var(--soft); font-size: 17px; margin: 0; max-width: 460px; }
.step-art { display: flex; justify-content: center; position: relative; }
.steps-stage { display: none; }
@media (min-width: 981px) {
  .steps.scrolly { grid-template-columns: 1fr 1fr; gap: 0 64px; }
  .scrolly .step { grid-column: 1; display: flex; align-items: center; min-height: 72vh; }
  .scrolly .step-art { display: none; }
  .js .scrolly .step:not(.on) .step-text { opacity: .28; }
  .scrolly .steps-stage { display: block; grid-column: 2; grid-row: 1 / span 3; }
  .steps-phone { position: sticky; top: calc(50vh - 290px); height: 580px; }
  .steps-phone .mini { position: absolute; left: 50%; top: 0; width: 310px; margin-left: -155px; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .steps-phone .mini.on { opacity: 1; transform: none; }
}

/* Мини-экраны приложения (нарисованы, цены — настоящие) */
.mini { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 16.5; border-radius: 36px; padding: 9px; background: linear-gradient(145deg, #2C3138, #0B0C0E); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.mini-in { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #EEF0EC; color: #15171A; font-size: 12px; }
.mmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-top { position: absolute; top: 14px; left: 12px; right: 12px; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); font-weight: 600; }
.mini-top::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #15171A; }
.pin { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -100%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--y); font-weight: 800; font-size: 15px; line-height: 1; text-align: center; box-shadow: 0 0 0 6px rgba(253, 199, 28, .35), 0 8px 20px rgba(0, 0, 0, .25); }
.pin small { display: block; font-size: 9px; font-weight: 600; }
.pin::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--y); animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.mini-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--y); font-weight: 800; font-size: 13px; }
.mini-sheet { position: absolute; inset: auto 0 0; padding: 16px 14px 14px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
.mini-title { font-weight: 800; font-size: 17px; margin: 4px 2px 12px; }
.opt { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px #E4E6E8; margin-bottom: 8px; }
.opt.on { background: #FFF6D6; box-shadow: inset 0 0 0 2px var(--y); }
.opt img { width: 64px; height: 36px; object-fit: contain; }
.opt b { display: block; font-size: 13px; }
.opt span { color: #6B7078; font-size: 11px; }
.opt em { font-style: normal; font-weight: 800; font-size: 14px; white-space: nowrap; }
.mini-cta { margin-top: 6px; padding: 13px; border-radius: 14px; background: var(--y); text-align: center; font-weight: 800; font-size: 13px; }
.mini-hint { margin: 0 2px 10px; color: #6B7078; font-size: 11px; }
.mini-total { margin: 12px 0 4px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #E4E6E8; }
.mini-total span { color: #6B7078; font-size: 11px; }
.mini-total b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.02em; }
.drv { display: flex; align-items: center; gap: 10px; }
.ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #F1F2F3; font-weight: 800; }
.eta { margin-left: auto; padding: 8px 10px; border-radius: 12px; background: #FFF1C2; text-align: center; font-weight: 800; font-size: 16px; line-height: 1; }
.eta small { display: block; font-size: 9px; font-weight: 600; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.acts span { padding: 9px 4px; border-radius: 10px; box-shadow: inset 0 0 0 1px #E4E6E8; text-align: center; font-weight: 600; font-size: 11px; }
.paid { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #F4F5F6; }
.paid b { font-size: 15px; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.calc-controls { padding: clamp(18px, 3vw, 28px); border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; }
.calc-label { font-weight: 600; font-size: 13px; color: var(--muted); margin-bottom: 8px; display: block; }
.calc-group { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-group button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--soft); font: 600 15px 'Montserrat', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
.calc-group button:hover { color: #fff; }
.calc-group button[aria-pressed="true"] { background: var(--y); color: var(--on-y); box-shadow: none; font-weight: 800; }
.calc-km { display: grid; gap: 10px; }
.calc-km .row { display: flex; justify-content: space-between; font-weight: 600; color: var(--soft); }
.calc-km b { color: #fff; font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); outline-offset: 6px; }
.calc-extra { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--soft); font-weight: 600; font-size: 15px; }
.calc-extra label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.calc-extra input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--y); }
.calc-extra select { min-height: 38px; padding: 0 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font: 600 15px 'Montserrat', sans-serif; }
.calc-extra input:disabled + span { opacity: .4; }
.calc-result { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--y); color: var(--on-y); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px; }
.calc-cap { font-weight: 800; font-size: 14px; opacity: .7; }
.calc-price { display: block; font-size: clamp(48px, 6.5vw, 80px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.calc-price.pop { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(.94); opacity: .5; } 100% { transform: none; opacity: 1; } }
.calc-promise { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(21, 23, 26, .09); font-weight: 800; font-size: 14px; }
.calc-promise svg { width: 18px; height: 18px; }
.calc-note, .calc-driver { position: relative; z-index: 1; margin: 0; font-size: 14px; font-weight: 600; }
.calc-driver { opacity: .75; }
.calc-foot { position: relative; z-index: 1; display: grid; gap: 8px; }
.price-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; max-width: 900px; }
.price-note a { color: var(--soft); }

/* Бенто — что умеет приложение */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.tile h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; position: relative; z-index: 1; }
.tile p { margin: 0; color: var(--soft); font-size: 15px; position: relative; z-index: 1; max-width: 420px; }
.tile-art { margin-top: auto; padding-top: 22px; position: relative; }
.t-map { grid-column: span 4; grid-row: span 2; background: linear-gradient(180deg, rgba(23, 26, 31, 0) 40%, rgba(23, 26, 31, .95)), var(--card); }
.t-map .live-map { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.t-map h3 { font-size: clamp(26px, 3vw, 34px); }
.t-map .tile-body { margin-top: auto; position: relative; z-index: 1; }
.t-own { grid-column: span 2; }
.t-photo { grid-column: span 2; }
.t-push { grid-column: span 2; }
.t-chat { grid-column: span 2; }
.t-share { grid-column: span 2; }
.bid { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bid span { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-weight: 800; font-size: 18px; color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.bid b { padding: 10px 14px; border-radius: 12px; background: var(--y); color: var(--on-y); font-weight: 800; font-size: 18px; }
.bid svg { width: 22px; height: 22px; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shots div { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(160deg, #2A2F36, #1A1D22); display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px; position: relative; }
.shots svg { width: 26px; height: 26px; color: var(--soft); margin: 0 auto 4px; }
.shots div::after { content: ''; position: absolute; top: 8px; right: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.notes { display: grid; gap: 8px; }
.notes div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 13px; color: var(--soft); }
.notes div:nth-child(2) { margin-left: 12px; opacity: .8; }
.notes div:nth-child(3) { margin-left: 24px; opacity: .6; }
.notes b { color: #fff; }
.notes i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--y) url('img/favicon-48.png') center / cover; }
.bubbles { display: grid; gap: 8px; }
.bubbles span { max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .07); font-size: 14px; color: var(--soft); }
.bubbles span.me { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--y); color: var(--on-y); font-weight: 600; }
.share-link { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 14px; color: var(--soft); }
.share-link svg { width: 20px; height: 20px; color: var(--y); flex: none; }

/* Эвакуаторы */
.trucks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.truck { position: relative; overflow: hidden; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.truck img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; margin: 6px 0 14px; transition: transform .5s var(--ease); filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
.truck:hover img { transform: translateX(8px); }
.truck h3 { font-size: 22px; font-weight: 800; }
.truck p { margin: 6px 0 14px; color: var(--soft); font-size: 15px; }
.truck .from { margin-top: auto; font-weight: 800; font-size: 18px; color: var(--y); }
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.help a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; transition: background .2s; }
.help a:hover { background: rgba(255, 255, 255, .08); }
.help b { color: var(--y); font-weight: 800; white-space: nowrap; }

/* Видео */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: clamp(20px, 4vw, 48px); }
.reels figure { margin: 0; }
.reel { position: relative; }
.play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 0; border-radius: 50%; background: rgba(13, 15, 18, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), background .25s; }
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.play:hover { transform: scale(1.06); background: var(--y); color: var(--on-y); }
.reel.playing .play { opacity: 0; pointer-events: none; }
.reels video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: #1B1E22; box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9); }
.reels figcaption { text-align: center; margin-top: 14px; color: var(--soft); font-size: 15px; }
.reels figcaption b { display: block; color: var(--text); font-size: 17px; font-weight: 600; margin-bottom: 2px; }

/* Честно */
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honest-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.honest-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--soft); }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Водителям и партнёрам */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { position: relative; overflow: hidden; min-height: 380px; padding: clamp(26px, 3.5vw, 40px); border-radius: 20px; display: flex; flex-direction: column; }
.duo-card h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.duo-card p { font-size: 17px; margin: 14px 0 26px; max-width: 440px; position: relative; z-index: 1; }
.duo-card .btns { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.duo-drv { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.duo-drv p { color: var(--soft); }
.duo-drv img { width: 86%; max-width: 440px; align-self: flex-end; margin: -6px -10px 18px auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.duo-prt { background: var(--y); color: var(--on-y); }
.duo-prt .big { margin: auto 0 22px; font-size: clamp(72px, 10vw, 140px); font-weight: 800; line-height: .85; letter-spacing: -.05em; opacity: .9; }
.duo-prt .big small { display: block; font-size: 16px; letter-spacing: 0; font-weight: 600; opacity: .75; margin-top: 10px; }

/* Города */
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities a { padding: 12px 18px; border-radius: 99px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.cities a:hover { background: var(--y); color: var(--on-y); }
.cities a.all { background: var(--y); color: var(--on-y); font-weight: 800; }

/* Советы */
.guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guides a { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 170px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 800; font-size: 18px; line-height: 1.25; transition: transform .3s var(--ease), background .3s; }
.guides a span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--y-soft); color: var(--y); align-self: flex-end; transition: transform .3s var(--ease); }
.guides a:hover span { transform: translateX(4px); }
.guides svg { width: 20px; height: 20px; }
.more-link { display: inline-block; margin-top: 22px; color: var(--soft); font-weight: 600; }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-head { position: sticky; top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FDC71C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--soft); max-width: 640px; }
.faq details a { color: var(--y); }

/* Финал */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(72px, 10vw, 120px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; max-width: 900px; margin: 0 auto; }
.final p { color: var(--soft); font-size: 18px; margin: 20px auto 32px; max-width: 520px; }
.final .btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Подвал */
footer { border-top: 1px solid var(--line); padding: 56px 0 calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .logo { color: var(--text); }
.foot-brand p { margin: 14px 0 0; max-width: 300px; line-height: 1.6; }
.foot-contacts a { color: var(--text); text-decoration: none; font-weight: 600; }
footer nav { display: flex; flex-direction: column; gap: 10px; }
footer nav b { color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
footer nav a { display: flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; transition: color .2s; }
footer nav a:hover { color: var(--text); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } footer { padding-bottom: 100px; } }

/* Плашка заказа на телефоне */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(23, 26, 31, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px rgba(0, 0, 0, .6); transform: translateY(140%); transition: transform .4s var(--ease); }
.sticky.on { transform: none; }
/* Под плашкой — фон до края экрана: кнопка страницы не просвечивает снизу, пока не доедет до места плашки */
.sticky::before { content: ''; position: absolute; left: -12px; right: -12px; top: 40%; bottom: calc(-12px - env(safe-area-inset-bottom, 0px)); z-index: -1; pointer-events: none; background: linear-gradient(rgba(18, 20, 24, 0), var(--bg-2) 45%); }
.sticky .btn { flex: 1; min-height: 50px; }
.sticky .btn { min-width: 0; padding: 0 14px; font-size: 15px; }
/* Появление при прокрутке (только если работает JS) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; } .js .rv-d2 { transition-delay: .16s; } .js .rv-d3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 96px; gap: 56px; }
  .stage { order: 2; }
  .t1 { left: 0; } .t2 { right: 0; } .t3 { left: 4%; }
  .calc { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-map { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .t-own, .t-photo, .t-push, .t-chat, .t-share { grid-column: span 1; }
  .guides { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; height: auto; gap: 0 12px; padding-top: 10px; }
  .top.scrolled .wrap { height: auto; }
  .logo { height: 48px; font-size: 18px; }
  .logo img { width: 32px; height: 32px; }
  /* В шапке на телефоне кнопки нет: «Вызвать эвакуатор» — одна, на странице или в нижней плашке */
  .nav-actions { display: none; }
  .nav-links { order: 3; width: 100%; margin: 6px 0 0; padding-bottom: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-height: 120px; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease), opacity .25s; }
  .nav-links a { padding: 9px 4px; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 14px; }
  .top.scrolled .nav-links { max-height: 0; padding-bottom: 0; margin-top: 0; opacity: 0; pointer-events: none; }
  .top { background: rgba(13, 15, 18, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
  .hero .wrap { padding-top: 168px; padding-bottom: 96px; gap: 40px; }
  .hero h1 { font-size: 38px; margin-bottom: 14px; }
  .lead { font-size: 16px; margin-bottom: 18px; }
  .sec { scroll-margin-top: 110px; }
  .step, .honest, .duo, .trucks, .help { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-text { order: 0; }
  .reels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .reels video { border-radius: 18px; }
  .bento { grid-template-columns: 1fr; }
  .t-map, .t-own, .t-photo, .t-push, .t-chat, .t-share { grid-column: auto; }
  .duo-card { min-height: 0; }
  .duo-drv img { width: 100%; margin: 0 0 20px; }
  .sticky { display: flex; }
  .toast { font-size: 12px; padding: 10px 14px 11px; }
  .toast b { font-size: 13px; }
}
@media (max-width: 520px) {
  .quick-prices { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .quick-prices div { padding: 10px 8px; }
  .quick-prices b { font-size: 15px; white-space: nowrap; }
  .quick-prices div > span { font-size: 11px; }
  .seg button { font-size: 13px; white-space: nowrap; }
  .quick { padding: 12px; }
  .guides { grid-template-columns: 1fr; }
  .guides a { min-height: 0; flex-direction: row; align-items: center; }
  .t2 { right: 0; }
}
.hero .wrap > * { min-width: 0; }
@media (max-width: 360px) {
  .hero h1 { font-size: 34px; }
  .quick { padding: 10px; }
  .seg button { font-size: 12px; }
  .quick-prices div { padding: 9px 6px; }
  .quick-prices b { font-size: 13px; }
  .quick-prices div > span { font-size: 10px; }
  .nav-links a { font-size: 13px; }
  .btn { padding: 14px 16px; white-space: normal; text-align: center; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .toast { opacity: 1; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Эффекты (только для мыши/прокрутки; при «уменьшить движение» выключены) ===== */
/* Полоса прокрутки: эвакуатор едет по дороге сверху */
.prog { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(4px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); pointer-events: none; opacity: 0; transition: opacity .3s; }
.prog.on { opacity: 1; }
.prog i { display: block; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, rgba(253, 199, 28, .2), var(--y)); }
.prog svg { position: absolute; top: calc(env(safe-area-inset-top, 0px) - 6px); left: 0; width: 34px; height: 18px; transform: translateX(calc(var(--p, 0) * (100vw - 34px))); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }

/* Подсветка за курсором и 3D-наклон телефона */

.stage { transform: perspective(1200px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transform-style: preserve-3d; transition: transform .5s var(--ease); }
.stage .toast { --z: 70px; }
.stage .t2 { --z: 110px; }
@keyframes toast-in { from { opacity: 0; transform: translate3d(0, 14px, var(--z, 0)) scale(.96); } to { opacity: 1; transform: translate3d(0, 0, var(--z, 0)); } }

/* Живые часы: дневная или ночная цена прямо сейчас */
.clock { display: inline-flex; align-items: center; gap: 8px; margin: 12px 2px 0; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); font: 600 13px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: var(--soft); }
.clock b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.clock i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s steps(2, start) infinite; }
.clock.night i { background: var(--y); }
@keyframes blink { to { opacity: .25; } }

/* Табло: цифры прокручиваются */
.odo { display: inline-flex; align-items: baseline; white-space: nowrap; }
.odo-d { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.odo-d > span { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.2, .9, .25, 1); transition-delay: calc(var(--k, 0) * 30ms); }
.odo-d i { display: block; height: 1em; line-height: 1; font-style: normal; }
.odo-s { display: inline-block; line-height: 1; }
.calc-odo { display: block; margin-top: 8px; font-size: clamp(48px, 6.5vw, 80px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.quick-prices b .odo { font-variant-numeric: tabular-nums; }

/* Заголовки по словам */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.js .rv .w > span { transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .rv.in .w > span { transform: none; }
.js .hero h1 .w > span { animation: wup 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + .1s); }
@keyframes wup { from { transform: translateY(110%); } to { transform: none; } }


/* Кнопка: блик и притяжение к курсору */

/* Ползунок километров — эвакуатор на дороге */
input[type="range"] { height: 10px; background: linear-gradient(90deg, var(--y) 0 var(--p, 5%), rgba(255, 255, 255, .1) var(--p, 5%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; cursor: grab; width: 48px; height: 26px; border: 0; border-radius: 0; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-54 -28 108 56'%3E%3Cg transform='rotate(90) translate(-60 -57)'%3E%3Crect x='34' y='46' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='81' y='46' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='34' y='90' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='81' y='90' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='38' y='36' width='44' height='72' rx='9' fill='%23F5A623'/%3E%3Crect x='44' y='42' width='32' height='63' rx='5' fill='%2346484B'/%3E%3Crect x='57' y='47' width='6' height='42' rx='3' fill='%23D9413A'/%3E%3Crect x='48' y='85' width='24' height='6' rx='3' fill='%23D9413A'/%3E%3Crect x='38' y='7' width='44' height='28' rx='9' fill='%23F5A623'/%3E%3Crect x='43' y='25' width='34' height='8' rx='4' fill='%23A9CCF0'/%3E%3Crect x='48' y='13' width='24' height='7' rx='3.5' fill='%23FFFFFF'/%3E%3Crect x='56' y='13' width='8' height='7' fill='%23D9413A'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
input[type="range"]::-moz-range-thumb { width: 48px; height: 26px; border: 0; border-radius: 0; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-54 -28 108 56'%3E%3Cg transform='rotate(90) translate(-60 -57)'%3E%3Crect x='34' y='46' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='81' y='46' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='34' y='90' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='81' y='90' width='5' height='13' rx='2' fill='%2315171A'/%3E%3Crect x='38' y='36' width='44' height='72' rx='9' fill='%23F5A623'/%3E%3Crect x='44' y='42' width='32' height='63' rx='5' fill='%2346484B'/%3E%3Crect x='57' y='47' width='6' height='42' rx='3' fill='%23D9413A'/%3E%3Crect x='48' y='85' width='24' height='6' rx='3' fill='%23D9413A'/%3E%3Crect x='38' y='7' width='44' height='28' rx='9' fill='%23F5A623'/%3E%3Crect x='43' y='25' width='34' height='8' rx='4' fill='%23A9CCF0'/%3E%3Crect x='48' y='13' width='24' height='7' rx='3.5' fill='%23FFFFFF'/%3E%3Crect x='56' y='13' width='8' height='7' fill='%23D9413A'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

@media (prefers-reduced-motion: reduce) {
  .stage { transform: none !important; }
  .js .rv .w > span, .js .hero h1 .w > span { transform: none !important; }
}

.nav-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text); white-space: nowrap; }
.nav-tel svg { width: 18px; height: 18px; color: var(--y); }
@media (max-width: 1180px) { .nav-tel span { display: none; } .nav-tel { width: 42px; height: 42px; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); } }
.sticky .sticky-tel { flex: 0 0 auto; gap: 8px; }
.sticky-tel svg { width: 18px; height: 18px; color: var(--y); }
@media (max-width: 380px) { .sticky .sticky-tel { width: 54px; padding: 0; font-size: 0; gap: 0; } .sticky-tel svg { width: 22px; height: 22px; } }

/* <picture> с AVIF/WebP не меняет вёрстку: размеры задаёт сама картинка (SEO-аудит 26.11.2026) */
picture { display: contents; }
