/* ==========================================================================
   RK-Solution – styles
   Skala: 1rem = 10px przy szerokości 1024px (rozdzielczość wzoru),
   rośnie proporcjonalnie do 1440px, powyżej – stały rozmiar.
   ========================================================================== */

:root {
  --navy: #101a2d;
  --navy-deep: #0b1324;
  --navy-card: #131c30;
  --navy-text: #141c2c;
  --yellow: #f8c400;
  --yellow-hover: #ffd21c;
  --white: #ffffff;
  --text-light: #e8ebf1;
  --muted-dark: #aab2c1;
  --muted-light: #5f6a7c;
  --gray-bg: #eef0f3;
  --line: rgba(255, 255, 255, 0.14);
  --container: 93rem;
  --gutter: 4.7rem;
  --radius: 0.4rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);            /* wejścia i reakcje interfejsu (ease-out) */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);    /* ruch elementu widocznego na ekranie */
  --body: clamp(14px, 1.2rem, 17px);                 /* tekst ciągły na podstronach */
  --hairline: #dfe3e9;
  --text: #3d4757;
}

/* ---------- Kroje pisma: pliki własne w assets/fonts (bez połączeń z serwerami zewnętrznymi) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-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;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-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;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 10px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 1024px) {
  html { font-size: clamp(10px, 0.9765625vw, 14.0625px); }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--navy-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, address { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero__media picture,
.experience__media picture,
.card__media picture { width: 100%; height: 100%; }
address { font-style: normal; }
button { font: inherit; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Fokus klawiatury: żółty pierścień w granatowej obwódce – widać go na białym, szarym, żółtym i granatowym tle */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--navy-text);
  border-radius: 0.2rem;
}

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
/* >= 1024px: kontener trzyma szerokość projektu (93rem); przy klasycznym pasku
   przewijania (Windows) skracają się tylko marginesy boczne, nie treść */
@media (min-width: 1024px) {
  .container { width: min(var(--container), 100% - 2rem); }
}

.skip-link {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 1rem 1.6rem;
  background: var(--yellow);
  color: var(--navy-text);
  font-weight: 700;
  border-radius: 0.3rem;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.eyebrow--light { color: #c9d0dc; }
.eyebrow--dark { color: #5b6473; }

.accent { color: var(--yellow); }

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy-text);
}
.section-title--light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  height: 3.5rem;
  padding: 0 1.8rem;
  border-radius: 0.3rem;
  border: 0.15rem solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.16s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__arrow {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(0.25em); }
}

.btn--yellow { background: var(--yellow); color: var(--navy-text); }
.btn--dark { background: var(--navy-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn--ghost { background: transparent; color: var(--navy-text); border-color: #8791a1; }
@media (hover: hover) and (pointer: fine) {
  .btn--yellow:hover { background: var(--yellow-hover); }
  .btn--dark:hover { background: #172239; }
  .btn--outline:hover { background: rgba(255, 255, 255, 0.08); }
  .btn--ghost:hover { border-color: var(--navy-text); background: rgba(16, 26, 45, 0.06); }
}
.btn--lg { height: 4.4rem; padding: 0 2.8rem; font-size: 1rem; }
.btn--outline.btn--lg { padding: 0 2.5rem; }
.btn--nav { height: 3.1rem; padding: 0 1.6rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 6.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand__logo { width: 21.7rem; height: auto; }

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
  margin-left: 3.3rem;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  height: 100%;
}
.nav__list li { height: 100%; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1rem;
  font-weight: 500;
  color: #eef1f6;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  height: 0.2rem;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--white); }
  .nav__link:hover::after { transform: scaleX(1); }
}

.btn--nav { margin-left: auto; }

.lang {
  display: flex;
  align-items: center;
  margin-left: 2.4rem;
  font-size: 1rem;
  font-weight: 500;
}
.lang__item {
  color: #b9c1cf;
  padding: 0.6rem 0.6rem;
  margin: -0.6rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1.2;
  transition: color 0.2s;
}
.lang__item:first-child { border-left: 0; padding-left: 0; }
.lang__item:last-child { padding-right: 0; }
.lang__item.is-active { color: var(--white); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  .lang__item:hover { color: var(--white); }
}

.nav-toggle,
.header-call,
.nav__call { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 39.4rem;
  background: var(--navy-deep);
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__media::before,
.hero__media::after,
.experience__media::before,
.experience__media::after { z-index: 1; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--navy-deep) 0%,
      rgba(11, 19, 36, 0.96) 16%,
      rgba(11, 19, 36, 0.8) 28%,
      rgba(11, 19, 36, 0.45) 40%,
      rgba(11, 19, 36, 0.12) 52%,
      rgba(11, 19, 36, 0) 62%);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 19, 36, 0.18) 0%,
    rgba(11, 19, 36, 0) 16%,
    rgba(11, 19, 36, 0) 64%,
    rgba(11, 19, 36, 0.5) 86%,
    rgba(11, 19, 36, 0.92) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 39.4rem;
  padding-top: 3.5rem;
  padding-bottom: 2.6rem;
}
.hero__content { max-width: 46rem; }
.hero__title {
  margin-top: 1rem;
  font-size: 4.35rem;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.hero__lead {
  margin-top: 1.4rem;
  font-size: 1.42rem;
  line-height: 1.4;
  color: var(--text-light);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 1.6rem;
}
/* krótka linijka pod CTA zmniejszająca obawy przed kontaktem */
.hero__note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #c9d0dc;
}
.hero__note-icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Nagłówek hero odsłaniany słowo po słowie (słowa opakowuje main.js) */
html:not(.no-js) .hero__title[data-split-words]:not(.is-split) { visibility: hidden; }
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: var(--d, 0ms);
}
.hero__title.is-revealed .word {
  opacity: 1;
  transform: none;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 3.4rem;
  margin-top: auto;
  padding-top: 2rem;
}
.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature__text { display: flex; flex-direction: column; line-height: 1.25; }
.feature__text strong { font-size: 1rem; font-weight: 700; color: var(--white); }
.feature__text span { font-size: 0.9rem; color: var(--muted-dark); }

/* Signature ("Moving business forward") */
.signature {
  position: relative;
  display: inline-block;
  font-family: var(--script);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  transform: rotate(-4deg);
}
.signature__text { position: relative; z-index: 1; padding: 0 0.3rem; }
.signature__stroke {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: -0.7rem;
  width: calc(100% - 1rem);
  height: 1rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3.2;
  stroke-linecap: round;
}
.hero__signature {
  position: absolute;
  right: 0.4rem;
  bottom: 3.6rem;
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
  padding: 3rem 0 2.8rem;
}
.services__head {
  display: grid;
  grid-template-columns: 38.4rem minmax(0, 1fr) auto;
  align-items: start;
  margin-top: 0.6rem;
}
.services__intro {
  max-width: 37.6rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--muted-light);
  padding-top: 0.2rem;
}
.services__cta { justify-self: end; margin-top: 0.2rem; padding: 0 1.4rem; gap: 0.6rem; font-size: 0.9rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}
.card {
  background: var(--navy-card);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card:not(.card--static):hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 1.8rem 3.5rem -1.6rem rgba(11, 19, 36, 0.55);
  }
  .card:not(.card--static):hover .card__media img { transform: scale(1.03); }
  .card:not(.card--static):hover .card__arrow { transform: translateX(0.3rem); }
}
.card:not(.card--static):active { transform: scale(0.99); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; box-shadow: none; border-radius: var(--radius); }
.card__media {
  height: 10.8rem;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card__body {
  position: relative;
  flex: 1;
  padding: 1.1rem 1.4rem 1.6rem;
  min-height: 12.2rem;
}
.card__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.card__text {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.42;
  color: #b4bccb;
}
.card__arrow {
  position: absolute;
  right: 1.6rem;
  bottom: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
.card--static .card__body { min-height: 9.6rem; }

/* Wyróżniona oferta pod kafelkami (import z Chin) */
.offer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  margin-top: 1.3rem;
  padding: 1.7rem 2rem 1.7rem 1.8rem;
  background: var(--navy-card);
  border-radius: var(--radius);
  color: var(--white);
  scroll-margin-top: 2rem;
}
.offer-strip__icon {
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.offer-strip__body { flex: 1 1 26rem; min-width: 0; }
.offer-strip__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.offer-strip__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 0.1rem no-repeat; transition: background-size 0.2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .offer-strip__title a:hover { background-size: 100% 0.1rem; }
}
.offer-strip__text {
  margin-top: 0.4rem;
  font-size: 1.05rem;
  line-height: 1.42;
  color: #b4bccb;
}
.offer-strip__stat {
  display: flex;
  flex-direction: column;
  padding-left: 2.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1.1;
}
.offer-strip__value {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yellow);
  white-space: nowrap;
}
.offer-strip__label {
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}
.offer-strip__cta { flex-shrink: 0; }

