/* ============================================================
   ONLY FAST CARS · Poznań — design system "Quiet Luxury"
   Fotografia na pierwszym planie, ciemne szkło, spokojna typografia.
   Czerwień marki tylko jako drobny akcent i kolory funkcjonalne.
   ============================================================ */

:root {
  --bg0: #0a0a0b;
  --bg1: #101012;
  --bg2: #16161a;
  --ink: #f5f5f4;
  --dim: #a2a6ac;
  --line: rgba(255, 255, 255, .08);
  --red: #e32227;
  --red2: #ff4a50;
  --amber: #f5a524;
  --green: #2fbf71;
  --glass-bg: rgba(17, 17, 19, .55);
  --glass-border: rgba(255, 255, 255, .1);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, .45);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --font-display: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-data: "Hanken Grotesk", "Segoe UI", sans-serif;
  --nav-h: 76px;
}

/* ---------- reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(227, 34, 39, .85); color: #fff; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .75); outline-offset: 3px; border-radius: 6px; }

body::after { /* delikatne ziarno */
  content: "";
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- typografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.07;
  margin: 0;
}
.eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red);
  flex: none;
}
.accent { color: var(--red); }

/* podkreślenie odręczne (marker) — jak na oryginalnej stronie */
.swash { position: relative; display: inline-block; white-space: nowrap; }
.swash svg {
  position: absolute;
  left: -2%; width: 104%;
  bottom: -.02em; height: .28em;
  fill: var(--red);
  overflow: visible;
  pointer-events: none;
}
.lead { color: var(--dim); font-size: 1rem; max-width: 58ch; font-weight: 400; }

/* ---------- layout ---------- */
.container { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head .lead { margin-top: 12px; }

/* ---------- ciemne szkło ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), var(--shadow-lg);
}

/* subtelna poświata (ekran logowania admina) */
.streak {
  position: absolute;
  pointer-events: none;
  width: 120%;
  height: 200px;
  left: -10%;
  background: radial-gradient(50% 100% at 50% 50%, rgba(227, 34, 39, .12), transparent 70%);
  filter: blur(50px);
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #fff;
  color: #0b0b0c;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}
.btn-primary:hover { background: #ebebeb; box-shadow: 0 16px 44px rgba(0, 0, 0, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(227, 34, 39, .28);
}
.btn-red:hover { background: #c91d22; box-shadow: 0 14px 38px rgba(227, 34, 39, .4); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- chipy ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: .74rem;
  font-weight: 450;
  letter-spacing: .02em;
  color: var(--dim);
}
.chip b { color: var(--ink); font-weight: 550; }
.chip-red { border-color: rgba(227, 34, 39, .45); color: #ff9ea1; background: rgba(227, 34, 39, .1); }

/* ============================================================
   NAWIGACJA
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 11, .62);
  border-bottom-color: var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav-inner { display: flex; align-items: center; gap: 34px; width: min(1240px, 92vw); margin-inline: auto; }
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: .86rem;
  font-weight: 450;
  color: var(--dim);
  padding: 6px 2px;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(255, 255, 255, .7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { padding: 10px 22px; font-size: .84rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--ink); transition: .3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 8, 9, .88);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 500;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  letter-spacing: -.01em;
  padding: 12px;
  color: var(--ink);
}
.mobile-menu a:hover { color: var(--dim); }

/* ============================================================
   HERO — pełnoekranowa fotografia
   ============================================================ */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 34px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.02);
  animation: hero-drift 26s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.07) translateX(-1.2%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55), transparent 24%),
    linear-gradient(180deg, transparent 34%, rgba(10,10,11,.66) 76%, rgba(10,10,11,.96)),
    linear-gradient(100deg, rgba(10,10,11,.72), rgba(10,10,11,.12) 58%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 46px; }
