:root {
  --bg: #f6f4ef;
  --bg-soft: #efebe5;
  --surface: rgba(255,255,255,.92);
  --surface-strong: #fff;
  --text: #1f2740;
  --muted: rgba(31,39,64,.66);
  --line: rgba(31,39,64,.08);
  --line-strong: rgba(31,39,64,.14);
  --primary: #ffd447;
  --primary-ink: #1f2740;
  --accent: #bfa2db;
  --accent-ink: #8f79a7;
  --rose: #ffd447;
  --rose-ink: #1f2740;
  --chip: #efe7f7;
  --warm: #fbf7f1;
  --navy: #1f2740;
  --shadow-lg: 0 24px 70px rgba(31,39,64,.1);
  --shadow-md: 0 14px 34px rgba(31,39,64,.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, body.theme-root {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f4ef 0%, #f3efe8 100%);
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, details, summary { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.app-header { padding: 16px 0; background: var(--navy); color: #fff; }
.app-header > * { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; }
.page { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; padding: 28px 0 72px; }
.container { width: min(1200px, calc(100vw - 32px)); margin: 0 auto; }
.card, .card-panel {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-md);
  border-radius: 24px;
  padding: 20px;
}
.muted { color: var(--muted); }
.clean-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.ticker-shell {
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 4px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: tickerMove 34s linear infinite;
}
.ticker-pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,212,71,.08);
  border: 1px solid rgba(255,212,71,.16);
  color: #ffd447;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246,244,239,.8);
  border-bottom: 1px solid rgba(31,39,64,.04);
}
.site-header__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--primary);
  font-weight: 800; letter-spacing: .03em;
}
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__text strong { font-size: 16px; line-height: 1; }
.brand__text small { font-size: 12px; color: var(--muted); }
.top-nav {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(31,39,64,.06);
  box-shadow: 0 8px 20px rgba(31,39,64,.04);
}
.top-nav a { font-size: 14px; color: rgba(31,39,64,.78); }
.header-actions { display: inline-flex; align-items: center; gap: 10px; }
.pill {
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  border: 1px solid transparent;
}
.pill--ghost { background: rgba(255,255,255,.65); border-color: rgba(31,39,64,.06); }
.pill--solid { background: var(--primary); color: var(--primary-ink); box-shadow: 0 12px 22px rgba(255,212,71,.3); }

.hero-shell {
  background:
    radial-gradient(circle at top left, rgba(191,162,219,.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255,212,71,.18), transparent 20%),
    #f6f4ef;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
  gap: 34px;
  align-items: start;
  padding: 34px 0 44px;
}
.hero-copy { padding: 34px 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; padding: 8px 14px;
  border-radius: 999px; background: rgba(255,255,255,.78);
  border: 1px solid rgba(31,39,64,.06);
  color: var(--accent-ink); font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow--dark { background: rgba(191,162,219,.14); border-color: rgba(191,162,219,.22); }
.hero-copy h1 {
  margin: 18px 0 16px;
  //*max-width: 11ch;*//
  font-size: clamp(20px, 6vw, 28px);
  line-height: .95; letter-spacing: -.06em;
}
.hero-copy h1 span { color: var(--accent); }
.hero-copy p { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.72; color: var(--muted); }
.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 22px;
}
.hero-point {
  background: rgba(255,255,255,.82); border: 1px solid rgba(31,39,64,.06); box-shadow: 0 10px 24px rgba(31,39,64,.05);
  border-radius: 22px; padding: 18px 16px;
}
.hero-point strong { display: block; margin-bottom: 6px; font-size: 15px; }
.hero-point span { font-size: 13px; color: var(--muted); }