/* ---------- Experience ---------- */
.experience {
  position: relative;
  min-height: 26.4rem;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.experience__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.experience__media picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 34%;
  width: 66%;
}
.experience__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.experience__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 35%,
    rgba(11, 19, 36, 0.92) 41%,
    rgba(11, 19, 36, 0.55) 50%,
    rgba(11, 19, 36, 0.15) 62%,
    rgba(11, 19, 36, 0.08) 100%);
}
.experience__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 36, 0.12) 0%, rgba(11, 19, 36, 0) 35%, rgba(11, 19, 36, 0.3) 100%);
}
.experience__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 14rem;
  align-items: start;
  padding: 2.8rem 0 2.4rem;
}
.experience__content { max-width: 44rem; }
/* tytuł może wyjść 1rem poza kolumnę, żeby „w transporcie międzynarodowym” zostało w jednym wierszu */
.experience__content .section-title { margin-top: 1rem; margin-right: -1rem; font-size: 2.85rem; }
.experience__text {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-light);
  max-width: 41rem;
}
.stats {
  display: flex;
  align-items: center;
  margin-top: 2.3rem;
}
.stat {
  display: flex;
  flex-direction: column;
  padding-right: 2.6rem;
  margin-right: 2.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  line-height: 1.1;
}
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat__value {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}

.promo {
  margin-top: 4rem;
  padding: 2.4rem 1.6rem 2.2rem;
  background: rgba(16, 26, 45, 0.96);
  border-radius: var(--radius);
  box-shadow: 0 2rem 4rem -2rem rgba(0, 0, 0, 0.6);
}
.promo__claim {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
}
.promo__line {
  display: block;
  width: 2.8rem;
  height: 0.2rem;
  margin: 1.8rem 0 1.6rem;
  background: var(--yellow);
}
.promo__logo { width: 10.8rem; height: auto; }

/* ---------- Żółty pas z wezwaniem do działania ---------- */
.band {
  background: var(--yellow);
  color: var(--navy-text);
  padding: 1.4rem 0;
}
.band__inner {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.band__icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  fill: none;
  stroke: var(--navy-text);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.band__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.band__sub {
  margin-top: 0.3rem;
  font-size: 1.1rem;
  line-height: 1.4;
}
.band__cta { margin-left: auto; height: 3.8rem; padding: 0 3.2rem; }

/* ---------- Clients ---------- */
.clients {
  background: var(--gray-bg);
  padding: 2rem 0 2.2rem;
}
.clients--plain { background: var(--white); border-top: 1px solid var(--hairline); }
.clients__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  min-height: 3.6rem;
}
.client-logo {
  display: block;
  height: calc(var(--h, 2.6rem) * var(--k, 1));
  width: calc(var(--h, 2.6rem) * var(--aspect, 4) * var(--k, 1));
  background: var(--logo) center / contain no-repeat;
  opacity: 0.88;
  transition: opacity 0.25s;
}
@media (hover: hover) and (pointer: fine) {
  .client-logo:hover { opacity: 1; }
}
.client-logo--maersk { --logo: url("../assets/logos/maersk.svg"); --aspect: 4.355; --h: 2.6rem; }
.client-logo--msc { --logo: url("../assets/logos/msc.svg"); --aspect: 1.131; --h: 3.6rem; }
.client-logo--hapag { --logo: url("../assets/logos/hapag-lloyd.svg"); --aspect: 6.5; --h: 1.85rem; }
.client-logo--cma { --logo: url("../assets/logos/cma-cgm.svg"); --aspect: 3.06; --h: 2.3rem; }
.client-logo--cosco { --logo: url("../assets/logos/cosco.svg"); --aspect: 1.544; --h: 4rem; }
.client-logo--one { --logo: url("../assets/logos/one.svg"); --aspect: 2.147; --h: 3.4rem; }
.client-logo--evergreen { --logo: url("../assets/logos/evergreen.svg"); --aspect: 4.43; --h: 2.65rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9cfd9;
  padding-top: 2.8rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 25.4rem 12.6rem 17.4rem 1fr auto;
  align-items: start;
}
.brand--footer .brand__logo { width: 21.7rem; }
.footer__tagline {
  margin-top: 0.7rem;
  font-size: 1.1rem;
  line-height: 1.55;
}
.footer__heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.5rem;
}
.footer__list { margin-top: 1rem; }
.footer__list li { font-size: 1.1rem; line-height: 1.6; }
.footer__list a,
.footer__legal a {
  display: inline-block;
  padding: 0.5rem 0;
  margin: -0.5rem 0;
  transition: color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .footer__list a:hover,
  .footer__legal a:hover { color: var(--white); }
  .social__link:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy-text); }
}
.footer__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer__list--contact .footer__company { font-weight: 600; color: var(--white); }
.contact-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  fill: var(--yellow);
  stroke: none;
}
.contact-icon .ink { fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
}
.signature--footer { margin-top: 0.6rem; margin-right: 0.4rem; }
.social {
  display: flex;
  gap: 1.3rem;
  margin-top: 4.6rem;
  margin-right: 0.3rem;
}
.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.social__link svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.4rem;
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1rem;
  color: #b3bac7;
}
.footer__registry,
.footer__legal { display: flex; align-items: center; }
.footer__registry { white-space: nowrap; }
.footer__registry li + li::before,
.footer__legal li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.1rem;
  margin: 0 1.1rem;
  vertical-align: -0.15rem;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
