/* ==========================================================================
   МЕЖГОРОД ТРАНСФЕР — неоновый вид сайта и приложения для Android (как UserTaxi)
   Работает при html.app — класс стоит на каждой странице. html.inapp — только
   в приложении: там не нужны слоган и полоса «Скачать в Google Play».
   Тёмная и светлая тема — html[data-theme], выбор хранит app.js.
   ========================================================================== */

/* Шрифт лежит на сайте: адрес посетителя не уходит в Google */
@font-face {
  font-family: 'Tektur';
  src: url('/assets/fonts/tektur.woff') format('woff');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

html.app {
  --a-bg: #070B1C;
  --a-card: linear-gradient(180deg, rgba(14,20,46,.8), rgba(8,12,30,.86));
  --a-solid: #0A0F26;
  --a-field: rgba(6,10,26,.55);
  --a-cyan: #6FE7F7;
  --a-cyan2: #BDF7FF;
  --a-blue: #4A7DFF;
  --a-mag: #E36BE8;
  --a-text: #EEF3FF;
  --a-mute: #9AA6C8;
  --a-line: rgba(111,231,247,.42);
  --a-soft: rgba(111,231,247,.16);
  --a-edge: rgba(74,125,255,.5);
  --a-glow: inset 0 0 0 1px rgba(111,231,247,.06), 0 0 22px rgba(74,125,255,.24);
  --a-tglow: 0 0 14px rgba(111,231,247,.45);
  --a-err: #FF8FA3;
  --a-ok: #7CF7C0;
  --a-head: rgba(7,11,28,.72);
  --a-scrim: rgba(3,6,18,.6);
  --a-btn: linear-gradient(180deg, #E6FDFF, #8BEAF9 55%, #5FD3F0);
  --a-btn-on: #5FD3F0;
  --a-btn-ink: #07102A;
  --a-ghost: rgba(227,107,232,.1);
  --a-ghost-ink: #EEF3FF;
  --a-chip: rgba(6,10,26,.5);
  --a-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E36BE8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --a-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA6C8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5c.6-.3 1.3-.1 1.6.5l1.3 2.4c.3.5.2 1.1-.2 1.5l-1 1c.8 1.9 2.3 3.4 4.2 4.2l1-1c.4-.4 1-.5 1.5-.2l2.4 1.3c.6.3.8 1 .5 1.6l-.9 1.7c-.3.6-1 1-1.7.9-5-1-9-5-10-10-.1-.7.3-1.4.9-1.7l1.7-.9z'/%3E%3C/svg%3E");
  --a-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236FE7F7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --a-logo: url("/assets/logo-pin.webp?v=2");

  /* переменные сайта — в цвета приложения: всё, что на них, перекрасится само */
  --navy: var(--a-text);
  --ink: var(--a-text);
  --ink-soft: var(--a-mute);
  --line: var(--a-soft);
  --white: rgba(10,16,40,.78);
  --chrome-1: transparent;
  --chrome-2: var(--a-soft);
  --blue-1: var(--a-cyan);
  --blue-2: var(--a-blue);
  --gold: var(--a-mag);
  --grad-brand: linear-gradient(135deg, var(--a-blue), var(--a-cyan));
  --font-display: 'Tektur', system-ui, sans-serif;
  --font-body: 'Tektur', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: none;
  --shadow-lg: none;

  color-scheme: dark;
  background: var(--a-bg);
  scroll-padding-top: 72px;
  -webkit-tap-highlight-color: transparent;
}

html.app[data-theme=light] {
  --a-bg: #E8EFF8;
  --a-card: linear-gradient(180deg, rgba(255,255,255,.8), rgba(236,244,255,.62));
  --a-solid: #FFFFFF;
  --a-field: rgba(255,255,255,.85);
  --a-cyan: #13ABD6;
  --a-cyan2: #1793C7;
  --a-blue: #3D6BFF;
  --a-mag: #D457D6;
  --a-text: #0B1533;
  --a-mute: #53627F;
  --a-line: rgba(24,170,214,.45);
  --a-soft: rgba(40,110,190,.16);
  --a-edge: rgba(120,170,230,.6);
  --a-glow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 22px rgba(50,90,170,.13);
  --a-tglow: 0 0 10px rgba(19,171,214,.22);
  --a-err: #D0335A;
  --a-ok: #12805C;
  --a-head: rgba(255,255,255,.72);
  --a-scrim: rgba(11,21,51,.28);
  --a-btn: linear-gradient(180deg, #E6FBFF, #83DBF8 50%, #4FA3F4);
  --a-btn-on: #4FA3F4;
  --a-btn-ink: #07153A;
  --a-ghost: rgba(212,87,214,.08);
  --a-ghost-ink: #7A1E87;
  --a-chip: rgba(255,255,255,.8);
  --a-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D457D6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --a-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353627F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5c.6-.3 1.3-.1 1.6.5l1.3 2.4c.3.5.2 1.1-.2 1.5l-1 1c.8 1.9 2.3 3.4 4.2 4.2l1-1c.4-.4 1-.5 1.5-.2l2.4 1.3c.6.3.8 1 .5 1.6l-.9 1.7c-.3.6-1 1-1.7.9-5-1-9-5-10-10-.1-.7.3-1.4.9-1.7l1.7-.9z'/%3E%3C/svg%3E");
  --a-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231793C7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --a-logo: url("/assets/logo-pin.webp?v=2");
  --white: rgba(255,255,255,.8);
  color-scheme: light;
}

/* ---------- Основа ---------- */
html.app body {
  background: transparent;
  color: var(--a-text);
  font-family: 'Tektur', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
/* Фон без фото: мягкое свечение сверху и тонкая штриховка */
html.app body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(105deg, rgba(111,231,247,.03) 0 1px, transparent 1px 26px),
    radial-gradient(900px 520px at 12% -8%, rgba(74,125,255,.2), transparent 62%),
    radial-gradient(700px 480px at 96% 6%, rgba(227,107,232,.13), transparent 60%);
}
html.app[data-theme=light] body::before {
  background:
    linear-gradient(180deg, #DDEAF8, rgba(221,234,248,0) 42%),
    radial-gradient(900px 520px at 12% -8%, rgba(61,107,255,.12), transparent 62%),
    radial-gradient(700px 480px at 96% 6%, rgba(212,87,214,.1), transparent 60%);
}
html.app h1, html.app h2, html.app h3, html.app .display {
  color: var(--a-text);
  font-family: 'Tektur', system-ui, sans-serif;
  letter-spacing: .03em;
}
html.app h1.section-title, html.app h2.section-title {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html.app .eyebrow {
  color: var(--a-mag);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  margin-bottom: 6px;
}
html.app .wrap { padding: 0 16px; }
html.app section, html.app section.alt { background: transparent; padding: 26px 0; }
html.app section p a, html.app .faq-callout a { color: var(--a-cyan2); }
html.app .disclaimer, html.app section .disclaimer { color: var(--a-mute); font-size: 13px; }
html.app :focus-visible { outline: 2px solid var(--a-cyan); outline-offset: 2px; }
html.app ::selection { background: rgba(111,231,247,.3); }
html.app .topbar, html.app .nav { display: none; }

/* Без «Готовы к поездке?». Преимущества и «Три шага» — только на сайте:
   в приложении на главной один заказ. */
html.app .final-cta,
html.app.inapp .feature-strip,
html.inapp #steps,
html.inapp .app-hide { display: none; }   /* .app-hide — только на сайте (вступление «Тарифов») */
/* Главная — одной колонкой 640 px по центру:
   у слогана, заказа, классов, вопросов и полосы приложения края на одной линии */
html.app .hero .wrap,
html.app #order ~ section > .wrap,
html.app #order ~ .wrap { max-width: 672px; }
/* Слоган — заголовок страницы для поиска: на сайте небольшой строкой над заказом */
html.app .hero { padding: 14px 0 0; background: none; overflow: visible; }
html.app .hero .badge-row, html.app .hero .hero-actions { display: none; }
html.app .hero .hero-lead {
  max-width: none;
  margin: 0;
  color: var(--a-text);
  opacity: .8;
  text-align: center;
  font: 600 12.5px/1.5 'Tektur', system-ui, sans-serif;
  letter-spacing: .02em;
}
/* В приложении слоган и полоса «Скачать в Google Play» не нужны */
html.inapp .hero, html.inapp .gp-app { display: none; }
html.app .gp-card {
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid var(--a-edge);
  border-radius: 12px;
  background: var(--a-card);
  box-shadow: var(--a-glow);
}
html.app .final-cta + .gp-card { margin-top: 22px; }
html.app .gp-card h3 { color: var(--a-text); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
html.app .gp-card p { color: var(--a-mute); }

/* ---------- Шапка: стекло, ромб «М», тумблер темы, меню ---------- */
html.app .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: var(--a-head);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--a-soft);
}
html.app .site-header .wrap { height: 60px; justify-content: flex-start; gap: 10px; }
/* Логотип: неоновый ромб с «М», рядом «МЕЖГОРОД» и голубое «ТРАНСФЕР» — в цвет ромба */
html.app .brand { gap: 10px; min-width: 0; }
html.app .brand::before {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  background: var(--a-logo) center / contain no-repeat;
}
html.app .brand .brand-text {
  font-family: 'Tektur', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--a-text);
}
html.app .brand .brand-text .accent {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--a-cyan);
  text-shadow: var(--a-tglow);
}

/* Тумблер темы: одна кнопка, в тёмной теме — ☾, в светлой — ☀ */
html.app .ts {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(227,107,232,.75);
  border-radius: 8px;
  background: rgba(227,107,232,.16);
  box-shadow: 0 0 12px rgba(227,107,232,.35);
  cursor: pointer;
}
html.app .ts svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(227,107,232,.95)); }
html.app .ts svg + svg, html.app[data-theme=light] .ts svg:first-child { display: none; }
html.app[data-theme=light] .ts svg + svg { display: block; }
html.app[data-theme=light] .ts { border-color: rgba(212,87,214,.6); background: rgba(212,87,214,.12); box-shadow: 0 0 12px rgba(212,87,214,.25); }
html.app[data-theme=light] .ts svg { stroke: #86208F; filter: drop-shadow(0 0 4px rgba(212,87,214,.6)); }

/* Звонок в шапке: перед тумблером темы, голубой неон */
html.app .hcall {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--a-cyan);
  border-radius: 8px;
  background: rgba(111,231,247,.12);
  box-shadow: 0 0 12px rgba(111,231,247,.35);
}
html.app .hcall + .ts { margin-left: 0; }
html.app .hcall svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(111,231,247,.95)); }
html.app[data-theme=light] .hcall { background: rgba(19,171,214,.1); box-shadow: 0 0 12px rgba(19,171,214,.22); }
html.app[data-theme=light] .hcall svg { stroke: #0B6F8C; filter: drop-shadow(0 0 4px rgba(19,171,214,.55)); }

/* Кнопка меню: три полоски, в открытом меню — крестик */
html.app .mobile-menu-btn {
  display: flex;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--a-line);
  border-radius: 8px;
  background: rgba(7,11,28,.55);
  color: var(--a-cyan);
  box-shadow: 0 0 10px rgba(111,231,247,.2);
}
html.app[data-theme=light] .mobile-menu-btn { background: rgba(255,255,255,.65); box-shadow: 0 0 10px rgba(19,171,214,.18); }
html.app .mobile-menu-btn line { transform-box: fill-box; transform-origin: center; transition: transform .2s, opacity .2s; }
html.app.nav-open .mobile-menu-btn line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
html.app.nav-open .mobile-menu-btn line:nth-child(2) { opacity: 0; }
html.app.nav-open .mobile-menu-btn line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Выдвижное меню справа, под шапкой */
html.app .mobile-nav {
  display: flex;
  position: fixed;
  top: 60px;
  right: 0;
  bottom: 0;
  z-index: 45;
  width: min(320px, 86vw);
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--a-solid);
  border-top: 0;
  border-left: 1px solid var(--a-line);
  box-shadow: -8px 0 30px rgba(74,125,255,.22);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}
