/* ЗЯРНО: путь кофе от планеты до чашки. Концепт-сайт, plavsuk.com. Версия 1 */

:root {
  --night: #1A120B; --night-2: #23180F; --night-line: #3A2A1C; --espresso: #1A120B;
  --fog: #F3E9DC; --paper: #FBF6EE; --ink: #1A120B; --steel: #7A6A5A; --line: #E2D6C6; --line-2: #C9B9A5;
  --route: #C98B3F; --route-2: #E0A85C; --cherry: #B8322B; --leaf: #5D7A4A; --ok: #6FA35C; --on-dark: #F3E9DC; --on-dark-muted: #B9A893;
  --glass: rgba(26, 18, 11, .86); --glass-line: rgba(243, 233, 220, .14); --glass-2: rgba(243, 233, 220, .07);
  --display: 'Yeseva One', Georgia, serif; --sans: 'Commissioner', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px); --maxw: 1320px; --head: 72px; --ease: cubic-bezier(.22, 1, .36, 1);
  --bk-bg: #FBF6EE; --bk-surface: #F3E9DC; --bk-line: #E2D6C6; --bk-text: #1A120B; --bk-muted: #7A6A5A;
  --bk-accent: #C98B3F; --bk-accent-ink: #1A120B; --bk-hi: #1A120B; --bk-hi-ink: #F3E9DC; --bk-card-r: 14px;
  --bk-display: 'Yeseva One', serif; --bk-font: 'Commissioner', Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--on-dark); font: 400 16.5px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--route-2); outline-offset: 3px; }
::selection { background: rgba(224, 168, 92, .45); }
[hidden] { display: none !important; }
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 999px; }
.skip:focus { top: 12px; }
body.lock { overflow: hidden; }

