/* VoltKontrola, arkusz stylów.
   Duży tekst i mocny kontrast. Zero animacji przy scrollu.
   Spora część odbiorców to ludzie 40+ czytający z telefonu. */

:root {
  --granat: #0e2c4d;
  --granat-ciemny: #082038;
  --granat-jasny: #1c4b7d;
  --zolty: #f2a900;
  --zolty-ciemny: #d69400;
  --tekst: #1a222c;
  --tekst-slaby: #4a5563;
  --tlo: #ffffff;
  --tlo-szare: #f4f6f8;
  --ramka: #d8dee5;
  --zielony: #1e7a45;
  --czerwony: #b3261e;
  --radius: 10px;
  --szer: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--tlo);
}

@media (max-width: 640px) {
  body { font-size: 18px; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--granat-jasny); }
a:hover { color: var(--granat); }

h1, h2, h3 { line-height: 1.25; color: var(--granat); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.85rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

.kontener { width: 100%; max-width: var(--szer); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--granat); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--zolty); outline-offset: 2px; }

/* --- pasek górny --- */
.pasek-gorny { background: var(--granat-ciemny); color: #cddced; font-size: .88rem; }
.pasek-gorny__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 40px;
}
.pasek-gorny__tekst { opacity: .9; }
.pasek-gorny__tel {
  color: #fff; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.pasek-gorny__tel:hover { color: var(--zolty); }
@media (max-width: 640px) {
  .pasek-gorny__tekst { display: none; }
  .pasek-gorny__in { justify-content: center; }
}

/* --- nagłówek --- */
.naglowek {
  background: #fff; border-bottom: 1px solid var(--ramka);
  position: sticky; top: 0; z-index: 40;
}
.naglowek__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--granat); }
/* Znak firmowy jest osobnym plikiem SVG i ma wlasne ciemne tlo,
   wiec kafelek nie potrzebuje juz zoltego podkladu. */
.logo__znak {
  width: 42px; height: 42px; flex: none; border-radius: 9px;
  display: block;
}
.logo__tekst { display: flex; flex-direction: column; line-height: 1.15; }
.logo__tekst strong { font-size: 1.28rem; letter-spacing: -.01em; }
.logo__tekst small { font-size: .76rem; color: var(--tekst-slaby); font-weight: 500; }

.menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--tekst); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.menu a:hover { background: var(--tlo-szare); color: var(--granat); }
.menu a[aria-current="page"] { color: var(--granat); box-shadow: inset 0 -3px 0 var(--zolty); }

.menu-przycisk {
  display: none; align-items: center; gap: 9px;
  background: var(--tlo-szare); border: 1px solid var(--ramka); border-radius: 8px;
  padding: 11px 15px; font: inherit; font-size: 1rem; font-weight: 600;
  color: var(--granat); cursor: pointer;
}
.menu-przycisk__kreski, .menu-przycisk__kreski::before, .menu-przycisk__kreski::after {
  display: block; width: 20px; height: 2px; background: currentColor; content: ''; position: relative;
}
.menu-przycisk__kreski::before { top: -6px; }
.menu-przycisk__kreski::after { top: 4px; }

@media (max-width: 860px) {
  .menu-przycisk { display: inline-flex; }
  .menu { display: none; width: 100%; order: 3; }
  .menu.otwarte { display: block; }
  .menu ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .menu a { padding: 14px 12px; border-top: 1px solid var(--ramka); border-radius: 0; font-size: 1.08rem; }
  .naglowek__in { flex-wrap: wrap; }
}

