/* EWEL-BUS — strona wynajmu pojazdów. Kolory z logo: zieleń #33CD46, czerń i biel. */

:root {
  --ink: #000000;
  --ink-2: #141816;
  --ink-3: #3c443f;
  --paper: #ffffff;
  --band: #f2f6f2;
  --band-2: #e6ece7;
  --line: #e0e7e1;
  --muted: #5f6a62;
  --brand: #33cd46;
  --brand-2: #26b038;
  --brand-deep: #15862a;
  --brand-soft: #e6f9e9;
  --red: #b23131;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 30px rgba(0, 0, 0, .08);

  /* Ciemne bloki (nagłówek główny, „jak wynajmujemy”, stopka) — motyw czarno-zielony. */
  --surface-ink: #000000;
  --on-ink: #ffffff;
  --on-ink-2: #a7aeba;
  --on-ink-3: #c8cdd6;
  --ink-line: rgba(255, 255, 255, .14);
  /* Lekka mgiełka — zdjęcie ma być widoczne; czytelność napisów bierze się z cienia tekstu. */
  --hero-veil: linear-gradient(180deg, rgba(0, 0, 0, .50) 0%, rgba(0, 0, 0, .34) 52%, rgba(0, 0, 0, .58) 100%);
  --hero-photo: 1;
  --hero-shadow: 0 2px 20px rgba(0, 0, 0, .55);
  --hero-lead-color: #e9ecf1;
  --hero-note-color: #ffffff;
  --hero-note-bg: rgba(0, 0, 0, .58);
  --ghost-line: rgba(255, 255, 255, .45);
  --ghost-hover: rgba(255, 255, 255, .10);
  --ghost-text: #ffffff;
}

/* Motyw jasny: te same bloki na bieli i zieleni. */
[data-theme="light"] {
  --surface-ink: #f4f8f4;
  --on-ink: #000000;
  --on-ink-2: #5f6a62;
  --on-ink-3: #39413b;
  --ink-line: rgba(0, 0, 0, .10);
  --hero-veil: linear-gradient(180deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .56) 52%, rgba(255, 255, 255, .78) 100%);
  --hero-photo: 1;
  --hero-shadow: 0 2px 18px rgba(255, 255, 255, .85);
  --hero-lead-color: #26302a;
  --hero-note-color: #141a16;
  --hero-note-bg: rgba(255, 255, 255, .86);
  --ghost-line: rgba(0, 0, 0, .22);
  --ghost-hover: rgba(0, 0, 0, .05);
  --ghost-text: #000000;
}

*, *::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(--paper); color: var(--ink); font: 16px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* Zielona kreska — znak rozpoznawczy sekcji */
.keyline { display: block; width: 46px; height: 5px; background: var(--brand); border-radius: 2px; margin-bottom: 18px; }

