/* ==========================================================================
   MB Classics — jasna wersja (redesign 2026)
   Jeden arkusz dla publicznej strony. Strefa inspektora nadal używa /style.css.
   ========================================================================== */

/* ---------- Tokeny ---------- */
:root {
  --bg: #F7F6F2;
  --card: #FFFFFF;
  --line: #E2E0DA;
  --line-soft: #ECEAE5;
  --line-strong: #CFCCC4;
  --sand: #ECEAE4;
  --sand-2: #F3F2EE;

  --ink: #0B0B0C;
  --ink-2: #3F444A;
  --ink-3: #55555A;

  --violet: #6342D6;
  --violet-dark: #4A2FB0;
  --violet-grad: linear-gradient(90deg, #9D7EFF, #7B5CE5);
  --violet-bg: #F1EDFF;
  --violet-bg-2: #F6F3FF;
  --violet-line: #DCD3FF;
  --violet-line-2: #BBAAF5;
  --violet-soft-text: #E4DCFF;

  --dark: #0B0B0C;
  --dark-2: #202327;
  --dark-line: #33373C;
  --dark-text: #ECEAE4;
  --dark-muted: #C9CBCE;
  --dark-label: #A9ADB2;

  --ok: #1E6B3A;
  --warn: #8A5A00;
  --err: #A1271B;

  --font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-btn: 6px;
  --radius-card: 10px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 12, .06);
  --shadow-md: 0 10px 30px rgba(11, 11, 12, .08);
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--violet);
  --header-h: 76px;
  /* aliasy dla starych stylów inline (np. /sprzedaj/dziekujemy/) */
  --grey: var(--ink-3);
  --white: #FFFFFF;
  --black: var(--ink);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--violet); }
button { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.015em; margin: 0; line-height: 1.1; font-weight: 700; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: var(--radius-btn); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

/* ---------- Układ ---------- */
.wrap, .container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--card); border-top: 1px solid var(--line); }
.section--bordered { border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--6-5 { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.split--center { align-items: center; }
.split--gap-sm { gap: 24px; }
.grid-auto { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.grid-fit { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
@media (max-width: 900px) {
  .split, .split--5-7, .split--7-5, .split--6-5 { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}

/* ---------- Typografia ---------- */
.h { font-family: var(--font-head); letter-spacing: -0.015em; }
.lbl, .section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lbl--violet { color: var(--violet); }
.lbl--onDark { color: var(--dark-label); }
.lbl--pill { background: var(--violet); color: #FFFFFF; padding: 5px 10px; border-radius: 4px; }
.display { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; font-weight: 700; }
.h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; font-weight: 700; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-weight: 700; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 760px; }
.muted { color: var(--ink-3); }
.body-2 { color: var(--ink-2); }
.small { font-size: 14px; }
.note { font-size: 14px; color: var(--ink-3); }
.eyebrow-gap { margin-top: 10px; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.section-head { margin-bottom: 32px; max-width: 820px; }
.section-head .h2, .section-head h2 { margin-top: 10px; }
.section-head p { margin: 14px 0 0; color: var(--ink-2); }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn-primary, .btn--violet { background: var(--violet); color: #FFFFFF; }
.btn-primary:hover, .btn--violet:hover { background: var(--violet-dark); color: #FFFFFF; }
.btn--dark { background: var(--ink); color: #FFFFFF; }
.btn--dark:hover { background: #2A2C30; color: #FFFFFF; }
.btn-outline, .btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn--outline:hover { background: var(--ink); color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--ink); }
.btn--white:hover { background: var(--violet-bg); color: var(--ink); }
.btn--link { min-height: 48px; padding: 0 8px; color: var(--ink); text-decoration: underline; }
.btn--link:hover { color: var(--violet); }
.btn-lg { min-height: 52px; padding: 0 26px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-full { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.btn-row, .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px;
  background: no-repeat center / 20px 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230B0B0C' stroke-width='2'%3E%3Cpath d='M4 10l4 4 8-8'/%3E%3C/svg%3E");
}
.check-list--violet li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236342D6' stroke-width='2'%3E%3Cpath d='M4 10l4 4 8-8'/%3E%3C/svg%3E"); }
.dash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.dash-list li::before { content: "— "; }

/* ---------- Pasek górny + nagłówek ---------- */
.topbar { background: var(--dark); color: #D9D7D1; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #FFFFFF; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; text-decoration: underline; }
.topbar-actions { display: flex; gap: 20px; align-items: center; margin-left: auto; }
.language-switch { display: inline-flex; gap: 6px; align-items: center; color: #D9D7D1; }
.language-switch a { color: #D9D7D1; text-decoration: none; padding: 2px 2px; }
.language-switch a[aria-current="true"] { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.gradline { height: 3px; background: linear-gradient(90deg, #9D7EFF, #7B5CE5 50%, #FFFFFF); }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.brand-tag { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: 16px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; padding: 6px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
  background: #FFFFFF; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 1000px) {
  .site-header .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-menu { display: block; background: var(--card); border-bottom: 1px solid var(--line); }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu .wrap { padding-top: 8px; padding-bottom: 24px; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
  .mobile-menu li a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line-soft); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
  .mobile-menu .btn { margin-top: 18px; width: 100%; }
  .mobile-menu .mobile-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
}
@media (max-width: 640px) {
  .topbar-info { display: none; }
  .topbar-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .site-header .nav-cta { display: none; }
  .brand-name { font-size: 19px; }
}

/* ---------- Okruszki ---------- */
.breadcrumb { font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--violet); }

/* ---------- Karty ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
.card--pad { padding: 32px; }
.card--violet { border: 1.5px solid var(--violet); background: var(--violet-bg-2); }
.card--sand { background: var(--sand); border-color: transparent; }
.card--bg { background: var(--bg); border-color: transparent; }
.card--dark { background: var(--dark); color: var(--dark-text); border-color: transparent; }
.card--dark h2, .card--dark h3, .card--dark .h2, .card--dark .h3 { color: #FFFFFF; }
.card--dark p { color: var(--dark-muted); }
.card--dark a:not(.btn) { color: #FFFFFF; }
@media (max-width: 640px) { .card--pad { padding: 24px; } }

/* Obrazy w kartach i sekcjach */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img, .media picture, .media picture img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--r { border-radius: var(--radius-card); }
.media--rl { border-radius: var(--radius-lg); }
.media-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 11, 12, .72); color: #FFFFFF; font-size: 13px; padding: 4px 10px; border-radius: 4px; }
/* Blok zastępczy — gdy nie ma zdjęcia (TODO: zdjęcie) */
.media-ph { display: flex; align-items: flex-end; padding: 18px; background: var(--violet-bg); color: var(--ink-2); font-family: var(--font-head); font-weight: 600; font-size: 15px; }

/* ---------- Hero strony głównej ---------- */
.hero { padding: 64px 0 56px; }
.hero h1 { margin: 16px 0 18px; max-width: 900px; }
.hero .lead { margin: 0; max-width: 720px; }
.path-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.path-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.path-card .media { aspect-ratio: 16 / 10; }
.path-card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.path-card-body h2 { font-size: clamp(26px, 2.6vw, 32px); }
.path-card-body .btn-row { margin-top: auto; padding-top: 8px; }
.path-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.path-mini a { text-decoration: none; border: 1.5px solid var(--violet-line); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 6px; background: var(--violet-bg-2); color: var(--ink); }
.path-mini a:hover { border-color: var(--violet); }
.path-mini .lbl { font-size: 11px; color: var(--violet); }
.path-mini strong { font-family: var(--font-head); font-size: 19px; font-weight: 700; }
.path-mini span:last-child { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 900px) { .path-cards { grid-template-columns: 1fr; } .path-card-body { padding: 24px; } }

/* ---------- Liczby ---------- */
.stats { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.015em; }
.stat-label { color: var(--ink-3); margin-top: 6px; }
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 22px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat-value { font-size: 32px; }
}
.factrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 28px; }
.factrow > div { padding: 16px 12px; border-left: 1px solid var(--line); }
.factrow > div:first-child { border-left: 0; padding-left: 0; }
.factrow strong { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700; }
.factrow span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 560px) {
  .factrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factrow > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .factrow > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Chipy / przełączniki ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: transparent; min-height: 40px; padding: 0 14px; cursor: pointer; font-size: 15px; color: var(--ink); white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button[aria-pressed="true"] { background: var(--violet); color: #FFFFFF; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice {
  min-height: 48px; padding: 0 18px; border-radius: 8px; border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--ink); font-size: 16px; cursor: pointer; text-align: left;
}
.choice:hover { border-color: var(--violet); }
.choice[aria-pressed="true"] { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }

/* ---------- Pasek filtrów (sticky) ---------- */
.filterbar { position: sticky; top: 0; z-index: 15; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filterbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.filterbar-right { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sort-label { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--ink-3); }
.select, .sort-label select {
  font: inherit; font-size: 15px; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 0 34px 0 12px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0B0C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
  color: var(--ink); -webkit-appearance: none; appearance: none;
}
.results-line { color: var(--ink-3); margin-bottom: 18px; }
.results-line strong { color: var(--ink); }
@media (max-width: 760px) {
  .filterbar .wrap { padding-top: 10px; padding-bottom: 10px; }
  .filterbar .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .filterbar .chips::-webkit-scrollbar { display: none; }
  .filterbar-right { width: 100%; justify-content: space-between; }
  .seg button { padding: 0 10px; font-size: 14px; }
}

/* ---------- Karta auta ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.car-card { text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, border-color .2s ease; }
.car-card:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.car-card:hover .car-name { text-decoration: underline; text-underline-offset: 4px; }
.car-photo { position: relative; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.car-photo img, .car-photo picture { width: 100%; height: 100%; object-fit: cover; }
.where-badge { position: absolute; top: 14px; left: 14px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 4px; line-height: 1.3; }
.where-badge--hall { background: var(--violet); color: #FFFFFF; }
.where-badge--owner { background: #FFFFFF; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.where-badge--inline { position: static; display: inline-block; }
.car-flag { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: #FFFFFF; }
.car-flag--reserved { background: #FFF4D6; color: #5C3D00; }
.car-media-meta { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.car-media-meta span { background: rgba(11, 11, 12, .72); color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.car-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.car-cat { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.car-name { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.car-spec { color: var(--ink-3); font-size: 15px; }
.car-note { font-size: 14px; color: var(--ink-2); background: var(--sand-2); border-radius: 4px; padding: 6px 10px; margin-top: 6px; }
.car-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-soft); margin-top: auto; padding-top: 14px; }
.car-body > :nth-last-child(2) { margin-bottom: 12px; }
.car-price { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.car-price.ask { font-size: 17px; }
.car-eur { font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.car-sale-note { font-size: 14px; color: var(--ink-3); }
.car-card--cta { background: var(--dark); color: #FFFFFF; border-color: transparent; padding: 32px; justify-content: space-between; gap: 24px; min-height: 360px; }
.car-card--cta:hover { color: #FFFFFF; }
.car-card--cta h2, .car-card--cta h3 { color: #FFFFFF; font-size: 28px; line-height: 1.15; margin-top: 12px; }
.car-card--cta p { color: var(--dark-muted); margin: 12px 0 0; }
.car-card--cta .btn { align-self: flex-start; }
.empty-state { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius-card); padding: 32px; text-align: center; color: var(--ink-2); }

/* Sprzedane */
.sold-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.sold-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.sold-card:hover { color: var(--ink); }
.sold-card:hover .sold-name { text-decoration: underline; text-underline-offset: 4px; }
.sold-card .car-photo { border-radius: 8px; }
.sold-badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: #FFFFFF; }
.sold-name { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.25; }
.sold-note { font-size: 15px; color: var(--ink-3); }

/* Slider (podobne auta) */
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.slider-track > * { scroll-snap-align: start; }
.icon-button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #FFFFFF; cursor: pointer; font-size: 22px; line-height: 1; }
.icon-button:hover { border-color: var(--ink); }

/* ---------- Pasy treści ---------- */
.band { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; }
.band a.band-card { text-decoration: none; background: var(--card); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.band a.band-card:hover { box-shadow: var(--shadow-md); }
.band-card strong { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.band-card span { color: var(--ink-2); font-size: 16px; }
.strip { margin-top: 24px; background: var(--violet-bg-2); border-radius: 8px; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Karty opcji sprzedaży */
.option-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--card); }
.option-card .btn { align-self: flex-start; margin-top: auto; }
.option-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kv { border-top: 1px solid var(--line-soft); }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.kv dt, .kv > div > span:first-child { color: var(--ink-3); }
.kv dd, .kv > div > span:last-child { margin: 0; font-weight: 600; text-align: right; }
.kv--dark { border-top-color: var(--dark-line); }
.kv--dark > div { border-bottom-color: var(--dark-line); }
.kv--dark > div > span:first-child { color: var(--dark-text); }
.kv--dark > div > span:last-child { color: #FFFFFF; }
.kv--plain > div > span:first-child { color: var(--ink); }

.option-big { text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--violet); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.option-big:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.option-big .media { aspect-ratio: 16 / 9; }
.option-big-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.option-big-body .h3 { font-size: 30px; }
.option-big-facts { display: flex; gap: 8px 24px; flex-wrap: wrap; font-weight: 600; padding-top: 6px; }
.option-big .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 640px) { .option-big-body { padding: 22px; } .option-card { padding: 24px; } }

/* Przełącznik ścieżki */
.pathbar { background: var(--violet-bg); border-bottom: 1px solid var(--violet-line); }
.pathbar .wrap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-height: 52px; font-size: 15px; padding-top: 8px; padding-bottom: 8px; }
.pathbar-label { color: var(--ink-2); margin-right: 4px; }
.pathbar a.pill { text-decoration: none; font-weight: 600; border: 1px solid var(--violet-line-2); padding: 6px 14px; border-radius: 999px; background: #FFFFFF; color: var(--ink); }
.pathbar a.pill:hover { border-color: var(--violet); }
.pathbar a.pill[aria-current="page"] { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.pathbar .pathbar-compare { margin-left: auto; color: var(--violet); font-weight: 600; text-decoration: none; }
.pathbar .pathbar-compare:hover { text-decoration: underline; }

/* ---------- Dwa pytania ---------- */
.quiz { display: flex; flex-direction: column; gap: 22px; background: var(--bg); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.quiz-q { font-weight: 600; margin-bottom: 10px; }
.quiz-result { border-top: 1px solid #DDDAD3; padding-top: 20px; min-height: 64px; }
.quiz-rec { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card); border: 1.5px solid var(--violet); border-radius: var(--radius-card); padding: 20px 22px; }
.quiz-rec .h { font-size: 24px; font-weight: 700; margin-top: 4px; }
.quiz-rec p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- Tabela porównawcza ---------- */
.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { box-shadow: var(--focus); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead tr { background: var(--violet-bg-2); }
.cmp thead th { font-family: var(--font-head); font-size: 19px; font-weight: 700; }
.cmp thead th small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-3); font-size: 14px; }
.cmp th[scope="row"] { font-weight: 600; color: var(--ink-2); width: 26%; }
.cmp td.span { text-align: center; font-weight: 600; }
.table-hint { display: none; font-size: 14px; color: var(--ink-3); margin: 0 0 10px; }
@media (max-width: 760px) { .table-hint { display: block; } }

/* ---------- Kalkulator ---------- */
.rate-list { border-top: 1px solid var(--line); }
.rate-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.calc { background: var(--bg); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.calc-price { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.calc-price output { font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 1.1; }
.calc input[type="range"] { width: 100%; accent-color: var(--violet); min-height: 32px; margin: 0; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.calc-months { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-months .choice { min-width: 64px; min-height: 44px; font-size: 15px; padding: 0 12px; text-align: center; }
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.calc-card { background: var(--card); border-radius: var(--radius-card); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc-line span:first-child { color: var(--ink-3); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: 4px; }
.calc-total strong { font-family: var(--font-head); font-size: 22px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 22px; line-height: 1; color: var(--ink-3); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ---------- Kroki ---------- */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.step-n { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--violet); line-height: 1; }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); margin: 4px 0 0; }
.who { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 4px; white-space: nowrap; border: 1px solid #DDDAD3; }
.who--you { background: var(--sand); color: var(--ink); border-color: transparent; }
.who--me { background: var(--violet); color: #FFFFFF; border-color: transparent; }
.who--both { background: #FFFFFF; color: var(--ink); }
.who--insp { background: #DDE6F0; color: #1F3A5F; border-color: transparent; }
@media (max-width: 640px) {
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; }
  .step-n { font-size: 24px; }
  .step .who { grid-column: 2; justify-self: start; margin-top: 8px; }
}
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 2px solid var(--ink); }
.steps-row > div { padding: 22px 20px 0 0; }
.steps-row .n { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--ink-3); }
.steps-row h3 { font-size: 19px; margin: 8px 0 6px; }
.steps-row p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Lista usług (2 kolumny) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.features h3 { font-size: 18px; }
.features p { color: var(--ink-2); font-size: 16px; margin: 4px 0 0; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.numbered { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; counter-reset: num; }
.numbered li { display: flex; gap: 12px; counter-increment: num; }
.numbered li::before { content: counter(num); font-family: var(--font-head); font-weight: 700; color: var(--ink-3); min-width: 14px; }

/* Ciemny blok inspekcji */
.dark-block { background: var(--dark); color: var(--dark-text); border-radius: 14px; padding: clamp(28px, 4vw, 56px); }
.dark-block h2 { color: #FFFFFF; }
.dark-block p { color: var(--dark-muted); }
.dark-step { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-card); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.dark-step .n { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #B9A4FF; line-height: 1.2; }
.dark-step h3 { font-size: 18px; color: #FFFFFF; }
.dark-step p { font-size: 16px; margin: 2px 0 0; }
.dark-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dark-pair > div { border-radius: var(--radius-card); padding: 18px 20px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.dark-pair > div.is-violet { background: var(--violet); border-color: var(--violet); }
.dark-pair h3 { font-size: 17px; color: #FFFFFF; }
.dark-pair p { font-size: 15px; margin: 2px 0 0; color: var(--dark-muted); }
.dark-pair .is-violet p { color: var(--violet-soft-text); }
@media (max-width: 480px) { .dark-pair { grid-template-columns: 1fr; } }

/* Oznaczenia źródła informacji */
.src-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.src-row { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.src-row:last-child { border-bottom: 1px solid var(--line-soft); }
.src-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 4px; line-height: 1.35; }
.src-tag--inspection { background: var(--violet); color: #FFFFFF; }
.src-tag--docs { background: #DDE6F0; color: #1F3A5F; }
.src-tag--owner { background: #F1E6D8; color: #6B3F14; }
.src-tag--unverified { background: var(--sand); color: var(--ink-2); }

/* Galeria hali */
.hall-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hall-gallery > :first-child { grid-column: 1 / -1; }

/* O mnie */
.about-quote { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); line-height: 1.2; font-weight: 600; margin: 16px 0 24px; letter-spacing: -0.015em; }

/* Opinie */
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-stars { letter-spacing: 3px; color: var(--ink); }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 17px; }
.review figcaption { font-weight: 600; margin-top: auto; }
.review figcaption span { font-weight: 400; color: var(--ink-3); }

/* Newsletter */
.newsletter { background: var(--dark); color: var(--dark-text); padding: 72px 0; }
.newsletter h2 { color: #FFFFFF; font-size: 36px; margin: 10px 0 12px; }
.newsletter p { color: var(--dark-muted); margin: 0; }
.newsletter .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .newsletter .btn-row { justify-content: flex-start; } }

/* ---------- Formularze ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.form-card--bg { background: var(--bg); border-color: transparent; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.fld .opt { font-weight: 400; color: var(--ink-3); }
.fld input, .fld select, .fld textarea, .form-group input, .form-group select, .form-group textarea {
  font: inherit; font-weight: 400; font-size: 16px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
  padding: 10px 14px; background: #FFFFFF; color: var(--ink); width: 100%;
}
.fld textarea { min-height: 110px; resize: vertical; }
.fld input[type="file"] { padding: 12px 14px; font-size: 15px; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink-3); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { border-color: var(--violet); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--err); }
.fld-hint { font-weight: 400; font-size: 14px; color: var(--ink-3); }
fieldset.choices { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.choices legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.radio-pill { position: relative; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 16px; min-height: 48px; background: #FFFFFF; cursor: pointer; font-size: 16px; }
.radio-pill:hover { border-color: var(--ink-3); }
.radio-pill input { accent-color: var(--violet); width: 18px; height: 18px; margin: 0; }
.radio-pill:has(input:checked) { border: 1.5px solid var(--violet); background: var(--violet-bg-2); }
.radio-pill--dark:has(input:checked) { border-color: var(--ink); background: var(--sand-2); }
.radio-pill--dark input { accent-color: var(--ink); }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); font-weight: 400; cursor: pointer; }
.consent-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--violet); flex-shrink: 0; }
.form-status { font-size: 15px; margin: 0; min-height: 1.5em; }
.form-status[data-tone="error"] { color: var(--err); }
.form-status[data-tone="success"] { color: var(--ok); }
.form-status[data-tone="pending"] { color: var(--ink-3); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-sell-hint { font-size: 14px; color: var(--ink-2); margin: 6px 0 0; }
.contact-links { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { font-style: normal; color: var(--ink-2); }
.footer-link-button { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ink); font-size: 15px; }
.footer-link-button:hover { color: var(--violet); text-decoration: underline; }
.footer-socials { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 20px; color: var(--ink-3); font-size: 14px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- WhatsApp (pływający) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #FFFFFF; text-decoration: none; border-radius: 999px; padding: 10px 18px 10px 12px;
  box-shadow: var(--shadow-md); font-family: var(--font-head); font-weight: 600; font-size: 14px; min-height: 48px;
}
.wa-float:hover { background: #25D366; color: var(--ink); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--dark-muted); }
.wa-float:hover small { color: var(--ink); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 11px; } }

/* ---------- Baner cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin-left: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; font-size: 15px;
}
.cookie-copy strong { font-family: var(--font-head); font-size: 17px; }
.cookie-copy p { margin: 6px 0 0; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 44px; }
.cookie-settings { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.cookie-option { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cookie-option p { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.cookie-lock { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.cookie-toggle { position: relative; display: inline-flex; cursor: pointer; flex-shrink: 0; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-toggle-ui { width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; }
.cookie-toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; }
.cookie-toggle input:checked + .cookie-toggle-ui { background: var(--violet); }
.cookie-toggle input:checked + .cookie-toggle-ui::after { transform: translateX(18px); }
.cookie-toggle input:focus-visible + .cookie-toggle-ui { box-shadow: var(--focus); }

/* ---------- Strona auta ---------- */
.offer-topbar { padding: 32px 0 20px; }
.offer-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.offer-topbar h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; }
.offer-title-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding-bottom: 56px; }
.offer-layout > article { min-width: 0; }
.gallery-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery-feature-item { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.gallery-feature-item:first-child { grid-column: 1 / -1; border-radius: var(--radius-card); }
.gallery-feature-item img, .gallery-feature-item picture { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-feature-item:hover img { transform: scale(1.02); }
.offer-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); margin: 24px 0; overflow: hidden; }
.spec-item { padding: 16px 18px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.spec-label { font-size: 13px; color: var(--ink-3); }
.spec-value { font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.spec-vin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.product-readable-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 36px); margin: 24px 0; }
.product-copy-block + .product-copy-block { margin-top: 28px; }
.product-copy-block h2 { font-size: 24px; margin: 0 0 12px; }
.product-copy-block p { color: var(--ink-2); }
.product-highlights { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 12px; border-radius: 8px; overflow: hidden; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: var(--ink); cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--violet); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.video-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #FFFFFF; }
.video-facade:hover .video-play { background: var(--violet-dark); }
.gallery-rest-section { margin-top: 32px; }
.gallery-rest-header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.gallery-rest-header h2 { font-size: 24px; }
.gallery-rest-header span { color: var(--ink-3); font-size: 15px; }
.gallery-rest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 45%), 1fr)); gap: 8px; }
.gallery-thumb { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.gallery-thumb img, .gallery-thumb picture { width: 100%; height: 100%; object-fit: cover; }
.offer-sticky { position: sticky; top: 20px; }
.offer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.offer-price-main { font-family: var(--font-head); font-size: 32px; font-weight: 700; line-height: 1.1; }
.offer-price-eur { color: var(--ink-3); margin-top: 4px; }
.offer-avail { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.offer-avail::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2E8B57; }
.offer-avail.status-reserved::before, .offer-avail.status-coming_soon::before { background: #C78A00; }
.offer-avail.status-sold::before { background: var(--ink-3); }
.offer-where { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--violet-bg-2); border: 1px solid var(--violet-line); font-size: 15px; color: var(--ink-2); }
.offer-where strong { display: block; color: var(--ink); font-family: var(--font-head); }
.offer-where--owner { background: var(--sand-2); border-color: var(--line); }
.offer-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.offer-divider { height: 1px; background: var(--line-soft); margin: 22px 0; }
.purchase-info-list { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.purchase-info-item strong { display: block; font-family: var(--font-head); }
.purchase-info-item span { color: var(--ink-2); }
.sold-info-box, .auction-box { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--sand-2); font-size: 15px; color: var(--ink-2); }
.auction-box h3 { font-size: 17px; margin-bottom: 4px; color: var(--ink); }
.auction-box .btn { margin-top: 10px; }
.related-offers-section { padding: 56px 0; border-top: 1px solid var(--line); }
.related-offers-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.related-offers-header h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; max-width: 760px; }
.related-offers-header p { color: var(--ink-2); margin: 10px 0 0; max-width: 760px; }
.related-offers-actions { display: flex; gap: 10px; align-items: center; }
.related-offers-slider { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.related-offers-slider > * { scroll-snap-align: start; }
@media (max-width: 1000px) {
  .offer-layout { grid-template-columns: 1fr; }
  .offer-sticky { position: static; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(11, 11, 12, .94); display: none; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255, 255, 255, .12); color: #FFFFFF; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-size: 14px; }
@media (max-width: 640px) { .lightbox { padding: 64px 8px; } }

/* ---------- Modal umowy ---------- */
.contract-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; }
.contract-backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, .55); }
.contract-dialog { position: relative; background: var(--card); border-radius: var(--radius-lg); max-width: 760px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(22px, 4vw, 40px); }
.contract-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: var(--sand-2); border-radius: 50%; font-size: 24px; cursor: pointer; }
.contract-head h2 { font-size: 30px; margin: 8px 0 10px; }
.contract-head p { color: var(--ink-2); }
.contract-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.contract-table th, .contract-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.contract-note, .contract-hint { color: var(--ink-3); font-size: 15px; }
.contract-facts { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.contract-facts li { background: var(--bg); border-radius: 8px; padding: 14px; }
.contract-facts strong { display: block; font-family: var(--font-head); font-size: 20px; }
.contract-facts span { font-size: 14px; color: var(--ink-2); }
.contract-downloads { display: grid; gap: 12px; }
.contract-doc { display: flex; justify-content: space-between; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 16px; flex-wrap: wrap; }
.contract-doc h3 { font-size: 18px; }
.contract-doc p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.contract-foot { margin-top: 20px; }
.contract-disclaimer { font-size: 14px; color: var(--ink-3); }

/* Dokumenty */
.doc-links { display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.doc-links a { text-decoration: none; }
.doc-links a:hover { text-decoration: underline; }
.doc-links a::after { content: " (PDF)"; font-weight: 400; color: var(--ink-3); }

/* ---------- Strony tekstowe / blog (kompatybilność z rendererem) ---------- */
.page-header { padding: 56px 0 40px; }
.page-header h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; margin: 12px 0 12px; }
.page-header p { color: var(--ink-2); font-size: 19px; max-width: 760px; margin: 0; }
.page-header .btn { margin-top: 24px; }
.surface-section { padding: 56px 0 80px; background: var(--card); border-top: 1px solid var(--line); }
.section-header { margin-bottom: 28px; }
.section-header h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 8px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.timeline-item { background: var(--bg); border-radius: var(--radius-card); padding: 22px; }
.timeline-step { font-size: 13px; font-weight: 600; color: var(--violet); }
.timeline-item h3 { font-size: 19px; margin: 6px 0; }
.timeline-item p { color: var(--ink-2); margin: 0; font-size: 16px; }
.featured-post { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); margin-bottom: 32px; }
.featured-post:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.featured-img { aspect-ratio: 16 / 10; background: var(--sand); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.featured-tag, .blog-cat { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.featured-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.12; }
.featured-excerpt, .blog-excerpt { color: var(--ink-2); }
.post-date, .blog-date { color: var(--ink-3); font-size: 14px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; padding-bottom: 80px; }
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.blog-card:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.blog-img { aspect-ratio: 16 / 10; background: var(--sand); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.blog-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.blog-title { font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.2; }
.read-more { margin-top: auto; font-weight: 600; padding-top: 8px; }
@media (max-width: 800px) { .featured-post { grid-template-columns: 1fr; } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-bottom: 40px; }
.article-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); font-size: 18px; line-height: 1.65; }
.article-content h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 36px 0 14px; }
.article-content p, .article-content li { color: var(--ink-2); }
.article-content ul, .article-content ol { padding-left: 22px; margin: 0 0 1em; }
.article-content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--violet); font-family: var(--font-head); font-size: 21px; color: var(--ink); }
.article-cover { border-radius: var(--radius-card); margin-bottom: 28px; width: 100%; }
.article-sidebar { position: sticky; top: 20px; }
.sidebar-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-title { font-family: var(--font-head); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.sidebar-widget p { color: var(--ink-2); font-size: 16px; }
.article-faq-section { margin-top: 40px; }
.article-faq-section h2 { margin-top: 8px; }
.article-faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.article-faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.article-faq-item p { margin: 10px 0 0; }
.article-contact-cta { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; background: var(--dark); color: var(--dark-text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); margin: 16px 0 24px; }
.article-contact-cta h2 { color: #FFFFFF; font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0; max-width: 640px; }
.article-contact-cta p { color: var(--dark-muted); margin: 0; max-width: 640px; }
.article-contact-cta .section-label { color: var(--dark-label); }
.article-contact-cta .btn-outline { border-color: #FFFFFF; color: #FFFFFF; }
.article-contact-cta .btn-outline:hover { background: #FFFFFF; color: var(--ink); }
.article-contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-sidebar { position: static; } }
.legal-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); max-width: 860px; margin-bottom: 80px; }
.legal-content h2 { font-size: 22px; margin: 28px 0 10px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-2); }
.catalog-cta { margin: 48px 0 80px; background: var(--sand); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.catalog-cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.catalog-cta p { color: var(--ink-2); max-width: 680px; }
.results-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 18px; color: var(--ink-3); }
.results-row strong { color: var(--ink); }
.catalog-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filter-field { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-3); }
.filter-select { font: inherit; font-size: 15px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; background: #FFFFFF; color: var(--ink); }

/* ---------- Drobne ---------- */
.todo-note { display: inline-block; font-size: 13px; color: var(--ink-3); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 2px 8px; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.center { text-align: center; }
.center-actions { display: flex; justify-content: center; margin-top: 36px; }

/* Treści tylko dla wersji PL (np. karta „Buying from abroad?”) */
body[data-lang="en"] .pl-only { display: none !important; }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

/* ---------- Rezerwa miejsca na treść renderowaną przez JS (mniej przesunięć układu / CLS) ---------- */
[data-component="nav"] { display: block; min-height: 120px; }
[data-component="footer"]:empty { display: block; min-height: 420px; }
main[data-car-detail]:empty, main[data-post-detail]:empty { display: block; min-height: 100vh; }
[data-cars-grid]:empty, [data-sold-cars-grid]:empty, [data-posts-grid]:empty { min-height: 100vh; }
[data-cars-preview]:empty { min-height: 960px; }
[data-sold-preview]:empty { min-height: 250px; }
[data-catalog-filters]:empty { min-height: 42px; }
[data-preview-cats]:empty { min-height: 40px; }
@media (max-width: 760px) { [data-catalog-filters]:empty { min-height: 98px; } }

/* Pas ze zdjęciem ambientowym (Mille Miglia) na całą szerokość */
.photo-band .media { aspect-ratio: 21 / 9; max-height: 560px; width: 100%; }
@media (max-width: 760px) { .photo-band .media { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   KONCEPT MARKI v2 — „Trasa, nie salon”
   Nagłówki: Archivo Condensed (wdth 75), wersaliki — charakter tablic startowych Mille Miglia.
   Kolor: czerń + papier + biel. Fiolet tylko jako znacznik (główne CTA, „W hali · od ręki”).
   Zdjęcia: ambient Mille Miglia na pełną szerokość, auta — czyste zdjęcia produktowe.
   ========================================================================== */
:root { --stretch: 75%; }
h1, h2, .display, .h1, .h2, .stat-value, .brand-name, .car-name, .tile-title, .hero-photo h1 {
  font-stretch: var(--stretch);
  font-weight: 800;
  letter-spacing: 0;
}
.display, .h1, .h2, h1.h1, h2.h2, .hero-photo h1, .tile-title, .section-title {
  text-transform: uppercase;
  line-height: 0.98;
}
.display { font-size: clamp(44px, 7vw, 96px); }
.h1 { font-size: clamp(40px, 5.6vw, 76px); }
.h2 { font-size: clamp(32px, 4vw, 52px); }
.h3 { font-stretch: var(--stretch); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); }
.lbl, .section-label { letter-spacing: .12em; }

/* Logotyp: złożony znak jak w dotychczasowym logo (MB nad rozstrzelonym CLASSICS) */
.brand { gap: 0; }
.brand-mark { font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 800; font-size: 30px; line-height: .9; letter-spacing: .01em; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .42em; line-height: 1.4; margin-top: 2px; }
.site-footer .brand { margin-bottom: 14px; }

/* Nagłówek sekcji: tytuł + link po prawej, bez etykiet nad tytułem */
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-title-row .h2 { margin: 0; }
.section-title-row p { margin: 10px 0 0; color: var(--ink-2); max-width: 640px; }
.more-link { font-family: var(--font-head); font-weight: 700; font-stretch: var(--stretch); font-size: 17px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.more-link:hover { color: var(--violet); }

/* Hero ze zdjęciem na całą szerokość */
.hero-photo { position: relative; color: #FFFFFF; background: var(--dark); overflow: hidden; }
.hero-photo .media { position: absolute; inset: 0; }
.hero-photo .media img, .hero-photo .media picture { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.82) 0%, rgba(11,11,12,.55) 45%, rgba(11,11,12,.12) 100%); }
.hero-photo .wrap { position: relative; z-index: 1; min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 96px; padding-bottom: 64px; }
.hero-photo h1 { color: #FFFFFF; font-size: clamp(46px, 7.2vw, 104px); max-width: 980px; margin: 0 0 20px; }
.hero-photo .lead { color: #E7E5E0; max-width: 620px; margin: 0 0 32px; }
.hero-photo .hero-meta { margin-top: 28px; font-size: 15px; color: #D9D7D1; }
.hero-photo .breadcrumb, .hero-photo .breadcrumb a { color: #D9D7D1; }
@media (max-width: 760px) {
  .hero-photo::after { background: linear-gradient(0deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.55) 55%, rgba(11,11,12,.2) 100%); }
  .hero-photo .wrap { min-height: 620px; padding-bottom: 40px; }
}
.btn--ghost-light { border-color: #FFFFFF; color: #FFFFFF; background: transparent; }
.btn--ghost-light:hover { background: #FFFFFF; color: var(--ink); }

/* Kafle ze zdjęciem (Kupujesz? / Sprzedajesz?) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-card); color: #FFFFFF; text-decoration: none; aspect-ratio: 4 / 3; background: var(--dark); }
.tile:hover { color: #FFFFFF; }
.tile .media { position: absolute; inset: 0; }
.tile .media img { transition: transform .5s ease; }
.tile:hover .media img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.25) 55%, rgba(11,11,12,0) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(22px, 3vw, 36px); }
.tile-title { color: #FFFFFF; font-size: clamp(30px, 3.4vw, 46px); margin: 0 0 8px; }
.tile-body p { color: #E7E5E0; margin: 0 0 16px; max-width: 460px; }
.tile-link { font-family: var(--font-head); font-weight: 700; font-stretch: var(--stretch); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.4; } }

/* Dwie opcje sprzedaży — zwięzłe kolumny */
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.option { background: var(--card); border-radius: var(--radius-card); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.option--hall { box-shadow: inset 0 0 0 2px var(--violet); }
.option .h3 { text-transform: uppercase; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.option-tag { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.option--hall .option-tag { color: var(--violet); }
.option p { margin: 0; color: var(--ink-2); }
.option .check-list { gap: 8px; }
.option-facts { display: flex; gap: 6px 20px; flex-wrap: wrap; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.option .btn, .option .more-link { align-self: flex-start; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } }

/* Liczby — duże, wąskie */
.stats-plain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stats-plain .stat-value { font-size: clamp(44px, 5vw, 72px); }
.stats-plain .stat-label { font-size: 15px; }
@media (max-width: 760px) { .stats-plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Etapy: numer + tytuł + jedno zdanie (bez plakietek ról) */
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.stages > li { list-style: none; padding: 20px 24px 8px 0; }
.stages .n { font-family: var(--font-head); font-stretch: var(--stretch); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink); }
.stages h3 { font-size: 19px; margin: 10px 0 4px; }
.stages p { margin: 0; color: var(--ink-2); font-size: 16px; }
ol.stages { margin: 0; padding: 0; }
@media (max-width: 900px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stages { grid-template-columns: 1fr; } .stages > li { padding-right: 0; } }

/* Karta auta — jak w katalogach aukcyjnych: zdjęcie, nazwa, parametry, cena */
.car-card { border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.car-card:hover { box-shadow: none; }
.car-card .car-photo { border-radius: var(--radius-card); }
.car-card .car-body { padding: 14px 2px 0; gap: 4px; }
.car-card .car-name { font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.car-card .car-spec { font-size: 15px; }
.car-card .car-price-row { border-top: 0; padding-top: 6px; margin-top: 2px; }
.car-card .car-body > :nth-last-child(2) { margin-bottom: 0; }
.car-card .car-price { font-size: 19px; }
.car-card:hover .car-name { text-decoration: none; color: var(--violet); }
.car-card:hover .car-photo img { transform: scale(1.03); }
.car-card .car-photo img { transition: transform .5s ease; }
.where-badge { font-size: 12px; padding: 4px 9px; }
.where-badge--owner { box-shadow: none; }
.car-card--cta { border-radius: var(--radius-card); padding: 32px; background: var(--dark); }
.car-card--cta h2 { text-transform: uppercase; font-size: 34px; line-height: 1; }

/* Spokojniejsze tła sekcji */
.section--white { border-top: 0; }
.card { border: 0; }
.form-card { border: 0; }
.faq summary { font-size: 17px; }

/* Formularz bez gwiazdek: pole opcjonalne oznaczone dopiskiem */
.fld .opt { font-weight: 400; color: var(--ink-3); font-size: 14px; margin-left: 4px; }
.stages--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .stages--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stages--4 { grid-template-columns: 1fr; } }
.pathbar { background: var(--card); border-bottom: 1px solid var(--line); }
.pathbar a.pill { border-color: var(--line-strong); }
/* Tytuły stron renderowanych przez JS (auto, blog, artykuł, polityka) w tym samym stylu */
.offer-topbar h1, .page-header h1, .catalog-cta h2, .related-offers-header h2, .article-contact-cta h2, .section-header h2, .gallery-rest-header h2 {
  font-stretch: var(--stretch); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0;
}
.offer-topbar h1 { font-size: clamp(34px, 4.6vw, 60px); }
.page-header h1 { font-size: clamp(40px, 5.6vw, 76px); }
.doc-links a::after { content: " ↓"; font-weight: 600; color: var(--ink-3); }
.brand-tag { display: none; }
.display, .h1, .h2, .h3, .stat-value, .tile-title { font-family: var(--font-head); }
@media (max-width: 760px) {
  .tile { aspect-ratio: auto; display: flex; flex-direction: column; }
  .tile .media { position: relative; aspect-ratio: 16 / 10; }
  .tile::after { display: none; }
  .tile-body { position: static; background: var(--dark); }
}
/* Plakietka przy „Garaż MB” w menu — to newsletter na LinkedIn */
.nav-tag { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: var(--sand); color: var(--ink-2); font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; text-decoration: none; }
.nav-links a:hover .nav-tag, .mobile-menu a .nav-tag { text-decoration: none; }
.mobile-menu li a .nav-tag { font-size: 12px; vertical-align: 3px; }
