/* =====================================================================
   Moto-Kąt — arkusz stylów strony (mobile first)
   Szata: czarne tło, szare heksagony, białe rozstrzelone wersaliki,
   czerwone akcenty (chevrony) — jak naklejki na myjni.
   Przeglądarka sprawdza ten plik przy każdym wejściu (.htaccess) — zmiany widać od razu.
   ===================================================================== */

/* ---------- Fonty (lokalne, Poppins) ---------- */
/* Font zastępczy o metrykach Poppins — tekst nie „skacze”, gdy Poppins dociągnie się po chwili. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"), local("Helvetica"), local("Roboto");
  size-adjust: 112.16%; ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/poppins-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/poppins-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/poppins-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokeny motywu ----------
   Ciemny jest domyślny (gdy brak data-theme). Cała strona — łącznie z nagłówkiem,
   hero, stopką i dolnym paskiem — przełącza się razem z motywem. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --header-bg: rgba(10, 10, 11, .88);
  --bar-bg: rgba(10, 10, 11, .94);
  --glass: rgba(255, 255, 255, .06);
  --sheen: rgba(255, 255, 255, .55);
  --seam: rgba(255, 255, 255, .07);
  --bg: #0a0a0b;
  --bg-2: #101012;
  --surface: #151518;
  --surface-2: #1d1d21;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  --band: rgba(110, 112, 118, .45);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #d7191f;
  --red-hover: #ff2b2b;
  --red-text: #ff4d4f;
  --ok: #22c55e;
  --hex-ink: #ffffff;
  --hex-alpha: .16;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
:root[data-theme="light"] {
  color-scheme: light;
  --header-bg: rgba(236, 238, 241, .9);
  --bar-bg: rgba(255, 255, 255, .96);
  --glass: rgba(255, 255, 255, .75);
  --sheen: rgba(215, 25, 31, .45);
  --seam: rgba(10, 10, 12, .08);
  --bg: #eceef1;
  --bg-2: #e3e6ea;
  --surface: #ffffff;
  --surface-2: #f4f5f7;
  --line: rgba(10, 10, 12, .10);
  --line-strong: rgba(10, 10, 12, .22);
  --band: rgba(60, 62, 68, .12);
  --text: #0b0b0c;
  --muted: #52525b;
  --red: #c4141b;
  --red-hover: #a50f15;
  --red-text: #c4141b;
  --ok: #15803d;
  --hex-ink: #1e2026;
  --hex-alpha: .10;
  --shadow: 0 10px 30px rgba(20, 22, 28, .12);
}

:root {
  --font: Poppins, "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 32px);
  --header-h: 60px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Kafelek heksagonów (plaster miodu) — maska; kolor nadaje --hex-ink. */
  /* Plaster miodu — własny rysunek: jeden foremny heksagon (r = 13,856) + krawędź łącząca rzędy.
     Kafelek 24 × 41,569 px powtarza się bez szwów. Kolor nadaje --hex-ink. */
  --hex-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='41.569' viewBox='0 0 24 41.569'%3E%3Cpath d='M12 0L24 6.928V20.785L12 27.713L0 20.785V6.928ZM12 27.713V41.569' fill='none' stroke='%23000' stroke-width='1.7'/%3E%3C/svg%3E");
  --hex-size: 24px 41.569px;
  --hex-clip: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  --glow-at: 15% 55%;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s, color .25s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: #fff; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.no-scroll { overflow: hidden; }

/* Pomocnicze odstępy i drobne typografie (zamiast stylów inline) */
.flush { margin: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 14px; }
.mt-l { margin-top: 22px; }
.mb-s { margin-bottom: 12px; }
.note { font-size: .88rem; }
.label-xs { display: block; margin: 0 0 .6em; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.subhead { margin: 30px 0 14px; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
.link-btn { all: unset; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--red-text); }
.link-btn:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }

/* ---------- Heksagony ---------- */
.hex-bg { position: relative; isolation: isolate; background-color: var(--bg); }
.hex-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--hex-ink);
  opacity: var(--hex-alpha);
  -webkit-mask: var(--hex-tile) 0 0 / var(--hex-size), radial-gradient(ellipse 80% 70% at var(--glow-at), #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.18) 80%);
  -webkit-mask-composite: source-in;
  mask: var(--hex-tile) 0 0 / var(--hex-size) intersect, radial-gradient(ellipse 80% 70% at var(--glow-at), #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.18) 80%);
  pointer-events: none;
}
/* Co druga sekcja ma jaśniejszą plamę heksów po prawej — sekcje się przeplatają. */
.section--alt { --glow-at: 85% 45%; }
/* Cienka, mocno przezroczysta linia między kolejnymi sekcjami z heksami. */
.hex-bg + .hex-bg { border-top: 1px solid var(--seam); }
/* Mocniejsze heksy w nagłówkach stron (jak na naklejce). */
.hero, .page-hero, .error-page { --hex-alpha: .22; }
:root[data-theme="light"] :is(.hero, .page-hero, .error-page) { --hex-alpha: .13; }
/* Połysk przesuwający się po heksach (tylko hero). */
.hex-shine::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, var(--sheen) 50%, transparent 65%) 0 0 / 300% 100% no-repeat;
  -webkit-mask: var(--hex-tile) 0 0 / var(--hex-size);
  mask: var(--hex-tile) 0 0 / var(--hex-size);
  opacity: .35;
  animation: shine 9s var(--ease) infinite;
  pointer-events: none;
}
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }

/* ---------- Chevrony ---------- */
.chev { display: inline-flex; gap: 0; color: var(--red); flex: none; }
.chev svg { width: 1.6em; height: 1em; display: block; }
.chev--left svg { transform: scaleX(-1); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .15s var(--ease), color .2s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

/* ---------- Baner komunikatów ---------- */
.notice { background: var(--red); color: #fff; font-weight: 600; font-size: .95rem; }
.notice .wrap { display: flex; gap: .75em; align-items: center; padding-block: .6em; }
.notice-icon { width: 1.5em; height: 1.5em; flex: none; }
.notice-sign { fill: #fff; }
.notice-mark { stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.notice-dot { fill: var(--red); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: .22em; white-space: nowrap; color: var(--text); }
.logo .chev { font-size: .9rem; }
.logo small { display: block; font-size: .58rem; letter-spacing: .32em; font-weight: 600; color: var(--muted); margin-top: 2px; }
.logo span { line-height: 1.1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; color: var(--text);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--line-strong); background: var(--surface); }
.icon-btn svg { width: 22px; height: 22px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.header-phone { display: none; }

.main-nav { display: none; }
.main-nav a { text-decoration: none; }

/* Menu mobilne (pełny ekran) */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 39;
  padding: 24px var(--pad) calc(var(--bar-h) + 24px);
  overflow-y: auto;
  background: var(--bg);
  animation: fade-in .2s var(--ease);
}
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.15rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.mobile-menu a::after { content: "›"; color: var(--red); font-size: 1.6rem; line-height: 1; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: 28px 32px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; }
.hero-kicker { display: flex; align-items: center; gap: .7em; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.75rem, 7.4vw, 3.4rem); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--red-text); }
.hero-address { display: flex; align-items: center; gap: .5em; font-size: 1rem; color: var(--muted); margin-bottom: 20px; }
.hero-address svg { width: 1.2em; height: 1.2em; color: var(--red); flex: none; }
.hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hero-note { margin-top: 14px; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: .5em; }
.hero-note svg { width: 1.2em; height: 1.2em; color: var(--red); }
.hero-photo { display: none; }

/* Status otwarcia */
.status {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line);
  text-decoration: none; color: var(--text);
}
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--muted); flex: none; box-shadow: 0 0 0 4px var(--glass); }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2.4s infinite; }
.status.is-closed .status-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(215, 25, 31, .25); }
.status-main { display: block; font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }
.status-sub { display: block; color: var(--muted); font-size: .88rem; }
.status-more { margin-left: auto; color: var(--muted); font-size: 1.4rem; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.2); } 50% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }

/* Kafelki usług w hero */
.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.service-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  min-height: 108px; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease);
}
.service-tile:hover { border-color: var(--red); transform: translateY(-2px); }
.service-tile svg { width: 28px; height: 28px; color: var(--red); }
.service-tile strong { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; }
.service-tile span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.service-tile::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 54px; height: 54px; background: var(--red); opacity: .12; clip-path: var(--hex-clip); }

/* ---------- Sekcje ---------- */
.section { padding-block: 56px; }
.section-head { margin-bottom: 26px; }
.section-num { display: block; font-weight: 700; font-size: clamp(3.5rem, 16vw, 6rem); line-height: .85; color: var(--text); opacity: .08; letter-spacing: -.02em; margin-bottom: -.35em; user-select: none; }
.section-title {
  position: relative; display: flex; align-items: center; gap: .6em;
  margin: 0; padding: .55em .9em .55em 0;
  font-size: clamp(1.2rem, 5.2vw, 2.2rem); letter-spacing: .1em; text-transform: uppercase;
}
.section-title::before { /* szary pas jak na naklejce */
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 calc(-1 * var(--pad));
  background: var(--band); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.section-head { isolation: isolate; }
.section-lead { margin-top: 14px; max-width: 62ch; color: var(--muted); font-size: 1.02rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: .6em; }
.card h3 svg { width: 1.4em; height: 1.4em; color: var(--red); flex: none; }

.facts { display: grid; gap: 12px; margin-bottom: 24px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { width: 26px; height: 26px; color: var(--red); flex: none; margin-top: 2px; }
.fact strong { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact a, .fact span { font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.fact a:hover { color: var(--red-text); }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red-text); font-weight: 700; }

/* Chipy (lista badań) */
.chip-groups { display: grid; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: 7px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .88rem; line-height: 1.25; }
.chip::before { content: ""; width: 7px; height: 7px; background: var(--red); clip-path: var(--hex-clip); flex: none; }

/* Lista usług z chevronem */
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: .7em; align-items: flex-start; }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: .35em; flex: none; background: var(--red); clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%); }

/* Kafelki urządzeń myjni */
.equip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.equip-item {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 150px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); color: #fff;
}
.equip-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.equip-item::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.82) 100%); }
.equip-item figcaption { position: relative; z-index: 2; pointer-events: none; padding: 12px; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; }
.equip-item figcaption small { display: block; font-weight: 400; letter-spacing: .04em; text-transform: none; font-size: .78rem; opacity: .85; }
.equip-item button { all: unset; position: absolute; inset: 0; cursor: zoom-in; overflow: hidden; }
.equip-item button:focus-visible { outline: 3px solid var(--red-text); outline-offset: -3px; border-radius: var(--radius); }
figure { margin: 0; }

