:root {
  --paper: #f7fbfc;
  --surface: #ffffff;
  --surface-soft: #edf8f8;
  --surface-raised: rgba(255, 255, 255, .92);
  --ink: #102d33;
  --muted: #587076;
  --line: #cce0e2;
  --lagoon: #087f8c;
  --lagoon-deep: #05616b;
  --mist: #ddf3f4;
  --coral: #ff7a66;
  --danger: #b42318;
  --success: #18794e;
  --shadow: 0 18px 50px rgba(16, 45, 51, .1);
  --shadow-soft: 0 8px 26px rgba(16, 45, 51, .07);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --header-height: 76px;
  color-scheme: light;
}

[data-theme="dark"] {
  --paper: #0b2025;
  --surface: #102c32;
  --surface-soft: #15383f;
  --surface-raised: rgba(16, 44, 50, .94);
  --ink: #edfafa;
  --muted: #abc3c6;
  --line: #285158;
  --mist: #17444b;
  --lagoon: #3cc2c9;
  --lagoon-deep: #7ce0e4;
  --coral: #ff9787;
  --danger: #ff9b8f;
  --success: #75d8a5;
  --shadow: 0 18px 60px rgba(0, 0, 0, .28);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, .18);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 7%, color-mix(in srgb, var(--mist), transparent 22%) 0, transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: background-color .25s ease, color .25s ease;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }
svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--coral), transparent 15%);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 32px, 1220px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 25%);
  background: color-mix(in srgb, var(--paper), transparent 14%);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  letter-spacing: -.04em;
}

