/* =========================================================
   ALO BUS — пасажирські перевезення Україна — Польща
   Спільні стилі для всіх сторінок
   ========================================================= */

:root {
  --navy-950: #081126;
  --navy-900: #0c1834;
  --navy-800: #13244d;
  --navy-700: #1d3366;
  --sun: #ffc533;
  --sun-strong: #f2b000;
  --sun-soft: #fff4d4;
  --bg: #f6f4ef;
  --ink: #111a30;
  --muted: #5a6378;
  --line: #e7e3d9;
  --line-dark: rgba(255, 255, 255, .12);
  --viber: #7360f2;
  --telegram: #229ed9;
  --whatsapp: #1fb855;
  --np-red: #da291c;
  --danger-soft: #fff4f2;
  --danger-line: #f5d7d2;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(17, 26, 48, .06);
  --shadow: 0 1px 2px rgba(17, 26, 48, .05), 0 22px 44px -22px rgba(17, 26, 48, .28);
  --font-head: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ---------- Прапори ---------- */
.flag {
  display: inline-block;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
  flex-shrink: 0;
  vertical-align: middle;
}
.flag-ua { background: linear-gradient(#0057b7 50%, #ffd700 50%); }
.flag-pl { background: linear-gradient(#ffffff 50%, #dc143c 50%); }
.flag-de { background: linear-gradient(#000000 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 19px; height: 19px; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-viber { background: var(--viber); color: #fff; box-shadow: 0 12px 26px -12px rgba(115, 96, 242, .9); }
.btn-viber:hover { background: #6450ee; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 38, .92);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--sun);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.04em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: .03em; }
.logo-text small { margin-top: 4px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--navy-900); background: var(--sun); }
.nav-extra,
.mobile-bar,
.swipe-hint { display: none; }

/* ---------- Вікно вибору знизу (дзвінок / WhatsApp) ---------- */
/* fixed, щоб при натисканні сторінка не прокручувалась до прихованого перемикача */
.sheet-toggle { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sheet { position: fixed; inset: 0; z-index: 120; display: none; }
#call-toggle:checked ~ .sheet-call,
#wa-toggle:checked ~ .sheet-wa { display: block; }
body:has(.sheet-toggle:checked) { overflow: hidden; }
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 38, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer;
  animation: fade-in .2s ease;
}
.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin-inline: auto;
  padding: 10px 16px 20px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .45);
  animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1);
}
.sheet-handle { justify-self: center; width: 40px; height: 4px; margin-bottom: 4px; border-radius: 2px; background: var(--line); }
.sheet-panel h3 { margin: 4px 4px 6px; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.sheet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform .15s;
}
.sheet-option:active { transform: scale(.98); }
.sheet-option .flag { width: 28px; height: 19px; border-radius: 4px; }
.sheet-option small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sheet-option b { font-size: 18px; font-weight: 800; }
.sheet-option .round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy-900);
  flex-shrink: 0;
}
.sheet-wa .sheet-option .round { background: var(--whatsapp); color: #fff; }
.sheet-cancel {
  display: grid;
  place-items: center;
  height: 50px;
  border-radius: 14px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  cursor: pointer;
}
.burger span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  margin: -1px 0 0 -10px;
  border-radius: 2px;
  background: #fff;
  transition: background .2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: top .25s, transform .25s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-toggle:checked + .burger span { background: transparent; }
.nav-toggle:checked + .burger span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Головний банер ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(255, 197, 51, .2), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(47, 107, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-areas:
    "copy visual"
    "contacts visual";
  gap: 0 64px;
  align-items: center;
  padding: 72px 0 128px;
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-visual { grid-area: visual; }
.hero-contacts { grid-area: contacts; align-self: start; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.eyebrow .flag { width: 18px; height: 12px; }
.hero h1 {
  margin: 22px 0 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.hero h1 .accent { color: var(--sun); }
.lead { max-width: 540px; font-size: 18px; color: rgba(255, 255, 255, .74); }

.contact-cards { display: grid; gap: 12px; max-width: 620px; margin-top: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
}
.person { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  flex-shrink: 0;
}
.person-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.person-name .flag { width: 18px; height: 12px; }
.person-phone { display: block; font-size: 18px; font-weight: 800; letter-spacing: .01em; }

.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, border-color .2s;
}
.msg .icon { width: 19px; height: 19px; }
.msg-telegram .icon { color: #5cc8f5; }
.msg-whatsapp .icon { color: #4fe08a; }
.msg-telegram:hover { background: var(--telegram); border-color: var(--telegram); }
.msg-whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); }
.msg:hover .icon { color: #fff; }

.viber-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, rgba(115, 96, 242, .38), rgba(115, 96, 242, .12));
  border: 1px solid rgba(169, 155, 255, .35);
  color: #fff;
  transition: background .2s, transform .15s;
}
.viber-group:hover { background: var(--viber); }
.vg-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--viber);
  flex-shrink: 0;
}
.vg-icon .icon { width: 24px; height: 24px; }
.viber-group b { display: block; font-size: 16px; font-weight: 800; }
.viber-group small { display: block; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.vg-arrow { width: 20px; height: 20px; margin-left: auto; color: #c9c0ff; transition: transform .2s; }
.viber-group:hover .vg-arrow { color: #fff; transform: translateX(3px); }

.socials { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.socials-label { margin-right: 6px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.social:hover { background: var(--sun); border-color: var(--sun); color: var(--navy-900); }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0 16px 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.hero-photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo { background: var(--navy-800) url("../img/hero-sprinter-poster.jpg") center / cover no-repeat; }
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
}
.float-badge .badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sun-soft);
}
.float-badge small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.float-badge b { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.badge-top { top: 34px; left: -40px; }
.badge-bottom { right: -28px; bottom: 44px; }

/* ---------- Переваги ---------- */
.perks-wrap { position: relative; z-index: 2; margin-top: -52px; }
.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.perks li { display: flex; align-items: center; gap: 16px; padding: 24px 26px; }
.perks li + li { border-left: 1px dashed var(--line); }
.perks b { display: block; font-size: 16px; font-weight: 800; line-height: 1.3; }
.perks li > div > span { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Графік на тиждень ---------- */
.schedule-table { padding: 6px 28px; }
.st-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.st-row:last-child { border-bottom: 0; }
.st-label { display: flex; align-items: center; gap: 16px; }
.st-label .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.st-label .icon-badge .icon { width: 24px; height: 24px; }
.st-label .icon-badge .flag { width: 26px; height: 18px; border-radius: 4px; }
.st-label b { display: block; font-size: 17px; font-weight: 800; }
.st-label small { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--muted); }

.route-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--sun-soft);
  border: 1px solid #f6e2a6;
  font-size: 15px;
  font-weight: 600;
}
.route-note .icon { width: 20px; height: 20px; margin-top: 2px; color: #b07d00; }
.route-note b { font-weight: 800; }

/* ---------- Секції ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: #fff; border-block: 1px solid var(--line); }
.pt-0 { padding-top: 0; }
.card-foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--sun-strong); }
.h2 {
  margin-top: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.02em;
}
.section-head p { max-width: 460px; color: var(--muted); }

/* ---------- Картки напрямків ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.action-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.action-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.action-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sun-soft);
  color: var(--navy-800);
  flex-shrink: 0;
}
.icon-badge .icon { width: 26px; height: 26px; }
.direction { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--muted); }
.direction .icon { width: 14px; height: 14px; }
.action-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -.01em; }
.action-card p { color: var(--muted); }
.action-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 14.5px;
  font-weight: 700;
}
.action-meta span { display: flex; align-items: center; gap: 9px; }
.action-meta .icon { width: 18px; height: 18px; color: var(--sun-strong); }
.action-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; color: var(--navy-800); }
.action-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.action-card:hover .action-link .icon { transform: translateX(4px); }

.action-card.is-dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.action-card.is-dark p { color: rgba(255, 255, 255, .68); }
.action-card.is-dark .icon-badge { background: var(--sun); color: var(--navy-900); }
.action-card.is-dark .direction { color: rgba(255, 255, 255, .6); }
.action-card.is-dark .action-meta { border-color: rgba(255, 255, 255, .16); }
.action-card.is-dark .action-link { color: var(--sun); }

/* ---------- Міста ---------- */
.cities-inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.cities-inner p { margin-top: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.chip .flag { width: 18px; height: 12px; }
.chip.is-accent { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Галерея ---------- */
/* п'ять вертикальних кадрів в один ряд: бус, салон, бус, салон, бус */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery .photo img { aspect-ratio: 3 / 4; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #d9d6ce; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 17, 38, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Заклик до дії ---------- */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--sun);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, .22);
  pointer-events: none;
}
.cta-band .h2 { margin-top: 0; color: var(--navy-900); }
.cta-band p { margin-top: 12px; font-weight: 600; color: rgba(12, 24, 52, .72); }
.cta-phones { position: relative; z-index: 1; display: grid; gap: 12px; }
.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: var(--navy-900);
  color: #fff;
  transition: transform .15s;
}
.cta-phone:hover { transform: translateY(-2px); }
.cta-phone small { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.cta-phone small .flag { width: 18px; height: 12px; }
.cta-phone b { font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.cta-phone .round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy-900);
}

/* ---------- Банер підсторінок ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  color: #fff;
  background:
    radial-gradient(800px 420px at 92% -20%, rgba(255, 197, 51, .2), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.page-hero .container { position: relative; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.crumbs a:hover { color: #fff; }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -.025em;
}
.page-hero p { max-width: 640px; margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .72); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  font-size: 14px;
  font-weight: 700;
}
.tag .flag { width: 18px; height: 12px; }
.tag .icon { width: 17px; height: 17px; color: var(--sun); }

/* ---------- Загальна картка ---------- */
.card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.card-title h2,
.card-title h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -.01em; }
.card-title small { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Дні тижня ---------- */
.week { display: flex; flex-wrap: wrap; gap: 6px; }
.day {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: #9aa0ae;
}
.day.on { background: var(--navy-900); border-color: var(--navy-900); color: var(--sun); }

/* ---------- Про нас ---------- */
.about-grid { display: grid; grid-template-columns: 440px 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo .photo { border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about-photo .photo img { aspect-ratio: 5 / 6; }
.about-text .big { margin-top: 20px; font-size: 21px; line-height: 1.55; font-weight: 600; }
.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.info-row.wide { grid-column: 1 / -1; }
.info-row .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.info-row .icon-badge .icon { width: 22px; height: 22px; }
.info-row small { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.info-row b { font-size: 16.5px; font-weight: 800; }

.routes-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.route-card .card-title .flag { width: 34px; height: 23px; border-radius: 5px; }
.route-lead { display: grid; gap: 14px; margin-bottom: 22px; }
.route-lead p { font-weight: 600; }
.city-list { columns: 2; column-gap: 28px; }
.city-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  break-inside: avoid;
  font-weight: 700;
}
.city-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun-strong);
  box-shadow: 0 0 0 4px var(--sun-soft);
  flex-shrink: 0;
}
.city-list .flag { width: 18px; height: 12px; margin-left: auto; }
.route-card .photo { margin: -8px -8px 24px; border-radius: 18px; }
.route-card .photo img { aspect-ratio: 19 / 10; }

/* ---------- Доставка посилок ---------- */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.np-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--np-red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -10px rgba(218, 41, 28, .8);
}
.details-list { display: grid; }
.details-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.details-row:last-child { border-bottom: 0; padding-bottom: 0; }
.details-row .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--navy-800);
}
.details-row small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.details-row b { font-size: 16.5px; font-weight: 800; }
.details-row span { display: block; color: var(--muted); font-weight: 600; }

.tariffs { display: grid; gap: 12px; }
.tariff {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.tariff-label { font-size: 16px; font-weight: 700; line-height: 1.4; }
.tariff-label small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tariff.is-dark .tariff-label small { color: rgba(255, 255, 255, .65); }
.tariffs-title { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.parcel-card { display: flex; flex-direction: column; }
.parcel-card .tariffs { margin-top: auto; padding-top: 24px; }
.country-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
  box-shadow: 0 10px 22px -12px rgba(220, 20, 60, .55);
}
.country-badge .flag { width: 34px; height: 23px; border-radius: 5px; }
.tariff .price { font-family: var(--font-head); font-weight: 600; font-size: 28px; line-height: 1; color: var(--navy-900); white-space: nowrap; }
.tariff .price small { margin-left: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 800; color: var(--muted); }
.tariff.is-dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tariff.is-dark .price { color: var(--sun); }
.tariff.is-dark .price small { color: rgba(255, 255, 255, .65); }

.accordion { display: grid; gap: 12px; }
.acc {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .2s, border-color .2s;
}
.acc[open] { border-color: transparent; box-shadow: var(--shadow); }
.acc summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 800;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon-badge { width: 48px; height: 48px; border-radius: 14px; }
.acc summary .icon-badge .icon { width: 24px; height: 24px; }
.acc summary .icon-badge.is-red { background: var(--danger-soft); color: #c4291c; }
.toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  transition: background .2s;
}
.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform .3s;
}
.toggle::after { transform: rotate(90deg); }
.acc[open] .toggle { background: var(--sun); }
.acc[open] .toggle::after { transform: rotate(0deg); }
.acc-body { padding: 4px 24px 26px 86px; }
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc-sub { padding: 18px 20px; border-radius: var(--radius); background: var(--bg); }
.acc-sub h4 { margin-bottom: 10px; font-size: 15px; font-weight: 800; }

.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1834' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.forbidden { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.forbidden li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--danger-soft);
  border: 1px solid var(--danger-line);
  font-weight: 800;
  line-height: 1.3;
}
.forbidden .emoji { font-size: 24px; line-height: 1; }
.forbidden small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--muted); }

