/* ==========================================================================
   Auto Błysk – myjnia automatyczna
   ========================================================================== */

:root {
  --ink: #0A1B3D;
  --ink-2: #13284F;
  --cobalt: #1E5BE0;
  --cobalt-dark: #1747B4;
  --foam: #7FD8F5;
  --ice: #F3F7FC;
  --white: #FFFFFF;
  --steel: #5A6A85;
  --line: #D7E2F0;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 118;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-l: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); }
h1, h2, h3 { margin: 0; line-height: 1.1; font-stretch: 118%; font-variation-settings: "wdth" var(--wide); }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; border-radius: 4px; }

.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;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--font);
  color: var(--white); background: var(--cobalt);
  border: 2px solid var(--cobalt); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--cobalt); color: var(--cobalt); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9375rem; }

/* nagłówek: assets/css/header.css */

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
  max-height: 900px;
  background: var(--ink);
  color: var(--white);
}

.hero-copy {
  align-self: center;
  padding: 64px var(--gutter) 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  max-width: 640px;
  justify-self: end;
  width: 100%;
}

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; margin-bottom: 28px;
  font-size: .9375rem; font-weight: 500;
  color: var(--foam);
  border: 1px solid rgba(127, 216, 245, .35); border-radius: 999px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--foam); }
.status.is-open .status-dot { background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.status.is-open { color: #BBF7D0; border-color: rgba(74, 222, 128, .35); }
.status.is-closed .status-dot { background: #94A3B8; }
.status.is-closed { color: #CBD5E1; border-color: rgba(148, 163, 184, .35); }

.hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 14ch;
}
.lead { margin-top: 24px; max-width: 46ch; font-size: 1.125rem; color: #C6D3EA; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); }
.hero .btn-ghost:hover { border-color: var(--foam); color: var(--foam); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  margin: 56px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: .875rem; color: #8FA3C4; }
.hero-facts dd { margin: 2px 0 0; font-size: 1.0625rem; font-weight: 600; }

/* gantry reveal: the one orchestrated moment on the page */
.hero-media { position: relative; overflow: hidden; min-height: 420px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-img-dirty { filter: grayscale(.85) brightness(.55) contrast(.9) blur(2px); transform: scale(1.03); }
.hero-img-clean { clip-path: inset(0 100% 0 0); animation: wash-reveal 2.2s cubic-bezier(.65, 0, .35, 1) .35s forwards; }

.gantry {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: var(--white);
  box-shadow: 0 0 18px 6px rgba(127, 216, 245, .75), 0 0 60px 24px rgba(127, 216, 245, .35);
  opacity: 0;
  animation: gantry-pass 2.2s cubic-bezier(.65, 0, .35, 1) .35s forwards;
}

@keyframes wash-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes gantry-pass {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 3px); opacity: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: 48px; max-width: 62ch; }
.section-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--steel); font-size: 1.125rem; }

/* ---------- programs ---------- */
.programs { background: var(--ice); }

.program-picker {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  padding: 6px; margin-bottom: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
}
.program-picker button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 18px;
  font: inherit; color: var(--ink); text-align: left;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.program-picker button:hover { background: var(--ice); }
.program-picker button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.pp-name { font-weight: 600; font-size: 1rem; }
.pp-price { font-size: .9375rem; color: var(--steel); transition: color .25s; }
.program-picker button[aria-selected="true"] .pp-price { color: var(--foam); }

.program-board {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start;
}

.program-summary {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 32px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-l);
}
.ps-number { font-size: .9375rem; color: #8FA3C4; }
.program-summary h3 { margin-top: 6px; font-size: 1.75rem; }
.ps-price { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; }
.ps-price span { font-size: 4.5rem; font-weight: 700; line-height: 1; font-stretch: 125%; font-variation-settings: "wdth" 125; }
.ps-price small { font-size: 1.25rem; color: var(--foam); }
.ps-desc { margin-top: 20px; color: #C6D3EA; }
.ps-pay { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; color: #8FA3C4; }

.table-scroll { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }

.program-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.program-table th, .program-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.program-table tbody tr:last-child th, .program-table tbody tr:last-child td { border-bottom: 0; }
.program-table th:first-child { text-align: left; font-weight: 500; }
.program-table thead th { font-size: .9375rem; font-weight: 600; vertical-align: bottom; }
.program-table thead th span { display: block; margin-top: 2px; font-weight: 400; color: var(--steel); }
.program-table thead th:first-child { color: var(--steel); font-weight: 500; }

.program-table [data-col] { transition: background-color .3s, color .3s; }
.program-table [data-col].is-active { background: rgba(30, 91, 224, .07); }
.program-table thead [data-col].is-active { color: var(--cobalt); }

.step-row.is-off th { color: #A3AFC2; }
.step-row th { transition: color .3s; }

.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.mark-yes { background: var(--cobalt); color: var(--white); }
.mark-yes svg { width: 14px; height: 14px; }
.mark-no { width: 14px; height: 2px; border-radius: 1px; background: var(--line); }
.program-table td:not(.is-active) .mark-yes { background: #B9CBEF; }

/* ---------- hours band ---------- */
.hours-band { background: var(--cobalt); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; overflow: hidden; }
.hours-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hours-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; max-width: 13ch; }
.hours-copy p { margin-top: 20px; max-width: 44ch; color: #DCE7FF; font-size: 1.125rem; }

/* tydzień jako 7 osi 24-godzinnych z zaznaczonymi godzinami otwarcia */
.week-chart { margin: 0; }
.week { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.week-chart { --wk-day: 44px; --wk-hours: 92px; --wk-gap: 14px; }
.week li { display: grid; grid-template-columns: var(--wk-day) minmax(0, 1fr) var(--wk-hours); align-items: center; gap: var(--wk-gap); }
@media (max-width: 560px) {
  .week-chart { --wk-day: 30px; --wk-hours: 74px; --wk-gap: 10px; }
  .week .week-day, .week .week-hours { font-size: .875rem; }
}
.week-day { font-weight: 600; font-size: .9375rem; }
.week-hours { text-align: right; font-size: .9375rem; color: #DCE7FF; font-variant-numeric: tabular-nums; }
.week-track { position: relative; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .16); }
.week-open {
  position: absolute; top: 0; bottom: 0; border-radius: 7px;
  background: rgba(255, 255, 255, .9);
  transform-origin: left; transform: scaleX(0);
  animation: track-fill .9s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-play-state: paused;
}
.week-chart.is-visible .week-open { animation-play-state: running; }
.week li.is-today .week-day, .week li.is-today .week-hours { color: var(--white); font-weight: 700; }
.week li.is-today .week-open { background: var(--foam); }
.week-now {
  position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px;
  background: var(--ink); border-radius: 1px;
}
.week-scale {
  position: relative; height: 22px;
  margin: 12px calc(var(--wk-hours) + var(--wk-gap)) 0 calc(var(--wk-day) + var(--wk-gap));
  font-size: .8125rem; color: #B9CCF5; font-variant-numeric: tabular-nums;
}
.week-scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.week-scale span:first-child { transform: none; }

@keyframes track-fill { to { transform: scaleX(1); } }

/* ---------- how ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.how-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--cobalt);
  font-stretch: 125%; font-variation-settings: "wdth" 125;
}
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: 6px; color: var(--steel); }

/* ---------- why ---------- */
.why { background: var(--ice); }
.why-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 2px solid var(--ink);
}
.why-list li { padding: 28px 28px 0 0; }
.why-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.why-list h3 { font-size: 1.1875rem; }
.why-list p { margin-top: 10px; color: var(--steel); }

/* ---------- mini-test programów ---------- */
.quiz { margin-top: 24px; padding: 28px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.quiz[hidden], .quiz-intro[hidden], .quiz-body[hidden] { display: none; }
.quiz-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.quiz-intro h3 { font-size: 1.375rem; }
.quiz-intro p { margin-top: 6px; color: var(--steel); }
.quiz-step { font-size: .875rem; font-weight: 600; color: var(--cobalt); }
.quiz-q { margin-top: 6px; font-size: clamp(1.25rem, 2.4vw, 1.625rem); outline: none; }
.quiz-result span { color: var(--cobalt); margin-left: 6px; }
.quiz-answers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.quiz-answer {
  min-height: 52px; padding: 12px 22px;
  font: 500 1rem/1.3 var(--font); color: var(--ink); text-align: left;
  background: var(--ice); border: 2px solid transparent; border-radius: 14px; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.quiz-answer:hover { border-color: var(--cobalt); background: var(--white); }
.quiz-link {
  margin-top: 14px; padding: 6px 0;
  font: 500 .9375rem var(--font); color: var(--steel);
  background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.quiz-answers .quiz-link { margin-top: 0; }
.quiz-why { margin: 14px 0 0; padding-left: 20px; color: var(--steel); }
.quiz-why li { margin: 4px 0; }

/* ---------- pogoda ---------- */
.weather { padding-bottom: 0; }
.weather[hidden] { display: none; }
.weather-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; }
.weather-copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.weather-tip { margin-top: 16px; font-size: 1.1875rem; line-height: 1.55; max-width: 46ch; }
.weather-note { margin-top: 16px; font-size: .8125rem; color: var(--steel); }
.weather-note a { color: var(--steel); }
.weather-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wday { padding: 22px 18px; text-align: center; background: var(--ice); border: 2px solid transparent; border-radius: var(--radius-l); }
.wday.is-best { background: var(--white); border-color: var(--cobalt); }
.wday-name { font-weight: 600; text-transform: capitalize; }
.wday-icon { width: 48px; height: 48px; margin: 12px auto; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wday.is-good .wday-icon { stroke: var(--cobalt); }
.wday-temp { font-size: 1.5rem; font-weight: 700; font-variation-settings: "wdth" 112; }
.wday-temp span { font-size: 1rem; font-weight: 500; color: var(--steel); }
.wday-verdict { margin-top: 8px; font-size: .875rem; color: var(--steel); }
.wday.is-good .wday-verdict { color: var(--cobalt); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--ice); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 20px 44px 20px 0;
  font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--cobalt); border-bottom: 2px solid var(--cobalt);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:hover { color: var(--cobalt); }
.faq-list details p { padding: 0 44px 22px 0; color: var(--steel); max-width: 68ch; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 12px;
}
.g-item { padding: 0; border: 0; background: var(--ice); border-radius: var(--radius-l); overflow: hidden; cursor: zoom-in; grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 24px;
  background: rgba(10, 27, 61, .92);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; font-size: 2rem; line-height: 1;
  color: var(--white); background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; cursor: pointer;
}

/* ---------- reviews ---------- */
.demo-note {
  margin: 0 0 32px; padding: 14px 18px;
  background: #FFF4D6; color: #6B4E00; border: 1px solid #F2D27A; border-radius: 10px; font-size: .9375rem;
}

.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-head .section-head { margin-bottom: 0; }
.reviews-summary[hidden], .reviews-rail[hidden], .demo-note[hidden] { display: none; }
.reviews-summary { display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: var(--ice); border-radius: 14px; }
.rs-score { font-size: 2.75rem; font-weight: 700; line-height: 1; font-variation-settings: "wdth" 118; }
.rs-score small { font-size: 1rem; font-weight: 500; color: var(--steel); margin-left: 2px; }
.rs-count { margin-top: 6px; font-size: .875rem; color: var(--steel); }

/* gwiazdki w kwadratach, jak na Trustpilot */
.stars { display: inline-flex; gap: 3px; }
.star { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: #DCE3EE; }
.star svg { width: 15px; height: 15px; fill: #fff; }
.star.is-on { background: var(--cobalt); }

.reviews-rail { position: relative; }
.reviews-track {
  list-style: none; margin: 0; padding: 4px 2px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.rc-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: .9375rem; letter-spacing: .02em;
}
.avatar-anon { background: var(--ice); border: 1px solid var(--line); }
.avatar-anon svg { width: 24px; height: 24px; fill: none; stroke: var(--steel); stroke-width: 1.6; stroke-linecap: round; }
.rc-name { font-weight: 600; line-height: 1.3; }
.rc-meta { font-size: .875rem; color: var(--steel); line-height: 1.3; }
.rc-text {
  margin: 0; font-size: 1rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

.reviews-nav { display: none; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.reviews-rail.has-overflow .reviews-nav { display: flex; }
.rail-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { border-color: var(--cobalt); color: var(--cobalt); }
.rail-btn:disabled { opacity: .35; cursor: default; }

@media (max-width: 960px) {
  .reviews-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 600px) {
  .reviews-track { grid-auto-columns: 86%; }
}
.review figcaption { margin-top: 18px; font-size: .9375rem; color: var(--steel); }
.reviews-cta { margin-top: 32px; }

/* ---------- visit ---------- */
.visit { background: var(--ice); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.visit-info .section-head { margin-bottom: 28px; }
address { font-style: normal; font-size: 1.125rem; line-height: 1.55; margin-bottom: 24px; }

.hours-table { width: 100%; margin-top: 40px; border-collapse: collapse; }
.hours-table caption { text-align: left; font-weight: 600; padding-bottom: 10px; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; color: var(--cobalt); }

.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--steel); }
.contact-list a { font-weight: 500; word-break: break-word; }

.map-wrap { position: relative; min-height: 460px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
#map { position: absolute; inset: 0; background: #E8EEF6; }

/* zastępczy widok mapy przed zgodą */
.map-consent {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 32px; text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(30, 91, 224, .1), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(30, 91, 224, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(30, 91, 224, .07) 39px 40px),
    #EEF3FA;
}
.map-consent[hidden] { display: none; }
.map-consent img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 6px 18px rgba(10, 27, 61, .25); }
.map-consent-title { font-weight: 700; font-size: 1.25rem; font-variation-settings: "wdth" 118; }
.map-consent p:not(.map-consent-title) { max-width: 42ch; font-size: .9375rem; color: var(--steel); }
.map-consent-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.map-consent .btn-ghost { background: var(--white); }
.map-tiles { filter: saturate(.55) hue-rotate(-8deg) brightness(1.03); }

.map-pin { position: relative; }
.map-pin img {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 6px 18px rgba(10, 27, 61, .35);
}
.map-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: var(--white); border-bottom: 0;
}
.map-pin-pulse {
  position: absolute; left: 50%; top: 31px; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: rgba(30, 91, 224, .35);
  animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }

.leaflet-popup-content { font-family: var(--font); font-size: .9375rem; line-height: 1.5; }
.leaflet-popup-content strong { font-size: 1rem; }
.leaflet-popup-content a.popup-route { display: inline-block; margin-top: 8px; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #A9B8D3; padding: 56px 0; font-size: .9375rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: var(--white); }
.footer-copy { text-align: right; line-height: 1.8; }
.site-footer a, .site-footer .consent-link { color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hours-inner { grid-template-columns: 1fr; gap: 40px; }
  .hours-copy h2 { max-width: 22ch; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .why-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .program-board { grid-template-columns: 1fr; }
  .program-summary { position: static; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
  .program-summary .ps-price { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: center; }
  .program-summary .ps-desc, .program-summary .ps-pay { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .weather-inner, .faq-grid { grid-template-columns: 1fr; }
  .quiz { padding: 22px 18px; }
  .quiz-answer { flex: 1 1 100%; }

  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 40px var(--gutter) 56px; max-width: none; justify-self: stretch; }
  .hero-facts { margin-top: 40px; }
  .hero-facts div { padding-right: 18px; margin-right: 18px; }

  .program-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-table thead th[data-col], .program-table td[data-col] { display: none; }
  .program-table thead th[data-col].is-active, .program-table td[data-col].is-active { display: table-cell; background: transparent; }
  .program-table th:first-child { width: 70%; }

  .how-grid { grid-template-columns: 1fr; }
  .how-media img { aspect-ratio: 16 / 11; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; grid-row: span 1; }


  .visit-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 360px; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-copy { text-align: left; }
}

@media (max-width: 560px) {
  .weather-days { gap: 8px; }
  .wday { padding: 16px 8px; }
  .wday-icon { width: 40px; height: 40px; margin: 8px auto; }
  .wday-temp { font-size: 1.25rem; }
  .wday-verdict { font-size: .8125rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { row-gap: 14px; }
  .why-list { grid-template-columns: 1fr; }
  .why-list li, .why-list li + li { padding: 24px 0 0; border-left: 0; }
  .ps-price span { font-size: 3.25rem; }
  .program-table th, .program-table td { padding: 13px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img-clean { animation: none; clip-path: none; }
  .gantry { display: none; }
  .map-pin-pulse { animation: none; opacity: 0; }
  .week-open { animation: none; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