html.app .mobile-nav.open { transform: none; visibility: visible; transition: transform .22s ease; }
html.app[data-theme=light] .mobile-nav { border-left-color: rgba(120,170,230,.55); box-shadow: -8px 0 26px rgba(50,90,170,.2); }
html.app .mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 4px;
  border-bottom: 1px solid var(--a-soft);
  color: var(--a-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* «Рассчитать стоимость» — первой, кнопкой */
html.app .mobile-nav a.mobile-nav-cta {
  order: -1;
  justify-content: center;
  min-height: 50px;
  margin-bottom: 10px;
  border: 1px solid var(--a-cyan);
  border-radius: 8px;
  background: rgba(111,231,247,.08);
  color: var(--a-text);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(111,231,247,.25);
}

html.app[data-theme=light] .mobile-nav a.mobile-nav-cta { box-shadow: 0 0 10px rgba(19,171,214,.18); }

html.app .mobile-nav a[aria-current=page] { color: var(--a-cyan); text-shadow: var(--a-tglow); }
html.app .mobile-nav a[aria-current=page]::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  transform: rotate(45deg);
  background: var(--a-cyan);
  box-shadow: 0 0 8px var(--a-cyan);
}
html.app .app-menu-contacts { order: 9; display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
html.app .mobile-nav .app-menu-contacts a.cl {
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  border: 0;
  color: var(--a-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}
html.app .mobile-nav .app-menu-contacts a.cl svg { width: 17px; height: 17px; color: var(--a-cyan); }
html.app .app-scrim {
  position: fixed;
  inset: 60px 0 0;
  z-index: 44;
  background: var(--a-scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, visibility 0s linear .22s;
}
html.app.nav-open .app-scrim { opacity: 1; visibility: visible; transition: opacity .22s; }
html.app.nav-open, html.app.nav-open body { overflow: hidden; }

/* ---------- Кнопки ---------- */
/* Главная: светящийся градиент со срезанными углами и цветными краями */
html.app .btn-calc,
html.app .cta-stack .btn:first-child {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--a-btn-ink);
  font: 800 15px/1.15 'Tektur', system-ui, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  filter: drop-shadow(2px 0 0 var(--a-mag)) drop-shadow(-2px 0 0 var(--a-blue)) drop-shadow(0 0 10px rgba(111,231,247,.5));
}
html.app .btn-calc::before,
html.app .cta-stack .btn:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--a-btn);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
html.app .btn-calc:active::before,
html.app .cta-stack .btn:first-child:active::before { background: var(--a-btn-on); }
html.app .btn-calc:disabled { opacity: .55; cursor: default; }
html.app[data-theme=light] .btn-calc,
html.app[data-theme=light] .cta-stack .btn:first-child {
  filter: drop-shadow(2px 0 0 var(--a-mag)) drop-shadow(-2px 0 0 var(--a-blue)) drop-shadow(0 4px 10px rgba(50,120,200,.3));
}

/* Вторая: обводка цвета маджента */
html.app .btn-reset,
html.app .cta-stack .btn + .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--a-mag);
  border-radius: 8px;
  background: var(--a-ghost);
  color: var(--a-ghost-ink);
  font: 700 14px/1.15 'Tektur', system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: 0 0 12px rgba(227,107,232,.3);
  filter: none;
}
html.app[data-theme=light] .btn-reset,
html.app[data-theme=light] .cta-stack .btn + .btn { box-shadow: 0 0 12px rgba(212,87,214,.22); }
html.app .cta-row.cta-stack { gap: 14px; margin: 20px 0; }
/* «Водителям»: кнопки MAX и Telegram одинаковые — обводка маджента */
html.app .cta-even .btn:first-child {
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--a-mag);
  border-radius: 8px;
  background: var(--a-ghost);
  color: var(--a-ghost-ink);
  font: 700 14px/1.15 'Tektur', system-ui, sans-serif;
  letter-spacing: .08em;
  box-shadow: 0 0 12px rgba(227,107,232,.3);
  filter: none;
}
html.app .cta-even .btn:first-child::before { content: none; }
html.app[data-theme=light] .cta-even .btn:first-child { box-shadow: 0 0 12px rgba(212,87,214,.22); filter: none; }