.notice {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--sun-soft);
  border: 1px solid #f6e2a6;
  font-weight: 700;
}
.notice .icon { width: 22px; height: 22px; color: #b07d00; margin-top: 1px; }
.notice-video > div { display: grid; gap: 12px; }

/* ---------- Перегляд фото на весь екран ---------- */
.zoomable { cursor: zoom-in; }
.zoomable::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(8, 17, 38, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h4v4'/%3E%3Cpath d='M14 10l6 -6'/%3E%3Cpath d='M8 20h-4v-4'/%3E%3Cpath d='M4 20l6 -6'/%3E%3C/svg%3E") center / 16px no-repeat;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform .2s, background-color .2s;
}
.zoomable:hover::before { transform: scale(1.1); background-color: rgba(8, 17, 38, .8); }
.zoomable:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 10, 24, .95);
  color: #fff;
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: fade-in .2s ease; }
.lightbox::backdrop { background: rgba(5, 10, 24, .6); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 70px 84px 8px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); }
.lb-bar { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 16px 24px; font-size: 15px; font-weight: 700; text-align: center; }
.lb-count { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font: 400 30px/1 var(--font-body);
  cursor: pointer;
  transition: background .2s;
}
.lb-close { top: 14px; right: 14px; font-size: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { background: rgba(255, 255, 255, .24); }
.lightbox.single .lb-prev,
.lightbox.single .lb-next { display: none; }
body:has(.lightbox[open]) { overflow: hidden; }

/* ---------- Відео на сторінці «Про нас» ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 24px; }
.video-card {
  margin: 0;
  border-radius: var(--radius-xl);
  background: var(--navy-950);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; background: #000; }
.video-card figcaption { display: grid; gap: 2px; padding: 14px 18px 16px; color: #fff; }
.video-card figcaption b { font-size: 15.5px; font-weight: 800; }
.video-card figcaption span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.tiktok-cta { display: flex; justify-content: center; margin-top: 28px; }
.btn-tiktok { background: #000; color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.btn-tiktok:hover { background: #1c1c1c; }
.btn-tiktok .icon { filter: drop-shadow(1.5px 1px 0 #fe2c55) drop-shadow(-1.5px -1px 0 #25f4ee); }

/* ---------- Кнопка «Дивитись відео» і вікно з відео ---------- */
.video-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #f0d58a;
  color: var(--ink);
  transition: transform .15s, box-shadow .2s;
}
.video-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.video-btn:active { transform: scale(.98); }
.video-thumb {
  position: relative;
  width: 48px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-900);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 17, 38, .3); }
