:root {
  --bg: #f4f6f8;
  --bg-2: #e9edf2;
  --paper: #fff;
  --navy: #0e1730;
  --navy-2: #16213f;
  --text: #29324a;
  --muted: #566078;
  --blue: #1f5fd1;
  --teal: #12b5a5;
  --teal-d: #0e8f82;
  --line: rgba(14, 23, 48, .16);
  --line-2: rgba(14, 23, 48, .55);
  --grad: linear-gradient(90deg, #1f5fd1 0%, #12b5a5 100%);
  --grad-btn: linear-gradient(90deg, #1f5fd1 0%, #0e8f82 100%);
  --grad-text: linear-gradient(90deg, #1f5fd1 0%, #138fb0 52%, #0f9e90 100%);
  --f-head: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;
  --g: clamp(16px, 3.75vw, 72px);
  --max: 1360px;
  --r: 18px;
  --nav-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: 104px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.kontakt :focus-visible, .band :focus-visible, .callbar :focus-visible { outline-color: #7fd8ce; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transform: translateY(-160%);
}
.skip:focus { transform: none; }

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

/* ---------- typografia wspólna ---------- */
h2 {
  font: 700 clamp(44px, 6.4vw, 96px)/.95 var(--f-head);
  color: var(--navy);
  letter-spacing: -.005em;
  text-wrap: balance;
}
h3 {
  font: 700 clamp(30px, 3vw, 42px)/1 var(--f-head);
  color: var(--navy);
}
.sec__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 38em; color: var(--text); }

.secno {
  display: flex; align-items: center; gap: 14px;
  font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.secno__n {
  display: inline-grid; place-items: center; min-width: 40px; height: 26px; padding: 0 8px;
  border: 1px solid currentColor; border-radius: 4px;
}
.secno::after {
  content: ""; flex: 1 1 auto; max-width: 220px; height: 9px;
  border-left: 1px solid currentColor; border-right: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  opacity: .55;
}
.secno--inv { color: #7fd8ce; }

.fcap {
  display: block; margin-top: 12px;
  font: 400 12.5px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--muted);
}
.fcap__no { color: var(--navy); font-weight: 500; letter-spacing: .1em; margin-right: 6px; }
.tag { font: 400 11.5px/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 14px;
  font: 700 20px/1.1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn--grad { color: #fff; background: var(--grad-btn); box-shadow: 0 10px 24px -12px rgba(31, 95, 209, .7); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(31, 95, 209, .8); }
.btn--line { color: var(--navy); border: 2px solid var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 50px; font-size: 17px; padding: 0 22px; border-radius: 12px; }

/* ---------- nawigacja ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 0; right: 0;
  padding-inline: clamp(12px, 4.2vw, 61px);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  max-width: 1600px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-h); padding: 0 12px 0 12px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 1px 0 rgba(14, 23, 48, .04), 0 14px 34px -16px rgba(14, 23, 48, .32);
}
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.brand__mark {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 700 25px/1 var(--f-body); letter-spacing: -.02em;
}
.brand__name { font: 700 22px/1.1 var(--f-body); letter-spacing: -.01em; padding-left: 16px; border-left: 1.5px solid var(--line); }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 42px); padding-right: clamp(16px, 2vw, 28px); border-right: 1.5px solid var(--line); }
.nav__links a { font: 600 16.5px/1 var(--f-body); color: var(--navy); text-decoration: none; padding: 14px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__tel {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none;
  font: 700 21px/1 var(--f-body); letter-spacing: .005em;
  transition: background-color .2s ease;
}
.nav__tel:hover { background: #174ead; }
.nav__tel svg { width: 22px; height: 22px; fill: currentColor; }
.nav__burger { display: none; }

.menu { position: fixed; z-index: 49; left: 12px; right: 12px; top: calc(14px + var(--nav-h) + 8px); background: #fff; border-radius: 22px; box-shadow: 0 24px 50px -20px rgba(14, 23, 48, .45); padding: 8px 10px; }
.menu[hidden] { display: none; }
.menu a { display: flex; align-items: center; min-height: 54px; padding: 0 14px; font: 700 26px/1 var(--f-head); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  --ph: clamp(420px, 39.7vw, 820px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 43.5%) minmax(0, 1fr);
  grid-template-rows: minmax(calc(var(--nav-h) + 30px), 1fr) auto auto auto minmax(24px, .25fr);
  grid-template-areas: ". ph" "h ph" "p ph" "c ph" ". ph";
  min-height: var(--ph);
  padding-left: max(var(--g), calc((100% - 1640px) / 2 + var(--g)));
  scroll-margin-top: 0;
}
.hero h1 {
  grid-area: h;
  font: 700 clamp(60px, 7.4vw, 118px)/.98 var(--f-head);
  white-space: nowrap;
  color: var(--navy);
  letter-spacing: -.012em;
  margin-left: -.04em;
  padding-right: 16px;
}
.h1__l1, .h1__l2 { display: block; }
.h1__l2 {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .06em; width: max-content; max-width: 100%;
}
.hero__lead { grid-area: p; margin-top: clamp(22px, 3.3vw, 52px); font-size: clamp(19px, 1.55vw, 24px); line-height: 1.38; color: var(--navy); max-width: 22.5em; padding-right: 24px; }
.hero__cta { grid-area: c; display: flex; flex-wrap: wrap; gap: 20px; margin-top: clamp(24px, 3.3vw, 52px); padding-right: 24px; }
.hero__cta .btn { min-height: clamp(54px, 3.75vw, 62px); }
.hero__cta .btn--grad { padding-inline: 34px 38px; }

.hero__photo {
  grid-area: ph; grid-row: 1 / -1;
  position: relative; overflow: hidden;
  min-height: var(--ph);
  border-radius: 48px 0 0 48px;
  background: #c9cbce;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__dims { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero__dims .dl { fill: none; stroke: var(--navy); stroke-width: 3.6; stroke-linecap: butt; opacity: .9; }
.hero__dims .dh { fill: var(--navy); opacity: .9; }
.hero__dims text { font: italic 700 104px/1 var(--f-body); fill: var(--navy); text-anchor: middle; }
.tag--photo { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border-radius: 6px; background: rgba(244, 246, 248, .82); color: var(--navy); }

/* rysowanie linii wymiarowych: tylko gdy JS i bez ograniczenia ruchu */
.motion .hero__dims.is-prep .dl { transition: none; }
.motion .hero__dims.is-prep .dh,
.motion .hero__dims.is-prep text { opacity: 0; }
.motion .hero__dims.is-draw .dl { transition: stroke-dashoffset 1.2s cubic-bezier(.65, 0, .25, 1); stroke-dashoffset: 0 !important; }
.motion .hero__dims.is-draw .dim--b .dl { transition-delay: .25s; }
.motion .hero__dims.is-draw .dh,
.motion .hero__dims.is-draw text { opacity: .9; transition: opacity .45s ease 1.05s; }
.motion .hero__dims.is-draw .dim--b .dh,
.motion .hero__dims.is-draw .dim--b text { transition-delay: 1.3s; }
.motion .hero__dims.is-draw text { opacity: 1; }

@media (min-width: 1000px) and (max-width: 1359px) {
  .hero { --ph: max(400px, 40vw); grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: minmax(calc(var(--nav-h) + 20px), 1fr) auto auto auto minmax(20px, .25fr); }
  .hero h1 { font-size: 7.3vw; }
  .hero__lead { margin-top: 22px; font-size: 18px; }
  .hero__cta { margin-top: 24px; gap: 10px; padding-right: 12px; }
  .hero__cta .btn { min-height: 50px; font-size: 16px; padding-inline: 16px; gap: 9px; border-radius: 12px; }
  .hero__cta .btn--grad { padding-inline: 16px; }
  .hero__cta .btn svg { width: 19px; height: 19px; }
}

/* ---------- kafle ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(12px, 1.2vw, 24px);
  padding: clamp(22px, 2.9vw, 44px) clamp(16px, 1.7vw, 32px) 0;
  max-width: 1760px; margin-inline: auto;
}
.tile { display: block; text-decoration: none; color: var(--navy); border-radius: var(--r); }
.tile__img { display: block; aspect-ratio: 2.2 / 1; border-radius: var(--r); overflow: hidden; background: #d5d8dc; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile__img img { transform: scale(1.045); }
.tile__name { display: block; text-align: center; margin-top: 14px; font: 700 clamp(18px, 1.55vw, 23px)/1.2 var(--f-body); }
.tile:hover .tile__name { color: var(--blue); }
.tiles__note { grid-column: 1 / -1; justify-self: end; margin-top: 14px; }

/* ---------- pasek ---------- */
.band { background: var(--navy); color: #fff; margin-top: clamp(36px, 4vw, 60px); position: relative; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.band__in {
  width: min(100% - 2 * var(--g), var(--max)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.band li {
  padding: 26px 20px; text-align: center;
  font: 600 clamp(17px, 1.45vw, 21px)/1.3 var(--f-body);
}
.band li + li { border-left: 1px solid rgba(255, 255, 255, .22); }

/* ---------- sekcje ---------- */
.sec { padding: clamp(80px, 9vw, 150px) 0 0; }
.sec__head { max-width: 980px; }
.sec__head h2 { margin-bottom: 26px; }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 72px); margin-top: clamp(48px, 5vw, 80px); }
.offer__item h3 { margin-top: 30px; }
.offer__item p { margin-top: 12px; max-width: 30em; font-size: 18.5px; }

.dfig { display: grid; grid-template-columns: minmax(0, 1fr) 38px; grid-template-areas: "img v" "h ." "cap cap"; }
.dfig--ring { grid-template-areas: "img ." "h ." "cap cap"; }
.dfig__img { grid-area: img; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #d5d8dc; }
.dfig__img img { width: 100%; height: 100%; object-fit: cover; }
.dfig .fcap { grid-area: cap; }

.dim-h, .dim-v { position: relative; color: var(--navy); }
.dim-h { grid-area: h; height: 38px; margin-top: 8px; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.dim-v { grid-area: v; width: 38px; margin-left: 8px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.dim-h i { position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--navy); }
.dim-v i { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1.5px solid var(--navy); }
.dim-h::before, .dim-h::after, .dim-v::before, .dim-v::after { content: ""; position: absolute; width: 0; height: 0; border: 5px solid transparent; }
.dim-h::before { left: 0; top: calc(50% - 4.25px); border-left: 13px solid var(--navy); border-right: 0; }
.dim-h::after { right: 0; top: calc(50% - 4.25px); border-right: 13px solid var(--navy); border-left: 0; }
.dim-v::before { top: 0; left: calc(50% - 4.25px); border-top: 13px solid var(--navy); border-bottom: 0; }
.dim-v::after { bottom: 0; left: calc(50% - 4.25px); border-bottom: 13px solid var(--navy); border-top: 0; }
.dim-h em, .dim-v em {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%);
  background: var(--bg); padding: 0 10px; font: italic 700 26px/1 var(--f-body);
}
.dim-v em { padding: 6px 0; }

.macro {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 4.5vw, 72px); margin-top: clamp(72px, 8vw, 130px);
}
.macro__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #d5d8dc; }
.macro__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.macro__txt { display: flex; flex-direction: column; gap: 26px; }
.macro__txt .fcap { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); order: -1; }
.macro__quote { font: 700 clamp(42px, 4.6vw, 76px)/.98 var(--f-head); color: var(--navy); text-wrap: balance; }

/* ---------- 02 materiały ---------- */
.mat {
  display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding-left: max(var(--g), calc((100% - var(--max)) / 2));
}
.mat__text h2 { margin-bottom: 26px; }
.mat__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.mat__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 28px); align-items: start;
  padding: clamp(36px, 4vw, 64px) var(--g) clamp(48px, 5vw, 84px) clamp(28px, 3.4vw, 56px);
  background: linear-gradient(165deg, #2b6bd6 0%, #1b8fc0 48%, #12b5a5 100%);
  border-radius: 40px 0 0 40px;
}
.mfig { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 40px -26px rgba(5, 20, 60, .6); }
.mfig:nth-child(2) { margin-top: clamp(40px, 5vw, 88px); }
.mfig img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.mfig figcaption { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.mfig__name { font: 700 clamp(24px, 2vw, 30px)/1 var(--f-head); color: var(--navy); }
.mfig__no { font: 400 12px/1.3 var(--f-mono); letter-spacing: .05em; color: var(--muted); }

/* ---------- 03 jak zamówić ---------- */
.order { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.order__list h2 { margin-bottom: 30px; }
.spec li {
  display: flex; flex-wrap: wrap; gap: 0 .45em; align-items: baseline;
  padding: 17px 0 16px 34px; position: relative;
  border-top: 1px solid var(--line);
  font-size: clamp(18px, 1.5vw, 21px); color: var(--text);
}
.spec li:last-child { border-bottom: 1px solid var(--line); }
.spec li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 9px; margin-top: -4.5px;
  border-left: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue);
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 1.5px no-repeat;
}
.spec b { font: 700 1.3em/1 var(--f-head); color: var(--navy); letter-spacing: .01em; }

.sheet { background: var(--paper); border-radius: var(--r); padding: clamp(14px, 2vw, 28px); box-shadow: 0 1px 0 rgba(14, 23, 48, .05), 0 28px 50px -34px rgba(14, 23, 48, .35);
  background-image: linear-gradient(rgba(31, 95, 209, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 95, 209, .06) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.sheet__svg { width: 100%; height: auto; }
.sheet .s-frame { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.sheet .s-obj { fill: rgba(255, 255, 255, .85); stroke: var(--navy); stroke-width: 2.2; }
.sheet .s-cut { fill: url(#hatch); }
.sheet .hatch { stroke: var(--navy); stroke-width: 1.2; opacity: .5; }
.sheet .s-thin { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .7; }
.sheet .s-axis { fill: none; stroke: var(--blue); stroke-width: 1; stroke-dasharray: 14 4 3 4; opacity: .75; }
.sheet .s-dim { fill: none; stroke: var(--navy); stroke-width: 1.3; }
.sheet .s-arr { fill: var(--navy); }
.sheet .s-let { font: italic 700 26px/1 var(--f-body); fill: var(--navy); text-anchor: middle; }
.sheet .s-lab { font: 500 15px/1 var(--f-mono); letter-spacing: .1em; fill: var(--navy); }
.sheet .s-lab--dim { fill: var(--muted); font-weight: 400; }
.sheet .fcap { margin-top: 14px; }

.howto { margin-top: clamp(64px, 7vw, 120px); }
.howto__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 2.4 / 1; background: #c7c2ba; }
.howto__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.steps { margin-top: clamp(40px, 4vw, 60px); }
.steps li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n {
  font: 700 clamp(64px, 5.6vw, 92px)/.8 var(--f-head); width: .62em; text-align: center;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  padding-top: .06em;
}
.steps__t { font: 700 clamp(24px, 2.1vw, 32px)/1.05 var(--f-head); color: var(--navy); }

/* ---------- 04 o mnie ---------- */
.me { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.portrait__box {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r);
  background: var(--bg-2);
  display: grid; place-items: center;
}
.portrait__c { position: absolute; width: 34px; height: 34px; border: 0 solid var(--navy); }
.portrait__c--tl { left: 16px; top: 16px; border-left-width: 1.5px; border-top-width: 1.5px; }
.portrait__c--tr { right: 16px; top: 16px; border-right-width: 1.5px; border-top-width: 1.5px; }
.portrait__c--bl { left: 16px; bottom: 16px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.portrait__c--br { right: 16px; bottom: 16px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.portrait__x {
  position: absolute; inset: 50px;
  background:
    linear-gradient(to top right, transparent calc(50% - .6px), rgba(14, 23, 48, .16) 50%, transparent calc(50% + .6px)),
    linear-gradient(to bottom right, transparent calc(50% - .6px), rgba(14, 23, 48, .16) 50%, transparent calc(50% + .6px));
  border: 1px dashed rgba(14, 23, 48, .28);
}
.portrait__txt { position: relative; font: 500 14px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--bg-2); padding: 10px 14px; }
.me__text h2 { margin-bottom: 28px; }
.me__p { font-size: clamp(19px, 1.65vw, 24px); line-height: 1.5; color: var(--navy); max-width: 30em; }

/* ---------- 05 kontakt ---------- */
.kontakt { margin-top: clamp(80px, 9vw, 150px); background: var(--navy); color: #fff; padding: clamp(72px, 8vw, 130px) 0; position: relative; }
.kontakt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.kontakt__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.kontakt h2 { color: #fff; margin-bottom: 34px; }
.kontakt__tel { display: block; width: max-content; max-width: 100%; font: 700 clamp(54px, 7vw, 112px)/.95 var(--f-head); color: #fff; text-decoration: none; letter-spacing: .005em; }
.kontakt__tel:hover { color: #7fd8ce; }
.kontakt__mail { display: inline-block; margin-top: 18px; font: 600 clamp(18px, 1.7vw, 24px)/1.3 var(--f-body); color: #fff; text-underline-offset: 5px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.kontakt__place { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font: 500 14px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #c5cde0; }

.form { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.form__row { margin-bottom: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.form label { display: block; margin-bottom: 8px; font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #c5cde0; }
.form input, .form select {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22); background: #0b1328; color: #fff;
  font: 400 17px/1.2 var(--f-body);
  -webkit-appearance: none; appearance: none;
}
.form select {
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, #c5cde0 50%), linear-gradient(135deg, #c5cde0 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.form select option { color: #0e1730; background: #fff; }
.form input::placeholder { color: #8e98b2; }
.form input:focus, .form select:focus { border-color: #7fd8ce; outline: none; box-shadow: 0 0 0 3px rgba(127, 216, 206, .35); }
.form input[aria-invalid="true"] { border-color: #ff9a8a; }
.form__err { display: block; margin-top: 8px; font-size: 15px; color: #ffb4a8; }
.form__err[hidden] { display: none; }
.btn--form { width: 100%; margin-top: 6px; }
.form__note { margin-top: 14px; font-size: 15px; line-height: 1.45; color: #c5cde0; }

/* ---------- stopka ---------- */
.foot .wrap { container-type: inline-size; }
.foot { padding: clamp(56px, 6vw, 96px) 0 clamp(28px, 3vw, 44px); background: var(--bg); }
.foot__logo {
  font: 700 min(10.6vw, 162px)/.9 var(--f-head); font-size: min(11.8cqi, 164px); color: var(--navy);
  letter-spacing: -.01em; white-space: nowrap;
}
.foot__bk { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.foot__row {
  display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: clamp(24px, 3vw, 40px); padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font: 500 15px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--navy);
}
.foot__row a { color: var(--navy); text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot__row a, .foot__row span { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- dolny pasek (telefon) ---------- */
.callbar { display: none; }

/* ---------- pojawianie się ---------- */
.motion .rv.rv-pre { opacity: 0; transform: translateY(18px); }
.motion .rv.rv-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }

/* ---------- kształty ---------- */
.shapes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px 40px; align-items: start; margin-top: clamp(56px, 6vw, 96px); }
.shapes__h { font: 700 clamp(30px, 3vw, 42px)/1 var(--f-head); color: var(--navy); padding-top: 18px; }
.shapes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--navy); border-bottom: 1px solid var(--line-2); }
.shapes__list li {
  position: relative; padding: 20px 20px 22px; min-height: 104px;
  font: 700 clamp(22px, 1.9vw, 28px)/1.08 var(--f-head); color: var(--navy);
}
.shapes__list li + li { border-left: 1px solid var(--line); }
.shapes__list li::before {
  content: ""; display: block; width: 26px; height: 9px; margin-bottom: 14px;
  border-left: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue);
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 1.5px no-repeat;
}
@media (max-width: 999px) {
  .shapes { grid-template-columns: minmax(0, 1fr); }
  .shapes__h { padding-top: 0; }
  .shapes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shapes__list li:nth-child(3) { border-left: 0; }
  .shapes__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 559px) {
  .shapes__list { grid-template-columns: minmax(0, 1fr); }
  .shapes__list li { min-height: 0; display: flex; align-items: center; gap: 16px; padding: 16px 0; }
  .shapes__list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .shapes__list li::before { flex: none; margin: 0; width: 20px; }
}

/* ---------- rysunek z wymiarami ---------- */
.order { align-items: start; }
.sheet.is-live .sheet__static { display: none; }
.calc[hidden] { display: none; }
.sheet .calc__svg .s-val { font: italic 700 27px/1 var(--f-body); fill: var(--navy); text-anchor: middle; }
.sheet .calc__svg .s-lab { font: 500 19px/1 var(--f-mono); letter-spacing: .08em; text-anchor: middle; }
.calc__g.is-swap { animation: calc-in .16s ease-out; }
@keyframes calc-in { from { opacity: .2; } }
.calc__sum {
  margin-top: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  font: 700 clamp(22px, 2vw, 28px)/1.15 var(--f-head); color: var(--navy); min-height: calc(1.15em + 28px);
}
.calc__form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 22px; margin-top: 20px;
}
.calc__lab { display: block; margin-bottom: 8px; font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.calc__dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__dims--one { grid-template-columns: 1fr; }
.calc__dims[hidden] { display: none; }
.calc input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--line-2); background: #fff; color: var(--navy);
  font: 500 18px/1.2 var(--f-body); -webkit-appearance: none; appearance: none;
}
.calc input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.seg { display: flex; border: 1.5px solid var(--navy); border-radius: 12px; overflow: hidden; }
.seg button {
  flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 8px; border: 0; background: transparent; cursor: pointer;
  font: 600 16px/1.1 var(--f-body); color: var(--navy); transition: background-color .15s ease, color .15s ease;
}
.seg button + button { border-left: 1.5px solid var(--navy); }
.seg button:hover { background: color-mix(in srgb, var(--navy) 8%, transparent); }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg button:focus-visible { outline-offset: -5px; outline-color: var(--blue); }
.seg button[aria-pressed="true"]:focus-visible { outline-color: #fff; }
.calc__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.calc__cta .btn { flex: 1 1 220px; min-height: 54px; font-size: 18px; padding: 0 18px; }

/* ---------- pytania ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none;
  font: 700 clamp(23px, 2.1vw, 31px)/1.1 var(--f-head); color: var(--navy);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa__q { color: var(--blue); }
.qa__ico { position: relative; flex: none; width: 26px; height: 26px; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue); transition: transform .2s ease; }
.qa__ico::before { width: 22px; height: 2px; margin: -1px 0 0 -11px; }
.qa__ico::after { width: 2px; height: 22px; margin: -11px 0 0 -1px; }
.qa[open] .qa__ico::after { transform: scaleY(0); }
.qa__a { padding: 0 46px 24px 0; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.55; color: var(--text); max-width: 40em; }
.qa__a a { color: var(--navy); font-weight: 700; text-decoration-color: var(--blue); text-underline-offset: 4px; }

@media (max-width: 859px) {
  .faq__in { grid-template-columns: minmax(0, 1fr); }
  .qa__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .calc__g.is-swap { animation: none; }
}

/* ---------- średnie ekrany ---------- */
@media (max-width: 1240px) {
  .brand__name { font-size: 19px; }
  .nav__links { gap: 20px; }
  .nav__links a { font-size: 15.5px; }
  .nav__tel { font-size: 18px; padding: 0 16px; }
}

@media (max-width: 999px) {
  :root { --nav-h: 64px; }
  .nav { top: 10px; padding-inline: 12px; }
  .nav__pill { padding: 0 6px 0 7px; gap: 8px; }
  .brand { gap: 10px; }
  .brand__mark { width: 48px; height: 48px; font-size: 21px; }
  .brand__name { font-size: 18px; padding-left: 10px; }
  .nav__links { display: none; }
  .nav__tel { height: 48px; padding: 0 16px; font-size: 17px; gap: 8px; }
  .nav__tel svg { width: 19px; height: 19px; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px; flex: none;
    width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
    background: var(--bg-2); color: var(--navy);
  }
  .nav__burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu { top: calc(10px + var(--nav-h) + 8px); }

  .hero {
    display: block; height: auto; min-height: 0;
    padding: calc(10px + var(--nav-h) + 34px) 0 0;
  }
  .hero h1 { font-size: clamp(46px, 16vw, 112px); padding: 0 var(--g); margin-left: 0; }
  .hero__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; margin-top: 26px; border-radius: 0; }
  .hero__lead { padding: 0 var(--g); margin-top: 24px; font-size: 20px; max-width: none; }
  .hero__cta { padding: 0 var(--g); margin-top: 24px; gap: 12px; }
  .hero__cta .btn { flex: 1 1 260px; }
  .hero__dims .dl { stroke-width: 6; }
  .hero__dims text { font-size: 130px; }
  .tag--photo { right: 10px; bottom: 10px; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding: 40px var(--g) 0; }
  .tile__img { aspect-ratio: 4 / 3; border-radius: 14px; }
  .tile__name { margin-top: 10px; font-size: 17px; }
  .tiles__note { margin-top: -6px; }

  .band__in { grid-template-columns: 1fr; padding: 8px 0; }
  .band li { padding: 14px 0; text-align: left; }
  .band li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
}

@media (min-width: 600px) and (max-width: 999px) {
  .hero__photo { aspect-ratio: 3 / 2; }
}

@media (max-width: 859px) {
  .offer, .macro, .order, .howto, .me, .kontakt__in { grid-template-columns: minmax(0, 1fr); }
  .offer { gap: 56px; }
  .macro { gap: 20px; }
  .macro__txt { padding: 0; }
  .mat { display: block; padding-left: 0; }
  .mat__text { padding: 0 var(--g); }
  .mat__panel { margin-top: 40px; grid-template-columns: minmax(0, 1fr); border-radius: 0; padding: 28px var(--g) 36px; gap: 20px; }
  .mfig:nth-child(2) { margin-top: 0; }
  .mfig img { aspect-ratio: 4 / 3; }
  .howto__img { aspect-ratio: 4 / 3; }
  .me .portrait { max-width: 420px; width: 100%; }
  .order .sheet { margin-top: 8px; }
}

@media (max-width: 899px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--navy);
    box-shadow: 0 -10px 30px -14px rgba(14, 23, 48, .5);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; border-radius: 12px; text-decoration: none;
    font: 700 17px/1 var(--f-body); color: #fff; white-space: nowrap;
  }
  .callbar__tel { background: var(--grad-btn); }
  .callbar__tel svg { width: 19px; height: 19px; fill: currentColor; }
  .callbar__form { border: 1.5px solid rgba(255, 255, 255, .55); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 559px) {
  h2 { font-size: clamp(40px, 12vw, 56px); }
  .form__row--2 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot__row { flex-direction: column; gap: 0; }
}

@media (max-width: 419px) {
  .brand__name { font-size: 15px; line-height: 1.05; max-width: 6.5em; }
  .nav__tel { width: 48px; padding: 0; justify-content: center; }
  .nav__tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .callbar a { font-size: 16px; }
  .secno::after { max-width: 80px; }
}

@media (max-width: 359px) {
  .brand__mark { width: 44px; height: 44px; font-size: 19px; }
  .brand__name { font-size: 14px; }
  .callbar a { font-size: 15px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 419px) {
  .hero__cta .btn, .hero__cta .btn--grad { padding-inline: 14px; font-size: 18px; gap: 10px; }
}

a[href^="tel:"]{white-space:nowrap}

/* ========== typografia, odstępy, nowe bloki ========== */
.sec__lead { font-size: clamp(17px, 15px + .35vw, 20px); line-height: 1.55; max-width: 34em; }
.tag { font-size: 12px; }
.form__note { font-size: 16px; }
.offer__item p { font-size: clamp(17px, 1.25vw, 19px); max-width: 34em; }
.me__p { font-size: clamp(18px, 1.4vw, 21px); max-width: 34em; }
.qa__a { max-width: 34em; }
.sec__head h2 { margin-bottom: 20px; }
.offer { margin-top: clamp(32px, 4vw, 56px); }
.offer__item h3 { margin-top: 22px; }
.shapes { margin-top: clamp(36px, 4.5vw, 64px); }
.howto { margin-top: clamp(40px, 5vw, 72px); }

.brand__logo { display: block; height: 50px; width: auto; }
.foot__logo { white-space: normal; line-height: 0; }
.foot__logo img { display: block; height: clamp(54px, 7vw, 112px); width: auto; max-width: 100%; }

.pts { border-top: 1px solid var(--line-2); }
.pts li {
  position: relative; padding: 13px 0 13px 32px; border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.25vw, 19px); line-height: 1.45; color: var(--text);
}
.pts li::before {
  content: ""; position: absolute; left: 0; top: calc(13px + .73em - 4.5px); width: 18px; height: 9px;
  border-left: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue);
  background: linear-gradient(var(--blue), var(--blue)) center / 100% 1.5px no-repeat;
}

/* narożnik z bliska */
.macro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4.5vw, 72px); margin-top: clamp(40px, 5vw, 80px); }
.macro__txt { display: block; }
.macro__quote { font: 700 clamp(34px, 3.4vw, 54px)/1 var(--f-head); color: var(--navy); margin-bottom: 22px; text-wrap: balance; }

/* materiały: porównanie */
.cmp__title {
  font: 700 clamp(28px, 2.6vw, 40px)/1 var(--f-head); color: var(--navy);
  margin: clamp(32px, 4vw, 56px) 0 22px; padding-top: 18px; border-top: 1.5px solid var(--navy);
}
.cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); }
.cmp__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #d5d8dc; }
.cmp__img img { width: 100%; height: 100%; object-fit: cover; }
.cmp__h { font: 700 clamp(30px, 2.8vw, 44px)/1 var(--f-head); color: var(--navy); margin: 16px 0 12px; }
.mat__ask {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(32px, 4vw, 52px); padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 34px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
}
.mat__q { font: 700 clamp(22px, 2vw, 30px)/1.15 var(--f-head); color: var(--navy); max-width: 24em; }
.mat__ask .mat__cta { margin-top: 0; }

/* zastosowania */
.apps__list { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); }
.app { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.app:nth-child(even) .app__fig { order: 2; }
.app__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 1; background: #d5d8dc; }
.app__img img { width: 100%; height: 100%; object-fit: cover; }
.app__txt { position: relative; padding-top: 20px; border-top: 1.5px solid var(--navy); }
.app__txt::before { content: ""; position: absolute; left: 0; top: -3px; width: 64px; height: 4.5px; background: var(--blue); }
.app__txt h3 { font: 700 clamp(30px, 3.1vw, 50px)/1 var(--f-head); color: var(--navy); }
.app__txt p { margin-top: 14px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 26em; }
.apps__more { margin-top: clamp(32px, 4vw, 52px); font: 700 clamp(24px, 2.3vw, 34px)/1.15 var(--f-head); color: var(--navy); }
.apps__more a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* pytania */
.faq__ask { margin-top: 22px; font-size: clamp(17px, 1.3vw, 19px); color: var(--text); max-width: 22em; }
.faq__ask a { color: var(--navy); font-weight: 700; text-decoration-color: var(--blue); text-underline-offset: 4px; }

/* o mnie */
.me { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.me .portrait { width: 100%; max-width: 300px; }
.portrait__x { inset: 38px; }

/* ========== tablet i pośrednie ========== */
@media (min-width: 700px) and (max-width: 999px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
  .tiles__note { margin-top: 10px; }
  .band__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band li { text-align: center; padding: 18px 12px; }
  .band li + li { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .22); }
  .hero__photo { max-height: 50vh; max-height: 50svh; }
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .macro { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
  .app { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
  .app__img { aspect-ratio: 3 / 2; }
  .me { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 40px; }
  .howto__img { aspect-ratio: 2 / 1; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .order { grid-template-columns: minmax(0, 1fr); }
  .order__list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .order__list .secno, .order__list h2 { grid-column: 1 / -1; }
  .order__list .steps { margin-top: 0; }
  .order .sheet { margin-top: 0; }
}
@media (min-width: 820px) and (max-width: 1023px) {
  .kontakt__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "svg form" "sum form"; grid-template-rows: auto 1fr; gap: 0 28px; align-items: start; }
  .calc[hidden] { display: none; }
  .calc__svg { grid-area: svg; }
  .calc__sum { grid-area: sum; }
  .calc__form { grid-area: form; grid-template-columns: minmax(0, 1fr); margin-top: 0; }
}

/* ========== telefony ========== */
@media (max-width: 699px) {
  .macro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .app { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .app:nth-child(even) .app__fig { order: 0; }
  .app__img { aspect-ratio: 16 / 10; }
  .me { grid-template-columns: minmax(0, 1fr); }
  .me .portrait { max-width: 192px; }
  .portrait__x { inset: 26px; }
  .portrait__c { width: 22px; height: 22px; }
  .portrait__txt { font-size: 12px; padding: 8px 10px; }
}
@media (max-width: 599px) {
  .cmp { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mat__ask .btn { flex: 1 1 100%; }
}
@media (max-width: 999px) {
  .brand__logo { height: 40px; }
}
@media (max-width: 559px) {
  .brand__logo { height: 30px; }
}

/* ========== telefon poziomo ========== */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 999px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px;
    grid-template-rows: 1fr auto auto auto 1fr; grid-template-areas: ". ph" "h ph" "p ph" "c ph" ". ph";
    padding-left: var(--g); padding-right: var(--g);
  }
  .hero h1 { font-size: clamp(34px, 6vw, 54px); padding: 0; }
  .hero__lead { padding: 0; margin-top: 14px; font-size: 17px; }
  .hero__cta { padding: 0; margin-top: 16px; gap: 8px; flex-wrap: wrap; }
  .hero__cta .btn, .hero__cta .btn--grad { flex: 1 1 auto; min-height: 44px; font-size: 15px; padding-inline: 12px; gap: 8px; }
  .hero__cta .btn svg { width: 18px; height: 18px; }
  .hero__photo { grid-area: ph; grid-row: 1 / -1; align-self: center; margin-top: 0; max-height: none; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
  .hero__dims .dl { stroke-width: 5; }
  .callbar { padding: 5px 10px calc(5px + env(safe-area-inset-bottom)); }
  .callbar a { min-height: 42px; font-size: 15px; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* ========== wersja niebieska: odstępy ========== */
.sec { padding-top: clamp(56px, 6.5vw, 104px); }
.kontakt { margin-top: clamp(56px, 6.5vw, 104px); padding: clamp(56px, 6.5vw, 104px) 0; }
.foot { padding: clamp(40px, 4.5vw, 72px) 0 clamp(24px, 2.5vw, 36px); }
.nav__pill { padding-left: 14px; }
@media (max-width: 999px) {
  .nav__pill { padding-left: 12px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 999px) {
  :root { --nav-h: 54px; }
  .nav { top: 8px; }
  .hero { padding-top: calc(8px + var(--nav-h) + 16px); }
  .menu { top: calc(8px + var(--nav-h) + 6px); max-height: calc(100vh - 80px); overflow-y: auto; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 999px) {
  .hero__photo { max-height: calc(100vh - var(--nav-h) - 96px); max-height: calc(100svh - var(--nav-h) - 96px); }
}
.macro__quote { margin-bottom: 14px; }
.macro__p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--text); max-width: 34em; margin-bottom: 20px; }


/* ========== duże ekrany: wspólna siatka i płynne skalowanie ========== */
@media (min-width: 1600px) {
  .nav { padding-inline: 0; }
  .nav__pill { width: min(100% - 2 * var(--g), var(--max)); max-width: none; margin-inline: auto; }
  .hero { padding-left: calc((100% - min(100% - 2 * var(--g), var(--max))) / 2); }
  .hero__lead { font-size: 21px; }
  .tiles { width: min(100% - 2 * var(--g), var(--max)); max-width: none; margin-inline: auto; padding-left: 0; padding-right: 0; }
}
@media (min-width: 1600px) { :root { zoom: 1.0314; --max: 1416px; } .hero { --ph: 595px; } }
@media (min-width: 1632px) { :root { zoom: 1.0376; --max: 1426px; } .hero { --ph: 599px; } }
@media (min-width: 1664px) { :root { zoom: 1.0439; --max: 1437px; } .hero { --ph: 604px; } }
@media (min-width: 1696px) { :root { zoom: 1.0502; --max: 1447px; } .hero { --ph: 608px; } }
@media (min-width: 1728px) { :root { zoom: 1.0564; --max: 1458px; } .hero { --ph: 612px; } }
@media (min-width: 1760px) { :root { zoom: 1.0627; --max: 1468px; } .hero { --ph: 617px; } }
@media (min-width: 1792px) { :root { zoom: 1.0690; --max: 1478px; } .hero { --ph: 621px; } }
@media (min-width: 1824px) { :root { zoom: 1.0753; --max: 1488px; } .hero { --ph: 625px; } }
@media (min-width: 1856px) { :root { zoom: 1.0815; --max: 1498px; } .hero { --ph: 629px; } }
@media (min-width: 1888px) { :root { zoom: 1.0878; --max: 1508px; } .hero { --ph: 633px; } }
@media (min-width: 1920px) { :root { zoom: 1.0941; --max: 1517px; } .hero { --ph: 637px; } }
@media (min-width: 1952px) { :root { zoom: 1.1004; --max: 1527px; } .hero { --ph: 641px; } }
@media (min-width: 1984px) { :root { zoom: 1.1066; --max: 1536px; } .hero { --ph: 645px; } }
@media (min-width: 2016px) { :root { zoom: 1.1129; --max: 1546px; } .hero { --ph: 649px; } }
@media (min-width: 2048px) { :root { zoom: 1.1192; --max: 1555px; } .hero { --ph: 653px; } }
@media (min-width: 2080px) { :root { zoom: 1.1254; --max: 1564px; } .hero { --ph: 657px; } }
@media (min-width: 2112px) { :root { zoom: 1.1317; --max: 1573px; } .hero { --ph: 661px; } }
@media (min-width: 2144px) { :root { zoom: 1.1380; --max: 1582px; } .hero { --ph: 664px; } }
@media (min-width: 2176px) { :root { zoom: 1.1443; --max: 1591px; } .hero { --ph: 668px; } }
@media (min-width: 2208px) { :root { zoom: 1.1505; --max: 1599px; } .hero { --ph: 672px; } }
@media (min-width: 2240px) { :root { zoom: 1.1568; --max: 1608px; } .hero { --ph: 675px; } }
@media (min-width: 2272px) { :root { zoom: 1.1631; --max: 1616px; } .hero { --ph: 679px; } }
@media (min-width: 2304px) { :root { zoom: 1.1693; --max: 1625px; } .hero { --ph: 682px; } }
@media (min-width: 2336px) { :root { zoom: 1.1756; --max: 1633px; } .hero { --ph: 686px; } }
@media (min-width: 2368px) { :root { zoom: 1.1819; --max: 1641px; } .hero { --ph: 689px; } }
@media (min-width: 2400px) { :root { zoom: 1.1882; --max: 1650px; } .hero { --ph: 693px; } }
@media (min-width: 2432px) { :root { zoom: 1.1944; --max: 1658px; } .hero { --ph: 696px; } }
@media (min-width: 2464px) { :root { zoom: 1.2007; --max: 1666px; } .hero { --ph: 700px; } }
@media (min-width: 2496px) { :root { zoom: 1.2070; --max: 1674px; } .hero { --ph: 703px; } }
@media (min-width: 2528px) { :root { zoom: 1.2132; --max: 1681px; } .hero { --ph: 706px; } }
@media (min-width: 2560px) { :root { zoom: 1.2195; --max: 1689px; } .hero { --ph: 709px; } }
.shapes__ask { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 8px; padding: 18px 0 0; }
.shapes__q { font: 700 clamp(22px, 2vw, 30px)/1.15 var(--f-head); color: var(--navy); max-width: 30em; }
.hero__lead { text-wrap: pretty; }
@media (min-width: 1600px) { .hero__lead { max-width: 25em; } }

.shapes--also { margin-top: clamp(28px, 3vw, 44px); }
.shapes--also { grid-template-columns: minmax(0, 1fr); }
.shapes--also .shapes__h { padding-top: 0; }
.shapes--also .shapes__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 999px) {
  .shapes--also .shapes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shapes--also .shapes__list li:nth-child(5) { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 559px) {
  .shapes--also .shapes__list { grid-template-columns: minmax(0, 1fr); }
}

.tiles--all { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: clamp(20px, 2.2vw, 34px); }
.tiles--all .tile__img { aspect-ratio: 16 / 10; }
.tiles--all .tile__name { font-size: clamp(16px, 1.3vw, 21px); text-wrap: balance; }
@media (min-width: 700px) and (max-width: 999px) {
  .tiles--all { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 10px; }
  .tiles--all .tile__img { aspect-ratio: 4 / 3; border-radius: 12px; }
  .tiles--all .tile__name { margin-top: 8px; font-size: 14.5px; }
}
@media (max-width: 699px) {
  .tiles--all { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .tiles--all .tile__name { font-size: 16px; }
  .tiles--all .tiles__note { margin-top: -4px; }
}

.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 3.2vw, 52px) clamp(16px, 1.8vw, 30px); margin-top: clamp(44px, 5vw, 80px); }
.svc__img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #d5d8dc; }
.svc__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc__item h3 { margin-top: 18px; font-size: clamp(23px, 1.95vw, 30px); line-height: 1.05; text-wrap: balance; }
.svc__item p { margin-top: 10px; font-size: clamp(16.5px, 1.15vw, 18px); line-height: 1.45; color: var(--text); }
.svc__item p a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.svc__note { grid-column: 1 / -1; justify-self: end; margin-top: -8px; }
.shapes--ask { grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 3vw, 44px); border-top: 1.5px solid var(--navy); }
.macro__p--cta { margin: 20px 0 0; font-weight: 600; }
.macro__p--cta a { color: var(--blue); white-space: nowrap; }
@media (min-width: 860px) {
  .macro--flip .macro__fig { order: 2; }
  .macro--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
}
.macro--flip .macro__img img { object-position: 50% 50%; }
@media (max-width: 999px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 559px) {
  .svc { gap: 28px 12px; }
  .svc__img { border-radius: 14px; }
  .svc__item h3 { margin-top: 12px; font-size: 21px; }
  .svc__item p { font-size: 15.5px; }
}
@media (max-width: 339px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
}

.nb { white-space: nowrap; }
.macro--rys .macro__img { aspect-ratio: 4 / 3; background: #eef1f5; border: 1px solid var(--line); }