/* ---------- Заказ ---------- */
html.app .calc-card {
  max-width: 640px;
  margin: 16px auto 6px;
  padding: 20px 16px 18px;
  border: 1px solid var(--a-edge);
  border-radius: 14px;
  background: var(--a-card);
  box-shadow: var(--a-glow);
  scroll-margin-top: 72px;
}
html.app .calc-card h2 {
  margin-bottom: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: var(--a-tglow);
}
/* Заказ по телефону — компактной плашкой под «Отправить заявку», всё по центру */
html.app .app-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 0;
  padding: 7px 14px;
  border: 1px solid var(--a-mag);
  border-radius: 10px;
  background: var(--a-ghost);
  color: var(--a-text);
  text-decoration: none;
  box-shadow: 0 0 14px rgba(227,107,232,.28), inset 0 0 14px rgba(227,107,232,.08);
}
html.app[data-theme=light] .app-call { box-shadow: 0 0 12px rgba(212,87,214,.2); }
html.app .app-call:active { background: rgba(227,107,232,.2); }
html.app .app-call-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--a-mag);
  border-radius: 50%;
  color: var(--a-mag);
  box-shadow: 0 0 12px rgba(227,107,232,.45), inset 0 0 8px rgba(227,107,232,.2);
}
html.app .app-call-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html.app .app-call-txt { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; line-height: 1.2; text-align: center; }
html.app .app-call small { color: var(--a-mute); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html.app .app-call b { font-size: 17px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; text-shadow: 0 0 12px rgba(227,107,232,.4); }
html.app[data-theme=light] .app-call b { color: var(--a-text); text-shadow: none; }

/* Карта — внизу заказа, перед ценой */
html.app .route-map {
  height: 210px;
  margin: 2px 0 14px;
  border: 1px solid var(--a-line);
  border-radius: 10px;
  background: #0A1028;
  box-shadow: 0 0 18px rgba(74,125,255,.22);
  isolation: isolate;
}
html.app[data-theme=light] .route-map { background: #EEF2F6; box-shadow: 0 4px 16px rgba(50,90,170,.14); }
/* Запасная карта (2.1) в тёмной теме: затемняем только подложку */
html.app[data-theme=dark] .route-map.map-old [class*="ground-pane"] { filter: invert(1) hue-rotate(180deg) saturate(.55) brightness(.9) contrast(.92); }
/* Концы маршрута на карте: светящиеся точки (названия городов — на самой карте) */
html.app .app-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid var(--a-cyan);
  border-radius: 50%;
  background: var(--a-bg);
  box-shadow: 0 0 8px var(--a-cyan), 0 0 18px rgba(111,231,247,.5);
  transform: translate(-50%, -50%);
}
html.app .app-pin-b { border-color: var(--a-mag); box-shadow: 0 0 8px var(--a-mag), 0 0 18px rgba(227,107,232,.5); }
html.app .map-hint { color: var(--a-mute); }

html.app .calc-row-2 { gap: 14px; margin-bottom: 14px; }
html.app #order-form > .calc-row-2:first-child { gap: 10px; }
/* «Откуда», «Куда», имя, телефон и пожелания пишем прямо в полях —
   подписи над ними только для экранных чтецов */
html.app .calc-field.autocomplete-wrap > label,
html.app .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.app .calc-field label {
  margin-bottom: 7px;
  color: var(--a-mute);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
html.app .calc-field input,
html.app .calc-field select,
html.app .calc-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 8px;
  background: var(--a-field);
  color: var(--a-text);
  font: 500 16px/1.25 'Tektur', system-ui, sans-serif;
  letter-spacing: .02em;
  box-shadow: inset 0 0 10px rgba(111,231,247,.1);
}
html.app[data-theme=light] .calc-field input,
html.app[data-theme=light] .calc-field select,
html.app[data-theme=light] .calc-field textarea { box-shadow: inset 0 1px 3px rgba(50,90,170,.08); }
html.app .calc-field textarea { min-height: 76px; resize: vertical; }
/* Дата и время: подпись — внутри поля, пока в нём пусто (.app-filled ставит app.js).
   Пустое поле браузер на компьютере заполняет «дд.мм.гггг» — прячем, пока не нажали */
html.app .calc-field.in-field { position: relative; }
html.app .calc-field.in-field > label {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  right: 46px;
  z-index: 1;
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--a-mute);
  opacity: .8;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}
