/* Pozwy i Pisma - arkusz stylów serwisu
   Bez zewnętrznych zasobów: fonty systemowe, brak CDN.
   Generowany do /assets/style.css przez .ai/build.sh */

:root {
  --granat: #16203c;
  --granat-jasny: #27324f;
  --zloto: #9a7b3f;
  --zloto-jasny: #c9a961;
  --tekst: #1f2937;
  --tekst-szary: #55617a;
  --tlo: #ffffff;
  --tlo-cieple: #f7f5f1;
  --tlo-chlodne: #f4f6fa;
  --linia: #e0e4ec;
  --biel: #ffffff;
  --promien: 6px;
  --cien: 0 1px 3px rgba(22, 32, 60, .07), 0 8px 24px rgba(22, 32, 60, .05);
  --szer: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--tlo);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
  line-height: 1.25;
  color: var(--granat);
  font-weight: 700;
}

h1 { font-size: 2.35rem; letter-spacing: -.01em; }
h2 { font-size: 1.75rem; margin-top: 2.4rem; margin-bottom: .9rem; }
h3 { font-size: 1.24rem; margin-top: 1.8rem; margin-bottom: .6rem; }
h4 { font-size: 1.06rem; margin-top: 1.4rem; margin-bottom: .4rem; }

p { margin-bottom: 1.05rem; }
a { color: var(--granat); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--zloto-jasny); }
a:hover { color: var(--zloto); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--zloto-jasny);
  outline-offset: 2px;
}
strong { font-weight: 650; color: var(--granat); }
em { font-style: italic; }
small { font-size: .875rem; }

ul, ol { margin: 0 0 1.05rem 1.35rem; }
li { margin-bottom: .4rem; }

.kontener { max-width: var(--szer); margin: 0 auto; padding: 0 24px; }
.waski { max-width: 780px; }

