/* ==========================================================================
   Onion Cars — strona zapowiedzi ("Wkrótce")
   Odtworzenie 1:1 z design_handoff_onion_cars/designs/Onion Cars - Wkrotce.dc.html
   ========================================================================== */

/* ---------- Fonty (self-hosted, RODO) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-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: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kaushan-script-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/kaushan-script-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;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #05030c;
  --bg-elevated: #0d0518;
  --text: #f4f0ff;
  --text-muted: rgba(244, 240, 255, .66);
  --text-dim: rgba(244, 240, 255, .45);
  --text-faint: rgba(244, 240, 255, .38);
  --orange: #ff8a3d;
  --orange-deep: #ff6a2b;
  --orange-soft: #ff9a52;
  --pink: #ff4f9a;
  --magenta: #c026a8;
  --violet: #9b5cff;
  --indigo: #602ceb;
  --green: #5ce08a;
  --green-text: #bff5d2;
  --hairline: rgba(255, 255, 255, .13);
  --hairline-strong: rgba(255, 255, 255, .16);
  --surface: rgba(255, 255, 255, .05);
  --grad-brand: linear-gradient(96deg, #ff8a3d, #ff4f9a 52%, #9b5cff);
  --grad-wordmark: linear-gradient(96deg, #ffb26b, #ff5fa2 45%, #a06bff);
  --grad-title: linear-gradient(100deg, #ffd0a8 0%, #ff7ab0 38%, #b78bff 70%, #7ad2ff 100%);
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--orange-soft); text-decoration: none; }
a:hover { color: var(--orange-deep); }
button, input { font-family: inherit; }
[hidden] { display: none !important; }
input:focus { outline: none; }
input::placeholder { color: rgba(255, 255, 255, .32); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Keyframes ---------- */
@keyframes drift1 {
  0%   { transform: translate3d(-4%, 2%, 0) scale(1.1); }
  50%  { transform: translate3d(6%, -4%, 0) scale(1.25); }
  100% { transform: translate3d(-4%, 2%, 0) scale(1.1); }
}
@keyframes drift2 {
  0%   { transform: translate3d(5%, -3%, 0) scale(1.2); }
  50%  { transform: translate3d(-6%, 5%, 0) scale(1.05); }
  100% { transform: translate3d(5%, -3%, 0) scale(1.2); }
}
@keyframes drift3 {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.15); }
  50%  { transform: translate3d(-5%, 4%, 0) rotate(6deg) scale(1.3); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.15); }
}
@keyframes twinkle  { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes twinkle2 { 0%, 100% { opacity: .75; } 50% { opacity: .2; } }
@keyframes pulseCore {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .9;  transform: scale(1.12); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shoot {
  0%   { transform: translate3d(0, 0, 0) rotate(18deg); opacity: 0; }
  6%   { opacity: 1; }
  26%  { transform: translate3d(78vw, 34vw, 0) rotate(18deg); opacity: 0; }
  100% { transform: translate3d(78vw, 34vw, 0) rotate(18deg); opacity: 0; }
}

/* ---------- Strona ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

/* ---------- Tło: stos warstw (kolejność od spodu) ---------- */
.bg { position: absolute; pointer-events: none; }

.bg--nebula-1 {
  inset: -20%;
  background:
    radial-gradient(58% 46% at 22% 30%, rgba(255, 106, 43, .42) 0%, rgba(255, 106, 43, 0) 62%),
    radial-gradient(52% 44% at 70% 22%, rgba(192, 38, 168, .46) 0%, rgba(192, 38, 168, 0) 66%);
  filter: blur(30px);
  animation: drift1 26s ease-in-out infinite;
}
.bg--nebula-2 {
  inset: -20%;
  background:
    radial-gradient(60% 50% at 78% 62%, rgba(96, 44, 235, .5) 0%, rgba(96, 44, 235, 0) 64%),
    radial-gradient(46% 40% at 38% 78%, rgba(232, 62, 140, .34) 0%, rgba(232, 62, 140, 0) 68%);
  filter: blur(40px);
  animation: drift2 34s ease-in-out infinite;
}
.bg--conic {
  inset: -25%;
  background: conic-gradient(from 210deg at 62% 44%,
    rgba(255, 138, 61, .16),
    rgba(232, 62, 140, .2) 22%,
    rgba(96, 44, 235, .24) 46%,
    rgba(24, 180, 255, .14) 66%,
    rgba(255, 138, 61, .16) 100%);
  filter: blur(70px);
  opacity: .42;
  animation: drift3 46s ease-in-out infinite;
}
.bg--milky {
  left: -10%; right: -10%; top: -6%; height: 80%;
  background: linear-gradient(104deg,
    rgba(255, 255, 255, 0) 26%,
    rgba(214, 196, 255, .11) 44%,
    rgba(255, 220, 200, .08) 52%,
    rgba(255, 255, 255, 0) 70%);
  filter: blur(22px);
  transform: rotate(-9deg);
}
.bg--core {
  width: 46vw; height: 46vw;
  left: 56%; top: -14vw;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 214, 170, .30) 0%,
    rgba(255, 120, 170, .16) 34%,
    rgba(255, 120, 170, 0) 68%);
  filter: blur(16px);
  animation: pulseCore 14s ease-in-out infinite;
}
.bg--stars-s {
  inset: 0;
  opacity: .55;
  background-image:
    radial-gradient(1px 1px at 6% 12%, #fff, transparent),
    radial-gradient(1px 1px at 17% 47%, #fff, transparent),
    radial-gradient(1px 1px at 24% 79%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 33% 22%, #fff, transparent),
    radial-gradient(1px 1px at 41% 66%, #fff, transparent),
    radial-gradient(1px 1px at 49% 35%, #ffe3cf, transparent),
    radial-gradient(1px 1px at 55% 88%, #fff, transparent),
    radial-gradient(1px 1px at 62% 15%, #fff, transparent),
    radial-gradient(1px 1px at 69% 52%, #dcccff, transparent),
    radial-gradient(1px 1px at 76% 31%, #fff, transparent),
    radial-gradient(1px 1px at 81% 71%, #fff, transparent),
    radial-gradient(1px 1px at 88% 44%, #fff, transparent),
    radial-gradient(1px 1px at 95% 19%, #ffd9c0, transparent),
    radial-gradient(1px 1px at 3% 63%, #fff, transparent),
    radial-gradient(1px 1px at 14% 92%, #fff, transparent);
}
.bg--stars-m {
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 28% 62%, #fff, transparent),
    radial-gradient(2px 2px at 44% 12%, #ffd9c0, transparent),
    radial-gradient(1.3px 1.3px at 58% 44%, #fff, transparent),
    radial-gradient(1.7px 1.7px at 71% 76%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 84% 28%, #d9c8ff, transparent),
    radial-gradient(2px 2px at 92% 58%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 8% 84%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 36% 92%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 64% 8%, #fff, transparent);
  animation: twinkle 7s ease-in-out infinite;
}
.bg--stars-l {
  inset: 0;
  background-image:
    radial-gradient(2.4px 2.4px at 21% 34%, #fff2e6, transparent),
    radial-gradient(2.2px 2.2px at 47% 71%, #e8dcff, transparent),
    radial-gradient(2.6px 2.6px at 79% 20%, #fff, transparent),
    radial-gradient(2.2px 2.2px at 66% 63%, #ffd9c0, transparent);
  animation: twinkle2 4.5s ease-in-out infinite;
}
.bg--shoot-1 {
  left: 4%; top: 8%;
  width: 150px; height: 1.4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9));
  border-radius: 2px;
  filter: blur(.4px);
  animation: shoot 13s linear infinite 4s;
}
.bg--shoot-2 {
  left: 22%; top: 2%;
  width: 110px; height: 1.2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 206, 168, .8));
  border-radius: 2px;
  filter: blur(.4px);
  animation: shoot 19s linear infinite 11s;
}
.bg--scan {
  inset: 0;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
}
.bg--dim-top {
  inset: 0;
  background: radial-gradient(78% 58% at 50% 34%, rgba(5, 3, 12, .62) 0%, rgba(5, 3, 12, .28) 55%, rgba(5, 3, 12, 0) 100%);
}
.bg--vignette {
  inset: 0;
  background: radial-gradient(130% 90% at 50% 8%, rgba(5, 3, 12, 0) 32%, rgba(5, 3, 12, .55) 72%, rgba(5, 3, 12, .9) 100%);
}

/* ---------- Kontener ---------- */
.container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ---------- Pasek górny ---------- */
.topbar {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__word {
  font-family: var(--font-script);
  font-size: 30px;
  letter-spacing: .5px;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__tld {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(244, 240, 255, .42);
}
.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lang__btn {
  padding: 7px 18px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  cursor: pointer;
  transition: .2s;
  background: transparent;
  color: rgba(244, 240, 255, .5);
}
.lang__btn:hover { color: rgba(244, 240, 255, .85); }
.lang__btn.is-active {
  background: linear-gradient(96deg, #ff8a3d, #ff4f9a);
  color: var(--bg-elevated);
}
.lang__btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(26px, 4vw, 54px);
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(244, 240, 255, .78);
  animation: rise .7s ease both;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  flex: none;
}
.hero__title {
  margin: 26px 0 0;
  font-size: clamp(46px, 9vw, 116px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
  animation: rise .8s .06s ease both;
}
.hero__title-a {
  display: block;
  background: var(--grad-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* puenta: mniejsza, odręczna — pełne zdanie w rozmiarze H1 zajęłoby pół ekranu */
.hero__title-b {
  display: block;
  margin-top: .32em;
  font-family: var(--font-script);
  font-size: .4em;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: rgba(244, 240, 255, .92);
}
.hero__lede {
  margin: 24px auto 0;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--text-muted);
  text-wrap: pretty;
  animation: rise .8s .12s ease both;
}

/* ---------- Licznik ---------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 18px);
  margin: clamp(32px, 5vw, 52px) 0 0;
  animation: rise .8s .18s ease both;
}
.countdown__tile {
  min-width: clamp(70px, 11vw, 116px);
  padding: clamp(14px, 2vw, 22px) clamp(8px, 1.4vw, 16px);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.countdown__value {
  font-size: clamp(28px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Formularz ---------- */
.signup {
  margin: clamp(32px, 4.5vw, 46px) auto 0;
  max-width: 520px;
  animation: rise .8s .24s ease both;
}
.signup__form {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.signup__form:focus-within { border-color: rgba(255, 255, 255, .26); }
.signup__input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}
.signup__btn {
  flex: none;
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  background: var(--grad-brand);
  color: var(--bg-elevated);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(255, 79, 154, .32);
  transition: filter .2s, box-shadow .2s, opacity .2s;
}
.signup__btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 34px rgba(255, 79, 154, .5);
}
.signup__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.signup__btn[disabled] { opacity: .6; cursor: progress; }
.signup__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-faint);
}
.signup__success,
.signup__error {
  padding: 20px 26px;
  border-radius: 18px;
  font-size: 15px;
}
.signup__success {
  border: 1px solid rgba(92, 224, 138, .34);
  background: rgba(92, 224, 138, .09);
  color: var(--green-text);
}
.signup__error {
  border: 1px solid rgba(255, 106, 43, .38);
  background: rgba(255, 106, 43, .09);
  color: #ffd3bd;
}
/* honeypot — poza ekranem, nie display:none (boty to wykrywają) */
.signup__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

/* ---------- Pas ze zdjęciem auta ---------- */
.car {
  position: relative;
  z-index: 1;
  margin-top: clamp(-140px, -9vw, -40px);
}
.car__frame {
  position: relative;
  height: clamp(320px, 46vw, 600px);
  overflow: hidden;
}
/* maska na nieskalowanym wrapperze — na <img> ze scale(1.22) przesuwałaby się razem z nim
   i przy górnej krawędzi ramki zostawał twardy szew */
.car__media {
  position: absolute;
  inset: 0;
  display: block;
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .06) 12%, rgba(0, 0, 0, .22) 24%,
    rgba(0, 0, 0, .55) 36%, rgba(0, 0, 0, .85) 48%, #000 60%, #000 72%,
    rgba(0, 0, 0, .45) 86%, transparent 100%);
  mask-image: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .06) 12%, rgba(0, 0, 0, .22) 24%,
    rgba(0, 0, 0, .55) 36%, rgba(0, 0, 0, .85) 48%, #000 60%, #000 72%,
    rgba(0, 0, 0, .45) 86%, transparent 100%);
}
.car__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.04);
  transform-origin: 50% 58%;
}
/* nakładki gasną przy dolnej krawędzi — inaczej zostaje twardy szew nad sekcją floty */
.car__ov {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.car__ov--bottom {
  background: linear-gradient(180deg, rgba(5, 3, 12, 0) 0%, rgba(5, 3, 12, 0) 40%, rgba(5, 3, 12, .18) 66%, rgba(5, 3, 12, .96) 100%);
}
.car__ov--right {
  background: radial-gradient(72% 92% at 108% 104%, rgba(5, 3, 12, .97) 0%, rgba(9, 5, 20, .82) 34%, rgba(5, 3, 12, 0) 66%);
}
.car__ov--left {
  background: radial-gradient(60% 80% at -8% 100%, rgba(5, 3, 12, .85) 0%, rgba(5, 3, 12, 0) 60%);
}
/* ---------- Flota: auto partnera + miejsca na kolejne ---------- */
.fleet {
  margin-top: clamp(-40px, -2vw, -8px);
}
.fleet-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  min-height: 18px;
  margin-bottom: -10px;
  line-height: 1;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.fleet__partner {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: none;
  text-decoration: none;
  background: var(--grad-wordmark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: filter .2s ease;
}
.fleet__partner:hover { filter: brightness(1.18); }
.fleet__partner:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }

.fleet__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .72fr);
  gap: 14px;
}
.fleet-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  overflow: hidden;
}
.fleet-card--car {
  display: flex;
  flex-direction: column;
}
.fleet-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: pointer;
}
.fleet-card__media:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }
.fleet-card__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(10, 5, 22, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.fleet-card__count svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.fleet-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fleet-card__media:hover img { transform: scale(1.03); }
.fleet-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 22px;
}
.fleet-card__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text);
}
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.spec__icon {
  width: 20px;
  height: 20px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--orange-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spec__value {
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text);
}
.spec__label {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-dim);
}
.fleet-card__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.fleet-card__cta:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.fleet-card__cta:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.fleet-card--soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 220px;
  padding: 28px 22px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .02);
  text-align: center;
}
.fleet-card__onion {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 18px rgba(255, 79, 154, .35));
}
.fleet-card__soon-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-wrap: balance;
}
.fleet-card__soon-body {
  font-size: 13px;
  font-weight: 300;
  color: rgba(244, 240, 255, .55);
}
/* 1180 → dwa auta obok siebie, cebula pod spodem na całą szerokość → wszystko w kolumnie */
@media (max-width: 960px) {
  .fleet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-card--soon { grid-column: 1 / -1; min-height: 150px; }
}
@media (max-width: 600px) {
  .fleet__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .fleet-card__body { padding: 18px 16px 20px; }
  .spec { padding: 10px; }
  .spec__value { font-size: 15px; }
}

/* ---------- Galeria (dialog) ---------- */
html:has(.gallery[open]) { overflow: hidden; }
.gallery {
  width: 100%;
  height: 100%;
  outline: none;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.gallery::backdrop {
  background: rgba(5, 3, 12, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.gallery__stage {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(64px, env(safe-area-inset-top, 0px)) clamp(16px, 7vw, 96px) max(64px, env(safe-area-inset-bottom, 0px));
}
.gallery__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  user-select: none;
  -webkit-user-drag: none;
}
.gallery__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  background: rgba(13, 5, 24, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.gallery__btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.gallery__btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.gallery__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery__btn--close { top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; }
.gallery__btn--prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.gallery__btn--next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.gallery__counter {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
/* na telefonie strzałki schodzą na dół obok licznika, żeby nie zasłaniać zdjęcia */
@media (max-width: 600px) {
  .gallery__btn--prev, .gallery__btn--next { top: auto; bottom: max(8px, env(safe-area-inset-bottom, 0px)); transform: none; }
  .gallery__btn--prev { left: 16px; }
  .gallery__btn--next { right: 16px; }
  .gallery__counter { bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 14px)); }
}

/* ---------- Obietnice + stopka ---------- */
.bottom {
  padding-top: clamp(20px, 4vw, 44px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
/* 3 → 1 bez etapu 2+1 (osierocony kafelek) */
@media (max-width: 760px) {
  .promises { grid-template-columns: 1fr; }
}
.promise {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
}
.promise__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text);
}
.promise__body {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(244, 240, 255, .55);
}
.footer {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Ukryty podgląd licznika (#stats) ---------- */
.stats-pill {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  padding: 8px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(10, 5, 22, .7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 240, 255, .78);
  font-variant-numeric: tabular-nums;
}

/* ---------- Ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg { animation: none !important; }
  .badge, .hero__title, .hero__lede, .countdown, .signup { animation: none !important; opacity: 1; transform: none; }
  .lang__btn, .signup__btn { transition: none; }
}