html.app .calc-field.in-field:not(.app-filled) input { color: transparent; }
html.app .calc-field.in-field.app-filled > label { visibility: hidden; }
@media (pointer: fine) {
  html.app .calc-field.in-field:focus-within > label { visibility: hidden; }
  html.app .calc-field.in-field:focus-within input { color: var(--a-text); }
}
html.app .calc-field input:focus,
html.app .calc-field select:focus,
html.app .calc-field textarea:focus {
  border-color: var(--a-cyan);
  outline: none;
  box-shadow: 0 0 0 1px var(--a-cyan), 0 0 14px rgba(111,231,247,.35), inset 0 0 10px rgba(111,231,247,.12);
}
html.app .calc-field input::placeholder,
html.app .calc-field textarea::placeholder { color: var(--a-mute); opacity: .8; }
html.app .calc-field select {
  padding-right: 38px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--a-field) var(--a-chev) no-repeat right 14px center / 12px 8px;
}
/* Значки в полях: откуда — кнопка «моё местоположение» слева, куда — цель, телефон */
html.app #ord-from { padding-left: 46px; padding-right: 14px; }
html.app #ord-to { padding-left: 42px; border-color: rgba(227,107,232,.5); background: var(--a-field) var(--a-target) no-repeat 13px 50% / 18px 18px; box-shadow: inset 0 0 10px rgba(227,107,232,.1); }
html.app #ord-phone { padding-left: 42px; background: var(--a-field) var(--a-phone) no-repeat 13px 50% / 18px 18px; }
html.app #ord-to:focus { border-color: var(--a-mag); box-shadow: 0 0 0 1px var(--a-mag), 0 0 14px rgba(227,107,232,.35); }
html.app .geo-btn {
  left: 7px;
  right: auto;
  width: 34px;
  height: 34px;
  color: var(--a-cyan);
  filter: drop-shadow(0 0 4px rgba(111,231,247,.55));
}
html.app .geo-btn:hover { background: rgba(111,231,247,.1); }

/* Подсказки адресов */
html.app .autocomplete-list {
  top: calc(100% + 4px);
  border: 1px solid var(--a-line);
  border-radius: 8px;
  background: var(--a-solid);
  box-shadow: 0 0 18px rgba(74,125,255,.3), 0 10px 24px rgba(0,0,0,.45);
}
html.app[data-theme=light] .autocomplete-list { border-color: rgba(120,170,230,.55); box-shadow: 0 10px 26px rgba(50,90,170,.22); }
html.app .autocomplete-item { padding: 12px 14px; border-bottom: 1px solid var(--a-soft); color: var(--a-text); font-size: 15px; }
html.app .autocomplete-item:hover, html.app .autocomplete-item:active { background: rgba(111,231,247,.1); }
html.app .ac-hint { color: var(--a-mute); font-size: 12.5px; }