/* --- przyciski --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 16px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  min-height: 56px; /* palec musi trafić za pierwszym razem */
}
.btn--glowny { background: var(--zolty); color: var(--granat-ciemny); }
.btn--glowny:hover { background: var(--zolty-ciemny); color: var(--granat-ciemny); }
.btn--drugi { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--drugi:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--ciemny { background: var(--granat); color: #fff; }
.btn--ciemny:hover { background: var(--granat-ciemny); color: #fff; }
.btn--pelny { width: 100%; }

/* --- hero --- */
.hero { background: var(--granat); color: #fff; padding: 64px 0 72px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lead { font-size: 1.16rem; color: #d3e0ee; max-width: 46ch; margin-bottom: 1.6em; }
.hero__akcje { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__atuty {
  list-style: none; margin: 34px 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid; gap: 14px 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.hero__atuty li { display: flex; gap: 11px; align-items: flex-start; color: #dce7f2; font-size: 1rem; }
.hero__atuty svg { flex: none; color: var(--zolty); margin-top: 3px; }

/* --- sekcje --- */
.sekcja { padding: 62px 0; }
.sekcja--szara { background: var(--tlo-szare); }
.sekcja__naglowek { max-width: 62ch; margin-bottom: 38px; }
.sekcja__naglowek p { color: var(--tekst-slaby); margin: 0; }

.siatka { display: grid; gap: 22px; }
.siatka--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.siatka--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.karta {
  background: #fff; border: 1px solid var(--ramka); border-radius: var(--radius);
  padding: 26px 24px;
}
.karta h3 { margin-bottom: .4em; }
.karta p { margin: 0; color: var(--tekst-slaby); font-size: 1rem; }
.karta__ikona {
  width: 46px; height: 46px; border-radius: 9px; margin-bottom: 16px;
  background: #fdf1d6; color: var(--granat); display: grid; place-items: center;
}
.karta__link { display: inline-block; margin-top: 14px; font-weight: 600; }

/* kroki */
.krok { display: flex; gap: 18px; align-items: flex-start; }
.krok__nr {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--granat); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 1.1rem;
}
.krok h3 { margin-bottom: .3em; }
.krok p { color: var(--tekst-slaby); font-size: 1rem; margin: 0; }

/* --- treść artykułu --- */
.artykul { max-width: 68ch; }
.artykul h2 { margin-top: 1.6em; }
.artykul ul, .artykul ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.artykul li { margin-bottom: .5em; }

.naglowek-strony { background: var(--tlo-szare); border-bottom: 1px solid var(--ramka); padding: 44px 0 40px; }
.naglowek-strony p { color: var(--tekst-slaby); max-width: 62ch; margin: 0; }

.okruszki { font-size: .9rem; color: var(--tekst-slaby); margin-bottom: 14px; }
.okruszki a { color: var(--tekst-slaby); }

/* --- lista miejscowości --- */
.miejscowosci { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.miejscowosci a {
  display: block; padding: 15px 18px; background: #fff;
  border: 1px solid var(--ramka); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; color: var(--granat);
}
.miejscowosci a:hover { border-color: var(--granat-jasny); background: #fbfcfd; }
.miejscowosci small { display: block; font-weight: 400; color: var(--tekst-slaby); font-size: .85rem; }

.znaczniki { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.znaczniki li {
  background: #fff; border: 1px solid var(--ramka); border-radius: 20px;
  padding: 6px 14px; font-size: .92rem; color: var(--tekst-slaby);
}

/* --- CTA --- */
.cta { background: var(--granat); color: #fff; padding: 54px 0; }
.cta h2 { color: #fff; }
.cta p { color: #d3e0ee; max-width: 56ch; }
.cta__akcje { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* --- formularz --- */
.formularz { max-width: 620px; }
.pole { margin-bottom: 20px; }
.pole label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 1rem; }
.pole__pomoc { display: block; font-weight: 400; color: var(--tekst-slaby); font-size: .9rem; margin-top: -3px; margin-bottom: 7px; }
.pole input, .pole select, .pole textarea {
  width: 100%; padding: 14px 15px; font: inherit; font-size: 1.02rem;
  border: 2px solid var(--ramka); border-radius: var(--radius);
  background: #fff; color: var(--tekst); min-height: 54px;
}
.pole textarea { min-height: 150px; resize: vertical; }
.pole input:focus, .pole select:focus, .pole textarea:focus { border-color: var(--granat-jasny); outline: none; }
.pole--zgoda { display: flex; gap: 12px; align-items: flex-start; }
.pole--zgoda input { width: 24px; height: 24px; min-height: 0; flex: none; margin-top: 3px; }
.pole--zgoda label { font-weight: 400; font-size: .95rem; color: var(--tekst-slaby); }
.pole--pulapka { position: absolute; left: -9999px; }

.komunikat { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 1rem; }
.komunikat--ok { background: #e6f4ec; border: 1px solid var(--zielony); color: #14562f; }
.komunikat--blad { background: #fbeae9; border: 1px solid var(--czerwony); color: #8c1d17; }

.kontakt-bezposredni {
  background: var(--tlo-szare); border: 1px solid var(--ramka);
  border-radius: var(--radius); padding: 26px 24px;
}
.kontakt-bezposredni a { font-size: 1.35rem; font-weight: 700; text-decoration: none; }

/* --- stopka --- */
.stopka { background: var(--granat-ciemny); color: #b9cbdd; padding: 48px 0 0; margin-top: 0; font-size: .96rem; }
.stopka a { color: #fff; text-decoration: none; }
.stopka a:hover { color: var(--zolty); }
.stopka__siatka { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding-bottom: 34px; }
.stopka__nazwa { color: #fff; font-weight: 700; font-size: 1.2rem; margin: 0 0 .3em; }
.stopka__opis { margin: 0; }
.stopka__tytul { color: #fff; font-weight: 700; margin: 0 0 .5em; }
.stopka__lista { list-style: none; margin: 0; padding: 0; }
.stopka__lista li { margin-bottom: .4em; }
.stopka__dol { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; padding-bottom: 18px; font-size: .88rem; }
.stopka__dol p { margin: 0; }

/* --- przycisk telefonu na mobile --- */
.tel-mobile { display: none; }
@media (max-width: 860px) {
  .tel-mobile {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    background: var(--zolty); color: var(--granat-ciemny);
    padding: 16px; border-radius: var(--radius); font-weight: 700; font-size: 1.08rem;
    text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,.25);
  }
  body { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* dwie kolumny dla dlugiej listy miejscowosci w stopce */
.stopka__lista--dwie { columns: 2; column-gap: 18px; }
@media (max-width: 480px) { .stopka__lista--dwie { columns: 2; font-size: .92rem; } }
