:root {
  --bg: #ffffff;
  --band: #fcf2f2;
  --text: #1b1917;
  --text-2: #6b655b;
  --accent: #c62828;
  --accent-dark: #a01f1f;
  --border: #e3c9cb;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --wrap: 1120px;
  --shadow-sm: 0 1px 2px rgba(27,25,23,.05), 0 2px 8px rgba(27,25,23,.05);
  --shadow-md: 0 2px 4px rgba(27,25,23,.04), 0 10px 28px rgba(27,25,23,.09);
  --shadow-lg: 0 4px 8px rgba(27,25,23,.05), 0 18px 44px rgba(27,25,23,.13);
  --pad: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 76px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }
h2 { font-size: 24px; margin-bottom: 16px; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--text); color: #fff; padding: 8px 14px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 4px;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn-block { display: block; text-align: center; }

.link {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link:hover { color: var(--accent); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 31px;
  text-decoration: none;
  color: var(--text);
}
.header-phone { display: none; }

.menu-toggle {
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 1.6px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 8px var(--pad) 20px;
}
.nav.is-open { display: flex; }
.nav a {
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
}
.nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { border: 0; margin-top: 12px; color: var(--accent); font-weight: 700; }

/* Hero */
.hero { border-bottom: 1px solid var(--border); }
.hero-inner { display: flex; flex-direction: column-reverse; padding: 0; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; height: 260px; object-fit: cover; }
.hero-text { padding: 32px var(--pad) 36px; display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: 36px; }
.lead { color: var(--text-2); font-size: 16px; max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 6px; flex-wrap: wrap; }

/* Numbered list */
.why { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.why li { display: flex; flex-direction: column; gap: 2px; padding: 16px 14px; background: var(--band); border-radius: 8px; border-top: 3px solid var(--accent); }
.fact-big { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--accent); }
.fact-title { font-weight: 700; font-size: 15px; margin-top: 4px; }
.fact-text { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.numbered { list-style: none; margin: 0; padding: 0; }
.numbered li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.numbered li:last-child { border-bottom: 0; }
.num { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--accent); width: 24px; flex-shrink: 0; }

/* Courses band */
.band { background: var(--band); border-bottom: 1px solid var(--border); padding: 32px 0; }
.band .eyebrow { margin-bottom: 14px; }
.courses { display: grid; gap: 1px; }
.course { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.course:last-child { border-bottom: 0; }
.course-title { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.course-when { color: var(--text-2); font-size: 14px; }
.course-soon { color: var(--accent); font-weight: 600; }
.courses-fallback { color: var(--text-2); font-size: 15px; }
.courses-fallback a { color: var(--text); font-weight: 600; }

/* Rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.rows li { border-bottom: 1px solid var(--border); }
.rows a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 0;
  text-decoration: none;
  font-size: 17px;
  transition: color .15s ease, padding-left .2s ease;
}
.rows a::after { content: "→"; color: var(--text-2); margin-left: 8px; transition: transform .2s ease; }
.row-meta { margin-left: auto; color: var(--text-2); font-size: 14px; font-weight: 400; }
.rows a:hover { color: var(--accent); }
.rows a:hover::after { transform: translateX(4px); color: var(--accent); }

/* Quote */
.quote { margin: 0 0 14px; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 21px; line-height: 1.45; }
.note { color: var(--text-2); font-size: 13px; }

/* Footer */
.site-footer { padding: 36px 0 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 14px; }
.site-footer .logo { font-size: 19px; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }

/* Mobile call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border);
}

/* Desktop */
@media (min-width: 900px) {
  :root { --pad: 32px; }
  body { padding-bottom: 0; font-size: 17px; }
  h2 { font-size: 30px; }
  .call-bar, .menu-toggle { display: none; }

  .header-inner { height: 76px; gap: 32px; }
  .nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; border: 0; margin-left: auto; background: none;
  }
  .nav a { border: 0; padding: 4px 0; font-size: 15px; }
  .nav a:hover { color: var(--accent); }
  .nav .nav-cta { margin: 0; }
  .header-phone { display: block; font-weight: 600; font-size: 15px; text-decoration: none; }

  .hero-inner { flex-direction: row; align-items: stretch; padding: 0 var(--pad); gap: 56px; }
  .hero-text { flex: 1 1 50%; padding: 80px 0; justify-content: center; }
  .hero h1 { font-size: 60px; }
  .lead { font-size: 18px; }
  .hero-photo { flex: 1 1 50%; padding: 40px 0; }
  .hero-photo img { height: 100%; min-height: 420px; }

  .section { padding-top: 64px; padding-bottom: 64px; }
  .why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .why li { padding: 22px 20px; }
  .fact-big { font-size: 40px; }
  .numbered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .numbered li { border: 0; flex-direction: column; gap: 6px; font-size: 17px; }

  .band { padding: 48px 0; }
  .course { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; }
  .course-title { font-size: 24px; }

  .quote p { font-size: 30px; max-width: 26em; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* Ścieżka do prawa jazdy */
.path-intro { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.path-intro h2 { margin: 0; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path::before {
  content: ""; position: absolute; left: 17px; top: 26px; bottom: 26px;
  width: 1px; background: var(--border);
}
.path li { position: relative; }
.path details { border-bottom: 1px solid var(--border); }
.path li:last-child details { border-bottom: 0; }
.path summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; min-height: 44px;
}
.path summary::-webkit-details-marker { display: none; }
.path summary::after {
  content: ""; margin-left: auto; width: 9px; height: 9px; flex-shrink: 0;
  border-right: 1.6px solid var(--text-2); border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.path details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.path-num {
  position: relative; z-index: 1;
  width: 35px; height: 35px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; background: var(--bg);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 16px; color: var(--accent);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.path details[open] .path-num, .path summary:hover .path-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.path-title { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.path-body { padding: 0 0 18px 51px; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.path-body strong { color: var(--text); font-weight: 600; }
.path-body dl { margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.path-body dt { color: var(--text); font-weight: 600; }
.path-body dd { margin: 0; }
.path-body a { color: var(--text); font-weight: 600; text-decoration-color: var(--border); text-underline-offset: 3px; white-space: nowrap; }

@supports (interpolate-size: allow-keywords) {
  .path details { interpolate-size: allow-keywords; }
  .path details::details-content { height: 0; overflow: clip; transition: height .25s ease, content-visibility .25s allow-discrete; }
  .path details[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .path details::details-content { transition: none; }
}

/* Powiadomienie o najbliższym kursie */
.toast {
  position: fixed; left: var(--pad); right: var(--pad); bottom: 84px; z-index: 40;
  display: flex; align-items: flex-start; gap: 4px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(12px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.toast[hidden] { display: none; }
.toast.is-visible { transform: none; opacity: 1; }
.toast-body { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 12px 0 14px 16px; text-decoration: none; color: var(--text); }
.toast-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.toast-title { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.toast-when { font-size: 14px; color: var(--text-2); }
.toast-close { width: 44px; height: 44px; flex-shrink: 0; border: 0; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.toast-timer { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.toast.is-visible .toast-timer { animation: toast-timer var(--toast-ms, 8000ms) linear forwards; }
.toast:hover .toast-timer, .toast:focus-within .toast-timer { animation-play-state: paused; }
@keyframes toast-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } .toast-timer { display: none; } }

@media (min-width: 900px) {
  .path-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .path-intro { position: sticky; top: 32px; margin: 0; }
  .path-title { font-size: 22px; }

  .toast { left: auto; right: 28px; bottom: 28px; width: 340px; }
}

/* Podstrony */
.page-intro { padding: 36px 0 28px; border-bottom: 1px solid var(--border); }
.page-intro .wrap { display: flex; flex-direction: column; gap: 12px; }
.page-intro h1 { font-size: 36px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--text-2); font-weight: 400; }

/* Cennik */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.price-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 16px;
}
.price-list li:target { background: linear-gradient(var(--band), var(--band)) no-repeat; }
.price-name { display: flex; flex-direction: column; }
.price-cat { font-family: var(--serif); font-weight: 700; font-size: 21px; }
.price-desc { color: var(--text-2); font-size: 14px; }
.price-hours { grid-column: 1; color: var(--text-2); font-size: 14px; }
.price-value { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--serif); font-weight: 700; font-size: 22px; white-space: nowrap; }
.price-extra { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }
.price-extra strong { color: var(--text); font-weight: 600; }

/* Kalkulator */
.calc-intro { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.calc-intro h2 { margin: 0; }
.calc { display: flex; flex-direction: column; gap: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 20px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .calc-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.seg label { position: relative; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--border); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 11px 0; font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.seg input:checked + span { background: var(--text); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -4px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.calc-row .calc-label { margin: 0; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--text); cursor: pointer; }
.stepper button:disabled { color: var(--border); cursor: default; }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; min-height: 28px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.calc-result { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.calc-total-label { font-size: 13px; color: var(--text-2); }
.calc-total { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-breakdown { margin: 10px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; font-size: 14px; }
.calc-breakdown dt { color: var(--text-2); }
.calc-breakdown dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc-breakdown a { color: var(--text); font-weight: 600; }

.cta-end .wrap { display: flex; flex-direction: column; gap: 12px; }
.cta-end h2 { margin: 0; }

@media (min-width: 900px) {
  .page-intro { padding: 64px 0 48px; }
  .page-intro h1 { font-size: 52px; }
  .price-list li { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; padding: 22px 0; }
  .price-hours { grid-column: 2; grid-row: 1; }
  .price-value { grid-column: 3; grid-row: 1; }
  .calc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .calc-intro { margin: 0; position: sticky; top: 32px; }
  .calc { padding: 28px; }
}

/* Nagłówek przyklejony */
.site-header { position: sticky; top: 0; transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 18px rgba(27,25,23,.06); }

/* Karta najbliższego kursu w hero */
.hero-photo { position: relative; }
.hero-next {
  position: absolute; left: var(--pad); right: var(--pad); bottom: -34px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 12px 16px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(27,25,23,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-next[hidden] { display: none; }
.hero-next:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27,25,23,.16); }
.hero-next-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero-next-title { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.hero-next-when { font-size: 14px; color: var(--text-2); }
.hero-next-when .course-soon, .toast-when .course-soon { color: var(--accent); font-weight: 600; white-space: nowrap; }
.hero-inner:has(.hero-next:not([hidden])) .hero-text { padding-top: 56px; }

/* Płynne pojawianie się sekcji */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .hero-next { left: -28px; right: auto; bottom: 64px; min-width: 280px; }
  .hero-inner:has(.hero-next:not([hidden])) .hero-text { padding-top: 80px; }
  .social { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
}

@media print {
  .reveal { opacity: 1; transform: none; }
  .call-bar, .toast, .menu-toggle { display: none !important; }
}

/* Tekst ciągły */
.prose { display: flex; flex-direction: column; gap: 12px; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 22px; margin: 18px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-family: var(--sans); font-size: 16px; font-weight: 700; margin-top: 6px; }
.prose a { color: var(--text); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.prose-narrow { max-width: 42em; }

/* Kontakt */
.contact-grid { display: flex; flex-direction: column; gap: 32px; }
.contact-main { display: flex; flex-direction: column; gap: 4px; }
.contact-big { font-family: var(--serif); font-weight: 700; font-size: 34px; line-height: 1.2; text-decoration: none; width: fit-content; }
.contact-big:hover { color: var(--accent); }
.contact-mail { margin-top: 8px; font-weight: 600; width: fit-content; text-decoration-color: var(--border); text-underline-offset: 4px; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.hours-table th { font-weight: 500; color: var(--text-2); padding-right: 16px; }
.hours-table td { font-weight: 600; white-space: nowrap; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--text); }
.hours-table tr.is-today th::after { content: " · dziś"; color: var(--accent); font-weight: 600; }
.open-now { margin-top: 14px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-2); flex-shrink: 0; }
.open-now.is-open::before { background: #3f8a5a; box-shadow: 0 0 0 4px rgba(63,138,90,.15); }

.places { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.place { background: var(--bg); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.place h3 { font-size: 22px; }
.place-sub { color: var(--text-2); font-size: 14px; margin-bottom: 8px; }
.place .btn { padding: 11px 20px; font-size: 14px; }

.names { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.names li { padding: 14px 0; border-bottom: 1px solid var(--border); font-family: var(--serif); font-weight: 600; font-size: 20px; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 15px; }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; font-weight: 600; }

/* Formularz zapisu */
.form-layout { display: flex; flex-direction: column; gap: 40px; }
.signup { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(198,40,40,.15); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 13px; color: #b3261e; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.signup .btn:disabled { opacity: .6; cursor: default; }
.form-status { padding: 12px 14px; border-radius: 4px; font-size: 15px; font-weight: 600; background: var(--band); }
.form-status[data-kind="ok"] { background: #edf5ef; color: #245a37; }
.form-status[data-kind="error"] { background: #fbeceb; color: #8c1d18; }
.docs { display: flex; flex-direction: column; gap: 10px; }
.docs h2 { margin: 0 0 4px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.checklist li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--border); position: relative; font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 6px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }

.footer-legal a { color: var(--text-2); font-size: 13px; }
.page-404 { min-height: 50vh; display: flex; align-items: center; border: 0; }

@media (min-width: 900px) {
  .contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .contact-big { font-size: 52px; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place { padding: 28px; }
  .form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
  .docs { position: sticky; top: 104px; }
  .prose h2 { font-size: 26px; }
}

@media (max-width: 899px) {
  .is-typing .call-bar, .is-typing .toast { display: none; }
}

/* Głębia: cienie kart */
.calc { box-shadow: var(--shadow-md); border-radius: 8px; }
.places { box-shadow: var(--shadow-sm); border-radius: 8px; }
.hero-next { box-shadow: var(--shadow-lg); border-radius: 8px; }
.hero-next:hover { box-shadow: 0 6px 12px rgba(27,25,23,.06), 0 24px 52px rgba(27,25,23,.16); }
.btn { box-shadow: 0 1px 2px rgba(160,31,31,.25), 0 4px 12px rgba(198,40,40,.18); transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(160,31,31,.25), 0 8px 20px rgba(198,40,40,.24); }
.btn:active { transform: none; }
.btn-ghost { box-shadow: none; }

/* Nagłówek sekcji z linkiem po prawej */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head > div { display: flex; flex-direction: column; gap: 8px; }

/* Flota */
.fleet { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fleet-tile figure { margin: 0; background: #fbf0f0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease; height: 100%; display: flex; flex-direction: column; }
.fleet-tile img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.fleet-noimg { display: block; aspect-ratio: 3 / 2; background: repeating-linear-gradient(135deg, #fbf0f0 0 12px, #f6e4e4 12px 24px); }
.fleet-tile figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 1px; background: var(--bg); flex: 1; }
.fleet-cat { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fleet-name { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.25; }
.fleet-note { font-size: 12px; color: var(--text-2); }
.fleet-credits { margin-top: 14px; font-size: 11px; line-height: 1.5; }
@media (hover: hover) {
  .fleet-tile:hover figure { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .fleet-tile:hover img { transform: scale(1.03); }
}

/* Kafelki: opinie i #zdane */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tile { display: flex; }
.slider-viewport { overflow: hidden; margin: -6px -8px; padding: 6px 8px 12px; touch-action: pan-y; }
.slider .tiles { position: relative; display: flex; gap: 14px; transition: transform .5s ease; will-change: transform; }
.slider .tile { flex: 0 0 88%; }
.slider-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.slider-controls[hidden] { display: none; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.slider-btn:hover { border-color: var(--text-2); }
.slider-dots { display: flex; gap: 2px; }
.slider-dot { width: 28px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.slider-dot[hidden] { display: none; }
.slider-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background-color .2s ease, width .25s ease; }
.slider-dot[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .slider .tiles { transition: none; } }
.tile-card { margin: 0; flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.review { padding: 20px 20px 18px; gap: 14px; }
.review-stars { color: #c98a1b; font-size: 15px; letter-spacing: 2px; }
.review-text { margin: 0; flex: 1; }
.review-text p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.review-author img { width: 32px; height: 32px; border-radius: 50%; }
.review-author a { color: inherit; }
.review-when { display: block; font-weight: 400; }
.rating-summary { font-size: 14px; color: var(--text-2); margin: -10px 0 18px; }
.rating-summary strong { color: var(--text); }
.tiles-note { margin-top: 12px; font-size: 12px; }
.post { flex-direction: row; }
.post-img { width: 38%; flex-shrink: 0; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #fbf0f0; }
.post-img-empty { display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; color: var(--accent); background: #fbf0f0; }
.post-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.post-date { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.post-text { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-link { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; width: fit-content; text-decoration-color: var(--border); text-underline-offset: 3px; }

/* Prośba o opinię */
.review-cta { margin-top: 22px; padding: 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--band); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.review-cta h3 { font-family: var(--serif); font-size: 20px; margin: 4px 0 6px; }
.review-cta p:not(.eyebrow) { color: var(--text-2); font-size: 15px; }

/* Druki do pobrania */
.download { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); text-decoration: none; color: var(--text); }
a.download:hover { border-color: var(--text-2); }
.download-title { font-weight: 700; }
a.download .download-title::after { content: " ↓"; color: var(--accent); }
.download-meta { font-size: 13px; color: var(--text-2); }
.download.is-soon { border-style: dashed; }

/* FAQ */
.faq-layout { display: flex; flex-direction: column; gap: 18px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-2); }

/* Mapa z pinezką */
.map-frame { display: block; width: 100%; height: 300px; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow-sm); background: var(--band); }
.map-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.map-bar address { font-style: normal; }

@media (min-width: 640px) {
  .fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider .tile { flex-basis: calc((100% - 14px) / 2); }
  .post { flex-direction: column; }
  .post-img { width: 100%; aspect-ratio: 4 / 3; }
  .post-img-empty { font-size: 34px; }
}
@media (min-width: 900px) {
  .fleet { gap: 18px; }
  .fleet-name { font-size: 19px; }
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .slider .tiles { gap: 18px; }
  .slider .tile { flex-basis: calc((100% - 36px) / 3); }
  .map-frame { height: 380px; }
  .review-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 28px; }
  .review-cta .btn { flex-shrink: 0; }
  .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .hero-photo img { border-radius: 6px; box-shadow: var(--shadow-md); }
  .signup { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px; box-shadow: var(--shadow-md); }
}
.section-head .link { align-self: flex-start; }
