/* Zub3k: system wizualny strony publicznej. Mobile-first.
   Biel i jasna szarość jako tło, czerń dla tekstu, fiolet jako kolor marki, czerwień dla akcji i zakreśleń.
   Tryb ciemny: te same tokeny z innymi wartościami pod :root[data-theme="dark"], motyw ustawia assets/js/theme.js. */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-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: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-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: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-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: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-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: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-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: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-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: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-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: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-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; }
/* Zastępnik dopasowany pomiarem (Chrome, Arial): Poppins 400 = 1,097, 500 = 1,113 szerokości Ariala.
   ascent/descent/line-gap = metryki Poppins (1050/350/100) podzielone przez size-adjust. */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 110%;
  ascent-override: 95.5%;
  descent-override: 31.8%;
  line-gap-override: 9.1%;
}

:root {
  --black: #111114;
  --ink: #2b2b33;
  --muted: #55555f;
  --gray: #f3f3f5;
  --line: #e2e2e8;
  --white: #ffffff;
  --violet: #4a1fb8;
  --violet-dark: #34138a;
  --violet-soft: #efeafd;
  --violet-text: #d9cfff;
  --red: #e3122d;
  --red-dark: #c00d24;
  --red-soft: #fdecee;
  --focus: #4a1fb8;
  /* --black to mocny tekst i wypełnienie, które w trybie ciemnym się odwraca; --on-black to tekst na nim.
     --night to tło stale ciemne (stopka), --violet-fill to fiolet pod białym tekstem w obu trybach. */
  --bg: #ffffff;
  --surface: #ffffff;
  --on-black: #ffffff;
  --black-hover: #2c2c33;
  --night: #111114;
  --faint: #6b6b75;
  --violet-fill: #4a1fb8;
  --violet-fill-dark: #34138a;
  --red-text: #c00d24;
  --green-soft: #e9f6ef;
  --field-line: #c9c9d2;
  --focus-ring: rgba(74, 31, 184, 0.22);
  --hero-line: #f0f0f3;
  color-scheme: light;

  --font: "Poppins", "Poppins Fallback", Arial, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-h3: 1.1875rem;
  --text-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --text-h1: clamp(2.25rem, 1.4rem + 3.8vw, 4.25rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --gutter: 16px;
  --max: 1200px;
  --measure: 40rem;
  --radius: 10px;
  --radius-lg: 14px;
  --header-h: 68px;
  --shadow: 0 1px 2px rgba(17, 17, 20, 0.04), 0 10px 30px rgba(17, 17, 20, 0.07);
  --shadow-lg: 0 2px 4px rgba(17, 17, 20, 0.05), 0 18px 44px rgba(17, 17, 20, 0.12);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur: 200ms;
}
@media (min-width: 640px) { :root { --gutter: 32px; --text-base: 1.0625rem; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 84px; } }

/* Tylko na ekranie: wydruk zawsze wychodzi jasny. */
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #111114;
    --surface: #1c1c22;
    --gray: #17171c;
    --black: #f4f4f7;
    --ink: #d9d9e0;
    --muted: #a8a8b3;
    --faint: #a8a8b3;
    --line: #30303a;
    --on-black: #111114;
    --black-hover: #d9d9e0;
    --night: #0a0a0c;
    --violet: #b9a6ff;
    --violet-dark: #d4c8ff;
    --violet-soft: #2a2050;
    --red-soft: #3a141b;
    --red-text: #ff8594;
    --green-soft: #12291e;
    --field-line: #70707c;
    --focus: #b9a6ff;
    --focus-ring: rgba(185, 166, 255, 0.35);
    --hero-line: #1e1e25;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.5);
  }
  :root[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f4f4f7' stroke-width='2'/%3E%3C/svg%3E"); }
  :root[data-theme="dark"] .btn--dark .btn__icon { border-right-color: rgba(17, 17, 20, 0.3); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s4)); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