/* ---------- Nagłówek ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { max-height: 42px; width: auto; object-fit: contain; }
.brand-mark { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.nav { display: none; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-3); padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }
@media (min-width: 900px) { .nav { display: flex; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700;
  font-size: 15px; padding: 11px 20px; border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn-call { background: var(--brand); color: #000; }
.btn-call:hover { background: var(--brand-2); }
.btn-call span { display: none; }
@media (min-width: 560px) { .btn-call span { display: inline; } }
.btn-primary { background: var(--brand); color: #000; font-size: 16px; padding: 14px 24px; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--ghost-line); color: var(--ghost-text); font-size: 16px; padding: 12px 22px; }
.btn-ghost:hover { border-color: var(--ghost-text); background: var(--ghost-hover); }
.btn-dark { background: var(--ink); color: #fff; font-size: 16px; padding: 13px 22px; }
.btn-dark:hover { background: var(--ink-2); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }

.burger { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); }
@media (min-width: 900px) { .burger { display: none; } }
.nav-mobile { display: grid; border-top: 1px solid var(--line); background: #fff; }
.nav-mobile[hidden] { display: none; }
@media (min-width: 900px) { .nav-mobile { display: none !important; } }
.nav-mobile a { padding: 15px 20px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--surface-ink); color: var(--on-ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: var(--hero-photo); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-veil);
}
.hero-in { position: relative; z-index: 1; padding-block: 54px 40px; }
@media (min-width: 900px) {
  .hero-in { padding-block: 132px 76px; min-height: 66vh; display: flex; flex-direction: column; justify-content: flex-end; }
}
.hero h1, .hero-lead, .hero-note { text-shadow: var(--hero-shadow); }
.hero h1 { font-size: clamp(34px, 7.2vw, 66px); line-height: .98; max-width: 16ch; }
.hero-lead { margin-top: 18px; font-size: clamp(16px, 2.2vw, 20px); color: var(--hero-lead-color); max-width: 52ch; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note {
  margin-top: 22px; font-size: 14.5px; display: inline-block; color: var(--hero-note-color);
  background: var(--hero-note-bg); padding: 7px 14px; border-radius: 99px; backdrop-filter: blur(3px);
  /* W kolumnie flex (duży ekran) element i tak stałby się blokiem — stąd te dwie linijki. */
  align-self: flex-start; width: fit-content;
}

.facts { position: relative; z-index: 1; border-top: 1px solid var(--ink-line); background: var(--surface-ink); }
.facts-in { display: grid; gap: 1px; background: var(--ink-line); grid-template-columns: 1fr; }
@media (min-width: 720px) { .facts-in { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--surface-ink); padding: 20px 20px 22px; }
.fact b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--on-ink); }
.fact span { display: block; color: var(--on-ink-2); font-size: 14.5px; margin-top: 3px; }