/* ---------- типографика ---------- */
.kicker { font: 600 12.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--route-2); }
.h1 { font: 600 clamp(1.8rem, 3.2vw, 3rem)/1.08 var(--display); letter-spacing: 0; margin-top: 16px; }
.h1 span { display: block; margin-top: .4em; font: 500 clamp(.95rem, 1.2vw, 1.15rem)/1.35 var(--display); color: var(--on-dark-muted); letter-spacing: 0; }
.h2 { font: 600 clamp(1.5rem, 2.4vw, 2.2rem)/1.12 var(--display); letter-spacing: 0; margin-top: 14px; }
.lead { margin-top: 14px; color: rgba(238, 241, 244, .8); font-size: 16px; line-height: 1.6; max-width: 40em; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--main { background: var(--route); color: var(--ink); box-shadow: 0 10px 24px rgba(31, 95, 224, .3); }
.btn--main:hover { background: #D99A4E; transform: translateY(-2px); }
.btn--light { background: var(--fog); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--line { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--line:hover { border-color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head); color: #fff; transition: background .4s var(--ease), transform .45s var(--ease); background: linear-gradient(180deg, rgba(11, 22, 34, .55), rgba(11, 22, 34, 0)); }
.top.is-solid { background: rgba(11, 22, 34, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top.is-hidden { transform: translateY(-100%); }
.top__in { height: 100%; display: flex; align-items: center; gap: 30px; width: min(1560px, 100% - var(--gutter) * 2); margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.logo svg { width: 40px; height: 24px; }
.logo b { font: 600 17px/1 var(--display); letter-spacing: .02em; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { position: relative; padding: 6px 0; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .75); transition: color .25s; }
nav.main a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--route-2); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
nav.main a:hover, nav.main a.is-active { color: #fff; }
nav.main a:hover::after, nav.main a.is-active::after { transform: none; }
.burger, .mobile { display: none; }
#mnav { position: absolute; opacity: 0; pointer-events: none; }
@media (max-width: 1080px) {
  nav.main, .top__cta { display: none; }
  .burger { display: flex; margin-left: auto; width: 48px; height: 48px; flex-direction: column; justify-content: center; align-items: center; gap: 7px; cursor: pointer; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(11, 22, 34, .4); }
  .burger i { width: 20px; height: 2px; background: #fff; transition: transform .35s var(--ease); }
  #mnav:checked ~ .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
  #mnav:checked ~ .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  #mnav:focus-visible ~ .burger { outline: 2px solid var(--route-2); }
  .mobile { display: flex; flex-direction: column; position: fixed; inset: var(--head) 0 0; z-index: 59; padding: 22px var(--gutter) 32px; background: var(--night); color: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
  #mnav:checked ~ .mobile { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile nav { display: flex; flex-direction: column; }
  .mobile nav a { font: 600 clamp(20px, 5.6vw, 28px)/1.3 var(--display); padding: 9px 0; border-bottom: 1px solid var(--night-line); }
  .mobile__cta { display: grid; gap: 12px; margin-top: 26px; }
  .mobile__note { margin-top: auto; padding-top: 22px; font-size: 14px; color: var(--on-dark-muted); }
  .top.menu-open { background: var(--night); }
}

/* ---------- сцена и остановки: статичная раскладка по умолчанию ---------- */
.stage { display: none; }
.film { position: relative; }
.stop { position: relative; }
.stop__still { display: block; width: 100%; height: clamp(320px, 64vh, 720px); object-fit: cover; object-position: 50% 55%; }
.stop__in { position: relative; z-index: 2; display: flex; margin-top: -140px; padding: 0 var(--gutter) 56px; }
.stop[data-side="right"] .stop__in { justify-content: flex-end; }
.panel { width: min(600px, 100%); background: rgba(9, 18, 30, .86); border: 1px solid var(--glass-line); border-radius: 22px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.panel > * { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n, 0) * 70ms); }
html.is-film .panel > * { opacity: 0; transform: translateY(18px); }
html.is-film .panel.is-on > * { opacity: 1; transform: none; }
.stop--wide .panel { width: min(1000px, 100%); }
.panel__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.panel__foot { margin-top: 16px; font-size: 13.5px; color: var(--on-dark-muted); }
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .rv.is-in { opacity: 1; transform: none; }

/* кино: фиксированная сцена, липкие панели */
html.is-film .stage { display: block; position: fixed; inset: 0; z-index: 0; background: var(--night); }
html.is-film .stage canvas { display: block; width: 100%; height: 100%; }
.stage__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55) 100%); }
html.is-film .stop { min-height: 260vh; z-index: 2; }
html.is-film .stop:last-child { min-height: 200vh; }
html.is-film .stop:last-of-type { min-height: 200vh; }
html.is-film .stop__still { display: none; }
html.is-film .stop__in { position: sticky; top: 0; height: 100vh; margin: 0; padding: calc(var(--head) + 6px) var(--gutter) 20px; align-items: safe center; }
html.is-film .panel { opacity: var(--op, 0); transform: translateY(calc((1 - var(--op, 0)) * 28px)); pointer-events: none; max-height: calc(100vh - var(--head) - 26px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
html.is-film .panel.is-on { pointer-events: auto; }
html.is-film .after, html.is-film .foot { position: relative; z-index: 3; }
.loader { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center; background: var(--night); color: rgba(238, 241, 244, .7); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .8s var(--ease), visibility 0s .8s; z-index: 2; }
.loader i { width: 46px; height: 2px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.loader i::after { content: ''; position: absolute; inset: 0; background: var(--route-2); transform: translateX(-100%); animation: ld 1.4s ease-in-out infinite; }
@keyframes ld { to { transform: translateX(100%); } }
html.is-ready .loader { opacity: 0; visibility: hidden; }
.hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(238, 241, 244, .8); transition: opacity .5s; white-space: nowrap; }
.hint span { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 12px; position: relative; }
.hint span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } }
.hint.is-off { opacity: 0; }
.hud { position: absolute; left: 24px; bottom: 22px; width: min(360px, 60vw); display: grid; gap: 8px; }
.hud__route { display: flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--display); color: rgba(238, 241, 244, .9); }
.hud__route i { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .25); }
.hud__route em { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--route-2); }
.hud__route b { position: relative; }
.hud__route i b { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(79, 140, 255, .35); }
.hud__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 241, 244, .7); font-variant-numeric: tabular-nums; }
.route { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; pointer-events: auto; }
.route__dot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 30px; padding: 2px 0; color: rgba(238, 241, 244, .55); font-size: 12.5px; font-weight: 600; transition: color .3s; }
.route__dot span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.route__dot i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); transition: background .3s, border-color .3s, transform .3s; }
.route__dot:hover span, .route__dot.is-on span { opacity: 1; transform: none; }
.route__dot.is-on { color: #fff; }
.route__dot.is-on i { background: var(--route-2); border-color: var(--route-2); transform: scale(1.3); }
html.is-static .stage, html.is-static .hint, html.is-static .hud, html.is-static .route { display: none; }

/* ---------- элементы панелей ---------- */
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--glass-line); }
.facts-row b { display: block; font: 600 17px/1.15 var(--display); }
.facts-row span { font-size: 12.5px; color: var(--on-dark-muted); }
.qr { margin-top: 18px; padding: 14px 14px 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.qr__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.qr__f { display: grid; gap: 6px; min-width: 0; }
.qr__f span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.qr__f select, .sel select { width: 100%; min-height: 50px; padding: 0 36px 0 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(11, 22, 34, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center/12px; color: #fff; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; }
.qr__f select:focus, .sel select:focus { outline: none; border-color: var(--route-2); box-shadow: 0 0 0 4px rgba(79, 140, 255, .25); }
.qr__f option, .sel option { color: var(--ink); background: #fff; }
.qr__arrow { position: relative; width: 30px; height: 50px; }
.qr__arrow::before { content: ''; position: absolute; left: 2px; right: 4px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .45); }
.qr__arrow::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.qr__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; }
.qr__out b { font: 600 clamp(20px, 1.8vw, 26px)/1 var(--display); }
.qr__out span { font-size: 13.5px; color: var(--on-dark-muted); }

/* парк */
.lineup { display: grid; gap: 8px; margin-top: 18px; }
.lu { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.lu__ph { width: 84px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.lu__ph button, .lu__ph img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lu__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lu__name svg { width: 48px; height: 24px; color: var(--route-2); flex: 0 0 auto; }
.lu h3 { font: 600 14.5px/1.2 var(--display); }
.lu__cnt { font-size: 12.5px; color: var(--on-dark-muted); }
.facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.facts span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; }
.lu__for { margin-top: 6px; font-size: 13px; color: var(--on-dark-muted); }

/* маршрутный лист */
.calc__grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; margin-top: 18px; }
.sheet { display: grid; gap: 16px; padding: 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.sheet__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .2); font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.sheet__head b { color: #fff; }
.sheet__route { display: grid; grid-template-columns: 1fr minmax(100px, .7fr) 1fr; gap: 10px; align-items: end; }
.sel label { display: block; margin-bottom: 6px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.sheet__line { position: relative; height: 50px; display: grid; align-content: space-between; justify-items: center; font-size: 12.5px; font-weight: 700; color: var(--on-dark-muted); padding: 2px 0; }
.sheet__line i { position: absolute; left: 6px; right: 12px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .3); }
.sheet__line i::after { content: ''; position: absolute; right: -3px; top: -6px; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.sheet__line span:first-child { color: #fff; }
.sheet__t { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: -8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; cursor: pointer; min-width: 0; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: grid; gap: 2px; padding: 10px 10px 9px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.tile svg { width: 64px; height: 32px; max-width: 100%; color: var(--on-dark-muted); margin-bottom: 4px; transition: color .25s; }
.tile b { font-size: 13.5px; font-weight: 700; }
.tile small { font-size: 12.5px; color: var(--on-dark-muted); }
.tile:hover span { border-color: #fff; transform: translateY(-2px); }
.tile input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.tile input:checked + span svg { color: var(--route); }
.tile input:checked + span small { color: var(--steel); }
.tile input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.sheet__params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sheet__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.fld { min-width: 0; }
.fld__t, .fld legend { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 0; margin-bottom: 6px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.fld__t output { color: #fff; font: 600 18px/1 var(--display); margin-left: auto; letter-spacing: 0; }
.fld__t small { font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.pills small { font-size: 12.5px; font-weight: 500; color: var(--on-dark-muted); }
.pills label:hover span { border-color: #fff; }
.pills input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.pills input:checked + span small { color: var(--steel); }
.pills input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.range { position: relative; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--route-2) var(--p, 50%), rgba(255, 255, 255, .25) var(--p, 50%)); }
.range input::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.range input::-moz-range-progress { height: 4px; background: var(--route-2); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--route); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.range input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--route); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(79, 140, 255, .35); }
.range--temp input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #5B9BD5 0%, #E9EEF3 62%, #E07A5F 100%); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; }
.check input { width: 22px; height: 22px; accent-color: var(--route-2); }
.inp { position: relative; }
.inp input, .inp textarea { width: 100%; min-height: 54px; padding: 21px 14px 7px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(11, 22, 34, .5); color: #fff; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s; }
.inp textarea { min-height: 72px; resize: vertical; }
.inp label { position: absolute; left: 15px; top: 17px; font-size: 15px; color: var(--on-dark-muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 30px); }
.inp input:focus, .inp textarea:focus { border-color: var(--route-2); box-shadow: 0 0 0 4px rgba(79, 140, 255, .22); }
.inp input:focus + label, .inp input:not(:placeholder-shown) + label, .inp textarea:focus + label, .inp textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--route-2); }
.inp input::placeholder, .inp textarea::placeholder { color: transparent; }
.inp.is-bad input, .inp.is-bad textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .2); }
.inp--sm { margin-top: 8px; }
.consent { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.5; }
.consent a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.rate { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 18px; position: sticky; top: 0; }
.rate__k { font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.rate__sum { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; font: 600 clamp(30px, 2.4vw, 38px)/1 var(--display); font-variant-numeric: tabular-nums; }
.rate__sum small { font: 700 13px/1 var(--sans); letter-spacing: .08em; color: var(--steel); }
.rate__sum span.is-tick { display: inline-block; animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .3; transform: translateY(6px); } }
.rate__route { font-size: 13.5px; color: var(--steel); }
.bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 14px 0 10px; background: var(--fog); }
.bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.bar__base { background: var(--route); } .bar__urg { background: var(--ink); } .bar__ins { background: var(--ok); }
.legend { display: grid; gap: 5px; font-size: 13.5px; }
.legend li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; }
.legend li b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend__base { background: var(--route); } .legend__urg { background: var(--ink); } .legend__ins { background: var(--ok); }
.rate__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 13.5px; font-weight: 600; }
.rate__facts span:not(:last-child)::after { content: '·'; margin: 0 7px; color: var(--line-2); }
.rate__note { font-size: 13px; color: #B0451D; margin-top: 8px; }
.rate__note:empty { display: none; }
.rate .btn--main { margin-top: 14px; }
.rate__foot { margin-top: 10px; font-size: 12.5px; color: var(--steel); }
.calc__mini { display: none; }

/* логист, трекинг */
.tape { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.tape__day { align-self: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.tp { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.tp p { margin: 0; }
.tp time { display: block; margin-top: 3px; font-size: 12.5px; opacity: .6; text-align: right; }
.tp--me { align-self: flex-end; background: var(--on-dark); color: var(--ink); border-bottom-right-radius: 4px; }
.tp--ai { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); border-bottom-left-radius: 4px; }
.tp--ai::before { content: 'ИИ-логист'; display: block; font-size: 12.5px; font-weight: 700; color: var(--route-2); margin-bottom: 3px; }
.tr, .chk { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--glass-line); display: grid; gap: 10px; }
.lg__k { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--route-2); }
.lg__find { display: flex; gap: 8px; align-items: flex-end; }
.lg__find .inp { flex: 1; }
.tr__cities { display: flex; justify-content: space-between; font: 600 13.5px/1 var(--display); margin-top: 4px; }
.tr__bar { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); margin: 0 12px 8px; }
.tr__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--route-2); transition: width 1.2s var(--ease); }
.tr__bar span { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--route-2); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(79, 140, 255, .2); transition: left 1.2s var(--ease); }
.tr__bar span svg { width: 16px; height: 10px; }
.tr__txt { font-size: 14.5px; color: rgba(238, 241, 244, .85); }
.chk ul { display: grid; gap: 4px; }
.chk li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--glass-line); }
.chk li:last-child { border-bottom: 0; }
.chk i { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; position: relative; }
.chk i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chk .is-wait i { background: transparent; border: 2px dashed var(--on-dark-muted); }
.chk .is-wait i::after { display: none; }
.chk time { margin-left: auto; font-size: 12.5px; color: var(--on-dark-muted); white-space: nowrap; }