h1, h2, h3 { color: var(--black); font-weight: 500; line-height: 1.18; text-wrap: balance; letter-spacing: -0.015em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: var(--text-h1); letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.35; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
a { color: var(--violet); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--violet-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s3) var(--s4); background: var(--black); color: var(--on-black); }
.skip:focus { top: var(--s4); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Zakreślacz: znak rozpoznawczy marki (czerwony pasek pod dolną częścią słowa) */
.mark {
  background-image: linear-gradient(transparent 66%, var(--red) 66%, var(--red) 88%, transparent 88%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.06em;
}
.kicker { margin-bottom: var(--s2); color: var(--black); font-size: var(--text-lg); font-weight: 500; }
.kicker .mark { background-image: linear-gradient(transparent 82%, var(--red) 82%, var(--red) 96%, transparent 96%); padding-inline: 0; }
.lead { max-width: var(--measure); color: var(--muted); font-size: var(--text-lg); line-height: 1.7; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 50px;
  padding: 0 var(--s5);
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--red, .btn--live { background: var(--red); color: #fff; }
.btn--red:hover, .btn--live:hover { background: var(--red-dark); color: #fff; }
.btn--primary { background: var(--violet-fill); color: #fff; }
.btn--primary:hover { background: var(--violet-fill-dark); color: #fff; }
.btn--dark { background: var(--black); color: var(--on-black); }
.btn--dark:hover { background: var(--black-hover); color: var(--on-black); }
.btn--outline, .btn--ghost { border-color: var(--black); background: transparent; color: var(--black); }
.btn--outline:hover, .btn--ghost:hover { background: var(--black); color: var(--on-black); }
.btn--white { background: #fff; color: #111114; }
.btn--white:hover { background: #f3f3f5; color: #111114; }
.btn--small { min-height: 44px; padding: 0 var(--s4); font-size: 0.875rem; }
.btn--icon { padding-left: 0; gap: 0; }
.btn__icon {
  display: inline-grid;
  place-items: center;
  align-self: stretch;
  width: 50px;
  margin-right: var(--s4);
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}
.btn--white .btn__icon { border-right-color: #e2e2e8; }
.btn .dot, .live-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; color: var(--red-text); font-weight: 600; }
.live-tag::before { background: var(--red); }
.link-button { padding: 0; border: 0; background: none; color: var(--violet); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: flex-end; gap: 3px; min-height: 44px; padding-block: var(--s2); color: var(--black); text-decoration: none; flex: none; }
.logo:hover { color: var(--black); }
.logo__word { font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -0.04em; }
.logo__cursor { width: 0.48em; height: 0.66em; margin-bottom: 0.08em; background: var(--red); font-size: 1.5rem; }
.logo--light, .logo--light:hover { color: #fff; }

/* Ikony w górnym pasku. W kodzie są po menu, żeby klawiatura szła po kolei: logo, menu, ikony. */
.site-tools { order: 1; display: flex; align-items: center; flex: none; margin-left: auto; }
.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-link:active { opacity: 0.75; }
.icon-link .icon { width: 20px; height: 20px; }
/* Dymek z opisem ikony, zakotwiczony do prawej krawędzi grupy, żeby nie wyszedł poza ekran. */
.site-tools { position: relative; }
.icon-link:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + var(--s1));
  right: 0;
  padding: var(--s1) var(--s2);
  border-radius: 6px;
  background: var(--black);
  color: var(--on-black);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}
@media (hover: hover) {
  .icon-link:hover { background: var(--line); color: var(--black); }
  .icon-link:hover::after {
    content: attr(data-tip);
    position: absolute;
    top: calc(100% + var(--s1));
    right: 0;
    padding: var(--s1) var(--s2);
    border-radius: 6px;
    background: var(--black);
    color: var(--on-black);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    pointer-events: none;
  }
}

/* Przełącznik motywu istnieje tylko z JavaScriptem: atrybut data-theme ustawia theme.js. */
.theme-toggle, .site-nav__theme { display: none; }
[data-theme] .theme-toggle { display: inline-grid; }
.theme-icon { display: inline-grid; }
[data-theme="dark"] .theme-icon--moon, :root:not([data-theme="dark"]) .theme-icon--sun { display: none; }
.site-nav__theme { align-items: center; gap: var(--s3); width: 100%; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 1.125rem; font-weight: 500; text-align: left; cursor: pointer; }
.site-nav__theme:hover { color: var(--black); }
/* Najwęższe telefony: w pasku mieszczą się logo, dwie ikony i przycisk menu, więc przełącznik idzie do menu. */
@media (max-width: 374px) {
  .site-tools .theme-toggle { display: none; }
  [data-theme] .site-nav__theme { display: flex; }
}

@media (min-width: 1024px) {
  .site-nav { margin-left: auto; }
  .site-tools { margin-left: 0; }
}

.nav-toggle { order: 2; display: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s1); margin: 0; padding: 0; list-style: none; }
.site-nav ul a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--s3);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav ul a:hover { color: var(--black); }
.site-nav ul a::after { content: ""; position: absolute; left: var(--s3); right: var(--s3); bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform var(--dur) var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--black); }

@media (max-width: 1023px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    min-width: 98px; /* szerokość napisu „Zamknij”, żeby ikony obok nie skakały po otwarciu menu */
    min-height: 44px;
    padding: 0 var(--s4);
    border: 2px solid var(--black);
    border-radius: 999px;
    background: var(--surface);
    color: var(--black);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }
  .js .nav-toggle[aria-expanded="true"] { background: var(--black); color: var(--on-black); }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: var(--s3) var(--gutter) var(--s5);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(17, 17, 20, 0.08);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { width: 100%; min-height: 52px; padding-inline: 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .js .site-nav ul a::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .js .site-nav__cta { width: 100%; margin-top: var(--s4); min-height: 50px; font-size: 1rem; }
}

/* Dół ekranu: komunikat o urlopie i pasek szybkiego kontaktu (telefon) w jednym przypiętym kontenerze */
.screen-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.screen-bottom > * { pointer-events: auto; }
.action-bar { display: none; }
@media (max-width: 767px) {
  body:has(.action-bar) .site-footer { padding-bottom: var(--bottom-space, 76px); }
  .action-bar {
    display: flex;
    gap: var(--s2);
    width: 100%;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(17, 17, 20, 0.08);
  }
  .action-bar .btn { flex: 1; min-height: 50px; padding-inline: var(--s3); }
  /* Na stronie głównej pasek pojawia się dopiero, gdy przyciski z hero znikną z ekranu. */
  .js .home:not(.show-bar) .action-bar { display: none; }
}

/* ---------- Sekcje ---------- */

.section { padding-block: var(--s8); }
.section--gray { background: var(--gray); }
@media (min-width: 1024px) { .section { padding-block: var(--s9); } }
.section-head { margin-bottom: var(--s7); }
.section-head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head--center .lead { margin: var(--s4) auto 0; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: var(--s7) var(--s9); }
.hero__mark {
  position: absolute;
  right: -30%;
  top: 0;
  width: 110%;
  max-width: 900px;
  fill: none;
  stroke: var(--hero-line);
  stroke-width: 3.2;
  stroke-linejoin: round;
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: var(--s7); align-items: center; }
.hero__brand { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 400; color: var(--black); margin-bottom: var(--s1); }
.hero h1 { max-width: 12em; }
.hero__tagline { margin-top: var(--s5); font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4375rem); line-height: 1.55; color: var(--black); max-width: 30em; }
.hero__sub { margin-top: var(--s4); max-width: 34rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__note { display: flex; align-items: flex-start; gap: var(--s2); margin-top: var(--s4); color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }
.hero__note .icon { margin-top: 0.2em; }
.hero__note + .hero__note { margin-top: var(--s1); }
.hero__note .icon { color: var(--red); }
/* Wąski telefon: przyciski jeszcze na pierwszym ekranie, opis pod nimi */
@media (max-width: 479px) {
  .hero__text { display: flex; flex-direction: column; }
  .hero__actions { order: 1; margin-top: var(--s5); }
  .hero__sub { order: 2; }
  .hero__note { order: 3; }
}
.hero__preview { min-width: 0; }
.hero__preview figcaption { margin-top: var(--s3); font-size: var(--text-sm); color: var(--muted); }
.hero__preview figcaption a { color: var(--black); font-weight: 600; padding-block: 12px; }
@media (max-width: 379px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 1024px) {
  .hero { padding-block: var(--s9) calc(var(--s9) + var(--s7)); }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s8); align-items: start; }
  .hero__preview { margin-top: var(--s5); }
  .hero__mark { right: auto; left: 34%; top: 50%; width: 64%; transform: translateY(-52%); }
}

.browser { container-type: inline-size; border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px var(--s4); background: var(--gray); border-bottom: 1px solid var(--line); }
.browser__address { flex: 1; min-width: 0; padding: 3px var(--s3); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__view { --view-h: 75cqw; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.browser__view img { position: absolute; inset: 0 0 auto 0; width: 100%; height: auto; max-width: none; }
/* Poziomy zrzut (bez przewijania) wypełnia ramkę od góry, bez pustego pasa pod spodem. */
.browser__view:not(.browser__view--scroll) img { height: 100%; object-fit: cover; object-position: top center; }
@media (prefers-reduced-motion: no-preference) {
  .browser__view--scroll img { animation: site-scroll 14s var(--ease) 1.2s 1 both; }
  .browser__view--scroll:hover img { animation-play-state: paused; }
}
@keyframes site-scroll {
  0%, 6% { transform: translateY(0); }
  100% { transform: translateY(calc(-100% + var(--view-h))); }
}

/* Filary nachodzące na hero */
.pillars { background: var(--gray); padding-bottom: var(--s8); }
.pillars__grid { position: relative; display: grid; gap: var(--s4); margin-top: calc(-1 * var(--s7)); }
.pillar { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 var(--s4); padding: var(--s5); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pillar__icon { grid-row: span 2; }
.pillar__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); }
.pillar__icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.pillar h2 { font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 500; }
.pillar p { margin-top: var(--s1); color: var(--muted); }
@media (min-width: 800px) {
  .pillars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: calc(-1 * var(--s8)); }
  .pillar { display: block; padding: var(--s7) var(--s6); text-align: center; }
  .pillar__icon { width: 56px; height: 56px; margin-bottom: var(--s4); }
  .pillar p { margin: var(--s2) auto 0; max-width: 22rem; }
}

/* Usługi */
.services { display: grid; gap: var(--s4); }
.service {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.service h3 { display: flex; align-items: flex-end; gap: var(--s2); font-size: 1.25rem; }
.service h3::after { content: ""; width: 0.42em; height: 0.58em; margin-bottom: 0.2em; background: var(--red); flex: none; }
.service p { color: var(--muted); flex: 1; }
.service__link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--violet); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Realizacje */
.works { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.work { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--dur) var(--ease); }
.work:hover { box-shadow: var(--shadow-lg); }
.work__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 500ms var(--ease); }
@media (prefers-reduced-motion: no-preference) { .work:hover .work__media img { transform: scale(1.03); } }
.work__live { position: absolute; left: var(--s3); top: var(--s3); padding: 4px var(--s3); border-radius: 999px; background: var(--surface); font-size: 0.8125rem; box-shadow: var(--shadow); }
.work__body { padding: var(--s5); }
.work__meta { font-size: var(--text-sm); color: var(--muted); }
.work__title { margin-top: var(--s1); font-size: 1.1875rem; }
.work__title a { color: var(--black); text-decoration: none; }
.work__title a::after { content: ""; position: absolute; inset: 0; }
.work:hover .work__title a { color: var(--violet); }
.work__excerpt { margin-top: var(--s2); color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }

/* Opinie */
.opinions { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .opinions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opinion { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s6); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.opinion blockquote { flex: 1; color: var(--ink); }
.opinion blockquote::before { content: "\201E"; display: block; height: 0.6em; color: var(--red); font-size: 3rem; line-height: 0.6; font-weight: 700; }
.opinion figcaption strong { display: block; color: var(--black); font-weight: 600; }
.opinion figcaption span { color: var(--muted); font-size: var(--text-sm); }

/* Proces */
.steps { position: relative; display: grid; gap: var(--s6); }
.step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--s1) var(--s4); align-content: start; }
.step__no {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--violet);
  border-radius: 50%;
  background: var(--surface);
  color: var(--violet);
  font-weight: 600;
  font-size: 1.25rem;
}
.step h3 { align-self: center; }
.step p { color: var(--muted); }
.step .step__result { color: var(--black); font-weight: 500; font-size: 0.9375rem; }
@media (max-width: 899px) {
  .step:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 60px; bottom: calc(-1 * var(--s6) + 8px); width: 2px; background: var(--line); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
  .steps::before { content: ""; position: absolute; left: 26px; right: 12%; top: 25px; height: 2px; background: var(--line); }
  .step { grid-template-columns: 1fr; gap: var(--s2); }
  .step__no { grid-row: auto; margin-bottom: var(--s3); }
}

