/* Шрифт Golos Text (ПараТайп, лицензия SIL OFL 1.1 – fonts/OFL.txt): российский, свободный, свой на сайте –
   без загрузки со сторонних серверов. Вариативный: один файл на набор знаков даёт начертания 400–900. */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/golos-text-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/golos-text-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(fonts/golos-text-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Маршрутум – сайт. Без внешних шрифтов: всё отдаётся с нашего хостинга; со стороны – только счётчик Яндекс Метрики. */
:root {
  --navy: #14213D;
  --navy-2: #1F2F55;
  --amber: #E8A33D;
  --amber-d: #C9861F;
  --bg: #F6F7F4;
  --card: #FFFFFF;
  --text: #1B2333;
  --muted: #5E6878;
  --line: #E3E6E0;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 "Golos Text", "Segoe UI", -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.01em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; scroll-margin-top: 64px; }
.sub { color: var(--muted); font-size: 19px; margin: -6px 0 36px; max-width: 720px; }

/* Кнопки */
.btn { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 12px; border: 2px solid var(--amber); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--amber-d); border-color: var(--amber-d); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); font-size: 19px; }
.btn-light:hover { background: var(--amber); border-color: var(--amber); }
.btn-small { padding: 9px 18px; font-size: 15px; }

/* Шапка */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246,247,244,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav-logo { display: flex; }
/* Логотип: знак-«М» – первая буква названия, дальше «аршрутум» текстом. Ножки «М» стоят на строке, точки маршрута
   свисают ниже, как у «у» и «р»: высота знака – по высоте прописной (у знака 38 из 64 единиц), опущен на 14/64. */
.wordmark { display: inline-block; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.01em;
  color: var(--navy); text-decoration: none; white-space: nowrap; }
.wordmark .wm-m { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.27em; margin: 0 -0.08em 0 -0.08em; }
.wordmark-light { color: #F6F7F4; font-size: 20px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--navy); }

/* Первый экран */
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--navy); font-weight: 600; font-size: 15px; }
.hero-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 8px; vertical-align: 2px; }
.hero-pic { position: relative; margin: 0; }
.hero-pic svg { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 60px rgba(20,33,61,.18); }
.float-card { position: absolute; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(20,33,61,.18); font-size: 14px; }
/* Карточки висят на краях карты, не закрывая рейсы */
.hero-pic { margin: 30px 0 44px; }
.fc-1 { left: 24px; bottom: -44px; width: 270px; }
.fc-2 { right: 24px; top: -30px; }
.fc-row { display: flex; align-items: center; gap: 8px; }
.fc-row .muted { margin-left: auto; font-size: 13px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.fc-bar { height: 6px; background: var(--line); border-radius: 3px; margin: 9px 0 7px; overflow: hidden; }
.fc-bar i { display: block; height: 100%; background: var(--amber); }
.fc-meta { color: var(--muted); font-size: 13px; }

/* Карточки */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.pain { background: #fff; }
.pain .card { background: var(--bg); border: 0; }

/* Ролик */
.demo-video { margin: 0 0 32px; }
.demo-video video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--navy);
  box-shadow: 0 18px 50px rgba(20, 33, 61, .18); }
.demo-video figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); text-align: center; }
.demo-video .on-phone { display: none; }
@media (max-width: 640px) {
  /* на телефоне – от края до края экрана, без скругления */
  .demo-video { margin: 0 -16px 24px; }
  .demo-video video { border-radius: 0; box-shadow: none; }
  .demo-video figcaption { padding: 0 16px; }
  .demo-video .on-phone { display: inline; }
}

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }
.step-n { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff;
  align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }

/* Возможности */
.features { background: var(--navy); color: #DDE3EE; }
.features h2, .features h3 { color: #fff; }
.grid-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.feat { background: var(--navy-2); border-radius: var(--radius); padding: 26px; }
.feat p { margin: 0; color: #B9C3D6; font-size: 16px; }
.feat-partner { display: inline-block; margin-bottom: 12px; }
.feat-partner img { display: block; width: 152px; max-width: 100%; height: auto; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(232,163,61,.16); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }

/* Водитель */
.driver-in { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: center; }
.phone { background: #F3F5F8; border: 10px solid var(--navy); border-radius: 38px; padding: 0 0 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(20,33,61,.2); font-size: 14px; max-width: 340px; }
.ph-head { background: #fff; padding: 20px 16px 12px; border-bottom: 1px solid #E5E7EB; }
.ph-head b { display: block; font-size: 16px; }
.ph-head span { color: #6B7280; font-size: 13px; }
.ph-prog { height: 5px; background: #E5E7EB; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ph-prog i { display: block; height: 100%; background: #16A34A; }
.ph-geo { background: #fff; padding: 8px 16px; font-size: 13px; color: #374151; border-bottom: 1px solid #E5E7EB; }
.ph-geo b { color: #16A34A; }
.ph-geo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-gbtn { border: 1px solid #E5E7EB; border-radius: 8px; padding: 4px 9px; font-size: 12px; color: #111827; background: #fff; white-space: nowrap; }
.ph-more { margin: 10px 10px 0; padding: 7px 0; border: 1px dashed #CBD5E1; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 600; color: #475569; }
.ph-card .ph-goods { margin: 8px 0 0; padding: 7px 10px; text-align: left; border-style: solid; border-color: #E5E7EB; background: #F9FAFB; color: #111827; }
.ph-card { background: #fff; margin: 10px 10px 0; border-radius: 12px; padding: 10px 12px; border-left: 5px solid #2563EB; }
.ph-card.done { border-left-color: #16A34A; opacity: .7; }
.ph-top { display: flex; align-items: center; gap: 8px; }
.ph-top .n { width: 24px; height: 24px; border-radius: 12px; background: #2563EB; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.done .ph-top .n { background: #16A34A; }
.ph-top .w { color: #6B7280; font-size: 12px; }
.ph-cl { font-weight: 650; margin-top: 6px; }
.ph-ad { color: #374151; }
.ph-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.ph-btns span { border: 1px solid #E5E7EB; border-radius: 8px; text-align: center; padding: 8px 0; font-weight: 600; font-size: 12px; }
.ph-btns .ok { background: #16A34A; border-color: #16A34A; color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--amber-d); font-weight: 800; }
/* Есть с ограничением – «!»; чего в тарифе нет – серый крестик и приглушённый текст. */
.checks li.limit::before { content: "!"; left: 4px; color: #B4690E; font-weight: 900; }
.checks li.no { color: var(--muted); }
.checks li.no::before { content: "✕"; color: #A0A7B4; font-weight: 700; }
.driver-text p { color: var(--muted); font-size: 19px; }

.install { background: #fff; }
.install .card { background: var(--bg); border: 0; }

/* Кому подходит */
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tags span { background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--navy); }
.who { padding-top: 64px; padding-bottom: 64px; }

/* Цены */
.buy { background: #fff; }
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--bg); }
.plan .checks { flex: 1; margin-bottom: 24px; font-size: 16px; }
.plan .btn { text-align: center; }
.plan-main { background: var(--navy); color: #DDE3EE; border-color: var(--navy); }
.plan-main h3 { color: #fff; }
.plan-main .price { color: var(--amber); }
.price { font-size: 26px; font-weight: 800; color: var(--navy); margin: 4px 0 18px; }
.price .per { font-size: 15px; font-weight: 600; opacity: .85; }
/* Цена за машину по размеру парка */
.tiers { width: 100%; border-collapse: collapse; margin: -6px 0 10px; font-size: 15px; }
.tiers td { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.tiers td:last-child { text-align: right; font-weight: 700; color: #fff; white-space: nowrap; }
.tiers-note { font-size: 13px; opacity: .8; margin: 0 0 16px; }

/* Вопросы */
.faq-in { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--amber-d); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Связь */
.contact { background: var(--navy); color: #DDE3EE; text-align: center; }
.contact h2 { color: #fff; }
.contact-in { max-width: 760px; }
.contact p { font-size: 19px; margin-bottom: 30px; }

.foot { background: #0E182E; color: #9AA6BC; padding: 40px 0; font-size: 15px; }
.foot-in { display: flex; gap: 40px; align-items: flex-start; }
.foot p { margin: 0 0 6px; }
.foot .muted { color: #7C889E; }
.foot a { color: #C9D2E2; }

/* Политика */
.doc { max-width: 820px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: #333C4D; }
.doc a { color: var(--navy); }

/* Планшет */
@media (max-width: 980px) {
  .hero-in, .driver-in { grid-template-columns: 1fr; gap: 48px; }
  .driver-in .phone { margin: 0 auto; order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-feat, .cards-3, .buy-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: 12px; } .fc-2 { right: 12px; }
}
/* Телефон */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .nav-logo.wordmark { font-size: 21px; }
  .steps, .grid-feat, .cards-3, .buy-grid { grid-template-columns: 1fr; }
  .lead, .sub, .driver-text p, .contact p { font-size: 17px; }
  .float-card { position: static; width: auto; margin-top: 12px; }
  .foot-in { flex-direction: column; gap: 18px; }
}

/* Форма заявки и ссылки на ботов (блок «Покажем на ваших данных») */
.lead-form { text-align: left; max-width: 640px; margin: 0 auto 26px; display: grid; gap: 14px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-size: 15px; color: #C9D2E2; }
.lead-form input, .lead-form textarea { font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 2px solid transparent;
  border-radius: 10px; padding: 11px 13px; width: 100%; box-sizing: border-box; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--amber); }
.lead-form .lf-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.lead-form .lf-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.lead-form .lf-consent a { color: #fff; }
.lead-form button { justify-self: start; cursor: pointer; font-family: inherit; }
.lead-form button:disabled { opacity: .6; cursor: default; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-msg { margin: 0 !important; font-size: 16px !important; min-height: 1.4em; color: #fff; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; color: #9AA6BC; }
.msg-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600;
  padding: 9px 16px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; }
.msg-link:hover { border-color: var(--amber); color: var(--amber); }
.msg-link svg { width: 20px; height: 20px; fill: currentColor; }
/* Широкий экран: мессенджеры и почта – одной строкой (шире формы над ними); узкий – переносятся. */
@media (min-width: 940px) { .contact-alt { flex-wrap: nowrap; gap: 12px; margin-inline: -90px; } }
@media (max-width: 760px) { .lf-row { grid-template-columns: 1fr; } }

/* Плашка о cookie (cookie.js) – внизу, поверх страницы, до нажатия «Понятно». */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--navy); color: #fff;
  border-radius: 12px; box-shadow: 0 8px 28px rgba(0,0,0,.25); font-size: 15px; line-height: 1.45; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--amber); }
.cookie-bar .btn { flex: none; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; } }
