@font-face {
  font-family: "Audiowide";
  src: url("../fonts/audiowide.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #f1c50e;
  --yellow-bright: #f6e538;
  --black: #111111;
  --ink: #0a0a0a;
  --muted: #c8c8c8;
  --rail: #f1c50e;
  --light: #f7f7f4;
  --header-h: 7.2rem;
  --page-max: 1300px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Audiowide", var(--font);
}

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

html {
  scrollbar-gutter: stable;
  overflow-x: clip;
  background: var(--black);
  scroll-padding-top: calc(var(--header-h) + 8px);
  scroll-padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

html.is-ready {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html.is-ready {
    scroll-behavior: auto;
  }
}

body {
  margin: 0 auto;
  max-width: var(--page-max);
  font-family: var(--font);
  color: #fff;
  background-color: var(--black);
  /* Yellow under fixed header (+ few px) so subpixel / late --header-h never shows a black strip */
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 100% calc(var(--header-h) + 6px);
  background-repeat: no-repeat;
  line-height: 1.55;
  padding-top: var(--header-h);
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:any-link,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
a:focus-visible {
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.wrap {
  width: min(var(--page-max), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(720px, calc(100% - 2rem));
}

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

/* Header — yellow bar, not FastCar dark */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--page-max));
  z-index: 40;
  background: var(--yellow);
  color: var(--ink);
}

.header-inner {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem 0 0.75rem;
  justify-items: center;
  text-align: center;
}

.logo img {
  width: 11rem;
  height: auto;
}

.brand-line {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.tel {
  font-weight: 800;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--yellow-bright);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.band-light .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}

/* Page + rail */
.page {
  position: relative;
  isolation: isolate;
}

.rail-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.rail-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.rail-path {
  stroke: var(--rail);
  stroke-width: 2;
  fill: none;
  opacity: 0.92;
  vector-effect: non-scaling-stroke;
}

@media (prefers-reduced-motion: reduce) {
  .rail-path {
    stroke-dasharray: 10 8;
  }
}

.band {
  position: relative;
  z-index: 0;
  padding: 3.2rem 0;
  scroll-margin-top: calc(var(--header-h) + 2px);
}

/* Content sits above the rail so the line hides under text */
.band > .wrap,
.hero-copy,
.split-text,
.split-media,
.trust-row {
  position: relative;
  z-index: 2;
}

.band-light {
  background: transparent;
  color: var(--ink);
}

.band-light > .wrap {
  background: var(--light);
  padding: 1.75rem 1.25rem;
}

#faq > .wrap {
  background: rgba(17, 17, 17, 0.92);
  padding: 1.5rem 1.25rem;
}

#kontakt > .wrap {
  background: var(--light);
  padding: 1.75rem 1.25rem;
}

.split-text {
  padding: 0.85rem 1rem;
  background: rgba(17, 17, 17, 0.88);
}

.band-light .split-text {
  background: transparent;
  padding: 0;
}

.band-light .h-icon,
.band-light .ico {
  filter: none;
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 0.85rem;
}

h2:has(.h-icon) {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.h-icon {
  width: 1em;
  height: 1em;
  max-width: none;
  object-fit: contain;
  filter: invert(1);
  flex-shrink: 0;
}

.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  filter: invert(1);
}

.band-light .h-icon,
.band-light .ico,
.trust .ico {
  filter: brightness(0);
}

/* Hero */
.hero {
  padding: 0;
  /* Pull photo under fixed yellow header so dark fog at image top never reads as a gap */
  margin-top: calc(var(--header-h) * -1);
  min-height: calc(78vh + var(--header-h));
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.92) 38%, rgba(0, 0, 0, 0.97) 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,.85);
}

.wordmark {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 10vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--yellow-bright);
  line-height: 0.95;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  max-width: 22ch;
}