/* Pakiety */
.packages { display: grid; gap: var(--s5); align-items: stretch; }
@media (min-width: 960px) { .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); } }
.package { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.package--featured { border: 2px solid var(--violet); box-shadow: var(--shadow-lg); }
.package__badge { position: absolute; top: 0; left: var(--s6); transform: translateY(-50%); padding: 2px var(--s3); border-radius: 999px; background: var(--violet-fill); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.package h3 { font-size: 1.375rem; }
.package__promo { margin-bottom: calc(-1 * var(--s2)); color: var(--red-text); font-size: var(--text-sm); font-weight: 600; }
.package__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s2); color: var(--black); line-height: 1.3; }
.package__amount { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.01em; }
.package__tax { color: var(--muted); font-size: var(--text-sm); font-weight: 500; }
.package__text { color: var(--muted); }
.package__list { display: grid; gap: var(--s2); margin: var(--s2) 0 var(--s4); flex: 1; align-content: start; }
.package__list li { display: flex; gap: var(--s2); align-items: flex-start; }
.package__list .icon { margin-top: 0.3em; color: var(--red); }
.package .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: var(--s6); }
.faq__intro p:not(.kicker) { margin-top: var(--s4); color: var(--muted); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  padding-block: var(--s4);
  color: var(--black);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--red), var(--red)) center / 100% 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 100% no-repeat;
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--violet); }
.faq__item p { padding-bottom: var(--s5); max-width: 44rem; color: var(--muted); }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s9); } }
/* Strona FAQ: spis tematów i grupy pytań */
.faq-nav { margin-bottom: var(--s7); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.faq-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--s5); list-style: none; padding: 0; margin: 0; }
.faq-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.faq-group + .faq-group { margin-top: var(--s8); }
.faq-group h2 { font-size: 1.5rem; }

