/* =========================================================
   GLOB-TRANS — wersja 2
   ========================================================= */

:root {
  --navy-900: #061a30;
  --navy-800: #0a2540;
  --navy-700: #0f3460;
  --blue-600: #1a65a6;
  --blue-500: #2a7bbf;
  --brand: #398bc5;
  --sky-300: #7cc4f0;
  --sky-100: #d6ecfa;
  --ice: #eef6fc;
  --white: #ffffff;
  --ink: #0f2238;
  --muted: #56687d;
  --line: #dbe6f0;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow: 0 12px 32px -12px rgba(10, 37, 64, .22);
  --shadow-lg: 0 30px 60px -24px rgba(10, 37, 64, .35);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
/* nic nie może poszerzać strony w poziomie (inaczej na telefonach nagłówek i hamburger wyjeżdżają poza ekran) */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
main { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--navy-800);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--sky-300); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.7em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff; box-shadow: 0 10px 24px -10px rgba(42, 123, 191, .8); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 30px -10px rgba(42, 123, 191, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--blue-600); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--navy-800); }
.btn-white:hover { color: var(--blue-600); box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  /* bez backdrop-filter: tworzyłby blok zawierający dla menu mobilnego (position: fixed) */
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 50px; width: auto; transition: height .35s; }
.logo .logo-light { display: none; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: block;
  padding: 10px 14px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--navy-800);
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--blue-600); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-800); white-space: nowrap;
}
.header-phone .ring {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff;
  box-shadow: 0 0 0 0 rgba(57, 139, 197, .5);
  animation: pulse 2.6s infinite;
}
.header-phone small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; }
.header-phone span { line-height: 1.2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(57, 139, 197, .55); } 70% { box-shadow: 0 0 0 14px rgba(57, 139, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 139, 197, 0); } }

