/* =========================================================
   KLNK Studio – arkusz stylów
   System wizualny wywiedziony z logo: czerń, biel, pomarańcz #EC6F1D,
   ścięte pod kątem 45° narożniki i trójkąty jako akcent.
   ========================================================= */

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/unbounded-pl.woff2') format('woff2'); unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/instrumentsans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/instrumentsans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #000;
  --paper: #fff;
  --mist: #f0f0ee;
  --line: rgba(0, 0, 0, .14);
  --line-strong: rgba(0, 0, 0, .28);
  --muted: #55575a;
  --orange: #ec6f1d;
  --orange-text: #b5500b; /* pomarańcz do tekstu na białym (kontrast AA) */
  --on-dark: #fff;
  --on-dark-muted: #a9abae;
  --line-dark: rgba(255, 255, 255, .16);

  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 152px);
  --cut: clamp(16px, 2vw, 30px);
  --cut-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: clamp(1.0625rem, .35vw + .98rem, 1.1875rem); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + var(--gutter) * 2); }
.muted { color: var(--muted); }

/* ---------- Typografia ---------- */
.display { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 4.55vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; }
.display--page { font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.05; max-width: 16ch; }
.h2 { font-family: var(--f-display); font-size: clamp(1.85rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 1.4vw, 1.45rem); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.lead { font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); line-height: 1.5; max-width: 60ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); max-width: 880px; }
.section-head .lead { color: var(--muted); margin: 0; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; max-width: none; }
.is-dark .section-head .lead { color: var(--on-dark-muted); }

/* ---------- Sygnatura: ścięty narożnik ---------- */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* ---------- Przyciski i linki ---------- */
.btn { --c: var(--cut-sm); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .95rem; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--paper); }
.is-dark .btn--primary:hover, .cta-block .form .btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--orange); color: var(--ink); }
.btn .i-arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--orange); padding-bottom: 2px; }
.link .i-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover .i-arrow { transform: translateX(4px); }
.link--light { color: var(--on-dark); }
.link--muted { border-color: var(--line-strong); color: var(--muted); }

.ticks { list-style: none; display: grid; gap: 10px; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.ticks--lg li { font-size: 1.125rem; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { flex: none; width: clamp(150px, 15vw, 190px); color: var(--ink); }
.brand svg { width: 100%; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 36px); }
.main-nav a { text-decoration: none; font-weight: 500; padding: 8px 0; position: relative; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-header__cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--orange); }
.menu-toggle { display: none; align-items: center; gap: 10px; height: 48px; padding: 0 2px 0 12px; margin-right: -4px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); }
.menu-toggle__bars { position: relative; display: block; width: 26px; height: 14px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ''; position: absolute; right: 0; height: 2px; background: var(--ink); transition: width .3s var(--ease); }
.menu-toggle__bars::before { top: 2px; width: 26px; }
.menu-toggle__bars::after { bottom: 2px; width: 17px; }
.menu-toggle:hover .menu-toggle__bars::after { width: 26px; }
@media (max-width: 359px) { .menu-toggle__label { display: none; } }