[data-reveal][data-reveal-fade] { transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js .hero__title .word { opacity: 1; transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__title .word { opacity: 1; transform: none; transition: none; }
  .card, .card__media img, .card__arrow, .btn__arrow { transition: none; }
}

@media print {
  [data-reveal],
  .hero__title .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__title[data-split-words] { visibility: visible !important; }
}

@media (forced-colors: active) {
  .nav-toggle span { background: ButtonText; forced-color-adjust: none; }
  .nav__link::after, .promo__line { background: CanvasText; forced-color-adjust: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet / small laptop: < 1024px */
@media (max-width: 1023.98px) {
  :root { --gutter: 3.2rem; }

  .site-header__inner { height: 6.4rem; }
  .header-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    margin-left: auto;
  }
  .header-call svg { width: 2.2rem; height: 2.2rem; fill: var(--yellow); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    width: 4.4rem;
    height: 4.4rem;
    margin-left: 0.4rem;
    margin-right: -0.9rem;
    padding: 0 0.9rem;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 0.2rem;
    background: var(--white);
    border-radius: 0.2rem;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.7rem) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.7rem) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    margin: 0;
    padding: 1rem var(--gutter) 2.4rem;
    background: var(--navy);
    box-shadow: 0 2rem 3rem -1.5rem rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 6.4rem);
    max-height: calc(100dvh - 6.4rem);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; animation: menu-in 0.22s var(--ease); }
  .no-js .nav {
    display: flex;
    position: static;
    flex: 0 0 100%;
    padding: 0.6rem 0 2.4rem;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    animation: none;
  }
  .no-js .nav-toggle { display: none; }
  .no-js .site-header__inner { height: auto; flex-wrap: wrap; padding-top: 1rem; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .nav__list li { height: auto; }
  .nav__link { height: auto; padding: 1.3rem 0; font-size: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav__link::after { display: none; }
  .btn--nav { margin: 2rem 0 0; height: 4.4rem; font-size: 1.1rem; }
  .nav__call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 4.4rem;
    margin-top: 1.2rem;
    border: 0.15rem solid rgba(255, 255, 255, 0.85);
    border-radius: 0.3rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
  }
  .nav__call svg { width: 1.8rem; height: 1.8rem; fill: var(--yellow); }
  .lang { margin: 1.6rem 0 0; font-size: 1.3rem; }
  .lang__item { display: inline-flex; align-items: center; min-height: 4.4rem; padding: 0 1.4rem; margin: 0; }
  .lang__item:first-child { padding-left: 0; }

  .hero { min-height: 56rem; }
  .hero__inner { min-height: 0; }
  .hero__img { object-position: 62% 50%; }
  .experience__media picture { left: 0; width: 100%; }
  .experience__img { object-position: 55% 45%; }
  .experience__media::before {
    background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(11, 19, 36, 0.92) 35%, rgba(11, 19, 36, 0.6) 60%, rgba(11, 19, 36, 0.35) 100%);
  }
  .hero__media::before {
    background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(11, 19, 36, 0.9) 45%, rgba(11, 19, 36, 0.45) 75%, rgba(11, 19, 36, 0.2) 100%);
  }
  .hero__inner { padding-top: 4.8rem; padding-bottom: 3.4rem; gap: 4.8rem; }
  .hero__content { max-width: 52rem; }
  .hero__title { font-size: 5.6rem; }
  .hero__lead { font-size: 1.7rem; }
  .hero__note { margin-top: 1.4rem; font-size: 1.25rem; gap: 0.8rem; }
  .hero__note-icon { width: 1.6rem; height: 1.6rem; }
  .hero__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; padding-top: 0; }
  .feature { gap: 1.4rem; }
  .feature__icon { width: 3.8rem; height: 3.8rem; }
  .feature__text strong { font-size: 1.35rem; }
  .feature__text span { font-size: 1.3rem; }
  .hero__signature { position: static; align-self: flex-end; margin-top: -1rem; font-size: 3rem; }

  .section-title { font-size: 3.2rem; }
  .services { padding: 4.8rem 0; }
  .services__head { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 1rem; }
  .services__intro { max-width: 56rem; font-size: 1.3rem; padding-top: 0; }
  .services__intro br { display: none; }
  .services__cta { justify-self: start; margin-top: 0.4rem; height: 4.4rem; padding: 0 2.2rem; font-size: 1rem; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
  .card__media { height: 16rem; }
  .card__body { padding: 2rem 2rem 4rem; }
  .card__title { font-size: 1.9rem; }
  .card__text { font-size: 1.3rem; }
  .offer-strip { gap: 2rem 2.4rem; margin-top: 2rem; padding: 2.4rem 2rem; }
  .offer-strip__icon { width: 4.2rem; height: 4.2rem; }
  .offer-strip__body { flex-basis: calc(100% - 7rem); }
  .offer-strip__title { font-size: 1.9rem; }
  .offer-strip__text { font-size: 1.3rem; }
  .offer-strip__stat { padding-left: 0; border-left: 0; }
  .offer-strip__value { font-size: 3.2rem; }
  .offer-strip__label { font-size: 1.2rem; }
  .offer-strip__cta { margin-left: auto; height: 4.4rem; padding: 0 2.2rem; font-size: 1rem; }

  .experience__inner { grid-template-columns: 1fr; padding: 4.8rem 0; gap: 3.2rem; }
  .experience__content { max-width: 56rem; }
  .experience__content .section-title { margin-right: 0; }
  .experience__text { font-size: 1.35rem; max-width: 52rem; }
  .stat__value { font-size: 3.2rem; }
  .stat__label { font-size: 1.2rem; }
  .promo { margin-top: 0; width: 22rem; padding: 2.4rem 2rem; }
  .promo__claim { font-size: 1.6rem; }

  .band { padding: 2.4rem 0; }
  .band__inner { flex-wrap: wrap; gap: 1.6rem 2rem; }
  .band__title { font-size: 1.8rem; }
  .band__sub { font-size: 1.3rem; }
  .band__cta { margin-left: 0; width: 100%; height: 4.4rem; }

  .clients { padding: 3.6rem 0; }
  /* 60rem mieści cztery logotypy w wierszu: układ 4 + 3 zamiast 5 + 2 */
  .clients__list { flex-wrap: wrap; justify-content: center; gap: 2.4rem 4.8rem; max-width: 60rem; margin: 2.6rem auto 0; }
  .client-logo { --k: 1.15; }

  .site-footer { padding-top: 4.8rem; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3.6rem 3rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__tagline, .footer__list li, .footer__heading { font-size: 1.3rem; }
  .footer__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; justify-self: stretch; }
  .signature--footer { margin: 0; }
  .social { margin: 0; }
  .footer__bottom { flex-direction: column; gap: 1.2rem; text-align: center; font-size: 1.2rem; margin-top: 4rem; }
  .footer__registry { flex-wrap: wrap; justify-content: center; }
}