.lead {
  margin: 0 0 1.25rem;
  max-width: 38ch;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Mobile: sticky bar covers call — hide hero CTAs */
@media (max-width: 767px) {
  .hero .cta-row {
    display: none;
  }
}

/* Trust */
.trust {
  background: var(--yellow);
  color: var(--ink);
  padding: 1.1rem 0;
  border-block: 3px solid var(--ink);
  z-index: 2;
}

.trust-row {
  display: grid;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Splits — not cards */
.split-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.split-text p {
  margin-top: 0;
  color: var(--muted);
}

.band-light .split-text p {
  color: #333;
}

.plain-list,
.steps {
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.plain-list li,
.steps li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-top: 1px dashed rgba(241, 197, 14, 0.45);
}

.band-light .plain-list li {
  border-top-color: rgba(17, 17, 17, 0.25);
}

.steps {
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  flex: 0 0 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
}

.split-media {
  margin: 0;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
}

.split-media img,
.shot img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.split-media::after,
.shot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
  z-index: 1;
}

.split-media img {
  aspect-ratio: 3 / 4;
}

.split-media figcaption,
.shot figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0.85rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-lead {
  max-width: 36rem;
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  margin-top: 1.25rem;
}

.shot {
  margin: 0;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
}

.shot img {
  aspect-ratio: 3 / 4;
  height: auto;
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.towns li {
  border: 1px solid rgba(241, 197, 14, 0.35);
  padding: 0.35rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Cennik */
.notice {
  border: 2px solid rgba(241, 197, 14, 0.45);
  padding: 0.85rem 1rem;
  background: rgba(241, 197, 14, 0.08);
}

.band-light .notice {
  background: rgba(241, 197, 14, 0.2);
}

.price-group {
  margin: 2rem 0;
  padding: 1.1rem 0 0;
  border-top: 2px dashed rgba(17, 17, 17, 0.2);
}

.price-group h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.price-group > p {
  margin: 0 0 1rem;
  color: #444;
  font-size: 0.95rem;
}

.price-grid {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  gap: 0.35rem 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.18);
  min-width: 0;
  align-items: start;
}

.price-card h4 {
  margin: 0;
  font-size: 0.95rem;
  grid-column: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.price-card .cena {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  white-space: normal;
  max-width: 18rem;
  overflow-wrap: break-word;
  hyphens: manual;
}

.price-card .opis {
  margin: 0;
  font-size: 0.82rem;
  color: #555;
  grid-column: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

#cennik > .wrap,
.cennik-root,
.price-group,
.confirm {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.confirm {
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  #cennik > .wrap {
    width: min(var(--page-max), calc(100% - 1.5rem));
    padding: 1.35rem 1rem;
    overflow-x: clip;
  }

  .cennik-root,
  .price-group {
    min-width: 0;
    max-width: 100%;
  }

  .price-group {
    margin: 1.35rem 0;
    padding-top: 0.85rem;
  }

  .price-group h3 {
    font-size: 0.98rem;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .price-group > p {
    font-size: 0.88rem;
  }

  .price-card {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 0.85rem 0;
  }

  .price-card h4 {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .price-card .cena {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    text-align: left;
    white-space: normal;
    justify-self: start;
    font-size: 0.95rem;
    color: #111;
  }

  .price-card .opis {
    font-size: 0.8rem;
  }

  #cennik .notice {
    font-size: 0.88rem;
    padding: 0.75rem 0.85rem;
  }
}

.confirm {
  font-size: 0.9rem;
  color: #444;
}

.partner-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.partner-tile {
  border: 2px dashed rgba(17, 17, 17, 0.25);
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
  place-items: center;
  text-align: center;
  background: #fff;
}

/* FAQ — always open, same rhythm as plain-list */
.faq-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.faq-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(241, 197, 14, 0.4);
}

.faq-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.faq-list .ico {
  margin-top: 0.15rem;
}

.faq-list strong {
  display: block;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
}

/* Contact */
.contact-stack {
  display: grid;
  gap: 2rem;
}

.map-stack {
  min-width: 0;
}

.map-photo {
  display: none;
  margin: 0;
}

.form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 2px solid rgba(17, 17, 17, 0.25);
  background: #fff;
  color: var(--ink);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-weight: 700;
}

.map-block {
  position: relative;
  min-height: 18rem;
  height: 18rem;
  overflow: hidden;
  background: #e8e8e8;
  border: 2px solid rgba(17, 17, 17, 0.2);
}

.map-block .map-frame,
.map-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#cennik,
#faq,
#kontakt,
.gallery {
  /* content-visibility disabled: it collapsed section heights and made the rail jump */
  content-visibility: visible;
}

.cennik-root:empty::before {
  content: "Ładowanie cennika…";
  display: block;
  padding: 1rem 0;
  color: #555;
  font-weight: 700;
}

/* Footer + sticky */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--yellow);
  padding: 1.4rem 0 5.5rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.footer-copy,
.footer-wcag,
.footer-credit {
  margin: 0;
}

.footer-copy {
  text-align: left;
}

.footer-wcag {
  text-align: center;
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  color: #bdbdbd;
  text-align: right;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border: 0;
  border-radius: 999px;
  background: #6d6d6d;
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.credit-link:hover,
.credit-link:focus-visible {
  background: #858585;
  color: #fff;
}

.wcag-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.sticky-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, var(--page-max));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sticky-call,
.sticky-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
}

.sticky-ico {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
}

.sticky-call {
  background: var(--yellow);
  color: var(--ink);
}

.sticky-call .sticky-ico {
  color: var(--ink);
}

.sticky-wa {
  background: var(--ink);
  color: var(--yellow-bright);
  border-top: 2px solid var(--yellow);
}

.sticky-wa .sticky-ico {
  color: var(--yellow-bright);
}

/* Dialog */
.dialog {
  border: 3px solid var(--ink);
  background: #fff;
  color: var(--ink);
  padding: 1.25rem;
  max-width: 26rem;
  width: calc(100% - 2rem);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
  text-align: center;
}

.dialog-actions .btn {
  min-width: 14rem;
}

body:has(dialog.dialog[open]) {
  overflow: hidden;
}

dialog.dialog[open] {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
}

.page-legal {
  color: #fff;
  background-color: var(--black);
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-size: 100% calc(var(--header-h) + 6px);
  background-repeat: no-repeat;
}

.site-footer {
  color: #fff;
}

.legal {
  width: min(44rem, calc(100% - 2rem));
  padding: 2.25rem 0 3.5rem;
}

.policy-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.legal h1 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.35rem);
  letter-spacing: 0.02em;
  color: #fff;
}