/* ---------- Menu mobilne: jasny arkusz otwierany ukośnym cięciem 45° ---------- */
.mnav { --mnav-pad: clamp(20px, 5.5vw, 40px); position: fixed; inset: 0; z-index: 70; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0); transition: clip-path .55s var(--ease), visibility 0s linear .55s; visibility: hidden; }
.mnav[hidden] { display: none; }
.mnav.is-open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path .6s var(--ease), visibility 0s; visibility: visible; }
.mnav__bar { flex: none; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.mnav__brand { width: clamp(150px, 15vw, 190px); }
.mnav__close { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 0 0 12px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); }
.mnav__x { position: relative; width: 44px; height: 44px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.mnav__x::before, .mnav__x::after { content: ''; position: absolute; left: 11px; right: 11px; top: 21px; height: 2px; background: var(--ink); transition: transform .45s var(--ease) .15s; }
.mnav__x::before { transform: rotate(0); }
.mnav__x::after { transform: rotate(0); }
.mnav.is-open .mnav__x::before { transform: rotate(45deg); }
.mnav.is-open .mnav__x::after { transform: rotate(-45deg); }
@media (max-width: 359px) { .mnav__close-label { display: none; } }

.mnav__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(12px, 3vh, 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: grid; gap: clamp(28px, 4.5vh, 44px); align-content: start; }

.mnav__list { list-style: none; }
.mnav__list li { border-bottom: 1px solid var(--line); }
.mnav__link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0 10px 0; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.55rem, 7.4vw, 2.25rem); line-height: 1.12; letter-spacing: -.035em; color: var(--ink); transition: padding-left .35s var(--ease), color .2s; }
.mnav__link::before { content: ''; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: scale(0); transition: transform .35s var(--ease); }
.mnav__link[aria-current='page'], .mnav__link:hover, .mnav__link:focus-visible { padding-left: 26px; }
.mnav__link[aria-current='page']::before, .mnav__link:hover::before, .mnav__link:focus-visible::before { transform: scale(1); }
.mnav__link:active { color: var(--orange-text); }
.mnav__label { min-width: 0; overflow-wrap: anywhere; }
.mnav__count { flex: none; align-self: flex-start; margin-top: .3em; font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

.mnav__kicker { margin: 0 0 12px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.mnav__svc-list { list-style: none; display: grid; gap: 8px; }
.mnav__svc-link { display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 14px; min-height: 64px; padding: 6px 12px 6px 6px; background: var(--mist); text-decoration: none; color: var(--ink); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); transition: background-color .25s, color .25s; }
.mnav__svc-link:hover, .mnav__svc-link:focus-visible { background: var(--ink); color: var(--paper); }
.mnav__svc-link[aria-current='page'] { background: var(--ink); color: var(--paper); }
.mnav__thumb { width: 52px; height: 52px; overflow: hidden; background: #ddd; }
.mnav__thumb picture, .mnav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mnav__svc-name { font-weight: 600; font-size: 1.02rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.mnav__svc-link .i-arrow { width: 20px; height: 20px; color: var(--orange); transition: transform .3s var(--ease); }
.mnav__svc-link:hover .i-arrow { transform: translateX(3px); }

.mnav__foot { display: grid; gap: 16px; padding-top: 4px; }
.mnav__cta { width: 100%; justify-content: space-between; }
.mnav__cta .i-arrow { width: 22px; height: 22px; }
.mnav__contact { display: grid; gap: 4px; }
.mnav__contact a { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.mnav__contact svg { width: 20px; height: 20px; flex: none; color: var(--orange); }
.mnav__social { display: flex; gap: 10px; }
.mnav__social a { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); }
.mnav__social a:hover { border-color: var(--ink); }
.mnav__social svg { width: 20px; height: 20px; }

/* wejście elementów po otwarciu: kaskada od góry */
.mnav__list li, .mnav__svc, .mnav__foot { opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s var(--ease); }
.mnav.is-open .mnav__list li, .mnav.is-open .mnav__svc, .mnav.is-open .mnav__foot { opacity: 1; transform: none; transition: opacity .5s ease calc(.2s + var(--i, 0) * .05s), transform .6s var(--ease) calc(.2s + var(--i, 0) * .05s); }

/* niskie ekrany (telefon poziomo): mniejsza typografia, usługi w dwóch kolumnach */
@media (max-height: 520px) {
  .mnav__link { min-height: 46px; font-size: clamp(1.25rem, 4.2vw, 1.6rem); }
  .mnav__svc-list { grid-template-columns: 1fr 1fr; }
}
/* telefon poziomo: nawigacja po lewej, usługi i kontakt po prawej */
@media (min-width: 640px) and (max-height: 520px) {
  .mnav__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; row-gap: 20px; }
  .mnav__nav { grid-row: span 2; }
  .mnav__svc-list { grid-template-columns: 1fr; gap: 6px; }
  .mnav__svc-link { min-height: 52px; grid-template-columns: 40px 1fr 20px; }
  .mnav__thumb { width: 40px; height: 40px; }
}
/* tablety: nawigacja i usługi obok siebie */
@media (min-width: 640px) and (min-height: 521px) {
  .mnav__body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 64px); align-content: center; }
  .mnav__nav { grid-row: span 2; }
  .mnav__svc { align-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav.is-open { clip-path: none; transition: opacity .15s, visibility 0s linear .15s; opacity: 0; }
  .mnav.is-open { opacity: 1; transition: opacity .15s; }
  .mnav__list li, .mnav__svc, .mnav__foot, .mnav__x::before, .mnav__x::after { transition: none !important; }
  .mnav__list li, .mnav__svc, .mnav__foot { opacity: 1; transform: none; }
}
html.is-locked, html.is-locked body { overscroll-behavior: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__kicker { display: block; font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--muted); margin-bottom: clamp(18px, 2.4vw, 32px); }
.hero__line { display: block; }
.hero__lead { margin: clamp(24px, 3vw, 40px) 0 0; color: #26282a; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__svc { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__svc a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); }
.hero__svc a:hover { color: var(--ink); }
.hero__visual { position: relative; }
.reel { position: relative; aspect-ratio: 4 / 5; max-height: min(78vh, 760px); width: 100%; background: var(--mist); }
.reel__item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.reel__item.is-active { opacity: 1; z-index: 1; }
.reel__item picture, .reel__item img { width: 100%; height: 100%; object-fit: cover; }
.reel__item.is-active img { animation: kenburns 7s linear both; }
.reel__item figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; }
.reel__item figcaption a { display: inline-flex; gap: 6px; background: var(--paper); padding: 8px 14px; font-size: .9rem; text-decoration: none; }
.tri { position: absolute; z-index: 2; background: var(--orange); pointer-events: none; }
.tri--a { width: clamp(56px, 7vw, 108px); aspect-ratio: 1; top: calc(clamp(56px, 7vw, 108px) * -.42); right: calc(clamp(56px, 7vw, 108px) * -.42); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tri--b { width: clamp(40px, 5vw, 76px); aspect-ratio: 1; bottom: calc(clamp(40px, 5vw, 76px) * -.5); left: calc(clamp(40px, 5vw, 76px) * -.5); clip-path: polygon(0 0, 100% 100%, 0 100%); }

@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wipe { from { clip-path: polygon(0 0, 0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); } }
@keyframes triIn { from { transform: translate(40%, -40%) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes triIn2 { from { transform: translate(-40%, 40%) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* jedna orkiestrowana animacja wejścia (tylko strona główna) */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero__line { animation: rise .9s var(--ease) both; }
  .page-home .hero__line:nth-child(3) { animation-delay: .08s; }
  .page-home .hero__line:nth-child(4) { animation-delay: .16s; }
  .page-home .hero__kicker, .page-home .hero__lead, .page-home .hero__cta, .page-home .hero__svc { animation: rise .9s var(--ease) both; animation-delay: .28s; }
  .page-home .reel { animation: wipe 1.2s var(--ease) .15s both; }
  .page-home .tri--a { animation: triIn .9s var(--ease) .9s both; }
  .page-home .tri--b { animation: triIn2 .9s var(--ease) 1.05s both; }
}

/* ---------- Zaufali nam ---------- */
.trusted { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trusted__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.trusted__head p { margin: 0; color: var(--muted); max-width: 52ch; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; font-size: .9rem; font-weight: 500; }
.marquee-toggle:hover { border-color: var(--ink); }
.marquee-toggle__icon { width: 12px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.marquee-toggle[aria-pressed='true'] .marquee-toggle__icon { border: 0; border-left: 11px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos { list-style: none; display: flex; align-items: center; width: max-content; animation: marquee calc(var(--count) * 4.2s) linear infinite; }
.logos__item { flex: none; padding-inline: clamp(28px, 3.6vw, 56px); display: flex; align-items: center; height: 88px; }
.logos__item img { width: auto; max-width: none; filter: grayscale(1) contrast(1.1); opacity: .72; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logos__item a { display: block; }
.logos__item--light img { filter: grayscale(1) brightness(.5) contrast(1.3); }
.logos__item:hover img, .logos__item a:focus-visible img { filter: none; opacity: 1; }
.marquee:hover .logos, .marquee:focus-within .logos, .marquee.is-paused .logos { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .logos__item[aria-hidden='true'] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-toggle { display: none; }
}

/* ---------- Sekcje ciemne ---------- */
.is-dark { background: var(--ink); color: var(--on-dark); }

/* ---------- Kafelki realizacji ---------- */
.work { padding: var(--sec) 0; }
.tile { display: block; position: relative; text-decoration: none; color: inherit; }
.tile__media { display: block; position: relative; overflow: hidden; background: #1a1a1a; }
.tile__media picture, .tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media img { transition: transform 1.1s var(--ease); }
.tile::after, .gallery__btn::after { content: ''; position: absolute; top: 0; right: 0; width: var(--cut); height: var(--cut); background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%); transform: scale(0); transform-origin: top right; transition: transform .45s var(--ease); z-index: 2; }
.tile:hover img, .tile:focus-visible img, .gallery__btn:hover img { transform: scale(1.04); }
.tile:hover::after, .tile:focus-visible::after, .gallery__btn:hover::after, .gallery__btn:focus-visible::after { transform: scale(1); }
.tile__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 14px; margin: 0; }
.tile__client { font-family: var(--f-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: -.01em; }
.tile__client a { text-decoration: none; }
.tile__client a:hover { text-decoration: underline; }
.tile__title { color: var(--muted); font-size: .98rem; }
.is-dark .tile__title { color: var(--on-dark-muted); }
.tile__cat { display: none; }

.featured { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 3.5vw, 56px) clamp(16px, 2vw, 28px); }
.featured .tile--f1 { grid-column: span 7; } .featured .tile--f1 .tile__media { aspect-ratio: 7 / 5; }
.featured .tile--f2 { grid-column: span 5; } .featured .tile--f2 .tile__media { aspect-ratio: 1; }
.featured .tile--f3, .featured .tile--f4, .featured .tile--f5 { grid-column: span 4; }
.featured .tile--f3 .tile__media, .featured .tile--f4 .tile__media, .featured .tile--f5 .tile__media { aspect-ratio: 1; }
.featured .tile--f6 { grid-column: span 5; } .featured .tile--f6 .tile__media { aspect-ratio: 1; }
.featured .tile--f7 { grid-column: span 7; } .featured .tile--f7 .tile__media { aspect-ratio: 7 / 5; }
.featured .tile--f4 img { object-position: 50% 45%; }
.featured .tile--f7 img { object-position: 50% 52%; }

/* ---------- Usługi (strona główna) ---------- */
.services { padding: var(--sec) 0; }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line); align-items: start; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__name { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
.svc__name a { text-decoration: none; }
.svc__name a:hover { color: var(--orange-text); }
.svc__text > p { color: #2c2e30; }
.svc__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.svc__media { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.svc__img { display: block; overflow: hidden; background: var(--mist); }
.svc__img picture, .svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc__img:hover img { transform: scale(1.04); }
.svc--grid .svc__media { grid-template-columns: repeat(3, 1fr); }
.svc--grid .svc__img { aspect-ratio: 1; }
.svc--tall .svc__media { grid-template-columns: repeat(3, 1fr); }
.svc--tall .svc__img { aspect-ratio: 3 / 4.4; }
.svc--wide .svc__media { grid-template-columns: 1fr 1fr; }
.svc--wide .svc__img { aspect-ratio: 4 / 3; }
.svc--wide .svc__img:first-child { grid-column: span 2; aspect-ratio: 21 / 10; }
.svc--stage .svc__media { background: var(--ink); padding: clamp(10px, 1.4vw, 20px); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.svc--stage .svc__img { aspect-ratio: 16 / 10; clip-path: none; }

/* ---------- Spotlight (case) ---------- */
.spotlight { background: var(--mist); padding: var(--sec) 0; overflow: hidden; }
.spotlight__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.spotlight__client { font-family: var(--f-display); font-weight: 500; color: var(--orange-text); margin-bottom: 12px; }
.spotlight__text .h2 { margin-bottom: 20px; }
.spotlight__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.spotlight__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: #ddd; }
.spotlight__img:nth-child(even) { transform: translateY(clamp(24px, 4vw, 64px)); }
.spotlight__img picture, .spotlight__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dlaczego ---------- */
.why { padding: var(--sec) 0; }
.why__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.why__list li { padding-top: 22px; border-top: 1.5px solid var(--ink); }
.why__t { font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.3; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.why__t::before { content: ''; flex: none; width: 12px; height: 12px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateY(-1px); }
.why__list p, .benefits p { color: var(--muted); margin: 0; }

/* ---------- Proces ---------- */
.process { padding: var(--sec) 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 28px; }
.step::before, .step::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.step::before { background: var(--line); }
.is-dark .step::before { background: var(--line-dark); }
.step::after { background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.steps.is-in .step::after { transform: scaleX(1); }
.steps.is-in .step:nth-child(2)::after { transition-delay: .15s; }
.steps.is-in .step:nth-child(3)::after { transition-delay: .3s; }
.steps.is-in .step:nth-child(4)::after { transition-delay: .45s; }
.steps.is-in .step:nth-child(5)::after { transition-delay: .6s; }
.step__n { display: block; font-family: var(--f-display); font-size: clamp(2.4rem, 3.4vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--orange); margin-bottom: 18px; letter-spacing: -.04em; }
.step__t { font-family: var(--f-display); font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.is-dark .step p { color: var(--on-dark-muted); }
@media (prefers-reduced-motion: reduce) { .step::after { transform: scaleX(1); transition: none; } }

/* ---------- Opinie ---------- */
.quotes { padding: var(--sec) 0; }
.quotes__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.quote { margin: 0; height: 100%; padding: clamp(28px, 3vw, 44px); background: var(--mist); display: flex; flex-direction: column; gap: 18px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.quote__stars { color: var(--orange-text); letter-spacing: 3px; font-size: 1rem; }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { font-size: clamp(1.15rem, .8vw + 1rem, 1.45rem); line-height: 1.45; font-weight: 500; margin: 0; }
.quote figcaption { color: var(--muted); }
.quote figcaption strong { color: var(--ink); margin-right: 6px; }

/* ---------- CTA + formularz ---------- */
.cta-block { background: var(--ink); color: var(--on-dark); padding: var(--sec) 0; }
.cta-block__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.cta-block__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.cta-block__intro .h2 { font-size: clamp(1.75rem, 2.9vw, 2.75rem); }
.cta-block__intro .lead { color: var(--on-dark-muted); margin: 24px 0 32px; }
.cta-block .muted { color: var(--on-dark-muted); font-size: .98rem; }
.direct { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.direct a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.1rem, 1vw + .9rem, 1.4rem); font-weight: 500; }
.direct a:hover { color: var(--orange); }
.direct svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.direct small { display: block; font-size: .85rem; color: var(--on-dark-muted); font-weight: 400; }

.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.2vw, 48px); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 14px; border: 1.5px solid #c9cac7; background: var(--paper); border-radius: 0; font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8f9090; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(236, 111, 29, .45); }
.field [aria-invalid='true'] { border-color: #c2261b; }
.field__error { margin: 0; color: #b3261e; font-size: .9rem; font-weight: 500; }
.chips legend { margin-bottom: 10px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid #c9cac7; font-size: .95rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: #c2261b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form__legal { margin: 0; font-size: .85rem; color: var(--muted); max-width: 40ch; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; font-weight: 500; border-left: 4px solid var(--orange); background: var(--mist); }
.form__status.is-error { border-color: #c2261b; background: #fdecea; }
.form__status.is-ok { border-color: #1f7a3a; background: #e8f4ec; }
.form.is-sending button[type='submit'] { opacity: .65; pointer-events: none; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); }
.site-footer__top { display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer__logo { display: block; width: clamp(220px, 26vw, 340px); }
.site-footer__logo img { width: 100%; height: auto; }
.site-footer__claim { margin: 0; color: var(--on-dark-muted); max-width: 40ch; justify-self: end; text-align: right; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; }
.f-title { font-family: var(--f-body); font-size: .9rem; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); }
.social svg { width: 20px; height: 20px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .88rem; }
.site-footer__legal p { margin: 0; }

.mobile-bar { display: none; }

/* ---------- Strony wewnętrzne ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.page-hero .lead { margin-top: 24px; color: #2c2e30; }
.page-hero--center { padding: clamp(80px, 12vw, 180px) 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: clamp(20px, 3vw, 40px); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: #b5b6b3; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.cases-strip { padding: 0 0 clamp(48px, 6vw, 96px); }
.cases-strip .h3 { margin-bottom: 24px; }
.cases-strip__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
.case-card { display: grid; gap: 6px; text-decoration: none; position: relative; }
.case-card .tile__media { aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--mist); }
.case-card .tile__media img { transition: transform 1s var(--ease); }
.case-card:hover .tile__media img { transform: scale(1.04); }
.case-card__name { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; }
.case-card__scope { color: var(--muted); font-size: .95rem; line-height: 1.45; }

.gallery-sec { padding: clamp(48px, 6vw, 96px) 0 var(--sec); background: var(--mist); }
.filters-bar { display: grid; gap: 20px; margin-bottom: clamp(28px, 3vw, 44px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, border-color .2s; }
.filter span { color: var(--muted); font-size: .85rem; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter[aria-pressed='true'] span { color: var(--on-dark-muted); }
.gallery { list-style: none; columns: 3; column-gap: clamp(14px, 1.6vw, 24px); }
.gallery__item { break-inside: avoid; margin-bottom: clamp(24px, 2.6vw, 36px); }
.gallery__item[hidden] { display: none; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery__btn .tile__media { background: #ddd; }
.gallery__btn .tile__media img { height: auto; }
.gallery .tile__cat { display: inline; margin-left: 4px; color: #8a8b8d; }
.gallery .tile__cat::before { content: '· '; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lightbox__inner { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px clamp(16px, 6vw, 96px) 16px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lightbox__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.lightbox__bar p { margin: 0; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); color: var(--ink); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }

.case__intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: 28px; }
.case__intro .lead { margin: 0; }
.case__meta { margin: 0; display: grid; gap: 20px; padding-top: 6px; }
.case__meta div { border-top: 1.5px solid var(--ink); padding-top: 12px; }
.case__meta dt { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.case__meta dd { margin: 0; font-weight: 500; line-height: 1.5; }
.case__meta a { text-decoration: none; border-bottom: 1.5px solid var(--orange); }
.case__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.case-fig { margin: 0; grid-column: span 2; }
.case-fig--half { grid-column: span 1; }
.case-fig > span { display: block; background: var(--mist); }
.case-fig img { width: 100%; }
.case-fig figcaption { padding-top: 10px; color: var(--muted); font-size: .95rem; }
.case__body { padding-block: clamp(40px, 5vw, 80px); }
.case__body p { font-size: clamp(1.15rem, .7vw + 1rem, 1.5rem); line-height: 1.5; max-width: 38em; margin: 0; }
.case__next { padding-bottom: var(--sec); }
.case__next a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; text-decoration: none; padding: 32px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.case__next small { width: 100%; color: var(--muted); font-size: .95rem; }
.case__next .i-arrow { width: 36px; height: 36px; color: var(--orange); transition: transform .3s var(--ease); }
.case__next a:hover .i-arrow { transform: translateX(8px); }

.svc-index { padding: 0 0 var(--sec); }
.svc-index__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.svc-card { display: grid; gap: 18px; text-decoration: none; position: relative; }
.svc-card .tile__media { aspect-ratio: 16 / 10; background: var(--mist); }
.svc-card .tile__media img { transition: transform 1s var(--ease); }
.svc-card:hover .tile__media img { transform: scale(1.04); }
.svc-card__body { display: grid; gap: 10px; justify-items: start; }
.svc-card__body > span:nth-child(2) { color: var(--muted); }

.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.svc-hero__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.svc-hero__img picture, .svc-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail { padding: clamp(48px, 6vw, 96px) 0 var(--sec); }
.svc-detail__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 96px); }
.svc-detail .h3 { margin-bottom: 24px; }
.note { padding: 18px 20px; background: var(--mist); border-left: 4px solid var(--orange); margin: 0; }
.benefits { list-style: none; display: grid; gap: 28px; }
.benefits li { padding-top: 20px; border-top: 1.5px solid var(--ink); }
.svc-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3vw, 48px) clamp(14px, 1.6vw, 24px); }
.svc-works .tile__media { aspect-ratio: 4 / 5; }
.faq { padding: var(--sec) 0; background: var(--mist); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateY(-50%); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq details p { margin: 0 0 22px; color: #2c2e30; max-width: 62ch; }
.related { padding: var(--sec) 0 calc(var(--sec) * .6); }
.related .h3 { margin-bottom: 24px; }
.related__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related__list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; text-decoration: none; padding: 24px; border: 1.5px solid var(--ink); height: 100%; transition: background-color .25s, color .25s; }
.related__list a span { font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; }
.related__list a small { grid-column: 1; color: var(--muted); font-size: .95rem; }
.related__list a .i-arrow { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 24px; height: 24px; color: var(--orange); }
.related__list a:hover { background: var(--ink); color: var(--paper); }
.related__list a:hover small { color: var(--on-dark-muted); }

.about { padding: 0 0 var(--sec); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.about__text p:not(.lead) { color: #2c2e30; max-width: 60ch; }
.about__text .lead { margin-bottom: 1.2em; }
.about__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.about__img picture, .about__img img { width: 100%; height: 100%; object-fit: cover; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 500; overflow-wrap: break-word; min-width: 0; transition: background-color .25s, color .25s; }
.contact-card svg { width: 24px; height: 24px; flex: none; color: var(--orange); }
.contact-card small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.contact-card:hover { background: var(--ink); color: var(--paper); }
.contact-card:hover small { color: var(--on-dark-muted); }

.prose { padding: 0 0 var(--sec); }
.prose h2 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; margin: 2em 0 .6em; letter-spacing: -.01em; }
.prose p { color: #2c2e30; }

/* ---------- Odsłanianie przy przewijaniu (oszczędnie) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .cases-strip__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 999px) {
  :root { --header-h: 64px; }
  .main-nav, .site-header__cta .btn, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__cta { margin-left: auto; }
  .hero__grid, .svc, .spotlight__grid, .cta-block__grid, .svc-hero__grid, .about__grid, .case__intro, .svc-detail__grid, .faq__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .reel { aspect-ratio: 5 / 4; max-height: none; }
  .tri--a { right: -12px; top: -24px; }
  .cta-block__intro { position: static; }
  .trusted__head { grid-template-columns: 1fr auto; }
  .trusted__head p { grid-column: 1 / -1; grid-row: 2; }
  .why__list { grid-template-columns: 1fr 1fr; }
  .svc-works { grid-template-columns: 1fr 1fr; }
  .related__list { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .svc-hero__img { aspect-ratio: 4 / 3; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 699px) {
  body { padding-bottom: 72px; }
  .hero { padding-top: 24px; }
  .hero__svc { display: none; }
  .hero__cta .btn { width: 100%; }
  .featured { grid-template-columns: 1fr; }
  .featured .tile { grid-column: auto !important; }
  .featured .tile .tile__media { aspect-ratio: 4 / 3 !important; }
  .svc--grid .svc__media, .svc--tall .svc__media { grid-template-columns: repeat(3, 1fr); }
  .svc--wide .svc__media { grid-template-columns: 1fr 1fr; }
  .spotlight__img:nth-child(even) { transform: translateY(20px); }
  .why__list, .quotes__list, .steps, .svc-index__list, .cases-strip__list, .contact-cards, .svc-works { grid-template-columns: 1fr; }
  .contact-card { font-size: .98rem; }
  .steps { gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
  .gallery { columns: 1; }
  .case__gallery { grid-template-columns: 1fr; }
  .case-fig, .case-fig--half { grid-column: auto; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__claim { justify-self: start; text-align: left; }
  .site-footer__cols { grid-template-columns: 1fr; }
  .logos__item { height: 72px; padding-inline: 26px; }
  .logos__item img { transform: scale(.82); transform-origin: center; }
  .trusted__head { grid-template-columns: 1fr; }
  .trusted__head p { grid-row: auto; }
  .marquee-toggle { justify-self: start; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); }
  .mobile-bar__btn svg { width: 18px; height: 18px; }
  .mobile-bar__btn--primary { background: var(--orange); border-color: var(--orange); }
}

@media print {
  .site-header, .mobile-bar, .cta-block, .marquee-toggle { display: none !important; }
}

/* ---------- Obszar działania (Kontakt) ---------- */
.area { padding: 0 0 clamp(48px, 6vw, 88px); }
.area__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px clamp(28px, 5vw, 80px); padding-top: 28px; border-top: 1.5px solid var(--ink); }
.area p { color: #2c2e30; max-width: 62ch; }
@media (max-width: 699px) { .area__grid { grid-template-columns: 1fr; } }

/* ---------- Zgoda na cookies (tylko gdy włączone Google Analytics) ---------- */
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--paper); color: var(--ink); padding: 20px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); border-top: 4px solid var(--orange); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 14px; font-size: .95rem; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 699px) { .consent { bottom: 84px; } }
