/* ==========================================================
   BAN Transfer — design concept
   ========================================================== */
:root {
  --ink: #0d1a2b;
  --ink-2: #15283f;
  --ink-3: #20385a;
  --paper: #f7f4ee;
  --tint: #efeae1;
  --card: #ffffff;
  --line: #e3ddd1;
  --text: #17202e;
  --muted: #5f6878;
  --accent: #ffb23f;
  --accent-ink: #2a1a00;
  --accent-deep: #e8961b;
  --sky: #8fb8ff;
  --ok: #3fbf8f;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(13,26,43,.06), 0 8px 24px -8px rgba(13,26,43,.12);
  --shadow-lg: 0 24px 60px -20px rgba(5,12,24,.55);

  --f-display: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 500 16px/1.6 var(--f-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 18px; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 15px var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px rgba(255,178,63,.7); }
.btn--accent:hover { background: #ffc061; }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.link { color: var(--accent-deep); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--accent-deep); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63,191,143,.2); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(13,26,43,.86); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.header__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px var(--f-display); letter-spacing: -.02em; color: #fff; }
.logo b { color: var(--accent); font-weight: 600; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--ink-3); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; fill: var(--accent); stroke: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.75); white-space: nowrap; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: rgba(255,255,255,.06); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; color: rgba(255,255,255,.6); font: 700 12px var(--f-body); padding: 6px 9px; border-radius: 999px; cursor: pointer; }
.lang button.is-active { background: #fff; color: var(--ink); }
/* the published pages start with links (crawlable); the script swaps them for buttons */
.lang a { color: rgba(255,255,255,.6); font: 700 12px var(--f-body); padding: 6px 9px; border-radius: 999px; text-decoration: none; }
.lang a.is-active { background: #fff; color: var(--ink); }
.lang--menu { display: none; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.08); border-radius: 10px; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: .2s; }
.burger span { top: 19px; } .burger span::before { top: -6px; left: 0; } .burger span::after { top: 6px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(143,184,255,.16), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(255,178,63,.12), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 56px 0 40px;
}
.hero::before { /* subtle dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin: 18px 0 28px; font-size: 18px; color: rgba(255,255,255,.75); max-width: 520px; }

/* Finder card */
.finder {
  background: var(--card); color: var(--text);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-lg);
  display: grid; gap: 12px; max-width: 560px;
}
.finder__route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.finder__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field {
  display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r-sm);
  background: var(--paper); border: 1.5px solid transparent; transition: border-color .15s;
  min-width: 0;
}
.field:focus-within { border-color: var(--accent); background: #fff; }
.field span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field select, .field input {
  border: 0; background: none; padding: 0; outline: none; width: 100%;
  font: 700 17px var(--f-body); color: var(--text); appearance: none; -webkit-appearance: none; cursor: pointer;
  text-overflow: ellipsis;
}
.field--sm select, .field--sm input { font-size: 15px; }
.swap { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s, border-color .15s; }
.swap:hover { border-color: var(--ink); transform: rotate(180deg); }
.swap svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }

.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cls {
  border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm);
  padding: 8px 6px; cursor: pointer; text-align: center; font: inherit; color: inherit;
  transition: border-color .15s, background .15s;
}
.cls b { display: block; font-size: 13px; }
.cls small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.cls:hover { border-color: #c9c0ae; }
.cls[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.cls[aria-checked="true"] small { color: var(--accent); }
.cls:disabled { opacity: .4; cursor: not-allowed; }

.finder__result { padding-top: 12px; border-top: 1px dashed var(--line); }

/* Booking channels */
.book { display: grid; gap: 8px; }
.book__btns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px; }
.chan {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 48px; padding: 0 10px; border-radius: 12px; text-decoration: none;
  font: 700 14px var(--f-body); color: var(--text); background: #fff; border: 1.5px solid var(--line);
  transition: border-color .15s, background .15s, transform .15s; white-space: nowrap;
}
.chan:hover { transform: translateY(-1px); }
.chan .ico { width: 18px; height: 18px; }
.chan--main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(255,178,63,.8); }
.chan--main:hover { background: #ffc061; }
.chan--viber .ico { color: #7360f2; }
.chan--tg .ico { color: #229ed9; }
.chan--call .ico { color: var(--ok); }
.chan--viber:hover { border-color: #7360f2; }
.chan--tg:hover { border-color: #229ed9; }
.chan--call:hover { border-color: var(--ok); }
.book__hint { font-size: 12px; color: var(--muted); text-align: center; }

/* "Route not listed?" strip, sits flush at the bottom of the finder card */
.finder__other {
  margin: 4px -18px -18px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border-top: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.finder__other-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.finder__other div { display: grid; font-size: 13px; color: var(--muted); line-height: 1.4; }
.finder__other b { color: var(--text); font-size: 14px; }
.finder__other-btn { margin-left: auto; flex: none; border: 0; background: none; font: 700 13px var(--f-body); color: var(--accent-deep); cursor: pointer; padding: 8px 4px; }
.finder__other-btn::after { content: " →"; }
.finder__other-btn:hover { text-decoration: underline; }
.finder.is-custom .finder__other { display: none; }
.finder.is-custom .price { font-size: 26px; }

.price { font: 700 32px var(--f-display); letter-spacing: -.03em; line-height: 1; }
.price small { font: 600 14px var(--f-body); color: var(--muted); margin-right: 4px; letter-spacing: 0; }
.price__note { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Map */
.hero__map { position: relative; aspect-ratio: 1 / .9; }
#map { width: 100%; height: 100%; overflow: visible; }
#map .rt { fill: none; stroke: rgba(143,184,255,.22); stroke-width: 2; transition: stroke .25s, stroke-width .25s, opacity .25s; }
#map .rt.is-from { stroke: rgba(255,178,63,.45); }
#map .rt.is-active { stroke: var(--accent); stroke-width: 5; stroke-dasharray: 12 9; animation: dash 1.2s linear infinite; }
#map.has-active .rt:not(.is-active):not(.is-from) { opacity: .35; }
@keyframes dash { to { stroke-dashoffset: -42; } }
#map .city circle { fill: var(--ink); stroke: var(--sky); stroke-width: 3; transition: r .2s, fill .2s; }
#map .city.is-hub circle { fill: var(--sky); stroke: rgba(143,184,255,.3); stroke-width: 10; }
#map .city.is-cp circle { fill: var(--ink); stroke: var(--ok); }
#map .city.is-on circle { fill: var(--accent); stroke: rgba(255,178,63,.35); stroke-width: 14; }
#map .city { cursor: pointer; }
#map .city text { fill: rgba(255,255,255,.72); font: 600 21px var(--f-body); paint-order: stroke; stroke: var(--ink); stroke-width: 6px; stroke-linejoin: round; }
#map .city.is-hub text { fill: #fff; font-weight: 800; font-size: 26px; }
#map .city.is-on text { fill: var(--accent); }
#map .city.is-minor text { opacity: 0; transition: opacity .2s; }
#map .city.is-minor.is-on text, #map .city.is-minor:hover text { opacity: 1; }
#map .country { fill: rgba(255,255,255,.16); font: 700 18px var(--f-body); letter-spacing: .4em; }
.map__legend { position: absolute; left: 0; bottom: 0; display: flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,.6); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg--hub { background: var(--sky); }
.lg--cp { border: 2px solid var(--ok); }

.stats {
  list-style: none; margin: 40px 0 0; padding: 22px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stats b { display: block; font: 700 30px var(--f-display); letter-spacing: -.03em; }
.stats span { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section__head > p { max-width: 420px; }

/* Routes */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar__right { display: flex; gap: 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 16px; font: 700 14px var(--f-body); color: var(--text); cursor: pointer;
}
.tab:hover { border-color: #c9c0ae; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; height: 42px; color: var(--muted); }
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; outline: 0; font: 600 14px var(--f-body); width: 160px; background: none; color: var(--text); }
.select-sm { height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; font: 600 14px var(--f-body); background: #fff; color: var(--text); cursor: pointer; }

/* one table per departure city; six price columns need the full width */
.rgroups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rcard__title { display: flex; align-items: center; gap: 6px; padding: 12px 16px; margin: 0; font: 600 13px var(--f-body); color: var(--muted); letter-spacing: 0; background: var(--ink); color: rgba(255,255,255,.65); }
.rcard__title b { font: 600 16px var(--f-display); color: #fff; letter-spacing: -.02em; }
.rtable-scroll { overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.rtable thead th { font: 700 11px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 8px 16px 6px; border-bottom: 1px solid var(--line); }
.rtable thead tr:first-child th:first-child { width: 28%; }
.rtable thead th { vertical-align: bottom; }
.rtable thead .rtable__group { text-align: center; color: var(--text); padding-bottom: 4px; }
.rtable .rtable__sub th { padding-top: 4px; }
.rtable .grp-start { border-left: 1px solid var(--line); }
.rtable .num { text-align: right; white-space: nowrap; }
.rtable .short { display: none; }
.rtable tbody th, .rtable tbody td { padding: 7px 16px; border-top: 1px solid #f2eee6; }
.rtable tbody tr:first-child th, .rtable tbody tr:first-child td { border-top: 0; }
.rtable tbody tr:hover { background: #fff8ea; }
.rtable tbody th { text-align: left; font-weight: 700; line-height: 1.3; }
.rtable td { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.rtable td.is-base { color: var(--text); font-weight: 800; }
.rtable-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.empty, .data-error { padding: 32px; text-align: center; color: var(--muted); }
.data-error { background: #fff3dc; border-radius: var(--r); color: #6b4700; text-align: left; }
.data-error code { background: #fff; padding: 2px 6px; border-radius: 4px; }

/* Fleet catalogue */
.fleet-tabs { margin-bottom: 24px; }
.fleet { display: grid; gap: 28px; }
/* class info on the left, its cars on the right */
.cat { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
.cat:first-child { padding-top: 0; border-top: 0; }
.cat__head { display: flex; flex-direction: column; align-items: flex-start; }
.cat__tag { display: inline-block; background: var(--ink); color: #fff; font: 700 11px var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.cat__head h3 { font-size: 17px; line-height: 1.25; }
.cat__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.vcar { position: relative; margin: 0; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.vcar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vcar__img { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #fbfaf7, #e9e3d8); overflow: hidden; }
.vcar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vcar:hover .vcar__img img { transform: scale(1.04); }
.vcar__zoom { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); opacity: 0; transition: opacity .2s; }
.vcar:hover .vcar__zoom, .vcar__img:focus-visible .vcar__zoom { opacity: 1; }
.vcar.no-img .vcar__img img { display: none; }
.vcar.no-img .vcar__img::after { content: attr(data-nophoto); position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 14px; }
.vcar figcaption { padding: 10px 14px 12px; display: grid; gap: 4px; }
.vcar h4 { margin: 0; font: 600 15px var(--f-display); letter-spacing: -.02em; }
.vcar__specs { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; color: var(--muted); }
.vcar__specs span { display: inline-flex; align-items: center; gap: 5px; }
.vcar__specs .ico { width: 14px; height: 14px; }
.credits { border: 0; border-radius: var(--r-lg); padding: 28px; max-width: 520px; width: calc(100% - 32px); color: var(--text); font-size: 14px; }
.credits::backdrop { background: rgba(5,12,24,.7); }
.credits h3 { margin-bottom: 6px; }
.credits p { color: var(--muted); margin-bottom: 14px; }
.credits ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.credits a { color: var(--accent-deep); }
.viber-num { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; background: var(--paper); border-radius: var(--r-sm); padding: 10px 10px 10px 16px; margin-bottom: 14px; }
.viber-num b { font: 600 18px var(--f-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.viber-num .btn { flex: none; }
.credits .viber-alt { margin: 0; }
.call-list { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 8px; }
.call-list li { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: var(--r-sm); padding: 8px 8px 8px 14px; }
.call-cc { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); min-width: 22px; }
.credits .call-num { flex: 1; font: 600 17px var(--f-display); color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; user-select: all; }
.call-copy { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.call-copy:hover { border-color: var(--ink); }
.call-copy.is-done { color: #17734f; border-color: var(--ok); }
@media (max-width: 400px) { .credits .call-num { font-size: 15px; } .credits { padding: 24px 18px; } }
.credits__close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.footer__bottom a { text-decoration: underline; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(5,12,24,.82); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r); }
.lightbox p { color: #fff; font: 600 18px var(--f-display); text-align: center; margin-top: 14px; }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; }
.svc p { color: var(--muted); font-size: 15px; }
.svc__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; margin-bottom: 6px; }
.svc__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc--wide { grid-row: span 2; background: var(--ink); color: #fff; border: 0; position: relative; overflow: hidden; }
.svc--wide::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,178,63,.12); }
.svc--wide h3 { font-size: 24px; }
.svc--wide p { color: rgba(255,255,255,.7); }
.svc--wide .svc__ico { background: var(--accent); }
.svc--wide .svc__ico svg { stroke: var(--accent-ink); }
.svc--wide .link { color: var(--accent); margin-top: 8px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid rgba(255,255,255,.06); display: grid; gap: 10px; }
.steps__n { font: 700 14px var(--f-display); color: var(--accent); }
.steps p { color: rgba(255,255,255,.65); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-grid h2 { margin-bottom: 16px; }
.faq details { background: var(--card); border-radius: var(--r); margin-bottom: 8px; border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--f-display); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-deep); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 24px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font: 600 13px var(--f-display); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__small { margin-top: 14px; max-width: 260px; }
.foot-cc { display: inline-block; min-width: 24px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: rgba(255,255,255,.45); }
#footContacts a { white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: rgba(255,255,255,.45); }

.mbar { display: none; }

/* ---------- Responsive ---------- */
/* menu collapses into the ☰ button before the (longer) RU/UA/RO labels run out of room */
@media (max-width: 1120px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; font-size: 16px; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .cat { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__map { max-width: 560px; width: 100%; margin: 0 auto; aspect-ratio: 1 / .8; }
  .finder { max-width: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc--wide { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .section { padding: 64px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .header__actions .lang, .header .js-phone { display: none; }
  .nav .lang--menu { display: flex; align-self: flex-start; margin: 8px 12px 0; }
  .nav .lang--menu button { font-size: 14px; padding: 8px 14px; }
  .hero { padding-top: 24px; }
  .lead { font-size: 16px; }
  .finder { padding: 14px; }
  .finder__route { grid-template-columns: 1fr; }
  .swap { justify-self: center; margin: -14px 0; position: relative; z-index: 1; box-shadow: var(--shadow); }
  .swap svg { transform: none; }
  .classes { grid-template-columns: repeat(2, 1fr); }
  .book__btns { grid-template-columns: repeat(3, 1fr); }
  .chan--main { grid-column: span 3; }
  .finder__other { margin: 4px -14px -14px; padding: 14px; flex-wrap: wrap; }
  .finder__other div { flex: 1; min-width: 200px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .toolbar__right { width: 100%; }
  .search { flex: 1; } .search input { width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tab { flex: none; }
  .services { grid-template-columns: 1fr; }
  .cat__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .vcar figcaption { padding: 8px 10px 10px; }
  .vcar h4 { font-size: 13px; }
  .fleet-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .svc--wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .mbar {
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mbar a { height: 48px; display: grid; place-items: center; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1.5px solid var(--line); }
  .mbar .mbar__main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
}
@media (max-width: 960px) {
}
@media (max-width: 640px) {
  .rtable .full { display: none; }
  .rtable .short { display: inline; }
  .rtable { font-size: 13px; }
  .rtable thead th { padding: 8px 8px 6px; font-size: 10px; }
  .rtable tbody th, .rtable tbody td { padding: 7px 8px; }
  .rtable thead th:first-child, .rtable tbody th { padding-left: 14px; }
  .rtable thead th:last-child, .rtable tbody td:last-child { padding-right: 14px; }
  /* the table scrolls sideways inside its card; the destination column stays put */
  .rtable { min-width: 520px; }
  /* shadow on the right edge while more columns are hidden; a card-coloured cover scrolls over it at the end */
  .rtable-scroll {
    background:
      linear-gradient(to left, var(--card) 40%, rgba(255,255,255,0)) right / 32px 100% no-repeat local,
      radial-gradient(farthest-side at 100% 50%, rgba(13,26,43,.22), rgba(13,26,43,0)) right / 14px 100% no-repeat scroll;
  }
  .rtable thead tr:first-child th:first-child { width: 120px; }
  .rtable thead tr:first-child th:first-child, .rtable tbody th { position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 1px 0 0 var(--line); }
  .rtable tbody tr:hover th { background: #fff8ea; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