/* ---------- pasek statusu ---------- */
.status-pasek {
  background: var(--zloto);
  color: #fff;
  font-size: .875rem;
  text-align: center;
  padding: 8px 16px;
}
.status-pasek a { color: #fff; text-decoration-color: rgba(255,255,255,.6); }

/* ---------- nagłówek ---------- */
.naglowek {
  background: var(--granat);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.naglowek .kontener { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.logo span { color: var(--zloto-jasny); }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; }
.menu li { margin: 0; }
.menu a {
  display: block;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .93rem;
  padding: 9px 12px;
  border-radius: var(--promien);
}
.menu a:hover { color: #fff; background: var(--granat-jasny); }
.menu a[aria-current] { color: #fff; background: var(--granat-jasny); }
.menu .cta a, a.cta {
  background: var(--zloto);
  color: #fff;
  font-weight: 600;
}
.menu .cta a:hover { background: var(--zloto-jasny); color: #fff; }
.menu-przycisk {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--promien);
  color: #fff;
  font-size: .9rem;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- okruszki ---------- */
.okruszki {
  font-size: .84rem;
  color: var(--tekst-szary);
  padding: 14px 0 0;
}
.okruszki ol { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.okruszki li { margin: 0; }
.okruszki li + li::before { content: "/"; margin-right: 6px; color: var(--linia); }
.okruszki a { color: var(--tekst-szary); }

/* ---------- sekcja główna ---------- */
.hero { background: var(--tlo-cieple); padding: 64px 0 56px; border-bottom: 1px solid var(--linia); }
.hero .etykieta {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--zloto);
  font-weight: 650;
  margin-bottom: 14px;
}
.hero h1 { max-width: 17ch; margin-bottom: 18px; }
.hero .wstep { font-size: 1.13rem; color: var(--tekst-szary); max-width: 62ch; }
.hero-akcje { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.przycisk {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--promien);
  font-size: .97rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.przycisk-glowny { background: var(--granat); color: #fff; }
.przycisk-glowny:hover { background: var(--granat-jasny); color: #fff; }
.przycisk-zloty { background: var(--zloto); color: #fff; }
.przycisk-zloty:hover { background: var(--zloto-jasny); color: #fff; }
.przycisk-obrys { background: transparent; color: var(--granat); border-color: var(--linia); }
.przycisk-obrys:hover { border-color: var(--granat); color: var(--granat); background: var(--biel); }

/* ---------- treść ---------- */
main { padding-bottom: 64px; }
.tresc { padding-top: 28px; }
.tresc > h1 { margin-bottom: 18px; }
.tresc .lead { font-size: 1.1rem; color: var(--tekst-szary); margin-bottom: 1.6rem; }

.podsumowanie {
  background: var(--tlo-chlodne);
  border-left: 4px solid var(--zloto);
  border-radius: 0 var(--promien) var(--promien) 0;
  padding: 20px 24px;
  margin: 0 0 2rem;
}
.podsumowanie h2 {
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--zloto);
  margin: 0 0 .6rem;
  font-family: inherit;
}
.podsumowanie p:last-child, .podsumowanie ul:last-child { margin-bottom: 0; }

.ramka {
  background: var(--tlo-cieple);
  border: 1px solid var(--linia);
  border-radius: var(--promien);
  padding: 22px 24px;
  margin: 1.8rem 0;
}
.ramka h3 { margin-top: 0; }
.ramka p:last-child { margin-bottom: 0; }

.uwaga {
  background: #fdf8ec;
  border: 1px solid #ecdcb4;
  border-radius: var(--promien);
  padding: 18px 22px;
  margin: 1.8rem 0;
  font-size: .95rem;
}
.uwaga p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .95rem;
}
.tabela-przewijana { overflow-x: auto; margin: 1.4rem 0; }
.tabela-przewijana table { margin: 0; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linia); vertical-align: top; }
th { background: var(--tlo-chlodne); color: var(--granat); font-weight: 650; font-size: .9rem; }
tbody tr:last-child td { border-bottom: none; }

dl { margin: 1.2rem 0; }
dt { font-weight: 650; color: var(--granat); margin-top: 1rem; }
dd { margin: .25rem 0 0; color: var(--tekst-szary); }

/* ---------- siatki kart ---------- */
.sekcja { padding: 56px 0; }
.sekcja-cieple { background: var(--tlo-cieple); }
.sekcja-chlodne { background: var(--tlo-chlodne); }
.naglowek-sekcji { max-width: 68ch; margin-bottom: 32px; }
.naglowek-sekcji h2 { margin-top: 0; }
.naglowek-sekcji p { color: var(--tekst-szary); margin-bottom: 0; }

.siatka { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.karta {
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: var(--promien);
  padding: 24px;
}
.karta h3 { margin-top: 0; margin-bottom: .45rem; font-size: 1.12rem; }
.karta p { color: var(--tekst-szary); font-size: .95rem; margin-bottom: 0; }
.karta-link { display: block; text-decoration: none; color: inherit; }
.karta-link:hover { border-color: var(--zloto-jasny); box-shadow: var(--cien); color: inherit; }
.karta-link h3 { text-decoration: underline; text-decoration-color: var(--zloto-jasny); text-underline-offset: 2px; }
.karta .wiecej { display: inline-block; margin-top: .8rem; font-size: .89rem; color: var(--zloto); font-weight: 600; }

.kroki { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: krok; }
.krok { position: relative; padding-top: 46px; }
.krok::before {
  counter-increment: krok;
  content: counter(krok);
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--granat);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.krok h3 { margin-top: 0; }
.krok p { color: var(--tekst-szary); font-size: .95rem; margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--linia);
  border-radius: var(--promien);
  padding: 0;
  margin-bottom: 10px;
  background: var(--biel);
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 650;
  color: var(--granat);
  list-style: none;
  position: relative;
  padding-right: 46px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zloto);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .odpowiedz { padding: 0 20px 18px; color: var(--tekst-szary); }
.faq .odpowiedz p:last-child { margin-bottom: 0; }

/* ---------- wezwanie do działania ---------- */
.cta-blok {
  background: var(--granat);
  color: rgba(255,255,255,.86);
  border-radius: var(--promien);
  padding: 40px 36px;
  margin: 3rem 0 0;
  text-align: center;
}
.cta-blok h2 { color: #fff; margin-top: 0; }
.cta-blok p { max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta-blok .hero-akcje { justify-content: center; }
.cta-blok .przycisk-obrys { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-blok .przycisk-obrys:hover { background: var(--granat-jasny); color: #fff; border-color: #fff; }

/* ---------- formularz ---------- */
.formularz { max-width: 680px; }
.pole { margin-bottom: 20px; }
.pole label { display: block; font-weight: 650; color: var(--granat); font-size: .95rem; margin-bottom: 6px; }
.pole .podpowiedz { display: block; font-weight: 400; color: var(--tekst-szary); font-size: .85rem; margin-top: 2px; }
.pole input[type="text"], .pole input[type="email"], .pole input[type="tel"], .pole select, .pole textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--tekst);
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: var(--promien);
  padding: 11px 13px;
}
.pole textarea { min-height: 170px; resize: vertical; }
.pole-zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--tekst-szary); }
.pole-zgoda input { margin-top: 4px; flex: 0 0 auto; }
.pole-zgoda label { font-weight: 400; color: var(--tekst-szary); font-size: .9rem; }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.komunikat { border-radius: var(--promien); padding: 16px 20px; margin-bottom: 24px; font-size: .95rem; }
.komunikat-ok { background: #eef7ee; border: 1px solid #bfdcbf; }
.komunikat-blad { background: #fdeeee; border: 1px solid #e6bcbc; }

/* ---------- stopka ---------- */
.stopka { background: var(--granat); color: rgba(255,255,255,.72); padding: 48px 0 28px; font-size: .92rem; }
.stopka a { color: rgba(255,255,255,.82); text-decoration: none; }
.stopka a:hover { color: #fff; text-decoration: underline; }
.stopka-siatka { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stopka h2 { font-family: inherit; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--zloto-jasny); margin: 0 0 12px; }
.stopka ul { list-style: none; margin: 0; }
.stopka li { margin-bottom: 7px; }
.stopka-logo { font-family: Georgia, serif; font-size: 1.15rem; color: #fff; font-weight: 700; display: block; margin-bottom: 10px; }
.stopka-logo span { color: var(--zloto-jasny); }
.stopka-dol {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 32px;
  padding-top: 18px;
  font-size: .85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}
.zastrzezenie { font-size: .85rem; color: rgba(255,255,255,.6); max-width: 78ch; margin-top: 12px; }

.aktualizacja { font-size: .85rem; color: var(--tekst-szary); border-top: 1px solid var(--linia); padding-top: 14px; margin-top: 2.5rem; }

/* ---------- responsywność ---------- */
@media (max-width: 860px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 44px 0 40px; }
  .menu-przycisk { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--granat);
    padding: 8px 16px 16px;
    border-top: 1px solid var(--granat-jasny);
  }
  .menu.otwarte { display: flex; }
  .menu a { padding: 12px 8px; }
  .naglowek .kontener { position: relative; }
  .cta-blok { padding: 32px 22px; }
}

@media print {
  .naglowek, .stopka, .status-pasek, .cta-blok, .okruszki, .menu-przycisk { display: none; }
  body { font-size: 11pt; }
  a { text-decoration: none; color: #000; }
}

/* ---------- klasy pomocnicze ---------- */
.odstep-gora { margin-top: 28px; }
.ograniczony { max-width: 900px; }