.notice .video-thumb .play .icon {
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 7px 6px 7px 8px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy-900);
}
.video-btn b { display: block; font-size: 15px; font-weight: 800; }
.video-btn small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }

.video-dialog {
  width: min(400px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
.video-dialog[open] { animation: fade-in .2s ease; }
.video-dialog::backdrop { background: rgba(8, 17, 38, .78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.vd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; font-size: 15px; }
.vd-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.vd-close:hover { background: rgba(255, 255, 255, .22); }
.video-dialog video { display: block; width: 100%; max-height: calc(100dvh - 120px); aspect-ratio: 464 / 824; background: #000; }
body:has(.video-dialog[open]) { overflow: hidden; }
.send-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.send-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg);
  font-weight: 700;
}
.send-list .icon { color: var(--navy-700); }
.muted-note { color: var(--muted); font-weight: 600; }

.schedule-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 12px; }
.week.sm { gap: 6px; }

.schedule-groups { display: grid; gap: 24px; }
.group-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.group-title .flag { width: 24px; height: 16px; border-radius: 4px; }

.pickup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pl-collect { margin-bottom: 12px; }
.pickup { padding: 18px 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.pickup-city { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; line-height: 1.3; }
.pickup-city .flag { width: 20px; height: 14px; }
.pickup-slots { display: grid; gap: 10px; }
.pickup-slots li { display: grid; gap: 4px; justify-items: start; }
.pickup-slots b {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--sun);
  font-size: 13.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pickup-slots span { font-size: 14px; font-weight: 600; color: var(--muted); }
.st-row.st-wide { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.st-row.st-wide .pickup-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.week.sm .day { width: 36px; height: 36px; border-radius: 10px; font-size: 12px; }
.schedule-row { padding: 18px 20px; border-radius: var(--radius); background: var(--bg); }
.schedule-row .label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; }
.schedule-row .label .icon { color: var(--navy-700); }
.schedule-row .value { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--muted); }

.viber-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 34px 38px;
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, #2c2172, var(--navy-900) 70%);
  color: #fff;
}
.viber-band .left { display: flex; align-items: center; gap: 18px; }
.viber-band .viber-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--viber);
  flex-shrink: 0;
}
.viber-band .viber-icon .icon { width: 30px; height: 30px; }
.viber-band h3 { font-family: var(--font-head); font-weight: 600; font-size: 22px; }
.viber-band p { margin-top: 4px; color: rgba(255, 255, 255, .68); font-weight: 600; }

