/* InkGuru.pl - druk ścienny UV, Olsztyn
   Design read: local service landing for homeowners and businesses in Olsztyn,
   bold and clean brand language taken from the logo (black + process cyan),
   native CSS + Archivo + restrained motion.
   Dials: DESIGN_VARIANCE 7 / MOTION_INTENSITY 5 / VISUAL_DENSITY 4.
   Shape system: all-sharp (radius 0), echoing the blocky logo. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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;
}

/* ---------- Tokens ---------- */
:root {
  --brand: #009fe3;          /* logo cyan */
  --brand-hover: #18aef0;
  --on-brand: #06121a;       /* text on cyan: ~7.6:1 */
  --brand-text: #00709f;     /* cyan for text on light bg: AA */
  --bg: #fafbfb;
  --surface: #ffffff;
  --tint: #f0f4f6;
  --ink: #0c0e10;
  --muted: #4b5359;
  --line: #dde3e7;
  --line-strong: #9aa4ab;
  --error: #b3261e;
  --ink-block: #0c0e10;
  --on-ink-block: #f2f5f7;
  --scrim: linear-gradient(to top, rgb(6 10 14 / .82) 0%, rgb(6 10 14 / .35) 55%, rgb(6 10 14 / 0) 100%);
  --nav-h: 68px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Light theme only, at the client's request (the logo is black + cyan on transparent). */
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--lg { padding: 1em 1.7em; font-size: 1.0625rem; }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Nav (z-index scale: nav 50, skip-link 100) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .975rem; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); font-size: 28px; padding: 8px; cursor: pointer; }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 1.125rem; }
.mobile-menu .btn { margin-top: 8px; }
.mobile-menu[hidden] { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__logo img { height: 34px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vh, 72px) clamp(48px, 8vh, 96px); }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: calc(100dvh - var(--nav-h) - 120px);
}
.eyebrow {
  font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand-text); margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04;
  text-wrap: balance;
}
@media (min-width: 861px) { .hero__title { white-space: nowrap; } }
.hero__lead { margin-top: 24px; font-size: clamp(1.075rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__media { position: relative; }
/* cyan "printed track" from the logo, running under the image */
.print-reveal { position: relative; overflow: hidden; background: var(--tint); border-bottom: 8px solid var(--brand); aspect-ratio: 6 / 7; max-height: calc(100dvh - var(--nav-h) - 96px); width: 100%; }
.print-reveal img { width: 100%; height: 100%; object-fit: cover; }
.print-reveal__head { display: none; }

@media (prefers-reduced-motion: no-preference) {
  /* The image is "printed" left to right by a moving head, the way the service works. */
  .print-reveal img { clip-path: inset(0 100% 0 0); }
  .print-reveal.is-printing img { animation: print-img 1.8s var(--ease) .15s forwards; }
  .print-reveal__head {
    display: block; position: absolute; inset: 0; pointer-events: none;
    transform: translateX(-100%);
  }
  .print-reveal__head::before { /* rail */
    content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 12px; background: var(--ink);
  }
  .print-reveal__head::after { /* head block, like the logo's printer */
    content: ""; position: absolute; top: 18%; right: 12px; width: 26px; height: 18px; background: var(--ink);
  }
  .print-reveal.is-printing .print-reveal__head { animation: print-head 1.8s var(--ease) .15s forwards, fade-out .4s ease 1.95s forwards; }
}
@keyframes print-img { to { clip-path: inset(0 0 0 0); } }
@keyframes print-head { to { transform: translateX(0); } }
@keyframes fade-out { to { opacity: 0; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .print-reveal { aspect-ratio: 4 / 3; max-height: none; }}

/* ---------- Marquee (one per page) ---------- */
.surfaces { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; }
.marquee__track { display: flex; flex-shrink: 0; gap: 0; }
.marquee__track span {
  padding: 22px 36px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap;
  position: relative;
}
.marquee__track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .surfaces:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { flex-wrap: wrap; justify-content: center; }
  .marquee__track span[aria-hidden="true"] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section__title { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 60ch; }

/* ---------- Bento (6 items, 6 cells) ---------- */
.bento {
  margin-top: 48px; display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(230px, auto);
  grid-template-areas:
    "a a b b"
    "a a c d"
    "e e f f";
}
.bento__cell { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.bento__cell--a { grid-area: a; min-height: 520px; }
.bento__cell--a > img { object-position: center 35%; }
.bento__cell--b { grid-area: b; }
.bento__cell--c { grid-area: c; }
.bento__cell--d { grid-area: d; }
.bento__cell--e { grid-area: e; }
.bento__cell--f { grid-area: f; }
.bento__cell h3 { font-size: 1.375rem; font-weight: 750; }
.bento__cell p { color: var(--muted); max-width: 44ch; }
.bento__cell > i { font-size: 36px; margin-bottom: auto; }
.bento__cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento__cell:hover > img { transform: scale(1.03); }
.bento__body--overlay { position: relative; color: #f4f7f8; }
.bento__cell:has(> img)::before { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: 1; }
.bento__body--overlay { z-index: 2; }
.bento__body--overlay p { color: rgb(244 247 248 / .86); }
.bento__cell--accent { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.bento__cell--accent p { color: var(--on-brand); opacity: .85; }
.bento__cell--ink { background: var(--ink-block); border-color: var(--ink-block); color: var(--on-ink-block); justify-content: center; }
.bento__cell--ink .bento__quote { color: var(--on-ink-block); }
.bento__quote { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b b" "c d" "e e" "f f"; }
  .bento__cell--a { min-height: 380px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
  .bento__cell { min-height: 220px; }
}

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  font: inherit; font-weight: 600; font-size: .9375rem; padding: .55em 1.1em; cursor: pointer;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.masonry { margin-top: 32px; columns: 3 280px; column-gap: 12px; }
.masonry__item { break-inside: avoid; margin: 0 0 12px; }
.masonry__item img { width: 100%; max-height: 520px; object-fit: cover; background: var(--line); }
/* Hover: the logo's cyan line slides in under the photo; resting gallery stays calm */
.masonry__media { position: relative; display: block; overflow: hidden; }
.masonry__media img { transition: transform .6s var(--ease); }
.masonry__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .masonry__item:hover .masonry__media::after { transform: scaleX(1); }
  .masonry__item:hover .masonry__media img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .masonry__media img, .masonry__media::after { transition: none; }
  .masonry__item:hover .masonry__media img { transform: none; }
}
.masonry__item figcaption { padding-top: 8px; font-size: .9375rem; color: var(--muted); }
.masonry__item.is-hidden { display: none; }
.empty-state { margin-top: 24px; color: var(--muted); }
.empty-state a { color: var(--brand-text); font-weight: 600; }

/* ---------- Steps on a cyan rail ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 4px; background: var(--brand); }
.step { position: relative; }
.step > i {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; font-size: 28px;
  background: var(--ink-block); color: var(--on-ink-block); margin-bottom: 24px;
}
.step h3 { font-size: 1.25rem; font-weight: 750; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; }
  .step > i { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Process: vertical steps + printing video ---------- */
.process { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.process .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
.process .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
.process .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 24px; }
.process .step > i { grid-row: span 2; margin-bottom: 0; }
.process__video { margin: 0; position: relative; justify-self: end; width: min(100%, 420px); }
.process__video video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 78vh; object-fit: cover; background: var(--ink-block); border-bottom: 8px solid var(--brand); }
.process__video figcaption { padding-top: 12px; font-size: .9375rem; color: var(--muted); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process__video { justify-self: center; width: min(100%, 360px); }
}

/* ---------- Price band ---------- */
.price { background: var(--ink-block); color: var(--on-ink-block); padding-block: clamp(48px, 7vw, 88px); }
.price__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 96px); align-items: center; }
.price__label { font-size: 1rem; font-weight: 700; color: rgb(242 245 247 / .7); letter-spacing: 0; }
.price__amount { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: var(--brand); white-space: nowrap; }
.price__amount span { font-size: .32em; font-weight: 700; letter-spacing: -0.01em; color: var(--on-ink-block); }
.price__body { display: grid; gap: 24px; justify-items: start; max-width: 52ch; }
.price__body p { font-size: 1.1875rem; color: rgb(242 245 247 / .85); }
@media (max-width: 760px) { .price__inner { grid-template-columns: 1fr; } }

/* ---------- Comparison ---------- */
.compare__table { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); }
.compare__row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__row > span { padding: 16px 20px; display: flex; align-items: center; gap: 8px; }
.compare__row > span:nth-child(2) { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.compare__row--head > span { font-weight: 750; font-size: .975rem; }
.compare__row--head .is-brand { background: var(--brand) !important; color: var(--on-brand); }
.compare__row [role="rowheader"] { font-weight: 600; }
.compare__row [role="cell"] { color: var(--muted); }
.compare__row .yes { color: var(--ink); font-weight: 650; }
.compare__row .ph-check { color: var(--brand-text); font-size: 20px; }
.compare__row .ph-x { color: var(--line-strong); font-size: 18px; }

/* Phone: feature name becomes a full-width label above three equal value columns */
@media (max-width: 640px) {
  .compare__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compare__row [role="rowheader"] { grid-column: 1 / -1; padding: 14px 14px 4px; font-size: .9375rem; }
  .compare__row--head > span:first-child { display: none; }
  .compare__row > span { padding: 10px 12px; font-size: .875rem; gap: 6px; }
  .compare__row [role="cell"] { flex-direction: column; align-items: flex-start; gap: 2px; }
  .compare__row > span:nth-child(2) { background: none; }
  .compare__row [role="cell"]:nth-child(2) { background: color-mix(in srgb, var(--brand) 10%, transparent); }
  .compare__row--head > span { font-size: .8125rem; line-height: 1.25; padding: 12px; }
  .compare__row .ph-check, .compare__row .ph-x { font-size: 16px; }
}

/* ---------- Audience: printer photo + 2-col icon list ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.audience__media { margin: 0; position: relative; }
.audience__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; border-bottom: 8px solid var(--brand); }
.audience__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.audience__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.audience__list i { font-size: 30px; color: var(--brand-text); }
.audience__list h3 { font-size: 1.125rem; font-weight: 750; }
.audience__list p { margin-top: 4px; color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .audience { grid-template-columns: 1fr; }
  .audience__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) { .audience__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq__list { margin-top: 40px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 1.1875rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; font-size: 22px; color: var(--brand-text); transition: transform .3s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 65ch; }
.faq details p:has(+ .faq__links) { padding-bottom: 12px; }
.faq__links { margin: 0 0 20px; padding-left: 1.2em; display: grid; gap: 6px; color: var(--muted); max-width: 65ch; }
.faq__links a { color: var(--brand-text); font-weight: 650; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { margin-top: 36px; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 650; font-size: .975rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: 0; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }
.field__hint { font-size: .875rem; color: var(--muted); }
.field__error { font-size: .875rem; color: var(--error); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field--check { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); }
.field--check label { font-weight: 500; color: var(--muted); }
.field--check .field__error { grid-column: 2; }
.field__label { font-weight: 650; font-size: .975rem; }
.field__optional { font-weight: 500; color: var(--muted); }
.photos__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photos {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer;
  border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--muted);
  transition: border-color .2s, background-color .2s;
}
.photos i { font-size: 30px; color: var(--brand-text); }
.photos strong { color: var(--ink); }
.photos:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--surface)); }
.field:has(.photos__input:focus-visible) .photos { outline: 3px solid var(--brand); outline-offset: 3px; }
.photos__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.photos__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--tint); font-size: .9375rem; }
.photos__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photos__remove { flex-shrink: 0; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 18px; padding: 4px; }
.photos__remove:hover { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { justify-self: start; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { font-weight: 600; }
.form__status.is-ok { color: var(--brand-text); }
.form__status.is-err { color: var(--error); }

.contact__info { background: var(--ink-block); color: var(--on-ink-block); padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; position: sticky; top: calc(var(--nav-h) + 24px); }
.contact__info h3 { font-size: 1.5rem; font-weight: 800; }
.contact__line { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.125rem; font-weight: 600; }
.contact__line i { font-size: 24px; color: var(--brand); flex-shrink: 0; }
a.contact__line:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1.5px solid rgb(255 255 255 / .28); text-decoration: none; font-weight: 650;
  transition: background-color .2s, border-color .2s, color .2s;
}
.social a i { font-size: 22px; color: var(--brand); transition: color .2s; }
.social a:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.social a:hover i { color: var(--on-brand); }
.contact__note { font-size: .9375rem; opacity: .78; border-top: 1px solid rgb(255 255 255 / .16); padding-top: 18px; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.footer__logo { height: 36px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.footer__links a:hover { color: var(--ink); }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px; font-size: 22px; text-decoration: none;
  border: 1.5px solid var(--line-strong); color: var(--ink); transition: background-color .2s, border-color .2s, color .2s;
}
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.footer__copy { margin-left: auto; color: var(--muted); font-size: .9375rem; }
@media (max-width: 700px) { .footer__copy { margin-left: 0; } }

/* ---------- Legal page (privacy policy) ---------- */
.legal { max-width: 820px; }
.legal .section__title { max-width: none; }
.legal__meta { margin-top: 12px; color: var(--muted); }
.legal > p, .legal ul { margin-top: 14px; max-width: 70ch; }
.legal h2 { margin-top: 48px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.legal h3 { margin-top: 28px; font-size: 1.1875rem; font-weight: 750; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a:not(.btn) { color: var(--brand-text); }
.legal code { font-size: .9em; background: var(--tint); padding: 1px 6px; }
.legal__box { padding: 20px 24px; background: var(--tint); border-left: 6px solid var(--brand); line-height: 1.8; }
.legal__back { margin-top: 56px !important; }
mark.todo { background: #ffe14d; color: #1a1400; padding: 0 4px; font-weight: 700; }

.footer__cookies {
  margin-left: 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.footer__cookies:hover { color: var(--ink); }

/* ---------- Cookie consent banner (z-index 70: above nav) ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 880px; margin-inline: auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px 32px;
  background: var(--ink-block); color: var(--on-ink-block);
  border-bottom: 6px solid var(--brand);
  box-shadow: 0 18px 50px rgb(12 14 16 / .28);
}
.cookies[hidden] { display: none; }
.cookies__title { font-weight: 800; font-size: 1.0625rem; margin-bottom: 4px; }
.cookies__text p:not(.cookies__title) { font-size: .9375rem; color: rgb(242 245 247 / .82); line-height: 1.5; }
.cookies__text a { color: var(--brand); }
.field--check label a { color: var(--brand-text); }
.cookies__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn--ghost-light { border-color: rgb(255 255 255 / .55); color: var(--on-ink-block); background: transparent; }
.btn--ghost-light:hover { background: var(--on-ink-block); color: var(--ink-block); }
@media (max-width: 720px) {
  .cookies { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .cookies__actions .btn { flex: 1; }
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

.sekcja { position: relative; overflow: hidden; }
.sekcja::after {
  content: "";
  position: absolute; width: 420px; height: 420px;
  top: -120px; right: -120px; z-index: -1;
  background: radial-gradient(circle, rgba(0,159,227,.18), transparent 70%);
  filter: blur(20px);
}
