:root {

  --bg:     #FBF9F3;
  --panel:  #F3EFE3;
  --line:   #E4DDCB;
  --line-panel: #DCD3BC;
  --text:   #1A1813;
  --muted:  #6B6555;

  --gold:        #B08D57;
  --accent:      #7E6115;
  --accent-soft: #A8801A;

  --dark:    #242017;
  --on-dark: #FBF9F3;
  --map-filter: grayscale(0.9) contrast(0.95) brightness(1.03);

  --font: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
          "Segoe UI", system-ui, sans-serif;

  --hero-blur: 10px;

  --r:    16px;
  --r-sm: 12px;
  --pill: 980px;

  --shell-pad: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8vw, 7rem);

  --focus: var(--accent);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:root[data-motyw="ciemny"] {

  --bg:     #0D0D0C;
  --panel:  #171716;
  --line:   #333331;
  --line-panel: #3B3B39;
  --text:   #F5F4F1;
  --muted:  #A3A19B;

  --gold:        #B08D57;
  --accent:      #B08D57;
  --accent-soft: #C4A671;

  --dark:    #111110;
  --on-dark: #F7F6F4;
  --map-filter: grayscale(1) invert(0.92) brightness(0.95) contrast(0.9);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;

  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }

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

::selection { background: var(--accent); color: var(--bg); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.25rem;
  border-radius: var(--pill);
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus-visible { transform: none; }

.shell {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--line); }

.masthead::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 4px;
  background: var(--bg);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.wordmark img {
  display: block;
  height: 62px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}
.nav__list a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav__list a:hover { color: var(--text); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  color: inherit;
  font-size: 1.65rem;
  cursor: pointer;
}
.burger .icon { stroke-width: 1.4; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
  background: var(--dark);
  color: var(--on-dark);
  --focus: #C4A671;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/background-1290.jpg");
  background-image: image-set(url("../img/background-1290.webp") type("image/webp"),
                              url("../img/background-1290.jpg") type("image/jpeg"));
  filter: blur(var(--hero-blur)) saturate(0.38) brightness(0.5);
  transform: scale(1.08);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(10, 10, 9, 0.74);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22140%22%20height=%22140%22%3E%3Cfilter%20id=%22n%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.85%22%20numOctaves=%223%22%20stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect%20width=%22140%22%20height=%22140%22%20filter=%22url(%23n)%22/%3E%3C/svg%3E");
}