/* Класс авто — кнопками вместо списка (кнопки строит app.js) */
html.app #ord-carclass { display: none; }
html.app .app-wide, html.app .app-wide ~ .calc-field { grid-column: 1 / -1; }
/* Пока app.js не построил кнопки — то же место (94 px), чтобы форма не прыгала при загрузке */
html.app .calc-field:has(> #ord-carclass), html.app .calc-field:has(> #ord-carclass) ~ .calc-field { grid-column: 1 / -1; }
html.app .calc-field:has(> #ord-carclass):not(.app-wide)::after { content: ""; display: block; height: 94px; }
/* Пять классов — ровным блоком: три в первом ряду, два во втором, края по одной линии */
html.app .app-chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
html.app .app-chips button { grid-column: span 2; }
html.app .app-chips button:nth-child(4):nth-last-child(2),
html.app .app-chips button:nth-child(5):nth-last-child(1) { grid-column: span 3; }
html.app .app-chips button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 5px 4px;
  border: 1px solid rgba(74,125,255,.38);
  border-radius: 8px;
  background: var(--a-chip);
  color: var(--a-text);
  font: 600 13px/1.1 'Tektur', system-ui, sans-serif;
  letter-spacing: .03em;
  cursor: pointer;
}
html.app .app-chips button span { color: var(--a-mute); font-size: 11px; font-weight: 500; }
html.app .app-chips button[aria-pressed=true] {
  border-color: var(--a-cyan);
  background: rgba(111,231,247,.1);
  box-shadow: 0 0 14px rgba(111,231,247,.45), inset 0 0 14px rgba(111,231,247,.14);
}
html.app .app-chips button[aria-pressed=true] span { color: var(--a-cyan); text-shadow: 0 0 8px rgba(111,231,247,.6); }
html.app[data-theme=light] .app-chips button { border-color: rgba(120,170,230,.55); }
html.app[data-theme=light] .app-chips button[aria-pressed=true] {
  border-color: #1FB5DE;
  background: rgba(232,250,255,.9);
  box-shadow: 0 0 12px rgba(31,181,222,.35), inset 0 0 12px rgba(111,231,247,.22);
}
html.app[data-theme=light] .app-chips button[aria-pressed=true] span { color: var(--a-cyan2); text-shadow: 0 0 8px rgba(111,231,247,.55); }

/* Цена, ответ после отправки */
html.app .estimate-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--a-line);
  border-radius: 8px;
  background: rgba(111,231,247,.06);
  color: var(--a-mute);
  font-size: 13.5px;
}
html.app .estimate-box b { color: var(--a-text); font-size: 22px; font-weight: 700; text-shadow: var(--a-tglow); }
html.app .estimate-loading, html.app .estimate-empty { color: var(--a-mute); }
html.app #order-submit-btn { margin-top: 4px; }
html.app #order-status { font-weight: 500; line-height: 1.5; }
html.app #order-status.ok { color: var(--a-ok); }
html.app #order-status.err { color: var(--a-err); }
html.app .order-followup-hint { color: var(--a-mute); }
html.app .btn-cancel-order {
  min-height: 46px;
  border: 1.5px solid var(--a-err);
  border-radius: 8px;
  background: transparent;
  color: var(--a-err);
  font-family: 'Tektur', system-ui, sans-serif;
}
html.app .btn-cancel-order:hover { background: rgba(255,143,163,.08); }
html.app .cancel-ok { color: var(--a-ok); }
html.app .cr-q { color: var(--a-mute); }
html.app .cr { background: var(--a-soft); color: var(--a-text); border: 1px solid var(--a-line); font-family: 'Tektur', system-ui, sans-serif; }
html.app .cr:hover { background: var(--a-soft); }
html.app .mo-card .cr-box { margin-top: 12px; }
html.app .mo-card .cr-list { display: flex; flex-wrap: wrap; gap: 8px; }
html.app .mo-card .cr { border-radius: 18px; padding: 8px 14px; font-size: 14px; }
html.app .mo-card .cr-q { font-size: 14px; margin-bottom: 8px; }






