/* Mobile: < 640px */
@media (max-width: 639.98px) {
  :root { --gutter: 2rem; }

  .brand__logo { width: 18rem; }

  .hero { min-height: 0; }
  .hero__inner { padding-top: 4rem; padding-bottom: 3.2rem; gap: 3.6rem; }
  .hero__title { font-size: 4.4rem; }
  .hero__title br { display: none; }
  .hero__lead { font-size: 1.5rem; }
  .hero__lead br { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__features { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__signature { align-self: flex-end; font-size: 2.8rem; margin-top: 0; }
  .hero__img { object-position: 50% 50%; }
  .experience__media::before {
    background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(11, 19, 36, 0.9) 45%, rgba(11, 19, 36, 0.55) 75%, rgba(11, 19, 36, 0.4) 100%);
  }
  .hero__media::before {
    background: linear-gradient(180deg,
      var(--navy-deep) 0%,
      rgba(11, 19, 36, 0.96) 28%,
      rgba(11, 19, 36, 0.72) 48%,
      rgba(11, 19, 36, 0.35) 68%,
      rgba(11, 19, 36, 0.25) 100%);
  }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(11, 19, 36, 0) 55%, rgba(11, 19, 36, 0.75) 100%);
  }
  .feature { gap: 1.2rem; }
  .feature__icon { width: 3.4rem; height: 3.4rem; }
  .feature__text strong { font-size: 1.4rem; }
  .feature__text span { font-size: 1.3rem; }
  .hero__note { font-size: 1.35rem; }

  .section-title { font-size: 3rem; }
  .services { padding: 4rem 0; }
  .services__head { grid-template-columns: 1fr; gap: 1.6rem; }
  .cards { grid-template-columns: 1fr; gap: 1.6rem; }
  .card__media { height: 14rem; }
  .card__body { min-height: 0; padding: 1.6rem 2rem 3.6rem; }
  .card--static .card__body { min-height: 0; padding-bottom: 2rem; }
  .offer-strip { flex-direction: column; align-items: flex-start; gap: 1.6rem; margin-top: 1.6rem; }
  .offer-strip__body { flex-basis: auto; }
  .offer-strip__cta { margin-left: 0; width: 100%; }

  .experience__inner { padding: 4rem 0; }
  .stats { flex-direction: column; align-items: stretch; gap: 1.6rem; }
  .stat { border-right: 0; margin-right: 0; padding-right: 0; }
  .promo { width: 100%; }

  .band__inner { flex-direction: column; align-items: flex-start; }

  .clients__list { gap: 2.4rem 3.6rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .footer__aside { flex-direction: column; align-items: flex-start; gap: 2.4rem; }
  /* linki w stopce jako wygodne cele dotyku (44 px) */
  .footer__list { margin-top: 0.4rem; }
  .footer__list a,
  .footer__legal a { display: inline-flex; align-items: center; min-height: 4.4rem; padding: 0; margin: 0; }
  .footer__list--contact li { align-items: center; margin-bottom: 0; min-height: 4.4rem; }
  .footer__list--contact .footer__company { min-height: 0; padding: 0.6rem 0 0.4rem; }
  .footer__list--contact .contact-icon { margin-top: 0; }
  .footer__bottom { gap: 0.4rem; }
}

/* ==========================================================================
   Podstrony (O nas, Oferta, Flota, Kariera, Kontakt, strony prawne)
   Rozwijają układ strony głównej; jedyny nowy motyw to linia trasy z przystankami
   (.route-nav – nawigacja po usługach, .route-steps – kroki zamówienia).
   ========================================================================== */

/* ---------- Sekcje i tekst ---------- */
.section { padding: 4.4rem 0 4.8rem; }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--navy-deep); color: var(--white); }

.text {
  max-width: 68ch;
  margin-top: 1.2rem;
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
}
.nowrap { white-space: nowrap; }
.text--lead { margin-top: 1rem; color: var(--muted-light); }
.text--note { color: var(--muted-light); }
.text--label { font-weight: 600; color: var(--navy-text); }
.section--dark .text { color: var(--text-light); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.3rem 0;
  font-size: clamp(13px, 1.1rem, 15.5px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-text);
  background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 0.2rem no-repeat;
}
.link-arrow svg {
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg { transform: translateX(0.3rem); }
}

/* lista z żółtą kreską zamiast punktora */
.marks {
  margin-top: 1rem;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--text);
}
.marks li { position: relative; padding-left: 1.9rem; }
.marks li + li { margin-top: 0.6rem; }
.marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.9rem;
  height: 0.25rem;
  background: var(--yellow);
}

/* pary „cecha – wartość” */
.facts {
  max-width: 46rem;
  margin: 1.8rem 0 0;
  border-top: 1px solid var(--hairline);
  font-size: var(--body);
  line-height: 1.45;
}
.facts > div {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1.6rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
}
.facts dt { color: var(--muted-light); }
.facts dd { margin: 0; font-weight: 600; color: var(--navy-text); }
.facts--wide { max-width: 56rem; }
.facts--wide > div { grid-template-columns: 8.5rem minmax(0, 1fr); }
.facts--wide dt { font-weight: 700; color: var(--navy-text); }
.facts--wide dd { font-weight: 400; color: var(--text); }