/* transparent header over the hero (home) */
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .logo-dark { display: none; }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .logo-light { display: block; }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .main-nav a,
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .header-phone { color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .main-nav a::after { background: var(--sky-300); }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .header-phone small { color: rgba(255, 255, 255, .75); }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .burger span { background: #fff; }
.site-header.is-scrolled { height: 70px; box-shadow: 0 8px 30px -12px rgba(10, 37, 64, .25); }
.site-header.is-scrolled .logo img { height: 42px; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 12px;
}
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 140px;
  background: var(--navy-900) url("../img/oferta2.jpg") center/cover no-repeat;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6, 26, 48, .92) 0%, rgba(10, 37, 64, .72) 45%, rgba(15, 52, 96, .25) 100%),
    linear-gradient(0deg, rgba(6, 26, 48, .7) 0%, rgba(6, 26, 48, 0) 35%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px; margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(124, 196, 240, .14); border: 1px solid rgba(124, 196, 240, .35);
  font-family: var(--font-head); font-size: .85rem; font-weight: 500; letter-spacing: .02em; color: var(--sky-100);
}
.eyebrow b { white-space: nowrap; background: var(--brand); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .accent { background: linear-gradient(90deg, var(--sky-300), #b7e0fb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .85); max-width: 580px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 150px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px;
}
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolly 1.8s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* stats bar overlapping hero */
.stats-wrap { position: relative; z-index: 5; margin-top: -90px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 34px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.stat > strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.1; color: var(--blue-600); }
.stat > span { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); line-height: 1.4; }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 80px) 0 90px;
  background: var(--navy-800) center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 48, .94) 0%, rgba(10, 37, 64, .78) 55%, rgba(26, 101, 166, .5) 100%); }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(124, 196, 240, .08);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 640px; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: var(--sky-300); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 80px 0; }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy-800); color: rgba(255, 255, 255, .8); }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.kicker {
  display: inline-block;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.kicker::before, .section-head.center .kicker::after { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 2px; margin: -2px 12px 0 0; background: currentColor; border-radius: 2px; }
.section-head.center .kicker::after { margin: -2px 0 0 12px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-navy .section-head p { color: rgba(255, 255, 255, .72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }

.media-stack { position: relative; padding: 0 0 60px 40px; }
.media-stack .main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.media-stack .sub {
  position: absolute; left: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.media-stack .badge {
  position: absolute; right: -18px; top: 36px;
  background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff;
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  font-family: var(--font-head); line-height: 1.15;
}
.media-stack .badge > strong { display: block; font-size: 2.3rem; }
.media-stack .badge > span { font-size: .85rem; opacity: .9; }
.media-stack::before {
  content: ""; position: absolute; right: -30px; bottom: 20px; width: 160px; height: 160px; z-index: -1;
  background-image: radial-gradient(var(--sky-300) 2px, transparent 2px); background-size: 16px 16px; opacity: .6;
}

.check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--navy-800); }
.check-list li .tick { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; margin-top: 1px; }
.check-list li .tick .icon { width: 16px; height: 16px; stroke-width: 3; }
.check-list.two { grid-template-columns: 1fr 1fr; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  position: relative; background: #fff; border-radius: var(--radius); padding: 36px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--sky-300)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature .ico {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-100), #fff); color: var(--blue-600);
  box-shadow: inset 0 0 0 1px var(--sky-100);
}
.feature .ico .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.feature h3 { margin-bottom: .45em; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.bg-navy .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.bg-navy .feature p { color: rgba(255, 255, 255, .7); }
.bg-navy .feature .ico { background: rgba(124, 196, 240, .12); color: var(--sky-300); box-shadow: none; }

/* ---------- Fleet preview cards ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fleet-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fleet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.fleet-card .img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.fleet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fleet-card:hover img { transform: scale(1.07); }
.fleet-card .seats {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; background: rgba(10, 37, 64, .82); color: #fff; font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(4px);
}
.fleet-card .seats .icon { width: 15px; height: 15px; }
.fleet-card .body { padding: 20px 22px 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fleet-card h3 { font-size: 1.08rem; margin: 0; }
.fleet-card .body small { display: block; color: var(--muted); font-size: .85rem; }
.fleet-card .arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--blue-600); flex-shrink: 0; transition: background .3s, color .3s, transform .3s var(--ease); }
.fleet-card:hover .arrow { background: var(--brand); color: #fff; transform: rotate(-45deg); }

.center-cta { text-align: center; margin-top: 50px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .num { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--brand); letter-spacing: .1em; }
.service .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff; box-shadow: 0 10px 20px -10px rgba(42, 123, 191, .8); }
.service .ico .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.service h3 { margin-bottom: .4em; }
.service p { margin: 0; color: var(--muted); }

.service-wide {
  display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-800); color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg);
}
.service-wide .text { padding: 60px 56px; }
.service-wide h2 { color: #fff; }
.service-wide h2 em { font-style: normal; color: var(--sky-300); }
.service-wide .img { min-height: 360px; background: center/cover no-repeat; position: relative; }
.service-wide .img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-800), rgba(10, 37, 64, 0) 40%); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 64px 60px; color: #fff;
  background: linear-gradient(120deg, rgba(10, 37, 64, .95), rgba(26, 101, 166, .85)), url("../img/home2.jpg") center/cover;
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(124, 196, 240, .12); }
.cta-band h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 560px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .phone-big { font-family: var(--font-head); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 12px; }

/* ---------- Fleet list (autokary/busy) ---------- */
.fleet-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--navy-800);
  padding: 9px 18px; border-radius: 999px; font: 500 .9rem var(--font-head); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--brand); color: var(--blue-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.vehicle-list { display: grid; gap: 40px; }
.vehicle {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease);
}
.vehicle:hover { box-shadow: var(--shadow); }
.vehicle[hidden] { display: none; }
.vehicle:nth-child(even) .vehicle-gallery { order: 2; }

.vehicle-gallery { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 10px; background: var(--ice); }
.vehicle-gallery a { position: relative; display: block; overflow: hidden; border-radius: 12px; }
.vehicle-gallery a:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.vehicle-gallery a:not(:first-child) { aspect-ratio: 4 / 3; }
.vehicle-gallery.g-2 a:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.vehicle-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vehicle-gallery a:hover img { transform: scale(1.06); }
.vehicle-gallery a::after {
  content: ""; position: absolute; inset: 0; background: rgba(10, 37, 64, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/34px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.vehicle-gallery a:hover::after { opacity: 1; }
.vehicle-gallery .count { position: absolute; right: 12px; top: 12px; z-index: 1; background: rgba(10, 37, 64, .8); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.vehicle-gallery .count .icon { width: 14px; height: 14px; }

.vehicle-info { padding: 44px 46px; display: flex; flex-direction: column; }
.vehicle-info .type { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.vehicle-info h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .5em; }
.vehicle-info > p { color: var(--muted); font-size: .98rem; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin: 8px 0 24px; }
.spec { background: var(--ice); border-radius: 14px; padding: 14px 14px 12px; }
.spec .icon { width: 20px; height: 20px; color: var(--brand); margin-bottom: 6px; }
.spec strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy-800); line-height: 1.2; }
.spec span { font-size: .8rem; color: var(--muted); }
.safety { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.safety b { color: var(--navy-800); font-weight: 600; margin-right: 4px; }
.safety span { background: var(--sky-100); color: var(--blue-600); padding: 3px 11px; border-radius: 999px; font-weight: 600; font-size: .8rem; }

.equipment { list-style: none; padding: 20px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.equipment li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--navy-800); }
.equipment li .icon { width: 16px; height: 16px; color: var(--brand); }

/* ---------- About ---------- */
.rotator { display: inline-block; color: var(--brand); position: relative; min-width: 6.2em; }
.rotator span { display: inline-block; animation: fadeword .5s var(--ease); }
@keyframes fadeword { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tl-item { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.tl-item strong { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--blue-600); line-height: 1.1; margin-bottom: 8px; }
.tl-item span { color: var(--muted); font-size: .95rem; line-height: 1.5; display: block; }

.value-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.value-card + .value-card { margin-top: 36px; }
.value-card .img { min-height: 340px; background: center/cover no-repeat; }
.value-card .text { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.value-card.reverse .img { order: 2; }
.value-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.value-card h2 span { color: var(--brand); display: block; }
.value-card p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card {
  display: flex; gap: 18px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line);
  color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff; flex-shrink: 0; }
.contact-card .ico .icon { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--navy-800); }
.company-card { background: var(--navy-800); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 28px; }
.company-card h3 { color: #fff; margin-bottom: .2em; }
.company-card p { margin: 0; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 460px; background: var(--ice); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pfr { display: flex; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pfr img { width: 160px; height: auto; border-radius: 10px; }
.pfr p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 90px 0 0; position: relative; overflow: hidden; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; left: -160px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 139, 197, .25), transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 56px; position: relative; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2em; letter-spacing: .02em; }
.site-footer .logo img { height: 54px; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--sky-300); }
.footer-nav a { display: inline-flex; align-items: center; gap: 8px; }
.footer-nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--sky-300); margin-top: 4px; }
.footer-bottom { margin-top: 70px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(255, 255, 255, .5); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-800); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand); }