/* ---------- Карточки: классы авто, контакты, вопросы ---------- */
html.app .class-card,
html.app .route-hero,
html.app .route-card,
html.app .city-card,
html.app .pop-card,
html.app .geo-card,
html.app .faq-item {
  border: 1px solid var(--a-edge);
  border-radius: 12px;
  background: var(--a-card);
  box-shadow: var(--a-glow);
  color: var(--a-text);
}
html.app h2.section-title + .class-grid { margin-top: 16px; }
html.app .class-grid { gap: 10px; }
html.app .classes-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639px) {
  html.app .classes-5 .class-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
html.app .class-card { padding: 14px; }
html.app .class-card h3 { margin-bottom: 4px; color: var(--a-cyan); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
html.app .class-card .models { color: var(--a-mute); font-size: 12.5px; line-height: 1.45; }
html.app .class-card .rate { color: var(--a-text); font-size: 16px; text-shadow: var(--a-tglow); }
html.app .classes-5 .class-card { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 3px 8px; padding: 10px 12px; }
html.app .classes-5 .class-card h3 { grid-area: 1 / 1; margin: 0; font-size: 12px; letter-spacing: .08em; }
html.app .classes-5 .class-card .rate { grid-area: 1 / 2; margin: 0; font-size: 13px; white-space: nowrap; }
html.app .classes-5 .class-card .models { grid-area: 2 / 1 / 3 / 3; margin: 0; font-size: 11.5px; line-height: 1.35; }
html.app .contacts-grid .class-card a { color: var(--a-text); }
html.app .contacts-grid .class-card a svg { color: var(--a-cyan); }

/* Вопросы: ответ открывается по нажатию (app.js), «+» / «−» справа */
html.app .faq-item { margin-top: 10px; padding: 0; border-color: rgba(111,231,247,.22); overflow: hidden; }
html.app[data-theme=light] .faq-item { border-color: var(--a-edge); }
html.app h2.section-title + .faq-item { margin-top: 16px; }
html.app .faq-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  margin: 0;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .02em;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
html.app .faq-item h3::after {
  content: "+";
  flex: none;
  width: 20px;
  color: var(--a-cyan);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-shadow: var(--a-tglow);
}
html.app .faq-item.open h3::after { content: "−"; }
html.app .faq-item.open { border-color: var(--a-line); }
html.app .faq-item p { padding: 0 16px 16px; color: var(--a-mute); font-size: 14px; line-height: 1.55; }
html.app .faq-item:not(.open) p { display: none; }
html.app .faq-callout {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed var(--a-line);
  border-radius: 12px;
  background: rgba(111,231,247,.05);
  color: var(--a-mute);
}
html.app .faq-callout b { color: var(--a-text); }
html.app .faq-callout + h2.section-title { margin-top: 30px; }

/* ---------- Направления, маршрут, тарифы ---------- */
html.app .back-link { margin: 16px 0 6px; color: var(--a-cyan); font-weight: 500; letter-spacing: .04em; }
html.app .route-hero { margin: 14px 0 22px; padding: 20px 16px; }
html.app .route-hero h1 { font-size: 22px; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase; text-shadow: var(--a-tglow); }
html.app .route-hero .arrow,
html.app .route-card .rc-banner .arrow,
html.app .pop-arrow { color: var(--a-mag); opacity: 1; text-shadow: 0 0 8px rgba(227,107,232,.55); }
html.app .route-facts { gap: 14px 26px; }
html.app .route-facts .fact b { color: var(--a-cyan); font-size: 19px; text-shadow: var(--a-tglow); }
html.app .route-facts .fact span { color: var(--a-mute); letter-spacing: .1em; }
html.app .route-intro { color: var(--a-mute); font-size: 14px; }
html.app .tariff-table {
  border: 1px solid var(--a-edge);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--a-card);
  box-shadow: var(--a-glow);
}
html.app .tariff-table th { color: var(--a-mute); font-weight: 600; letter-spacing: .12em; border-bottom: 1px solid var(--a-soft); }
html.app .tariff-table td { border-bottom: 1px solid var(--a-soft); font-size: 14.5px; }
html.app .tariff-table td.num { color: var(--a-text); text-shadow: var(--a-tglow); }
html.app .wrap > h3 { margin-top: 24px; color: var(--a-cyan); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html.app .related-list { gap: 8px; }
html.app .related-list a {
  border: 1px solid var(--a-edge);
  border-radius: 8px;
  background: var(--a-field);
  color: var(--a-text);
  font-weight: 500;
}
html.app .route-grid, html.app .city-grid, html.app .pop-grid, html.app .geo-grid { gap: 12px; }
/* Каталог направлений: города ровной сеткой во всю ширину, регионы — подзаголовками */
html.app h2.region-title { margin: 20px 0 0; font-size: 16px; }
html.app .city-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 6px; }
html.app .city-chips a {
  display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px;
  border: 1px solid var(--a-edge); border-radius: 8px; background: var(--a-field);
  color: var(--a-text); font-size: 13px; font-weight: 500; text-align: center; text-decoration: none;
}
/* Списки маршрутов на страницах «Направления»: строка — маршрут, км и время, цена */
html.app .route-rows { display: grid; gap: 8px; margin: 14px 0 8px; }
html.app .route-rows a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 11px 14px; border: 1px solid var(--a-edge); border-radius: 10px;
  background: var(--a-field); color: var(--a-text); text-decoration: none;
}
html.app .route-rows .rr-name { font-weight: 600; }
html.app .route-rows .rr-meta { color: var(--a-mute); font-size: 13px; }
html.app .route-rows .rr-price { grid-column: 2; grid-row: 1 / span 2; color: var(--a-cyan); text-shadow: var(--a-tglow); font-weight: 700; white-space: nowrap; }
html.app .route-text { margin: 10px 0 4px; color: var(--a-mute); line-height: 1.6; }
@media (min-width: 900px) { html.app .route-rows { grid-template-columns: 1fr 1fr; } }
html.app .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html.app .route-card .rc-banner {
  min-height: 58px;
  border-bottom: 1px solid var(--a-soft);
  background: linear-gradient(135deg, rgba(74,125,255,.3), rgba(111,231,247,.08));
  color: var(--a-text);
  font-weight: 700;
  letter-spacing: .03em;
}
html.app[data-theme=light] .route-card .rc-banner { background: linear-gradient(135deg, rgba(61,107,255,.16), rgba(19,171,214,.06)); }
html.app .route-card .rc-banner svg g { fill: var(--a-cyan); }
html.app .route-card .rc-meta, html.app .city-cnt, html.app .pop-meta, html.app .geo-intro { color: var(--a-mute); opacity: 1; }
html.app .route-card .rc-price, html.app .pop-price { color: var(--a-cyan); text-shadow: var(--a-tglow); }
html.app .city-name, html.app .geo-card-head h3 { color: var(--a-text); }
/* «Частые направления» и «Куда мы возим» на странице направлений стоят без обёртки — даём им поля, как у остальных */
html.app .geo-block, html.app .pop-block { max-width: 1140px; margin: 30px auto 6px; padding-left: 16px; padding-right: 16px; }
html.app .geo-count { background: rgba(227,107,232,.14); color: var(--a-mag); }
html.app .geo-chip { border: 1px solid var(--a-soft); background: var(--a-field); color: var(--a-text); }

/* Значки в неоновых ромбах, как в логотипе: преимущества на главной и «Три шага» (главная, «Водителям») */
html.app .feature-strip .f-ico, html.app .step-circ .sc-num {
  position: relative; display: grid; place-items: center; flex: none;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--a-cyan);
}
html.app .feature-strip .f-ico::before, html.app .step-circ .sc-num::before {
  content: ""; position: absolute; border: 1.5px solid currentColor; transform: rotate(45deg);
  background: var(--a-field); box-shadow: 0 0 9px rgba(111,231,247,.35), inset 0 0 8px rgba(111,231,247,.12);
}
html.app .feature-strip .f-item:nth-child(2) .f-ico, html.app .feature-strip .f-item:nth-child(3) .f-ico,
html.app .step-circ:nth-child(2) .sc-num { color: var(--a-mag); }
html.app .feature-strip .f-item:nth-child(2) .f-ico::before, html.app .feature-strip .f-item:nth-child(3) .f-ico::before,
html.app .step-circ:nth-child(2) .sc-num::before { box-shadow: 0 0 9px rgba(227,107,232,.4), inset 0 0 8px rgba(227,107,232,.14); }
html.app .feature-strip .f-ico svg, html.app .step-circ .sc-num svg { position: relative; filter: drop-shadow(0 0 3px currentColor); }
html.app .feature-strip h3, html.app .step-circ h3 { margin: 0; color: var(--a-text); font: 700 11px/1.25 'Tektur', system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; }

