/* ---------- tokens ---------- */
:root {
  /* Night, chrome and xenon light: black base, midnight blue depth, polished chrome for
     the main actions, a cold xenon-blue glow for highlights. */
  --ink: #07090d;        /* black with a cold tint */
  --ink-2: #0c1220;      /* midnight blue surface */
  --ink-3: #142036;      /* inputs, hover */
  --line: #1e2b42;       /* hairlines */
  --ivory: #eaf0f8;      /* text: cold white */
  --muted: #8d9ab1;      /* secondary text */
  --accent: #7fb2ff;     /* xenon blue */
  --accent-hi: #a9cbff;
  --glow: rgba(90, 150, 255, .55);
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe4eb 38%, #a7b0bd 52%, #cfd5de 68%, #f3f5f8 100%);
  --chrome-text: linear-gradient(180deg, #ffffff 0%, #e6eaf0 40%, #9aa4b3 58%, #dde2e9 78%, #ffffff 100%);
  --on-chrome: #0a0e16;
  --sea: #0a1a35;
  --land: #0b111c;

  --display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --s-1: .875rem;   /* 14 */
  --s0: 1.0625rem;  /* 17 body */
  --s1: 1.25rem;    /* 20 */
  --s2: 1.625rem;   /* 26 */
  --s3: 2.125rem;   /* 34 */
  --s4: 2.875rem;   /* 46 */
  --s5: 3.75rem;    /* 60 */

  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font: 400 var(--s0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 45; background: var(--ink); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--chrome); color: var(--on-chrome); padding: 8px 14px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  background: var(--chrome); color: var(--on-chrome);
  border: 1px solid #c9d0da; border-radius: 6px;
  font: 500 var(--s0)/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: filter .2s, box-shadow .2s, background-color .2s, border-color .2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 30px -12px var(--glow);
}
.btn:hover { filter: brightness(1.07); box-shadow: inset 0 1px 0 #fff, 0 10px 40px -10px var(--glow); }
.btn-ghost { background: transparent; color: var(--ivory); border-color: #33445f; box-shadow: none; }
.btn-ghost:hover { background: var(--ink-3); border-color: var(--accent); filter: none; box-shadow: 0 0 0 1px var(--accent), 0 8px 30px -14px var(--glow); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--s-1); }
.btn-wide { width: 100%; }
.link-btn { color: var(--accent); text-decoration: none; font-weight: 500; white-space: nowrap; border-bottom: 1px solid transparent; }
.link-btn:hover { border-bottom-color: currentColor; }

/* ---------- draft ---------- */
.draft-bar { background: #10203f; color: #c6d8f7; font-size: var(--s-1); padding: 8px var(--gutter); text-align: center; }
.ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; background: var(--ink-2); border: 1px solid var(--line); padding: 20px; color: var(--muted); }
.ph-hint { font-size: var(--s-1); line-height: 1.45; }
.draft-on .ph { border-style: dashed; }
.ph-text { color: var(--muted); border-left: 2px dashed var(--line); padding-left: 16px; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(7, 9, 13, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: .04em; background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; letter-spacing: .01em; margin: 0; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: var(--s-1); transition: color .2s; }
.nav a:hover { color: var(--ivory); }
.top-act { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 2px; font-size: var(--s-1); }
.langs a, .lang-cur { padding: 4px 8px; text-decoration: none; border-radius: 3px; }
.langs a { color: var(--muted); }
.langs a:hover { color: var(--ivory); }
.lang-cur { color: var(--ivory); background: var(--ink-3); }
.top-phone { text-decoration: none; font-weight: 500; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ivory); transition: transform .25s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero: car first, full width; text below ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); }
/* looping video of the car on the road, faded into the page at the edges */
.hero-video { position: relative; overflow: hidden; background: #000; }
.hero-video video { display: block; width: 100%; aspect-ratio: 21 / 9; max-height: 58vh; min-height: 280px; object-fit: cover; object-position: 50% 42%; filter: saturate(.95) contrast(1.04); }
.hero-video::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 78%, var(--ink) 100%), linear-gradient(90deg, rgba(7, 9, 13, .55) 0%, transparent 18%, transparent 82%, rgba(7, 9, 13, .55) 100%); }

