

@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-v15-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../assets/fonts/outfit-v15-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-v20-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-v20-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-v20-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {

  --paper: #f3f4f5;
  --paper-2: #f3f4f5;
  --white: #ffffff;
  --ink: #17191c;
  --ink-2: #464b50;
  --muted: #696e74;
  --line: #dbdee1;
  --line-strong: #c4c8cc;
  --graphite: #232527;
  --graphite-2: #2c2f31;
  --field-dark: #303436;
  --line-dark: #3b3e40;
  --line-dark-strong: #7a7f82;
  --text-on-dark: #f4f4f1;
  --muted-on-dark: #b9bdc0;
  --amber-ink: #8a6a2f;

  --gold: #a9843a;
  --gold-ink: #866728;
  --gold-on-dark: #d9b96e;

  --error: #a13a32;
  --error-on-dark: #eda29b;

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);

  --section-y: clamp(60px, 7.5vw, 104px);
  --nav-h: 76px;
  --radius: 2px;

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

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible { outline-color: var(--text-on-dark); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 16px; }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h-display {
  font-size: clamp(2.35rem, min(6.1vw, 9.3vh), 4.6rem);
  font-weight: 700;
  text-wrap: balance;
}

.h-display.is-compact { font-size: clamp(2rem, 3.7vw, 2.85rem); }

.nowrap { white-space: nowrap; }
@media (max-width: 480px) {
  .nowrap { white-space: normal; }
}
.h-section {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  text-wrap: balance;
}

.gold { color: var(--gold-ink); }
.on-dark .gold { color: var(--gold-on-dark); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-2);
  max-width: 62ch;
}
.on-dark .lead { color: var(--muted-on-dark); }

.note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.note a { color: inherit; }
.on-dark .note { color: var(--muted-on-dark); }

.num { font-variant-numeric: tabular-nums; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--white);
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), translate 0.2s var(--ease);
}
.btn:hover { background: var(--graphite-2); border-color: var(--graphite-2); }
.btn:active { translate: 0 1px; }
.btn svg { flex: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: var(--white); border-color: var(--white); }