.call-fab {
  display: none; position: fixed; left: 16px; bottom: 16px; z-index: 90;
  align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff; font: 600 .95rem var(--font-head);
  box-shadow: 0 14px 28px -10px rgba(26, 101, 166, .9);
}
.call-fab:hover { color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(6, 26, 48, .94); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; animation: lbin .3s var(--ease); }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: 14px; font-size: .92rem; text-align: center; }
.lb-btn {
  position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s;
}
.lb-btn:hover { background: var(--brand); border-color: var(--brand); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone small { display: none; }
  .main-nav a { padding: 10px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  /* na telefonach/tabletach animacje tylko w pionie — przesunięcie w bok poszerzało stronę */
  .reveal.from-left, .reveal.from-right { transform: translateY(34px); }
  .reveal.is-in.from-left, .reveal.is-in.from-right { transform: none; }
  .media-stack::before { right: 0; }
  .burger { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px 24px 40px; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .site-header.is-scrolled .main-nav { top: 70px; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 18px 4px; font-size: 1.15rem; }
  .main-nav a::after { display: none; }
  .main-nav .mobile-contact { display: grid; gap: 12px; margin-top: 28px; }
  .main-nav .mobile-contact .btn { display: flex; justify-content: center; padding: .95em 1.7em; font-size: 1rem; font-weight: 600; }
  .main-nav .mobile-contact .btn-primary, .main-nav .mobile-contact .btn-primary:hover { color: #fff; }
  .main-nav .mobile-contact .btn-outline { color: var(--blue-600); }
  body.no-scroll { overflow: hidden; }

  .split { grid-template-columns: 1fr; gap: 56px; }
  .split.reverse > :first-child { order: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .service-wide, .value-card { grid-template-columns: 1fr; }
  .value-card.reverse .img { order: 0; }
  .service-wide .img { min-height: 260px; order: -1; }
  .service-wide .img::before { background: linear-gradient(0deg, var(--navy-800), rgba(10, 37, 64, 0) 50%); }
  .vehicle { grid-template-columns: 1fr; }
  .vehicle:nth-child(even) .vehicle-gallery { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .timeline-strip { grid-template-columns: 1fr 1fr; }
  .call-fab { display: inline-flex; }
}
@media (min-width: 1025px) { .main-nav .mobile-contact { display: none; } }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 76px 0; }
  .section-sm { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding-bottom: 120px; }
  .hero-scroll { display: none; }
  .hero p.lead { font-size: 1.05rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 14px; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features, .fleet-grid { grid-template-columns: 1fr; }
  .timeline-strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tl-item { padding: 20px 18px; }
  .tl-item strong { font-size: 1.6rem; }
  .check-list.two { grid-template-columns: 1fr; }
  .media-stack { padding: 0 0 40px 20px; }
  .media-stack .badge { right: 10px; top: 16px; padding: 12px 16px; }
  .media-stack .badge > strong { font-size: 1.8rem; }
  .service { grid-template-columns: 1fr; padding: 28px; }
  .service-wide .text, .value-card .text { padding: 40px 28px; }
  .cta-band { padding: 44px 28px; }
  .vehicle-info { padding: 30px 24px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .pfr { flex-direction: column; text-align: center; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .to-top { bottom: 16px; right: 16px; }
}

/* ---------- drobne warianty ---------- */
.bg-navy .check-list li { color: #fff; }
.bg-navy .check-list li .tick { background: rgba(124, 196, 240, .16); color: var(--sky-300); }
.features.stack { grid-template-columns: 1fr; gap: 18px; }
.feature-row { display: flex; gap: 22px; align-items: center; }
.feature-row .ico { margin: 0; }
.feature-row h3 { margin: 0 0 .2em; }
.features.stack .feature { padding: 26px 28px; }

/* ---------- Formularz kontaktowy ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px 44px 40px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .3em; }
.form-intro { color: var(--muted); font-size: .96rem; margin-bottom: 26px; }
.req { color: #c0392b; font-weight: 600; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy-800); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--ice);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(57, 139, 197, .15); }
.field input[aria-invalid="true"] { border-color: #c0392b; background: #fdf3f2; }
.field-error { color: #c0392b; font-size: .84rem; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue-600); flex-shrink: 0; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-status:empty { display: none; }
.form-status { padding: 14px 18px; border-radius: 12px; font-size: .95rem; font-weight: 500; }
.form-status.is-ok { background: #e8f6ee; color: #1e7a45; border: 1px solid #bfe5cf; }
.form-status.is-error { background: #fdf3f2; color: #a93226; border: 1px solid #f3c9c4; }

.map-consent { min-height: 380px; display: grid; }
.map-placeholder {
  display: grid; justify-items: center; align-content: center; text-align: center; gap: 6px;
  padding: 40px 24px;
  background: linear-gradient(120deg, rgba(234, 244, 251, .92), rgba(214, 236, 250, .92)), url("../img/home2.jpg") center/cover;
}
.map-placeholder .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--blue-600)); color: #fff; margin-bottom: 8px; }
.map-placeholder .ico .icon { width: 26px; height: 26px; }
.map-placeholder p { max-width: 560px; color: var(--muted); font-size: .92rem; }

/* ---------- Polityka prywatności ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h2:first-of-type { margin-top: 1em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose .updated { color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
  .form-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; justify-content: center; }
}