.hero-in { position: relative; z-index: 2; display: grid; gap: 28px; padding-block: 8px 32px; }
.hero h1 { font-size: clamp(1.875rem, 4.4vw, 3.875rem); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; max-width: 18ch;
  background: var(--chrome-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 18px rgba(80, 140, 255, .25)); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.hero .hero-lead { color: #c3cddc; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 46ch; margin: 0; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.125rem; }
.hero .btn-ghost { min-height: 58px; }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 40px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 3px var(--glow); }
.hero-cities { display: flex; flex-wrap: wrap; gap: 4px 20px; font: 500 .9375rem var(--display); letter-spacing: -.01em; }
.hero-cities a { color: var(--muted); text-decoration: none; transition: color .2s; }
.hero-cities a:hover { color: var(--accent-hi); }

/* ---------- planner (map) ---------- */
.planner h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
.planner .hero-lead { color: var(--muted); font-size: var(--s1); max-width: 40ch; margin: 18px 0 0; line-height: 1.55; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 12fr) minmax(0, 11fr); grid-template-areas: "title map" "side map"; column-gap: clamp(32px, 5vw, 72px); row-gap: 40px; align-items: start; }
.hero-title { grid-area: title; }
.planner-side { grid-area: side; }
.map-frame { grid-area: map; position: sticky; top: 92px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.map-frame { border: 1px solid var(--line); background: var(--land); aspect-ratio: 777 / 890; overflow: hidden; }
.map { width: 100%; height: 100%; display: block; }
.map .land { fill: var(--land); }
.map .sea { fill: var(--sea); }
.map .river { fill: none; stroke: #1f3d6e; stroke-width: 1.4; }
.map .country { fill: #4f5d76; font: 400 14px var(--sans); letter-spacing: .04em; }
.map .sea-name { fill: #3d67a8; font: 400 16px var(--sans); letter-spacing: .04em; }
.map .route { fill: none; stroke: #2c3c58; stroke-width: 1.3; stroke-dasharray: .006 .008; stroke-linecap: round; transition: stroke .3s; }
.map .route.is-active { stroke: var(--accent); stroke-width: 2.8; stroke-dasharray: 1 0; filter: drop-shadow(0 0 6px var(--glow)); }
.map .route.is-drawing { animation: draw 1.1s cubic-bezier(.4, 0, .2, 1) both; stroke-dasharray: 1 1; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.map .route.is-drawing.is-reverse { animation-name: drawBack; }
@keyframes drawBack { from { stroke-dashoffset: -1; } to { stroke-dashoffset: 0; } }
.map .city circle { fill: var(--ink); stroke: #7d8aa3; stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.map .city text { fill: var(--muted); font: 500 13px var(--sans); }
.map .city.is-active circle { fill: var(--accent); stroke: var(--accent); }
.map .city.is-active text { fill: var(--ivory); }
.map .origin circle { fill: var(--ink); stroke: var(--ivory); stroke-width: 2; transition: fill .3s; }
.map .origin text { fill: var(--muted); font: 500 14px var(--display); transition: fill .3s; }
.map .origin.is-active circle { fill: var(--ivory); }
.map .origin.is-active text { fill: var(--ivory); }

.pick { font-size: var(--s-1); color: var(--muted); margin-bottom: 14px; }
.chip-group { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.chip-group:last-child { border-bottom: 1px solid var(--line); }
.chip-country { font-size: var(--s-1); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 400 var(--s-1)/1 var(--sans); color: var(--ivory); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--muted); }
.chip.is-active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.trip { margin-top: 30px; }
.trip-route { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.375rem, 2.5vw, 2rem); line-height: 1.15; margin: 0; }
.trip-dash { width: 40px; height: 1px; background: var(--accent); flex: none; }
.swap { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--accent); cursor: pointer; transition: border-color .2s, transform .3s; }
.swap:hover { border-color: var(--accent); transform: rotate(180deg); }
.swap svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trip-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 20px 0 0; }
.trip-facts dt { font-size: var(--s-1); color: var(--muted); }
.trip-facts dd { margin: 2px 0 0; font-size: var(--s1); font-weight: 500; white-space: nowrap; }
.trip-note { font-size: var(--s-1); color: var(--muted); margin-top: 14px; }
.trip-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- photo band ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(440px, 62vh, 660px); border-top: 1px solid var(--line); }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; z-index: -2; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(7, 9, 13, .96) 0%, rgba(7, 9, 13, .86) 42%, rgba(7, 9, 13, .1) 82%); }
.band-in { display: grid; justify-content: end; padding-block: 72px; }
.band-in > * { max-width: 500px; }
.band h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); text-wrap: balance; }
.band p { color: #c3cddc; margin: 20px 0 30px; font-size: var(--s1); line-height: 1.5; }
.band .btn { justify-self: start; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.sec-tone { background: var(--ink-2); }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { color: var(--muted); margin-top: 18px; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.two .sec-head { margin-bottom: 0; }
.h-sm { font-size: 1.375rem; }

/* routes table */
.rtable { width: 100%; border-collapse: collapse; }
.rtable thead th { text-align: left; font: 400 var(--s-1) var(--sans); color: var(--muted); padding: 0 16px 14px 0; }
.rtable tbody th, .rtable td { padding: 18px 16px 18px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.r-country th { font: 500 var(--s-1) var(--sans); color: var(--accent); padding-top: 34px; border-top: 0; }
.rtable tbody:first-of-type .r-country th { padding-top: 8px; }
.r-city { font: 500 1.25rem/1.25 var(--display); letter-spacing: -.01em; }
.r-price { white-space: nowrap; }
.r-price small { display: block; color: var(--muted); font-size: var(--s-1); white-space: normal; }
.r-act { text-align: right; padding-right: 0; }

/* cars */
.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.car-photo { aspect-ratio: 4 / 3; margin-bottom: 22px; overflow: hidden; background: var(--ink-2); }
.car-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-photo { position: relative; }
.car-credit { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 3px; background: rgba(7, 9, 13, .6); color: #c9d2e0; font-size: 11px; text-decoration: none; }
.car-credit:hover { color: #fff; }
.ph-car { height: 100%; }
.ph-name { font: 600 clamp(1.75rem, 3.2vw, 2.5rem)/1 var(--display); color: #22314d; position: absolute; top: 20px; left: 20px; }
.car h3 { font-size: 1.375rem; }
.car-kind { color: var(--accent); font-size: var(--s-1); margin: 6px 0 12px; }
.car > p:not(.car-kind) { color: var(--muted); }
.car-specs { display: flex; gap: 28px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.car-specs dt { font-size: var(--s-1); color: var(--muted); }
.car-specs dd { margin: 0; font-weight: 500; }

/* included */
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 80px); margin: 0; }
.incl > div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; }
.incl dt { font-weight: 500; }
.incl dd { margin: 0; color: var(--muted); }

/* driver */
.driver { max-width: 760px; }
.ph-portrait { height: 100%; }
.driver-text h2 { margin-bottom: 22px; }
.driver-name { font: 500 1.375rem var(--display); color: var(--accent); }
.driver-text p { max-width: 58ch; }

/* reviews */
.ph-wide { min-height: 180px; justify-content: center; align-items: flex-start; max-width: 760px; }
.reviews { columns: 3 300px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; background: var(--ink-2); border: 1px solid var(--line); padding: 20px; }
.review img { margin-bottom: 14px; }
.review blockquote { margin: 0 0 14px; }
.review figcaption { font-size: var(--s-1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }

/* steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--accent); }
.steps li::before { content: counter(step); display: block; font: 500 2rem/1 var(--display); color: var(--accent); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* accordion */
.accs { border-bottom: 1px solid var(--line); }
.acc { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 500; font-size: var(--s0); }
.acc summary::-webkit-details-marker { display: none; }
.acc-mark { position: relative; width: 14px; height: 14px; flex: none; }
.acc-mark::before, .acc-mark::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--accent); transition: transform .25s; }
.acc-mark::after { transform: rotate(90deg); }
.acc[open] .acc-mark::after { transform: rotate(0); }
.acc-body { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* order */
.sec-order { background: var(--ink-2); }
.order { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.order-lead { color: var(--muted); margin: 16px 0 32px; }
form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-row-3 { grid-template-columns: 1.2fr .8fr 1.2fr; }
.f { display: grid; gap: 6px; font-size: var(--s-1); color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--ink); color: var(--ivory);
  border: 1px solid var(--line); border-radius: 4px;
  font: 400 var(--s0)/1.3 var(--sans);
}
.f textarea { resize: vertical; min-height: 92px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.f input[aria-invalid="true"] { border-color: #d46a5a; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f-via { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-via legend { font-size: var(--s-1); color: var(--muted); margin-bottom: 6px; padding: 0; }
.f-via label { cursor: pointer; }
.f-via input { position: absolute; opacity: 0; pointer-events: none; }
.f-via span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--s-1); transition: background-color .2s, color .2s; }
.f-via input:checked + span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.f-via input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.f-status { margin: 0; min-height: 1.4em; font-size: var(--s0); }
.f-status.is-ok { color: #9fc79a; }
.f-status.is-err { color: #e39a8d; }
.f-note { font-size: var(--s-1); color: var(--muted); margin: 0; }
button[disabled] { opacity: .6; cursor: progress; }

.chs { list-style: none; margin: 24px 0 0; padding: 0; }
.ch { border-top: 1px solid var(--line); }
.ch:last-child { border-bottom: 1px solid var(--line); }
.ch a, .ch.is-missing { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; padding: 16px 0; text-decoration: none; align-items: center; }
.ch .i { grid-row: span 2; color: var(--accent); }
.ch-label { font-weight: 500; }
.ch-val { color: var(--muted); font-size: var(--s-1); }
.ch a:hover .ch-label { color: var(--accent-hi); }
.ch.is-missing { opacity: .55; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--muted); font-size: var(--s-1); }
.foot-in { display: grid; grid-template-columns: 2fr 3fr; gap: 24px 48px; }
.foot .logo { color: var(--ivory); margin-bottom: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; justify-content: flex-end; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ivory); }
.foot-copy { grid-column: 1 / -1; margin: 12px 0 0; }

/* mobile contact bar */
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .top-phone { display: none; }
}
@media (max-width: 900px) {
  .top-in { gap: 12px; }
  .burger { display: block; }
  .top-act .btn-sm { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: var(--s1); color: var(--ivory); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .top-act { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "title" "map" "side"; row-gap: 32px; }
  .map-frame { position: static; }
  .two, .order { grid-template-columns: 1fr; }
  .cars { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: 1fr; }
  .incl { grid-template-columns: 1fr; }

  .mbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); background: rgba(7, 9, 13, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; font-size: 12px; text-decoration: none; color: var(--ivory); }
  .mbar .i { color: var(--accent); }
  .mbar .mbar-main { background: var(--chrome); color: var(--on-chrome); }
  .mbar .mbar-main .i { color: var(--on-chrome); }
  body { padding-bottom: 64px; }
}
@media (max-width: 760px) {
  .hero-video video { aspect-ratio: 16 / 11; min-height: 0; object-position: 55% 50%; }
  .hero-in { gap: 22px; padding-top: 20px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .band { flex-direction: column; align-items: stretch; min-height: 0; }
  .band-img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .band::after { background: linear-gradient(180deg, transparent 30%, var(--ink) 58%); }
  .band-in { justify-content: start; padding-block: 0 56px; margin-top: -40px; }
}
@media (max-width: 640px) {
  .chip-group { grid-template-columns: 1fr; gap: 8px; }
  .map .city text { font-size: 20px; }
  .map .origin text { font-size: 24px; }
  .map .country, .map .sea-name { font-size: 22px; }
  .car-photo { aspect-ratio: 16 / 10; }
  .trip-facts { gap: 20px; }
  .trip-cta .btn { width: 100%; }
  .f-row, .f-row-3 { grid-template-columns: 1fr; }
  .incl > div { grid-template-columns: 1fr; gap: 4px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }

  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rtable, .rtable tbody, .rtable th, .rtable td { display: block; }
  .rtable tr { display: block; }
  .rtable tbody tr:not(.r-country) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-top: 1px solid var(--line); }
  .rtable tbody th, .rtable td { border: 0; padding: 0; }
  .r-country th { padding: 28px 0 8px; }
  .rtable tbody:first-of-type .r-country th { padding-top: 0; }
  .r-city { flex: 1 0 55%; font-size: var(--s1); }
  .r-act { order: 1; }
  .rtable td[data-l] { order: 2; color: var(--muted); font-size: var(--s-1); }
  .rtable td[data-l]::before { content: attr(data-l) ': '; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