/* ---------- Sekcje ---------- */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 84px 0; } }
.sec-band { background: var(--band); }
.sec-ink { background: var(--surface-ink); color: var(--on-ink); }
.sec-head { max-width: 62ch; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(26px, 4.4vw, 40px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.sec-ink .sec-head p { color: var(--on-ink-2); }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* Kategorie */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px;
  border: 1.5px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px;
}
.chip:hover { border-color: var(--ink-3); }
.chip em { font-style: normal; color: var(--muted); font-size: 13px; }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-current] em { color: #9aa2b0; }
.sec-band .chip { background: #fff; }

/* Karty pojazdów */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: var(--ink-3); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--band-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa2b0; }
.tagline {
  position: absolute; left: 12px; top: 12px; font-size: 12.5px; font-weight: 700; padding: 4px 10px;
  border-radius: 99px; background: var(--brand); color: #000;
}
.card-body { padding: 16px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 13px; color: var(--muted); }
.card-title { font-size: 19px; margin-top: 4px; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.card-desc { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.price b { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; display: block; }
.price span { font-size: 13px; color: var(--muted); }
.card-more { font-size: 14px; font-weight: 700; color: var(--ink-3); border-bottom: 2px solid var(--brand); text-decoration: none; }
.card-more:hover { color: var(--ink); }
/* Niewidoczna nakładka: klik w dowolne miejsce karty otwiera pojazd. */
.card-hit { position: absolute; inset: 0; z-index: 1; }
.card-media, .card-title a { position: relative; z-index: 2; }

.empty-box { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 40px 20px; text-align: center; color: var(--muted); }

/* Kroki */
.steps { display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: krok; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.step { border-top: 3px solid var(--ink-line); padding-top: 18px; }
.step::before {
  counter-increment: krok; content: "0" counter(krok);
  font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--brand); display: block; margin-bottom: 8px;
}
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; color: var(--on-ink-2); font-size: 15.5px; }

/* O nas */
.about { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.about-text p { color: var(--ink-3); font-size: 17px; line-height: 1.7; }
.about-text p + p { margin-top: 14px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.info-row:last-of-type { border-bottom: 0; }
.info-row span:first-child { color: var(--muted); }
.info-row b { font-weight: 600; text-align: right; }
.info-row a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; font-family: var(--display);
  font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 22px; width: 13px; height: 13px;
  border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 26px; }
.faq p { padding: 0 18px 18px; color: var(--ink-3); font-size: 15.5px; }

/* Pasek zachęty */
.cta-band { background: var(--brand); color: #000; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 38px; }
.cta-in h2 { font-size: clamp(24px, 3.6vw, 34px); max-width: 20ch; }
.cta-in p { margin-top: 8px; font-size: 16.5px; }

/* ---------- Karta pojazdu ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.v-top { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 22px 0 10px; }
@media (min-width: 900px) { .v-top { grid-template-columns: 1.3fr .7fr; gap: 42px; align-items: start; } }
.v-main-photo { border-radius: var(--r); overflow: hidden; background: var(--band-2); aspect-ratio: 4 / 3; }
.v-main-photo img { width: 100%; height: 100%; object-fit: cover; }
.v-noimg { display: grid; place-items: center; height: 100%; color: #9aa2b0; }
.v-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; margin-top: 9px; }
.v-thumbs button { padding: 0; border: 2px solid transparent; background: var(--band-2); border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.v-thumbs button[aria-current] { border-color: var(--brand); }
.v-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-side { position: sticky; top: 90px; }
.v-cat { color: var(--muted); font-size: 14.5px; }
.v-title { font-size: clamp(27px, 4.6vw, 40px); margin-top: 6px; }
.v-price { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 20px; box-shadow: var(--shadow); background: #fff; }
.v-price .big { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.v-price .big span { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.v-price .btn { width: 100%; margin-top: 14px; }
.v-status { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; margin-top: 12px; }
.v-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-deep); }
.v-dot-busy { background: #c98a00; }
.v-desc { font-size: 17px; line-height: 1.75; color: var(--ink-3); white-space: pre-line; }
.v-specs { display: grid; gap: 0; margin-top: 8px; }
.v-incl { display: grid; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.v-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-3); }
.v-incl svg { flex: none; margin-top: 3px; color: var(--brand-deep); }

/* ---------- Formularz ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.f-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .f-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 3px solid rgba(51, 205, 70, .35); }
.field-check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; }
.field-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.msg { border-radius: 10px; padding: 14px 16px; font-weight: 600; margin-bottom: 16px; }
.msg-ok { background: var(--brand-soft); color: var(--brand-deep); }
.msg-err { background: #fbeaea; color: var(--red); }

/* ---------- Treść prawna ---------- */
.prose { max-width: 75ch; font-size: 16.5px; line-height: 1.75; color: var(--ink-3); }
.prose h1 { font-size: clamp(27px, 4.4vw, 38px); color: var(--ink); margin-bottom: 18px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 32px 0 10px; }
.prose h3 { font-size: 18px; color: var(--ink); margin: 24px 0 8px; }
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }

/* ---------- Stopka ---------- */
.ftr { background: var(--surface-ink); color: var(--on-ink-3); padding: 46px 0 22px; font-size: 15px; }
.ftr-in { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ftr-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; } }
.ftr-name { font-family: var(--display); font-weight: 700; color: var(--on-ink); font-size: 17px; margin-bottom: 8px; }
.ftr-h { font-family: var(--display); font-weight: 700; color: var(--on-ink); font-size: 14px; margin-bottom: 10px; }
.ftr-line { margin-bottom: 6px; }
.ftr-line a { text-decoration: none; }
.ftr-line a:hover { color: var(--on-ink); text-decoration: underline; }
.ftr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--ink-line); margin-top: 34px; padding-top: 18px; font-size: 14px; color: var(--on-ink-2); }

/* Powiększanie zdjęć */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .94); display: grid; place-items: center; padding: 18px; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; font-size: 22px; }