/* направления */
.geo__grid { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: center; margin-top: 16px; }
.map--geo { background: rgba(255, 255, 255, .04); border-radius: 14px; padding: 10px 12px 4px; border: 1px solid var(--glass-line); }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__countries text { font: 600 26px var(--display); letter-spacing: .12em; text-transform: uppercase; fill: rgba(255, 255, 255, .06); }
.map__arc { fill: none; stroke: rgba(79, 140, 255, .42); stroke-width: 1.3; }
.map__city circle { fill: var(--route-2); cursor: pointer; transition: fill .3s, r .3s; }
.map__city text { font: 500 15px/1 var(--sans); fill: rgba(238, 241, 244, .78); pointer-events: none; }
.map__city--base circle { fill: #fff; cursor: default; }
.map__city:hover circle, .map__city:focus-visible circle { r: 7; }
.map__city.is-on circle, .map__city.is-pick circle { fill: #fff; stroke: var(--route-2); stroke-width: 4; r: 7; }
.map__city.is-on text, .map__city.is-pick text { fill: #fff; font-weight: 700; }
.map__route { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.map__truck circle { fill: var(--route-2); }
.map__truck svg { color: #fff; }
.gc { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 18px; display: grid; gap: 8px; }
.gc.is-tick { animation: tick .45s var(--ease); }
.gc__country { font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--route); }
.gc h3 { font: 600 22px/1.1 var(--display); }
.gc__facts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--steel); }
.gc__facts span:not(:last-child)::after { content: '·'; margin: 0 7px; }
.gc__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 8px; }
.gc__prices div { padding: 10px 12px; border-radius: 12px; background: var(--fog); }
.gc__prices small { display: block; font-size: 12.5px; color: var(--steel); margin-bottom: 3px; }
.gc__prices b { font: 600 17px/1 var(--display); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 14px -2px 0; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

/* заявка */
.order__form { display: grid; gap: 10px; margin-top: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-row { display: grid; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--glass-line); font-size: 13.5px; color: var(--on-dark-muted); }
.contact-row__phone { display: inline-flex; align-items: center; min-height: 44px; font: 600 clamp(18px, 1.6vw, 22px)/1.1 var(--display); color: #fff; }
.contact-row__msg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.msg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 14px; color: #fff; transition: border-color .25s, transform .3s var(--ease); }
.msg-btn:hover { border-color: #fff; transform: translateY(-2px); }
.msg-btn svg { width: 24px; height: 24px; }

/* документы, шаги, вопросы внутри панелей */
.papers { display: grid; gap: 8px; margin-top: 16px; }
.paper { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.paper svg { width: 26px; height: 26px; color: var(--route-2); }
.paper h3 { font: 600 14.5px/1.3 var(--display); margin-bottom: 3px; }
.paper p { font-size: 13.5px; color: var(--on-dark-muted); }
.road { display: grid; gap: 0; margin-top: 14px; }
.road li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--glass-line); }
.road time { font: 600 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--route-2); }
.road h3 { font: 600 15px/1.3 var(--display); margin-bottom: 4px; }
.road p { font-size: 13.5px; color: var(--on-dark-muted); }
.qa { margin-top: 14px; border-top: 1px solid var(--glass-line); }
.qa__i { border-bottom: 1px solid var(--glass-line); }
.qa__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 8px 0; font: 600 15px/1.35 var(--display); }
.qa__i summary::-webkit-details-marker { display: none; }
.qa__i summary i { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.qa__i summary i::before, .qa__i summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--route-2); transition: transform .35s var(--ease); }
.qa__i summary i::after { transform: rotate(90deg); }
.qa__i[open] summary i::after { transform: none; }
.qa__i p { padding: 0 30px 14px 0; font-size: 14.5px; color: rgba(238, 241, 244, .82); }
.lnk { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--route-2); font-weight: 700; border-bottom: 1px solid currentColor; }
/* ---------- футер ---------- */
.foot { position: relative; z-index: 3; }
.loader { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; justify-items: center; background: var(--night); color: rgba(238, 241, 244, .7); font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .8s var(--ease), visibility 0s .8s; z-index: 2; }
.loader i { width: 46px; height: 2px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.loader i::after { content: ''; position: absolute; inset: 0; background: var(--route-2); transform: translateX(-100%); animation: ld 1.4s ease-in-out infinite; }
@keyframes ld { to { transform: translateX(100%); } }
html.is-ready .loader { opacity: 0; visibility: hidden; }
.hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(238, 241, 244, .8); transition: opacity .5s; white-space: nowrap; }
.hint span { width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 12px; position: relative; }
.hint span::after { content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } }
.hint.is-off { opacity: 0; }
.hud { position: absolute; left: 24px; bottom: 22px; width: min(360px, 60vw); display: grid; gap: 8px; }
.hud__route { display: flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--display); color: rgba(238, 241, 244, .9); }
.hud__route i { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .25); }
.hud__route em { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--route-2); }
.hud__route b { position: relative; }
.hud__route i b { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(79, 140, 255, .35); }
.hud__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 241, 244, .7); font-variant-numeric: tabular-nums; }
.route { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; pointer-events: auto; }
.route__dot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 30px; padding: 2px 0; color: rgba(238, 241, 244, .55); font-size: 12.5px; font-weight: 600; transition: color .3s; }
.route__dot span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.route__dot i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); transition: background .3s, border-color .3s, transform .3s; }
.route__dot:hover span, .route__dot.is-on span { opacity: 1; transform: none; }
.route__dot.is-on { color: #fff; }
.route__dot.is-on i { background: var(--route-2); border-color: var(--route-2); transform: scale(1.3); }
html.is-static .stage, html.is-static .hint, html.is-static .hud, html.is-static .route { display: none; }

/* ---------- элементы панелей ---------- */
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--glass-line); }
.facts-row b { display: block; font: 600 17px/1.15 var(--display); }
.facts-row span { font-size: 12.5px; color: var(--on-dark-muted); }
.qr { margin-top: 18px; padding: 14px 14px 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.qr__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.qr__f { display: grid; gap: 6px; min-width: 0; }
.qr__f span { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.qr__f select, .sel select { width: 100%; min-height: 50px; padding: 0 36px 0 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(11, 22, 34, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center/12px; color: #fff; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; cursor: pointer; }
.qr__f select:focus, .sel select:focus { outline: none; border-color: var(--route-2); box-shadow: 0 0 0 4px rgba(79, 140, 255, .25); }
.qr__f option, .sel option { color: var(--ink); background: #fff; }
.qr__arrow { position: relative; width: 30px; height: 50px; }
.qr__arrow::before { content: ''; position: absolute; left: 2px; right: 4px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .45); }
.qr__arrow::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: translateY(-50%) rotate(45deg); }
.qr__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; }
.qr__out b { font: 600 clamp(20px, 1.8vw, 26px)/1 var(--display); }
.qr__out span { font-size: 13.5px; color: var(--on-dark-muted); }

/* парк */
.lineup { display: grid; gap: 8px; margin-top: 18px; }
.lu { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.lu__ph { width: 84px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.lu__ph button, .lu__ph img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lu__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lu__name svg { width: 48px; height: 24px; color: var(--route-2); flex: 0 0 auto; }
.lu h3 { font: 600 14.5px/1.2 var(--display); }
.lu__cnt { font-size: 12.5px; color: var(--on-dark-muted); }
.facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.facts span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; }
.lu__for { margin-top: 6px; font-size: 13px; color: var(--on-dark-muted); }

/* маршрутный лист */
.calc__grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; align-items: start; margin-top: 18px; }
.sheet { display: grid; gap: 16px; padding: 16px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.sheet__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .2); font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.sheet__head b { color: #fff; }
.sheet__route { display: grid; grid-template-columns: 1fr minmax(100px, .7fr) 1fr; gap: 10px; align-items: end; }
.sel label { display: block; margin-bottom: 6px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.sheet__line { position: relative; height: 50px; display: grid; align-content: space-between; justify-items: center; font-size: 12.5px; font-weight: 700; color: var(--on-dark-muted); padding: 2px 0; }
.sheet__line i { position: absolute; left: 6px; right: 12px; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .3); }
.sheet__line i::after { content: ''; position: absolute; right: -3px; top: -6px; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.sheet__line span:first-child { color: #fff; }
.sheet__t { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: -8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; cursor: pointer; min-width: 0; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span { display: grid; gap: 2px; padding: 10px 10px 9px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); transition: background .25s, border-color .25s, transform .3s var(--ease); }
.tile svg { width: 64px; height: 32px; max-width: 100%; color: var(--on-dark-muted); margin-bottom: 4px; transition: color .25s; }
.tile b { font-size: 13.5px; font-weight: 700; }
.tile small { font-size: 12.5px; color: var(--on-dark-muted); }
.tile:hover span { border-color: #fff; transform: translateY(-2px); }
.tile input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.tile input:checked + span svg { color: var(--route); }
.tile input:checked + span small { color: var(--steel); }
.tile input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.sheet__params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sheet__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.fld { min-width: 0; }
.fld__t, .fld legend { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 0; margin-bottom: 6px; font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.fld__t output { color: #fff; font: 600 18px/1 var(--display); margin-left: auto; letter-spacing: 0; }
.fld__t small { font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.pills small { font-size: 12.5px; font-weight: 500; color: var(--on-dark-muted); }
.pills label:hover span { border-color: #fff; }
.pills input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.pills input:checked + span small { color: var(--steel); }
.pills input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.range { position: relative; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--route-2) var(--p, 50%), rgba(255, 255, 255, .25) var(--p, 50%)); }
.range input::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.range input::-moz-range-progress { height: 4px; background: var(--route-2); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--route); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.range input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--route); }
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(79, 140, 255, .35); }
.range--temp input::-webkit-slider-runnable-track { background: linear-gradient(90deg, #5B9BD5 0%, #E9EEF3 62%, #E07A5F 100%); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 14.5px; }
.check input { width: 22px; height: 22px; accent-color: var(--route-2); }
.inp { position: relative; }
.inp input, .inp textarea { width: 100%; min-height: 54px; padding: 21px 14px 7px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(11, 22, 34, .5); color: #fff; font-size: 16px; outline: none; transition: border-color .25s, box-shadow .25s; }
.inp textarea { min-height: 72px; resize: vertical; }
.inp label { position: absolute; left: 15px; top: 17px; font-size: 15px; color: var(--on-dark-muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 30px); }
.inp input:focus, .inp textarea:focus { border-color: var(--route-2); box-shadow: 0 0 0 4px rgba(79, 140, 255, .22); }
.inp input:focus + label, .inp input:not(:placeholder-shown) + label, .inp textarea:focus + label, .inp textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.76); color: var(--route-2); }
.inp input::placeholder, .inp textarea::placeholder { color: transparent; }
.inp.is-bad input, .inp.is-bad textarea { border-color: #E5484D; box-shadow: 0 0 0 4px rgba(229, 72, 77, .2); }
.inp--sm { margin-top: 8px; }
.consent { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.5; }
.consent a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.rate { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 18px; position: sticky; top: 0; }
.rate__k { font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.rate__sum { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; font: 600 clamp(30px, 2.4vw, 38px)/1 var(--display); font-variant-numeric: tabular-nums; }
.rate__sum small { font: 700 13px/1 var(--sans); letter-spacing: .08em; color: var(--steel); }
.rate__sum span.is-tick { display: inline-block; animation: tick .45s var(--ease); }
@keyframes tick { from { opacity: .3; transform: translateY(6px); } }
.rate__route { font-size: 13.5px; color: var(--steel); }
.bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 14px 0 10px; background: var(--fog); }
.bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.bar__base { background: var(--route); } .bar__urg { background: var(--ink); } .bar__ins { background: var(--ok); }
.legend { display: grid; gap: 5px; font-size: 13.5px; }
.legend li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; }
.legend li b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend__base { background: var(--route); } .legend__urg { background: var(--ink); } .legend__ins { background: var(--ok); }
.rate__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 13.5px; font-weight: 600; }
.rate__facts span:not(:last-child)::after { content: '·'; margin: 0 7px; color: var(--line-2); }
.rate__note { font-size: 13px; color: #B0451D; margin-top: 8px; }
.rate__note:empty { display: none; }
.rate .btn--main { margin-top: 14px; }
.rate__foot { margin-top: 10px; font-size: 12.5px; color: var(--steel); }
.calc__mini { display: none; }

/* логист, трекинг */
.tape { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.tape__day { align-self: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.tp { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.tp p { margin: 0; }
.tp time { display: block; margin-top: 3px; font-size: 12.5px; opacity: .6; text-align: right; }
.tp--me { align-self: flex-end; background: var(--on-dark); color: var(--ink); border-bottom-right-radius: 4px; }
.tp--ai { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); border-bottom-left-radius: 4px; }
.tp--ai::before { content: 'ИИ-логист'; display: block; font-size: 12.5px; font-weight: 700; color: var(--route-2); margin-bottom: 3px; }
.tr, .chk { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--glass-line); display: grid; gap: 10px; }
.lg__k { font: 600 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--route-2); }
.lg__find { display: flex; gap: 8px; align-items: flex-end; }
.lg__find .inp { flex: 1; }
.tr__cities { display: flex; justify-content: space-between; font: 600 13.5px/1 var(--display); margin-top: 4px; }
.tr__bar { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); margin: 0 12px 8px; }
.tr__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--route-2); transition: width 1.2s var(--ease); }
.tr__bar span { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--route-2); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(79, 140, 255, .2); transition: left 1.2s var(--ease); }
.tr__bar span svg { width: 16px; height: 10px; }
.tr__txt { font-size: 14.5px; color: rgba(238, 241, 244, .85); }
.chk ul { display: grid; gap: 4px; }
.chk li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--glass-line); }
.chk li:last-child { border-bottom: 0; }
.chk i { width: 16px; height: 16px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; position: relative; }
.chk i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chk .is-wait i { background: transparent; border: 2px dashed var(--on-dark-muted); }
.chk .is-wait i::after { display: none; }
.chk time { margin-left: auto; font-size: 12.5px; color: var(--on-dark-muted); white-space: nowrap; }