.policy-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
}

.policy-block {
  background: var(--light);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.1rem 0.25rem;
  margin: 0 0 0.7rem;
}

.policy-block h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
}

.policy-num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 2.15rem;
  height: 1.7rem;
  padding: 0 0.35rem;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 0.82rem;
  line-height: 1;
}

.policy-block p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.policy-block ul {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.policy-block li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.05rem;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  line-height: 1.55;
}

.policy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--yellow);
  border: 1px solid var(--ink);
}

.policy-block a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.policy-back {
  margin-top: 0.45rem;
}

@media (min-width: 768px) {
  :root {
    --header-h: 5.2rem;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas: "logo brand nav actions";
    justify-items: stretch;
    text-align: left;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.55rem 0;
  }

  .logo {
    grid-area: logo;
  }

  .logo img {
    width: 12.5rem;
  }

  .brand-line {
    grid-area: brand;
    justify-self: start;
    max-width: 9.5rem;
    line-height: 1.25;
  }

  .header-actions {
    grid-area: actions;
    justify-content: end;
    flex-wrap: nowrap;
  }

  .nav {
    grid-area: nav;
    justify-content: center;
  }

  .hero {
    min-height: calc(36rem + var(--header-h));
    align-items: center;
  }

  .hero-copy {
    background: rgba(0, 0, 0, 0.72);
    max-width: 34rem;
    margin: 3rem 0;
    padding: 1.75rem 1.5rem;
    border: 2px solid rgba(241, 197, 14, 0.4);
  }

  .trust-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .split-rev .split-grid {
    direction: rtl;
  }

  .split-rev .split-grid > * {
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem 1rem;
  }

  .contact-stack {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .map-stack {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    height: 100%;
    min-height: 100%;
    align-self: stretch;
  }

  .map-block {
    height: auto;
    min-height: 0;
  }

  .map-photo {
    display: block;
    min-height: 0;
    overflow: hidden;
    border: 2px solid rgba(17, 17, 17, 0.2);
    background: #e8e8e8;
  }

  .map-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .sticky-bar {
    left: auto;
    right: max(1rem, calc(50% - (var(--page-max) / 2) + 1rem));
    transform: none;
    bottom: 1rem;
    width: min(22rem, calc(100% - 2rem));
    border: 2px solid var(--ink);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  body {
    padding-bottom: 2rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

.nap{margin:.4rem 0 0;font-size:.9rem;color:rgba(255,255,255,.92)}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.25rem 0}

.contact-stack a,
.nap a,
.footer-copy a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}


/* ——— A11y widget (FMT-style, Holres theme) ——— */
.a11y {
  position: fixed;
  overflow: visible;
  right: 0;
  top: 35%;
  z-index: 28;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  max-width: min(22rem, calc(100vw - 0.75rem));
}

.a11y__card {
  display: grid;
  overflow: visible;
  justify-items: center;
  align-content: start;
  gap: 0.55rem;
  width: 2.75rem;
  padding: 0.8rem 0.4rem 1.1rem;
  margin: 0;
  border: 1px solid rgba(241, 197, 14, 0.75);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--black);
  color: #fff;
  box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font: inherit;
}

.a11y__card:hover {
  background: #1a1a1a;
}

.a11y__card-icon {
  display: grid;
  place-items: center;
  color: var(--yellow);
}

.a11y__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.a11y__card-label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  font-family: var(--display);
}