.btn-arrow {
  padding: 0 0 0 24px;
  gap: 20px;
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-arrow .btn-arrow-box {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  border-left: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-arrow svg { transition: translate 0.2s var(--ease); }
.btn-arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-arrow:hover .btn-arrow-box {
  border-left-color: color-mix(in srgb, var(--paper) 30%, transparent);
  background: transparent;
}
.btn-arrow:hover svg { translate: 3px 0; }

.on-dark .btn-arrow { color: var(--text-on-dark); border-color: var(--line-dark-strong); }
.on-dark .btn-arrow .btn-arrow-box {
  border-left-color: var(--line-dark-strong);
  background: color-mix(in srgb, var(--text-on-dark) 8%, transparent);
}
.on-dark .btn-arrow:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.on-dark .btn-arrow:hover .btn-arrow-box {
  border-left-color: color-mix(in srgb, var(--ink) 25%, transparent);
  background: transparent;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;

  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover { color: var(--gold-ink); border-color: var(--gold-ink); gap: 12px; }
.on-dark .link-arrow { color: var(--text-on-dark); border-color: var(--line-dark); }
.on-dark .link-arrow:hover { color: var(--gold-on-dark); border-color: var(--gold-on-dark); }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), height 0.25s var(--ease);
}
.nav.is-scrolled {
  height: 62px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;

  -webkit-text-stroke: 0.05em currentColor;
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.245em;

  margin-right: -0.245em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0 7px;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { flex: none; }
.nav .btn { min-height: 42px; padding-inline: 20px; font-size: 14px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: translate 0.25s var(--ease), rotate 0.25s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { translate: 0 4px; rotate: 45deg; }
.nav-burger[aria-expanded="true"] span:nth-child(2) { translate: 0 -4px; rotate: -45deg; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: none;
  flex-direction: column;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu.is-visible { opacity: 1; }
.mobile-menu ul { list-style: none; margin: 0 0 32px; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.mobile-menu .btn { width: 100%; }
.mobile-menu-meta {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}

.hero { padding-top: calc(var(--nav-h) + clamp(28px, min(7vw, 5.5vh), 84px)); }

.hero-compact {
  padding-top: calc(var(--nav-h) + clamp(24px, 3.4vw, 44px));
  padding-bottom: var(--section-y);
}
.hero-split { margin-top: clamp(34px, 4.6vw, 56px); }
.hero-grid {
  display: grid;

  grid-template-columns: minmax(0, 1.95fr) minmax(220px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);

  align-items: start;
  padding-bottom: clamp(24px, min(5vw, 4vh), 64px);
}

.hero-loc {
  display: inline-flex;

  align-items: flex-start;
  gap: 11px;
  margin-top: clamp(16px, 2.6vh, 28px);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-loc svg {
  color: var(--gold-ink);
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: calc((1.65em - 21px) / 2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(20px, 4vh, 34px);
}
.hero-facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.hero-facts > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.hero-facts .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.hero-facts .k {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.hero-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  font-size: 13px;
  color: var(--muted);
}

.section { padding-block: var(--section-y); }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--graphite);
  color: var(--text-on-dark);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .h-section { max-width: 24ch; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 64px);
}
.feature {
  background: var(--paper);
  padding: 26px 26px 30px;
}
.feature svg { color: var(--gold-ink); margin-bottom: 18px; }
.feature h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.feature p { font-size: 14.5px; color: var(--ink-2); }

.params { margin-top: 8px; }
.params-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.params-row dt {
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 1;
}
.params-row dt::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  translate: 0 -4px;
}
.params-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.params dl { margin: 0; }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.module-card {
  display: flex;
  flex-direction: column;
  background: var(--graphite-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  color: var(--text-on-dark);
  transition: border-color 0.2s var(--ease), translate 0.25s var(--ease);
}
.module-card:hover { border-color: #55595c; translate: 0 -3px; }
.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.module-id {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
}
.module-rows { flex: 1; }
.module-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 14.5px;
}
.module-row .k { color: var(--muted-on-dark); }
.module-row .v { font-weight: 600; white-space: nowrap; }
.module-row.total { border-top: 1px solid #55595c; }
.module-row.total .k { color: var(--text-on-dark); }

.module-row.total .v { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--gold-on-dark); }
.module-card .link-arrow { margin-top: 22px; }

.collage {
  --collage-gap: clamp(10px, 1.2vw, 16px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--collage-gap);

  width: 100%;
  aspect-ratio: 51 / 20;
}
.collage > * { min-height: 0; }
.collage figure {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--collage-gap);
}

.media-band { margin: 0; }
.media-band img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.map-shell {
  position: relative;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper-2);
}
.map-shell, .map-shell iframe { aspect-ratio: 4 / 3.1; }
.map-shell iframe { width: 100%; height: 100%; border: 0; display: block; position: relative; }

.mapa-zaslona {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 40px);
  text-align: center;

  background: rgba(250, 249, 245, 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mapa-zaslona { background: var(--paper); }
}
@media (prefers-reduced-transparency: reduce) {
  .mapa-zaslona {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.mapa-zaslona h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}
.mapa-zaslona p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: 14.5px; }
.mapa-zaslona .note { font-size: 12.5px; }

.mapa-zaslona-akcje { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.zgody-baner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 150;
  padding: clamp(12px, 1.6vw, 22px);
  pointer-events: none;
}
.zgody-baner[hidden] { display: none; }

body.menu-otwarte .zgody-baner { display: none; }
.zgody-baner-tresc {
  pointer-events: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.6vw, 34px);
  border-radius: 20px;

  background: rgba(250, 249, 245, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(169, 132, 58, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(25, 27, 29, 0.04),
    0 18px 48px rgba(25, 27, 29, 0.16),
    0 2px 10px rgba(25, 27, 29, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.zgody-baner h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.zgody-baner h2:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.zgody-baner p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 78ch; }
.zgody-baner a { color: var(--gold-ink); }
.zgody-baner-akcje { display: flex; flex-wrap: wrap; gap: 12px; }

.zgody-baner-akcje .btn,
.zgody-baner-akcje .btn-ghost {
  white-space: nowrap;
  min-width: 168px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(25, 27, 29, 0.22);
  color: var(--ink);
}
.zgody-baner-akcje .btn:hover,
.zgody-baner-akcje .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--ink);
  color: var(--ink);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .zgody-baner-tresc { background: var(--white); }
  .zgody-baner-akcje .btn,
  .zgody-baner-akcje .btn-ghost { background: transparent; }
}

@media (prefers-reduced-transparency: reduce) {
  .zgody-baner-tresc {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .zgody-baner-akcje .btn,
  .zgody-baner-akcje .btn-ghost { background: transparent; }
}

@media (max-width: 860px) {
  .zgody-baner-tresc { grid-template-columns: 1fr; border-radius: 18px; }
  .zgody-baner-akcje .btn { flex: 1 1 160px; }
}

.mapa-podpis {
  margin: 10px 0 0;
  font-family: var(--font-display);

  font-weight: 600;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.3;
  color: var(--gold-ink);
}

.addr {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.4;
}

.contact-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.contact-band .h-section { max-width: 16ch; }
.contact-band-aside { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.contact-band-aside a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--text-on-dark);
  text-decoration: none;
  width: fit-content;
}
.contact-band-aside a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-band-aside address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-on-dark);
  margin-top: 10px;
}

.plan-layout {
  display: grid;

  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 4vw, 56px);

}

