/* Niezapominajka – style strony (bez zewnętrznych bibliotek, czcionki systemowe) */
:root {
  --niebieski: #0369a1;        /* sky-700, kontrast z białym 5,9:1 */
  --niebieski-ciemny: #075985; /* sky-800 */
  --niebieski-jasny: #e0f2fe;  /* sky-100 */
  --niebieski-tlo: #f0f9ff;    /* sky-50 */
  --ramka: #e2e8f0;
  --tekst: #1e293b;
  --tekst-2: #475569;
  --zielony: #059669;
  --granat: #0f172a;
  --promien: 16px;
  --cien: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --fokus: 3px solid #f59e0b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tekst);
  background: #fbfdff;
}
h1, h2, h3 { line-height: 1.2; color: var(--granat); margin: 0; }
p { margin: 0; }
a { color: var(--niebieski); }
a:hover { color: var(--niebieski-ciemny); }
:focus-visible { outline: var(--fokus); outline-offset: 2px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ikona { width: 1.1em; height: 1.1em; flex: none; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--granat); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: .75rem; color: #fff; }

.kontener { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.kontener--waski { max-width: 48rem; }

/* Nagłówek */
.naglowek { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--niebieski-jasny); box-shadow: var(--cien); }
@supports (backdrop-filter: blur(8px)) { .naglowek { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); } }
.naglowek__wnetrze { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .6rem; padding-bottom: .6rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.logo__ikona { width: 44px; height: 44px; flex: none; }
.logo__nazwa { display: block; font-weight: 800; font-size: 1.05rem; letter-spacing: .03em; color: #082f49; line-height: 1.1; }
.logo__opis { display: block; font-size: .75rem; color: var(--tekst-2); }
.tylko-szeroki { display: none; }
@media (min-width: 640px) { .tylko-szeroki { display: inline; } }

/* Przyciski */
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .7rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, box-shadow .15s;
}
.przycisk--glowny { background: var(--niebieski); color: #fff; box-shadow: 0 6px 16px rgba(3, 105, 161, .22); }
.przycisk--glowny:hover { background: var(--niebieski-ciemny); color: #fff; }
.przycisk--jasny { background: #fff; color: var(--tekst); border-color: #cbd5e1; font-weight: 600; }
.przycisk--jasny:hover { background: #f8fafc; color: var(--tekst); }
.przycisk--szary { background: #f1f5f9; color: var(--tekst); font-weight: 600; }
.przycisk--szary:hover { background: #e2e8f0; color: var(--tekst); }
.przycisk--maly { padding: .5rem 1rem; font-size: .9rem; white-space: nowrap; }
.przycisk--duzy { padding: .9rem 1.75rem; font-size: 1.1rem; }
.przycisk--pelny { width: 100%; }
.przycisk[disabled] { opacity: .7; cursor: wait; }

/* Hero */
.hero { padding: 3.5rem 0 3rem; text-align: center; background: linear-gradient(to bottom, rgba(224, 242, 254, .7), rgba(240, 249, 255, .4) 60%, transparent); }
.znacznik { display: inline-block; background: var(--niebieski-jasny); color: #075985; border: 1px solid #bae6fd; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .8rem; border-radius: 999px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 800; margin: 1rem 0 .5rem; }
.hero__haslo { font-size: clamp(1.15rem, 2.6vw, 1.4rem); color: var(--niebieski-ciemny); font-weight: 600; margin-bottom: 1rem; }
.hero__opis { color: var(--tekst-2); font-size: 1.075rem; max-width: 40rem; margin: 0 auto 2rem; }
.hero__przyciski { display: flex; flex-direction: column; gap: .9rem; justify-content: center; }
@media (min-width: 640px) { .hero__przyciski { flex-direction: row; } }

/* Atuty */
.atuty { padding: 1rem 0 1.5rem; }
.atuty__siatka { display: grid; gap: 1rem; }
@media (min-width: 768px) { .atuty__siatka { grid-template-columns: repeat(3, 1fr); } }
.atut { background: #fff; border: 1px solid var(--ramka); border-radius: var(--promien); padding: 1.25rem; text-align: center; }
.atut__ikona { width: 32px; height: 32px; color: var(--niebieski); margin-bottom: .4rem; }
.atut__tytul { font-size: 1.05rem; margin-bottom: .25rem; }
.atut p { color: var(--tekst-2); font-size: .95rem; }

/* Sekcje */
.sekcja { padding: 3rem 0; scroll-margin-top: 70px; }
.sekcja__tytul { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; text-align: center; margin-bottom: .5rem; }
.sekcja__opis { color: var(--tekst-2); text-align: center; margin-bottom: 2.25rem; }

/* Pakiety */
.pakiety { display: grid; gap: 2rem; }
@media (min-width: 900px) { .pakiety { grid-template-columns: repeat(3, 1fr); } }
.pakiet { position: relative; background: #fff; border: 1px solid var(--ramka); border-radius: var(--promien); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; box-shadow: var(--cien); }
.pakiet--wyrozniony { border: 2px solid #38bdf8; box-shadow: 0 10px 30px rgba(3, 105, 161, .12); }
.pakiet__plakietka { position: absolute; top: -.9rem; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--niebieski); color: #fff; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem 1rem; border-radius: 999px; }
.pakiet__nazwa { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.pakiet__cena { font-size: 1.9rem; font-weight: 800; color: var(--niebieski); margin-bottom: 1rem; }
.pakiet__cena--tekst { font-size: 1.5rem; }
.lista { list-style: none; margin: 0; padding: 0; color: var(--tekst-2); font-size: .95rem; }
.lista li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .6rem; }
.ikona--ok { color: var(--zielony); margin-top: .3em; }

/* Formularz */
.karta { background: #fff; border: 1px solid var(--niebieski-jasny); border-radius: 24px; padding: 1.5rem; box-shadow: var(--cien); }
@media (min-width: 640px) { .karta { padding: 2.5rem; } }
.formularz { display: grid; gap: 1.1rem; }
.formularz__info { font-size: .85rem; color: var(--tekst-2); }
.pola-2 { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .pola-2 { grid-template-columns: 1fr 1fr; } }
.pole label { display: block; font-size: .92rem; font-weight: 600; color: #334155; margin-bottom: .3rem; }
.wymagane { color: #b91c1c; }
.pole input, .pole textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tekst); background: #fff;
  border: 1px solid #94a3b8; border-radius: 12px; padding: .75rem .85rem;
}
.pole input:focus-visible, .pole textarea:focus-visible { outline: var(--fokus); outline-offset: 1px; border-color: var(--niebieski); }
.pole textarea { resize: vertical; min-height: 6rem; }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rodo { display: flex; gap: .75rem; align-items: flex-start; background: var(--niebieski-tlo); border: 1px solid var(--niebieski-jasny); border-radius: 12px; padding: 1rem; font-size: .85rem; color: var(--tekst-2); }
.rodo__ikona { width: 22px; height: 22px; color: var(--niebieski); margin-top: .1rem; }
.formularz__status { min-height: 1.5em; text-align: center; font-weight: 600; }
.formularz__status--blad { color: #b91c1c; }
.formularz__status--ok { color: #047857; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--ramka); border-radius: 12px; padding: 0 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style-position: outside; }
.faq details[open] summary { color: var(--niebieski-ciemny); }
.faq details p { color: var(--tekst-2); padding-bottom: 1rem; }

/* Stopka */
.stopka { background: var(--granat); color: #fff; text-align: center; padding: 2.5rem 0; margin-top: 2rem; }
.stopka a { color: #7dd3fc; }
.stopka a:hover { color: #bae6fd; }
.stopka__nazwa { font-weight: 800; font-size: 1.25rem; color: #7dd3fc; }
.stopka__opis { color: #cbd5e1; font-size: .92rem; margin-bottom: .5rem; }
.stopka__tel { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.25rem; }
.stopka__tel a { color: #fff; text-decoration: none; }
.stopka__male { font-size: .8rem; color: #94a3b8; max-width: 34rem; margin: 0 auto .6rem; }

/* Podstrony (polityka, dziękujemy, 404) */
.tekst { padding: 2.5rem 0 3rem; }
.tekst h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 1rem; }
.tekst h2 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.tekst p, .tekst li { color: #334155; }
.tekst p + p { margin-top: .75rem; }
.tekst ul { padding-left: 1.25rem; }
.uwaga { background: var(--niebieski-tlo); border: 1px solid var(--niebieski-jasny); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.srodek { text-align: center; }
.srodek .przycisk { margin-top: 1.5rem; }