.hero__title {
  max-width: 20ch;
  font-size: clamp(2.4rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 46ch;
  margin-top: 1.5rem;
  color: rgba(247, 246, 244, 0.9);
  font-size: clamp(1.075rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(176, 141, 87, 0.45);
  color: rgba(247, 246, 244, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}
.hero__facts strong {
  display: block;
  color: var(--on-dark);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}

.btn .icon { margin-right: 0.55rem; font-size: 1.15em; }
.btn__numer { margin-left: 0.25em; }

.btn--gold {
  background-color: var(--gold);
  background-image: linear-gradient(96deg,
    #A88450 0%, #AE8A54 25%, #BE9C68 45%, #D6C28E 51%, #BE9C68 57%, #AE8A54 75%, #A88450 100%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  color: var(--dark);
  transition: background-position 0.5s var(--ease), color 0.2s var(--ease);
}
.btn--gold:hover { background-position: 100% 50%; }

.btn--outline { border-color: rgba(247, 246, 244, 0.4); color: var(--on-dark); }
.btn--outline:hover { border-color: var(--on-dark); background: rgba(247, 246, 244, 0.1); }

.btn--dark { background: var(--text); color: var(--bg); }

.btn--dark:hover { background: var(--gold); color: var(--dark); }

.btn--small { padding: 0.5rem 1.05rem; font-size: 0.9rem; }

.section { padding-block: var(--section-y); }
.section--panel {
  background: var(--panel);
  --line: var(--line-panel);
}

.section--panel .hours__status { background: var(--bg); }

.section__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.section__head:has(.flourish) { margin-bottom: clamp(0.75rem, 1.8vw, 1.5rem); }

.section__title {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section__sub {
  max-width: 62ch;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: clamp(1.025rem, 1.35vw, 1.175rem);
  line-height: 1.55;
}

.flourish {
  display: block;
  width: min(500px, 76%);
  height: auto;
  margin: 0.8rem 0 0 clamp(-2.5rem, -3vw, -1rem);
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.js .flourish path {
  stroke-dasharray: 501;
  stroke-dashoffset: 501;
  transition: stroke-dashoffset 1.1s var(--ease) 0.2s;
}
html.js [data-reveal].is-visible .flourish path { stroke-dashoffset: 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
}

.bento__kafel {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border-radius: var(--r);
  background: var(--panel);
}
.section--panel .bento__kafel { background: var(--bg); }

.bento__kafel--szeroki { grid-column: span 3; }

.bento__kafel--wstep {
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
}
.bento__kafel--wstep p {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.bento__nazwa {
  font-size: 1.075rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.bento__nazwa--duza {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.025em;
}

.bento__opis {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.bento__kafel--szeroki .bento__opis { max-width: 38ch; }

.cards { display: grid; gap: clamp(1rem, 1.75vw, 1.5rem); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--r);
  background: var(--panel);
}
.section--panel .card { background: var(--bg); }

.card__title {
  font-size: 1.075rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.card__note {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.5;
}
.cards--4 .card__note { margin-top: 0.6rem; }

.footnote {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: 0.95rem;
}
.footnote--ciasny { margin-top: 1.1rem; font-size: 0.9rem; }
.footnote a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.footnote a:hover { border-bottom-color: var(--accent); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.step {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.step__num {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.step__title {
  margin-top: 0.85rem;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.step__text {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.55;
}

.opinie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 1.75vw, 1.5rem);
}

.opinia {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--r);
  background: var(--panel);
}
.section--panel .opinia { background: var(--bg); }

.opinia__tresc {
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.6;
}

.opinia__tresc::before { content: "„"; }
.opinia__tresc::after  { content: "”"; }

.opinia__stopka {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.opinia__osoba {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.opinia__osoba picture { display: block; flex: none; }
.opinia__zdjecie {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel);
}
.opinia__autor {
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opinia__ocena {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.opinia__ocena .icon {
  fill: currentColor;
  stroke: none;
  font-size: 1.05em;
}

.opinie__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.opinie__link:hover { border-bottom-color: var(--accent); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }

.faq__mark {
  font-size: 1.35em;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] .faq__mark { transform: rotate(45deg); }

.faq__body { overflow: hidden; }

.faq__a {
  max-width: 68ch;
  padding-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.995rem;
  line-height: 1.6;
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.duo__title {
  margin-bottom: 1.4rem;
  font-size: 1.075rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.hours__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--pill);
  background: var(--panel);
  font-size: 0.925rem;
  font-weight: 500;
}
.hours__status.is-closed { color: var(--muted); }

.status__zegar {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hours__status.is-open .status__zegar { color: var(--accent-soft); }
.hours__status.is-closed .status__zegar { color: var(--muted); }

.status__wsk {
  transform-box: view-box;
  transform-origin: 12px 12px;
  transform: rotate(var(--kat, 0deg));
}
.status__wsk--min { stroke-width: 1.2; }

.hours th,
.hours td,
.cennik th,
.cennik td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--muted);
  text-align: left;
}
.hours td,
.cennik td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:first-child th,
.hours tr:first-child td,
.cennik tr:first-child th,
.cennik tr:first-child td { border-top: 1px solid var(--line); }

.hours tr.is-today th,
.hours tr.is-today td { color: var(--text); font-weight: 500; }
.hours tr.is-today th::after {
  content: "dziś";
  margin-left: 0.7rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.08em;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.975rem;
}
.ticks .icon {
  margin-top: 0.28em;
  font-size: 1.05em;
  color: var(--accent-soft);
}
.ticks li:first-child { border-top: 1px solid var(--line); }

.grafik { margin-top: clamp(2.75rem, 5vw, 4rem); }

.grafik__head { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }

.grafik__tytul {
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.grafik__tydzien {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  align-items: start;
}

.dzien__nazwa {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dzien__lista {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.zajecie {
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  background: var(--panel);
}
.section--panel .zajecie { background: var(--bg); }

.zajecie__czas {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.zajecie__nazwa {
  margin-top: 0.2rem;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.zajecie__trener {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.cennik th,
.cennik td { vertical-align: baseline; }
.cennik th { color: var(--text); }
.cennik td {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
}
.cennik__wariant {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.75vw, 1.5rem);
}

.gallery__trigger {
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  cursor: zoom-in;
}
.gallery__item picture { display: block; }
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  transition: transform 0.7s var(--ease);
}
.gallery__trigger:hover img,
.gallery__trigger:focus-visible img { transform: scale(1.04); }
.gallery__item figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.925rem;
}

.podglad {
  width: 100%;
  max-width: none;

  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.podglad[open] { opacity: 1; transform: none; }
@starting-style {
  .podglad[open] { opacity: 0; transform: scale(0.97); }
}

.podglad::backdrop {
  background: rgba(6, 6, 5, 0);
  transition: background-color 0.3s var(--ease),
              overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.podglad[open]::backdrop { background: rgba(6, 6, 5, 0.94); }
@starting-style {
  .podglad[open]::backdrop { background: rgba(6, 6, 5, 0); }
}

.podglad__kadr {
  display: grid;
  place-content: center;
  gap: 1rem;
  height: 100%;
  padding: clamp(3.5rem, 8vw, 5rem) clamp(1rem, 8vw, 5.5rem);
}
.podglad__kadr img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  width: auto;
  border-radius: var(--r);
  object-fit: contain;
}
.podglad__kadr figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.podglad__przycisk {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(13, 13, 12, 0.72);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.podglad__przycisk:hover { border-color: var(--gold); color: var(--gold); }
.podglad__przycisk .icon { width: 1em; height: 1em; }

.podglad__zamknij { top: 1rem; right: 1rem; }
.podglad__wstecz  { top: 50%; left: 1rem; transform: translateY(-50%); }
.podglad__dalej   { top: 50%; right: 1rem; transform: translateY(-50%); }

.podglad--jedno .podglad__wstecz,
.podglad--jedno .podglad__dalej,
.podglad--jedno .podglad__licznik { display: none; }

.podglad__licznik {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 620px) {
  .podglad__przycisk { width: 40px; height: 40px; }
  .podglad__wstecz  { top: auto; bottom: 3.2rem; left: 1.25rem; transform: none; }
  .podglad__dalej   { top: auto; bottom: 3.2rem; right: 1.25rem; transform: none; }

  .podglad__licznik { bottom: 4rem; }

  .podglad__kadr { padding: 4rem 1rem 7rem; }
  .podglad__kadr img { max-height: 62vh; max-height: 62dvh; }
}

.contact__block + .contact__block {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.925rem;
}
.contact__label .icon { font-size: 1.15em; }

.contact__value {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.contact__value a {
  text-decoration: none;
  color: var(--accent);
  transition: opacity 0.2s var(--ease);
}
.contact__value a:hover { opacity: 0.7; }

.contact__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.975rem;
  font-weight: 400;
}

.map {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--panel);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: var(--map-filter);
}
.map noscript {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 1rem;
  text-align: center;
}

.dokument__pasek { border-bottom: 1px solid var(--line); }
.dokument__pasek-tresc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.25rem;
}
.dokument__pasek .wordmark img { height: 48px; }

.dokument__powrot {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.dokument__powrot:hover { color: var(--text); }

.dokument { max-width: 72ch; }
.dokument h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.dokument h2 {
  margin-top: clamp(2.25rem, 4vw, 3rem);
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.dokument__wstep {
  margin-top: 1.6rem;
  padding-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
}

.luka {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent);
}
.dokument p,
.dokument ul {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.dokument li {
  position: relative;
  margin-top: 0.9rem;
  padding-left: 1.3rem;
}
.dokument li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.dokument strong { color: var(--text); font-weight: 500; }
.dokument a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.dokument a:hover { border-bottom-color: var(--accent); }
.dokument__data { font-size: 0.9rem; }

.blad {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(3rem, 8vh, 5rem);
  text-align: center;
}
.blad__tresc { display: grid; justify-items: center; }

.blad__znak img {
  height: 96px;
  width: auto;
  margin-bottom: 2.25rem;
}

.blad__kod {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.blad__tytul {
  margin-top: 0.9rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
}
.blad__opis {
  max-width: 44ch;
  margin-top: 1rem;
  color: var(--muted);
}
.blad__akcje {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.footer {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.925rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2rem;
}
.footer__brand { color: var(--text); font-weight: 500; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer__meta { font-variant-numeric: tabular-nums; }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {

  .bento__kafel--szeroki { grid-column: span 6; }

  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 5rem var(--shell-pad) 3rem;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }

  .nav__list {
    flex-direction: column;
    gap: 1.25rem;
    font-size: clamp(1.5rem, 6vw, 2rem);
    letter-spacing: -0.025em;
  }
  .nav__list a { color: var(--text); }

  .masthead[data-open] .burger { position: relative; z-index: 95; }
  .wordmark img { height: 48px; }

  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .hero__bg {
    background-image: url("../img/background-768.jpg");
    background-image: image-set(url("../img/background-768.webp") type("image/webp"),
                                url("../img/background-768.jpg") type("image/jpeg"));
  }
  .grafik__tydzien { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .opinie { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}

@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento__kafel,
  .bento__kafel--szeroki { grid-column: span 1; }

  .cards--4 { grid-template-columns: 1fr; }
  .grafik__tydzien { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1.25rem; font-size: 0.9rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__inner { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