.plan-aside {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--nav-h) - 130px);
}
.plan-aside-foot {
  margin-top: auto;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-aside-foot .pill { margin-top: 0; }

.plan-wrap {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: clamp(18px, 3vw, 36px);

  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.plan-svg {
  display: block;

  width: auto;
  height: auto;
  max-width: 100%;

  max-height: 74vh;
  margin-inline: auto;
}

.plan-bay {
  fill: var(--paper-2);
  stroke: none;
  transition: fill 0.2s var(--ease);
  cursor: pointer;
}

.plan-bay:hover, .plan-bay:focus-visible { fill: #e8e4d9; }
.plan-bay.is-active { fill: #e2dbca; }
.plan-office {

  fill: #dde0e3;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: miter;
  pointer-events: none;
}
.plan-wall {
  fill: none;
  stroke: var(--ink);
  stroke-width: 8;
  stroke-linecap: square;
  pointer-events: none;
}
.plan-wall-inner {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5.5;
  stroke-linecap: square;
  pointer-events: none;
}
.plan-gate {
  fill: var(--white);
  stroke: var(--ink);
  stroke-width: 2.5;
  pointer-events: none;
}

.plan-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  fill: var(--ink);
  pointer-events: none;
}
.plan-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 26px;
  fill: var(--ink-2);
  pointer-events: none;
}

.plan-metraz {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  fill: var(--ink);
  pointer-events: none;
}
.plan-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  fill: var(--ink-2);
  pointer-events: none;
}

.plan-scroll { overflow-x: auto; }

.plan-legenda { display: none; }

@media (max-width: 700px) {

  .plan-scroll .plan-svg { max-height: none; }
  .plan-wrap { width: auto; }

  .plan-label { font-size: 62px; }
  .plan-sub { font-size: 44px; }

  .plan-biuro,
  .plan-metraz,
  .plan-tag { display: none; }
  .plan-legenda { display: block; margin: 14px 0 0; }
}

.module-sheet {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  scroll-margin-top: calc(var(--nav-h) + 24px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.module-sheet + .module-sheet { margin-top: clamp(18px, 2.5vw, 26px); }
.module-sheet.is-flash { border-color: var(--gold-ink); box-shadow: 0 0 0 1px var(--gold-ink); }
.sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
}
.sheet-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.sheet-head .module-id { font-size: 38px; }
.sheet-desc { color: var(--ink-2); font-size: 15px; }
.sheet-rows { border-top: 1px solid var(--line-strong); }
.sheet-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.sheet-row .k { color: var(--ink-2); }
.sheet-row .v { font-weight: 600; white-space: nowrap; }
.sheet-row.total { background: transparent; }
.sheet-row.total .k { font-weight: 600; color: var(--ink); }

.sheet-row.total .v { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--gold-ink); }
.sheet-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 20px; }

