/* Lykta – Ochrona Informacji Niejawnych */

:root {
  --granat: #10233d;
  --granat-jasny: #1c3a63;
  --stal: #47586f;
  --zloto: #b8912f;
  --tlo: #f6f7f9;
  --biel: #ffffff;
  --tekst: #23303f;
  --szary: #5d6b7c;
  --linia: #dfe4ea;
  --maks: 1140px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ---------- Nagłówek ---------- */
.top {
  background: var(--granat);
  color: #c3cede;
  font-size: 14px;
  padding: 8px 0;
}
.top .kontener { display: flex; justify-content: flex-end; gap: 28px; flex-wrap: wrap; }
.top a { color: #c3cede; text-decoration: none; }
.top a:hover { color: var(--biel); }

header {
  background: var(--biel);
  border-bottom: 1px solid var(--linia);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .kontener {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  flex-wrap: wrap;
}
.logo { text-decoration: none; display: block; padding: 14px 0; }
.logo b {
  display: block;
  font-size: 25px;
  letter-spacing: 3px;
  color: var(--granat);
  font-weight: 700;
}
.logo span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--stal);
}

nav ul { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
nav a {
  text-decoration: none;
  color: var(--tekst);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
nav a:hover { color: var(--granat-jasny); border-bottom-color: var(--zloto); }
nav a.akt { color: var(--granat-jasny); border-bottom-color: var(--zloto); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block;
  background: var(--zloto);
  color: #1a1405;
  padding: 14px 30px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--zloto);
  transition: background .18s, color .18s;
}
.btn:hover { background: #a37f24; border-color: #a37f24; color: #fff; }
.btn-obrys {
  background: transparent;
  color: var(--biel);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-obrys:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #16304f 0%, #0b1626 100%);
  background-color: var(--granat);
  color: var(--biel);
  padding: 96px 0 88px;
  text-align: center;
}
.hero .etykieta {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--zloto);
  border: 1px solid rgba(184,145,47,.55);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 43px;
  line-height: 1.22;
  font-weight: 700;
  max-width: 860px;
  margin: 0 auto 22px;
  letter-spacing: -.4px;
}
.hero p {
  font-size: 19px;
  color: #ccd6e3;
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-akcje { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero ze zdjęciem w tle */
.hero-foto {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-foto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(11,22,38,.94) 0%, rgba(16,35,61,.86) 55%, rgba(16,35,61,.72) 100%);
}
.hero-foto .kontener { position: relative; z-index: 1; }

/* Hero mniejszy na podstronach */
.hero-mini { padding: 66px 0 58px; text-align: left; }
.hero-mini h1 { font-size: 36px; margin-left: 0; margin-right: 0; max-width: 820px; }
.hero-mini p { margin-left: 0; margin-right: 0; font-size: 18px; }
.okruszki { font-size: 13px; color: #93a4b8; margin-bottom: 16px; }
.okruszki a { color: #93a4b8; text-decoration: none; }
.okruszki a:hover { color: #fff; }

/* ---------- Sekcje ---------- */
section { padding: 74px 0; }
section.szara { background: var(--tlo); }

.naglowek-sekcji { max-width: 760px; margin-bottom: 46px; }
.naglowek-sekcji.srodek { margin-left: auto; margin-right: auto; text-align: center; }
.nadtytul {
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--zloto);
  font-weight: 700;
  margin-bottom: 12px;
}
h2 {
  font-size: 32px;
  line-height: 1.28;
  color: var(--granat);
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 16px;
}
h3 {
  font-size: 21px;
  color: var(--granat);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}
h4 { font-size: 17px; color: var(--granat); font-weight: 700; margin-bottom: 8px; }

p + p { margin-top: 16px; }
.wiodacy { font-size: 19px; color: var(--szary); }

/* ---------- Karty ---------- */
.siatka { display: grid; gap: 26px; }
.siatka-3 { grid-template-columns: repeat(3, 1fr); }
.siatka-2 { grid-template-columns: repeat(2, 1fr); }

.karta {
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: 4px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.karta .nr {
  font-size: 13px;
  font-weight: 700;
  color: var(--zloto);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.karta p { color: var(--szary); font-size: 16px; }
.karta .wiecej {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--granat-jasny);
}
.karta .wiecej:hover { text-decoration: underline; }

/* ---------- Zdjęcia ---------- */
.foto {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  background: var(--tlo);
}
.foto-ramka {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 38px rgba(16,35,61,.16);
}
.foto-ramka .foto { border-radius: 0; }
.foto-podpis {
  font-size: 13px;
  color: var(--szary);
  margin-top: 10px;
  font-style: italic;
}

/* Zdjęcie w nagłówku karty */
.karta-foto { padding: 0; overflow: hidden; }
.karta-foto .foto { height: 190px; border-radius: 0; }
.karta-foto .karta-tresc { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.karta-foto .karta-tresc p { color: var(--szary); font-size: 16px; }
.karta-foto .wiecej { margin-top: auto; padding-top: 18px; }

/* Pasek zdjęć */
.pasek-foto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pasek-foto .foto { height: 220px; }

/* ---------- Listy ---------- */
.lista { list-style: none; }
.lista li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  color: var(--szary);
}
.lista li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--zloto);
  border-radius: 50%;
}
.lista li strong { color: var(--tekst); }

.lista-num { list-style: none; counter-reset: k; }
.lista-num li {
  counter-increment: k;
  position: relative;
  padding-left: 52px;
  margin-bottom: 26px;
}
.lista-num li::before {
  content: counter(k);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--granat);
  color: var(--biel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.lista-num li p { color: var(--szary); margin-top: 4px; }

/* ---------- Statystyki ---------- */
.staty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.staty .poz b { display: block; font-size: 38px; color: var(--granat); font-weight: 700; line-height: 1.2; }
.staty .poz span { font-size: 14px; color: var(--szary); }

/* ---------- Wyróżnienie ---------- */
.wyroznik {
  background: var(--granat);
  color: var(--biel);
  padding: 34px 34px;
  border-radius: 4px;
  border-left: 4px solid var(--zloto);
}
.wyroznik h3 { color: var(--biel); }
.wyroznik p { color: #ccd6e3; }

.ramka {
  border: 1px solid var(--linia);
  border-left: 4px solid var(--zloto);
  background: var(--tlo);
  padding: 24px 28px;
  border-radius: 3px;
  margin: 26px 0;
}
.ramka p { color: var(--szary); }

/* ---------- Tabela ---------- */
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linia); }
th { background: var(--tlo); color: var(--granat); font-weight: 700; font-size: 15px; }
td { color: var(--szary); }

/* ---------- CTA ---------- */
.cta { background: var(--granat); color: var(--biel); text-align: center; }
.cta h2 { color: var(--biel); }
.cta p { color: #ccd6e3; max-width: 640px; margin: 0 auto 30px; font-size: 18px; }

/* ---------- Kontakt ---------- */
.kontakt-siatka { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.dane-poz { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.dane-poz .ikona {
  flex: 0 0 42px;
  height: 42px;
  background: var(--tlo);
  border: 1px solid var(--linia);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.dane-poz .tresc span { display: block; font-size: 13px; color: var(--szary); text-transform: uppercase; letter-spacing: 1px; }
.dane-poz .tresc a, .dane-poz .tresc b { font-size: 18px; color: var(--granat); text-decoration: none; font-weight: 600; }
.dane-poz .tresc a:hover { text-decoration: underline; }

form label { display: block; font-size: 14px; font-weight: 600; color: var(--granat); margin-bottom: 6px; }
form input, form textarea, form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--linia);
  border-radius: 3px;
  font-size: 16px;
  font-family: inherit;
  margin-bottom: 18px;
  background: var(--biel);
  color: var(--tekst);
}
form input:focus, form textarea:focus, form select:focus { outline: 2px solid var(--granat-jasny); border-color: transparent; }
form textarea { min-height: 130px; resize: vertical; }
.zgoda { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--szary); margin-bottom: 20px; }
.zgoda input { width: auto; margin: 4px 0 0 0; flex: 0 0 auto; }
form button {
  background: var(--zloto);
  color: #1a1405;
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}
form button:hover { background: #a37f24; color: #fff; }

/* ---------- FAQ ---------- */
details {
  border: 1px solid var(--linia);
  border-radius: 3px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--biel);
}
details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--granat);
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  color: var(--zloto);
  font-weight: 400;
}
details[open] summary::after { content: "\2212"; }
details p { margin-top: 14px; color: var(--szary); }

/* ---------- Stopka ---------- */
footer { background: var(--granat); color: #a9b7c9; padding: 58px 0 26px; font-size: 15px; }
.stopka-siatka { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: var(--biel); font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: #a9b7c9; text-decoration: none; }
footer a:hover { color: var(--biel); }
.stopka-logo b { display: block; font-size: 22px; letter-spacing: 3px; color: var(--biel); margin-bottom: 10px; }
.stopka-dol {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* ---------- Responsywność ---------- */
@media (max-width: 900px) {
  .siatka-3, .siatka-2, .kontakt-siatka, .stopka-siatka { grid-template-columns: 1fr; }
  .pasek-foto { grid-template-columns: 1fr; }
  .pasek-foto .foto { height: 200px; }
  .karta-foto .foto { height: 170px; }
  .staty { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 33px; }
  .hero-mini h1 { font-size: 28px; }
  h2 { font-size: 26px; }
  section { padding: 54px 0; }
  header .kontener { min-height: auto; padding-bottom: 12px; }
  nav ul { gap: 16px; }
  nav a { font-size: 14px; }
  .top .kontener { justify-content: center; gap: 18px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 62px 0 56px; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 17px; }
  .btn { display: block; width: 100%; text-align: center; }
  .hero-akcje { flex-direction: column; }
  .staty { grid-template-columns: 1fr; }
  .karta { padding: 26px 22px; }
}
