/* ==========================================================================
   Certus Car Import — main stylesheet
   Palette: asphalt ink, warm paper, sunset amber, forest green, evening sky
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0d1215;
  --ink-2: #141b1f;
  --ink-3: #1d262b;
  --ink-line: rgba(255, 255, 255, 0.1);
  --on-ink: #e9ecea;
  --on-ink-muted: rgba(233, 236, 234, 0.68);

  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --card: #ffffff;
  --text: #182024;
  --muted: #56626a;
  --line: rgba(24, 32, 36, 0.12);
  --line-strong: rgba(24, 32, 36, 0.24);

  --amber: #d8994c;
  --amber-hover: #e8ad63;
  --amber-ink: #8a5718;
  --amber-soft: #f6e6cf;
  --forest: #2d5a4a;
  --forest-ink: #24493c;
  --forest-soft: #dde8e1;
  --sky: #a9c0cf;
  /* Muted flag accents for the EU / USA direction cards */
  --eu-ink: #22416a;
  --eu-soft: #e3e9f1;
  --us-red: #983a33;
  --us-ink: #74291f;
  --us-soft: #f4e5e1;
  --danger: #b3261e;
  --success: #2d6a4f;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 18, 21, 0.05), 0 10px 30px rgba(13, 18, 21, 0.07);
  --shadow-lg: 0 2px 4px rgba(13, 18, 21, 0.06), 0 24px 60px rgba(13, 18, 21, 0.14);
  --container: 1232px;
  --gutter: clamp(16px, 4vw, 24px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 750; }
strong { font-weight: 700; }
address { font-style: normal; }
button { font: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.5em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: 0.9375rem; }
.btn-lg { min-height: 58px; padding: 0 1.8em; font-size: 1.0625rem; }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 20px rgba(216, 153, 76, 0.28); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 700; text-decoration: none; color: var(--amber-ink);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow, .why .link-arrow { color: var(--amber); }
.section--dark .checklist a, .section--dark p a { color: var(--amber); }

.link-button {
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: rgba(13, 18, 21, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--ink-line);
}
/* Wide screens: logo on the left, sections centred on the screen, language and CTA on the right */
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; justify-self: start; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: 0.16em; }
.brand-sub { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.72; margin-top: 5px; }

/* The menu spans the middle and right columns, so the section list lands in the centre column */
.main-nav { grid-column: 2 / 4; display: flex; align-items: center; gap: 16px; }
@supports (grid-template-columns: subgrid) {
  .main-nav { display: grid; grid-template-columns: subgrid; }
}
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list a {
  position: relative; display: block; padding: 10px 9px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; color: rgba(255, 255, 255, 0.8);
  white-space: nowrap; transition: color 0.2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: #fff; }

/* The language switch follows the last menu item instead of sitting at the far edge */
.nav-extra { display: flex; align-items: center; gap: 10px; justify-self: start; margin-left: 88px; }
.lang-switch {
  display: flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid rgba(216, 153, 76, 0.65); border-radius: 999px; box-shadow: 0 0 14px rgba(216, 153, 76, 0.22);
  font-size: 0.8125rem; font-weight: 700;
}
.lang-switch > * { padding: 5px 10px; border-radius: 999px; text-decoration: none; line-height: 1; }
.lang-switch .is-active { background: var(--amber); color: var(--ink); }
.lang-switch a { color: rgba(255, 255, 255, 0.7); }
.lang-switch a:hover { color: #fff; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1199px) {
  .header-inner { display: flex; justify-content: space-between; gap: 24px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: flex; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 24px var(--gutter) 40px;
    background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  /* Animate only when the menu button is used — not when a window resize crosses the breakpoint */
  .nav-animating .main-nav { transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s; }
  .nav-animating.nav-open .main-nav { transition: opacity 0.25s, transform 0.25s var(--ease); }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .nav-open .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 16px 4px; font-size: 1.25rem; border-bottom: 1px solid var(--ink-line); }
  .nav-list a::after { left: 4px; right: auto; width: 32px; bottom: -1px; }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 20px; margin-left: 0; }
  .nav-extra .btn { min-height: 54px; font-size: 1.0625rem; }
  .lang-switch { align-self: flex-start; font-size: 0.9375rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-ink); }
/* Dark sections over a photo (set per section in --photo). The wash keeps white text readable and starts
   and ends in solid ink, so neighbouring dark sections and the hero blend into each other without a seam. */
/* The photo scrolls with its section. A "fixed" photo was tried and dropped: background-attachment: fixed
   made scrolling stutter, and a fixed layer clipped with clip-path left a light hairline at section edges. */
.section--photo {
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 18, 21, 0.84) 14%, rgba(13, 18, 21, 0.62) 40%, rgba(13, 18, 21, 0.74) 86%, var(--ink) 100%),
    var(--photo) center / cover no-repeat,
    var(--ink);
}
.section--transport { --photo: url("../img/transport.jpg"); padding-top: clamp(32px, 4vw, 48px); /* continues the hero, no big top gap */ }
.section--city { --photo: url("../img/city.jpg"); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.section-head p + p:not(.mt-l) { margin-top: 0.8em; }
.section--dark .section-head p, .why .section-head p { color: var(--on-ink-muted); }
.section-head h2 { margin-bottom: 0.4em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.8; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .why .eyebrow, .cta .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 100svh, 1000px);
  display: flex; align-items: center;
  background: var(--ink); color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
/* Mirrored so the car drives in and parks on the right, and the headline reads over the sky and the city */
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 0% 62%; transform: scaleX(-1);
}
/* The still photo matches the last video frame; it is shown only when the video cannot play
   (autoplay blocked, reduced motion, data saver) */
.hero-still { display: none; }
.hero.is-static .hero-still { display: block; }
.hero.is-static .hero-video { display: none; }
.js .hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.js .hero.is-playing .hero-video { opacity: 1; }