/* ---------- Nagłówek podstrony ---------- */
.page-hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40%;
  width: 60%;
  height: 100%;
}
.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.page-hero__img--oferta { object-position: 60% 42%; }
.page-hero__img--o-nas { object-position: 50% 48%; }
.page-hero__img--flota { object-position: 60% 55%; }
.page-hero__img--kariera { object-position: 50% 38%; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 19, 36, 0) 55%, rgba(11, 19, 36, 0.5) 100%),
    linear-gradient(90deg,
      var(--navy-deep) 0%,
      var(--navy-deep) 40%,
      rgba(11, 19, 36, 0.9) 47%,
      rgba(11, 19, 36, 0.5) 58%,
      rgba(11, 19, 36, 0.14) 72%,
      rgba(11, 19, 36, 0.1) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* stała odległość od góry: tytuł nie skacze między stronami */
  min-height: 20rem;
  padding-top: 4.4rem;
  padding-bottom: 3.6rem;
}
.page-hero--plain .page-hero__inner { min-height: 16rem; }
.page-hero--tall .page-hero__inner { min-height: 34rem; }
.page-hero__title {
  max-width: 52rem;
  margin-top: 1rem;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.page-hero__lead {
  max-width: 45rem;
  margin-top: 1.4rem;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--text-light);
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.page-hero__note {
  margin-top: 2rem;
  font-size: clamp(14px, 1.2rem, 17px);
  color: var(--text-light);
}
.page-hero__note a {
  font-weight: 700;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

/* jedno wejście na stronę: etykieta zanika, tytuł i lead podjeżdżają z krótkim, malejącym odstępem */
.page-hero__inner > * { animation: rise-in 0.45s var(--ease) both; }
.page-hero__inner > :nth-child(1) { animation-name: fade-in; }
.page-hero__inner > :nth-child(2) { animation-delay: 50ms; }
.page-hero__inner > :nth-child(3) { animation-delay: 120ms; }
.page-hero__inner > :nth-child(4) { animation-delay: 180ms; }
.page-hero__inner > :nth-child(5) { animation-delay: 230ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(1rem); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Linia trasy: nawigacja po usługach (Oferta) ---------- */
.route-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
.route-nav__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
/* szara linia łączy środki pierwszego i ostatniego przystanku, żółta rośnie do bieżącego */
.route-nav__list::before,
.route-nav__list::after {
  content: "";
  position: absolute;
  top: 2.1rem;
  left: 0.7rem;
  width: calc(100% / 6 * 5);
  height: 0.2rem;
  background: #d5dae2;
}
.route-nav__list::after {
  background: var(--yellow);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  transition: transform 0.3s var(--ease-in-out);
}
.route-nav__stop {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1.5rem 1rem 1.3rem 0;
  font-size: clamp(12px, 1.05rem, 15px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted-light);
  transition: color 0.2s var(--ease);
}
.route-nav__dot {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  border: 0.2rem solid #c3cad5;
  border-radius: 50%;
  background: var(--white);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.route-nav__label { display: block; margin-top: 0.7rem; white-space: nowrap; }
.route-nav__stop.is-passed .route-nav__dot { border-color: var(--yellow); background: var(--yellow); }
.route-nav__stop.is-current { color: var(--navy-text); font-weight: 700; }
.route-nav__stop.is-current .route-nav__dot { border-color: var(--yellow); background: var(--navy-text); }
.route-nav__stop:focus-visible { outline-offset: -2px; box-shadow: inset 0 0 0 4px var(--navy-text); }
@media (hover: hover) and (pointer: fine) {
  .route-nav__stop:hover { color: var(--navy-text); }
  .route-nav__stop:hover .route-nav__dot { border-color: var(--navy-text); }
  .route-nav__stop.is-current:hover .route-nav__dot,
  .route-nav__stop.is-passed:hover .route-nav__dot { border-color: var(--yellow); }
}

/* ---------- Usługi (Oferta) ---------- */
.services-list { padding-bottom: 1.2rem; }
.service {
  display: grid;
  grid-template-columns: 34rem minmax(0, 1fr);
  gap: 4.4rem;
  align-items: start;
  padding: 4.4rem 0;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 7.2rem;
}
.service:first-child { border-top: 0; }
.service__media {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-card);
}
.service__media picture,
.service__media img { width: 100%; height: 100%; }
.service__media img { object-fit: cover; }
.service__media--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem 3rem;
  color: var(--white);
}
.service__stat-icon {
  width: 4.2rem;
  height: 4.2rem;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service__stat-value {
  margin-top: 1.8rem;
  font-size: 5.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
}
.service__stat-label { margin-top: 0.9rem; font-size: 1.3rem; font-weight: 500; }
.service__body { max-width: 48rem; }
.service__body .text,
.service__body .facts { max-width: none; }
.service__title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy-text);
}

/* ---------- Pas CTA: dodatki ---------- */
.band__link { font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- O nas ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28rem;
  gap: 5.6rem;
  align-items: center;
}
.stats-card {
  padding: 0.6rem 2.6rem;
  background: var(--navy-card);
  border-radius: var(--radius);
  color: var(--white);
}
.stats-card .stat {
  margin: 0;
  padding: 2rem 0;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.stats-card .stat:last-child { border-bottom: 0; }

.values { margin-top: 2.6rem; border-top: 1px solid #d0d6de; }
.value {
  display: grid;
  grid-template-columns: 26rem minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
  padding: 2.8rem 0;
  border-bottom: 1px solid #d0d6de;
}
.value__word {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy-text);
}
.value__body .text { margin-top: 0; }
.value__body .link-arrow { margin-top: 1.4rem; }

/* ---------- Flota ---------- */
.spec-wrap { margin-top: 2.4rem; }
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--body);
  line-height: 1.5;
  text-align: left;
}
.spec thead th {
  padding: 0 1.6rem 1rem 0;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--muted-light);
  border-bottom: 1px solid #c3cad5;
}
.spec tbody th,
.spec td {
  padding: 1.9rem 2.4rem 1.9rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
.spec tbody th {
  width: 27%;
  font-size: 1.15em;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy-text);
}
.spec td { color: var(--text); }
.spec td:last-child {
  width: 1%;
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}
.spec .link-arrow { margin-top: 0; }

.standards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem 3.2rem;
  margin-top: 2.8rem;
}
.standards .feature__icon { width: 3.6rem; height: 3.6rem; }
.standards .feature__text strong { font-size: clamp(14px, 1.3rem, 18px); }
.standards .feature__text span { font-size: clamp(13px, 1.1rem, 15.5px); }
.section--gray .spec thead th { border-bottom-color: #b9c1cd; }
.section--gray .spec tbody th,
.section--gray .spec td { border-bottom-color: #d0d6de; }

/* ---------- Kariera ---------- */
.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32rem;
  gap: 5.6rem;
  align-items: start;
}
.job__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  margin-top: 2.6rem;
}
.job__heading {
  font-size: clamp(15px, 1.4rem, 19px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-text);
}
.job__heading--first { margin-top: 2.4rem; }

