/* ==========================================================================
   AIVI — arkusz stylow strony aivisolutions.pl
   Zrodlo. Kopiowany do public/styl.css przez analiza/buduj.js — nie edytuj kopii w public/,
   bo przepadnie przy nastepnym budowaniu.

   Zasady, ktorych tu pilnujemy (kosztowaly czas w poprzednim projekcie):
   - zadnego overflow na <html> — zabija position:sticky w naglowku
   - wysokosc hero: 100dvh z 100svh jako zapasem; sekcja ma WLASNE tlo
   - filter:drop-shadow nigdy wewnatrz kontenera z overflow:hidden (obcieta poswiata = prostokat)
   - wszystkie bloki @media stoja na KONCU pliku; maja te sama specyficznosc, wiec liczy sie kolejnosc
   ========================================================================== */

/* --- fonty (self-hosting; strona nie wysyla zadnego zadania do Google) ---- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/media/fonty/dmsans-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/media/fonty/dmsans-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;
}

/* --- tokeny ------------------------------------------------------------- */
:root {
  --ink: #07070b;            /* tlo ciemnych sekcji */
  --ink-2: #101018;          /* karty na ciemnym */
  --ink-3: #1b1b26;          /* obramowania na ciemnym */
  --paper: #ffffff;
  --soft: #f6f6f9;           /* jasne tlo sekcji */
  --text: #16161d;           /* 18.0:1 na bialym */
  --muted: #55555f;          /* 7.37:1 na bialym */
  --muted-d: #a6a6b4;        /* 8.36:1 na ink */
  --line: #e6e6ec;
  --line-d: #23232f;
  --violet: #7c3aed;         /* tlo przyciskow, bialy tekst 5.70:1 */
  --violet-ink: #6d28d9;     /* linki na bialym, 7.10:1 */
  --violet-lt: #a78bfa;      /* akcent na ciemnym, 7.39:1 */
  --cyan: #22d3ee;
  --cyan-lt: #67e8f9;        /* akcent na ciemnym, 13.87:1 */
  --cyan-ink: #0e7490;       /* akcent na bialym tam, gdzie musi byc tekstem */
  --grad: linear-gradient(100deg, #a78bfa 0%, #67e8f9 100%);
  --grad-btn: linear-gradient(100deg, #7c3aed 0%, #0891b2 100%);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --sec: clamp(64px, 9vw, 120px);   /* pionowy oddech sekcji */
  --naglowek-h: 72px;
  --cien: 0 1px 2px rgba(16, 16, 29, .04), 0 12px 32px -12px rgba(16, 16, 29, .12);
  --cien-h: 0 2px 4px rgba(16, 16, 29, .06), 0 24px 48px -16px rgba(16, 16, 29, .18);
}

/* --- reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--naglowek-h);   /* kotwice sekcji nie chowaja sie pod naglowkiem */
}
/* UWAGA: zadnego overflow-x na html — sticky naglowek przestaje trzymac */
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;         /* na body wolno; na html nie */
}
img, svg { max-width: 100%; display: block; }
a { color: var(--violet-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible {
  outline: 3px solid var(--violet-lt);
  outline-offset: 3px;
  border-radius: 4px;
}
.ciemne :focus-visible, .hero :focus-visible, .pod-hero :focus-visible { outline-color: var(--cyan-lt); }

/* --- pomocnicze --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.tylko-dla-czytnikow {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* link „pomin nawigacje": chowa sie WYSOKO i ma nowrap — przy waskim ekranie
   dwuliniowy tekst wystawal spod krawedzi i robil kolorowy pasek u gory */
.skip {
  position: fixed; left: 16px; top: -200px; z-index: 100;
  background: var(--violet); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-s) var(--r-s);
  white-space: nowrap; font-weight: 500; transition: top .15s;
}
.skip:focus { top: 0; text-decoration: none; }

.etykieta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.etykieta::before { content: ""; width: 24px; height: 2px; background: var(--grad-btn); border-radius: 2px; }
.ciemne .etykieta, .hero .etykieta, .pod-hero .etykieta { color: var(--muted-d); }
.ciemne .etykieta::before, .hero .etykieta::before, .pod-hero .etykieta::before { background: var(--grad); }

.grad-tekst {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* zapas dla przegladarek bez background-clip:text — tekst zostaje widoczny */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-tekst { color: var(--violet-lt); -webkit-text-fill-color: currentColor; }
}

/* --- przyciski ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-1 { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .6); }
.btn-1:hover { box-shadow: 0 16px 40px -12px rgba(124, 58, 237, .75); }
.btn-2 { background: transparent; color: var(--text); border-color: var(--line); }
.btn-2:hover { border-color: var(--text); }
.ciemne .btn-2, .hero .btn-2, .pod-hero .btn-2 { color: #fff; border-color: rgba(255, 255, 255, .28); }
.ciemne .btn-2:hover, .hero .btn-2:hover, .pod-hero .btn-2:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-3 { background: #fff; color: var(--ink); }
.btn-3:hover { background: var(--cyan-lt); }

.link-strzalka {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  color: var(--violet-ink); text-decoration: none;
}
.link-strzalka svg { width: 16px; height: 16px; transition: transform .2s; }
.link-strzalka:hover { text-decoration: underline; }
.link-strzalka:hover svg { transform: translateX(4px); }

/* --- naglowek ----------------------------------------------------------- */
/* naglowek LEZY NA hero (position:fixed), bo tlo strony jest biale, a napisy w menu biale —
   przy zwyklym sticky powstawala biala belka z niewidocznym menu. Hero i pod-hero maja
   wlasny padding-top rowny wysokosci naglowka. */
.naglowek {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--naglowek-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.naglowek.przyklejony {
  background: rgba(7, 7, 11, .88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-d);
}
.naglowek .wrap { display: flex; align-items: center; gap: 24px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  margin-right: auto; padding: 6px 0; min-height: 46px;   /* cel dotykowy, nie sama wysokosc znaku */
}
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-size: 21px; font-weight: 700; letter-spacing: .01em; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  color: rgba(255, 255, 255, .82); padding: 10px 14px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; text-decoration: none; transition: color .15s, background-color .15s;
}
.menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.menu a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.naglowek .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.burger {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .24); border-radius: 12px; cursor: pointer;
}
.burger svg { width: 20px; height: 20px; color: #fff; }

/* menu na telefonie: pelnoekranowy panel */
.menu-mobilne {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink);
  padding: 20px var(--pad) 40px;
  display: flex; flex-direction: column;
  /* visibility NIE moze byc animowana razem z opacity: przez czas przejscia panel
     zostawal ukryty, a element z visibility:hidden nie przyjmuje fokusu (menu otwierało
     sie, ale fokus zostawal na body). Zamiast tego przelaczamy ja skokowo: przy otwieraniu
     natychmiast, przy zamykaniu z opoznieniem rownym czasowi zanikania. */
  visibility: hidden; opacity: 0;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.menu-mobilne.otwarte {
  visibility: visible; opacity: 1;
  transition: opacity .2s ease, visibility 0s linear 0s;
}
.menu-mobilne .gora { display: flex; align-items: center; height: var(--naglowek-h); }
.menu-mobilne .gora .logo { margin-right: auto; }
.menu-mobilne nav { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.menu-mobilne nav a {
  color: #fff; font-size: 26px; font-weight: 500; letter-spacing: -.02em;
  padding: 14px 0; border-bottom: 1px solid var(--line-d); text-decoration: none;
}
.menu-mobilne nav a[aria-current="page"] { color: var(--cyan-lt); }
.menu-mobilne .btn { margin-top: 28px; }
.menu-mobilne .kontakt-mob { margin-top: auto; padding-top: 24px; color: var(--muted-d); font-size: 15px; }
.menu-mobilne .kontakt-mob a { color: var(--cyan-lt); display: inline-block; padding: 12px 0; }

/* --- sekcje ------------------------------------------------------------- */
.ciemne { background: var(--ink); color: #fff; }
.ciemne p, .ciemne li { color: var(--muted-d); }
.jasne { background: var(--paper); }
.miekkie { background: var(--soft); }
.sekcja { padding-block: var(--sec); }
.sek-glowa { max-width: 760px; }
.sek-glowa h2 {
  font-size: clamp(30px, 4.6vw, 50px); margin-top: 18px;
  font-weight: 500; letter-spacing: -.03em;
}
.sek-glowa p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.ciemne .sek-glowa p { color: var(--muted-d); }

/* --- hero --------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);           /* WLASNE tlo: przy chowanym pasku adresu nic nie przeswituje */
  color: #fff;
  overflow: hidden;
  padding-top: var(--naglowek-h);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.hero::before {                      /* poswiata; wlasny element, nie drop-shadow */
  content: ""; position: absolute; z-index: 0;
  right: -10%; top: -20%; width: 90%; height: 120%;
  background:
    radial-gradient(48% 42% at 62% 38%, rgba(124, 58, 237, .55) 0%, rgba(124, 58, 237, 0) 70%),
    radial-gradient(38% 34% at 82% 64%, rgba(34, 211, 238, .38) 0%, rgba(34, 211, 238, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
}
.hero::after {                       /* delikatna siatka */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 0%, transparent 78%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-siatka {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: calc(100svh - var(--naglowek-h));
  min-height: calc(100dvh - var(--naglowek-h));   /* dvh wygrywa tam, gdzie jest wspierane */
  padding-top: clamp(32px, 5vw, 64px);
}
.hero h1 {
  font-size: clamp(34px, 4.7vw, 62px);
  font-weight: 400; letter-spacing: -.035em; line-height: 1.04;
}
.hero-lead {
  margin-top: 26px; max-width: 30em;
  font-size: clamp(17px, 1.75vw, 20px); line-height: 1.55; color: #d7d7e2;
}
.hero-btny { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-uslugi {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 44px;
  padding-top: 26px; border-top: 1px solid var(--line-d);
}
.hero-uslugi span {
  font-size: 13.5px; color: var(--muted-d); padding: 6px 13px;
  border: 1px solid var(--line-d); border-radius: 999px;
}

/* wizualizacja: cztery szklane karty uslug */
.hero-wiz { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wiz-karta {
  position: relative; padding: 22px 20px 20px; border-radius: var(--r-l);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  min-height: 168px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1), border-color .3s;
}
.wiz-karta:nth-child(1) { transform: translateY(-18px); }
.wiz-karta:nth-child(4) { transform: translateY(18px); }
.wiz-karta:hover { border-color: rgba(103, 232, 249, .5); }
.wiz-ikona {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(124, 58, 237, .22); border: 1px solid rgba(167, 139, 250, .35);
}
.wiz-karta:nth-child(2) .wiz-ikona, .wiz-karta:nth-child(3) .wiz-ikona {
  background: rgba(34, 211, 238, .16); border-color: rgba(103, 232, 249, .35);
}
.wiz-ikona svg { width: 22px; height: 22px; color: #fff; }
.wiz-karta b { font-size: 16.5px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.wiz-karta small { font-size: 13.5px; line-height: 1.45; color: var(--muted-d); margin-top: -4px; }

/* --- karty uslug -------------------------------------------------------- */
.uslugi-siatka {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px); margin-top: 56px;
}
.usluga {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 38px); border-radius: var(--r-l);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--cien); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.usluga:hover { transform: translateY(-4px); box-shadow: var(--cien-h); border-color: #d6d6e0; }
.usluga .numer {
  font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--muted);
}
.usluga .ikona {
  width: 56px; height: 56px; border-radius: var(--r-m); display: grid; place-items: center;
  background: var(--grad-btn); color: #fff; margin-bottom: 6px;
}
.usluga .ikona svg { width: 28px; height: 28px; }
.usluga h3 { font-size: clamp(21px, 2.2vw, 26px); font-weight: 500; }
.usluga p { color: var(--muted); font-size: 16.5px; }
.usluga .link-strzalka { margin-top: auto; padding-top: 14px; padding-bottom: 4px; min-height: 44px; align-items: flex-end; }
/* caly kafelek klikalny, ale w drzewie dostepnosci zostaje jeden link */
.usluga .rozciagnij::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }

/* --- kroki -------------------------------------------------------------- */
.kroki { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.krok { position: relative; padding-top: 30px; }
.krok::before {
  content: ""; position: absolute; left: 0; right: -20px; top: 11px; height: 1px; background: var(--line-d);
}
.krok:last-child::before { right: 0; }
.krok .kropka {
  position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 5px rgba(124, 58, 237, .16);
}
.krok .nr { font-size: 13px; letter-spacing: .14em; color: var(--muted-d); }
.krok h3 { font-size: 19px; margin-top: 10px; color: #fff; }
.krok p { font-size: 15.5px; margin-top: 10px; color: var(--muted-d); }

/* --- lista z ptaszkami -------------------------------------------------- */
.zasady { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin-top: 48px; }
.zasady li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.zasady .ptaszek {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; background: rgba(124, 58, 237, .1); color: var(--violet-ink);
}
.ciemne .zasady .ptaszek { background: rgba(103, 232, 249, .14); color: var(--cyan-lt); }
.zasady .ptaszek svg { width: 14px; height: 14px; }
.zasady b { font-weight: 500; color: var(--text); }
.ciemne .zasady b { color: #fff; }
.zasady span { color: var(--muted); }
.ciemne .zasady span { color: var(--muted-d); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 18px; justify-content: space-between;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(17px, 1.9vw, 20px); font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .znak {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .25s ease, background-color .25s, border-color .25s;
}
.faq summary .znak svg { width: 14px; height: 14px; color: var(--muted); }
.faq details[open] summary .znak { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); }
.faq details[open] summary .znak svg { color: #fff; }
.faq .odp { padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; max-width: 74ch; }

/* --- pasek CTA ---------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--ink-2); }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 120% at 18% 50%, rgba(124, 58, 237, .5) 0%, rgba(124, 58, 237, 0) 70%),
    radial-gradient(40% 110% at 88% 40%, rgba(34, 211, 238, .34) 0%, rgba(34, 211, 238, 0) 72%);
}
.cta .wrap { position: relative; }
.cta-tresc { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); max-width: 16ch; font-weight: 500; }
.cta p { margin-top: 16px; max-width: 46ch; color: #d7d7e2; }

/* --- stopka ------------------------------------------------------------- */
.stopka { background: var(--ink); color: var(--muted-d); padding-block: clamp(56px, 7vw, 84px) 32px; }
.stopka-siatka {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid var(--line-d);
}
.stopka h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 500; }
.stopka a { color: var(--muted-d); text-decoration: none; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka li { padding: 5px 0; font-size: 15.5px; }
.stopka .opis { margin-top: 18px; font-size: 15.5px; max-width: 34ch; }
.stopka .dane { font-size: 15px; line-height: 1.75; font-style: normal; }
.stopka .mail { color: var(--cyan-lt); font-weight: 500; }
.stopka-dol {
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  padding-top: 26px; font-size: 14.5px;
}

/* --- podstrony ---------------------------------------------------------- */
.pod-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-block: calc(var(--naglowek-h) + clamp(48px, 6vw, 84px)) clamp(52px, 7vw, 88px); }
.pod-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 90% at 78% 30%, rgba(124, 58, 237, .42) 0%, rgba(124, 58, 237, 0) 72%),
    radial-gradient(36% 80% at 96% 80%, rgba(34, 211, 238, .26) 0%, rgba(34, 211, 238, 0) 74%);
}
.pod-hero .wrap { position: relative; }
.pod-hero h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 400; letter-spacing: -.035em; margin-top: 20px; }
.pod-hero .lead { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.7vw, 20px); color: #d7d7e2; }
.okruchy { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted-d); }
.okruchy a { color: var(--muted-d); }
.okruchy a:hover { color: #fff; }
.okruchy svg { width: 13px; height: 13px; opacity: .6; }

.dwie-kolumny { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.dwie-kolumny p { font-size: 17px; color: var(--muted); }

.zakres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.zakres li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper);
}
.zakres .ptaszek { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; margin-top: 2px; }
.zakres .ptaszek svg { width: 13px; height: 13px; }
.zakres b { display: block; font-weight: 500; font-size: 16.5px; }
.zakres span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 3px; }

.warianty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.wariant {
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r-l);
  border: 1px solid var(--line-d); background: var(--ink-2);
}
.wariant .nr { font-size: 13px; letter-spacing: .14em; color: var(--cyan-lt); }
.wariant h3 { font-size: 22px; margin-top: 12px; color: #fff; }
.wariant p { margin-top: 14px; font-size: 16px; color: var(--muted-d); }

.panel {
  margin-top: 48px; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-l);
  background: var(--soft); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 44px); align-items: center;
}
.panel h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; }
.panel p { color: var(--muted); font-size: 17px; }

/* --- kontakt ------------------------------------------------------------ */
.kontakt-siatka { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.kontakt-mail {
  display: flex; width: fit-content; max-width: 100%;
  align-items: center; gap: 14px; margin-top: 28px;
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; word-break: break-word;
}
.kontakt-mail:hover { color: var(--violet-ink); text-decoration: none; }
.kontakt-mail .kwadrat { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; }
.kontakt-mail .kwadrat svg { width: 22px; height: 22px; }
.kontakt-karta { padding: clamp(26px, 3vw, 38px); border-radius: var(--r-l); background: var(--soft); border: 1px solid var(--line); }
.kontakt-karta h2 { font-size: 22px; }
.kontakt-karta ul { margin-top: 20px; display: grid; gap: 14px; }
.kontakt-karta li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.kontakt-karta .ptaszek { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(124, 58, 237, .12); color: var(--violet-ink); margin-top: 2px; }
.kontakt-karta .ptaszek svg { width: 12px; height: 12px; }
.dane-firmy { margin-top: 40px; display: grid; gap: 6px; font-style: normal; font-size: 16px; color: var(--muted); }
.dane-firmy b { color: var(--text); font-weight: 500; }
.dane-rejestrowe { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }

/* --- tekst prawny ------------------------------------------------------- */
.tekst { max-width: 76ch; }
.tekst h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 44px; font-weight: 500; }
.tekst p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.tekst .data { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* --- ilustracje podstron ------------------------------------------------- */
.pod-hero-siatka {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.pod-hero-wiz { min-width: 0; }
.ilustracja { width: 100%; height: auto; display: block; }

/* --- pasek platform reklamowych ------------------------------------------ */
.kanaly {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 14px; margin-top: 36px;
}
.kanaly li {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 12px 18px; border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--paper); text-align: center;
  font-size: 14.5px; color: var(--muted);
  transition: border-color .2s ease, transform .2s ease;
}
.kanaly li:hover { border-color: #d3d3de; transform: translateY(-3px); }
.kanal-znak { display: grid; place-items: center; width: 34px; height: 34px; }
.kanal-znak svg { width: 100%; height: 100%; fill: #3f3f4a; }
.kanaly-nota { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 62ch; }

/* --- drobne elementy ukladu --------------------------------------------- */
.odstep { margin-top: var(--sec); }
.pod-hero-btn { margin-top: 34px; }
.kontakt-odp { margin-top: 22px; color: var(--muted); }
.zasady .tekst, .zakres .tekst { min-width: 0; }
.inne-uslugi { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 32px; }
.inne-uslugi li { font-size: 17px; }

/* --- wjazd sekcji ------------------------------------------------------- */
.js-ok .wjazd { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.js-ok .wjazd.w-srodku { opacity: 1; transform: none; }

/* ==========================================================================
   BLOKI @media — ZAWSZE NA KONCU PLIKU.
   Wszystkie maja te sama specyficznosc, wiec o wyniku decyduje kolejnosc.
   Nowa regula responsywna dopisuj TUTAJ, nie wyzej.
   ========================================================================== */
@media (max-width: 1080px) {
  .kroki { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .krok::before { display: none; }
  .stopka-siatka { grid-template-columns: 1fr 1fr; gap: 36px; }
  .warianty { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .menu, .naglowek .btn { display: none; }
  .burger { display: flex; }
  .hero-siatka { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; gap: 44px; }
  .hero-wiz { max-width: 520px; }
  .uslugi-siatka { grid-template-columns: minmax(0, 1fr); }
  .dwie-kolumny, .zakres, .kontakt-siatka, .panel { grid-template-columns: minmax(0, 1fr); }
  .zasady { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cta-tresc { flex-direction: column; align-items: flex-start; }
  .pod-hero-siatka { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pod-hero-wiz { max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero h1 { font-size: clamp(33px, 9.4vw, 46px); }
  .hero-lead { font-size: 17px; margin-top: 20px; }
  .hero-uslugi { margin-top: 32px; }
  .hero-btny .btn { flex: 1 1 100%; }
  .hero-wiz { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wiz-karta { min-height: 0; padding: 16px 15px; border-radius: var(--r-m); }
  .wiz-karta:nth-child(1), .wiz-karta:nth-child(4) { transform: none; }
  .wiz-karta small { display: none; }
  .kroki { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq summary { font-size: 17px; gap: 14px; }
  .faq .odp { padding-right: 34px; }
  .stopka-siatka { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .btn { width: 100%; }
  .cta .btn, .hero-btny .btn { width: 100%; }
  .kontakt-mail { font-size: 19px; gap: 12px; }
  .kanaly { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
  .kanaly li { padding: 18px 8px 14px; font-size: 13px; gap: 10px; }
  .kanal-znak { width: 28px; height: 28px; }
}

@media (max-width: 380px) {
  /* 320-360 px: nic nie moze wychodzic poza ekran */
  :root { --pad: 16px; }
  .hero h1 { font-size: 31px; }
  .logo b { font-size: 19px; }
  .kontakt-mail { font-size: 17px; }
  .dane-rejestrowe { gap: 6px 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .wjazd { opacity: 1; transform: none; }
}

@media print {
  .naglowek, .menu-mobilne, .skip, .cta, .hero::before, .hero::after { display: none !important; }
  body { color: #000; background: #fff; }
  .ciemne, .hero, .pod-hero, .stopka { background: #fff !important; color: #000 !important; }
  .ciemne p, .ciemne li, .hero-lead, .pod-hero .lead, .stopka { color: #333 !important; }
}