details.rooms { margin-top: 18px; border-top: 1px solid var(--line); }
details.rooms summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
}
details.rooms summary::-webkit-details-marker { display: none; }
details.rooms summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  transition: rotate 0.2s var(--ease);
}
details.rooms[open] summary::after { rotate: 45deg; }
.rooms-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.rooms-table caption {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 0 8px;
}
.rooms-table td, .rooms-table th {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.rooms-table td:last-child, .rooms-table th:last-child { text-align: right; }
.rooms-table .code { color: var(--muted); font-size: 13px; width: 72px; }
.rooms-table .unsure td { color: var(--ink-2); }
.rooms-table .unsure .name::after { content: " *"; color: var(--amber-ink); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}
.form-field .req { color: var(--gold-ink); }
.form-field label .opt { font-weight: 400; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--error); }
.field-error {
  display: none;
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}
.form-field.has-error .field-error { display: block; }

.form-info {
  grid-column: 1 / -1;
  padding-top: 2px;
}
.form-info p { margin: 0; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form-status {
  display: none;
  grid-column: 1 / -1;
  border: 1px solid var(--gold-ink);
  border-left-width: 3px;
  background: #f8f5ef;
  padding: 16px 18px;
  font-size: 14.5px;
}
.form-status.is-visible { display: block; }

.form-status.is-error { border-color: var(--error); background: #fbf1f0; }
.on-dark .form-status.is-error { border-color: var(--error-on-dark); background: rgba(237, 162, 155, 0.12); }

.podglad-maila {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed currentColor;
  font-size: 12.5px;
}
.podglad-maila pre {
  margin: 8px 0 0;
  padding: 12px;
  max-height: 340px;
  overflow: auto;
  background: rgba(25, 27, 29, 0.05);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.on-dark .podglad-maila pre { background: rgba(255, 255, 255, 0.07); }

.pole-pulapka {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.form-compact .form-field.full,
.form-compact .form-actions,
.form-compact .form-status { grid-column: 1 / -1; }
.form-compact label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-on-dark);
  margin-bottom: 6px;
}
.form-compact .req { color: var(--gold-on-dark); }
.form-compact label .opt { color: var(--muted-on-dark); }
.form-compact input,
.form-compact select,
.form-compact textarea {
  min-height: 46px;
  padding: 10px 13px;
  font-size: 14.5px;
  background: var(--field-dark);
  border-color: var(--line-dark-strong);
  color: var(--text-on-dark);
}
.form-compact option { background: var(--field-dark); color: var(--text-on-dark); }
.form-compact textarea { min-height: 84px; }
.form-compact input::placeholder,
.form-compact textarea::placeholder { color: var(--muted-on-dark); opacity: 1; }
.form-compact input:focus,
.form-compact select:focus,
.form-compact textarea:focus {
  border-color: var(--text-on-dark);
  background: #383c3e;
}
.form-compact .has-error input,
.form-compact .has-error textarea { border-color: var(--error-on-dark); }
.form-compact .field-error { color: var(--error-on-dark); }
.form-compact .form-actions { margin-top: 2px; }
.form-compact .form-status {
  border-color: var(--gold-on-dark);
  background: rgba(217, 185, 110, 0.1);
  color: var(--text-on-dark);
  font-size: 14px;
  padding: 14px 16px;
}

.contact-list { display: flex; flex-direction: column; gap: 26px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--gold-ink);
}
.contact-item .k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact-item a, .contact-item .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  text-decoration: none;
}
.contact-item a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-item .note { margin-top: 4px; }

.contact-item a {
  display: inline-block;
  padding: 11px 0;
  margin: -11px 0;
}

.proza { max-width: 72ch; }
.proza h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 700;
  margin: clamp(32px, 4vw, 48px) 0 14px;
}
.proza h2:first-child { margin-top: 0; }
.proza h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 26px 0 8px;
}
.proza p { margin: 0 0 14px; color: var(--ink-2); }
.proza ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink-2); }
.proza li { margin-bottom: 7px; }
.proza a { color: var(--gold-ink); }
.proza strong { color: var(--ink); }
.proza table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.proza th, .proza td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.proza th { font-weight: 600; color: var(--ink); }
.proza td { color: var(--ink-2); }

