:root {
  --navy-950: #050e22;
  --navy-900: #081a39;
  --navy-800: #0d2547;
  --paper: #f6f4ee;
  --paper-dim: #b9c4d6;
  --gold: #d8c9a3;
  --gold-bright: #f2e7cb;
  --slate: #7d8ba5;
  --line: rgba(216, 201, 163, 0.22);

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1160px;
  --edge: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { background: var(--navy-950); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  hyphens: none;
  -webkit-hyphens: none;
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.005em;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--edge); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

/* ================= TOPBAR ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--edge);
  background: rgba(5, 14, 34, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 201, 163, 0.14);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { height: 28px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.09em;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  top: 1px;
}
.brand-word em { font-style: normal; color: var(--gold); }

.topnav { display: flex; gap: 30px; }
.topnav a {
  line-height: 1;
  font-size: 13.5px;
  text-decoration: none;
  color: var(--paper-dim);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.topnav a:hover { color: var(--paper); border-color: var(--gold); }

.topbar-mail {
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.topbar-mail:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vh, 140px) var(--edge) 0;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(78% 62% at 50% 40%, rgba(5, 14, 34, 0.72) 0%, rgba(5, 14, 34, 0.44) 46%, rgba(5, 14, 34, 0.15) 74%),
    linear-gradient(180deg, rgba(5,14,34,0.86) 0%, rgba(5,14,34,0.2) 26%, rgba(5,14,34,0.55) 74%, var(--navy-950) 100%);
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 48px;
}
.hero-logo {
  width: min(280px, 62vw);
  margin: 0 auto 34px;
  filter: drop-shadow(0 6px 40px rgba(0,0,0,0.7));
}
.hero-claim {
  font-size: clamp(27px, 4.4vw, 50px);
  line-height: 1.24;
  text-shadow: 0 4px 34px rgba(0,0,0,0.75);
}
.hero-lead {
  margin: 24px auto 38px;
  max-width: 52ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #dfe5ef;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 20px var(--edge);
  border-top: 1px solid rgba(216, 201, 163, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(5, 14, 34, 0.55);
  backdrop-filter: blur(6px);
}
.hero-strip i { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; opacity: 0.6; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 15px 34px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s, border-color .22s;
}
.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #0a1a34;
  border: 1px solid var(--gold-bright);
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
  font-weight: 500;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(0,0,0,0.55); }
.btn--ghost {
  border: 1px solid rgba(216, 201, 163, 0.5);
  color: var(--paper);
  background: rgba(5, 14, 34, 0.42);
}
.btn--ghost:hover { border-color: var(--gold-bright); background: rgba(216, 201, 163, 0.12); }

/* ================= BANDS ================= */
.band { padding: clamp(52px, 6vw, 84px) 0; position: relative; }
.band--light {
  background: var(--navy-900);
  border-top: 1px solid rgba(216, 201, 163, 0.1);
  border-bottom: 1px solid rgba(216, 201, 163, 0.1);
}
.band-head { margin-bottom: clamp(32px, 4vw, 48px); }
.band-head h2, .about-head h2, .cta-inner h2 {
  font-size: clamp(24px, 3.3vw, 40px);
  line-height: 1.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-body .lead {
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  text-justify: inter-word;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--paper-dim);
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--paper-dim);
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 21px;
  width: 12px; height: 6px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative;
  padding: 34px 28px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid rgba(216, 201, 163, 0.2);
  border-radius: 3px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 201, 163, 0.42);
  box-shadow: 0 22px 54px rgba(0,0,0,0.45);
}
.card-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.card h3 { font-size: clamp(17px, 1.9vw, 21px); margin: 15px 0 13px; line-height: 1.38; }
.card p { margin: 0; color: var(--paper-dim); font-size: 14.5px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { padding-top: 26px; border-top: 1px solid var(--line); }
.step-no { font-family: var(--font-mono); font-size: 22px; color: var(--gold); opacity: 0.6; }
.steps h3 { font-size: 19px; margin: 12px 0 10px; }
.steps p { margin: 0; color: var(--paper-dim); font-size: 14.5px; }

.band--cta {
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(18, 48, 89, 0.85), transparent 70%),
    var(--navy-950);
  text-align: center;
}
.cta-inner p { color: var(--paper-dim); margin: 16px auto 32px; max-width: 44ch; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ci {
  background: var(--navy-950);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: background .22s;
}
a.ci:hover { background: var(--navy-800); }
.ci-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.ci-value { font-size: 16px; line-height: 1.5; word-break: break-word; }
.ci-value--muted { color: var(--slate); font-style: italic; }

.site-footer {
  padding: 46px 0 34px;
  border-top: 1px solid rgba(216, 201, 163, 0.14);
  background: var(--navy-950);
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.footer-inner .brand-mark { height: 22px; }
.footer-inner .brand-word { font-size: 13px; }
.footer-legal, .footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}
.footer-copy { margin-left: auto; }

.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy-800);
  border-top: 1px solid var(--gold);
  padding: 16px var(--edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-bar p { margin: 0; font-size: 13px; color: var(--paper-dim); max-width: 62ch; }
.cookie-bar[hidden] { display: none; }

.cookie-bar button {
  background: var(--gold);
  color: #0a1a34;
  border: 0;
  padding: 11px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
}

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .cards, .steps, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .topnav { display: none; }
}
@media (max-width: 600px) {
  .about-body .lead { text-align: left; }
  .topbar-mail { display: none; }
  .topbar { justify-content: center; }
  .hero { min-height: 88vh; }
  .footer-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ================= PODSTRONY PRAWNE ================= */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 84px); }
.legal h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.25; }
.legal-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  margin: 14px 0 clamp(34px, 5vw, 54px);
}
.legal-block {
  max-width: 74ch;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-block h2 {
  font-size: clamp(17px, 2vw, 21px);
  margin-bottom: 14px;
  line-height: 1.4;
}
.legal-block p, .legal-block li {
  color: var(--paper-dim);
  font-size: 15.5px;
  text-align: justify;
}
.legal-block p { margin: 0 0 14px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul { margin: 0; padding-left: 20px; }
.legal-block li { margin-bottom: 10px; }
.legal-block a { color: var(--gold-bright); }
.legal-back {
  margin-top: 42px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.legal-back a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--line); }
.legal-back a:hover { color: var(--gold-bright); border-color: var(--gold); }
.footer-copy a { color: var(--slate); text-decoration: none; border-bottom: 1px solid transparent; }
.footer-copy a:hover { color: var(--paper-dim); border-color: var(--line); }
.cookie-bar a { color: var(--gold-bright); }

@media (max-width: 600px) {
  .legal-block p, .legal-block li { text-align: left; }
}

/* ===== Przełącznik języka ===== */
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right::before { content: none; }
.lang::before {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  background: rgba(216, 201, 163, 0.35);
  margin-right: 14px;
}
.lang {
  line-height: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate);
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang b { color: var(--gold); font-weight: 500; }
.lang i { font-style: normal; opacity: 0.5; }
.lang a { color: var(--slate); text-decoration: none; transition: color .2s; }
.lang a:hover { color: var(--paper); }
@media (max-width: 600px) {
  .topbar-right { gap: 0; }
  .lang { display: flex; }
}