/* ---------- Наші автомобілі ---------- */
.car-info { display: flex; flex-direction: column; gap: 18px; padding: 18px 12px 4px; }
.car-model { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; }
.car-model span { color: var(--sun-strong); }
.car-tags { display: flex; flex-wrap: wrap; gap: 8px; }
/* вертикальні фото: тримати в кадрі середину-низ, де бус і крісла */
.photo.focus-60 img,
.car-photos.pair .photo.focus-60 img { object-position: 50% 60%; }

/* три однакові картки: два фото поруч (бус і салон), під ними назва і мітки */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.car-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
}
.car-photos { position: relative; display: grid; height: 340px; }
.car-photos .photo { border-radius: 18px; }
.car-photos.pair { grid-template-columns: 1fr 1fr; gap: 12px; }
.car-photos.pair .photo img { object-position: 50% 70%; }
.car-card .car-info { padding: 4px 8px 8px; gap: 12px; }
.car-card .car-model { font-size: clamp(22px, 2.2vw, 27px); }

/* ---------- Маршрути ---------- */
.route-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.route-side { display: grid; gap: 24px; }
.route-extra { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 24px; align-items: stretch; }
@media (min-width: 981px) and (min-height: 700px) {
  .route-side { position: sticky; top: calc(var(--header-h) + 24px); }
}
.route-image { border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.route-image img { aspect-ratio: 19 / 10; }
.days-card .card-title { margin-bottom: 18px; }
.days-card .week { margin-bottom: 18px; }

.timeline { position: relative; display: grid; }
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 120px 28px 1fr;
  align-items: center;
  min-height: 56px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 133px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #d8d3c6 0 6px, transparent 6px 11px);
}
.timeline li:first-child::before { top: 50%; }
.timeline li:last-child::before { bottom: 50%; }
.timeline .time { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.timeline .dot {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sun-strong);
}
.timeline .city { padding-left: 12px; font-size: 16.5px; font-weight: 700; }
.timeline li:first-child .dot,
.timeline li:last-child .dot { background: var(--sun-strong); box-shadow: 0 0 0 5px var(--sun-soft); }
.timeline li:nth-child(even) .city { color: var(--ink); }