/* Преимущества — четыре небольшие плашки 2×2, на широком экране в одну строку */
html.app .feature-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 640px; margin: 12px auto 14px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
html.app .feature-strip .f-item { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--a-edge); border-radius: 10px; background: var(--a-card); box-shadow: var(--a-glow); text-align: left; }
html.app .feature-strip .f-ico { width: 30px; height: 30px; margin: 0; }
html.app .feature-strip .f-ico::before { inset: 6px; border-radius: 4px; }
html.app .feature-strip .f-ico svg { width: 14px; height: 14px; }
@media (min-width: 640px) { html.app .feature-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* «Три шага» — три ровные колонки по центру, ромбы соединены линией; «Частые вопросы» — подписью по центру */
html.app #steps .wrap, html.app #faq .eyebrow { text-align: center; }
html.app .steps-circ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
html.app .step-circ { position: relative; padding: 0; text-align: center; }
html.app .step-circ .sc-num { width: 44px; height: 44px; margin: 0 auto 8px; }
html.app .step-circ .sc-num::before { inset: 8px; border-radius: 6px; }
html.app .step-circ .sc-num svg { width: 16px; height: 16px; }
html.app .step-circ::after { content: ""; display: block; position: absolute; top: 21px; bottom: auto; left: calc(50% + 30px); right: auto; width: calc(100% - 52px); height: 2px; background: linear-gradient(90deg, var(--a-cyan), var(--a-mag)); opacity: .55; }
html.app .step-circ:last-child::after { display: none; }
html.app .step-circ h3 { margin-bottom: 4px; }
html.app .step-circ p { margin: 0; color: var(--a-mute); font-size: 12px; line-height: 1.4; }

/* ---------- Подвал ---------- */
html.app .site-footer {
  margin-top: 26px;
  padding: 26px 0 calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--a-soft);
  background: transparent;
  color: var(--a-mute);
}
html.app .site-footer h4 { color: var(--a-mute); font-size: 11px; font-weight: 600; letter-spacing: .16em; }
html.app .site-footer a, html.app a.cl, html.app a.cl:hover { color: var(--a-text); }
html.app .site-footer a.cl svg { color: var(--a-cyan); }

/* Колонка шире телефона: классы — три и два, как кнопки в заказе */
@media (min-width: 640px) {
  html.app .classes-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  html.app .classes-5 .class-card { grid-column: span 2; }
  html.app .classes-5 .class-card:nth-child(4):nth-last-child(2),
  html.app .classes-5 .class-card:nth-child(5):nth-last-child(1) { grid-column: span 3; }






}

/* Компьютер: остальные страницы — до 1040 px, карта в заказе повыше */
@media (min-width: 900px) {
  html.app .wrap, html.app .geo-block, html.app .pop-block { max-width: 1040px; }
  html.app .route-map { height: 260px; }
  html.app .route-intro { max-width: 760px; }
  html.app .city-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* Узкий телефон: название чуть плотнее, чтобы шапка влезла */
@media (max-width: 350px) {
  html.app .site-header .wrap { gap: 8px; }
  html.app .brand .brand-text { font-size: 13px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  html.app .mobile-nav, html.app .app-scrim, html.app .mobile-menu-btn line { transition: none; }
}

/* ---------- 13.11.2026: главный заголовок, популярные направления, о сервисе ---------- */
html.app .hero h1.hero-title {
  margin: 4px 0 8px;
  color: var(--a-text);
  font: 800 21px/1.25 'Tektur', system-ui, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: var(--a-tglow);
}
@media (min-width: 640px) { html.app .hero h1.hero-title { font-size: 26px; } }
/* «Как это работает», «Частые вопросы», «Популярные направления» — заголовки h2 с прежним видом */
html.app h2.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; line-height: 1.5; }
html.app #popular .eyebrow { text-align: center; }
html.app .pop-all { margin: 12px 0 0; text-align: center; }
html.app .pop-all a { font-weight: 600; letter-spacing: .04em; }
html.app #about { text-align: center; }
html.app #about h2.section-title { font-size: 18px; }
html.app #about p { max-width: 640px; margin: 10px auto 0; color: var(--a-mute); font-size: 14px; line-height: 1.6; }
html.app #about p a { white-space: nowrap; }

/* «Следить в Telegram / MAX» — фиолетовой обводкой, как кнопки на «Водителям», в обеих темах */
html.app #order-followup .followup-btns { display: flex; flex-direction: column; gap: 10px; }
html.app #order-followup .trip-book.follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--a-mag);
  border-radius: 8px;
  background: var(--a-ghost);
  color: var(--a-ghost-ink);
  font: 700 14px/1.15 'Tektur', system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(227,107,232,.3);
}
html.app[data-theme=light] #order-followup .trip-book.follow { box-shadow: 0 0 12px rgba(212,87,214,.22); }
html.app #order-followup .trip-book.follow:active { background: rgba(227,107,232,.2); }

/* Логотипы MAX и Telegram: в кнопках, в меню, в «Контактах» */
html.app .mi, html.app #order-followup .trip-book.follow img { flex: none; width: 20px; height: 20px; }
html.app #order-followup .trip-book.follow img { width: 22px; height: 22px; }
html.app .mi, html.app #order-followup .trip-book.follow img { border-radius: 23%; box-shadow: 0 0 6px rgba(74,125,255,.3); }
html.app[data-theme=light] .mi, html.app[data-theme=light] #order-followup .trip-book.follow img { box-shadow: 0 1px 4px rgba(50,90,170,.3); }

/* Подвал: телефон слева, «Заказ в боте» — справа, только значки;
   под тонкой линией — название и политика конфиденциальности */