.proza ol { margin: 0 0 16px; padding-left: 26px; color: var(--ink-2); }
.proza ol li { margin-bottom: 9px; padding-left: 4px; }
.proza ol li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }

.proza-tabela { overflow-x: auto; margin: 0 0 20px; }
.proza-tabela table { margin: 0; min-width: 640px; }
.proza-tabela td { vertical-align: top; padding-right: 18px; }

.footer {
  background: var(--graphite);
  color: var(--text-on-dark);
  padding: clamp(56px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  display: block;
  font-size: 26px;
}
.footer-brand .brand-sub {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: var(--muted-on-dark);
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted-on-dark);
  max-width: 34ch;
}
.footer ul { list-style: none; margin: 0; padding: 0; }

.footer li + li { margin-top: 2px; }
.footer a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 14.5px;
}
.footer li a {
  display: inline-block;
  padding: 6px 0;
}
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14.5px;
  color: var(--text-on-dark);
  cursor: pointer;
  text-align: left;
}
.footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer address {
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-on-dark);
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted-on-dark);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
}
.footer-legal a,
.footer-legal .footer-link {
  font-size: 13px;
  color: var(--muted-on-dark);
}
.footer-legal a:hover,
.footer-legal .footer-link:hover { color: var(--text-on-dark); }

.js-reveal [data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js-reveal [data-reveal].is-revealed { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js-reveal [data-reveal] { opacity: 1; translate: 0 0; }
}

@media (max-width: 1020px) {
  .features { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }

  .plan-layout { grid-template-columns: minmax(0, 1fr); }

  .plan-aside {
    display: block;
    max-height: none;
  }
  .plan-aside-foot {
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
  }
  .sheet-grid { grid-template-columns: 1fr; }
  .contact-band-grid { grid-template-columns: 1fr; }
  .contact-band .h-section { max-width: 20ch; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-facts { flex-direction: row; flex-wrap: wrap; gap: 0 32px; }
  .hero-facts > div { flex: 1 1 140px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .collage {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .collage-stack {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }
  .collage img { height: auto; }
  .collage-main img { aspect-ratio: 16 / 9; }
  .collage-stack img { aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .media-band img { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .form-compact { grid-template-columns: 1fr; }
  .form-compact .form-actions .btn { width: 100%; }
}

@media (min-width: 1500px) {
  :root {
    --container: 1360px;
    --gutter: 48px;
    --nav-h: 84px;
  }
  .h-display { font-size: min(5.3rem, 9.8vh); }
  .hero-facts .v { font-size: 23px; }
  .hero-loc { font-size: 19.5px; }
  .collage { max-height: 60vh; }
  .media-band img { max-height: 56vh; }
}

@media (min-width: 1800px) {
  :root { --container: 1500px; }
  .h-display { font-size: min(5.8rem, 10.2vh); }
  .lead { font-size: 1.25rem; }
}

@media print {

  .js-reveal [data-reveal] { opacity: 1 !important; translate: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .nav, .mobile-menu, .nav-burger, .zgody-baner, .skip-link,
  .map-shell, .collage, .media-band, form[data-kontakt],
  .hero-caption, .plan-aside-foot { display: none !important; }

  .section-dark, .footer, .module-card {
    background: #fff !important;
    color: #000 !important;
    border-color: #999 !important;
  }
  .on-dark .lead, .on-dark .note, .module-row .k, .footer address,
  .footer a, .module-row.total .v, .gold, .on-dark .gold { color: #000 !important; }

  .hero, .hero-compact { padding-top: 0; }
  .section { padding-block: 12pt; }
  a { text-decoration: none; }

  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }

  .module-sheet, .module-card, .plan-wrap { break-inside: avoid; }
  .plan-svg { max-height: none; }
  details.rooms[open] summary::after { content: ""; }

  details.rooms > *:not(summary) { display: block !important; }
}

@media (min-width: 2300px) {
  :root { --container: 1660px; }
  .h-display { font-size: 5.6rem; }
  .collage,
  .media-band {
    max-width: 2300px;
    margin-inline: auto;
  }
}