/* dwa systemy pracy obok siebie, rozdzielone słowem „lub” */
.shifts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 1.4rem;
  margin-top: 1.2rem;
}
.shift {
  display: flex;
  align-items: center;
  min-height: 7.6rem;
  padding: 1.6rem 2rem;
  background: var(--white);
  border: 1px solid #cfd5de;
  border-left: 0.4rem solid var(--yellow);
  border-radius: var(--radius);
  font-size: clamp(15px, 1.5rem, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy-text);
}
.shifts__or {
  align-self: center;
  font-size: var(--body);
  color: var(--muted-light);
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32rem;
  gap: 5.6rem;
  align-items: start;
}
.contact__main { scroll-margin-top: 2.4rem; }

.contact-card {
  padding: 2.8rem 2.6rem 2.6rem;
  background: var(--navy-card);
  border-radius: var(--radius);
  color: var(--white);
}
.contact-card__title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.contact-card__text {
  margin-top: 1rem;
  font-size: var(--body);
  line-height: 1.55;
  color: #c9d0dc;
}
.contact-card__list { margin-top: 1.8rem; }
.contact-card__list li { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.contact-card__label {
  display: block;
  font-size: clamp(12px, 0.95rem, 13.5px);
  color: var(--muted-dark);
}
.contact-card__value {
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(15px, 1.3rem, 18px);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.contact-card__value--big {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yellow);
  white-space: nowrap;
}
.contact-card__value--small { font-size: clamp(13px, 1.1rem, 15.5px); font-weight: 500; }
.contact-card__value--fine {
  margin-top: 0.8rem;
  font-size: clamp(12px, 1rem, 14px);
  font-weight: 400;
  line-height: 1.5;
  color: #c9d0dc;
  overflow-wrap: normal;
}
/* B5: karta z telefonem zostaje w kadrze podczas wypełniania formularza */
@media (min-width: 1024px) {
  .contact .contact-card { position: sticky; top: 2.4rem; }
}
.contact-card__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card__actions .btn { height: 4.2rem; white-space: normal; text-align: center; }
.contact-card__note {
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: clamp(13px, 1.05rem, 15px);
  line-height: 1.5;
  color: #c9d0dc;
}
.contact-card__note a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1.6rem;
  margin-top: 2.4rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.form__field--full { grid-column: 1 / -1; }
.form__label {
  font-size: clamp(13px, 1.1rem, 15px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-text);
}
.form__hint { font-weight: 400; color: var(--muted-light); }
.form__hint::before { content: "– "; }
.form__req { font-weight: 700; color: #b3261e; }
.form__error {
  font-size: clamp(13px, 1.05rem, 15px);
  font-weight: 600;
  line-height: 1.35;
  color: #b3261e;
}
.form__error[hidden] { display: none; }
.form__nojs {
  max-width: 68ch;
  margin-top: 1.6rem;
  padding: 1.2rem 1.6rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
  font-size: var(--body);
  line-height: 1.5;
  color: var(--text);
}
.form__control {
  width: 100%;
  min-height: clamp(42px, 3.8rem, 50px);
  padding: 0.6rem 1.2rem;
  font: inherit;
  font-size: clamp(15px, 1.25rem, 16px);
  line-height: 1.4;
  color: var(--navy-text);
  background-color: var(--white);
  border: 1px solid #b9c1cd;
  border-radius: 0.3rem;
  transition: border-color 0.2s var(--ease);
}
.form__control:focus-visible {
  outline: 2px solid var(--navy-text);
  outline-offset: 0;
  border-color: var(--navy-text);
  box-shadow: 0 0 0 5px var(--yellow);
}
.form__control[aria-invalid="true"] { border-color: #b3261e; }
.form__control:user-invalid { border-color: #c0392b; }
.form__control--area { min-height: 12rem; padding-top: 1rem; padding-bottom: 1rem; resize: vertical; }
.form__control--select {
  appearance: none;
  padding-right: 3.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23141c2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
  background-size: 1.2rem auto;
}
@media (hover: hover) and (pointer: fine) {
  .form__control:hover { border-color: #8791a1; }
}
.form__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.6rem;
}
.form__actions .btn { flex-shrink: 0; }
.form__note {
  max-width: 48ch;
  font-size: clamp(12px, 1rem, 14px);
  line-height: 1.5;
  color: var(--muted-light);
}
.form__nojs a,
.form__note a,
.form__result-text a {
  color: var(--navy-text);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}
.form__result {
  padding: 2rem 2.2rem 1.2rem;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
.form__result[hidden] { display: none; }
.form__result:not([hidden]) { animation: rise-in 0.3s var(--ease) both; }
.form__result-title {
  font-size: clamp(16px, 1.5rem, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-text);
  outline: none;
}
.form__result-text {
  margin-top: 0.6rem;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--text);
}
.form__result-text--warn { font-weight: 600; color: var(--navy-text); }
.form__result-text[hidden] { display: none; }
.form__result .form__control { margin-top: 1.2rem; font-size: clamp(13px, 1.1rem, 15px); }
.form__result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 44rem;
  margin-top: 1.2rem;
}
.form__copied {
  min-height: 1.5em;
  margin-top: 0.8rem;
  font-size: clamp(13px, 1.05rem, 15px);
  font-weight: 600;
  line-height: 1.5;
  color: #1d7a46;
}
.form__copied.is-error { color: #b3261e; }

/* ---------- Linia trasy: kroki zamówienia (Kontakt) ---------- */
.route-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.4rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
/* linia łączy środki pierwszego i ostatniego numeru; żółta rysuje się po wejściu sekcji w kadr */
.route-steps::before,
.route-steps::after {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: 1.8rem;
  width: calc(75% + 1.8rem);
  height: 0.2rem;
  background: #c9d0db;
}
.route-steps::after {
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.route-steps.is-inview::after { transform: scaleX(1); }
.route-steps__step { position: relative; z-index: 1; }
.route-steps__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 0.2rem solid #c9d0db;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--muted-light);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  transition-delay: var(--at, 0ms);
}
/* numer zapala się, gdy dociera do niego linia */
.route-steps__step:nth-child(2) .route-steps__dot { --at: 70ms; }
.route-steps__step:nth-child(3) .route-steps__dot { --at: 170ms; }
.route-steps__step:nth-child(4) .route-steps__dot { --at: 420ms; }
.route-steps.is-inview .route-steps__dot {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy-text);
}
.route-steps__title {
  margin-top: 1.4rem;
  font-size: clamp(16px, 1.6rem, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-text);
}
.route-steps__text {
  max-width: 26ch;
  margin-top: 0.5rem;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--text);
}
.no-js .route-steps::after { transform: none; }
.no-js .route-steps__dot { border-color: var(--yellow); background: var(--yellow); color: var(--navy-text); }

/* ---------- Strony prawne ---------- */
.prose {
  max-width: 72ch;
  font-size: var(--body);
  line-height: 1.65;
  color: var(--text);
}
.prose h2 {
  margin-top: 2.2em;
  font-size: 1.45em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy-text);
  scroll-margin-top: 2.4rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose ul { margin-top: 0.9em; }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: #9aa3b2; }
.prose strong { font-weight: 700; color: var(--navy-text); }
.prose sup { font-size: 0.7em; line-height: 0; }
.prose a {
  color: var(--navy-text);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

/* ---------- Strona błędu 404: treść wypełnia okno, stopka zostaje na dole ---------- */
.page-404 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.page-404 main { display: flex; flex: 1 0 auto; flex-direction: column; }
.page-404 .page-hero { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; }
.page-404 .page-hero__inner { justify-content: center; }

/* ---------- Wersje językowe strony głównej ---------- */
.services__head--two { grid-template-columns: 38.4rem minmax(0, 1fr); }
.services__head--two .services__intro { max-width: 48rem; }
.hero__title--long { font-size: 4rem; }

@media print {
  .route-nav { position: static; }
  .route-steps::after { transform: none !important; }
  .page-hero__inner > * { animation: none !important; }
}


/* ---------- Dwa linki obok siebie ---------- */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.8rem;
  margin-top: 1.4rem;
}
.link-row .link-arrow { margin-top: 0; }

/* ---------- Najczęstsze pytania (Oferta) ---------- */
.faq { margin: 2.6rem 0 0; border-top: 1px solid #d0d6de; }
.faq__item {
  display: grid;
  grid-template-columns: 30rem minmax(0, 1fr);
  gap: 3.2rem;
  align-items: start;
  padding: 2.2rem 0;
  border-bottom: 1px solid #d0d6de;
}
.faq__q {
  font-size: clamp(15px, 1.5rem, 20px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy-text);
}
.faq__a { margin: 0; }
.faq__a .text { margin-top: 0; }
.faq__a .link-arrow { margin-top: 1.2rem; }

@keyframes menu-in { from { opacity: 0; transform: translateY(-0.8rem); } }

/* ---------- Podstrony: tablet ---------- */
@media (max-width: 1023.98px) {
  :root { --body: 1.5rem; }

  .section { padding: 4.8rem 0 5.2rem; }

  .page-hero__media picture { left: 28%; width: 72%; }
  .page-hero__media::after {
    background:
      linear-gradient(180deg, rgba(11, 19, 36, 0) 55%, rgba(11, 19, 36, 0.5) 100%),
      linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 28%, rgba(11, 19, 36, 0.88) 45%, rgba(11, 19, 36, 0.55) 70%, rgba(11, 19, 36, 0.35) 100%);
  }
  .page-hero__inner { min-height: 24rem; padding-top: 4.8rem; padding-bottom: 4.4rem; }
  .page-hero--plain .page-hero__inner { min-height: 20rem; }
  .page-hero__note { font-size: 1.5rem; }
  .page-hero__title { max-width: 56rem; font-size: 4.4rem; }
  .page-hero__lead { max-width: 52rem; font-size: 1.7rem; }

  .link-arrow { font-size: 1.4rem; }

  /* od 700 px mieści się wszystkie sześć przystanków; etykiety mogą łamać się na dwa wiersze */
  .route-nav__stop { padding: 1.6rem 1rem 1.4rem 0; font-size: 1.3rem; }
  .route-nav__label { margin-top: 0.8rem; white-space: normal; }

  .service { grid-template-columns: 26rem minmax(0, 1fr); gap: 3.2rem; padding: 4rem 0; scroll-margin-top: 9.6rem; }
  .service__body { max-width: none; }
  .service__title { font-size: 2.6rem; }
  .service__stat-value { font-size: 4.8rem; }
  .service__stat-label { font-size: 1.4rem; }
  .facts > div { grid-template-columns: 15rem minmax(0, 1fr); }
  .facts--wide > div { grid-template-columns: 9.5rem minmax(0, 1fr); }

  .about,
  .job,
  .contact { grid-template-columns: 1fr; gap: 3.6rem; }
  .stats-card { display: flex; padding: 2.4rem 2.6rem; }
  .stats-card .stat { flex: 1; padding: 0 2rem 0 0; margin-right: 2rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .stats-card .stat:last-child { margin-right: 0; padding-right: 0; border-right: 0; }

  .value { grid-template-columns: 20rem minmax(0, 1fr); gap: 2.4rem; }
  .shift { font-size: 1.7rem; }
  .value__word { font-size: 3.2rem; }

  .spec tbody th { width: 30%; }
  .spec td:last-child { white-space: normal; text-align: left; width: 22%; }

  .contact-card { padding: 3rem 2.8rem; }
  /* karta na całą szerokość: dane kontaktowe w dwóch kolumnach */
  .contact-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.2rem; }
  .contact-card__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* nieparzysta liczba pozycji: ostatnia na całą szerokość */
  .contact-card__title { font-size: 2.2rem; }
  .contact-card__value--big { font-size: 2.8rem; }
  .contact-card__actions { flex-direction: row; flex-wrap: wrap; }
  .contact-card__actions .btn { flex: 1 1 24rem; height: 4.8rem; font-size: 1.15rem; }

  .form__control { min-height: 4.8rem; font-size: 1.6rem; }
  .form__label { font-size: 1.4rem; }
  .form__note { max-width: 62ch; font-size: 1.3rem; }
  .form__error { font-size: 1.35rem; }
  .form__actions { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .form__actions .btn { height: 4.8rem; font-size: 1.15rem; }
  .form__result-actions .btn { height: 4.4rem; font-size: 1.1rem; }
  .form__copied { font-size: 1.35rem; }

  .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem 3.2rem; }
  .standards .feature__text strong { font-size: 1.6rem; }
  .standards .feature__text span { font-size: 1.4rem; }

  .faq__item { grid-template-columns: 24rem minmax(0, 1fr); gap: 2.4rem; }
  .faq__q { font-size: 1.8rem; }

  .route-steps__dot { width: 4rem; height: 4rem; font-size: 1.6rem; }
  .route-steps::before,
  .route-steps::after { top: 1.9rem; left: 2rem; width: calc(75% + 1.8rem); }
  .route-steps__title { font-size: 1.8rem; }

  .services__head--two { grid-template-columns: 1fr; }
  .hero__title--long { font-size: 4.8rem; }
}

/* ---------- Podstrony: telefon ---------- */
@media (max-width: 639.98px) {
  .section { padding: 4rem 0 4.4rem; }

  .page-hero__media picture { left: 0; width: 100%; }
  .page-hero__media::after {
    background: linear-gradient(180deg, rgba(11, 19, 36, 0.86) 0%, rgba(11, 19, 36, 0.8) 55%, rgba(11, 19, 36, 0.7) 100%);
  }
  .page-hero__inner { min-height: 0; padding-top: 4rem; padding-bottom: 4rem; }
  .page-hero--plain .page-hero__inner { min-height: 0; }
  .page-hero--tall .page-hero__inner { min-height: 40rem; }
  .page-hero__title { font-size: 3.6rem; }
  .page-hero__lead { font-size: 1.55rem; }
  .page-hero__actions { flex-direction: column; align-items: stretch; }

  .service { grid-template-columns: 1fr; gap: 2.2rem; padding: 3.6rem 0; }
  .service__media { aspect-ratio: 16 / 9; }
  .service__media--stat { aspect-ratio: auto; padding: 2.8rem 2.4rem; }
  .service__title { font-size: 2.4rem; }
  .facts > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .facts--wide > div { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.2rem; }

  .stats-card { display: block; padding: 0.6rem 2.4rem; }
  .stats-card .stat { padding: 2rem 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-card .stat:last-child { border-bottom: 0; }

  .value { grid-template-columns: 1fr; gap: 1.2rem; padding: 2.6rem 0; }
  .value__word { font-size: 2.8rem; }

  /* tabela zestawów jako lista bloków */
  .spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .spec,
  .spec tbody,
  .spec tr,
  .spec tbody th,
  .spec td { display: block; width: auto; }
  .spec tr { padding: 2.2rem 0; border-bottom: 1px solid var(--hairline); }
  .spec tbody th,
  .spec td { padding: 0; border-bottom: 0; }
  .spec tbody th { width: auto; font-size: 1.9rem; }
  .spec td { margin-top: 0.8rem; }
  .spec td:last-child { width: auto; margin-top: 1.4rem; }

  .standards { grid-template-columns: 1fr; gap: 1.8rem; }

  .job__cols { grid-template-columns: 1fr; gap: 2.4rem; }
  .shifts { grid-template-columns: 1fr; gap: 0.8rem; }
  .shift { min-height: 0; font-size: 1.7rem; }
  .shift br { display: none; }
  .shifts__or { justify-self: center; }

  .form { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; white-space: normal; height: auto; min-height: 5rem; padding: 1.2rem 2rem; }
  .form__hint { display: block; }
  .form__hint::before { content: none; }
  .form__result-actions { max-width: none; }
  .form__result-actions .btn--dark { grid-column: 1 / -1; }
  .contact-card__actions .btn { flex-basis: 100%; }
  .contact-card__actions--call-first .btn--outline { order: -1; }   /* B14: na telefonie najpierw „Zadzwoń” */
  .contact-card__list { display: block; }
  .contact-card__value--big { font-size: 2.6rem; }

  .faq__item { grid-template-columns: 1fr; gap: 0.8rem; padding: 2rem 0; }
  .link-row { gap: 0.2rem 2.4rem; }

  /* kroki pionowo: każdy odcinek trasy łączy numer z następnym */
  .route-steps { grid-template-columns: 1fr; gap: 0; }
  .route-steps::before,
  .route-steps::after { content: none; }
  .route-steps__step { display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1.6rem; padding-bottom: 2.6rem; }
  .route-steps__step:last-child { padding-bottom: 0; }
  .route-steps__step:not(:last-child)::before,
  .route-steps__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 4rem;
    bottom: 0;
    left: 1.9rem;
    width: 0.2rem;
    background: #c9d0db;
  }
  .route-steps__step:not(:last-child)::after {
    background: var(--yellow);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s var(--ease-in-out);
    transition-delay: calc(var(--n, 0) * 220ms + 100ms);
  }
  .route-steps__step:nth-child(2) { --n: 1; }
  .route-steps__step:nth-child(3) { --n: 2; }
  .route-steps.is-inview .route-steps__step:not(:last-child)::after { transform: scaleY(1); }
  .no-js .route-steps__step:not(:last-child)::after { transform: none; }
  .route-steps__step:nth-child(2) .route-steps__dot { --at: 320ms; }
  .route-steps__step:nth-child(3) .route-steps__dot { --at: 540ms; }
  .route-steps__step:nth-child(4) .route-steps__dot { --at: 760ms; }
  .route-steps__dot { grid-row: 1 / span 2; }
  .route-steps__title { margin-top: 0.7rem; }
  .route-steps__text { max-width: none; }

  .hero__title--long { font-size: 3.9rem; }
}

/* ---------- Oferta: poniżej 700 px przystanki przewijają się w poziomie ---------- */
@media (max-width: 699.98px) {
  .route-nav .container { overflow-x: auto; scrollbar-width: none; }
  .route-nav .container::-webkit-scrollbar { display: none; }
  /* zanikająca prawa krawędź podpowiada, że pasek da się przewinąć; znika na końcu (klasę ustawia main.js) */
  .route-nav .container:not(.is-scrolled-end) {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 5rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 5rem), transparent);
  }
  .route-nav__list { grid-template-columns: repeat(6, 13.4rem); width: max-content; }
  .route-nav__list::before,
  .route-nav__list::after { width: 67rem; }
  .route-nav__stop { font-size: 1.35rem; }
  .route-nav__label { white-space: nowrap; }
}

/* ---------- Ograniczony ruch: komplet reguł na końcu pliku, żeby wygrywały z blokami responsywnymi ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-hero__inner > * { animation: fade-in 0.2s ease both; animation-delay: 0ms; }
  .nav.is-open,
  .form__result:not([hidden]) { animation: none; }
  .route-nav__list::after,
  .route-steps::after,
  .route-steps__step:not(:last-child)::after,
  .route-steps__dot,
  .nav-toggle span,
  .link-arrow svg,
  .btn { transition: none; }
  .btn:active,
  .card:not(.card--static):active { transform: none; }
}

@media (forced-colors: active) {
  .route-nav__list::after,
  .route-steps::after,
  .route-steps__step:not(:last-child)::after,
  .marks li::before { background: CanvasText; forced-color-adjust: none; }
  .route-nav .container { -webkit-mask-image: none; mask-image: none; }
}