.search-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.search-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 18px; }
.search-card__head h2, .section-head h2, .order-modal__head h3 {
  margin: 10px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.02; letter-spacing: -.05em;
}
.search-card__mini {
  min-width: 88px; text-align: right; color: var(--muted); font-size: 12px; line-height: 1.4;
}
.search-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 600; color: rgba(31,39,64,.7); }
.field input {
  height: 52px; width: 100%; border-radius: 18px; border: 1px solid rgba(31,39,64,.08);
  background: rgba(255,255,255,.84); padding: 0 16px; color: var(--text); outline: none;
}
.field select {
  height: 52px; width: 100%; border-radius: 18px; border: 1px solid rgba(31,39,64,.08);
  background: rgba(255,255,255,.84); padding: 0 16px; color: var(--text); outline: none;
}
.field input:focus { border-color: rgba(191,162,219,.7); box-shadow: 0 0 0 4px rgba(191,162,219,.12); }
.field select:focus { border-color: rgba(191,162,219,.7); box-shadow: 0 0 0 4px rgba(191,162,219,.12); }
.field:last-of-type + datalist + .btn--wide,
.btn--wide { grid-column: 1 / -1; width: 100%; }
.btn {
  min-height: 52px; border-radius: 18px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; font-weight: 700; transition: .2s ease;
  touch-action: manipulation;
}
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 14px 24px rgba(255,212,71,.28); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--secondary { background: rgba(255,255,255,.78); border-color: rgba(31,39,64,.08); color: var(--text); }
.quick-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.quick-tags button {
  border: none; background: rgba(191,162,219,.12); color: var(--accent-ink);
  border-radius: 999px; padding: 9px 12px; font-size: 12px; font-weight: 600;
  white-space: nowrap;
  touch-action: manipulation;
}

.result-panel {
  margin-top: 18px; border-radius: 26px; padding: 18px; background: #fff;
  border: 1px solid rgba(31,39,64,.08); box-shadow: 0 12px 30px rgba(31,39,64,.05);
}
.result-panel--empty { background: rgba(255,255,255,.64); }
.result-loading, .result-error { font-size: 14px; color: var(--muted); }
.result-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
}
.result-cell {
  background: #f8f4ee; border: 1px solid rgba(31,39,64,.05); border-radius: 18px; padding: 14px;
}
.result-cell span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.result-cell strong { font-size: 18px; line-height: 1.35; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.section { padding: 52px 0; }
.section--soft { background: rgba(255,255,255,.28); }
.section--map { padding-top: 18px; }
.section--inner { padding-top: 24px; }
.section-head { margin-bottom: 24px; }
.section-head--compact { margin-bottom: 16px; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; }
.section-copy { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.7; }
.catalog-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.city-calc-card { position: sticky; top: 84px; }
.popular-routes-card { padding: 22px; }
.popular-route-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.popular-route-pills .ticker-pill { text-decoration: none; }
.route-tariffs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.route-tariffs > div { border: 1px solid rgba(31,39,64,.08); border-radius: 16px; padding: 12px; background: rgba(255,255,255,.86); display: grid; gap: 6px; }
.route-tariffs span { color: var(--muted); }

.map-card {
  overflow: hidden; min-height: 420px; border-radius: 30px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.74); box-shadow: var(--shadow-lg);
}
.map-card iframe { width: 100%; min-height: 420px; border: none; display: block; }
.map-placeholder { display: grid; place-items: center; }
.map-placeholder__content { max-width: 480px; text-align: center; padding: 40px 24px; }
.map-placeholder__content strong { display: block; font-size: 24px; margin-bottom: 10px; }
.map-placeholder__content span { color: var(--muted); line-height: 1.7; }

.page-hero {
  padding: 28px 0 10px;
}
.page-hero__inner {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 54px);
  letter-spacing: -.04em;
  line-height: .96;
}
.page-hero p {
  margin: 0;
  max-width: 900px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.55;
}
.page-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(31,39,64,.08);
  background: rgba(255,255,255,.85);
  box-shadow: 0 12px 24px rgba(31,39,64,.06);
}
.stat-card span { display: block; color: var(--muted); font-size: 14px; }
.stat-card strong { font-size: 30px; letter-spacing: -.03em; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.catalog-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.84);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.catalog-card__head { display: grid; gap: 8px; }
.catalog-card__head h3 { margin: 0; font-size: 30px; letter-spacing: -.03em; }
.catalog-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(191,162,219,.15);
}
.catalog-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.region-card {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.86);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.region-card summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
}
.region-card__body {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 4px;
}
.city-chip--route {
  background: rgba(255,255,255,.95);
  border-color: rgba(31,39,64,.1);
  font-weight: 500;
}