.hero-content h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.5rem);
  font-weight: 500;
  max-width: 24ch;
}
.hero-sub {
  margin: 22px 0 32px;
  max-width: 48ch;
  color: #cbcdd1;
  font-size: 1.02rem;
  font-weight: 350;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 26px; right: 5vw;
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), transparent);
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ============================================================
   FLOTA — karty aut
   ============================================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.car-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg1);
}
.car-card::after { /* scrim pod podpisem */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 62%;
  background: linear-gradient(180deg, transparent, rgba(6,6,7,.72));
  pointer-events: none;
}
.car-media { position: absolute; inset: 0; }
.car-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.car-card:hover .car-media img { transform: scale(1.06); }
.car-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  padding: 7px 14px;
  background: rgba(12, 12, 14, .42);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #eceded;
}
/* podpis na szkle */
.car-cap {
  position: absolute; z-index: 3;
  left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  padding: 16px 18px;
  background: rgba(14, 14, 16, .42);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 16px 40px rgba(0, 0, 0, .35);
  transition: background .35s, border-color .35s;
}
.car-card:hover .car-cap { background: rgba(18, 18, 21, .58); border-color: rgba(255, 255, 255, .26); }
.car-cap-tx { min-width: 0; }
.car-name { font-size: 1.02rem; font-weight: 550; letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.car-tag {
  color: #b9bcc1; font-size: .8rem; margin: 3px 0 0;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.car-specs { display: flex; gap: 12px; margin-top: 10px; font-size: .72rem; color: #b9bcc1; }
.car-specs span { display: inline-flex; align-items: center; }
.car-specs span + span::before {
  content: ""; width: 1px; height: 10px;
  background: rgba(255, 255, 255, .25); margin-right: 12px;
}
.car-price { text-align: right; flex: none; }
.car-price span { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #a7abb1; }
.car-price b { font-size: 1.02rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.car-price b small { font-size: .7rem; font-weight: 400; color: #a7abb1; }

/* ============================================================
   PASY EDYTORSKIE (Dlaczego my)
   ============================================================ */
.band {
  position: relative;
  min-height: clamp(460px, 66vh, 640px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 120px);
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }

/* przyciemnienie pod tekst — bez wtapiania krawędzi w tło */
.band-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,9,.55), transparent 40%, rgba(8,8,9,.8)),
    linear-gradient(90deg, rgba(8,8,9,.78), rgba(8,8,9,.15) 62%);
}
.band--right .band-shade {
  background:
    linear-gradient(180deg, rgba(8,8,9,.55), transparent 40%, rgba(8,8,9,.8)),
    linear-gradient(270deg, rgba(8,8,9,.78), rgba(8,8,9,.15) 62%);
}
.band-inner { position: relative; z-index: 2; }
.band-copy { max-width: 600px; }
.band--right .band-copy { margin-left: auto; text-align: right; }
.band-eyebrow {
  margin: 0 0 16px;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--red2);
}
.band-title {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.band-text { margin: 18px 0 26px; color: #c5c8cc; font-size: .96rem; font-weight: 350; }
.band-link {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  font-size: .86rem; font-weight: 500;
  letter-spacing: .04em;
  transition: border-color .3s, color .3s;
}
.band-link:hover { border-color: var(--red2); color: #ffd9da; }

.extra-pop {
  align-self: start;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500;
  color: var(--amber); border: 1px solid rgba(245,165,36,.4);
  background: rgba(245,165,36,.08);
  padding: 3px 10px; border-radius: 99px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 720px; margin-inline: auto; display: grid; gap: 8px; }
.faq details {
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq details:hover { border-color: rgba(255, 255, 255, .2); }
.faq details[open] { background: rgba(22, 22, 26, .62); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-weight: 500;
  font-size: .88rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.05rem; font-weight: 300; color: var(--red2);
  line-height: 1;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 18px 16px; color: var(--dim); font-size: .82rem; }

/* ============================================================
   CTA BAND / FOOTER
   ============================================================ */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.cta-band .lead { margin: 16px auto 34px; }

.footer { border-top: 1px solid var(--line); background: var(--bg1); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--dim); font-size: .88rem; max-width: 34ch; margin: 0; }
.footer h4 {
  font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--dim);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: #d6d8db; font-size: .9rem; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  color: var(--dim); font-size: .78rem;
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PODSTRONA AUTA
   ============================================================ */
.car-hero { padding-top: calc(var(--nav-h) + 36px); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 450;
  color: var(--dim);
  margin-bottom: 24px;
  transition: color .25s;
}
.back-link:hover { color: var(--ink); }
.car-title-row { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 22px; margin-bottom: 30px; }
.car-title-row h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.car-title-row .chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 8px; }

.car-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: start; }

.gallery { display: grid; gap: 12px; }
.gallery-main {
  position: relative; aspect-ratio: 16 / 9.4; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  cursor: zoom-in;
  box-shadow: var(--shadow-lg);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-main:hover img { transform: scale(1.02); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery-thumbs button {
  aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; padding: 0;
  border: 1px solid var(--line); opacity: .5; transition: .25s;
}
.gallery-thumbs button.on, .gallery-thumbs button:hover { opacity: 1; border-color: rgba(255,255,255,.55); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.price-rail { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.price-card { padding: 24px; }
.price-card h3 {
  margin: 0 0 14px;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
}
.tier-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tier-row:last-child { border-bottom: 0; }
.tier-range { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #d6d8db; }
.tier-range svg { width: 14px; height: 14px; color: var(--dim); flex: none; }
.tier-val { text-align: right; display: grid; }
.tier-val b { font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tier-val span { font-size: .7rem; color: var(--dim); }
.monthly-card {
  padding: 22px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 2px solid var(--red);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), var(--shadow-lg);
}
.monthly-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; }
.monthly-card .row span { color: var(--dim); font-size: .84rem; }
.monthly-card .row b { font-weight: 550; font-variant-numeric: tabular-nums; }
.monthly-card .big { font-size: 1.7rem; font-weight: 600; letter-spacing: -.01em; }
.price-notes { display: grid; gap: 10px; }
.price-note {
  display: flex; gap: 12px; align-items: center;
  padding: 13px 16px; border-radius: var(--r-md);
  font-size: .82rem; color: var(--dim);
}
.price-note svg { width: 17px; height: 17px; color: #c7c9cd; flex: none; }

.spec-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-block: 40px 0; }
.spec-tile { padding: 18px 12px; text-align: center; display: grid; gap: 3px; }
.spec-tile b { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.spec-tile b small { font-size: .7rem; color: var(--dim); font-weight: 450; }
.spec-tile span { font-size: .6rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

.car-info { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.car-desc p { color: #c9cbce; margin: 0 0 16px; font-size: .97rem; }
.spec-table { padding: 8px 24px; }
.spec-table .row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem;
}
.spec-table .row:last-child { border-bottom: 0; }
.spec-table .row span { color: var(--dim); }
.spec-table .row b { font-weight: 500; text-align: right; }

/* ============================================================
   REZERWACJA
   ============================================================ */
.booking { scroll-margin-top: 90px; }

/* zasady rezerwacji — trzy kompaktowe kafle */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.rule {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px;
  font-size: .81rem; line-height: 1.55; color: #b7bbc0;
}
.rule svg { width: 15px; height: 15px; color: var(--red2); flex: none; margin-top: 3px; }

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(298px, 1fr);
  gap: 20px; align-items: start;
}
.booking-col { display: grid; gap: 16px; }

.bk-block { padding: 26px 28px 28px; border-radius: 18px; }
.bk-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 22px; }
.bk-num {
  flex: none;
  font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  color: var(--red2);
  font-variant-numeric: tabular-nums;
}
.bk-head h3 { margin: 0; font-size: 1rem; font-weight: 550; letter-spacing: -.01em; }
.bk-head .hint { margin: 5px 0 0; color: var(--dim); font-size: .82rem; line-height: 1.5; }

/* --- kalendarz --- */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-title { font-weight: 550; font-size: .84rem; letter-spacing: .01em; color: #e4e6e9; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  display: grid; place-items: center;
  font-size: 1rem; line-height: 1; color: var(--dim);
  transition: .2s;
}
.cal-nav button:hover { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow {
  text-align: center; font-size: .58rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #7f858d;
  padding: 4px 0 8px;
}
.cal-day {
  aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 450;
  border: 1px solid transparent;
  position: relative;
  font-variant-numeric: tabular-nums;
  transition: background .18s, border-color .18s, color .18s;
}
.cal-day.free { cursor: pointer; background: rgba(255,255,255,.04); }
.cal-day.free:hover { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.09); }
.cal-day.other { opacity: 0; pointer-events: none; }
.cal-day.past { color: rgba(255,255,255,.2); background: transparent; }
.cal-day.booked { color: #ff9ea1; background: rgba(227,34,39,.2); border-color: rgba(227,34,39,.28); cursor: not-allowed; }
.cal-day.pending { color: #ffd28a; background: rgba(245,165,36,.14); border-color: rgba(245,165,36,.26); cursor: pointer; }
.cal-day.pstart { /* najem startuje po południu — rano wolne */
  cursor: pointer;
  background: linear-gradient(to right, rgba(255,255,255,.045) 0 48%, rgba(227,34,39,.28) 52%);
  border-color: rgba(227,34,39,.25);
}
.cal-day.pend { /* najem kończy się rano — po południu wolne */
  cursor: pointer;
  background: linear-gradient(to right, rgba(227,34,39,.28) 0 48%, rgba(255,255,255,.045) 52%);
  border-color: rgba(227,34,39,.25);
}
.cal-day.blocked {
  color: rgba(255,255,255,.28); cursor: not-allowed;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 5px, transparent 5px 10px);
}
.cal-day.sel { background: #fff !important; color: #0b0b0c !important; border-color: #fff !important; font-weight: 600; z-index: 1; }
.cal-day.range { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.1); color: #fff; }
.cal-legend {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.leg { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; color: #9aa0a7; }
.leg i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; }
.leg .l-free { background: rgba(255,255,255,.12); }
.leg .l-booked { background: rgba(227,34,39,.5); }
.leg .l-pending { background: rgba(245,165,36,.5); }
.leg .l-partial { background: linear-gradient(135deg, rgba(227,34,39,.55) 0 46%, rgba(255,255,255,.12) 54%); }
.leg .l-blocked { background: repeating-linear-gradient(135deg, rgba(255,255,255,.25) 0 3px, transparent 3px 6px); }
.leg .l-sel { background: #fff; }

/* --- godziny --- */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.time-chip {
  padding: 11px 0; text-align: center;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035);
  font-size: .82rem; font-weight: 450;
  font-variant-numeric: tabular-nums;
  transition: .2s;
}
.time-chip:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.time-chip.on { background: #fff; border-color: #fff; color: #0b0b0c; font-weight: 600; }

/* --- pakiety w rezerwacji --- */
.extras-pick { display: grid; gap: 9px; }
.extra-pick {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 17px; border-radius: 13px;
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025);
  cursor: pointer; transition: .22s;
}
.extra-pick:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.extra-pick.on { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); }
.extra-pick input { position: absolute; opacity: 0; pointer-events: none; }
.extra-pick .box {
  width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 1px;
  border: 1.5px solid rgba(255,255,255,.3);
  display: grid; place-items: center;
  transition: .2s;
}
.extra-pick.on .box { background: #fff; border-color: #fff; }
.extra-pick .box svg { width: 11px; height: 11px; opacity: 0; transform: scale(.5); transition: .2s; color: #0b0b0c; }
.extra-pick.on .box svg { opacity: 1; transform: scale(1); }
.extra-pick .tx { flex: 1; min-width: 0; }
.extra-pick .tx .nm {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-weight: 550; font-size: .89rem;
}
.extra-pick .tx .nm b {
  color: var(--ink); font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums; font-size: .86rem;
}
.extra-pick .tx p { margin: 4px 0 0; color: #92979e; font-size: .78rem; line-height: 1.5; }
.extra-pick .extra-pop { display: inline-block; margin-left: 8px; transform: translateY(-1px); }

/* --- formularz --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #8b9097;
}
.field label b { color: var(--red2); }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  padding: 0 15px;
  height: 46px;
  color: var(--ink);
  font-size: .9rem;
  transition: border-color .22s, background .22s;
}
.field input::placeholder { color: #6d737a; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
}
.field textarea { min-height: 90px; height: auto; padding: 13px 15px; resize: vertical; }
.field input.err { border-color: var(--red); background: rgba(227,34,39,.07); }
.consents {
  display: grid; gap: 12px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .79rem; line-height: 1.55; color: #9aa0a7; cursor: pointer; }
.consent input { width: 16px; height: 16px; accent-color: #fff; margin-top: 2px; flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent a:hover { color: #fff; }

/* --- podsumowanie --- */
.summary {
  position: sticky; top: calc(var(--nav-h) + 18px);
  padding: 0; overflow: hidden;
  border-radius: 18px;
}
.sum-car {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px;
  background: rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sum-car img { width: 62px; height: 42px; object-fit: cover; border-radius: 8px; flex: none; }
.sum-car .t { min-width: 0; }
.sum-car b { display: block; font-size: .88rem; font-weight: 550; line-height: 1.25; }
.sum-car span { display: block; font-size: .71rem; color: var(--dim); margin-top: 2px; }
.sum-body { padding: 18px 18px 20px; }
.sum-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; font-size: .84rem;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.sum-row:last-child { border-bottom: 0; }
.sum-row span { color: #91969d; }
.sum-row b { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row.muted b { color: #6f757c; font-weight: 400; }
.sum-row.extra span { color: #b6babf; }
.sum-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 14px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.sum-total span { font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8b9097; }
.sum-total b { font-size: 1.65rem; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.sum-note { font-size: .72rem; line-height: 1.5; color: #7e848b; margin: 10px 0 16px; }
.summary .btn { width: 100%; }
.sum-alert {
  margin-top: 14px; padding: 12px 15px; border-radius: 11px;
  background: rgba(227,34,39,.1); border: 1px solid rgba(227,34,39,.35);
  color: #ffb0b3; font-size: .8rem; line-height: 1.5; display: none;
}
.sum-alert.show { display: block; }

/* --- sukces rezerwacji --- */
.success-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(8,8,9,.82);
  backdrop-filter: blur(16px);
  padding: 20px;
}
.success-overlay.show { display: grid; }
.success-card { max-width: 520px; padding: 44px 40px; text-align: center; }
.success-card .ok-ico {
  width: 70px; height: 70px; margin: 0 auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.45);
  color: var(--green);
}
.success-card .ok-ico svg { width: 32px; height: 32px; }
.success-card h3 { font-size: 1.4rem; margin: 0 0 8px; }
.success-card .res-id { font-size: 1.02rem; letter-spacing: .08em; font-weight: 600; }
.success-card p { color: var(--dim); font-size: .9rem; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  background: rgba(6,6,7,.93);
  backdrop-filter: blur(14px);
  padding: 4vmin;
}
.lightbox.show { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.1rem;
}
.lightbox-close:hover { background: #fff; color: #0b0b0c; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  z-index: 400; padding: 14px 24px; border-radius: 999px;
  background: rgba(20,20,23,.92); border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  opacity: 0; pointer-events: none;
  transition: .35s cubic-bezier(.2,.8,.2,1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(227,34,39,.5); color: #ffb0b3; }
.toast.ok { border-color: rgba(47,191,113,.45); color: #9fe8c3; }

/* ---------- animacje wejścia ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .car-layout, .booking-layout, .car-info { grid-template-columns: 1fr; }
  .price-rail, .summary { position: static; }
  .spec-strip { grid-template-columns: repeat(3, 1fr); }
  .band-copy, .band--right .band-copy { max-width: none; margin-left: 0; text-align: left; }
  .booking-layout { gap: 16px; }
  .band-shade, .band--right .band-shade {
    background: linear-gradient(180deg, rgba(8,8,9,.5), rgba(8,8,9,.3) 35%, rgba(8,8,9,.88));
  }
}
@media (max-width: 720px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 34px; }
  .car-card { aspect-ratio: 4 / 3.6; }
  .cal-wrap { grid-template-columns: 1fr; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .bk-block { padding: 22px 20px 24px; }
  .time-grid { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .hero-scroll { display: none; }
  .car-cap { flex-direction: column; align-items: stretch; gap: 10px; }
  .car-price { text-align: left; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- dostępność ruchowa ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}