.a11y__card-label strong {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: inherit;
  font-family: inherit;
}

.a11y__card-label span {
  display: none;
}

.a11y.is-open .a11y__card {
  background: var(--yellow);
  border-color: var(--yellow);
}

.a11y.is-open .a11y__card-icon,
.a11y.is-open .a11y__card-label,
.a11y.is-open .a11y__card-label strong {
  color: var(--ink);
}

.a11y__panel {
  width: min(18.5rem, calc(100vw - 4rem));
  max-height: min(70vh, 28rem);
  overflow: auto;
  margin-right: 0.35rem;
  padding: 1rem 1rem 0.9rem;
  background: var(--black);
  color: #fff;
  border: 1px solid #333;
  border-left: 4px solid var(--yellow);
  border-radius: 10px;
  box-shadow: -8px 10px 28px rgba(0, 0, 0, 0.5);
}

.a11y__panel[hidden] {
  display: none !important;
}

.a11y__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.a11y__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 400;
  font-family: var(--display);
  color: var(--yellow);
}

.a11y__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.a11y__close:hover {
  background: #333;
}

.a11y__lead {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.a11y__group {
  margin: 0 0 0.85rem;
}

.a11y__group-title {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yellow);
}

.a11y__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.a11y__row button,
.a11y__switches button {
  margin: 0;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.a11y__row button {
  min-height: 2.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.a11y__row button[aria-pressed="true"],
.a11y__switches button[aria-pressed="true"] {
  border-color: var(--yellow);
  background: rgba(241, 197, 14, 0.2);
  color: var(--yellow-bright);
}

.a11y__switches {
  display: grid;
  gap: 0.35rem;
}

.a11y__switches button {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.7rem;
  text-align: left;
  font-size: 0.88rem;
}

.a11y__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
}

.a11y__reset {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid #555;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.a11y__reset:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.a11y__policy {
  font-size: 0.78rem;
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

button.wcag-badge {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  border: 0;
}

button.wcag-badge:hover,
button.wcag-badge:focus-visible {
  background: var(--yellow);
}

html.a11y-font-lg {
  font-size: 112.5%;
}

html.a11y-font-xl {
  font-size: 125%;
}

html.a11y-contrast {
  --yellow: #ffe566;
  --yellow-bright: #fff59a;
  --muted: #fff;
  --rail: #ffe566;
}

html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .sticky-bar {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-contrast a {
  color: #fff !important;
}

html.a11y-contrast .btn-yellow,
html.a11y-contrast .sticky-call {
  background: #ffe566 !important;
  color: #000 !important;
}

html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 0.18em;
}

html.a11y-focus :focus-visible {
  outline: 3px solid #ffe566 !important;
  outline-offset: 3px !important;
}

html.a11y-space body {
  letter-spacing: 0.02em;
  word-spacing: 0.08em;
  line-height: 1.65;
}

html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

@media (max-width: 767px) {
  .a11y {
    top: auto;
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .a11y__card {
    width: 2.4rem;
    padding: 0.65rem 0.28rem 0.8rem;
    gap: 0.4rem;
  }

  .a11y__icon {
    width: 1.1rem;
    height: 1.1rem;
  }

  .a11y__card-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .a11y__card-label strong {
    font-size: 0.64rem;
  }

  .a11y__card-label span {
    display: none;
  }

  .a11y__panel {
    width: min(17rem, calc(100vw - 3.5rem));
    max-height: min(58vh, 24rem);
  }
}

@media print {
  .a11y {
    display: none !important;
  }
}

/* ——— WCAG 2.2 AA: 2.5.8 Target Size + 2.4.11 Focus Not Obscured ——— */
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.25rem 0.1rem;
}

.tel {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.btn {
  min-height: 44px;
  min-width: 44px;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
}

button.wcag-badge,
.wcag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 24px;
  box-sizing: border-box;
  padding: 0.2rem 0.5rem;
  line-height: 1.2;
}

#kontakt a[href^="tel"],
#kontakt a[href^="mailto"],
.footer-copy a,
.nap a,
.dialog-call a,
.dialog a[href^="tel"],
.dialog a[href*="polityka"] {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.sticky-call,
.sticky-wa {
  min-height: 44px;
}
