/* Inter (zmienna grubość) z własnego serwera, przycięty do znaków strony. Licencja: fonty/LICENCJA-Inter-OFL.txt */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonty/inter-lacina.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2030, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonty/inter-polskie.woff2") format("woff2");
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C;
}
/* Zanim Inter się wczyta: Arial przeskalowany do wymiarów Intera */
@font-face {
  font-family: "Inter zastępczy"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 107.4%;
}

:root {
  --navy-950: #0F2036;
  --navy-900: #142840;
  --navy: #1E3A5F;
  --navy-600: #2A4E7C;
  --yellow: #F5B53D;
  --yellow-600: #E3A12A;
  --yellow-soft: rgba(245, 181, 61, .14);
  --cream: #FAF6EE;
  --white: #FFFFFF;
  --ink: #1E2733;
  --muted: #5B6573;
  --line: #E7E1D5;
  --shadow-sm: 0 1px 2px rgba(20, 40, 64, .06);
  --shadow-md: 0 6px 16px -4px rgba(20, 40, 64, .12), 0 2px 4px -2px rgba(20, 40, 64, .06);
  --shadow-lg: 0 20px 40px -12px rgba(20, 40, 64, .22);
  --radius: 16px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-sprezyna: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: Inter, "Inter zastępczy", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy-900); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 6px; }
:is(.hero, .section--dark, .firmy-sekcja, .travel, .zdalnie, .footer) :focus-visible { outline-color: var(--yellow); }
.footer .call-fab:focus-visible { outline-color: var(--navy-900); }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; background: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary { background: var(--yellow); color: var(--navy-950); box-shadow: 0 6px 18px -6px rgba(245, 181, 61, .6); }
.btn--primary:hover { background: var(--yellow-600); transform: translateY(-1px); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }

/* Nagłówek */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(20, 40, 64, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.2rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.01em; }
.brand__text span { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 8px; white-space: nowrap; text-decoration: none; font-weight: 500; color: var(--navy-900); transition: background-color .2s; }
.nav a:not(.btn):hover { background: var(--cream); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; padding: 12px; }
.burger span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-600) 100%);
  padding-block: 88px 104px;
}
.hero__rings span { position: absolute; border-radius: 50%; border: 1px solid rgba(245, 181, 61, .16); pointer-events: none; }
.hero__rings span:nth-child(1) { width: 620px; height: 620px; right: -160px; top: -140px; }
.hero__rings span:nth-child(2) { width: 420px; height: 420px; right: -60px; top: -40px; border-width: 2px; border-color: rgba(245, 181, 61, .08); }
.hero__rings span:nth-child(3) { width: 300px; height: 300px; left: -120px; bottom: -160px; border-color: rgba(255, 255, 255, .06); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px;
  background: var(--yellow-soft); border: 1px solid rgba(245, 181, 61, .3); color: #F8C872; font-size: .9rem; font-weight: 500;
}
.bez-lamania { white-space: nowrap; }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; margin-top: 24px; text-wrap: balance; }
.accent--linia { display: block; }
.accent { color: var(--yellow); }
.hero__lead { margin-top: 20px; font-size: 1.2rem; line-height: 1.7; color: #D5DDE8; max-width: 32em; }
.hero__lead a { color: var(--yellow); text-underline-offset: 3px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 16px 44px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stats dt { font-size: 1.7rem; font-weight: 700; color: var(--yellow); line-height: 1.2; }
.stats dd { margin: 4px 0 0; font-size: .9rem; color: #B9C5D4; }
.hero__visual { position: relative; padding-block: 8px 20px; }
.hero__visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.zasieg circle { vector-effect: non-scaling-stroke; stroke-width: 1px; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border-radius: 14px;
  background: var(--white); color: var(--navy-900); font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 18px 36px -14px rgba(5, 14, 26, .55), 0 2px 6px rgba(5, 14, 26, .12);
}
.chip i { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #2E9E6B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* Plakietki w pustych miejscach: nad lewą połową dachu i pod prawym rogiem — nie nachodzą na rysunek */
.chip--one { left: 0; top: 2%; }
.chip--two { right: 0; bottom: 0; }
.chip i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #2E9E6B; opacity: 0; animation: puls 3.2s ease-out infinite; }
.chip--two i::after { animation-delay: 1.6s; }
/* Plakietki delikatnie bujają się na boki — każda we własnym rytmie */
.chip { animation: chip-bujanie 5.6s ease-in-out infinite; will-change: transform; }
.chip--two { animation-duration: 6.4s; animation-delay: -2.6s; }
@keyframes chip-bujanie {
  0%, 100% { transform: translate(-3px, 0) rotate(-2.6deg); }
  50% { transform: translate(3px, -5px) rotate(2.6deg); }
}
/* Sygnał WiFi mruga: łuki zapalają się po kolei od najmniejszego, chwilę świecą i gasną razem.
   Animujemy kolor, nie przezroczystość — łuk jest zawsze pełny, więc krawędzie zostają ostre. */
.fala { animation: fala 3.2s ease-in-out infinite; }
.fala--2 { animation-delay: .25s; }
.fala--3 { animation-delay: .5s; }
@keyframes fala { 0%, 12% { stroke: #3B5270; } 32%, 78% { stroke: #F5B53D; } 100% { stroke: #3B5270; } }
@keyframes puls { 0% { transform: scale(1); opacity: .7; } 60%, 100% { transform: scale(2); opacity: 0; } }

/* Sekcje */
.section { padding-block: 96px; }
.section--light { background: var(--cream); }
.section--dark { background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 100%); color: var(--white); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
.section__head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--yellow); margin: 18px auto 0; }
.section__head p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: #C9D3E0; }

/* Usługi */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-md); transition: transform .35s var(--ease-out), box-shadow .35s; }
/* Złota kreska na dole karty — rozciąga się po najechaniu */
.card::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.card__icon { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); margin-bottom: 24px; transition: transform .45s var(--ease-sprezyna), box-shadow .35s; }
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; font-weight: 600; }
.card p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.card .card__cena { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; font-size: .95rem; }
/* Cała karta jest linkiem (tytuł rozciągnięty na kartę); strzałka w rogu pokazuje, że prowadzi dalej */
.card__link { color: inherit; text-decoration: none; }
.card__link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.card .card__cena::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A5F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: background-color .3s, transform .35s var(--ease-sprezyna);
}
#uslugi .fineprint { margin-top: 28px; }
#uslugi .fineprint a, .fineprint a { color: var(--navy); }
.card__cena a { font-weight: 600; }
/* Pomoc na odległość: 3 kroki + pobranie RustDesk */
.zdalnie { margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: center; padding: 32px 36px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-md); scroll-margin-top: calc(var(--header-h) + 24px); }
.zdalnie h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.zdalnie__kroki { list-style: none; counter-reset: krok; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.zdalnie__kroki li { counter-increment: krok; position: relative; padding-left: 44px; color: #D5DDE8; line-height: 1.5; }
.zdalnie__kroki li::before { content: counter(krok); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy-950); font-weight: 800; font-size: .9rem; }
.zdalnie__akcja p { margin-top: 10px; font-size: .9rem; color: #B9C5D4; }
.zdalnie__akcja p + p { margin-top: 4px; }
.zdalnie__akcja b { color: var(--white); font-weight: 600; }
.zdalnie__instrukcja { display: inline-block; padding-block: 6px; color: var(--yellow); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; }
.kanaly { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.contact__list a.kanal { display: inline-flex; padding: 5px 14px; border-radius: 99px; border: 1px solid rgba(245, 181, 61, .55); font-size: .92rem; }
.contact__list a.kanal:hover { background: rgba(245, 181, 61, .12); text-decoration: none; }
/* Przejdź do treści — widoczne dopiero po Tab */
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; padding: 10px 18px; border-radius: 10px; background: var(--yellow); color: var(--navy-950); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; }

/* Jak działamy */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding-inline: 12px; }
.step__num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; background: var(--yellow); color: var(--navy-950); font-weight: 800; font-size: 1.35rem; box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 1.2rem; font-weight: 600; }
.step p { margin: 10px auto 0; color: var(--muted); max-width: 22em; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 80px; padding-top: 64px; border-top: 1px solid var(--line); }
.feature { text-align: center; }
.feature__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-soft); }
.feature__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--yellow-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.08rem; font-weight: 600; }
.feature p { margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* Cennik */
/* Cennik to jedna tablica cen (nie kolejne karty jak w usługach): trzy kolumny rozdzielone liniami, żółta krawędź u góry */
.prices {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch;
  background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--yellow); overflow: hidden;
}
.price { padding: 30px 32px 26px; }
.price + .price { border-left: 1px solid var(--line); }
.price h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.price__ikona { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); }
.price__ikona svg { width: 21px; height: 21px; fill: none; stroke: var(--yellow); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.price ul { list-style: none; margin: 0; padding: 0; }
.price li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.price li span { color: var(--ink); text-wrap: balance; }
.price li span a { color: inherit; text-underline-offset: 3px; }
.price li b { color: var(--navy-900); font-weight: 800; font-size: 1.06rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* „do wyceny” odróżnione od stałych cen */
.price li .price__wycena { align-self: center; padding: 3px 10px; border-radius: 99px; background: var(--yellow-soft); color: var(--navy); font-size: .8rem; font-weight: 700; }
.travel { margin-top: 24px; background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 28px 32px; display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; box-shadow: var(--shadow-md); }
.travel__head { max-width: 340px; }
.travel__head h3 { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.travel__head p { margin-top: 4px; color: #B9C5D4; font-size: .92rem; }
.travel__zones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.travel__zones li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 14px 16px; text-align: center; }
.travel__zones span { display: block; font-size: .88rem; color: #B9C5D4; }
.travel__zones b { display: block; margin-top: 2px; font-size: 1.35rem; color: var(--yellow); }
/* Miejscowości jako plakietki w ramce „Dojazd” — zwięźle, a Google nadal widzi nazwy */
.travel__obszar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.travel__obszar p { font-size: .9rem; font-weight: 600; color: var(--white); }
.miejscowosci { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.miejscowosci li { padding: 3px 11px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; line-height: 1.5; color: #D5DDE8; white-space: nowrap; }
.miejscowosci li:last-child { border-color: rgba(245, 181, 61, .5); color: var(--yellow); }
.fineprint { margin-top: 20px; text-align: center; font-size: .9rem; color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact > * { min-width: 0; }
/* Lewa kolumna ma wysokość formularza; klucz i śrubokręt stoją na jej dole (w pustym miejscu),
   nigdy bliżej niż 24 px od danych kontaktowych */
.contact__lewa { align-self: stretch; display: flex; flex-direction: column; gap: 24px; }
.tlo-narzedzia { position: relative; flex: none; width: 280px; height: 280px; margin: auto 0 -30px -8px; opacity: .2; pointer-events: none; }
.tlo-narzedzia svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
/* Śrubokręt płynnie wysuwa się i wraca wzdłuż swojej osi, potem klucz „dokręca” (obrót wokół skrzyżowania).
   Bez zatrzymań w skrajnym położeniu — ruch jak wahadło. */
.nt-srub { animation: nt-srub 8s cubic-bezier(.45, 0, .55, 1) infinite; }
.nt-klucz { transform-origin: 50% 50%; animation: nt-klucz 8s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes nt-srub { 0%, 6% { transform: translate(0, 0); } 21% { transform: translate(6px, 6px); } 36%, 100% { transform: translate(0, 0); } }
@keyframes nt-klucz { 0%, 44% { transform: rotate(0deg); } 61% { transform: rotate(-10deg); } 80%, 100% { transform: rotate(0deg); } }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.contact__list li { display: flex; gap: 18px; }
.contact__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 181, 61, .16); }
.contact__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact__list h3 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.contact__list a { display: block; color: var(--yellow); text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.contact__list a:hover { text-decoration: underline; }
.contact__list p { color: #C9D3E0; }
.contact__list .contact__uwaga { margin-top: 4px; font-size: .95rem; }

.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--navy-900); }
.req { color: #C2413A; font-style: normal; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; min-height: 50px;
  border: 1.5px solid #858F9E; border-radius: 10px; background: #FBFCFD; transition: border-color .2s, box-shadow .2s;
}
.form ::placeholder, .pole-akcja ::placeholder, .mail ::placeholder { color: #67707C; opacity: 1; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, .3); background: var(--white); }
.form .check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); }
.form .check a { color: var(--navy); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-weight: 500; font-size: .95rem; min-height: 1.5em; }
.form__rodo { font-size: .85rem; line-height: 1.5; color: var(--muted); }
.form__rodo a { color: var(--navy); }

/* Budujesz dom? — projekt sieci domowej (sekcja Usługi) */
.budowa {
  margin-top: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: center;
  padding: 26px 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-md); border-left: 5px solid var(--yellow);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.budowa__ikona { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-600)); transition: transform .45s var(--ease-sprezyna); }
.budowa__ikona svg { width: 32px; height: 32px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.budowa h3 { font-size: 1.25rem; font-weight: 700; }
.budowa p { margin-top: 6px; color: var(--muted); max-width: 46em; }
.budowa .budowa__cena { margin-top: 8px; font-weight: 700; font-size: .95rem; color: var(--navy); }
@media (hover: hover) {
  .budowa:hover .budowa__ikona { transform: scale(1.08) rotate(-5deg); }
}
@media (max-width: 860px) {
  .budowa { grid-template-columns: auto 1fr; }
  .budowa .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .budowa { grid-template-columns: 1fr; padding: 24px 20px; }
  .budowa .btn { width: 100%; }
}
.form__msg.ok { color: #1F7A50; }
.form__msg.err { color: #B42318; }

/* Stopka */
.footer { background: var(--navy-950); color: #B9C5D4; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text span { color: #8FA0B5; }
.footer__brand p { margin-top: 16px; max-width: 26em; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
/* Tekst tylko dla czytników ekranu (np. „otwiera się w nowej karcie”) */
.visually-hidden { 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; }
/* Miejsce na zabezpieczenie formularza, które wczytuje się dopiero przy wypełnianiu — bez przeskoku układu */
.cf-turnstile { min-height: 65px; }
/* Zanim zabezpieczenie się wczyta (po kliknięciu w formularz) — szare pole z wyjaśnieniem zamiast pustej dziury */
.cf-turnstile:empty { display: flex; align-items: center; justify-content: center; max-width: 300px; height: 65px; padding: 0 14px; border: 1.5px dashed #D5CFC2; border-radius: 10px; background: #FBFAF7; }
.cf-turnstile:empty::before { content: "Tu pojawi się zabezpieczenie przed spamem"; font-size: .8rem; line-height: 1.35; text-align: center; color: var(--muted); }
.footer a { text-decoration: none; }
.footer__col a:hover, .footer__bottom a:hover { color: var(--yellow); }
/* Ekrany dotykowe: linki w stopce i kontakcie co najmniej 44 px wysokości (wygodne trafianie palcem) */
@media (pointer: coarse) {
  .footer__col { gap: 0; }
  .footer__col a { padding-block: 9px; }
  .footer__col h2 { margin-bottom: 6px; }
  .contact__list a:not(.kanal) { padding-block: 8px; }
  .contact__list a.kanal { min-height: 44px; align-items: center; }
  .zdalnie__instrukcja { padding-block: 10px; }
}
/* Telefony i e-mail w stopce — żółte jak w sekcji kontaktu */
.footer__col .footer__kontakt { color: var(--yellow); font-weight: 500; }
.footer__col .footer__kontakt:hover { color: #F8C872; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; padding-block: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
.footer__prawne { display: flex; flex-wrap: wrap; column-gap: 24px; }
.footer__prawne a { display: inline-block; padding-block: 10px; }

.call-fab { display: none; }

/* Animacja przy przewijaniu */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Podstrony */
.doc { padding-block: 64px 96px; background: var(--cream); }
.doc .container { max-width: 820px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; }
.doc__wstep { margin-top: 12px; font-size: 1.1rem; color: var(--muted); }
.doc a { color: var(--navy); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; margin-bottom: .6em; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: .8em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .muted { color: var(--muted); margin-top: 2em; }
.wzor { background: var(--white); border: 1px dashed #C9C1B1; border-radius: 12px; padding: 20px 24px; }
.wzor p + p { margin-top: .7em; }
.wzor__uwaga { font-size: .9rem; color: var(--muted) !important; }

/* ───────── Bezpieczeństwo ───────── */
.nav a[aria-current="page"] { background: var(--cream); }
.hero--maly { padding-block: 64px 72px; }
.hero__inner--jeden { grid-template-columns: 1fr; }
.hero--maly .hero__lead { max-width: 36em; }
.skroty { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.skroty a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .25s, border-color .25s, background-color .25s, transform .35s var(--ease-sprezyna); }
.skroty a:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(245, 181, 61, .12); }

.narzedzia { max-width: 860px; margin-inline: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; transition: box-shadow .35s; }
.zakladki { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #FDFBF7; }
/* Żółta kreska przesuwa się pod wybraną zakładkę (numer zakładki w --aktywna, ustawia bezpieczenstwo.js) */
.zakladki::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 25%; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); transform: translateX(calc(var(--aktywna, 0) * 100%)); transition: transform .5s var(--ease-sprezyna); }
.zakladki button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color .25s, background-color .3s;
}
.zakladki svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-sprezyna); }
.zakladki button:hover { color: var(--navy); }
.zakladki button[aria-selected="true"] { color: var(--navy-900); background: var(--white); }
.zakladki button[aria-selected="true"] svg { animation: ikona-skok .55s var(--ease-sprezyna); }
@keyframes ikona-skok { 0% { transform: scale(.7) rotate(-12deg); } 60% { transform: scale(1.15) rotate(4deg); } 100% { transform: none; } }
/* Zmiana zakładki: treść wjeżdża z boku, po kolei (kierunek w data-kierunek) */
.narzedzia[data-kierunek] .panel:not([hidden]) > * { animation: panel-z-prawej .5s var(--ease-out) both; }
.narzedzia[data-kierunek="lewo"] .panel:not([hidden]) > * { animation-name: panel-z-lewej; }
.narzedzia[data-kierunek] .panel:not([hidden]) > :nth-child(2) { animation-delay: .04s; }
.narzedzia[data-kierunek] .panel:not([hidden]) > :nth-child(3) { animation-delay: .08s; }
.narzedzia[data-kierunek] .panel:not([hidden]) > :nth-child(4) { animation-delay: .12s; }
.narzedzia[data-kierunek] .panel:not([hidden]) > :nth-child(n+5) { animation-delay: .16s; }
@keyframes panel-z-prawej { from { opacity: 0; transform: translateX(28px); } }
@keyframes panel-z-lewej { from { opacity: 0; transform: translateX(-28px); } }
/* Wyniki (ocena, wyciek, werdykt linku, podpowiedzi testu) pojawiają się łagodnie */
@keyframes pojaw { from { opacity: 0; transform: translateY(8px); } }
.ocena:not([hidden]), .komunikat:not([hidden]), .werdykt, .test__wskazowka:not([hidden]) { animation: pojaw .4s var(--ease-out) both; }
.pole-akcja--wynik input.is-nowe { animation: nowe-haslo .7s ease; }
@keyframes nowe-haslo { 0% { background-color: #FCE3AE; transform: scale(1.015); } 100% { background-color: var(--cream); transform: none; } }
.licznik.is-zmiana { animation: licznik-skok .45s var(--ease-sprezyna); }
@keyframes licznik-skok { 0% { transform: scale(1); } 40% { transform: scale(1.18); background: #FCE3AE; } 100% { transform: scale(1); } }
.test__pytanie { transition: border-color .3s, background-color .3s, box-shadow .3s; }
.test__odp button { transition: background-color .2s, border-color .2s, color .2s, transform .3s var(--ease-sprezyna); }
.test__odp button[aria-pressed="true"] { animation: klik-pop .4s var(--ease-sprezyna); }
@keyframes klik-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.tryby button { transition: background-color .25s, color .25s, box-shadow .25s; }
.znaczniki label { transition: border-color .2s, background-color .2s; }
.znaczniki label:has(input:checked) { border-color: #B9C6D6; background: #F5F8FB; }
.email-wyciek { transition: border-color .3s, box-shadow .35s, background-color .3s; }
.email-wyciek svg { transition: transform .45s var(--ease-sprezyna); }
@media (hover: hover) {
  .skroty a:hover { transform: translateY(-3px); }
  .zakladki button:hover svg { transform: translateY(-3px) scale(1.08); }
  .zakladki button:not([aria-selected="true"]):hover { background: rgba(255, 255, 255, .7); }
  .narzedzia:hover { box-shadow: var(--shadow-lg); }
  .test__pytanie:hover { box-shadow: var(--shadow-md); }
  .test__odp button:hover { border-color: var(--navy); transform: translateY(-2px); }
  .tryby button:not([aria-pressed="true"]):hover { color: var(--navy); background: rgba(255, 255, 255, .6); }
  .znaczniki label:hover { border-color: var(--navy); }
  .email-wyciek:hover { border-color: rgba(245, 181, 61, .8); background: #FFFDF8; box-shadow: var(--shadow-md); }
  .email-wyciek:hover svg { transform: rotate(-10deg) scale(1.15); }
}
.panel { padding: 32px 36px 36px; }
.panel h2 { font-size: 1.4rem; font-weight: 700; }
.panel__opis { margin-top: 8px; color: var(--muted); }
.panel__naglowek { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }

.pole-akcja { display: flex; gap: 10px; margin-top: 20px; }
.pole-akcja input, .mail input, .mail textarea {
  flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--ink); padding: 12px 14px; min-height: 52px;
  border: 1.5px solid #858F9E; border-radius: 10px; background: #FBFCFD;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
.pole-akcja input:focus, .mail input:focus, .mail textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30, 58, 95, .3); background: var(--white); }
.pole-akcja--wynik input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.1rem; letter-spacing: .02em; background: var(--cream); }
.pole-akcja .btn--sm { min-height: 52px; }
.btn-maly {
  flex: none; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1.5px solid #DDE2E9; background: var(--white);
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--navy); cursor: pointer;
  transition: border-color .2s, background-color .2s, transform .3s var(--ease-sprezyna);
}
.btn-maly:hover { border-color: var(--navy); background: #F7F9FC; }
.btn-maly:active { transform: scale(.95); }

.ocena { margin-top: 20px; }
.ocena__gora { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ocena__etykieta { font-weight: 700; font-size: 1.15rem; }
.ocena__etykieta--zle { color: #B42318; }
.ocena__etykieta--uwaga { color: #B26B00; }
.ocena__etykieta--dobrze { color: #1F7A50; }
.ocena__dlugosc { color: var(--muted); font-size: .92rem; }
.miernik { height: 10px; border-radius: 99px; background: #EDE8DE; margin-top: 8px; overflow: hidden; }
.miernik__pasek { height: 100%; border-radius: inherit; transition: width .5s var(--ease-out), background-color .35s; }
.miernik__pasek--zle { background: #D9534F; }
.miernik__pasek--uwaga { background: var(--yellow); }
.miernik__pasek--dobrze { background: #2E9E6B; }
.ocena__czas { margin-top: 10px; color: var(--ink); }

.uwagi { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.uwagi li { position: relative; padding: 10px 14px 10px 40px; border-radius: 10px; font-size: .96rem; line-height: 1.45; background: #F6F4EF; }
.uwagi li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: center / 10px no-repeat; }
.uwagi .uwagi__zle { background: #FDF0EF; }
.uwagi .uwagi__zle::before { background-color: #D9534F; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.uwagi .uwagi__uwaga { background: #FFF6E3; }
.uwagi .uwagi__uwaga::before { background-color: var(--yellow-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M12 5v9M12 19h.01'/%3E%3C/svg%3E"); }
.uwagi .uwagi__dobrze { background: #EDF7F1; }
.uwagi .uwagi__dobrze::before { background-color: #2E9E6B; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.uwagi .uwagi__info { background: #EEF3F8; }
.uwagi .uwagi__info::before { background-color: var(--navy-600); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M12 11v7M12 6h.01'/%3E%3C/svg%3E"); }

.wyciek { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.wyciek .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.komunikat { padding: 12px 16px; border-radius: 10px; font-weight: 500; line-height: 1.5; margin-top: 16px; }
.wyciek .komunikat { margin-top: 0; }
.komunikat--zle { background: #FDF0EF; color: #9B1C14; }
.komunikat--uwaga { background: #FFF6E3; color: #7A4A00; }
.komunikat--dobrze { background: #EDF7F1; color: #17603E; }
.komunikat--info { background: #EEF3F8; color: var(--navy); }
.drobny { margin-top: 14px; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.drobny a, .panel a, .email-wyciek a, .oszustwo a { color: var(--navy); }

.tryby { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding: 5px; border-radius: 12px; background: #F3EFE6; }
.tryby button { border: 0; background: none; padding: 10px 18px; border-radius: 9px; font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer; }
.tryby button[aria-pressed="true"] { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.gen__sila { margin-top: 10px; font-weight: 600; font-size: .95rem; }
.gen__sila--zle { color: #B42318; }
.gen__sila--uwaga { color: #B26B00; }
.gen__sila--dobrze { color: #1F7A50; }
.gen__opcje { margin-top: 20px; display: grid; gap: 16px; }
.suwak { display: grid; gap: 8px; font-weight: 500; color: var(--navy-900); }
.suwak input { width: 100%; accent-color: var(--navy); }
.znaczniki { display: flex; flex-wrap: wrap; gap: 8px 10px; }
#gen-opcje-slowa { display: grid; gap: 16px; }
#gen-opcje-slowa[hidden] { display: none; }
.znaczniki label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid #E3DED3; border-radius: 99px; font-size: .93rem; cursor: pointer; background: var(--white); }
.znaczniki input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.znaczniki select { font: inherit; padding: 2px 6px; border: 1px solid #DDE2E9; border-radius: 6px; background: var(--white); }

.werdykt { margin-top: 18px; padding: 18px 20px; border-radius: 12px; border-left: 5px solid; }
.werdykt strong { display: block; font-size: 1.12rem; }
.werdykt p { margin-top: 4px; }
.werdykt__domena { font-size: .9rem; color: var(--muted); word-break: break-all; }
.werdykt--zle { background: #FDF0EF; border-color: #D9534F; }
.werdykt--zle strong { color: #9B1C14; }
.werdykt--uwaga { background: #FFF6E3; border-color: var(--yellow-600); }
.werdykt--uwaga strong { color: #7A4A00; }
.werdykt--dobrze { background: #EDF7F1; border-color: #2E9E6B; }
.werdykt--dobrze strong { color: #17603E; }
.werdykt--info { background: #EEF3F8; border-color: var(--navy-600); }
.werdykt--info strong { color: var(--navy); }

.licznik { flex: none; padding: 6px 12px; border-radius: 99px; background: var(--cream); font-weight: 700; color: var(--navy); font-size: .92rem; }
.test { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: pytanie; display: grid; gap: 10px; }
.test__pytanie { counter-increment: pytanie; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 16px 14px 52px; border: 1.5px solid var(--line); border-radius: 12px; position: relative; }
.test__pytanie::before { content: counter(pytanie); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--navy); font-weight: 700; font-size: .85rem; }
.test__pytanie[data-odp="tak"] { border-color: #BFE3CF; background: #F7FBF8; }
.test__pytanie[data-odp="nie"] { border-color: #F3D9A6; background: #FFFBF2; }
.test__odp { display: flex; gap: 6px; }
.test__odp button { min-width: 64px; min-height: 42px; border-radius: 9px; border: 1.5px solid #DDE2E9; background: var(--white); font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
.test__odp button[data-odp="tak"][aria-pressed="true"] { background: #2E9E6B; border-color: #2E9E6B; color: var(--white); }
.test__odp button[data-odp="nie"][aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--navy-950); }
.test__wskazowka { grid-column: 1 / -1; font-size: .93rem; color: #7A4A00; }
#test-od-nowa { margin-top: 16px; min-height: 44px; }

.email-wyciek { max-width: 860px; margin: 20px auto 0; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1px dashed #D9D1C1; }
.email-wyciek svg { flex: none; width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--yellow-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.email-wyciek p { color: var(--ink); font-size: .98rem; }

.features--zasady { margin-top: 0; padding-top: 0; border-top: 0; }
.oszustwa, .pytania { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.oszustwo, .pytanie { background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.oszustwo summary, .pytanie summary { list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; border-radius: 13px; font-weight: 600; color: var(--navy-900); position: relative; transition: background-color .3s, color .3s; }
.oszustwo summary::-webkit-details-marker, .pytanie summary::-webkit-details-marker { display: none; }
/* Strzałka w kółku: po otwarciu kółko robi się żółte, strzałka obraca się z lekkim odbiciem */
.oszustwo summary::before, .pytanie summary::before { content: ""; position: absolute; right: 12px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--cream); transition: background-color .3s, transform .35s var(--ease-sprezyna); }
.oszustwo summary::after, .pytanie summary::after { content: ""; position: absolute; right: 23px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); transition: transform .45s var(--ease-sprezyna), border-color .3s; }
/* Otwarte (bez JS: samo [open]; z JS klasa is-zamyka przełącza wygląd już na początku zwijania) */
:is(.oszustwo, .pytanie)[open]:not(.is-zamyka) { border-color: rgba(245, 181, 61, .9); box-shadow: 0 18px 36px -18px rgba(20, 40, 64, .35); }
:is(.oszustwo, .pytanie)[open]:not(.is-zamyka) > summary { background: #FDF3E1; color: var(--navy); border-radius: 13px 13px 0 0; }
:is(.oszustwo, .pytanie)[open]:not(.is-zamyka) > summary::before { background: var(--yellow); }
:is(.oszustwo, .pytanie)[open]:not(.is-zamyka) > summary::after { border-color: var(--navy-950); transform: translateY(-30%) rotate(-135deg); }
.oszustwo--pilne[open]:not(.is-zamyka) > summary { color: #9B1C14; }
:is(.oszustwo, .pytanie)[open] > :not(summary) { animation: odpowiedz-wjazd .45s var(--ease-out) both; }
:is(.oszustwo, .pytanie)[open] > :nth-child(n+3) { animation-delay: .05s; }
:is(.oszustwo, .pytanie).is-zamyka > :not(summary) { animation: odpowiedz-wyjazd .22s ease both; }
@keyframes odpowiedz-wjazd { from { opacity: 0; transform: translateY(-10px); } }
@keyframes odpowiedz-wyjazd { to { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) {
  :is(.oszustwo, .pytanie):hover { border-color: #E9D3A4; box-shadow: var(--shadow-md); }
  :is(.oszustwo, .pytanie) > summary:hover { color: var(--navy); }
  :is(.oszustwo, .pytanie) > summary:hover::before { background: #F6E7C8; transform: scale(1.12); }
  :is(.oszustwo, .pytanie)[open]:not(.is-zamyka) > summary:hover::before { background: var(--yellow-600); }
}
.oszustwo > p, .oszustwo > ol, .pytanie > p, .pytanie > ol { margin: 0 22px; color: var(--ink); }
:is(.oszustwo, .pytanie) > summary + :is(p, ol) { margin-top: 16px; }
.pytanie > p + p, .pytanie > p + ol, .pytanie > ol + p { margin-top: 12px; }
.pytanie > ol { padding-left: 1.3em; display: grid; gap: 8px; }
.pytanie a { color: var(--navy); font-weight: 600; }
/* Instrukcja RustDesk: osobne, wyraźne bloki dla Windows i Maca */
.pytanie > .pytanie__podpowiedz { padding: 12px 16px; border-radius: 10px; background: #EEF3F8; color: var(--navy-900); }
.pytanie > .system { margin: 14px 22px 0; padding: 16px 20px 18px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); }
.system h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy-900); }
.system ol { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink); }
.pytanie > .system + p { margin-top: 16px; }
.pytanie { scroll-margin-top: calc(var(--header-h) + 16px); }
.oszustwo > :last-child, .pytanie > :last-child { margin-bottom: 20px; }
.oszustwo > p + p { margin-top: 10px; }
.oszustwo__rada { padding: 10px 14px; border-radius: 10px; background: var(--cream); }
.oszustwo--pilne { border-color: #F3D9A6; }
.oszustwo--pilne summary { color: #9B1C14; }
.oszustwo ol { padding-left: 1.2em; display: grid; gap: 6px; }

.cta { padding-block: 72px; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.cta p { margin-top: 10px; color: #C9D3E0; max-width: 34em; }
.cta__przyciski { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Mail z szablonem ───────── */
.link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--white); text-decoration: underline; text-decoration-color: rgba(245, 181, 61, .7); text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--yellow); }
.mail { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink); }
.mail::backdrop { background: rgba(15, 32, 54, .55); }
.mail__forma { display: grid; gap: 14px; padding: 26px 28px 24px; }
.mail__gora { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mail h2 { font-size: 1.35rem; font-weight: 700; }
.mail__opis { margin-top: 4px; color: var(--muted); font-size: .95rem; }
.mail__zamknij { flex: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--cream); font-size: 1.5rem; line-height: 1; color: var(--navy); cursor: pointer; }
.mail__tematy { display: flex; flex-wrap: wrap; gap: 8px; }
.mail__tematy button { padding: 8px 14px; border-radius: 99px; border: 1.5px solid #E3DED3; background: var(--white); font: inherit; font-size: .9rem; font-weight: 500; color: var(--navy-900); cursor: pointer; }
.mail__tematy button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.mail__pole { display: grid; gap: 6px; }
.mail__etykieta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--navy-900); }
.mail__etykieta button { padding: 4px 10px; border-radius: 8px; border: 1px solid #DDE2E9; background: var(--white); font: inherit; font-size: .85rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.mail input, .mail textarea { font-size: 1rem; min-height: 46px; }
.mail textarea { min-height: 230px; resize: vertical; line-height: 1.5; }
.mail__adres { background: var(--cream) !important; font-weight: 600; }
.mail__uwaga { font-size: .88rem; color: #7A4A00; min-height: 1.3em; }
.mail__akcje { display: flex; flex-wrap: wrap; gap: 10px; }
.mail__akcje .btn { min-height: 48px; }
.mail__akcje .btn--jasny { background: var(--white); color: var(--navy); border-color: #DDE2E9; }
.mail__akcje .btn--jasny:hover { border-color: var(--navy); }

/* ---------- Dla firm: strona internetowa — wykonanie, wdrożenie, utrzymanie, doradztwo (sekcja premium) ---------- */
.firmy-sekcja {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 181, 61, .16), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(46, 107, 174, .28), transparent 45%),
    linear-gradient(160deg, #0A1628 0%, #11243D 50%, #1B375C 100%);
}
.firmy-sekcja::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--yellow) 25%, var(--yellow) 75%, transparent); opacity: .85; }
.firmy-sekcja__pierscienie span { position: absolute; border-radius: 50%; border: 1px solid rgba(245, 181, 61, .14); pointer-events: none; }
.firmy-sekcja__pierscienie span:nth-child(1) { width: 560px; height: 560px; right: -180px; top: -200px; }
.firmy-sekcja__pierscienie span:nth-child(2) { width: 380px; height: 380px; left: -160px; bottom: -180px; border-color: rgba(255, 255, 255, .06); }
.firmy-sekcja .container { position: relative; }
.firmy-sekcja__gora { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.firmy-sekcja h2 { margin-top: 18px; color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.firmy-sekcja__lead { margin-top: 16px; font-size: 1.08rem; line-height: 1.7; color: #C9D3E0; max-width: 34em; }
.firmy-sekcja__zalety { list-style: none; display: grid; gap: 10px; margin: 22px 0 0; padding: 0; }
.firmy-sekcja__zalety li { display: flex; align-items: flex-start; gap: 10px; color: #E6ECF3; }
.firmy-sekcja__zalety li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(245, 181, 61, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5B53D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.firmy-sekcja__przyciski { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.firmy-kafle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 64px; }
.firmy-kafel {
  display: flex; flex-direction: column; padding: 26px 22px 24px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s, background-color .3s;
}
.firmy-kafel--glowny { border-color: rgba(245, 181, 61, .55); background: linear-gradient(180deg, rgba(245, 181, 61, .13), rgba(255, 255, 255, .03)); }
.firmy-kafel__ikona { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(245, 181, 61, .14); }
.firmy-kafel__ikona svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.firmy-kafel h3 { margin-top: 18px; color: var(--white); font-size: 1.12rem; font-weight: 700; }
.firmy-kafel p { flex: 1; margin-top: 8px; font-size: .95rem; line-height: 1.55; color: #B9C5D4; }
.firmy-kafel__cena { margin-top: 16px; font-size: .95rem; font-weight: 700; color: var(--yellow); }

/* Animacja strony internetowej: kursor klika „Wyślij zapytanie”, przychodzi powiadomienie. Wszystko w cqw — skaluje się z szerokością. */
.www-demo { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 4 / 3; container-type: inline-size; }
.www-demo__okno { position: absolute; left: 0; top: 0; width: 94cqw; height: 66cqw; overflow: hidden; border-radius: 2.4cqw; background: #fff; box-shadow: 0 3cqw 8cqw -2cqw rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); }
.www-demo__pasek { position: absolute; left: 0; right: 0; top: 0; height: 6.5cqw; display: flex; align-items: center; gap: 1.2cqw; padding-inline: 2.6cqw; background: #EEF1F5; }
.www-demo__pasek i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #F26B5B; }
.www-demo__pasek i:nth-child(2) { background: #F5B53D; }
.www-demo__pasek i:nth-child(3) { background: #3CC46B; }
.www-demo__adres { display: flex; align-items: center; gap: 1cqw; width: 46cqw; height: 3.8cqw; margin-left: 3cqw; padding-inline: 1.8cqw; border-radius: 2cqw; background: #fff; font-size: 1.9cqw; color: #5B6573; }
.www-demo__adres svg { width: 1.9cqw; height: 1.9cqw; fill: none; stroke: #2E9E6A; stroke-width: 2.4; stroke-linecap: round; }
.www-demo__menu { position: absolute; left: 5cqw; right: 5cqw; top: 10cqw; height: 3.6cqw; display: flex; align-items: center; gap: 1.6cqw; }
.www-demo__menu b { width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; background: var(--navy); }
.www-demo__menu span { width: 12cqw; height: 1.6cqw; margin-right: auto; border-radius: 1cqw; background: #1E2733; opacity: .85; }
.www-demo__menu em { width: 7cqw; height: 1.2cqw; border-radius: 1cqw; background: #CBD2DC; }
.www-demo__tytul { position: absolute; left: 5cqw; top: 19cqw; font-size: 5.6cqw; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #142840; }
.www-demo__opis { position: absolute; left: 5cqw; top: 27.5cqw; width: 48cqw; font-size: 2.3cqw; line-height: 1.45; color: #5B6573; }
.www-demo__przycisk {
  position: absolute; left: 5cqw; top: 37.5cqw; width: 27cqw; height: 6.6cqw; display: grid; place-items: center;
  border-radius: 1.4cqw; background: var(--yellow); color: #142840; font-size: 2.4cqw; font-weight: 700;
  box-shadow: 0 1.2cqw 2.4cqw -1cqw rgba(245, 181, 61, .7); animation: www-przycisk 7s infinite;
}
.www-demo__przycisk > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 1cqw; }
.www-demo__przycisk-a { animation: www-etykieta-a 7s infinite; }
.www-demo__przycisk-b { opacity: 0; animation: www-etykieta-b 7s infinite; }
.www-demo__przycisk-b svg { width: 2.6cqw; height: 2.6cqw; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.www-demo__obraz { position: absolute; left: 58cqw; top: 17cqw; width: 31cqw; height: 26cqw; overflow: hidden; border-radius: 2cqw; background: linear-gradient(160deg, #DCE7F3, #F6E4C6); }
.www-demo__obraz::before { content: ""; position: absolute; right: 5cqw; top: 4cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--yellow); }
.www-demo__obraz::after { content: ""; position: absolute; left: -2cqw; right: -2cqw; bottom: 0; height: 13cqw; background: #2E6BAE; opacity: .55; clip-path: polygon(0 100%, 0 60%, 28% 12%, 50% 55%, 68% 30%, 100% 75%, 100% 100%); }
.www-demo__karta { position: absolute; top: 48.5cqw; width: 26.6cqw; height: 12.5cqw; border-radius: 1.6cqw; background: #F4F6F9; border: 1px solid #E3E8EF; }
.www-demo__karta--1 { left: 5cqw; }
.www-demo__karta--2 { left: 33.7cqw; }
.www-demo__karta--3 { left: 62.4cqw; }
.www-demo__karta::before { content: ""; position: absolute; left: 2cqw; top: 2.2cqw; width: 3.2cqw; height: 3.2cqw; border-radius: .8cqw; background: #DCE7F3; }
.www-demo__karta::after { content: ""; position: absolute; left: 2cqw; top: 7cqw; width: 18cqw; height: 1.2cqw; border-radius: 1cqw; background: #CBD2DC; box-shadow: 0 2.4cqw 0 #E3E8EF; }
.www-demo__klik { position: absolute; left: 18.5cqw; top: 40.8cqw; width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; border: .5cqw solid var(--yellow); border-radius: 50%; opacity: 0; animation: www-klik 7s infinite; }
.www-demo__kursor {
  position: absolute; left: 0; top: 0; width: 5.2cqw; height: 5.2cqw; overflow: visible;
  filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .45)); transform-origin: 17% 10%;
  animation: www-kursor 7s infinite cubic-bezier(.5, 0, .3, 1);
}
.www-demo__kursor path { fill: #fff; stroke: #0F2036; stroke-width: 1.4; stroke-linejoin: round; }
.www-demo__powiadomienie {
  position: absolute; right: 0; bottom: 3cqw; display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 3.2cqw 2.4cqw 2.4cqw;
  border-radius: 2.2cqw; background: #fff; box-shadow: 0 2.4cqw 6cqw -1.6cqw rgba(0, 0, 0, .55); opacity: 0; animation: www-powiadomienie 7s infinite;
}
.www-demo__powiadomienie b { display: grid; place-items: center; width: 6cqw; height: 6cqw; border-radius: 50%; background: #2E9E6A; }
.www-demo__powiadomienie b svg { width: 3.4cqw; height: 3.4cqw; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.www-demo__powiadomienie strong { display: block; font-size: 2.7cqw; font-weight: 700; color: #142840; line-height: 1.2; }
.www-demo__powiadomienie small { display: block; margin-top: .4cqw; font-size: 2.1cqw; color: #5B6573; }

@keyframes www-kursor {
  0% { transform: translate(86cqw, 70cqw); opacity: 0; }
  6% { opacity: 1; }
  30% { transform: translate(16.4cqw, 39.8cqw) scale(1); }
  33% { transform: translate(16.4cqw, 39.8cqw) scale(.82); }
  36% { transform: translate(16.4cqw, 39.8cqw) scale(1); }
  62% { transform: translate(16.4cqw, 39.8cqw); opacity: 1; }
  80% { transform: translate(86cqw, 70cqw); opacity: 1; }
  88%, 100% { transform: translate(86cqw, 70cqw); opacity: 0; }
}
@keyframes www-przycisk {
  0%, 32% { transform: none; background: var(--yellow); color: #142840; }
  34% { transform: scale(.94); background: var(--yellow-600); }
  37%, 86% { transform: none; background: #2E9E6A; color: #fff; }
  92%, 100% { background: var(--yellow); color: #142840; }
}
@keyframes www-etykieta-a { 0%, 35% { opacity: 1; } 37%, 88% { opacity: 0; } 92%, 100% { opacity: 1; } }
@keyframes www-etykieta-b { 0%, 35% { opacity: 0; } 37%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes www-klik {
  0%, 32% { opacity: 0; transform: scale(.3); }
  33% { opacity: .9; transform: scale(.3); }
  46%, 100% { opacity: 0; transform: scale(1.7); }
}
@keyframes www-powiadomienie {
  0%, 38% { opacity: 0; transform: translateY(4cqw) scale(.96); }
  44%, 84% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(2cqw); }
}

/* ---------- „Zadzwoń”: wysuwane okienko z numerami (app.js) ---------- */
.telefony {
  position: fixed; left: 0; top: 0; z-index: 150; width: min(310px, calc(100vw - 24px)); padding: 8px;
  border-radius: 18px; background: var(--white); color: var(--ink);
  box-shadow: 0 28px 56px -18px rgba(15, 32, 54, .5), 0 0 0 1px rgba(20, 40, 64, .07);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.94);
  transition: opacity .18s, transform .22s ease-in, visibility 0s .22s;
}
.telefony--gora { transform: translateY(10px) scale(.94); }
.telefony.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .38s var(--ease-sprezyna), visibility 0s; }
/* Dzióbek wskazujący przycisk */
.telefony::before { content: ""; position: absolute; top: -6px; left: var(--strzalka, 50%); width: 12px; height: 12px; margin-left: -6px; background: var(--white); border-radius: 2px; transform: rotate(45deg); box-shadow: -1px -1px 0 rgba(20, 40, 64, .07); }
.telefony--gora::before { top: auto; bottom: -6px; box-shadow: 1px 1px 0 rgba(20, 40, 64, .07); }
.telefony__tytul { position: relative; padding: 8px 12px 6px; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.telefony__wiersz { position: relative; display: flex; align-items: center; gap: 4px; }
.telefony.is-open .telefony__wiersz { animation: telefon-wiersz .4s var(--ease-out) both; }
.telefony.is-open .telefony__wiersz + .telefony__wiersz { animation-delay: .06s; }
@keyframes telefon-wiersz { from { opacity: 0; transform: translateY(-6px); } }
.telefony__nr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--navy-900); transition: background-color .2s; }
.telefony__nr:hover { background: var(--cream); }
.telefony__ikona { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); box-shadow: 0 6px 14px -6px rgba(245, 181, 61, .8); transition: transform .35s var(--ease-sprezyna); }
.telefony__ikona svg { width: 19px; height: 19px; fill: none; stroke: var(--navy-950); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.telefony__nr:hover .telefony__ikona { transform: scale(1.1) rotate(-10deg); }
.telefony__nr strong { display: block; font-size: 1.08rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.telefony__nr small { display: block; font-size: .8rem; color: var(--muted); }
.telefony__kopiuj { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; color: var(--navy); cursor: pointer; transition: background-color .2s, color .2s; }
.telefony__kopiuj:hover { background: var(--cream); }
.telefony__kopiuj svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.telefony__kopiuj.is-ok { background: #E6F4EC; color: #1F7A50; }
.telefony__uwaga { position: relative; margin: 6px 4px 2px; padding: 10px 8px 6px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.45; color: var(--muted); }
.telefony__uwaga.is-ok { color: #1F7A50; font-weight: 600; }
/* Przycisk, z którego wysunęło się okienko */
.btn--primary[aria-expanded="true"] { background: var(--yellow-600); }
.btn--ghost[aria-expanded="true"] { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.call-fab { transition: transform .35s var(--ease-sprezyna), opacity .25s, visibility 0s; }
/* Okrągły „Zadzwoń” schowany, gdy czytasz (przewijanie w dół), na górze strony i przy kontakcie — steruje app.js.
   Bez JavaScriptu przycisk jest zawsze widoczny. */
.js .call-fab:not(.is-widoczny) { transform: translateY(calc(100% + 30px)) scale(.6); opacity: 0; visibility: hidden; transition: transform .3s ease-in, opacity .2s, visibility 0s .3s; }
.call-fab[aria-expanded="true"] { transform: rotate(-12deg) scale(1.06); }

/* ---------- Najechanie myszką: karty lekko rosną i unoszą się (tylko myszka — na dotyku bez „przyklejonych” stanów) ---------- */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-120%) skewX(-18deg); pointer-events: none; }
.price { isolation: isolate; transition: background-color .3s; }
/* Podświetlenie wiersza: tło pod spodem, szersze od wiersza — tekst nie zmienia szerokości, więc nie przeskakuje do nowej linii */
.price li { position: relative; }
.price li::before { content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 10px; background: var(--cream); opacity: 0; transform: scaleX(.94); transition: opacity .25s, transform .35s var(--ease-out); }
.price li span { transition: transform .35s var(--ease-out); }
.travel__zones li { transition: transform .3s var(--ease-out), background-color .3s, border-color .3s; }
.feature__icon { transition: transform .45s var(--ease-sprezyna), background-color .3s; }
.feature__icon svg { transition: stroke .3s; }
.step__num { transition: transform .45s var(--ease-sprezyna), box-shadow .35s; }
.contact__icon { transition: background-color .3s, transform .45s var(--ease-sprezyna); }
.contact__icon svg { transition: stroke .3s; }
.firmy-kafel__ikona { transition: transform .45s var(--ease-sprezyna), background-color .3s; }
.firmy-kafel__ikona svg { transition: stroke .3s; }
.www-demo { transition: transform .6s var(--ease-out); }
.footer__col a { transition: color .2s, transform .25s var(--ease-out); }
@media (hover: hover) {
  .btn--primary:hover::after { animation: blysk .75s ease; }
  .btn--ghost:hover { transform: translateY(-1px); }
  .card:hover { transform: translateY(-6px) scale(1.025); box-shadow: var(--shadow-lg); }
  .card:hover::after { transform: scaleX(1); }
  .card:hover .card__icon { transform: scale(1.08) rotate(-5deg); box-shadow: 0 12px 22px -10px rgba(20, 40, 64, .55); }
  .price:hover { background-color: #FFFDF8; }
  .card:hover .card__cena::after { background-color: var(--yellow); transform: translateX(3px); }
  .price li:hover::before { opacity: 1; transform: none; }
  .price li:hover span { transform: translateX(6px); }
  .travel__zones li:hover { transform: translateY(-4px) scale(1.04); background: rgba(255, 255, 255, .1); border-color: rgba(245, 181, 61, .6); }
  .feature:hover .feature__icon { transform: scale(1.14); background: var(--yellow); }
  .feature:hover .feature__icon svg { stroke: var(--navy-950); }
  .step:hover .step__num { transform: scale(1.1); box-shadow: 0 0 0 8px var(--white), 0 0 0 14px var(--yellow-soft); }
  .contact__list li:hover .contact__icon { background: var(--yellow); transform: scale(1.08); }
  .contact__list li:hover .contact__icon svg { stroke: var(--navy-950); }
  .firmy-kafel:hover { transform: translateY(-6px) scale(1.025); border-color: rgba(245, 181, 61, .6); background-color: rgba(255, 255, 255, .04); box-shadow: 0 26px 48px -22px rgba(0, 0, 0, .7), 0 0 0 1px rgba(245, 181, 61, .18); }
  .firmy-kafel:hover .firmy-kafel__ikona { transform: scale(1.1) rotate(-6deg); background: var(--yellow); }
  .firmy-kafel:hover .firmy-kafel__ikona svg { stroke: var(--navy-950); }
  .www-demo:hover { transform: translateY(-6px) scale(1.02); }
  .footer__col a:hover { transform: translateX(4px); }
}
@keyframes blysk { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }

/* Responsywność */
@media (max-width: 1024px) {
  .firmy-sekcja__gora { grid-template-columns: 1fr; gap: 40px; }
  .firmy-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .travel, .zdalnie { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .tlo-narzedzia { display: none; }
}

/* Menu chowa się pod przyciskiem, zanim linki (z „Bezpieczeństwem”) przestaną mieścić się w jednej linii */
@media (max-width: 1000px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px; background: var(--white); box-shadow: 0 16px 24px rgba(20, 40, 64, .1);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 16px; }
  .nav__cta { margin: 8px 0 0; }
}

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  /* Tablica cen: kolumny jedna pod drugą, rozdzielone poziomą linią */
  .prices { grid-template-columns: 1fr; }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .container { padding-inline: 20px; }
  .brand__text span { display: none; }
  .hero { padding-block: 56px 72px; }
  .hero__buttons .btn { flex: 1 1 100%; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; padding-top: 28px; }
  .stats dt { font-size: 1.15rem; }
  .stats dd { font-size: .78rem; line-height: 1.35; }
  .pill { font-size: .8rem; padding: 7px 14px; border-radius: 18px; line-height: 1.35; }
  .pill__kropka { display: none; }
  .pill .bez-lamania { display: block; }
  /* Grafika na telefonie: delikatny znak w tle nagłówka, nie spycha przycisków w dół */
  .hero__visual { position: absolute; right: -64px; top: 18px; width: 240px; padding: 0; opacity: .15; pointer-events: none; }
  .hero__visual .chip { display: none; }
  .hero__content { position: relative; z-index: 1; }
  .section { padding-block: 72px; }
  .section__head { margin-bottom: 40px; }
  .cards, .features { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .price { padding: 24px 20px 20px; }
  .travel, .zdalnie { padding: 24px 20px; }
  .firmy-kafle { grid-template-columns: 1fr; margin-top: 40px; }
  .firmy-sekcja__przyciski .btn { flex: 1 1 100%; }
  .zdalnie__akcja .btn { width: 100%; }
  .travel__zones { grid-template-columns: repeat(2, 1fr); }
  .travel__obszar { gap: 8px; padding-top: 16px; }
  .miejscowosci { gap: 5px; }
  .miejscowosci li { padding: 2px 9px; font-size: .76rem; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero--maly { padding-block: 44px 52px; }
  .zakladki button { font-size: .78rem; padding: 12px 4px 10px; gap: 4px; }
  .zakladki svg { width: 22px; height: 22px; }
  .panel { padding: 24px 18px 28px; }
  .panel h2 { font-size: 1.2rem; }
  .pole-akcja { flex-wrap: wrap; }
  .pole-akcja input { flex: 1 1 100%; }
  .pole-akcja .btn, .pole-akcja .btn-maly { flex: 1 1 auto; }
  .test__pytanie { grid-template-columns: 1fr; padding: 12px 14px 14px 48px; }
  .test__odp button { flex: 1; }
  .email-wyciek { padding: 16px 18px; }
  .cta__przyciski .btn { flex: 1 1 100%; }
  .mail { width: 100%; max-width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; }
  .mail__forma { padding: 20px 18px; }
  .mail textarea { min-height: 200px; }
  .mail__akcje .btn { flex: 1 1 100%; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 18px; bottom: 18px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); box-shadow: 0 10px 24px -6px rgba(20, 40, 64, .45);
  }
  .call-fab svg { width: 26px; height: 26px; fill: none; stroke: var(--navy-950); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}

@media (max-width: 480px) {
  /* Wybór rodzaju hasła zawsze w jednym rzędzie, trzy równe przyciski */
  .tryby { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .tryby button { padding: 10px 6px; font-size: .9rem; }
}

@media (max-width: 360px) {
  .container { padding-inline: 16px; }
  .panel { padding: 20px 14px 24px; }
  .panel__naglowek { flex-direction: column-reverse; gap: 8px; }
  .test__pytanie { padding: 12px 12px 12px 42px; }
  .test__pytanie::before { left: 10px; }
  .call-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .form { padding: 20px 14px; }
  .cf-turnstile { transform: scale(.84); transform-origin: left top; margin-bottom: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fala, .chip, .chip i::after, .nt-srub, .nt-klucz, .znak-404 .iskra { animation: none; }
  :is(.oszustwo, .pytanie) > *, .telefony__wiersz, .btn--primary::after { animation: none !important; }
  .narzedzia .panel > *, .zakladki svg, .ocena, .komunikat, .werdykt, .test__wskazowka, .test__odp button, .licznik, .pole-akcja--wynik input { animation: none !important; }
  .zakladki::after, .zakladki svg, .skroty a, .email-wyciek svg, .miernik__pasek { transition: none; }
  .telefony, .telefony.is-open { transition: opacity .15s, visibility 0s; transform: none; }
  .card, .card::after, .card__icon, .price, .price li::before, .price li span, .travel__zones li, .feature__icon, .step__num, .contact__icon, .firmy-kafel__ikona, .www-demo, .footer__col a, .call-fab, .budowa__ikona { transition: none; }
  /* Animacja strony: stały kadr — kursor na przycisku, powiadomienie widoczne */
  .www-demo *, .www-demo__kursor { animation: none !important; }
  .www-demo__kursor { transform: translate(16.4cqw, 39.8cqw); }
  .www-demo__powiadomienie { opacity: 1; }
  .firmy-kafel { transition: none; }
  .card, .btn { transition: none; }
}

/* Druk (regulamin, polityka, cennik): czarny tekst na białym, bez nawigacji i ozdobników */
@media print {
  .header, .burger, .skip, .call-fab, .footer, .hero__visual, .hero__rings, .firmy-sekcja__pierscienie, .www-demo, .telefony,
  .tlo-narzedzia, .form, .skroty, .hero__buttons, .firmy-sekcja__przyciski, .zdalnie__akcja .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .section--dark, .firmy-sekcja, .travel, .zdalnie, .section--light, .doc { background: none !important; }
  .hero *, .section--dark *, .firmy-sekcja *, .travel *, .zdalnie * { color: #000 !important; }
  .section, .hero { padding-block: 12pt; }
  .card, .price, .pytanie, .oszustwo, .firmy-kafel, .travel, .zdalnie { break-inside: avoid; border: 1px solid #999; }
  .doc a[href^="http"]::after, .doc a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* Strona 404 — ten sam nagłówek co na stronie głównej, tylko z rozłączonym kablem */
.hero--404 { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding-block: 64px 80px; }
.hero__inner--404 { gap: 48px; }
.linki-404 { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 40px 0 0; padding: 0; }
.linki-404 a {
  display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px 16px;
  border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--white); text-decoration: none; transition: background .16s, border-color .16s, transform .16s;
}
.linki-404 a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(245, 181, 61, .55); transform: translateY(-2px); }
.linki-404 svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--yellow); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.linki-404__tresc strong { display: block; font-size: 1rem; font-weight: 650; }
.linki-404__tresc span { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: #C3CEDC; }
.znak-404 .iskra { animation: iskra 2.6s ease-in-out infinite; }
.znak-404 .iskra--2 { animation-delay: .3s; }
.znak-404 .iskra--3 { animation-delay: .6s; }
@keyframes iskra { 0%, 40% { opacity: .35; } 55%, 72% { opacity: 1; } 100% { opacity: .35; } }

@media (max-width: 1024px) {
  /* Węższy ekran: grafika idzie nad treść, żeby nie wisiała samotnie pod odnośnikami */
  .hero--404 { min-height: 0; }
  .hero__inner--404 { gap: 32px; }
  .hero__visual--404 { order: -1; max-width: 320px; padding-block: 0; }
}

@media (max-width: 560px) {
  .linki-404 { grid-template-columns: 1fr; margin-top: 32px; }
}

@media (max-width: 640px) {
  /* Na telefonie grafika jest znakiem wodnym za nagłówkiem — pokazujemy ją w całości, na środku */
  .hero--404 { padding-block: 48px 64px; }
  .hero__visual--404 { left: 50%; right: auto; top: 4px; width: min(340px, 94%); transform: translateX(-50%); opacity: .14; }
}