/* Programy myjni */
.programs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.programs li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 600; }
.programs b { display: grid; place-items: center; width: 30px; height: 26px; flex: none; background: var(--red); color: #fff; font-size: .85rem; clip-path: var(--hex-clip); }

/* Galeria */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery.gallery--wash, .gallery.gallery--2 { grid-template-columns: 1fr 1fr; }
.shot--wide { grid-column: 1 / -1; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.shot button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.shot button:focus-visible { outline: 3px solid var(--red-text); outline-offset: -3px; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--wide img { aspect-ratio: 16 / 9; }
.shot--pano img { aspect-ratio: 21 / 9; }
.shot--video button { cursor: pointer; }
.shot--video video { display: block; width: 100%; aspect-ratio: 4 / 3; background: #000; }
.video-badge { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; background: rgba(0,0,0,.35); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.video-badge svg { width: 54px; height: 54px; padding: 14px 12px 14px 16px; border-radius: 50%; background: var(--red); transition: transform .2s var(--ease); }
.shot--video button:hover .video-badge svg { transform: scale(1.08); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; }

/* Dociąganie zdjęć: miniatura rozmyta do czasu podmiany na pełną wersję */
img[data-full] { filter: blur(6px); transform: scale(1.03); transition: filter .5s var(--ease), transform .5s var(--ease); }
img[data-full].is-full { filter: none; transform: none; }

/* Dwie kolumny treści */
.split { display: grid; gap: 22px; }
.stack { display: grid; gap: 14px; }

/* Cennik — karty linków */
.price-links { display: grid; gap: 12px; }
.price-link {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, transform .2s var(--ease);
}
.price-link:hover { border-color: var(--red); transform: translateY(-2px); }
.price-link svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.price-link strong { display: block; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.price-link span { display: block; color: var(--muted); font-size: .88rem; }
.price-link .go { margin-left: auto; font-size: 1.6rem; color: var(--red); }

/* Dojazd */
.callout { display: flex; gap: 12px; padding: 14px 16px; border-left: 4px solid var(--red); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 18px; }
.callout svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.route { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: thin; }
.step { flex: 0 0 86%; scroll-snap-align: start; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.step button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.step button:focus-visible { outline: 3px solid var(--red-text); outline-offset: -3px; }
.step img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.step figcaption { display: flex; gap: 12px; padding: 14px; font-size: .92rem; line-height: 1.45; }
.step-no { flex: none; display: grid; place-items: center; width: 34px; height: 30px; background: var(--red); color: #fff; font-weight: 700; clip-path: var(--hex-clip); }
.route-hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.map-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

/* Kontakt */
.contact-grid { display: grid; gap: 12px; }
.contact-card h3 { margin-bottom: 12px; }
.phone-list { display: grid; gap: 8px; }
.phone {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px;
  border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line);
  text-decoration: none; font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  transition: border-color .2s;
}
.phone:hover { border-color: var(--red); }
.phone svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.phone small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stopka ---------- */
.site-footer { padding-block: 40px 28px; border-top: 1px solid var(--seam); font-size: .9rem; }
.footer-grid { display: grid; gap: 22px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--red-text); }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
.social { display: inline-flex; align-items: center; gap: .6em; }
.social svg { width: 22px; height: 22px; }

/* ---------- Dolny pasek (mobile) ---------- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bar-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.bottom-bar a, .bottom-bar button {
  all: unset; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--bar-h); cursor: pointer; color: var(--text);
  font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.bottom-bar svg { width: 24px; height: 24px; }
.bottom-bar .is-primary { background: var(--red); color: #fff; }
.bottom-bar :focus-visible { outline: 3px solid var(--text); outline-offset: -5px; }
.bar-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; margin-right: 4px; }
.is-open .bar-status-dot { background: var(--ok); }
.is-closed .bar-status-dot { background: var(--red); }

/* ---------- Arkusze (dialog od dołu) ---------- */
dialog.sheet {
  margin: auto auto 0; width: 100%; max-width: 560px; max-height: 85vh;
  padding: 0; border: 1px solid var(--line); border-radius: 20px 20px 0 0;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow);
}
dialog.sheet[open] { animation: sheet-up .25s var(--ease); }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .6); }
.sheet-inner { padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); }
.sheet-grip { width: 44px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 4px auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Lightbox ---------- */
dialog.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(5, 5, 6, .96); color: #fff;
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lb-stage { position: absolute; inset: 56px 0 64px; display: grid; place-items: center; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; font-size: .85rem; color: #d4d4d8; }
.lb-bottom { position: absolute; bottom: 0; left: 0; right: 0; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; font-size: .9rem; }
.lb-caption { flex: 1; }
.lb-nav { display: flex; gap: 6px; }
dialog.lightbox .icon-btn { color: #fff; border-color: rgba(255,255,255,.2); }
.lb-loading { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #a1a1aa; }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Cenniki ---------- */
.page-hero { padding-block: 28px 30px; }
.page-hero h1 { font-size: clamp(1.4rem, 6vw, 2.5rem); letter-spacing: .12em; text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 70ch; font-size: .92rem; }
.back { display: inline-flex; align-items: center; gap: .4em; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.back:hover { color: var(--red-text); }
.search { position: relative; margin-bottom: 20px; }
.search input {
  width: 100%; min-height: 52px; padding: 12px 16px 12px 48px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: inherit;
}
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(215, 25, 31, .25); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.price-group { margin-bottom: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.price-group > summary {
  list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; font-weight: 600; font-size: .95rem; line-height: 1.4;
}
.price-group > summary::-webkit-details-marker { display: none; }
.price-group > summary::after { content: "+"; margin-left: auto; color: var(--red); font-size: 1.4rem; line-height: 1; }
.price-group[open] > summary::after { content: "−"; }
.price-group .g-no { flex: none; display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 4px; background: var(--red); color: #fff; font-size: .9rem; clip-path: polygon(15% 0, 85% 0, 100% 50%, 85% 100%, 15% 100%, 0 50%); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption { text-align: left; }
.price-table th, .price-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.price-table thead th { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-table .lp { width: 3.6em; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table .price small { font-weight: 400; color: var(--muted); }
.price-table tr.sub td { padding-top: 4px; border-top: 0; }
.price-table tr.sub td.desc { padding-left: 32px; color: var(--muted); font-size: .92rem; }
.price-table .desc { font-size: .95rem; }
/* Telefon: Lp. z lewej, opis na całą szerokość, cena pod spodem z prawej */
@media (max-width: 719px) {
  .price-table tbody tr { display: grid; grid-template-columns: 2.6em 1fr; grid-template-areas: "lp desc" ". price"; column-gap: 4px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .price-table tbody td { padding: 0; border: 0; }
  .price-table tbody td.lp { grid-area: lp; width: auto; }
  .price-table tbody td.desc { grid-area: desc; }
  .price-table tbody td.price { grid-area: price; margin-top: 4px; font-size: 1.05rem; }
  .price-table tbody tr.sub { padding-top: 0; border-top: 0; }
  .price-table tbody tr.sub td.desc { padding-left: 0; }
  .price-table tbody tr:not(:has(td.lp)) { grid-template-columns: 1fr; grid-template-areas: "desc" "price"; }
  .price-table thead:not(.visually-hidden) { display: none; }
}
.empty { padding: 24px; text-align: center; color: var(--muted); }
.section--tight { padding-top: 24px; }

/* ---------- Tekst ciągły (polityka prywatności) ---------- */
.prose > * { max-width: 75ch; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1em; display: grid; gap: 6px; }
.prose li { position: relative; padding-left: 1.2em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--red); clip-path: var(--hex-clip); }
.prose a, .prose .link-btn { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Baner zgody (prywatność) ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; z-index: 46;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 10px);
  max-width: 720px; margin-inline: auto; padding: 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow);
  font-size: .9rem; animation: sheet-up .25s var(--ease);
}
.consent p { margin: 0 0 12px; }
.consent a { color: var(--red-text); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent .btn { font-size: .78rem; padding: .6em .8em; }

/* ---------- Mapa przed zgodą ---------- */
.map-consent {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 20px; text-align: center; font-size: .88rem; color: var(--muted);
}
.map-consent::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: var(--hex-ink); opacity: var(--hex-alpha); -webkit-mask: var(--hex-tile) 0 0 / var(--hex-size); mask: var(--hex-tile) 0 0 / var(--hex-size); }
.map { isolation: isolate; }
.map-consent > svg { width: 40px; height: 40px; color: var(--red); }
.map-consent p { margin: 0; max-width: 34ch; }
.map-consent strong { display: block; color: var(--text); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 4px; }
.map-consent a { color: var(--red-text); }
.map-link { font-size: .8rem; }
.map.is-loaded .map-consent { display: none; }
.price-note { font-size: .85rem; color: var(--muted); margin-top: 18px; }
.price-note p { margin-bottom: .6em; }

/* ---------- Strony błędów ---------- */
.error-page { min-height: calc(100vh - var(--header-h) - var(--bar-h)); display: grid; place-items: center; padding-block: 48px; text-align: center; }
.error-code { font-size: clamp(7rem, 38vw, 14rem); font-weight: 700; line-height: .9; letter-spacing: -.02em; margin: 0; }
.error-band { position: relative; margin: 18px calc(-1 * var(--pad)) 22px; padding: 16px var(--pad); background: var(--band); }
.error-band h1 { margin: 0; font-size: clamp(1.1rem, 4.6vw, 1.6rem); letter-spacing: .2em; text-transform: uppercase; }
.error-actions { display: grid; gap: 10px; max-width: 420px; margin-inline: auto; }
.error-top { display: flex; justify-content: center; align-items: center; gap: .8em; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }

/* =====================================================================
   Tablet ≥ 720 px
   ===================================================================== */
@media (min-width: 720px) {
  .equip { grid-template-columns: repeat(4, 1fr); }
  .equip-item { min-height: 190px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .price-links { grid-template-columns: 1fr 1fr; }
  .step { flex-basis: 46%; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .chip-groups { grid-template-columns: repeat(3, 1fr); }
  .section-title { letter-spacing: .16em; }
  .chip-groups .chips { align-content: flex-start; }
  .error-actions { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
}

/* =====================================================================
   Desktop ≥ 1100 px — pozioma nawigacja, bez dolnego paska
   ===================================================================== */
@media (min-width: 1100px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; font-size: 17px; }
  .bottom-bar, .menu-toggle, .mobile-menu { display: none !important; }
  .main-nav { display: flex; gap: 2px; margin-left: 24px; }
  .main-nav a {
    position: relative; padding: 10px 12px; font-size: .74rem; white-space: nowrap; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
    transition: color .2s;
  }
  .main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
  .main-nav a:hover, .main-nav a.is-active { color: var(--text); }
  .main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .header-phone { display: inline-flex; min-height: 44px; padding: .5em 1em; font-size: .85rem; white-space: nowrap; }
  :root { --wrap: 1240px; }
  .logo { font-size: 1.2rem; }

  .hero { padding-block: 64px 72px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero-photo { display: block; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
  .hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border: 1px solid var(--line); border-radius: 20px; }
  .hero-cta { grid-template-columns: auto auto; justify-content: start; }
  .status { max-width: 520px; }

  .section { padding-block: 96px; }
  .section-head { margin-bottom: 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery--2 { grid-template-columns: 1fr 1fr; }
  .route { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .route-hint { display: none; }
  .map { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .dojazd-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-bottom: 28px; align-items: stretch; }
  .map-actions { grid-template-columns: 1fr; }
  dialog.sheet { margin: auto; border-radius: 20px; }
  .consent { bottom: 20px; display: flex; align-items: center; gap: 18px; }
  .consent p { margin: 0; }
  .consent-actions { flex: none; grid-template-columns: auto auto; }
  .error-page { min-height: calc(100vh - var(--header-h)); }
}

/* Ograniczenie ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  img[data-full] { transform: none; }
}

/* Druk — bez elementów nawigacyjnych */
@media print {
  .site-header, .bottom-bar, .mobile-menu, .notice, .search, .site-footer, .consent { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .price-group { break-inside: avoid; border-color: #999; }
  .price-group > summary::after { display: none; }
}