.arrival { display: flex; flex-wrap: wrap; gap: 8px; }

.other-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .2s, transform .2s;
}
.other-route:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.other-route small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.other-route b { font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.other-route .round {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--navy-900);
  flex-shrink: 0;
}

/* ---------- Підвал ---------- */
.site-footer { padding: 64px 0 28px; background: var(--navy-950); color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 15px; }
.footer-brand .logo { color: #fff; }
.footer-brand .socials { margin-top: 22px; }
.site-footer h4 { margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-links { display: grid; gap: 10px; font-weight: 600; font-size: 15px; }
.footer-links a:hover { color: var(--sun); }
.footer-contacts { display: grid; gap: 14px; }
.footer-contacts li { display: flex; align-items: center; gap: 12px; }
.footer-contacts small { display: block; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .5); }
.footer-contacts a { font-size: 16px; font-weight: 800; color: #fff; }
.footer-schedule { display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.footer-schedule b { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .45);
}

/* =========================================================
   Адаптивність
   ========================================================= */
@media (max-width: 1240px) {
  .badge-bottom { right: -12px; }
}

@media (max-width: 1120px) {
  .cars-grid { grid-template-columns: 1fr 1fr; }
  .burger { display: block; }
  /* меню на весь екран (шапка з blur стає контейнером для fixed, тому висота задана явно) */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 20px 16px 28px;
    background: var(--navy-950);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line-dark);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 18px;
    color: #fff;
  }
  .nav > a::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .55;
  }
  .nav > a[aria-current="page"] { background: var(--sun); border-color: var(--sun); color: var(--navy-900); }
  .nav-toggle:checked ~ .nav { display: flex; animation: menu-in .25s ease; }
  .nav-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
  .nav .nav-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
  }
  .nav .nav-phone small { display: block; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .55); }
  .nav .nav-phone .flag { width: 26px; height: 18px; border-radius: 4px; }
  body:has(.nav-toggle:checked) { overflow: hidden; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "visual" "contacts";
    gap: 40px 0;
    padding: 48px 0 104px;
  }
  .hero-copy { align-self: auto; }
  .contact-cards { margin-top: 0; }
  .perks { grid-template-columns: 1fr; }
  .perks li + li { border-left: 0; border-top: 1px dashed var(--line); }
  .hero-visual { width: min(440px, 100%); margin-inline: auto; }
  .badge-top { left: -16px; }
  .badge-bottom { right: -12px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cities-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { width: min(440px, 100%); }
  .routes-grid,
  .delivery-grid,
  .route-layout,
  .route-extra { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .logo-text small { display: none; }
  .lead { font-size: 16.5px; }
  .hero-inner { gap: 28px 0; padding: 36px 0 96px; }
  .hero h1 { margin: 18px 0 14px; font-size: clamp(26px, 8.6vw, 34px); }
  .eyebrow { font-size: 12px; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .contact-card { flex-direction: column; align-items: stretch; }
  .messengers { flex-wrap: nowrap; }
  .messengers .msg { flex: 1; min-width: 0; padding: 0 4px; gap: 5px; font-size: 12.5px; }
  .messengers .msg .icon { width: 17px; height: 17px; }
  .socials { margin-top: 18px; }

  /* гортання вбік пальцем */
  .m-scroll {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { flex: 0 0 84%; scroll-snap-align: start; }
  .gallery.m-scroll > figure { flex-basis: 62%; }
  .swipe-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
  .swipe-hint .icon { width: 16px; height: 16px; animation: nudge 1.4s ease-in-out infinite; }
  .hero-tags {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hero-tags::-webkit-scrollbar { display: none; }
  .tag { flex-shrink: 0; }
  .tiktok-cta .btn { width: 100%; height: auto; min-height: 52px; padding: 12px 18px; white-space: normal; text-align: center; }
  /* перегляд фото на телефоні: стрілки внизу, фото на всю ширину */
  .lb-stage { padding: 64px 10px 8px; }
  .lb-bar { min-height: 92px; padding: 12px 76px 24px; font-size: 14px; flex-direction: column; gap: 4px; }
  .lb-prev,
  .lb-next { top: auto; bottom: 24px; transform: none; width: 48px; height: 48px; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
  .zoomable::before { width: 30px; height: 30px; background-size: 14px; }
  .page-hero { padding: 36px 0 44px; }
  .page-hero p { font-size: 16.5px; }
  .chip { padding: 7px 12px; font-size: 13.5px; }

  /* нижня панель швидкого зв’язку */
  .mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(8, 17, 38, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid var(--line-dark);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  }
  .mb-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border-radius: 14px;
    background: var(--sun);
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 800;
  }
  .mb-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; }
  .mb-call,
  .mb-icon { cursor: pointer; }
  .mb-icon .icon { width: 22px; height: 22px; }
  .mb-viber { background: var(--viber); }
  .mb-telegram { background: var(--telegram); }
  .mb-whatsapp { background: var(--whatsapp); }
  body:has(.nav-toggle:checked) .mobile-bar { display: none; }
  .site-footer { padding-bottom: 110px; }

  /* відгук на дотик */
  a, button, label, summary { -webkit-tap-highlight-color: transparent; }
  .btn:active,
  .msg:active,
  .action-card:active,
  .cta-phone:active,
  .other-route:active,
  .social:active,
  .mb-call:active,
  .mb-icon:active { transform: scale(.97); }
  .float-badge { padding: 10px 12px 10px 10px; }
  .float-badge .badge-icon { width: 36px; height: 36px; }
  .badge-top { top: 18px; left: -8px; }
  .badge-bottom { right: -8px; bottom: 24px; }
  .card { padding: 22px; }
  .cta-band { padding: 28px 22px; }
  .info-list { grid-template-columns: 1fr; }
  .city-list { columns: 1; }
  .tariff { grid-template-columns: 1fr; gap: 8px; }
  .acc summary { padding: 16px; gap: 12px; font-size: 16px; }
  .acc summary .icon-badge { width: 42px; height: 42px; }
  .acc-cols,
  .schedule-rows,
  .send-list { grid-template-columns: 1fr; }
  .schedule-table { padding: 4px 20px; }
  .perks li { padding: 18px 20px; }
  .week,
  .week.sm { display: grid; grid-template-columns: repeat(7, minmax(0, 40px)); gap: 5px; }
  .acc-body { padding: 0 12px 18px; }
  .schedule-row { padding: 16px 14px; }
  .day,
  .week.sm .day { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; font-size: 12px; }
  .route-layout > * { min-width: 0; }
  .timeline .city { overflow-wrap: anywhere; }
  .forbidden { grid-template-columns: 1fr 1fr; }
  .viber-band { padding: 26px 22px; }
  .viber-band .left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .viber-band h3 { font-size: 19px; }
  .viber-band .btn { width: 100%; }
  .car-photos { height: auto; }
  .car-photos .photo img { aspect-ratio: 16 / 10; }
  .cars-grid { grid-template-columns: 1fr; }
  .car-photos.pair .photo img { aspect-ratio: 3 / 4; }
  .timeline li { grid-template-columns: 104px 28px 1fr; }
  .timeline li::before { left: 117px; }
  .timeline .time { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 420px) {
  .forbidden { grid-template-columns: 1fr; }
}

/* зовсім вузькі телефони: месенджери лише іконками */
@media (max-width: 350px) {
  .messengers .msg { gap: 0; font-size: 0; }
}

@media (max-width: 380px) {
  .mb-icon { width: 44px; height: 44px; }
  .mb-call { font-size: 14px; }
  .tiktok-cta .btn { font-size: 14px; }
  .card { padding: 18px 16px; }
  .timeline li { grid-template-columns: 96px 22px 1fr; }
  .timeline li::before { left: 106px; }
  .timeline .time { font-size: 14px; }
  .timeline .city { padding-left: 8px; font-size: 15px; }
}

@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  /* без руху: замість відео лишається обкладинка (фон блоку) */
  .hero-photo video { display: none; }
}
