/* SmailBuss — прототип. Токени дизайну */
:root {
  --paper: #F6F6F3;
  --surface: #FFFFFF;
  --ink: #16181B;
  --muted: #5C636B;
  --line: #E2E2DC;
  --sign: #FFC928;          /* фірмовий жовтий, як дорожній знак */
  --sign-deep: #E5AE00;
  --on-sign: #16181B;
  --ok: #1F7A4D;
  --shadow: 0 1px 2px rgb(22 24 27 / .06), 0 8px 24px rgb(22 24 27 / .08);
  --radius: 14px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111315; --surface: #1A1D20; --ink: #EEEDE8; --muted: #A2A8AF;
    --line: #2B2F34; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
    --ok: #4CC08A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111315; --surface: #1A1D20; --ink: #EEEDE8; --muted: #A2A8AF;
  --line: #2B2F34; --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px rgb(0 0 0 / .35);
  --ok: #4CC08A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(27px, 3.6vw, 44px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-family: var(--body); font-weight: 700; font-size: 19px; letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }

/* Кнопки: мінімум 48px по висоті */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sign); color: var(--on-sign); }
.btn--primary:hover { background: var(--sign-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Шапка */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--sign); color: var(--on-sign); display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 8px; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header__cta { min-height: 44px; padding-inline: 18px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.mobile-menu { border-top: 1px solid var(--line); padding-block: 8px 20px; }
/* Відкрите меню: на весь екран, суцільний фон, власна прокрутка; сторінка під ним не рухається */
.header.is-open { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header.is-open .mobile-menu { position: fixed; left: 0; right: 0; bottom: 0; top: calc(69px + env(safe-area-inset-top, 0px)); max-width: none; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .actionbar { display: none; }
.mobile-menu a { display: flex; align-items: center; min-height: 52px; text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 960px) {
  .nav, .header__phone, .header__cta { display: none; }
  .burger { display: grid; place-items: center; }
}

/* Перший екран */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.hero__copy { display: grid; gap: 20px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pill svg { width: 16px; height: 16px; color: var(--ok); }
.hero__media { margin: 0; position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; left: 12px; bottom: 12px; background: rgb(22 24 27 / .78); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; }
@media (min-width: 1024px) {
  .hero__media { order: 2; position: sticky; top: 92px; }
}
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__copy, .hero__media { max-width: 680px; }
  .hero__media { aspect-ratio: auto; height: clamp(170px, 42vw, 320px); }
}
@media (max-width: 520px) { .hero__badges { display: none; } .hero__copy { gap: 14px; } }
.hero__trust { margin-top: clamp(32px, 5vw, 56px); }
.hero--page .hero__media { aspect-ratio: 3 / 2; }
@media (max-width: 1023px) { .hero--page .hero__media { aspect-ratio: auto; height: clamp(150px, 36vw, 280px); } }

/* Форма бронювання */
.booking { position: relative; scroll-margin-top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: clamp(18px, 2.5vw, 24px); display: grid; gap: 16px; }
.booking__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.booking__title { font: 700 18px/1.2 var(--body); letter-spacing: 0; }
.booking__body { display: grid; gap: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking__step { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: start; }
.fields .swap { margin-top: 28px; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 500 17px/1.2 var(--body); appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sign) 60%, transparent); }
.field input[aria-invalid="true"] { border-color: #C23B2E; }
.field__error { font-size: 14px; color: #C23B2E; }
/* Поле міста з підказками */
.combo { position: relative; }
.combo input { padding-right: 14px; }
.combo__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  min-width: min(260px, calc(100vw - 32px)); max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.combo__group { padding: 10px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.combo__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.combo__opt small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.combo__opt[aria-selected="true"] { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.combo__opt--other { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; }
.fields > .combo:last-child .combo__list { left: auto; right: 0; }
.combo__opt mark { background: color-mix(in srgb, var(--sign) 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.combo__empty { padding: 12px; color: var(--muted); font-size: 15px; }

.swap { width: 44px; height: 52px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.swap svg { width: 20px; height: 20px; }
.counter { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 4px; }
.counter button { width: 44px; height: 44px; border-radius: 10px; border: 0; background: var(--surface); color: var(--ink); font-size: 22px; cursor: pointer; }
.counter output { font-weight: 700; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; background: var(--paper); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--sign); outline-offset: 2px; }
.booking__note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.booking__note svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.booking__actions { display: flex; gap: 10px; }
.booking__actions .btn--primary { flex: 1; }
.success { display: grid; gap: 12px; justify-items: start; }
.success__icon { width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); display: grid; place-items: center; }
.success__icon svg { width: 26px; height: 26px; }
.summary { width: 100%; display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 520px) {
  .fields--route { grid-template-columns: minmax(0, 1fr) 44px; column-gap: 8px; }
  .fields--route > .combo:first-child { grid-column: 1; grid-row: 1; }
  .fields--route > .combo:last-child { grid-column: 1; grid-row: 2; }
  .fields--route .swap { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-top: 28px; height: 44px; transform: rotate(90deg); }
  .fields--route > .combo:last-child .combo__list { left: 0; right: auto; }
  .fields--2 { gap: 8px; }
  .counter button { width: 40px; }
}
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 15px; cursor: pointer; justify-self: start; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0; }
.form-error { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #C23B2E 10%, var(--surface)); border: 1px solid color-mix(in srgb, #C23B2E 35%, transparent); font-size: 15px; }
.form-error a { font-weight: 700; white-space: nowrap; }
.btn.is-loading { opacity: .75; cursor: progress; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success__title { font-size: 20px; font-weight: 700; }
.success__text { color: var(--muted); }
.success__text a { color: var(--ink); font-weight: 700; }

/* Смуга довіри */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust__item { background: var(--surface); padding: 20px; display: grid; gap: 4px; }
.trust__item strong { font-size: 17px; }
.trust__item span { color: var(--muted); font-size: 15px; }
@media (max-width: 880px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .trust__item { padding: 14px; } .trust__item strong { font-size: 15px; } .trust__item span { font-size: 14px; } }

/* Напрямки */
.routes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.routes > .route { grid-column: span 2; }
.routes--5 > .route:nth-child(-n+2) { grid-column: span 3; }
.routes--5 > .route:nth-child(-n+2) .route__img { aspect-ratio: 21 / 9; }
.routes--4 > .route { grid-column: span 3; }
.routes--4 .route__img { aspect-ratio: 21 / 9; }
.route { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; }
.route:hover { border-color: var(--ink); transform: translateY(-2px); }
.route__img { aspect-ratio: 16 / 9; background: var(--line); overflow: hidden; }
.route__img img { width: 100%; height: 100%; object-fit: cover; }
.route__img--plate { display: grid; place-items: center; background: var(--sign); color: var(--on-sign); font: 700 44px/1 var(--display); letter-spacing: .02em; }
.route__body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.route__name { display: flex; align-items: center; gap: 10px; }
.route__code { font: 700 12px/1 var(--display); padding: 5px 7px; border-radius: 6px; border: 1.5px solid currentColor; }
.route__cities { color: var(--muted); font-size: 15px; }
.route__more { margin-top: 4px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.route__more svg { width: 18px; height: 18px; transition: transform .15s; }
.route:hover .route__more svg { transform: translateX(3px); }
@media (max-width: 960px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .routes > .route, .routes--5 > .route:nth-child(-n+2), .routes--4 > .route { grid-column: span 1; } .routes--5 > .route:first-child { grid-column: span 2; } .routes .route__img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .routes { grid-template-columns: 1fr; } .routes > .route, .routes--5 > .route:first-child { grid-column: auto; } }

/* Як це працює — реальна послідовність */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sign); color: var(--on-sign); font: 700 16px/1 var(--display); margin-bottom: 8px; }
.steps p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Автопарк */
.fleet { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.fleet__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fleet__photos img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
.fleet__photos .tall { grid-row: span 2; }
.fleet__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.fleet__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.fleet__list svg { width: 24px; height: 24px; color: var(--ink); background: var(--sign); border-radius: 7px; padding: 3px; }
.fleet__list span { color: var(--muted); display: block; font-size: 15px; }
@media (max-width: 880px) { .fleet { grid-template-columns: 1fr; } }

/* Відгуки */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.review__stars { color: var(--sign-deep); letter-spacing: 2px; font-size: 18px; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.review__route { color: var(--muted); font-size: 14px; }
.reviews__foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 65ch; }

/* Контакти */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.contact__big { font-weight: 700; font-size: 19px; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__card > a:not(.btn):not(.contact__big) { font-weight: 600; }
.contact__card .muted { color: var(--muted); font-size: 15px; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* Футер */
.footer { background: #16181B; color: #D9D9D4; padding-block: 56px 120px; font-size: 15px; }
.footer a { color: #D9D9D4; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: grid; gap: 10px; align-content: start; }
.footer__phone { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.footer__cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer__also { margin-top: 32px; color: #8E949B; font-size: 14px; max-width: 90ch; }
.footer__also a { color: #B8BCC1; text-decoration: underline; text-decoration-color: #4A4F55; }
.footer h2 { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8E949B; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; }
.footer__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid #2B2F34; color: #8E949B; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 961px) { .footer { padding-bottom: 40px; } }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Нижня панель на телефоні */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(22 24 27 / .08); }
.actionbar .btn { flex: 1; min-height: 50px; padding-inline: 10px; font-size: 15px; }
.actionbar .btn--ghost { flex: 0 0 auto; }
@media (max-width: 960px) { .actionbar { display: flex; } body { padding-bottom: 72px; } }

/* Сторінка напрямку */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fact strong { font-size: 17px; }
@media (max-width: 560px) { .facts { gap: 8px; } .fact { padding: 10px; min-width: 0; } .fact strong { font-size: 14px; overflow-wrap: anywhere; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; list-style: none; margin: 0; padding: 0; }
.included li { display: flex; gap: 10px; align-items: center; }
.included svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.cities a { gap: 6px; text-decoration: none; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.cities a:hover { border-color: var(--ink); }

.cities a svg { width: 16px; height: 16px; color: var(--muted); }
.cities--plain a { font-size: 14px; min-height: 40px; padding: 8px 12px; }

/* Службові */
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--sign); color: var(--on-sign); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 16px; }
.muted { color: var(--muted); }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.h3-size { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px; }
.subhead { margin: 28px 0 12px; font-size: 17px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

/* Соцмережі */
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.socials a:hover { border-color: var(--ink); }
.socials svg { width: 22px; height: 22px; }
.footer .socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.socials--footer a { background: #202327; border-color: #33373C; color: #fff; }
.socials--footer a:hover { border-color: #fff; text-decoration: none; }
.socials--menu { margin-top: 16px; }
.socials--labeled { display: grid; grid-template-columns: 1fr 1fr; }
.socials--labeled a { width: auto; display: flex; justify-content: flex-start; gap: 10px; padding: 0 12px; font-weight: 600; text-decoration: none; }
.socials--labeled a::after { content: attr(aria-label); }

/* Меню на телефоні */
.mobile-menu__label { margin: 12px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-menu__routes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mobile-menu__routes a { font-size: 16px; }
.mobile-menu .btn svg { width: 20px; height: 20px; }

/* Популярні маршрути */
.popular { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.popular a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; }
.popular a:hover { border-color: var(--ink); }
.popular svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
@media (max-width: 880px) { .popular { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .popular { grid-template-columns: 1fr; } }

/* Текст для SEO */
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--ink); font-weight: 600; }
.article { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.article__aside { display: grid; gap: 16px; }
.article__photo { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 880px) { .article { grid-template-columns: 1fr; } }

/* Полегшена сторінка міста */
.hero--lite { padding-block: clamp(24px, 4vw, 48px); }
.lite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.lite__copy { display: grid; gap: 16px; }
@media (max-width: 880px) { .lite { grid-template-columns: 1fr; } }
.pill--ok { justify-self: start; }
.dest { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.dest__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.dest__item:hover { border-color: var(--ink); }
.dest__item > span:nth-child(2) { display: grid; gap: 2px; }
.dest__item .muted { font-size: 14px; }
.dest__item svg { width: 18px; height: 18px; color: var(--muted); }