.brand__mark { width: 38px; height: 38px; margin-right: 8px; fill: var(--lagoon); }
.brand__mark .brand__spark { fill: var(--surface); }
.brand__name { font-size: 20px; font-weight: 800; }
.brand__word { margin-left: 5px; color: var(--lagoon); font-size: 18px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.location-chip, .header-phone { display: none; }

.location-chip {
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.location-chip svg { width: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.header-phone {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.theme-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.theme-icon--moon { display: none; }
[data-theme="dark"] .theme-icon--sun { display: none; }
[data-theme="dark"] .theme-icon--moon { display: block; }

/* Ustawiane przez skrypt w <head> tylko dla en/uk i zdejmowane po tłumaczeniu.
   Chowamy treść, a nie tło, więc widać już właściwy motyw zamiast bieli. */
.is-translating body { visibility: hidden; }

/* Przełącznik języka. Ramka i tło jak w .icon-button, bo stoi tuż obok motywu i ma
   czytać się jako ta sama rodzina kontrolek: 3px paddingu + 36px opcji + 2px ramki = 44px.
   Stan wybrany mówi tym samym językiem co reszta formularza (.extra-card.is-selected):
   tło --mist, treść --lagoon. Trekking jak w podpisach użytkowych (.section-kicker);
   waga 700, bo Inter wyżej nie ma — 800 przeglądarka i tak by podrobiła. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
}

.lang-switch__option {
  min-width: 36px;
  height: 36px;
  padding: 0 4px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-switch__option:hover { color: var(--ink); }

.lang-switch__option.is-active {
  background: var(--mist);
  color: var(--lagoon);
}

.hero {
  display: grid;
  gap: 34px;
  align-items: center;
  padding-block: 52px 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lagoon-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--coral), transparent 82%);
}

.hero h1 {
  max-width: 780px;
  margin: 16px 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(39px, 6.2vw, 70px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}

/* Tylko akcent, nie każdy span w nagłówku: pierwsza linia też siedzi w spanie
   (dla data-i18n) i przy selektorze `h1 span` łapała kolor, podkreślenie i nowrap. */
.hero h1 .hero__accent {
  position: relative;
  color: var(--lagoon);
  white-space: nowrap;
}

.hero h1 .hero__accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -5px;
  height: 7px;
  border-radius: 99px;
  background: var(--coral);
  opacity: .7;
  transform: rotate(-1.2deg) scaleX(.96);
}

.hero__copy > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.trust-row svg { width: 17px; height: 17px; padding: 3px; border-radius: 50%; background: var(--mist); color: var(--lagoon); fill: none; stroke: currentColor; stroke-width: 2.4; }

.hero__signal {
  position: relative;
  width: min(70vw, 310px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.signal-orbit {
  position: absolute;
  inset: 5%;
  border: 1px solid color-mix(in srgb, var(--lagoon), transparent 62%);
  border-radius: 44% 56% 59% 41% / 47% 35% 65% 53%;
  transform: rotate(10deg);
}

.signal-orbit--two { inset: 17%; transform: rotate(-25deg); border-style: dashed; }

.signal-card {
  position: absolute;
  inset: 27% 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--surface), transparent 15%);
  border-radius: 46% 54% 48% 52% / 58% 45% 55% 42%;
  background: color-mix(in srgb, var(--surface), transparent 7%);
  box-shadow: var(--shadow);
  text-align: center;
  transform: rotate(3deg);
  backdrop-filter: blur(12px);
}

.signal-card__label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.signal-card strong { margin-block: 4px; font-family: "Manrope", sans-serif; font-size: clamp(22px, 5vw, 34px); letter-spacing: -.05em; white-space: nowrap; }
.signal-card__meta { color: var(--lagoon); font-size: 12px; font-weight: 700; }
.signal-spark { position: absolute; width: 28px; fill: var(--coral); }
.signal-spark--one { top: 8%; right: 14%; transform: rotate(12deg); }
.signal-spark--two { bottom: 13%; left: 9%; width: 17px; fill: var(--lagoon); }

.booking { display: grid; gap: 26px; align-items: start; padding-bottom: 130px; }
.booking__main { min-width: 0; }

.progress-strip {
  position: sticky;
  top: 8px;
  z-index: 12;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid color-mix(in srgb, var(--line), transparent 20%);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.progress-strip__text { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.progress-strip__text strong { color: var(--lagoon); }
.progress-strip__track { height: 5px; overflow: hidden; border-radius: 99px; background: var(--line); }
.progress-strip__track span { display: block; width: 17%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lagoon), #42c2c8); transition: width .35s ease; }

.form-flow { position: relative; }
.form-flow::before, .form-flow::after { content: ""; position: absolute; top: 28px; bottom: 44px; left: 18px; width: 2px; border-radius: 99px; }
.form-flow::before { background: var(--line); }
.form-flow::after { background: linear-gradient(var(--lagoon), #5bcbd0); transform: scaleY(var(--progress)); transform-origin: top; transition: transform .45s ease; }

.form-section {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.form-section__marker {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: .25s ease;
}

.form-section.is-complete .form-section__marker { border-color: var(--lagoon); background: var(--lagoon); color: #fff; }

.form-section__content {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(16, 45, 51, .035);
}

.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-kicker { display: block; margin-bottom: 3px; color: var(--lagoon); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(21px, 4vw, 27px); letter-spacing: -.04em; line-height: 1.15; }
.section-status { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; background: var(--surface-soft); color: var(--muted); font-size: 10px; font-weight: 700; }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.choice-grid { display: grid; gap: 10px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input, .frequency-card input, .inline-options input, .payment-grid input, .check-row > input { position: absolute; opacity: 0; pointer-events: none; }

.choice-card--kind {
  min-height: 90px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.choice-card--kind:hover { transform: translateY(-2px); border-color: var(--lagoon); }
.choice-card--kind:has(input:checked) { border-color: var(--lagoon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--lagoon); }
.choice-card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--surface); color: var(--lagoon); }
.choice-card__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 14px; }
.choice-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.choice-card__check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; }
.choice-card__check svg { width: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.choice-card:has(input:checked) .choice-card__check { border-color: var(--lagoon); background: var(--lagoon); color: #fff; }

.counter-grid { display: grid; gap: 10px; }
.counter-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.counter-row strong, .counter-row small { display: block; }
.counter-row strong { font-size: 14px; }
.counter-row small { color: var(--muted); font-size: 11px; }
.counter { display: grid; grid-template-columns: 40px 36px 40px; align-items: center; }
.counter button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--lagoon); font-size: 22px; line-height: 1; cursor: pointer; }
.counter button:hover { border-color: var(--lagoon); background: var(--mist); }
.counter output { text-align: center; font-family: "Manrope", sans-serif; font-weight: 800; font-variant-numeric: tabular-nums; }

.inline-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.inline-options legend { width: 100%; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.inline-options label { cursor: pointer; }
/* `>`, bo „Aneks” ma własny span pod data-i18n — bez tego pigułka rysowała się w pigułce. */
.inline-options label > span { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 12px; font-weight: 600; }
.inline-options label:has(input:checked) > span { border-color: var(--lagoon); background: var(--mist); color: var(--ink); }
.inline-options em { margin-left: 5px; color: var(--success); font-style: normal; }

.switch-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.switch-row strong, .switch-row small { display: block; }
.switch-row strong { font-size: 13px; }
.switch-row small { color: var(--muted); font-size: 11px; }
.switch-row input { position: absolute; opacity: 0; }
.switch { flex: 0 0 auto; width: 48px; height: 28px; padding: 3px; border-radius: 99px; background: var(--line); transition: background .2s ease; }
.switch::after { content: ""; display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); box-shadow: 0 2px 7px rgba(0,0,0,.15); transition: transform .2s ease; }
.switch-row input:checked + .switch { background: var(--lagoon); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }

.field-grid { display: grid; gap: 13px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span:first-child, .field > span:first-child small { font-size: 12px; font-weight: 700; }
.field > span:first-child small { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .promo input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 94px; }
.field input:focus, .field textarea:focus, .promo input:focus { border-color: var(--lagoon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lagoon), transparent 83%); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.input-suffix { position: relative; display: block; }
.input-suffix input { padding-right: 42px; }
.input-suffix small { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.helper-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.helper-note svg { flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: var(--lagoon); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.date-picker__days { display: grid; grid-template-columns: repeat(4, minmax(66px, 1fr)); gap: 7px; overflow-x: auto; padding: 2px 2px 7px; }
.date-option { position: relative; cursor: pointer; }
.date-option input { position: absolute; opacity: 0; }
.date-option span { min-height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--muted); font-size: 11px; text-align: center; transition: .2s ease; }
.date-option strong { color: var(--ink); font-family: "Manrope", sans-serif; font-size: 18px; line-height: 1; }
.date-option:has(input:checked) span { border-color: var(--lagoon); background: var(--lagoon); color: rgba(255,255,255,.78); box-shadow: 0 8px 18px color-mix(in srgb, var(--lagoon), transparent 72%); }
.date-option:has(input:checked) strong { color: #fff; }

.time-picker { margin-top: 20px; }
.time-picker legend { margin-bottom: 10px; font-size: 12px; font-weight: 700; }
.time-options { display: flex; flex-wrap: wrap; gap: 8px; }
.time-option { position: relative; cursor: pointer; }
.time-option input { position: absolute; opacity: 0; }
.time-option span { min-width: 70px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 700; }
.time-option:has(input:checked) span { border-color: var(--lagoon); background: var(--mist); color: var(--lagoon-deep); box-shadow: inset 0 0 0 1px var(--lagoon); }

.frequency-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.frequency-card { position: relative; min-height: 118px; display: flex; flex-direction: column; justify-content: flex-end; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; transition: .2s ease; }
.frequency-card:has(input:checked) { border-color: var(--lagoon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--lagoon); }
.frequency-card strong, .frequency-card small { display: block; }
.frequency-card strong { font-size: 13px; }
.frequency-card small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.discount-pill { position: absolute; top: 11px; left: 11px; padding: 3px 7px; border-radius: 99px; background: color-mix(in srgb, var(--coral), transparent 82%); color: color-mix(in srgb, var(--coral), var(--ink) 20%); font-size: 10px; font-weight: 800; }
.discount-pill--muted { background: var(--surface-soft); color: var(--muted); }
.radio-dot { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%; }
.frequency-card:has(input:checked) .radio-dot { border: 5px solid var(--lagoon); background: var(--surface); }

.extras-grid { display: grid; gap: 10px; }
.extra-card { min-height: 82px; display: grid; grid-template-columns: 45px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.extra-card.is-selected { border-color: var(--lagoon); background: var(--mist); }
.extra-card__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--surface); color: var(--lagoon); font-family: "Manrope", sans-serif; font-size: 20px; }
.extra-card__copy strong, .extra-card__copy small { display: block; }
.extra-card__copy strong { font-size: 12px; line-height: 1.25; }
.extra-card__copy small { margin-top: 4px; color: var(--lagoon-deep); font-size: 11px; font-weight: 700; }
.extra-card .counter { grid-template-columns: 34px 27px 34px; }
.extra-card .counter button { width: 34px; height: 34px; font-size: 18px; }

.empty-state { min-height: 130px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; color: var(--muted); text-align: center; }
.empty-state p { width: 100%; margin: 6px 0 0; font-size: 12px; }
.loader-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lagoon); animation: pulse 1s ease infinite alternate; }
.loader-dot:nth-child(2) { animation-delay: .18s; }
.loader-dot:nth-child(3) { animation-delay: .36s; }

.subsection + .subsection { margin-top: 25px; padding-top: 23px; border-top: 1px solid var(--line); }
.subsection h3 { margin: 0 0 14px; font-family: "Manrope", sans-serif; font-size: 15px; }
.field-grid--address, .field-grid--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field--wide, .field--full { grid-column: 1 / -1; }

.payment-grid { display: grid; gap: 8px; }
.payment-grid label { position: relative; min-height: 72px; display: grid; grid-template-columns: 43px minmax(0, 1fr); align-content: center; column-gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; }
.payment-grid label:has(input:checked) { border-color: var(--lagoon); background: var(--mist); box-shadow: inset 0 0 0 1px var(--lagoon); }
.payment-grid strong, .payment-grid small { grid-column: 2; display: block; }
.payment-grid strong { font-size: 12px; }
.payment-grid small { color: var(--muted); font-size: 10px; }
.payment-icon { grid-row: 1 / 3; width: 43px; height: 34px; display: grid; place-items: center; align-self: center; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.payment-icon--blik { background: #fff; color: #111; border: 1px solid #ddd; font-size: 9px; }

.consents { display: grid; gap: 12px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.check-row { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--muted); font-size: 11px; cursor: pointer; }
.check-row a { color: var(--lagoon-deep); font-weight: 700; }
.check-row small { font-size: inherit; }
.custom-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: transparent; }
.custom-check svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.check-row:has(input:checked) .custom-check { border-color: var(--lagoon); background: var(--lagoon); color: #fff; }
.check-row:has(input[aria-invalid="true"]) .custom-check { border-color: var(--danger); }

.field-error { display: block; min-height: 0; color: var(--danger); font-size: 10px; font-weight: 600; }
.field-error:not(:empty) { margin-top: 3px; }
.form-error-summary { display: none; margin-top: 18px; padding: 11px 13px; border: 1px solid color-mix(in srgb, var(--danger), transparent 55%); border-radius: 10px; background: color-mix(in srgb, var(--danger), transparent 92%); color: var(--danger); font-size: 12px; }
.form-error-summary:not(:empty) { display: block; }

.primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--lagoon);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lagoon), transparent 68%);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.primary-button:hover { background: var(--lagoon-deep); transform: translateY(-1px); }
.primary-button:disabled { opacity: .65; cursor: wait; transform: none; }
.primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.primary-button--wide { width: 100%; }
.submit-order { margin-top: 18px; }
.demo-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.quote-card { display: none; }

.mobile-quote {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: 0 -8px 30px rgba(16,45,51,.1);
  backdrop-filter: blur(18px);
}
.mobile-quote small, .mobile-quote strong { display: block; }
.mobile-quote small { color: var(--muted); font-size: 10px; }
.mobile-quote strong { font-family: "Manrope", sans-serif; font-size: 21px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.mobile-submit { min-width: 116px; min-height: 48px; }

.success-dialog {
  width: min(calc(100% - 32px), 510px);
  padding: 34px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  text-align: center;
}
.success-dialog::backdrop { background: rgba(3, 20, 24, .66); backdrop-filter: blur(6px); }
.success-dialog__art { width: 82px; height: 82px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: var(--mist); color: var(--lagoon); }
.success-dialog__art svg { width: 58px; fill: var(--lagoon); }
.success-dialog__art path:last-child { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }
.success-dialog__eyebrow { color: var(--success); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.success-dialog h2 { margin: 7px 0 10px; font-family: "Manrope", sans-serif; font-size: 28px; letter-spacing: -.04em; }
.success-dialog > p { margin: 0; color: var(--muted); font-size: 13px; }
.success-receipt { margin: 23px 0; padding: 5px 16px; border-radius: 15px; background: var(--surface-soft); text-align: left; }
.success-receipt div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.success-receipt div:last-child { border-bottom: 0; }
.success-receipt span { color: var(--muted); font-size: 11px; }
.success-receipt strong { font-size: 12px; text-align: right; }
.success-dialog[open] { animation: dialog-in .28s ease both; }

/* Stopka celowo cichnie: hero i kalkulator niosą cały akcent, tutaj zostaje
   sam blok informacyjny. Dolny pas ma zapas na mobilny pasek podsumowania,
   który jest position: fixed i inaczej przykrywałby ostatni wiersz. */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft), transparent 45%);
}

.site-footer__inner {
  display: grid;
  gap: 30px;
  padding-block: 44px 34px;
}

.footer-brand p { max-width: 34ch; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.footer-brand .brand { color: var(--ink); }

.footer-facts { display: grid; gap: 26px; margin: 0; }
.footer-fact dt { margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-fact dd { display: grid; gap: 4px; margin: 0; font-size: 14px; }
.footer-fact strong { font-weight: 600; }
.footer-fact__note { color: var(--muted); font-size: 13px; }
.footer-fact__link { width: fit-content; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .18s ease, color .18s ease; }
.footer-fact__link:hover { color: var(--lagoon); border-bottom-color: currentColor; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding-block: 18px;
  padding-bottom: calc(18px + 88px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
/* Na wąskim ekranie ta linijka i tak się zawija, a margin-left: auto dosuwałby ją
   wtedy do prawej krawędzi — wyglądało to jak przypadkowe wcięcie. */

/* Regulamin i polityka: jedna wąska kolumna tekstu, bo dokument czyta się liniowo. */
.legal { padding-block: 44px 60px; }
.legal__inner { max-width: 64ch; }
.legal__badge { display: inline-block; padding: 6px 13px; border-radius: 999px; background: color-mix(in srgb, var(--coral), transparent 82%); color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal h1 { margin: 18px 0 10px; font-family: "Manrope", sans-serif; font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.045em; }
.legal__lead { margin: 0; color: var(--muted); font-size: 16px; }
.legal__note { margin: 26px 0 0; padding: 16px 18px; border-left: 3px solid var(--coral); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface-soft); font-size: 14px; }
.legal__updated { display: block; margin-top: 30px; color: var(--muted); font-size: 12px; }
.legal section { margin-top: 30px; }
.legal h2 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-size: 19px; letter-spacing: -.03em; }
.legal section p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal__contact { margin-top: 38px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.legal__contact h2 { margin-bottom: 6px; }
.legal__contact p { margin: 0; color: var(--muted); font-size: 14px; }
.legal__contact a { color: var(--lagoon); }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 34px; color: var(--lagoon); font-size: 14px; font-weight: 600; text-decoration: none; }
.legal__back svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal__back:hover { text-decoration: underline; }
/* Bez mobilnego paska podsumowania strona prawna nie potrzebuje zapasu na dole. */
.legal-page .site-footer__bottom { padding-bottom: 18px; }

.noscript { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; padding: 14px; border-radius: 12px; background: var(--danger); color: #fff; text-align: center; font-weight: 700; }

@keyframes pulse { to { opacity: .25; transform: translateY(-3px); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }

@media (min-width: 560px) {
  .shell { width: min(100% - 48px, 1220px); }
  .location-chip { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr) 260px; }
  .hero__signal { width: 260px; }
  .choice-grid--two, .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .date-picker__days { grid-template-columns: repeat(7, minmax(58px, 1fr)); }
  .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field--wide { grid-column: auto; }
  .field-grid--address .field:first-child { grid-column: span 2; }
  .field-grid--contact .field--wide { grid-column: 1 / -1; }
  .footer-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
}

@media (min-width: 760px) {
  .site-header { position: sticky; top: 0; }
  .header-phone { display: block; }
  .hero { padding-block: 72px 60px; grid-template-columns: minmax(0, 1fr) 330px; }
  .hero__signal { width: 330px; }
  .form-section { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; margin-bottom: 24px; }
  .form-flow::before, .form-flow::after { left: 23px; }
  .form-section__marker { width: 48px; height: 48px; }
  .form-section__content { padding: 30px; }
  .frequency-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .progress-strip { top: calc(var(--header-height) + 10px); }
  .site-footer { margin-top: 56px; }
  /* Blok marki dostaje stałą szerokość, a nie ułamek: przy podziale na ułamki
     cztery kolumny faktów schodziły do ~157 px i „Warszawa i 15 km wokół” się łamało. */
  .site-footer__inner { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 40px; padding-block: 56px 40px; }
  .footer-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .footer-demo { margin-left: auto; }
  .legal { padding-block: 60px 80px; }
}

@media (min-width: 1024px) {
  .booking { grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; padding-bottom: 100px; }
  .booking__main { max-width: 810px; }
  .mobile-quote { display: none; }
  /* Pasek zniknął, więc zapas pod nim też — inaczej zostaje pusty pas na dole. */
  .site-footer__bottom { padding-bottom: 18px; }
  .quote-card {
    position: sticky;
    top: calc(var(--header-height) + 22px);
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .quote-card__top { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
  .quote-card__eyebrow { color: var(--lagoon); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
  .quote-card h2 { margin: 4px 0 0; font-family: "Manrope", sans-serif; font-size: 23px; letter-spacing: -.04em; }
  .quote-empty { display: none; align-items: center; gap: 13px; padding: 18px 24px; background: var(--surface-soft); }
  .quote-empty.is-visible { display: flex; }
  .quote-empty svg { flex: 0 0 auto; width: 40px; fill: var(--mist); stroke: var(--lagoon); stroke-width: 1.5; }
  .quote-empty svg path:last-child { fill: var(--lagoon); stroke: none; }
  .quote-empty p { margin: 0; color: var(--muted); font-size: 11px; }
  .quote-card__body { padding: 20px 24px; }
  .quote-context { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .quote-context > div { min-width: 0; display: flex; gap: 8px; align-items: center; }
  .quote-context__icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-soft); color: var(--lagoon); }
  .quote-context__icon svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .quote-context small, .quote-context strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .quote-context small { color: var(--muted); font-size: 9px; }
  .quote-context strong { font-size: 10px; }
  .quote-lines { display: grid; gap: 9px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .quote-line { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
  .quote-line strong { color: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; }
  .quote-line--discount { color: var(--success); }
  .quote-line--discount strong { color: var(--success); }
  .quote-duration { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
  .quote-duration span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
  .quote-duration svg { width: 16px; fill: none; stroke: var(--lagoon); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .promo { padding-top: 16px; }
  .promo label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; }
  .promo__control { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .promo input { min-height: 43px; border-radius: 10px 0 0 10px; font-size: 11px; }
  .promo button { min-height: 43px; padding: 8px 12px; border: 1px solid var(--lagoon); border-radius: 0 10px 10px 0; background: var(--lagoon); color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; }
  .promo p { min-height: 15px; margin: 5px 0 0; color: var(--muted); font-size: 9px; }
  .promo p.is-error { color: var(--danger); }
  .promo p.is-success { color: var(--success); }
  .quote-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 24px; background: var(--surface-soft); }
  .quote-total span, .quote-total small { display: block; }
  .quote-total span { font-size: 11px; font-weight: 700; }
  .quote-total small { margin-top: 2px; color: var(--muted); font-size: 8px; }
  .quote-total strong { font-family: "Manrope", sans-serif; font-size: 23px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .quote-submit { width: calc(100% - 48px); margin: 18px 24px 10px; }
  .secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 20px 18px; color: var(--muted); font-size: 8px; }
  .secure-note svg { width: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
}

@media (min-width: 1200px) {
  .booking { grid-template-columns: minmax(0, 820px) 380px; gap: 40px; }
  .form-section__content { padding: 34px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