.hero-video-toggle {
  position: absolute; z-index: 2; top: calc(var(--header-h) + 18px); right: var(--gutter);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(13, 18, 21, 0.45); border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s;
}
.hero-video-toggle:hover { background: rgba(13, 18, 21, 0.7); border-color: rgba(255, 255, 255, 0.5); }
.hero-video-toggle .icon { width: 18px; height: 18px; display: none; }
.hero-video-toggle[data-state="pause"] .i-pause,
.hero-video-toggle[data-state="play"] .i-play,
.hero-video-toggle[data-state="replay"] .i-replay { display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.9) 0%, rgba(8, 11, 13, 0.72) 32%, rgba(8, 11, 13, 0.25) 58%, rgba(8, 11, 13, 0) 75%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.55) 0%, rgba(8, 11, 13, 0) 22%, rgba(13, 18, 21, 0) 64%, var(--ink) 100%);
}
/* The bottom of the hero fades into solid ink, and the next section starts from the same ink, so there is no seam */
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; }
@media (max-width: 900px) {
  /* On phones the hero is only as tall as its content, so no empty band is left under the buttons */
  .hero { min-height: auto; }
  .hero-media img, .hero-media video { object-position: 22% 62%; }
  .hero::before {
    background: linear-gradient(180deg, rgba(8, 11, 13, 0.82) 0%, rgba(8, 11, 13, 0.7) 45%, rgba(13, 18, 21, 0.35) 70%, var(--ink) 100%);
  }
  .hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 48px; }
}
.hero-title { max-width: 15ch; margin-bottom: 0.35em; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--amber); }
.hero-lead { max-width: 620px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.86); margin-bottom: 32px; }
.hero-slogan {
  max-width: 620px; margin: 0 0 36px; padding: 2px 0 2px 18px; border-left: 3px solid var(--amber);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.94);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sub-page hero (evening sky + skyline) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(130px, 15vw, 210px);
  background:
    radial-gradient(90% 70% at 74% 100%, rgba(236, 166, 86, 0.6) 0%, rgba(236, 166, 86, 0) 60%),
    linear-gradient(180deg, #0a1014 0%, #142129 38%, #2a3b43 70%, #5d5446 100%);
}
.page-hero--eu {
  background:
    radial-gradient(90% 70% at 30% 100%, rgba(169, 192, 207, 0.55) 0%, rgba(169, 192, 207, 0) 60%),
    linear-gradient(180deg, #0a1014 0%, #13232b 40%, #2a4450 72%, #587383 100%);
}
/* Day style (EU page since 2026-11-04; body class page-day, hero class page-hero--day):
   a sunny day over a busy European motorway (partials/scenes/eu-day.svg). */
.page-hero--day { background: linear-gradient(180deg, #1b5b92 0%, #2f74b3 42%, #6aaadb 76%, #bfe0f5 100%); }
.page-hero--day h1, .page-hero--day .lead, .page-hero--day .breadcrumbs, .page-hero--day .eyebrow { text-shadow: 0 1px 14px rgba(9, 40, 72, 0.5); }
.page-hero--day .eyebrow { color: #ffd591; }
.page-hero .day-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
@keyframes ds-cloud { from { transform: translateX(-260px); } to { transform: translateX(1700px); } }
@keyframes ds-birds { from { transform: translate(-120px, 40px); } to { transform: translate(1600px, -30px); } }
@keyframes ds-flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.4); } }
@keyframes dr-right { from { transform: translateX(-200px); } to { transform: translateX(1640px); } }
@keyframes dr-left { from { transform: translateX(1640px); } to { transform: translateX(-200px); } }
.ds-cloud { animation: ds-cloud 110s linear infinite; }
.ds-birds { animation: ds-birds 48s linear infinite; }
.ds-bird { transform-box: fill-box; transform-origin: center; animation: ds-flap 0.9s ease-in-out infinite; }
.dr-car { animation-timing-function: linear; animation-iteration-count: infinite; }
.dr-l0 { animation-name: dr-left; animation-duration: 30s; }
.dr-l1 { animation-name: dr-right; animation-duration: 22s; }
.dr-l2 { animation-name: dr-right; animation-duration: 16s; }
/* Reduced motion: everything stays still, the cars stay spread along the road */
@media (prefers-reduced-motion: reduce) {
  .page-hero--day .ds-cloud { animation-duration: 110s !important; animation-play-state: paused; }
  .page-hero--day .ds-birds, .page-hero--day .ds-bird { animation: none !important; }
  .page-hero--day .dr-l0 { animation-duration: 30s !important; animation-play-state: paused; }
  .page-hero--day .dr-l1 { animation-duration: 22s !important; animation-play-state: paused; }
  .page-hero--day .dr-l2 { animation-duration: 16s !important; animation-play-state: paused; }
}
/* Day style: the daytime look continues down the page. A light sky with drifting clouds behind the content,
   roads with traffic between blocks ({{scene_road-a}} / {{scene_road-b}}) and a car driving along the route. */
.page-day main { position: relative; isolation: isolate; background: linear-gradient(180deg, #d4e9f7 0, #d4e9f7 700px, #eaf3f9 1800px, #f2f7fa 100%); }
.page-day main .section--alt { background: rgba(255, 255, 255, 0.55); }
.page-clouds { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-clouds svg { position: absolute; left: 0; width: var(--w, 240px); height: auto; fill: #fff; opacity: 0.9; animation: pc-drift 150s linear infinite; }
@keyframes pc-drift { from { transform: translateX(-340px); } to { transform: translateX(100vw); } }
.road-divider { line-height: 0; }
.road-divider .road-strip { width: 100%; height: clamp(60px, 6vw, 84px); }
.dr-a0 { animation-name: dr-left; animation-duration: 28s; }
.dr-a1 { animation-name: dr-right; animation-duration: 19s; }
/* A small car drives along the route line, passing behind the stops, again and again */
.route .route-car { position: absolute; z-index: 0; top: 3px; left: 10%; width: 57px; height: 24px; opacity: 0; text-align: left; }
.route-car svg { width: 100%; height: 100%; }
.route.is-visible .route-car { animation: route-drive 7s ease-in-out 1.8s infinite; }
@keyframes route-drive { 0% { left: 8%; opacity: 0; } 6% { opacity: 1; } 80% { left: calc(92% - 57px); opacity: 1; } 90%, 100% { left: calc(92% - 57px); opacity: 0; } }
@media (max-width: 760px) {
  .route .route-car { display: block; top: 28px; left: 54px; transform: rotate(90deg); transform-origin: top left; }
  .route.is-visible .route-car { animation-name: route-drive-down; }
  @keyframes route-drive-down { 0% { top: 20px; opacity: 0; } 6% { opacity: 1; } 80% { top: calc(100% - 85px); opacity: 1; } 90%, 100% { top: calc(100% - 85px); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .page-clouds svg { animation-duration: 150s !important; animation-play-state: paused; }
  .road-divider .dr-a0 { animation-duration: 28s !important; animation-play-state: paused; }
  .road-divider .dr-a1 { animation-duration: 19s !important; animation-play-state: paused; }
  .route.is-visible .route-car { animation: none !important; opacity: 0; }
}

/* Night style (USA import page since 2026-11-04; body class page-night, hero class page-hero--night): a night at sea.
   Stars over the whole hero, the moon, and a car carrier at the bottom (partials/scenes/night-sea.svg) */
.page-hero.page-hero--night {
  background:
    radial-gradient(38% 45% at 72% 100%, rgba(150, 175, 215, 0.3) 0%, rgba(150, 175, 215, 0) 70%),
    linear-gradient(180deg, #04070d 0%, #0a1220 45%, #14243b 80%, #22385a 100%);
}
.page-hero .night-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
@keyframes ns-twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes ns-meteor { 0% { opacity: 0; transform: translate(0, 0); } 1% { opacity: 1; } 6%, 100% { opacity: 0; transform: translate(-220px, 98px); } }
@keyframes ns-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(1.6px) rotate(-0.35deg); } }
@keyframes ns-drift { to { transform: translateX(-120px); } }
@keyframes ns-wake { to { stroke-dashoffset: -26; } }
@keyframes ns-shimmer { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.7; } }
@keyframes ns-blink { 0%, 60%, 100% { opacity: 1; } 75%, 90% { opacity: 0.1; } }
.ns-tw { animation: ns-twinkle 3s ease-in-out infinite; }
.ns-meteor { opacity: 0; animation: ns-meteor 14s linear 3s infinite; }
.ns-ship { transform-box: fill-box; transform-origin: 50% 100%; animation: ns-bob 7s ease-in-out infinite; }
.ns-drift { animation: ns-drift 10s linear infinite; }
.ns-wake { stroke-dasharray: 16 10; animation: ns-wake 1.6s linear infinite; }
.ns-glint { fill: #f3ead2; animation: ns-shimmer 2.6s ease-in-out infinite; }
.ns-refl { fill: #f6be6e; animation: ns-shimmer 3.2s ease-in-out infinite; }
.ns-beacon, .ns-blink { animation: ns-blink 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .page-hero.page-hero--night .night-sky *, .page-hero.page-hero--night .sea-scene * { animation: none !important; }
}

/* Night style: the whole page continues the night-at-sea hero. Colour tokens are redefined for <main> only;
   the header and the footer's dark part stay as they are. Faint stars are tiled across the background. */
.page-night main {
  --paper: #0f1a2b;
  --paper-2: #0b1422;
  --card: #122035;
  --text: #e6ebf2;
  --muted: rgba(214, 224, 238, 0.72);
  --line: rgba(170, 195, 230, 0.14);
  --line-strong: rgba(170, 195, 230, 0.28);
  --amber-soft: rgba(216, 153, 76, 0.16);
  --amber-ink: #e8ad63;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 24px 60px rgba(0, 0, 0, 0.5);
  color: var(--text);
  background-color: #09111e;
  background-image:
    radial-gradient(circle at 23px 41px, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 157px 112px, rgba(255, 255, 255, 0.3) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 251px 19px, rgba(255, 255, 255, 0.4) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 89px 233px, rgba(255, 255, 255, 0.25) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 301px 290px, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 412px 77px, rgba(255, 255, 255, 0.3) 0 0.9px, transparent 1.5px),
    radial-gradient(circle at 63px 401px, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.6px),
    radial-gradient(circle at 488px 358px, rgba(255, 255, 255, 0.25) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 219px 489px, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    linear-gradient(180deg, #070c14 0, #0a1424 700px, #0b1628 100%);
  background-size: 340px 340px, 340px 340px, 340px 340px, 340px 340px, 340px 340px, 530px 530px, 530px 530px, 530px 530px, 530px 530px, 100% 100%;
}
.page-night main .section--alt { background: rgba(120, 150, 200, 0.045); border-block: 1px solid var(--line); }
.page-night main .checklist li::before {
  background: rgba(216, 153, 76, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8994c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.page-night main .point:hover, .js .page-night main .point.reveal.is-visible:hover {
  border-color: rgba(216, 153, 76, 0.45); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 24px rgba(216, 153, 76, 0.12);
}
.page-night main .models-table tbody tr > * { transition: background 0.2s; }
.page-night main .models-table tbody tr:hover > * { background: rgba(216, 153, 76, 0.07); }
.page-night main .note--plain .icon { color: var(--amber); }
.page-night main .note--warn { background: rgba(216, 153, 76, 0.1); color: #f1dcbc; border: 1px solid rgba(216, 153, 76, 0.32); }
.page-night main .note--warn .icon { color: var(--amber); }
.page-night main .panel.panel--ban { background: rgba(152, 58, 51, 0.16); border-color: rgba(214, 110, 98, 0.35); }
.page-night main .ban-list .icon { background: rgba(214, 110, 98, 0.16); color: #ec8b80; }
.page-night main .route.is-visible .route-icon { box-shadow: 0 0 0 6px rgba(216, 153, 76, 0.16), 0 0 24px rgba(216, 153, 76, 0.45); }

/* Night page extras (USA page since 2026-11-04): a big bright moon and shooting stars in the hero; twinkling and
   shooting stars behind the content (div.page-stars); sea strips between blocks — a car carrier and a buoy (sea-a),
   a lighthouse with a turning beam, a sailing boat and a distant ship (sea-b); pictures on the point cards (art-usa-*) */
@keyframes ns-moonglow { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.ns-moonglow { transform-box: fill-box; transform-origin: center; animation: ns-moonglow 6s ease-in-out infinite; }
.page-hero .sea-scene { overflow: visible; } /* the moon is drawn above the strip's viewBox, right over the ship */
@media (max-width: 1100px) { .page-hero .sea-scene .ns-moon { transform: translateY(60px); } } /* lower, to stay clear of the text */
.page-night main { position: relative; isolation: isolate; }
.page-stars { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-stars i { position: absolute; width: var(--s, 2px); height: var(--s, 2px); border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.5); animation: ns-twinkle 3.4s ease-in-out var(--d, 0s) infinite; }
.page-stars b { position: absolute; width: 150px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); opacity: 0; transform-origin: 0 50%; animation: ps-fall var(--t, 12s) linear var(--d, 0s) infinite; }
@keyframes ps-fall { 0% { opacity: 0; transform: rotate(-24deg) translateX(0); } 1% { opacity: 1; } 6%, 100% { opacity: 0; transform: rotate(-24deg) translateX(-320px); } }
.sea-divider { line-height: 0; }
.sea-strip { display: block; width: 100%; height: clamp(70px, 7vw, 100px); }
@keyframes ns-sail { from { transform: translateX(-260px); } to { transform: translateX(1700px); } }
@keyframes ns-sail-left { from { transform: translateX(1600px); } to { transform: translateX(-200px); } }
@keyframes ns-beam { 0%, 100% { transform: scaleX(1); opacity: 0.9; } 25%, 75% { opacity: 0.35; } 50% { transform: scaleX(-1); opacity: 0.9; } }
.ns-sail { animation: ns-sail 80s linear infinite; }
.ns-sail--far { animation-name: ns-sail-left; animation-duration: 120s; }
.ns-beam { transform-box: fill-box; transform-origin: 0 50%; animation: ns-beam 6s ease-in-out infinite; }
.ns-lampglow { animation: ns-shimmer 3s ease-in-out infinite; }
.point-art { display: block; aspect-ratio: 200 / 110; margin-bottom: 16px; }
.point-art svg { display: block; width: 100%; height: 100%; }
@keyframes cl-needle { 0%, 100% { transform: rotate(-75deg); } 50% { transform: rotate(-35deg); } }
.cl-needle { transform-box: fill-box; transform-origin: center; transform: rotate(-55deg); animation: cl-needle 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .page-stars i, .page-stars b, .ns-moonglow, .ns-beam, .ns-lampglow, .cl-needle { animation: none !important; }
  .sea-divider .ns-sail { animation-duration: 80s !important; animation-play-state: paused; }
  .sea-divider .ns-sail--far { animation-duration: 120s !important; }
  .sea-divider .ns-ship, .sea-divider .ns-drift, .sea-divider .ns-blink, .sea-divider .ns-tw { animation: none !important; }
}

/* Clients page (uslugi / services; body class page-services, hero class page-hero--clients): the view inside a car showroom
   and sales office (partials/scenes/clients.svg). The hero is the showroom wall: a ceiling track with spotlights, a wooden
   slat wall, a wall screen with a car slideshow and a clock. At the bottom is the showroom floor with cars on display, a sales
   desk, staff in ties, customers and a glass manager's office. The style continues down the page: the showroom floor tiles
   as the background, a picture on every card (art-*.svg), a back-office row before the CTA (office-row.svg) and a car with
   its keys in the CTA (art-handover.svg). */
.page-hero.page-hero--clients {
  padding-bottom: clamp(180px, 21.5vw, 340px);
  background:
    radial-gradient(40% 50% at 76% 40%, rgba(255, 196, 130, 0.14) 0%, rgba(255, 196, 130, 0) 70%),
    linear-gradient(180deg, #11161a 0%, #182026 50%, #222b31 100%);
}
.page-hero.page-hero--clients h1 { max-width: 28ch; font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
.page-hero--clients h1, .page-hero--clients .breadcrumbs { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
.page-hero.page-hero--clients .skyline { height: clamp(160px, 19.4vw, 320px); }
.page-hero .hero-interior { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
@media (max-width: 1100px) { .hero-interior .hi-deco { display: none; } }
@keyframes cl-beam { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes cl-slide { 0% { transform: translateX(-300px); } 10%, 30% { transform: translateX(0); } 40%, 100% { transform: translateX(300px); } }
@keyframes cl-hand { to { transform: rotate(360deg); } }
@keyframes cl-bubble { 0%, 8% { opacity: 0; transform: translateY(4px) scale(0.6); } 14%, 42% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-3px); } }
@keyframes cl-shine { 0%, 55% { transform: translateX(-160px); } 100% { transform: translateX(720px); } }
@keyframes cl-rise { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-24px); } }
@keyframes cl-walk { from { transform: translateX(-40px); } to { transform: translateX(1480px); } }
@keyframes cl-leg { 0%, 100% { transform: rotate(20deg); } 50% { transform: rotate(-20deg); } }
.cl-beam { animation: cl-beam 5s ease-in-out infinite; }
.cl-slide { animation: cl-slide 12s ease-in-out infinite; }
.cl-hand { transform-box: fill-box; transform-origin: center; animation: cl-hand 60s linear infinite; }
.cl-hand--m { animation-delay: -10s; }
.cl-hand--h { animation-duration: 720s; animation-delay: -600s; }
.cl-bubble { transform-box: fill-box; transform-origin: 15% 100%; animation: cl-bubble 6s ease-in-out infinite; }
.cl-bubble--b { animation-delay: -3s; }
.cl-bubble--c { animation-delay: -1.5s; }
.cl-shine { animation: cl-shine 9s ease-in-out infinite; }
.cl-rise { animation: cl-rise 2.2s ease-in infinite; }
.cl-walk { animation: cl-walk 80s linear infinite; }
.cl-leg, .cl-arm { transform-box: fill-box; transform-origin: 50% 0; animation: cl-leg 0.9s ease-in-out infinite; }
.cl-leg--b, .cl-arm { animation-delay: -0.45s; }
/* The rest of the page: the showroom floor tiles continue under the content */
.page-services main {
  background-color: #efebe4;
  background-image:
    linear-gradient(rgba(90, 78, 66, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 78, 66, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #e6e0d7 0, #eeeae3 800px, #f4f1ea 100%);
  background-size: 140px 140px, 140px 140px, 100% 100%;
  background-position: center top;
}
.page-services .service { grid-template-columns: 200px 1fr 1fr; transition: box-shadow 0.25s, border-color 0.25s; }
.page-services .service:hover { border-color: rgba(216, 153, 76, 0.45); box-shadow: var(--shadow-lg); }
.service-art { display: block; aspect-ratio: 200 / 130; }
.service-art svg, .cta-art svg { display: block; width: 100%; height: 100%; }
.cta-art { display: block; width: clamp(170px, 18vw, 230px); aspect-ratio: 220 / 130; }
.office-divider { line-height: 0; }
.office-row-svg { display: block; width: 100%; height: clamp(110px, 11vw, 160px); }
@media (max-width: 1100px) { .page-services .service { grid-template-columns: 170px 1fr 1fr; } }
@media (max-width: 900px) { .page-services .service { grid-template-columns: 150px 1fr; } }
@media (max-width: 520px) { .page-services .service { grid-template-columns: 1fr; } .page-services .service-art { width: 220px; max-width: 100%; } }
@keyframes cl-steam { 0% { opacity: 0; transform: translateY(3px); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes cl-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes cl-spin { 0%, 25% { transform: rotate(0deg); } 50%, 75% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes cl-sign { 0%, 10% { stroke-dashoffset: 60; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes cl-pop { 0%, 45% { opacity: 0; transform: scale(0); } 55% { opacity: 1; transform: scale(1.2); } 62%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0); } }
@keyframes cl-drop { 0%, 55% { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; } 72% { transform: translateY(0); } 76% { transform: translateY(-3px); } 80%, 92% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes cl-stamp { 0%, 20% { transform: translateY(0); } 32% { transform: translateY(23px); } 44%, 100% { transform: translateY(0); } }
@keyframes cl-mark { 0%, 31% { opacity: 0; } 33%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cl-swing { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
@keyframes cl-park { 0% { opacity: 0; transform: translateX(-120px); } 8% { opacity: 1; } 28%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes cl-twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes cl-print { 0%, 20% { opacity: 0; transform: translateY(-12px); } 25% { opacity: 1; } 55%, 85% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes cl-type1 { 0% { transform: scaleX(0); } 20%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes cl-type2 { 0%, 20% { transform: scaleX(0); } 40%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes cl-type3 { 0%, 40% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes cl-bar { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.cl-steam { animation: cl-steam 2.6s ease-out infinite; }
.cl-bounce { animation: cl-bounce 1.6s ease-in-out infinite; }
.cl-bounce--b { animation-delay: -0.8s; }
.cl-spin { transform-box: fill-box; transform-origin: center; animation: cl-spin 5s ease-in-out infinite; }
.cl-signature { stroke-dasharray: 60; animation: cl-sign 5s ease-in-out infinite; }
.cl-pop { transform-box: fill-box; transform-origin: center; animation: cl-pop 5s ease-in-out infinite; }
.cl-drop { animation: cl-drop 5s ease-in infinite; }
.cl-stamp { animation: cl-stamp 3.6s ease-in-out infinite; }
.cl-mark { animation: cl-mark 3.6s linear infinite; }
.cl-swing { transform-box: fill-box; transform-origin: 50% 0; animation: cl-swing 2.2s ease-in-out infinite; }
.cl-park { animation: cl-park 6s ease-out infinite backwards; animation-delay: calc(var(--i, 0) * 0.4s); }
.cl-twinkle { transform-box: fill-box; transform-origin: center; animation: cl-twinkle 1.8s ease-in-out infinite; }
.cl-print { animation: cl-print 5s ease-in-out infinite; }
.cl-type1, .cl-type2, .cl-type3 { transform-box: fill-box; transform-origin: 0 50%; animation: cl-type1 6s linear infinite; }
.cl-type2 { animation-name: cl-type2; }
.cl-type3 { animation-name: cl-type3; }
.cl-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: cl-bar 2.4s ease-in-out infinite alternate; }
/* Reduced motion: the pictures stand still; the walker, the screen slideshow and the clocks are paused, not reset */
@media (prefers-reduced-motion: reduce) {
  .cl-walk { animation-duration: 80s !important; animation-play-state: paused; }
  .cl-slide { animation-duration: 12s !important; animation-play-state: paused; }
  .cl-hand { animation-duration: 60s !important; animation-play-state: paused; }
  .cl-hand--h { animation-duration: 720s !important; }
  .cl-beam, .cl-bubble, .cl-shine, .cl-rise, .cl-leg, .cl-arm, .cl-steam, .cl-bounce, .cl-spin, .cl-signature, .cl-pop, .cl-drop,
  .cl-stamp, .cl-mark, .cl-swing, .cl-park, .cl-twinkle, .cl-print, .cl-type1, .cl-type2, .cl-type3, .cl-bar { animation: none !important; }
}
.page-hero--quiet {
  padding-bottom: clamp(110px, 12vw, 170px);
  background:
    radial-gradient(90% 70% at 60% 100%, rgba(236, 166, 86, 0.3) 0%, rgba(236, 166, 86, 0) 60%),
    linear-gradient(180deg, #0a1014 0%, #151f25 55%, #2f3b40 100%);
}
.page-hero .skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(100px, 13vw, 190px); z-index: -1; }
.page-hero .sk-far { fill: rgba(16, 26, 32, 0.45); }
.page-hero .sk-city { fill: #121a1f; }
.page-hero .sk-win { fill: rgba(246, 190, 110, 0.85); }
.page-hero .sk-hill, .page-hero .sk-tree, .page-hero .sk-ground { fill: #0b1013; }
.page-hero h1 { max-width: 18ch; text-wrap: balance; }
.page-hero .lead { max-width: 680px; color: rgba(255, 255, 255, 0.84); margin: 0; }
.page-hero .lead + .lead { margin-top: 16px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.breadcrumbs { margin-bottom: 26px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.8); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Direction cards (EU vs USA) ---------- */
.dir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.dir-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  color: var(--text);
}
.dir-top { position: relative; padding: 34px 168px 30px 34px; color: #fff; }
/* A crisp, full-colour flag on the side of each header (above the heading when the card is narrow) */
.dir-top::before {
  content: ""; position: absolute; top: 34px; right: 34px; width: 102px; height: 68px; border-radius: 6px;
  background: center / cover no-repeat;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* EU — deep blue header with the EU flag */
.dir-card--eu .dir-top {
  background:
    radial-gradient(70% 120% at 88% 50%, rgba(70, 106, 150, 0.45) 0%, rgba(70, 106, 150, 0) 70%),
    linear-gradient(135deg, #13253d 0%, #1b3454 55%, #26446a 100%);
}
.dir-card--eu .dir-top::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 100'%3E%3Crect width='150' height='100' fill='%23039'/%3E%3Cpath fill='%23fc0' transform='translate(22.9 -2.1) scale(.521)' d='M100 27L102.1 33.1L108.6 33.2L103.4 37.1L105.3 43.3L100 39.6L94.7 43.3L96.6 37.1L91.4 33.2L97.9 33.1ZM132 35.6L134.1 41.7L140.6 41.8L135.4 45.7L137.3 51.9L132 48.2L126.7 51.9L128.6 45.7L123.4 41.8L129.9 41.7ZM155.4 59L157.5 65.1L164 65.2L158.8 69.1L160.7 75.3L155.4 71.6L150.1 75.3L152 69.1L146.9 65.2L153.3 65.1ZM164 91L166.1 97.1L172.6 97.2L167.4 101.1L169.3 107.3L164 103.6L158.7 107.3L160.6 101.1L155.4 97.2L161.9 97.1ZM155.4 123L157.5 129.1L164 129.2L158.8 133.1L160.7 139.3L155.4 135.6L150.1 139.3L152 133.1L146.9 129.2L153.3 129.1ZM132 146.4L134.1 152.5L140.6 152.6L135.4 156.5L137.3 162.7L132 159L126.7 162.7L128.6 156.5L123.4 152.6L129.9 152.5ZM100 155L102.1 161.1L108.6 161.2L103.4 165.1L105.3 171.3L100 167.6L94.7 171.3L96.6 165.1L91.4 161.2L97.9 161.1ZM68 146.4L70.1 152.5L76.6 152.6L71.4 156.5L73.3 162.7L68 159L62.7 162.7L64.6 156.5L59.4 152.6L65.9 152.5ZM44.6 123L46.7 129.1L53.1 129.2L48 133.1L49.9 139.3L44.6 135.6L39.3 139.3L41.2 133.1L36 129.2L42.5 129.1ZM36 91L38.1 97.1L44.6 97.2L39.4 101.1L41.3 107.3L36 103.6L30.7 107.3L32.6 101.1L27.4 97.2L33.9 97.1ZM44.6 59L46.7 65.1L53.1 65.2L48 69.1L49.9 75.3L44.6 71.6L39.3 75.3L41.2 69.1L36 65.2L42.5 65.1ZM68 35.6L70.1 41.7L76.6 41.8L71.4 45.7L73.3 51.9L68 48.2L62.7 51.9L64.6 45.7L59.4 41.8L65.9 41.7Z'/%3E%3C/svg%3E"); }

/* USA — deep red header with the US flag (19:10) */
.dir-card--usa .dir-top { background: linear-gradient(135deg, #3a1315 0%, #571c1d 55%, #722628 100%); }
.dir-card--usa .dir-top::before { height: 54px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100'%3E%3Cdefs%3E%3Cpath id='t' fill='%23fff' d='M0-3L.67-.93H2.85L1.09.35L1.76 2.43L0 1.15L-1.76 2.43L-1.09.35L-2.85-.93H-.67Z'/%3E%3Cpattern id='r' width='190' height='15.385' patternUnits='userSpaceOnUse'%3E%3Crect width='190' height='7.692' fill='%23b22234'/%3E%3C/pattern%3E%3Cpattern id='a' width='12.667' height='10.77' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23t' x='6.333' y='5.385'/%3E%3C/pattern%3E%3Cpattern id='b' x='6.333' y='5.385' width='12.667' height='10.77' patternUnits='userSpaceOnUse'%3E%3Cuse href='%23t' x='6.333' y='5.385'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='190' height='100' fill='%23fff'/%3E%3Crect width='190' height='100' fill='url(%23r)'/%3E%3Crect width='76' height='53.85' fill='%233c3b6e'/%3E%3Crect width='76' height='53.85' fill='url(%23a)'/%3E%3Crect x='6' y='5' width='64' height='45' fill='url(%23b)'/%3E%3C/svg%3E"); }

/* Narrow cards (two columns on smaller laptops, or a phone): the flag moves above the heading.
   Media queries rather than a container query, because container-type would switch off the subgrid. */
@media (min-width: 861px) and (max-width: 1230px), (max-width: 620px) {
  .dir-top { padding-right: 34px; }
  .dir-top::before { position: static; display: block; width: 72px; height: 48px; margin-bottom: 16px; }
  .dir-card--usa .dir-top::before { height: 38px; }
}
.dir-top h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.dir-top p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 44ch; }
.dir-list { list-style: none; padding-top: 16px; }
.dir-list li { position: relative; padding: 10px 34px 10px 70px; font-size: 0.975rem; line-height: 1.5; }
.dir-list li + li { border-top: 1px solid var(--line); }
.dir-list li::before { content: ""; position: absolute; left: 34px; top: 11px; width: 22px; height: 22px; border-radius: 50%; }
.dir-body { flex: 1; display: flex; flex-direction: column; }
.dir-foot { margin-top: auto; padding: 24px 34px 34px; }
.dir-card--eu .link-arrow { color: var(--eu-ink); }
.dir-card--usa .link-arrow { color: var(--us-red); }
@media (max-width: 860px) { .dir-grid { grid-template-columns: 1fr; } }
/* Side by side, both cards share two row tracks, so the coloured headers and the white bodies
   line up at equal heights; the lists inside are independent and may have any number of rows */
@media (min-width: 861px) {
  @supports (grid-template-rows: subgrid) {
    .dir-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
  }
}

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--forest-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--amber li::before {
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5718' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
/* Solid check badges for the EU / USA comparison cards, in each card's colours */
.dir-card--eu .dir-list li::before {
  background: #1b3454 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8994c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 2px 6px rgba(27, 52, 84, 0.3);
}
.dir-card--usa .dir-list li::before {
  background: #7a2628 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 2px 6px rgba(122, 38, 40, 0.3);
}
/* Rows slide in one after another as they scroll into view (main.js adds .row-anim, then .is-in and --d) */
.dir-list li.row-anim { opacity: 0; transform: translateX(-14px); transition: opacity 0.55s var(--ease) var(--d, 0s), transform 0.55s var(--ease) var(--d, 0s); }
.dir-list li.row-anim.is-in { opacity: 1; transform: none; }
.dir-list li.row-anim::before { transform: scale(0.3); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0s) + 0.15s); }
.dir-list li.row-anim.is-in::before { transform: none; }
.section--dark .checklist li::before, .why .checklist li::before {
  background: rgba(216, 153, 76, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8994c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.crosslist { list-style: none; display: grid; gap: 12px; }
.crosslist li { position: relative; padding-left: 34px; }
.crosslist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #f5dedb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M17 7 7 17M7 7l10 10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.975rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.compare thead th.col-eu { color: var(--eu-ink); }
.compare thead th.col-usa { color: var(--us-red); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.footnote { margin-top: 18px; font-size: 0.875rem; color: var(--muted); max-width: 900px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin: 6px 0 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; font-size: 0.95rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--paper); color: var(--forest);
}
.card-icon .icon { width: 26px; height: 26px; }
.card:nth-child(even) .card-icon { color: var(--amber-ink); }
.section--alt .card-icon { background: var(--paper-2); }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards--3, .cards--2 { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.section--dark .steps li { background: var(--ink-2); border-color: var(--ink-line); }
/* Over a photo the step cards turn translucent, so the picture shows through (no backdrop blur: it is costly while scrolling) */
.section--photo .steps li { background: rgba(20, 27, 31, 0.78); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%;
  background: var(--ink); color: var(--amber); font-weight: 800; font-size: 1rem;
}
.section--dark .step-num { background: var(--amber); color: var(--ink); }
/* Amber line along the top of each step card, drawn left to right when the steps come into view */
.steps li::before {
  content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(216, 153, 76, 0)); transform-origin: left;
}
.steps li { transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s; }
@media (hover: hover) {
  .steps li:hover { transform: translateY(-6px); border-color: rgba(216, 153, 76, 0.45); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
}
/* Entrance, choreographed by main.js: it adds .anim and --i to the list, then .is-in once it is on screen.
   The cards rise in one by one, each number springs in with a ring, then the top line draws across.
   Card animations use fill-mode "backwards" so the hover lift still works once they have finished. */
@keyframes step-in { from { opacity: 0; transform: translateY(28px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes step-num-in { 0% { opacity: 0; transform: scale(0.3) rotate(-120deg); } 70% { opacity: 1; transform: scale(1.12) rotate(8deg); } 100% { transform: none; } }
@keyframes step-ring { from { box-shadow: 0 0 0 0 rgba(216, 153, 76, 0.55); } to { box-shadow: 0 0 0 16px rgba(216, 153, 76, 0); } }
@keyframes step-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps.anim:not(.is-in) li { opacity: 0; }
.steps.anim:not(.is-in) li::before { transform: scaleX(0); }
.steps.anim.is-in li { animation: step-in 0.8s var(--ease) backwards; animation-delay: calc(var(--i) * 130ms); }
.steps.anim.is-in .step-num {
  animation: step-num-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards, step-ring 1.1s ease-out;
  animation-delay: calc(var(--i) * 130ms + 250ms), calc(var(--i) * 130ms + 650ms);
}
.steps.anim.is-in li::before { animation: step-line 0.7s var(--ease) both; animation-delay: calc(var(--i) * 130ms + 450ms); }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.section--dark .steps p { color: var(--on-ink-muted); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* Vertical timeline (detailed process) */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline > li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 40px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.timeline > li:last-child::before { display: none; }
.timeline .step-num { width: 64px; height: 64px; margin: 0; font-size: 1.25rem; }
.timeline-body { padding-top: 10px; }
.timeline-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.timeline-body p { color: var(--muted); }
.timeline-body .checklist { margin-top: 14px; }
.timeline-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.875rem; font-weight: 700; color: var(--forest); }
@media (max-width: 560px) {
  .timeline > li { grid-template-columns: 48px 1fr; gap: 16px; }
  .timeline .step-num { width: 48px; height: 48px; font-size: 1.05rem; }
  .timeline > li::before { left: 23px; top: 48px; }
}

/* ---------- Why us (dark photo section) ---------- */
.why { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.why-media { position: absolute; inset: 0; z-index: -2; }
.why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 40%; opacity: 0.55; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(13, 18, 21, 0) 160px), /* starts from solid ink, so it joins the dark section above without a seam */
    linear-gradient(90deg, rgba(13, 18, 21, 0.97) 0%, rgba(13, 18, 21, 0.9) 45%, rgba(13, 18, 21, 0.72) 100%);
}
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.why-item .icon { width: 30px; height: 30px; color: var(--amber); margin-bottom: 16px; }
.why-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.why-item p { margin: 0; color: var(--on-ink-muted); font-size: 0.975rem; }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Split (text + aside) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

.prose-block p { color: var(--muted); }
.prose-block p.lead { color: var(--text); }
.prose-block h2 + p { margin-top: 0.4em; }
.prose-block h2 em { font-style: normal; color: var(--amber-ink); }

/* About page: the closing line under the lead, with a handshake icon */
.prose-block .closing { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; font-weight: 600; color: var(--text); }
.closing .icon { flex: none; width: 26px; height: 26px; margin-top: 1px; color: var(--amber-ink); }

/* About page: four short points as light cards. They rise in one after another, the icon pops in after its card,
   and on hover the card lifts and the icon tile turns amber */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.point {
  padding: 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.point:nth-child(4n + 2) { --n: 1; }
.point:nth-child(4n + 3) { --n: 2; }
.point:nth-child(4n + 4) { --n: 3; }
.js .point.reveal { transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.js .point.reveal.is-visible { animation: point-in 0.8s var(--ease) calc(var(--n, 0) * 140ms) backwards; }
.point:hover, .js .point.reveal.is-visible:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.point-icon {
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center;
  background: var(--amber-soft); color: var(--amber-ink);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.js .point.is-visible .point-icon { animation: icon-pop 0.6s var(--ease) calc(var(--n, 0) * 140ms + 300ms) backwards; }
.point:hover .point-icon { background: var(--amber); color: var(--ink); transform: rotate(-6deg) scale(1.06); }
.point-icon .icon { width: 26px; height: 26px; }
.point h3 { font-size: 1.1rem; margin-bottom: 8px; }
.point p { margin: 0; font-size: 0.975rem; color: var(--muted); }
@keyframes point-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* EU import page: popular models as small spec cards, five to a row; on hover the card lifts and its car icon turns amber.
   The cards are off the page for now (2026-11-03); their markup is kept in kopie-usunietych-stron/2026-11-03-import-z-ue-karty-modeli */
.models { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.model-card {
  position: relative; padding: 22px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.js .model-card.reveal.is-visible { transition: opacity 0.8s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.model-card:hover, .js .model-card.reveal.is-visible:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.model-icon {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--paper); color: var(--muted); transition: background 0.3s, color 0.3s;
}
.model-icon .icon { width: 20px; height: 20px; }
.model-card:hover .model-icon { background: var(--amber); color: var(--ink); }
.model-brand { display: block; padding-right: 44px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-ink); }
.model-card h3 { margin: 4px 0 16px; padding-right: 44px; font-size: 1.15rem; line-height: 1.25; }
.model-specs { display: grid; gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.model-specs dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.model-specs dd { margin: 2px 0 0; font-size: 0.925rem; font-weight: 600; }
.models-note { max-width: 760px; margin: 28px 0 0; color: var(--muted); }
@media (max-width: 1080px) { .models { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }

/* EU import page: popular models as a simple table with approximate prices */
.models-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.models-table td:first-of-type { white-space: normal; min-width: 200px; }
.models-table tbody th { width: 22%; }
.table-note { max-width: 760px; margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }
/* A prose block on its own, without a side panel: keep the lines readable */
.prose-block--solo { max-width: 860px; }

/* USA import page: small entrance animations so the page feels alive */
@keyframes row-in { from { opacity: 0; transform: translateX(-14px); } }
@keyframes stop-pop { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }
.prose-block h3 { margin: 32px 0 0; font-size: 1.15rem; }
.js .is-visible .checklist--stagger li,
.js .is-visible .ban-list li { animation: row-in 0.55s var(--ease) calc(var(--i, 0) * 110ms + 250ms) backwards; }

/* "What we don't buy" panel next to the checklist */
.panel.panel--ban { background: var(--us-soft); border-color: #e7cfc9; }
.ban-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: var(--us-red); color: #fff; }
.ban-icon .icon { width: 26px; height: 26px; }
.ban-list { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.ban-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.ban-list .icon { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: #fff; color: var(--us-red); }

/* USA import page: the car's route from the auction to Poland; the amber line draws itself, then the stops light up one by one */
.route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.route::before, .route::after { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; border-radius: 3px; }
.route::before { background: var(--line-strong); }
.route::after { background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) 0.2s; }
.route.is-visible::after, html:not(.js) .route::after { transform: scaleX(1); }
.route li { position: relative; z-index: 1; text-align: center; }
.route-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--line-strong); color: var(--muted);
  transition: background 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s; transition-delay: calc(var(--i, 0) * 320ms + 200ms);
}
.route-icon .icon { width: 24px; height: 24px; }
.route.is-visible .route-icon, html:not(.js) .route-icon { background: var(--amber); border-color: var(--amber); color: var(--ink); box-shadow: 0 0 0 6px var(--amber-soft); }
.route.is-visible .route-icon { animation: stop-pop 0.5s var(--ease) calc(var(--i, 0) * 320ms + 200ms) both; }
.route h3 { font-size: 1rem; margin: 0 0 4px; }
.route p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.route-note { margin-top: 40px; max-width: 860px; }
@media (max-width: 760px) {
  .route { grid-template-columns: 1fr; gap: 22px; }
  .route::before, .route::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; }
  .route::after { transform: scaleY(0); transform-origin: top; }
  .route.is-visible::after, html:not(.js) .route::after { transform: scaleY(1); }
  .route li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; text-align: left; }
  .route-icon { grid-row: span 2; margin: 0; }
  .route h3 { align-self: end; }
  .route p { align-self: start; }
}
.prose-block .checklist { margin-top: 20px; }
.prose-block .note { margin-top: 24px; }
@keyframes icon-pop { from { opacity: 0; transform: scale(0.4) rotate(-20deg); } to { opacity: 1; transform: none; } }
@media (max-width: 1080px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .points { grid-template-columns: 1fr; } }

.photo-frame { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--ink); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 12px;
  background: rgba(13, 18, 21, 0.72); color: #fff; font-size: 0.9rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* Portrait of the board member on the About page: a light profile card with a thin amber line along the top,
   the photo inset in it (always shown whole) and the name and role underneath */
.portrait {
  position: relative; overflow: hidden; justify-self: end; width: 100%; max-width: 430px; margin: 0; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
}
.portrait::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(216, 153, 76, 0));
}
.portrait-photo { overflow: hidden; border-radius: var(--radius); }
.portrait-photo img { width: 100%; height: auto; }
.portrait figcaption { padding: 14px 12px 8px; }
.portrait figcaption strong { display: block; font-size: 1.15rem; line-height: 1.3; color: var(--text); }
.portrait figcaption span {
  display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink);
}
.prose-block > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .portrait { justify-self: start; max-width: 400px; } }

/* ---------- Facts / key figures ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--card); padding: 26px 24px; }
.fact strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.fact span { display: block; margin-top: 6px; font-size: 0.925rem; color: var(--muted); }
.facts--2 { grid-template-columns: repeat(2, 1fr); }
.chips a { text-decoration: none; }
.chips a:hover { color: var(--amber-ink); }
.chips--nav li { padding: 0; }
.chips--nav a { display: block; padding: 8px 14px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Key–value data (company details) ---------- */
.kv { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.kv dt, .kv dd { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 700; font-size: 0.925rem; color: var(--muted); background: var(--paper); }
.kv dd { font-weight: 600; overflow-wrap: anywhere; }
.kv dt:last-of-type, .kv dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; }
  .kv dt { border-bottom: 0; padding-bottom: 4px; }
  .kv dd { padding-top: 4px; }
}

/* ---------- Band (B2B teaser) ---------- */
.band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: calc(var(--radius) + 6px);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.band-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); color: var(--amber); }
.band-icon .icon { width: 30px; height: 30px; }
.band h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 6px; }
.band p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- Notes ---------- */
.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px;
  background: var(--forest-soft); color: var(--forest-ink); font-size: 0.975rem;
}
.note .icon { width: 22px; height: 22px; margin-top: 2px; }
.note p { margin: 0; }
.note p + p { margin-top: 0.5em; }
.note--warn { background: var(--amber-soft); color: #5e3a0e; }
.note--plain { background: var(--paper); color: var(--text); border: 1px solid var(--line); }

/* ---------- Cost breakdown ---------- */
.cost-list { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; counter-reset: cost; }
.cost-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); counter-increment: cost; }
.cost-list li:last-child { border-bottom: 0; }
.cost-list li::before {
  content: counter(cost, decimal-leading-zero); font-weight: 800; font-size: 0.875rem; color: var(--amber-ink);
  padding-top: 2px;
}
.cost-list strong { display: block; }
.cost-list span { display: block; color: var(--muted); font-size: 0.925rem; }
.cost-list li.is-total { background: var(--ink); color: #fff; }
.cost-list li.is-total::before { content: "="; color: var(--amber); font-size: 1.1rem; }
.cost-list li.is-total span { color: var(--on-ink-muted); }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.925rem; font-weight: 600; }

/* ---------- Services page blocks ---------- */
.service-list { display: grid; gap: 20px; }
.service {
  display: grid; grid-template-columns: 72px 1fr 1fr; gap: 28px; align-items: start;
  padding: clamp(24px, 3.5vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service .card-icon { width: 64px; height: 64px; border-radius: 18px; }
.service .card-icon .icon { width: 30px; height: 30px; }
.service h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 10px; }
.service p { color: var(--muted); }
.service p:last-child { margin-bottom: 0; }
.service .checklist { font-size: 0.975rem; }
.service .note { margin-top: 14px; font-size: 0.9rem; }
@media (max-width: 900px) { .service { grid-template-columns: 56px 1fr; } .service > :last-child { grid-column: 1 / -1; } .service .card-icon { width: 56px; height: 56px; } }
@media (max-width: 520px) { .service { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: 18px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; color: var(--amber-ink); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 6vw, 72px); border-radius: 28px; color: #fff;
  background:
    radial-gradient(60% 90% at 90% 10%, rgba(216, 153, 76, 0.38), rgba(216, 153, 76, 0) 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(45, 90, 74, 0.5), rgba(45, 90, 74, 0) 70%),
    linear-gradient(135deg, #121b20 0%, #0d1215 100%);
}
.cta h2 { margin-bottom: 12px; }
.cta p { margin: 0; color: var(--on-ink-muted); font-size: 1.1rem; }
.cta-side { display: grid; gap: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-contacts { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; color: #fff; }
.cta-contacts a:hover { color: var(--amber); }
.cta-contacts .icon { width: 20px; height: 20px; color: var(--amber); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
/* Compact, not full width (user, 2026-11-04): a smaller form card on the left, a dark company-details card next to it */
.contact-layout { display: grid; grid-template-columns: minmax(0, 560px) minmax(250px, 330px); gap: clamp(20px, 3vw, 32px); align-items: start; }
.contact-form { padding: clamp(22px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.contact-form > h2 { margin-bottom: 4px; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.contact-form > .muted { margin-bottom: 18px; font-size: 0.9rem; }
.contact-form .form, .contact-form .form-row { gap: 14px; }
.contact-form .field { gap: 5px; }
.contact-form .field label { font-size: 0.875rem; }
.contact-form .field input, .contact-form .field select { min-height: 44px; padding: 9px 12px; font-size: 0.95rem; }
.contact-form .field select { padding-right: 40px; }
.contact-form .field textarea { min-height: 110px; padding: 10px 12px; font-size: 0.95rem; }
.contact-form .check { font-size: 0.85rem; }
.contact-form .form-legal { font-size: 0.78rem; }
.contact-info { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 2.6vw, 32px); border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, #16211f 0%, var(--ink) 100%); box-shadow: var(--shadow); color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; line-height: 1.55; }
.contact-info h2 { margin: 0 0 22px; font-size: 1.1rem; color: #fff; }
.contact-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { flex: none; width: 20px; height: 20px; margin-top: 18px; color: var(--amber); }
.ci-label { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.contact-info a { font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.contact-info a:hover { color: var(--amber); }
.contact-reg { display: grid; gap: 4px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; }
.contact-reg div { display: flex; gap: 12px; }
.contact-reg dt { width: 58px; font-weight: 700; color: rgba(255, 255, 255, 0.5); }
.contact-reg dd { margin: 0; color: rgba(255, 255, 255, 0.88); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: minmax(0, 560px); }
  .contact-info { position: static; order: -1; }
}
.panel { padding: clamp(24px, 4vw, 44px); background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }
.panel > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
/* About page: company details as a list, one row per item: icon, label in a fixed column, value */
.company-card { overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
.info-grid { display: grid; gap: 1px; margin: 0; background: var(--line); }
.info-item { display: flex; gap: 18px; align-items: center; padding: 14px 26px; background: var(--card); transition: background 0.2s; }
.info-item:hover { background: var(--paper); }
.info-item > div { flex: 1; display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: center; }
.info-item > div dt { margin: 0; }
.info-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); }
.info-icon .icon { width: 20px; height: 20px; }
.info-item dt { margin-bottom: 4px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.info-item dd { margin: 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.info-item--num dd { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .info-item { align-items: flex-start; padding: 16px 18px; }
  .info-item > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 700; font-size: 0.925rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356626a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-ink); box-shadow: 0 0 0 4px rgba(216, 153, 76, 0.25); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin: 0; font-size: 0.85rem; color: var(--danger); font-weight: 600; }
.form > .field-error { margin-top: -10px; padding-left: 32px; }
.field-hint { font-size: 0.85rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.925rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--forest); cursor: pointer; }
.check.has-error { color: var(--danger); }
.form-legal { font-size: 0.825rem; color: var(--muted); line-height: 1.55; margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; }
.form-status.is-success { background: #e1efe7; color: var(--success); }
.form-status.is-error { background: #f7e1df; color: var(--danger); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- Legal prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.2em 0 0.7em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: #2c363b; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; display: grid; gap: 0.45em; }
.prose a { color: var(--amber-ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose .table-scroll { overflow-x: auto; }
.prose .table-scroll table { min-width: 640px; }
.prose-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 28px; font-size: 0.925rem; color: var(--muted); }
.toc { padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); margin-bottom: 40px; }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; padding: 0; border: 0; }
.toc ol { columns: 2; column-gap: 32px; padding-left: 1.2em; display: block; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { color: var(--on-ink-muted); font-size: 0.95rem; }
/* Top of the footer: only the dashed amber road line (the town / car transporter / port picture was removed 2026-11-04) */
.footer-horizon { line-height: 0; }
.footer-horizon .skyline { display: block; width: 100%; height: 15px; }
.footer-horizon .sk-ground { fill: var(--ink); }
.footer-horizon .sk-win { fill: rgba(216, 153, 76, 0.9); }
.footer-main { background: var(--ink); padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.brand--footer { color: #fff; margin-bottom: 18px; }
.footer-about p { max-width: 36ch; }
.footer-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul, .footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-contact a { text-decoration: none; color: var(--on-ink-muted); transition: color 0.2s; }
.footer-col a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--amber); }
.footer-legal address { line-height: 1.7; }
.footer-legal strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 0.875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a, .footer-bottom .link-button { color: var(--on-ink-muted); text-decoration: none; }
.footer-bottom a:hover, .footer-bottom .link-button:hover { color: #fff; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 560px; margin-left: auto;
  color: var(--on-ink); background: rgba(20, 27, 31, 0.97);
  border: 1px solid var(--ink-line); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cookie-inner { padding: 22px 24px; display: grid; gap: 14px; }
.cookie p { margin: 0; font-size: 0.9rem; color: var(--on-ink-muted); }
.cookie a { color: var(--amber); }
.cookie .cookie-title { font-weight: 800; font-size: 1.05rem; color: #fff; }
.cookie-options { display: grid; gap: 12px; padding: 14px 0 4px; border-top: 1px solid var(--ink-line); }
.cookie-options .check { color: var(--on-ink-muted); font-size: 0.875rem; }
.cookie-options strong { color: #fff; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 auto; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.stack > * + * { margin-top: 18px; }
.muted { color: var(--muted); }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--amber); margin-bottom: 10px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cookie, .footer-horizon, .nav-toggle, .hero-media, .why-media { display: none !important; }
  body { background: #fff; }
  .page-hero, .hero, .why, .section--dark { background: #fff !important; color: #000 !important; }
}