/* направления */
.geo__grid { display: grid; grid-template-columns: 1fr 260px; gap: 16px; align-items: center; margin-top: 16px; }
.map--geo { background: rgba(255, 255, 255, .04); border-radius: 14px; padding: 10px 12px 4px; border: 1px solid var(--glass-line); }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__countries text { font: 600 26px var(--display); letter-spacing: .12em; text-transform: uppercase; fill: rgba(255, 255, 255, .06); }
.map__arc { fill: none; stroke: rgba(79, 140, 255, .42); stroke-width: 1.3; }
.map__city circle { fill: var(--route-2); cursor: pointer; transition: fill .3s, r .3s; }
.map__city text { font: 500 15px/1 var(--sans); fill: rgba(238, 241, 244, .78); pointer-events: none; }
.map__city--base circle { fill: #fff; cursor: default; }
.map__city:hover circle, .map__city:focus-visible circle { r: 7; }
.map__city.is-on circle, .map__city.is-pick circle { fill: #fff; stroke: var(--route-2); stroke-width: 4; r: 7; }
.map__city.is-on text, .map__city.is-pick text { fill: #fff; font-weight: 700; }
.map__route { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.map__truck circle { fill: var(--route-2); }
.map__truck svg { color: #fff; }
.gc { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 18px; display: grid; gap: 8px; }
.gc.is-tick { animation: tick .45s var(--ease); }
.gc__country { font: 600 12.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--route); }
.gc h3 { font: 600 22px/1.1 var(--display); }
.gc__facts { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: var(--steel); }
.gc__facts span:not(:last-child)::after { content: '·'; margin: 0 7px; }
.gc__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 8px; }
.gc__prices div { padding: 10px 12px; border-radius: 12px; background: var(--fog); }
.gc__prices small { display: block; font-size: 12.5px; color: var(--steel); margin-bottom: 3px; }
.gc__prices b { font: 600 17px/1 var(--display); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: 14px -2px 0; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

/* заявка */
.order__form { display: grid; gap: 10px; margin-top: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-row { display: grid; gap: 6px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--glass-line); font-size: 13.5px; color: var(--on-dark-muted); }
.contact-row__phone { display: inline-flex; align-items: center; min-height: 44px; font: 600 clamp(18px, 1.6vw, 22px)/1.1 var(--display); color: #fff; }
.contact-row__msg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.msg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 14px; color: #fff; transition: border-color .25s, transform .3s var(--ease); }
.msg-btn:hover { border-color: #fff; transform: translateY(-2px); }
.msg-btn svg { width: 24px; height: 24px; }

/* документы, шаги, вопросы внутри панелей */
.papers { display: grid; gap: 8px; margin-top: 16px; }
.paper { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.paper svg { width: 26px; height: 26px; color: var(--route-2); }
.paper h3 { font: 600 14.5px/1.3 var(--display); margin-bottom: 3px; }
.paper p { font-size: 13.5px; color: var(--on-dark-muted); }
.road { display: grid; gap: 0; margin-top: 14px; }
.road li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--glass-line); }
.road time { font: 600 12.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--route-2); }
.road h3 { font: 600 15px/1.3 var(--display); margin-bottom: 4px; }
.road p { font-size: 13.5px; color: var(--on-dark-muted); }
.qa { margin-top: 14px; border-top: 1px solid var(--glass-line); }
.qa__i { border-bottom: 1px solid var(--glass-line); }
.qa__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 8px 0; font: 600 15px/1.35 var(--display); }
.qa__i summary::-webkit-details-marker { display: none; }
.qa__i summary i { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.qa__i summary i::before, .qa__i summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--route-2); transition: transform .35s var(--ease); }
.qa__i summary i::after { transform: rotate(90deg); }
.qa__i[open] summary i::after { transform: none; }
.qa__i p { padding: 0 30px 14px 0; font-size: 14.5px; color: rgba(238, 241, 244, .82); }
.lnk { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--route-2); font-weight: 700; border-bottom: 1px solid currentColor; }
.foot { position: relative; padding: 40px 0 110px; background: var(--night); color: var(--on-dark-muted); }
.foot__row { display: grid; grid-template-columns: auto 1fr 1.3fr auto; gap: 24px 40px; align-items: start; font-size: 14px; }
.logo--foot { color: #fff; }
.foot a:not(.logo) { color: #fff; border-bottom: 1px solid var(--night-line); }

/* ---------- метка, кнопка чата, окна ---------- */
.concept { position: fixed; left: 16px; bottom: 16px; z-index: 55; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--steel); backdrop-filter: blur(8px); transition: color .25s, border-color .25s, opacity .4s, transform .4s var(--ease); }
.concept i { width: 6px; height: 6px; border-radius: 50%; background: var(--route); }
.concept b { color: var(--ink); font-weight: 700; }
html.is-film .concept { left: auto; right: 18px; bottom: 90px; transition: opacity .4s; }
html.is-film.is-right .concept, html.is-film.is-right .route { opacity: 0; pointer-events: none; }
html.is-film.is-right .ask { right: auto; left: 18px; bottom: 96px; }
html.is-film .lu__for { display: none; }
html.is-film .stop__in { padding-top: calc(var(--head) + 8px); padding-bottom: 60px; }
.ask { position: fixed; right: 18px; bottom: 18px; z-index: 56; display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: 0 18px 44px rgba(0, 0, 0, .4); transition: transform .35s var(--ease), opacity .3s; }
.ask:hover { transform: translateY(-3px); }
.ask__ava { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--route); color: #fff; display: grid; place-items: center; font: 600 16px/1 var(--display); }
.ask__ava::after { content: ''; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #5FBF7F; border: 2px solid #fff; }
.ask.is-off { opacity: 0; pointer-events: none; transform: translateY(20px); }
dialog { color: var(--ink); }
.modal { width: min(560px, 100vw - 24px); margin: auto; padding: 0; border: 0; background: transparent; }
.modal::backdrop, .zoom::backdrop { background: rgba(11, 22, 34, .6); backdrop-filter: blur(4px); }
.modal[open], .zoom[open] { animation: dlg .45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(22px); } }
.modal__in { position: relative; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 4vw, 38px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal h2 { font: 600 clamp(22px, 2.6vw, 28px)/1.15 var(--display); padding-right: 56px; margin: 0 0 12px; }
.modal__sum { color: var(--steel); font-size: 15px; margin-bottom: 20px; }
.modal__sum:empty { display: none; }
.modal form { display: grid; gap: 12px; }
.modal__how { font: 600 12.5px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--steel); margin: 6px 0 -2px; }
.modal .inp input, .modal .inp textarea { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.modal .inp label { color: var(--steel); }
.modal .inp input:focus + label, .modal .inp input:not(:placeholder-shown) + label { color: var(--route); }
.modal .pills span { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.modal .pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal .consent { color: var(--steel); }
.modal .consent a { color: var(--ink); border-color: var(--line-2); }
.modal .btn--line { border-color: var(--line-2); color: var(--ink); }
.x { position: absolute; right: 14px; top: 14px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .25s, color .25s, transform .35s var(--ease); }
.x:hover { border-color: var(--route); color: var(--route); transform: rotate(90deg); }
.x svg { width: 18px; height: 18px; }
.done__ok { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding-right: 52px; }
.done__ok svg { width: 44px; height: 44px; color: var(--ok); flex: 0 0 auto; }
.done__ok h2 { padding: 0; margin: 0; }
.done__sub { color: var(--steel); font-size: 15px; margin-bottom: 18px; }
.done__note { margin: 18px 0 20px; font-size: 13px; color: var(--steel); border-left: 3px solid var(--route); padding-left: 14px; }
.done__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(11, 22, 34, .96); color: #fff; }
.zoom[open] { display: grid; place-items: center; }
.zoom figure { display: grid; justify-items: center; gap: 14px; padding: 70px 80px; }
.zoom img { max-height: calc(100dvh - 180px); width: auto; border-radius: 12px; }
.zoom figcaption { font-size: 15px; color: var(--on-dark-muted); }
.zoom__b { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: border-color .25s; }
.zoom__b:hover { border-color: #fff; }
.zoom__b svg { width: 20px; height: 20px; }
.zoom__prev { left: 18px; top: 50%; } .zoom__next { right: 18px; top: 50%; } .zoom__x { right: 18px; top: 18px; }

/* ---------- страницы ---------- */
.doc { padding: calc(var(--head) + 60px) 0 96px; background: var(--fog); color: var(--ink); min-height: 100vh; }
.doc .wrap { max-width: 760px; }
.doc .kicker { color: var(--route); }
.doc h1 { font: 600 clamp(1.8rem, 4vw, 2.8rem)/1.1 var(--display); margin: 14px 0 26px; }
.doc h2 { font: 600 20px/1.25 var(--display); margin: 34px 0 10px; }
.doc p { color: #2A3744; margin-bottom: 12px; }
.doc a { color: var(--route); border-bottom: 1px solid var(--line-2); }
.doc .top { background: var(--night); }
.plain { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.plain .h2 { margin: 16px 0 20px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.plain p { color: var(--on-dark-muted); margin: 0 auto 30px; max-width: 30em; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .papers { grid-template-columns: repeat(3, 1fr); }
  .road { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .road::before { display: none; }
  .road li { padding: 0 20px 0 34px; }
  .route span { display: none; }
}
@media (max-width: 980px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .h2, .sec-head > p:last-child { grid-column: 1 / -1; }
  .calc__grid { grid-template-columns: 1fr; }
  .rate { position: static; }
  .geo__grid { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
  .foot__row { grid-template-columns: 1fr; }
  .papers { grid-template-columns: repeat(2, 1fr); }
  .road { grid-template-columns: 1fr 1fr; }
  .route { display: none; }
}
@media (max-width: 720px) {
  .stop__still { height: clamp(260px, 52vh, 480px); }
  .stop__in { margin-top: -90px; padding: 0 12px 40px; }
  .panel { padding: 18px 16px 20px; border-radius: 18px; }
  html.is-film .stop__in { align-items: flex-end; padding: 0 10px 10px; }
  html.is-film .panel { max-height: 64vh; }
  html.is-film .hud { left: 14px; right: 14px; width: auto; bottom: auto; top: calc(var(--head) + 4px); }
  .hud__meta { font-size: 12.5px; }
  html.is-film .hint { bottom: 70vh; }
  .h1 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .h2 { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .lead { font-size: 15px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .qr__row { grid-template-columns: 1fr; gap: 8px; }
  .qr__arrow { display: none; }
  .panel__cta .btn { flex: 1 1 100%; }
  .lu { grid-template-columns: 76px 1fr; }
  .lu__ph { width: 76px; }
  .lu .btn { grid-column: 1 / -1; }
  .sheet { padding: 14px 12px 16px; gap: 14px; }
  .sheet__route { grid-template-columns: 1fr; }
  .sheet__line { height: 30px; grid-auto-flow: column; justify-content: space-between; align-items: center; padding: 0 4px; }
  .sheet__line i { display: none; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .sheet__params { grid-template-columns: 1fr; gap: 12px; }
  .sheet__row { grid-template-columns: 1fr; }
  .calc__mini { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 57; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--night); color: #fff; transform: translateY(110%); transition: transform .4s var(--ease); }
  .calc__mini.is-on { transform: none; }
  .calc__mini div { flex: 1; min-width: 0; }
  .calc__mini small { display: block; font-size: 12.5px; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .calc__mini b { font: 600 20px/1.1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .calc__mini a { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--route); color: #fff; font-weight: 700; font-size: 14.5px; }
  .tp { max-width: 94%; }
  .map__svg text { font-size: 30px; }
  .map__countries text { font-size: 44px; }
  .map__city circle { r: 8px; }
  .map__city--base circle { r: 11px; }
  .map__city text { display: none; }
  .map__city.is-pick text, .map__city--base text { display: block; }
  .row2 { grid-template-columns: 1fr; }
  .papers { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr; }
  .concept { left: 12px; bottom: 12px; font-size: 12.5px; }
  html.is-film .concept { left: auto; right: 12px; bottom: 80px; }
  .concept.is-off { opacity: 0; pointer-events: none; transform: translateY(12px); }
  .ask { right: 12px; bottom: 12px; padding: 0 8px; }
  .ask__txt { display: none; }
  .ask.is-hero { opacity: 0; pointer-events: none; transform: translateY(20px); }
  .modal { width: 100vw; max-width: none; margin: auto 0 0; }
  .modal__in { border-radius: 20px 20px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .zoom figure { padding: 70px 12px; }
  .zoom__prev, .zoom__next { top: auto; bottom: 18px; }
}
@media (max-width: 900px) {
  .top.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 22, 34, .97); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1 !important; transform: none !important; }
}

/* ---------- ЗЯРНО: фон-фото под сценой ---------- */
.bg { position: absolute; inset: 0; overflow: hidden; background: #050505; }
.bg img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); filter: saturate(.9) brightness(.62); transform: scale(1.02); }
.bg img.is-on { opacity: 1; }
.bg img.is-soft { filter: saturate(.85) brightness(.55) blur(6px); }
#film { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud__route i b#hud-bean { background: var(--route-2); box-shadow: 0 0 0 4px rgba(224, 168, 92, .3); }

/* ---------- зерно: страны ---------- */
.origins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.origin { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--glass-2); border: 1px solid var(--glass-line); transition: border-color .3s, transform .4s var(--ease); }
.origin:hover { border-color: rgba(224, 168, 92, .5); transform: translateY(-2px); }
.origin.is-pick { border-color: var(--route-2); box-shadow: 0 0 0 1px var(--route-2) inset; }
.origin__head { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.origin__flag { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sans); letter-spacing: .06em; background: var(--leaf); color: #fff; }
.origin h3 { font: 400 17px/1.2 var(--display); }
.origin__head p { font-size: 12.5px; color: var(--on-dark-muted); }
.origin__score { font: 600 14px/1 var(--sans); color: var(--route-2); padding: 6px 8px; border-radius: 999px; border: 1px solid rgba(224, 168, 92, .4); }
.origin__notes { display: flex; flex-wrap: wrap; gap: 6px; }
.origin__notes span { padding: 4px 9px; border-radius: 999px; font-size: 12.5px; background: rgba(184, 50, 43, .22); color: #F6C9C3; }
.origin__meta { font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.45; }
.origin__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.origin__price { font-size: 12.5px; color: var(--on-dark-muted); }
.origin__price b { font: 400 17px/1 var(--display); color: var(--on-dark); margin-right: 4px; }
.origin__foot .btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }

/* ---------- фото-полоса ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.photo-strip button { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.photo-strip button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-strip button:hover img { transform: scale(1.05); }
.photo-strip--col { grid-template-columns: 1fr 1fr; }
.photo-strip--col button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- обжарка ---------- */
.roasts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.roast { position: relative; cursor: pointer; }
.roast input { position: absolute; opacity: 0; pointer-events: none; }
.roast span { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-2); transition: border-color .3s, background .3s; }
.roast i { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff5 0, transparent 45%), var(--c); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .4); }
.roast b { font: 400 15.5px/1.2 var(--display); }
.roast small { font-size: 12px; color: var(--on-dark-muted); }
.roast:hover span { border-color: rgba(224, 168, 92, .5); }
.roast input:checked + span { border-color: var(--route-2); background: rgba(224, 168, 92, .12); }
.roast input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.roast-info { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.roast-info dl { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 18px; margin-bottom: 10px; }
.roast-info dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.roast-info dd { font: 600 14.5px/1.3 var(--sans); }
.roast-info p { font-size: 14.5px; color: rgba(243, 233, 220, .85); }
.roast-info__taste { margin-top: 6px; color: var(--on-dark-muted); }
.roast-info__taste b { color: var(--route-2); font-weight: 600; }

/* ---------- калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 18px; }
.calc__l { display: grid; gap: 16px; align-content: start; }
.calc__row { display: grid; gap: 8px; }
.calc__row--2 { grid-template-columns: 1fr 1fr; gap: 10px; }
.calc__lbl, .fld > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.cups { display: flex; gap: 6px; }
.cups label { position: relative; flex: 1; cursor: pointer; }
.cups input { position: absolute; opacity: 0; pointer-events: none; }
.cups span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-height: 64px; padding: 8px 4px 8px; border-radius: 12px; border: 1px solid var(--glass-line); background: var(--glass-2); font: 600 14px/1 var(--sans); transition: border-color .3s, background .3s; }
.cups em { display: flex; gap: 2px; align-items: flex-end; font-style: normal; }
.cups i { display: block; width: 9px; height: 8px; border-radius: 0 0 4px 4px; background: var(--fog); }
.cups input:checked + span { border-color: var(--route-2); background: rgba(224, 168, 92, .14); }
.cups input:focus-visible + span { outline: 2px solid var(--route-2); outline-offset: 2px; }
.pills--light span { padding: 0 12px; }
.pills--light small { display: block; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld select { width: 100%; min-height: 48px; padding: 0 36px 0 12px; border: 1px solid var(--glass-line); border-radius: 12px; background: var(--glass-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23B9A893' stroke-width='1.8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--on-dark); appearance: none; font-size: 14.5px; }
.fld select:focus { outline: none; border-color: var(--route-2); box-shadow: 0 0 0 4px rgba(224, 168, 92, .18); }
.fld option { color: var(--ink); background: #fff; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; min-height: 44px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { position: relative; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 999px; background: rgba(243, 233, 220, .2); transition: background .3s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--route); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--route-2); outline-offset: 2px; }
.calc__r { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; background: var(--fog); color: var(--ink); }
.calc__kick { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.calc__grams { font-size: 14px; color: var(--steel); }
.calc__grams b { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--display); color: var(--ink); }
.bags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 30px; }
.bags i { width: 20px; height: 28px; border-radius: 3px 3px 5px 5px; background: linear-gradient(#3A2114, #1A120B); position: relative; }
.bags i::after { content: ''; position: absolute; left: 4px; right: 4px; top: 6px; height: 2px; background: var(--route-2); border-radius: 2px; }
.bags i.is-kg { width: 34px; height: 40px; }
.calc__bags-txt { font-size: 13.5px; color: var(--steel); }
.calc__price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.calc__price b { font: 400 clamp(30px, 3vw, 42px)/1 var(--display); }
.calc__price s { color: var(--steel); font-size: 15px; }
.calc__note { font-size: 13px; color: var(--steel); margin-bottom: 6px; }
.calc__r .btn--ghost { border-color: var(--line-2); color: var(--ink); }
.calc__r .btn--ghost:hover { border-color: var(--ink); background: rgba(26, 18, 11, .05); }

/* ---------- рецепты ---------- */
.brew { margin-top: 18px; }
.brew__tabs { margin-bottom: 12px; }
.brew__steps { display: grid; gap: 8px; counter-reset: st; }
.brew__steps li { position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--glass-line); font-size: 14.5px; }
.brew__steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--route); color: var(--ink); font: 600 12px/22px var(--sans); text-align: center; }
.brew__steps li.brew__ratio { padding-left: 12px; background: none; border: 0; color: var(--route-2); font: 400 15px/1.3 var(--display); }
.brew__steps li.brew__ratio::before { display: none; counter-increment: none; }

/* ---------- кофейня ---------- */
.cafe { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-top: 18px; }
.menu { display: grid; gap: 14px; align-content: start; }
.menu__g h3 { font: 400 15px/1.3 var(--display); color: var(--route-2); margin-bottom: 6px; }
.menu__g li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 14.5px; }
.menu__g li i { flex: 1; border-bottom: 1px dotted rgba(243, 233, 220, .3); transform: translateY(-4px); }
.menu__g li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.menu__g li b::after { content: ' BYN'; font-size: 11px; color: var(--on-dark-muted); font-weight: 500; }
.cafe__side { display: grid; gap: 12px; align-content: start; }
.cafe__side .photo-strip { margin-top: 0; }

/* ---------- заказ ---------- */
.order__form { display: grid; gap: 10px; margin-top: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zakaz .qa { margin-top: 10px; }
.road { display: grid; gap: 0; margin-top: 4px; }
.road li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--glass-line); }
.road time { font: 600 12px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--route-2); }
.road h3 { font: 400 15px/1.3 var(--display); margin-bottom: 3px; }
.road p { font-size: 13.5px; color: var(--on-dark-muted); }

@media (max-width: 1100px) {
  .origins { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .origins, .roasts, .calc, .calc__row--2, .cafe, .row2 { grid-template-columns: 1fr; }
  .photo-strip--col { grid-template-columns: 1fr 1fr; }
  .cups span { min-height: 56px; }
  .roast-info dl { grid-template-columns: 1fr 1fr; }
  .road li { grid-template-columns: 1fr; gap: 2px; }
}
html.is-film .stop:first-child { min-height: 170vh; }
.stage__vignette { background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .5) 100%); }
html.is-film .loader { background: #050505; }

/* панели помещаются в экран: компактнее, при переполнении прокрутка внутри */
html.is-film .panel { max-height: calc(100vh - var(--head) - 104px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.origin { padding: 12px; gap: 8px; }
.origin__notes span { padding: 3px 8px; font-size: 12px; }
.origin__meta { font-size: 12px; }
.menu { grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.menu__g li { padding: 4px 0; font-size: 14px; }
.qa__i summary { min-height: 44px; padding: 6px 0; font-size: 14.5px; }
.qa__i p { font-size: 14px; padding-bottom: 10px; }
@media (max-width: 700px) { .menu { grid-template-columns: 1fr; } }