.inner-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.inner-card ol,
.inner-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.route-hero-card h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.route-hero-card__lead { margin: 0; color: var(--text); line-height: 1.65; }
.route-hero-card__stats { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.route-layout { margin-top: 22px; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.route-layout__map { min-width: 0; }
.route-layout__tariffs { min-width: 0; }
.route-layout .vehicle-grid--slider { display: flex; gap: 12px; overflow-x: auto; }
.route-layout .vehicle-grid--slider .tariff-card { flex: 0 0 100%; }
.tariff-card--compact .tariff-title { font-size: 26px; text-transform: none; }
.tariff-card--compact .tariff-cars { min-height: 88px; }
.tariff-card--compact .tariff-image { min-height: 128px; padding-top: 12px; }
.tariff-card--compact .tariff-image img { max-height: 94px; }
.city-region-card details { border-top: 1px solid rgba(31,39,64,.07); padding: 12px 0; }
.city-region-card details:first-of-type { border-top: 0; }
.city-region-card summary { cursor: pointer; font-weight: 700; }
.city-region-card p { margin: 10px 0 0; line-height: 1.65; color: var(--muted); }

.vehicle-wrap { display: grid; gap: 18px; }
.tariff-switch {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px;
  padding: 8px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(31,39,64,.08);
  max-width: 720px;
}
.tariff-switch__btn {
  height: 54px; border: none; border-radius: 999px; background: transparent; color: var(--text);
  font-weight: 700; font-size: 18px;
}
.tariff-switch__btn.is-active { background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(31,39,64,.14); }
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.vehicle-grid--slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.vehicle-grid--slider .tariff-card {
  flex: 0 0 min(360px, 88vw);
  scroll-snap-align: start;
}
.tariff-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: 30px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(251,247,241,.96) 100%);
  border: 1px solid rgba(31,39,64,.07); box-shadow: 0 18px 38px rgba(31,39,64,.07);
}
.tariff-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(31,39,64,.94); color: #fff;
  border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(31,39,64,.16);
}
.tariff-image {
  min-height: 170px; display: grid; place-items: center;
  background: linear-gradient(180deg, #f8f3eb 0%, #efe8df 100%);
  padding: 18px 18px 8px;
}
.tariff-image img { max-height: 132px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 24px rgba(31,39,64,.12)); }
.tariff-info { display: flex; flex-direction: column; gap: 14px; padding: 24px; height: 100%; }
.tariff-title { margin: 0; font-size: 22px; text-transform: uppercase; letter-spacing: -.03em; }
.tariff-cars { margin: 0; color: rgba(31,39,64,.72); line-height: 1.55; min-height: 72px; font-size: 14px; }
.tariff-features { display: grid; gap: 10px; }
.feature-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.72); border: 1px solid rgba(31,39,64,.05); }
.feature-row img { width: 18px; height: 18px; object-fit: contain; flex: 0 0 18px; }
.feature-row span { font-size: 14px; }
.tariff-price { margin-top: auto; display: grid; gap: 6px; }
.tariff-rate { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tariff-price strong { font-size: 24px; letter-spacing: -.03em; }
.tariff-btn {
  margin-top: 2px; height: 54px; width: 100%; border: none; border-radius: 18px;
  background: var(--primary); color: var(--primary-ink); font-weight: 700;
  box-shadow: 0 14px 24px rgba(255,212,71,.22);
  touch-action: manipulation;
}
.payment-methods { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 4px; min-height: 28px; }
.payment-methods img { height: 22px; width: auto; }

.routes-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.route-card {
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.82); border-radius: 26px; box-shadow: var(--shadow-md);
  padding: 20px; display: grid; gap: 10px;
}
.route-card__badge {
  display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 7px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); background: rgba(191,162,219,.14);
}
.route-card h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.route-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.text-link { color: var(--navy); font-weight: 700; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.story-card {
  background: rgba(255,255,255,.88); border-radius: 26px; border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-md);
  padding: 22px;
}
.story-card span { display: block; color: var(--accent); font-size: 34px; font-weight: 800; line-height: 1; }
.story-card h3 { margin: 10px 0 8px; font-size: 20px; }
.story-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.cities-panel {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 22px; border-radius: 28px;
  background: rgba(255,255,255,.84); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-md);
}
.city-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(31,39,64,.08); color: rgba(31,39,64,.8); font-size: 14px;
}

.faq-shell { display: grid; gap: 18px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-md);
  border-radius: 22px; padding: 16px 18px;
}
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 12px 0 0; color: var(--muted); line-height: 1.7; }

.site-footer {
  margin-top: 20px; padding: 34px 0; background: var(--navy); color: #fff;
}
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 22px; }
.brand--footer .brand__mark { background: var(--primary); color: var(--navy); }
.brand--footer .brand__text small { color: rgba(255,255,255,.64); }
.footer-note { max-width: 380px; color: rgba(255,255,255,.7); line-height: 1.7; }
.site-footer h3 { margin: 0 0 10px; font-size: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.76); }