/* Dane techniczne pojazdu */
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.card-specs span {
  font-size: 12.5px; font-weight: 600; color: var(--ink-3); background: var(--band);
  border-radius: 6px; padding: 3px 8px;
}
.v-chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 12px 0 0; }
.v-chips li {
  font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--brand-soft);
  border-radius: 7px; padding: 5px 10px;
}
.equip { display: grid; grid-template-columns: 1fr; gap: 8px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .equip { grid-template-columns: 1fr 1fr; } }
.equip li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-3); }
.equip li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand);
}

/* ---------- Rezerwacja online ---------- */
.book { display: grid; gap: 26px; align-items: start; }
@media (min-width: 980px) { .book { grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; } }

.book-form { display: grid; gap: 18px; min-width: 0; }
.book-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.book-h { display: flex; align-items: center; gap: 11px; font-size: 19px; margin-bottom: 16px; }
.book-h span {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #000;
  display: inline-grid; place-items: center; font-size: 14px; font-weight: 800; flex: none;
}
.book-hint { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.book-hint.is-bad { color: var(--red); font-weight: 600; }
.book-note { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.5; }
.book-send { width: 100%; margin-top: 18px; }

/* Kalendarz */
.cal { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 18px; background: #fcfdfc; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-top strong { font-family: var(--display); font-size: 17px; text-transform: capitalize; }
.cal-arrow {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink);
}
.cal-arrow:hover { border-color: var(--ink); }
.cal-dows, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dows span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-days .cal-day {
  aspect-ratio: 1 / 1; min-height: 40px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.cal-days .is-free:not(.is-pick):not(.is-between):hover { border-color: var(--brand-deep); background: var(--brand-soft); }
.cal-days .is-busy { background: #f6e9e9; color: #b08585; border-color: #f0dcdc; cursor: not-allowed; text-decoration: line-through; }
.cal-days .is-off { background: #f5f6f5; color: #b9c0ba; border-style: dashed; cursor: not-allowed; }
.cal-days .is-out { opacity: .45; }
.cal-days .is-between { background: var(--brand-soft); border-color: var(--brand-soft); }
.cal-days .is-pick { background: var(--brand); border-color: var(--brand-deep); color: #000; }
.cal[data-loading] { opacity: .55; pointer-events: none; }
.cal[data-loading] .cal-days { filter: grayscale(1); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; display: block; border: 1px solid var(--line); }
.cal-legend .is-free { background: #fff; }
.cal-legend .is-busy { background: #f6e9e9; border-color: #f0dcdc; }
.cal-legend .is-pick { background: var(--brand); border-color: var(--brand-deep); }

/* Podsumowanie */
.book-side { min-width: 0; }
.book-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 980px) { .book-sum { position: sticky; top: 90px; } }
.book-sum-h { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.book-sum-media { border-radius: 10px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 4 / 3; background: var(--band); }
.book-sum-media img { width: 100%; height: 100%; object-fit: cover; }
.book-sum .info-card { border: 0; box-shadow: none; padding: 0; }
.book-sum-note { color: var(--muted); font-size: 13.5px; margin-top: 12px; line-height: 1.5; }
.book-call { width: 100%; margin-top: 14px; white-space: normal; text-align: center; font-size: 14.5px; line-height: 1.35; padding: 12px 14px; }

.book-done { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); max-width: 640px; border-top: 5px solid var(--brand); }
.book-done-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.book-done-act .btn { flex: 1 1 200px; }

/* ---------- Przełącznik motywu ---------- */
.theme-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: none; padding: 0;
}
.theme-btn:hover { border-color: var(--ink); }
.theme-btn svg { display: block; }
.theme-btn .ico-dark { display: none; }
[data-theme="light"] .theme-btn .ico-dark { display: block; }
[data-theme="light"] .theme-btn .ico-light { display: none; }

/* Podpis wykonawcy */
.ftr-made { display: flex; align-items: center; gap: 6px; }
.ftr-made a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--brand); }
.ftr-made a:hover { color: var(--on-ink); }