/* Pas wezwania do działania */
.cta-band { background: var(--violet-fill); color: #fff; padding-block: var(--s8); }
.cta-band__inner { display: grid; gap: var(--s5); }
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band p { margin-top: var(--s3); color: var(--violet-text); font-size: var(--text-lg); max-width: 34rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.cta-band :focus-visible { outline-color: #fff; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; gap: var(--s8); } }

/* ---------- Podstrony ---------- */

.page-head { padding-block: var(--s7); background: var(--gray); }
.page-head .lead { margin-top: var(--s4); }
@media (min-width: 1024px) { .page-head { padding-block: var(--s9) var(--s8); } }
.page-body { padding-block: var(--s7) var(--s9); }

.filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.filters a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 var(--s4);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.filters a:hover { border-color: var(--black); color: var(--black); }
.filters a[aria-current="true"] { background: var(--black); border-color: var(--black); color: var(--on-black); }
.filters small { font-size: 0.75rem; opacity: 0.7; }
.page-list { margin-bottom: var(--s9); }
.empty { padding: var(--s7) var(--s5); border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: var(--surface); }
.empty p + p { margin-top: var(--s3); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); margin-bottom: var(--s2); font-size: var(--text-sm); color: var(--muted); }
.crumbs li { display: flex; align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: #a3a3ad; }

.prose { max-width: var(--measure); }
.prose p + p { margin-top: var(--s4); }
.prose h2 { font-size: 1.5rem; margin: var(--s7) 0 var(--s4); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--s2); }
.prose .notice { margin-block: var(--s4); }

/* Projekt */
.project-head { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); }
.project-head .lead { margin-top: var(--s4); }
.project-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); align-content: start; padding: var(--s5); border-radius: var(--radius); background: var(--gray); }
.facts div { min-width: 0; }
.facts dt { font-size: var(--text-sm); color: var(--muted); }
.facts dd { color: var(--black); font-weight: 500; overflow-wrap: anywhere; }
.facts .facts__wide { grid-column: 1 / -1; }
@media (min-width: 960px) {
  .project-head { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s8); padding-block: var(--s8) var(--s7); align-items: end; }
}
.project-cover { border-radius: var(--radius); overflow: hidden; background: var(--gray); box-shadow: var(--shadow); }
.project-cover--tall { max-height: 80vh; overflow-y: auto; overscroll-behavior: contain; }
.project-body { display: grid; gap: var(--s7); padding-block: var(--s7); }
.gallery { display: grid; gap: var(--s5); }
.gallery img { margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

.live { background: var(--gray); }
.live__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s4); margin-bottom: var(--s5); }
.live__head p { margin-top: var(--s2); color: var(--muted); max-width: var(--measure); }
.devices { display: none; gap: var(--s1); padding: var(--s1); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.devices button { min-height: 40px; padding: 0 var(--s4); border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
.devices button:hover { background: var(--gray); }
.devices button[aria-pressed="true"] { background: var(--black); color: var(--on-black); }
@media (min-width: 900px) { .js .devices { display: inline-flex; } }
.live__stage { display: flex; justify-content: center; }
.live__frame { position: relative; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.live__frame[data-device="tablet"] { max-width: 820px; }
.live__frame[data-device="phone"] { max-width: 400px; }
.live__frame iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; }
.live__start { display: grid; place-items: center; align-content: center; gap: var(--s4); min-height: 360px; padding: var(--s6); text-align: center; }
.live__start p { color: var(--muted); max-width: 30rem; }
.live__foot { margin-top: var(--s4); font-size: var(--text-sm); }
.live__foot a { display: inline-flex; align-items: center; min-height: 44px; }

.next-project { border-top: 1px solid var(--line); }
.next-project a { display: block; padding-block: var(--s7); text-decoration: none; color: var(--black); }
.next-project span { display: block; font-size: var(--text-sm); color: var(--muted); margin-bottom: var(--s1); }
.next-project strong { font-size: var(--text-h2); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.next-project a:hover strong { color: var(--violet); }

/* O mnie */
.about-grid { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s9); } }
ul.skills { padding: var(--s2) var(--s5); border-radius: var(--radius); background: var(--gray); }
.skills li { padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.skills li:last-child { border-bottom: 0; }
.skills strong { display: block; color: var(--black); font-weight: 600; }
.skills span { color: var(--muted); font-size: var(--text-sm); }
.principles { display: grid; gap: var(--s5); }
.principles > div { padding: var(--s6); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.principles h3 { margin-bottom: var(--s2); }
.principles p { color: var(--muted); }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aside-block + .aside-block { margin-top: var(--s7); }
.aside-block h2 { font-size: 1.375rem; margin-bottom: var(--s4); }
.aside-block ul:not([class]) { padding-left: 1.2em; color: var(--muted); }
.aside-block li + li { margin-top: var(--s2); }

/* Kontakt */
.contact-grid { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s8); } }
.form-card { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: var(--s7); } }
.contact-phone { display: inline-flex; align-items: center; gap: var(--s3); min-height: 48px; color: var(--black); font-size: 1.5rem; font-weight: 600; text-decoration: none; }
.contact-phone .icon { color: var(--red); }
.contact-list li + li { margin-top: var(--s3); }
.contact-list span { display: block; font-size: var(--text-sm); color: var(--muted); }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }

.form { display: grid; gap: var(--s5); }
.form__row { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field label { color: var(--black); font-weight: 500; font-size: 0.9375rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--field-line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--black);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select {
  appearance: none;
  padding-right: var(--s7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111114' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--black); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--red); }
/* Zgoda: pole wyboru z etykietą obok; cała etykieta jest klikalna */
.field-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; }
.field .field-check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--violet); cursor: pointer; }
.field .field-check input:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; box-shadow: none; }
.field .field-check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.field .field-check label { color: var(--muted); font-size: var(--text-sm); font-weight: 400; line-height: 1.55; cursor: pointer; }
.field-check label a { font-weight: 500; }
.field__error { color: var(--red-text); font-size: var(--text-sm); font-weight: 500; }
.field__error:empty { display: none; }
.field__hint { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
.form__privacy { font-size: var(--text-sm); color: var(--muted); max-width: 30rem; line-height: 1.6; }
.form__privacy a { padding-block: 14px; }
.form__status:empty { display: none; }
.btn.is-loading { cursor: progress; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.notice { padding: var(--s5); border-radius: var(--radius); border-left: 4px solid var(--violet); background: var(--violet-soft); }
.notice h2, .notice h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.notice--success { border-left-color: #1a7f4b; background: var(--green-soft); }
.notice--error { border-left-color: var(--red); background: var(--red-soft); }

/* ---------- Stopka ---------- */

.site-footer { background: var(--night); color: #b8b8c2; font-size: 0.9375rem; padding-bottom: var(--bottom-space, 0px); }
.site-footer__grid { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s6); }
.site-footer__brand p { margin-top: var(--s2); max-width: 22rem; line-height: 1.65; }
/* Partner: etykieta nad logo, oddzielone linią jak dolny pasek stopki */
/* Etykieta na całą szerokość, pod nią logo i odznaka w jednym rzędzie */
.footer-partner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4); max-width: 22rem; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid #2a2a31; }
.footer-partner__label { grid-column: 1 / -1; }
.footer-partner__logo { justify-self: start; }
.footer-partner__badge { flex: none; display: block; border-radius: 50%; transition: opacity 0.15s; }
.footer-partner__badge:hover { opacity: 0.85; }
.footer-partner__badge:focus-visible { outline-offset: 4px; }
.footer-partner__badge img { display: block; width: 72px; height: 72px; }
.site-footer__brand .footer-partner__label { margin: 0; color: #8e8e99; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; }
.footer-partner__logo { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s1); transition: opacity 0.15s; }
.footer-partner__logo:hover { opacity: 0.8; }
.footer-partner__logo:focus-visible { outline-offset: 4px; }
.footer-partner__logo img { display: block; width: 113px; height: 30px; }
.site-footer__title { margin-bottom: var(--s1); color: #fff; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; color: #b8b8c2; text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.site-footer li a .icon { color: #fff; opacity: 0.85; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: var(--s6); }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s5); padding-block: var(--s2); border-top: 1px solid #2a2a31; font-size: var(--text-sm); }
.site-footer__bottom p { display: flex; align-items: center; min-height: 44px; }
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #b8b8c2; }
.site-footer__bottom a:hover { color: #fff; }
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: var(--s8); padding-block: var(--s8) var(--s6); }
}
@media (min-width: 1024px) {
  .site-footer__grid { column-gap: var(--s9); }
  .site-footer li a { min-height: 36px; }
}

.error-page { padding-block: var(--s9); }
.error-page .hero__actions { margin-top: var(--s6); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
.faq__intro a { padding-block: 10px; }
.page-head + .page-body.section--gray { padding-top: var(--s2); }

/* WhatsApp i kod QR */
.btn--outline-white { border-color: #fff; background: transparent; color: #fff; }
.btn--outline-white:hover { background: #fff; color: #111114; }
.btn--outline-white .btn__icon { border-right-color: rgba(255, 255, 255, 0.45); }
.btn--outline-white:hover .btn__icon { border-right-color: #e2e2e8; }
.hero__note a { color: var(--black); font-weight: 600; }
.hero__note > span a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.contact-direct { display: grid; justify-items: start; gap: var(--s4); }
.contact-direct h2 { margin-bottom: 0; }
.contact-review p { margin-bottom: var(--s4); color: var(--muted); }
.contact-wa { width: 100%; max-width: 320px; justify-content: flex-start; }
.qr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s4); align-items: center; width: 100%; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.qr[hidden] { display: none; }
.qr__code svg { display: block; width: 132px; height: 132px; }
.qr figcaption { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
/* Na telefonie kod QR nie ma sensu (skanuje się go innym urządzeniem), wystarczy przycisk. */
@media (max-width: 767px) { .qr { display: none !important; } }
@media (max-width: 767px) {
  .action-bar .action-bar__icon { flex: none; width: 50px; padding: 0; }
  .action-bar .action-bar__main { flex: 1; }
}

/* Urlop: komunikat przypięty do dołu ekranu */
.vacation-toast {
  width: min(780px, calc(100% - 2 * var(--gutter)));
  margin-bottom: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--night);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 36px rgba(17, 17, 20, 0.3);
}
.vacation-toast--soon { background: var(--violet-fill); }
.vacation-toast__inner { display: flex; align-items: flex-start; gap: var(--s3); padding: var(--s3) var(--s4); }
.vacation-toast__inner > .icon { margin-top: 0.25em; color: #ff6b7d; }
.vacation-toast--soon .vacation-toast__inner > .icon { color: #fff; }
.vacation-toast p { flex: 1; font-size: var(--text-sm); line-height: 1.55; }
.vacation-toast__short { display: none; }
@media (max-width: 767px) {
  .vacation-toast { margin-bottom: var(--s2); }
  .vacation-toast__inner { padding: var(--s2) var(--s3); }
  .vacation-toast p { font-size: 0.8125rem; line-height: 1.5; }
  .vacation-toast__full { display: none; }
  .vacation-toast__short { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .vacation-toast { animation: toast-in 320ms var(--ease) 400ms both; }
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Ciasteczka: baner (w przypiętym dole ekranu) i okno ustawień */
.cookie-banner {
  width: min(780px, calc(100% - 2 * var(--gutter)));
  margin-bottom: var(--s3);
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 48px rgba(17, 17, 20, 0.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--s1); }
.cookie-banner p { font-size: var(--text-sm); line-height: 1.6; color: var(--muted); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.cookie-banner .link-button { display: inline-block; padding-block: 12px; margin-block: -12px; color: var(--violet); font-size: inherit; }
.cookie-banner__short { display: none; }
/* Na telefonie, dopóki baner czeka na decyzję, chowam pasek kontaktu, żeby razem nie zasłaniały pół ekranu. */
@media (max-width: 767px) {
  .cookie-banner { padding: var(--s3) var(--s4) var(--s4); margin-bottom: var(--s2); }
  .cookie-banner h2 { font-size: 1rem; }
  .cookie-banner p { font-size: 0.8125rem; line-height: 1.5; }
  .cookie-banner__full { display: none; }
  .cookie-banner__short { display: inline; }
  .cookie-banner__actions { margin-top: var(--s3); flex-wrap: nowrap; }
  .cookie-banner__actions .btn { flex: 1 1 0; min-width: 0; padding-inline: var(--s2); font-size: 0.8125rem; }
  .screen-bottom:has(.cookie-banner:not([hidden])) .action-bar { display: none; }
}

.cookie-dialog {
  width: min(640px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(17, 17, 20, 0.3);
}
.cookie-dialog::backdrop { background: rgba(17, 17, 20, 0.55); }
.cookie-dialog__form { display: grid; gap: var(--s4); padding: var(--s5); }
@media (min-width: 640px) { .cookie-dialog__form { padding: var(--s6); } }
.cookie-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.cookie-dialog__head h2 { font-size: 1.375rem; }
.cookie-dialog__x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -8px -8px -8px 0; border: 0; border-radius: 50%; background: transparent; color: var(--black); cursor: pointer; }
.cookie-dialog__x:hover { background: var(--gray); }
.cookie-dialog__intro { font-size: var(--text-sm); color: var(--muted); line-height: 1.6; }
.cookie-dialog__intro a { padding-block: 10px; }
.cookie-cats { display: grid; gap: var(--s3); }
.cookie-cat { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-cat p { margin-top: var(--s1); font-size: var(--text-sm); color: var(--muted); line-height: 1.55; }
.cookie-cat .cookie-cat__list { font-size: 0.8125rem; color: var(--faint); }
.cookie-cat__switch { display: flex; align-items: center; gap: var(--s3); min-height: 44px; cursor: pointer; }
.cookie-cat__title { color: var(--black); font-weight: 600; }
.cookie-cat__title small { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }
/* Przełącznik w miejscu zwykłego pola wyboru */
.cookie-cat__switch input {
  appearance: none;
  flex: none;
  position: relative;
  width: 46px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: #8c8c97;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.cookie-cat__switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(17, 17, 20, 0.3);
  transition: transform var(--dur) var(--ease);
}
.cookie-cat__switch input:checked { background: var(--violet-fill); }
.cookie-cat__switch input:checked::after { transform: translateX(20px); }
.cookie-cat__switch input:disabled { background: #8a76d6; cursor: not-allowed; }
.cookie-cat__switch input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 479px) { .cookie-dialog__actions .btn { flex: 1 1 100%; } }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.footer-link-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: #b8b8c2; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.footer-link-button:hover { color: #fff; }
.prose .cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.prose a[href^="mailto:"], .prose a[href^="tel:"] { padding-block: 10px; }

/* Podstrony usług */
.service-layout { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 960px) {
  .service-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s8); }
  .service-layout__aside { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}
.service-layout__main h2 { font-size: 1.5rem; margin: var(--s7) 0 var(--s4); }
.service-layout__main h2:first-child { margin-top: 0; }
.check-list { display: grid; gap: var(--s3); }
.check-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.check-list .icon { margin-top: 0.35em; color: var(--red); }
.prose .check-list { padding-left: 0; }
.prose .check-list li + li { margin-top: 0; }
.price-card { gap: var(--s3); padding-top: var(--s7); }
.price-card .btn { width: 100%; }
.price-card__gross { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
.price-card__title { margin-top: var(--s2); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.price-card .package__list { margin-bottom: var(--s2); }
.price-card__note { color: var(--muted); font-size: var(--text-sm); text-align: center; }
.price-card__note a { display: inline-block; padding-block: 10px; margin-block: -10px; }

/* Strona „Oferta” */
.offer-card__title { font-size: 1.375rem; }
.offer-card__title a { color: var(--black); text-decoration: none; }
.offer-card__title a::after { content: ""; position: absolute; inset: 0; }
.offer-card__title a:hover { color: var(--violet); }
.packages .package .btn { position: relative; z-index: 1; }
.offer-guide { margin-top: var(--s7); max-width: var(--measure); color: var(--muted); }
.offer-guide a { padding-block: 10px; }

/* Poradnik */
.article { max-width: 46rem; }
.article h2 { font-size: 1.5rem; margin: var(--s7) 0 var(--s4); }
.article p + p, .article ul + p { margin-top: var(--s4); }
.article ul { padding-left: 1.2em; }
.article li + li { margin-top: var(--s2); }
.article__meta { color: var(--muted); font-size: var(--text-sm); }
.article__faq { margin-top: var(--s2); }
.article__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.price-table th, .price-table td { padding: var(--s3) var(--s4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--gray); color: var(--black); font-weight: 600; font-size: var(--text-sm); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.articles { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.article-card { position: relative; padding: var(--s6); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.article-card h2 { margin-top: var(--s1); font-size: 1.375rem; }
.article-card h2 a { color: var(--black); text-decoration: none; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; }
.article-card:hover h2 a { color: var(--violet); }
.article-card p { color: var(--muted); }
.article-card__meta { font-size: var(--text-sm); }
.article-card h2 + p { margin-top: var(--s3); }
.service__more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--black); }
.service__links { display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.package h3 a { color: var(--black); text-decoration: none; }
.package h3 a:hover { color: var(--violet); text-decoration: underline; }

.price-card__phone .icon { color: var(--red); }
.price-card__phone:hover .icon { color: var(--on-black); }
/* Tabela cen na telefonie: każda pozycja jako karta z podpisanymi wartościami */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; border: 0; }
  .price-table { min-width: 0; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tr { margin-bottom: var(--s3); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--radius); }
  .price-table th, .price-table td { padding: var(--s1) 0; border-bottom: 0; }
  .price-table tbody th { font-size: 1.0625rem; }
  .price-table td { display: flex; gap: var(--s3); justify-content: space-between; text-align: right; }
  .price-table td::before { content: attr(data-label); color: var(--muted); text-align: left; font-size: var(--text-sm); }
}

/* Karta pakietu: nazwa jako link do strony usługi, cena brutto, link do szczegółów */
.package__name { font-size: 1.375rem; }
.package__name a { display: inline-block; padding-block: 8px; margin-block: -8px; color: var(--black); text-decoration: none; }
.package__name a:hover { color: var(--violet); text-decoration: underline; }
.package__gross { margin-top: calc(-1 * var(--s2)); color: var(--muted); font-size: var(--text-sm); }
.package__more { align-self: center; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; }
.section-head--center .lead a { font-weight: 600; white-space: nowrap; padding-block: 10px; }
@media (max-width: 379px) { .page-head h1 { font-size: 1.875rem; } }
/* Cennik */
.pricing-extra { display: grid; gap: var(--s3); max-width: 46rem; }
.pricing-extra li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.pricing-extra strong { color: var(--black); font-weight: 600; }
.pricing-extra span { color: var(--muted); }
.pricing-extra a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pricing-notes { display: grid; gap: var(--s4); margin-top: var(--s7); }
@media (min-width: 900px) { .pricing-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pricing-note { padding: var(--s5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pricing-note h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--s2); }
.pricing-note p { color: var(--muted); font-size: 0.9375rem; }