.order-modal {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
}
.order-modal__backdrop { position: absolute; inset: 0; background: rgba(10,14,27,.45); backdrop-filter: blur(6px); }
.order-modal__dialog {
  position: relative; z-index: 1; width: min(560px, calc(100vw - 24px));
  background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.82); box-shadow: var(--shadow-lg);
  border-radius: 30px; padding: 24px;
}
.order-modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(31,39,64,.06); color: var(--text); font-size: 24px; line-height: 1;
}
.order-summary {
  margin: 0 0 14px; padding: 16px 18px; border-radius: 20px; background: #f8f4ee; border: 1px solid rgba(31,39,64,.05);
  display: grid; gap: 6px; color: var(--muted);
}
.order-summary strong { font-size: 18px; color: var(--text); }
.order-form { display: grid; gap: 14px; }


.route-card__badge {
  color: var(--navy);
  background: rgba(255,212,71,.2);
}
.result-actions .btn--secondary {
  background: rgba(31,39,64,.06);
}
.result-actions .btn--primary,
.order-form .btn--primary,
.tariff-btn:hover,
.pill--solid:hover,
.btn--primary:hover {
  filter: saturate(1.02);
}
.order-modal__dialog {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(251,247,241,.98) 100%);
}
.order-modal__close:hover {
  background: rgba(31,39,64,.1);
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 12ch; }
  .vehicle-grid, .routes-grid, .story-grid, .site-footer__grid, .catalog-grid, .route-hero-card__stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-split { grid-template-columns: 1fr; }
  .city-calc-card { position: static; }
  .page-hero__meta { grid-template-columns: 1fr; }
  .route-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .top-nav { display: none; }
  .header-actions .pill--ghost { display: none; }
  .site-header__inner { min-height: 62px; }
  .section { padding: 34px 0; }
  .hero-copy { padding-top: 10px; }
  .hero-points,
  .result-grid,
  .vehicle-grid,
  .route-tariffs,
  .routes-grid,
  .story-grid,
  .site-footer__grid,
  .catalog-grid,
  .route-hero-card__stats,
  .page-hero__meta { grid-template-columns: 1fr; }
  .search-form { grid-template-columns: 1fr; }
  .tariff-switch { max-width: none; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
  .region-card summary { font-size: 18px; }
}

@media (max-width: 640px) {
  .container, .page, .app-header > * { width: min(100vw - 20px, 1200px); }
  .ticker-shell { padding: 3px 0; }
  .ticker-pill { font-size: 9px; padding: 5px 10px; }
  .site-header { backdrop-filter: blur(10px); }
  .hero-grid { gap: 16px; padding: 14px 0 22px; }
  .hero-copy h1 { font-size: 40px; max-width: 9ch; }
  .hero-copy p { font-size: 15px; }
  .page-hero h1 { font-size: 42px; }
  .page-hero p { font-size: 16px; }
  .hero-points { gap: 10px; }
  .hero-point { padding: 14px; }
  .search-card, .map-card, .tariff-card, .route-card, .story-card, .order-modal__dialog { border-radius: 24px; }
  .search-card { padding: 18px; }
  .search-card__head { margin-bottom: 14px; }
  .search-card__head h2, .section-head h2 { font-size: 32px; }
  .quick-tags { gap: 8px; }
  .quick-tags button { width: 100%; justify-content: center; }
  .result-cell strong { font-size: 16px; }
  .map-card, .map-card iframe { min-height: 280px; }
  .tariff-switch { display: flex; flex-direction: column; background: transparent; border: none; padding: 0; gap: 10px; }
  .tariff-switch__btn { height: 48px; border: 1px solid rgba(31,39,64,.08); background: rgba(255,255,255,.82); }
  .vehicle-grid { gap: 14px; }
  .tariff-card { border-radius: 22px; }
  .tariff-image { min-height: 150px; }
  .tariff-image img { max-height: 118px; }
  .tariff-info { padding: 18px; gap: 12px; }
  .tariff-cars { min-height: 0; }
  .feature-row { padding: 9px 10px; }
  .tariff-price strong { font-size: 22px; }
  .tariff-btn { height: 52px; }
  .order-modal__dialog { padding: 20px; }
  .site-footer { padding: 28px 0; }
}