html.app .site-footer .wrap { align-items: flex-start; row-gap: 18px; }
html.app .site-footer .contacts.bots { align-items: flex-end; text-align: right; }
html.app .bot-icons { display: flex; align-items: center; gap: 22px; min-height: 32px; }
html.app .bot-icons .bi { position: relative; display: block; line-height: 0; padding: 9px; margin: -9px; border-radius: 12px; }
html.app .bot-icons .bi + .bi::before {
  content: "";
  position: absolute;
  left: -2.75px;
  top: 12px;
  bottom: 12px;
  width: 1.5px;
  background: var(--a-mute);
  opacity: .7;
}
html.app .bot-icons img { width: 22px; height: 22px; border-radius: 5px; box-shadow: 0 0 8px rgba(74,125,255,.35); }
html.app[data-theme=light] .bot-icons img { box-shadow: 0 2px 8px rgba(50,90,170,.25); }
html.app .site-footer .legal {
  flex-basis: 100%;
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--a-soft);
  font-size: 12px;
  text-align: center;
  color: var(--a-mute);
}
html.app .site-footer .legal a { color: var(--a-mute); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { html.app .bot-icons { min-height: 40px; } }

/* В приложении — только заказ: без направлений и рекламных блоков */
html.redir body { visibility: hidden; }
html.inapp #popular, html.inapp #about, html.inapp .tariff-examples, html.inapp .nf-routes,
html.inapp .mobile-nav a[href$="napravleniya/"] { display: none; }

/* «Тарифы»: подзаголовки, список и текст */
html.app .tariff-list { margin: 12px 0 0; padding-left: 20px; color: var(--a-mute); font-size: 14px; line-height: 1.6; }
html.app .tariff-list li + li { margin-top: 6px; }
html.app .tariff-text { margin: 12px 0 0; color: var(--a-mute); font-size: 14px; line-height: 1.6; }
html.app h2.tariff-h { margin-top: 30px; font-size: 18px; }
/* Страница 404 */
html.app .nf { max-width: 672px; text-align: center; }
html.app .nf-code { margin: 10px 0 0; color: var(--a-cyan); font: 800 64px/1 'Tektur', system-ui, sans-serif; letter-spacing: .08em; text-shadow: var(--a-tglow); }
html.app .nf-text { margin: 12px auto 0; color: var(--a-mute); font-size: 14px; line-height: 1.6; }
html.app .nf .related-list { justify-content: center; }

/* ---------- Новое приложение (html.native) ----------
   Меню, контакты, политика и тема — в нижней панели приложения, статус заказа —
   во вкладке «Мои заказы». На главной — только заказ, без шапки и подвала. */
html.native { scroll-padding-top: 8px; }
html.native .calc-card { scroll-margin-top: 8px; }
html.native .site-header, html.native .mobile-nav, html.native .app-scrim, html.native .site-footer,
html.native #order ~ section, html.native #order ~ .wrap, html.native .cta-stack,
html.native .order-followup-hint, html.native .followup-btns { display: none; }
html.native main.wrap, html.native body > section:first-of-type { padding-top: 14px; }

/* «Мои заказы» (страница приложения /app/zakazy/) */
html.app .mo { max-width: 672px; padding-bottom: 28px; }
html.app .mo h1 { margin: 6px 0 14px; text-align: center; }
html.app .mo-card {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid var(--a-edge);
  border-radius: 14px;
  background: var(--a-card);
  box-shadow: var(--a-glow);
}
html.app .mo-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--a-mute); font-size: 13px; }
html.app .mo-st { padding: 2px 10px; border-radius: 99px; border: 1px solid var(--a-line); color: var(--a-cyan); font-weight: 600; white-space: nowrap; }
html.app .mo-st.done { color: var(--a-ok); border-color: currentColor; }
html.app .mo-st.off { color: var(--a-mute); border-color: var(--a-soft); }
html.app .mo-route { margin: 8px 0 2px; color: var(--a-text); font-size: 17px; font-weight: 700; line-height: 1.35; }
html.app .mo-meta { color: var(--a-mute); font-size: 14px; }
html.app .mo-driver { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--a-soft); font-size: 14px; }
html.app .mo-driver a { color: var(--a-cyan); font-weight: 700; text-decoration: none; }
html.app .mo-btns { display: flex; gap: 10px; margin-top: 12px; }
html.app .mo-btns > * {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font: 600 14px 'Tektur', system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
html.app .mo-repeat { border: 1px solid var(--a-line); background: var(--a-soft); color: var(--a-text); }
html.app .mo-cancel { border: 1px solid var(--a-err); background: transparent; color: var(--a-err); }
html.app .mo-cancel:disabled { opacity: .6; }
html.app .mo-empty { padding: 40px 0; text-align: center; color: var(--a-mute); }
html.app .mo-empty .btn-calc { display: inline-block; margin-top: 14px; padding: 12px 22px; text-decoration: none; }

/* Страницы водителя в приложении (/app/voditel/) */
html.app .dv-note {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 12px;
  background: var(--a-soft);
  color: var(--a-mute);
  font-size: 14px;
  text-align: center;
}
html.app .dv-note b { color: var(--a-text); }
html.app .dv-note.bad { border-color: var(--a-err); color: var(--a-text); }
html.app .dv-note .btn-calc { display: block; margin-top: 10px; padding: 11px; text-decoration: none; }
html.app .dv-text { color: var(--a-text); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
html.app .dv-text a { color: var(--a-cyan); }
html.app .mo-card .dv-text { margin-top: 6px; }
html.app .dv-btn { display: block; width: 100%; margin-top: 12px; padding: 12px; text-align: center; text-decoration: none; }
html.app .dv-why { margin-top: 10px; color: var(--a-mute); font-size: 13px; text-align: center; }
html.app .dv-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 12px 14px;
  border: 1px solid var(--a-err);
  border-radius: 12px;
  background: var(--a-card);
  box-shadow: var(--a-glow);
  color: var(--a-text);
  font-size: 14px;
  text-align: center;
}
html.app .dv-toast.ok { border-color: var(--a-ok); }
