/* ============================================================
   DEFAULT.CSS — wariant domyślny, jasny, stonowany i lekki
   (ładują go wszystkie strony przez $row['css'] z bazy,
   wersjonowany przez filemtime).

     powierzchnie   #eef2f5 / #e6ecf1 / #dce4ea   (dawniej ciemne)
     tło treści     #fafbfd  karta #ffffff
     akcent         #6d9bb5 (stonowany stalowy błękit)
     akcent mocny   #466f88 (teksty, CTA — kontrast ≥4.5 na bieli)
     fiolet         #9b8aa8 (szarofiolet)   zieleń --ok: #3f8f63
     tekst          #2f3a44 / #6b7883        linie #e2e8ed

   Cechy: jasny hero z delikatnymi poświatami, grafika *_header.webp
   bardziej widoczna (opacity .62 zamiast .30), przezroczyste białe
   kafle zamiast ciemnych, spokojne CTA (bez neonu i gradientów z białym
   tekstem).

   Warianty obok (pełne kopie, nie linkowane):
     lumen.css — paleta strony głównej Competit
     dark.css  — ciemny (czarne tła, jasna czcionka)
     black.css — dawny „techno-sportowy"
   Podmiana: cp beta/assets/css/lumen.css beta/assets/css/default.css
   UWAGA: zmiany layoutu/struktury nanosić we wszystkich wariantach.
   ============================================================ */

:root {
  --ink: #eef2f5;
  --ink-2: #e6ecf1;
  --ink-3: #dce4ea;
  --paper: #fafbfd;
  --card: #ffffff;
  --brand: #6d9bb5;
  --brand-d: #466f88;
  --violet: #9b8aa8;
  --lime: #466f88;
  --ok: #3f8f63;
  --text: #2f3a44;
  --muted: #6b7883;
  --line: #e2e8ed;
  --radius: 16px;
  --radius-sm: 10px;
  --grad: linear-gradient(135deg, var(--violet) 0%, var(--brand) 100%);
  --shadow: 0 2px 14px rgba(47, 58, 68, .07);
  --font-d: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-d); }
a:hover { color: var(--brand); }

h1, h2, h3, .display-1, .display-2 {
  font-family: var(--font-d);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: uppercase;
}

.container { max-width: 1180px; }

.eyebrow {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------------- Nawigacja ---------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(47, 58, 68, .08);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-nav.is-solid {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px -18px rgba(47, 58, 68, .35);
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--text);
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.site-nav .navbar-brand img { width: 30px; height: 30px; border-radius: 7px; }
.site-nav .navbar-brand:hover { color: var(--lime); }

.text-effect {
	--primary-color: #0ca4d5;
    --secondary-color: #8b4690;
	font-family: "Poppins", sans-serif;
	background-image: linear-gradient(150deg, var(--secondary-color) 0%, var(--primary-color) 78%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-transform: none;
	font-size: 1.2rem;
  font-weight: 600;
}

.site-nav .nav-link {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  padding: .5rem .78rem;
  border-radius: 8px;
  white-space: nowrap;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--brand-d); background: transparent; }

.site-nav .nav-link .bi { margin-right: 5px; font-size: 15px; vertical-align: -1px; }

.site-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
  padding: 7px;
  font-size: 14px;
}

.site-nav .dropdown-item {
  border-radius: 9px;
  padding: .46rem .7rem;
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-nav .dropdown-item:hover { background: rgba(70, 111, 136, .08); color: var(--brand-d); }
.site-nav .dropdown-item img { width: 20px; border-radius: 4px; }

/* dropdown języka zawsze jako overlay (BS: .navbar-nav .dropdown-menu = static do lg) */
.site-nav .nav-lang .dropdown-menu { position: absolute; z-index: 1000; }

.nav-lang > .nav-link::after { content: none; }
.nav-lang .bi-chevron-down { font-size: 11px; opacity: .7; margin-left: 4px; }

.nav-icon .nav-link { font-size: 18px; padding-left: .55rem; padding-right: .55rem; }

/* hamburger (kolor/rozmiar zdejmowane z inline w menu.php) */
.navbar-toggler { color: var(--text); font-size: 26px; line-height: 1; }

/* ---------------- Przyciski ---------------- */

.btn {
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  padding: .68rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-lime {
  background: var(--brand-d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(70, 111, 136, .55);
}

.btn-lime:hover { background: var(--brand-d); border-color: transparent; color: #fff; filter: brightness(1.08); }

.btn-grad {
  background: var(--brand-d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(70, 111, 136, .55);
}

.btn-grad:hover { color: #fff; filter: brightness(1.08); }

.btn-glass {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(47, 58, 68, .18);
  color: var(--text);
}

.btn-glass:hover { background: #fff; color: var(--text); }

.btn-soft {
  background: #fff;
  border: 2px solid transparent;
  color: var(--text);
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--brand) 10%, var(--violet));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.btn-soft:hover {
  background: var(--brand-d);
  background-image: none;
  border-color: transparent;
  color: #fff;
}

.btn-sm { padding: .38rem .8rem; font-size: 12px; }
.btn-lg { padding: .85rem 1.7rem; font-size: 15px; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 12% -12%, rgba(109, 155, 181, .28), transparent 62%),
    radial-gradient(900px 480px at 88% -6%, rgba(155, 138, 168, .22), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, var(--paper) 100%);
  padding: 54px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 58, 68, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 58, 68, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 2; }

.hero__cover {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  opacity: .62;
  z-index: 1;
  mask-image: linear-gradient(to bottom, transparent, #000 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 42px;
}

.hero__badges { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 22px; }

.hero__logo {
  position: absolute;
  right: 0;
  width: clamp(110px, 12vw, 180px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 6px 18px rgba(47, 58, 68, .28));
}

@media (max-width: 991px) {
  .hero__logo { top: 18px; right: 0; width: clamp(70px, 14vw, 110px); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(47, 58, 68, .15);
  background: rgba(255, 255, 255, .65);
  color: var(--muted);
}

.chip--brand { background: var(--brand-d); border-color: transparent; color: #fff; }
.chip--live { background: rgba(63, 143, 99, .10); border-color: rgba(63, 143, 99, .40); color: #2f7a55; }
.chip--closed { background: rgba(255, 255, 255, .55); border-color: rgba(47, 58, 68, .18); color: var(--muted); }
.chip--link {
  background: rgba(70, 111, 136, .08);
  border-color: rgba(70, 111, 136, .35);
  color: var(--brand-d);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.chip--link:hover {
  background: rgba(70, 111, 136, .16);
  border-color: rgba(70, 111, 136, .7);
  color: var(--brand-d);
}
.chip a { color: inherit; text-decoration: none; }
.chip a:hover { text-decoration: underline; }

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 143, 99, .7); }
  70% { box-shadow: 0 0 0 9px rgba(63, 143, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 143, 99, 0); }
}

.hero__title {
  font-size: clamp(42px, 6.4vw, 82px);
  margin: 0 0 14px;
  color: var(--text);
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero__title a { color: inherit; text-decoration: none; }
.hero__title a:hover { color: var(--lime); }

.hero--lista .hero__title { font-size: clamp(34px, 5.2vw, 58px); }
.hero--lista .hero__title a { color: inherit; text-decoration: none; }
.hero--lista .hero__title a:hover { color: var(--lime); }

.hero__title .accent {
  background: linear-gradient(135deg, #6d5f7e, var(--brand-d));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 26px;
}

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 28px; }

.hero__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
}

.hero__meta-item .bi {
  font-size: 21px;
  color: var(--brand-d);
  line-height: 1.3;
}

.hero__meta-item small {
  display: block;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero__meta-item strong { font-weight: 600; color: var(--text); font-size: 15px; }

/* podadres pod mocnym wierszem meta (klasa zamiast inline w PHP) */
.hero__meta-sub { display: block; color: var(--muted); font-size: 13px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* Karta odliczania */

.count-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58));
  border: 1px solid rgba(47, 58, 68, .12);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -34px rgba(47, 58, 68, .35);
}

.count-card__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.countdown__cell {
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(47, 58, 68, .10);
  border-radius: var(--radius-sm);
  padding: 12px 4px 9px;
  text-align: center;
}

.countdown__num {
  display: block;
  font-family: var(--font-d);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-d);
  font-variant-numeric: tabular-nums;
}

.countdown__lbl {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.count-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(47, 58, 68, .12);
}

.count-card__stats div { text-align: center; flex: 1; }

.count-card__logo {
  display: block;
  width: clamp(160px, 100%, 260px);
  height: auto;
  margin-top: 22px;
}

.count-card__stats strong {
  display: block;
  font-family: var(--font-d);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.count-card__stats small {
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* ---------------- Pasek faktów ---------------- */

.facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(var(--facts-n, 4), minmax(0, 1fr));
  gap: 1px;
  background: rgba(47, 58, 68, .07);
  border-top: 1px solid rgba(47, 58, 68, .08);
}

.fact {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 26px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.fact .bi { font-size: 24px; color: var(--brand-d); flex: none; }
.fact small {
  display: block;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.fact strong { color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.35; display: block; }

/* ---------------- Warstwa treści ---------------- */

.section { padding: 62px 0; }
.section--tight { padding: 40px 0; }

.section-head { margin-bottom: 30px; position: relative; }

.section-head .eyebrow { color: var(--brand-d); display: flex; align-items: center; gap: 10px; }
.section-head .eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 10px 0 0;
  color: var(--text);
}

.section-head h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin-top: 14px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: start;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card__body { padding: 30px 32px; }

/* Treść opisu wydarzenia */

.prose { font-size: 15.5px; color: #444444; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--text); margin: 1.6em 0 .55em; font-size: 26px; }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 19px; text-transform: none; font-weight: 700; }
.prose a { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 14px 0;
}
.prose ul, .prose ol { padding-left: 1.25rem; margin: 1em 0; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--brand);
  background: #f6f9fe;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}
.prose table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: 14px; }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose table th { background: #f3f5f7; font-weight: 700; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 7px; text-align: center; }
.prose .float-end, .prose img.alignright { float: right; margin: 0 0 18px 22px; }
.prose .float-start, .prose img.alignleft { float: left; margin: 0 22px 18px 0; }

.logo-badge {
  width: 108px;
  height: 108px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px;
  margin-bottom: 18px;
}

/* Sidebar */

.side { position: sticky; top: calc(var(--nav-h) + 18px); display: grid; gap: 18px; }

.side .card__body { padding: 24px; }

.side__price {
  font-family: var(--font-d);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.side__price small { font-family: var(--font-b); font-size: 13px; font-weight: 600; color: var(--muted); }

.side__note {
  font-size: 12.5px;
  color: var(--muted);
  padding: 11px 13px;
  background: #f6f9fe;
  border-radius: 10px;
  margin: 14px 0 16px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.side__note .bi { color: var(--brand-d); font-size: 16px; line-height: 1.35; }

.side__links { list-style: none; margin: 0; padding: 0; }

.side__links li + li { border-top: 1px solid var(--line); }

.side__links a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 2px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.side__links a:hover { color: var(--brand-d); }
.side__links a .bi { color: var(--brand); font-size: 17px; width: 22px; text-align: center; }
.side__links a .arr { margin-left: auto; color: #a5a5a5; font-size: 14px; }

/* Pasek liczników / postępu */

.meter { height: 8px; border-radius: 999px; background: #e5e5e5; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

/* Kafle informacji */

.info-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tile .bi { font-size: 22px; color: var(--brand-d); }
.tile small {
  display: block;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.tile strong { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; }

/* Dokumenty / odnośniki zewnętrzne */

.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 9px; }

.doc {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  text-decoration: none;
  color: var(--text);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.doc:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d4d4d4;
  color: var(--text);
}

.doc .bi {
  font-size: 15px;
  color: #fff;
  background: var(--brand-d);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}

.doc strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
.doc small { color: var(--muted); font-size: 11px; }

/* Osadzone mapy / trasy */

.embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.embed iframe { display: block; width: 100%; min-height: 560px; border: 0; }

/* Pasmo CTA */

.cta-band {
  background:
    radial-gradient(700px 300px at 85% 120%, rgba(155, 138, 168, .25), transparent 65%),
    var(--ink-2);
  color: var(--text);
  border-radius: var(--radius);
  padding: 42px 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 8px 0 0; color: var(--text); }
.cta-band .eyebrow { color: var(--lime); }
.cta-band p { color: var(--muted); margin: 8px 0 0; max-width: 520px; }

/* ---------------- Stopka ---------------- */

.site-footer { background: var(--ink-2); color: var(--muted); padding: 52px 0 0; margin-top: 20px; }

.site-footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--lime); }

.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 38px; }

.site-footer h4 {
  font-family: var(--font-b);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 16px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }

.site-footer .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-d); font-size: 26px; font-weight: 800; text-transform: uppercase; }
.site-footer .brand img { width: 32px; border-radius: 8px; }
.site-footer .blurb { font-size: 14px; margin: 15px 0 18px; max-width: 300px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.socials a:hover { background: var(--brand-d); border-color: transparent; color: #fff; }

.site-footer .footer-note { color: var(--muted); font-size: 13px; line-height: 1.6; list-style: none; }

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* ---- Dropdown w stopce ---- */
.site-footer .dropdown-menu {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
  padding: 7px;
  font-size: 14px;
  min-width: 210px;
}
.site-footer .dropup .dropdown-menu { left: auto; right: 0; }
.site-footer .dropdown-menu li { margin-bottom: 0; }
.site-footer .dropdown-item {
  border-radius: 9px;
  padding: .46rem .7rem;
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.site-footer .dropdown-item:hover,
.site-footer .dropdown-item:focus { background: rgba(70, 111, 136, .08); color: var(--brand-d); }


/* ---------------- Pasek CTA na mobile ---------------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: none;
  gap: 10px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.mobile-cta .btn { flex: 1; justify-content: center; padding: .72rem .8rem; font-size: 14px; }

/* ---------------- Offcanvas ---------------- */

.offcanvas { background: var(--card); color: var(--text); }
.offcanvas .offcanvas-header { border-bottom: 1px solid var(--line); }
.offcanvas .navbar-brand { color: var(--text); }
.offcanvas .nav-link { color: var(--text); font-weight: 600; padding: .68rem .4rem; border-radius: 9px; }
.offcanvas .nav-link:hover { background: rgba(47, 58, 68, .06); color: var(--brand-d); }
.offcanvas .divider { height: 1px; background: var(--line); margin: 14px 0; }
.offcanvas .oc-title { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }

/* ---------------- Pasek cookie ---------------- */

#cookieBar { bottom: 16px; }

@media (max-width: 767.98px) {
  #cookieBar { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------------- Animacje wejścia ---------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------------- Responsywność ---------------- */

@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 991.98px) {
  .hero { padding-top: 40px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .hero__title { font-size: clamp(38px, 8vw, 62px); }
  .count-card { max-width: 520px; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .section { padding: 46px 0; }
}

@media (max-width: 767.98px) {
  body { font-size: 14.5px; padding-bottom: 74px; }
  .site-nav { min-height: 60px; }
  :root { --nav-h: 60px; }
  .hero { padding-top: 32px; }
  .hero__sub { font-size: 15.5px; }
  .hero__meta { gap: 12px 18px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .countdown__num { font-size: 30px; }
  .count-card__stats strong { font-size: 26px; }
  .fact { padding: 16px; gap: 11px; }
  .fact strong { font-size: 13.5px; }
  .card__body { padding: 22px 18px; }
  .info-tiles { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__bottom { justify-content: space-between; text-align: left; }
  .site-footer__bottom .btn-group { margin-left: auto; }
  .mobile-cta { display: flex; }
  .embed iframe { min-height: 380px; }
  .logo-badge { width: 88px; height: 88px; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 36px; }
  .countdown { gap: 5px; }
  .countdown__cell { padding: 9px 2px 7px; }
}

/* ============================================================
   Formularz zgłoszenia — markup Bootstrap 5 + bootstrap-select
   Pliki w beta/zgloszenie/ mówią natywnym BS5 (row mb-3,
   input-group-text, bi-*, data-bs-*) + bootstrap-select 1.14.
   ============================================================ */

/* ---- Pola formularza ---- */

.form-card .form-control,
.form-card .form-select {
  min-height: 44px;
  font-size: 15px;
  border-color: #d6d6d6;
  border-radius: 12px;
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .18rem rgba(70, 111, 136, .20);
}

.form-card textarea.form-control { min-height: auto; resize: vertical; }
.form-card input[type="file"].form-control { padding: .45rem .7rem; font-size: 13.5px; }
.form-card select option:disabled { color: #a5a5a5; }

/* ---- Etykiety poziome ---- */

@media (min-width: 768px) {
  .form-card .col-form-label {
    padding-top: 11px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    color: var(--muted);
  }
}

@media (max-width: 767.98px) {
  .form-card .col-form-label { text-align: left; padding-top: 0; margin-bottom: 6px; }
}

/* ---- Pola z ikoną (input-group-text) ---- */

.form-card .input-group-text {
  background: #f3f5f7;
  border-color: #d6d6d6;
  color: var(--muted);
  font-size: 16px;
}

/* ---- Checkboxy i radio (form-check) ---- */

.form-card .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 .7rem;
  padding: 12px 14px;
  background: #f6f9fe;
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.55;
  transition: border-color .15s ease, background-color .15s ease;
}

.form-card .form-check:hover { border-color: #cfcfcf; background: #f3f5f7; }

.form-card .form-check-input {
  flex: none;
  margin: 4px 0 0;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  accent-color: var(--brand);
  cursor: pointer;
}

.form-card .form-check-inline {
  display: inline-flex;
  margin-right: 10px;
  padding: 8px 14px;
}

.form-card .form-check-label { font-size: 14px; color: var(--text); }
.form-card .form-check-label.przetwarzanie { font-size: 13.5px; color: var(--muted); }
.form-card .form-check-label.przetwarzanie a { font-weight: 600; }

.form-card .form-legal .form-check { margin-bottom: .55rem; }

.text-muted { color: #6c6c6c !important; }
.text-muted a { color: var(--brand); font-weight: 600; }

.form-card .form-text { font-size: 12.5px; color: var(--muted); }

/* ---- Przyciski ---- */

.btn-info {
  background: var(--brand-d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(70, 111, 136, .45);
}

.btn-info:hover,
.btn-info:focus { background: var(--brand-d); color: #fff; filter: brightness(1.08); }

/* ---- bootstrap-select (motyw projektu) ---- */

/* UWAGA: btn-info i dropdown-toggle siedzą na <button>, a nie na wrapperze
   .bootstrap-select — oryginalne selektory .bootstrap-select.dropdown-toggle
   i .bootstrap-select.btn-info .dropdown-toggle nigdy nie trafiały, przez co
   selectpickery dostawały gradient z .btn-info. Tu poprawione na >. */
.bootstrap-select > .dropdown-toggle {
  min-height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: var(--text);
  box-shadow: none;
}

.bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .18rem rgba(70, 111, 136, .20);
}

/* bootstrap-select (1.14) wymusza color:rgba(255,255,255,.5) dla placeholdera
   na .btn-info — na białym pasku tekst i strzałka byłyby niewidoczne */
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-info:active {
  color: var(--muted) !important;
}

.bootstrap-select .dropdown-menu li.active small { color: var(--muted) !important; }

.bootstrap-select .dropdown-toggle .filter-option {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bootstrap-select .dropdown-toggle .bs-caret {
  color: var(--muted);
  margin-right: .35rem;
}

.bootstrap-select .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .25);
  margin-top: 6px;
  padding: 6px;
  font-size: 14px;
  max-height: 320px;
}

.bootstrap-select .dropdown-menu .inner {
  max-height: 304px;
  overflow-y: auto;
  border-radius: 8px;
  padding: 2px;
}

.bootstrap-select .dropdown-menu li a {
  padding: .45rem .7rem;
  border-radius: 8px;
  color: var(--text);
  white-space: normal;
  line-height: 1.45;
}

.bootstrap-select .dropdown-menu li a:hover,
.bootstrap-select .dropdown-menu li.active a {
  background: rgba(70, 111, 136, .12);
  color: var(--text);
}

.bootstrap-select .dropdown-menu li a .subtext,
.bootstrap-select .dropdown-menu li a small {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.bootstrap-select .dropdown-menu li a img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  vertical-align: -4px;
  margin-right: 6px;
}

.bootstrap-select .show-tick .selected i.check-icon { color: var(--brand); }

/* wyszukiwarka w dropdownie */
.bootstrap-select .bs-searchbox {
  padding: 6px 6px 8px;
  margin: 0;
}

.bootstrap-select .bs-searchbox .form-control {
  min-height: 38px;
  font-size: 14px;
  border-radius: 10px;
  border-color: #d6d6d6;
}

/* wielokrotny wybór: chipy na pasku */
.bootstrap-select.multiple .filter-option {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  white-space: normal;
}

.bootstrap-select.multiple .filter-option .label {
  background: rgba(70, 111, 136, .12);
  color: var(--brand-d);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.bootstrap-select.multiple .filter-option .filter-option-inner-inner { display: inline; }

/* data-divider na górze listy */
.bootstrap-select .dropdown-menu li.divider {
  height: 0;
  padding: 0;
  margin: 6px 8px;
  border-top: 1px solid var(--line);
  pointer-events: none;
}

/* dropdown buttona btn-info (motyw) */
.bootstrap-select > .dropdown-toggle.btn-info {
  background: #fff;
  border-color: #d6d6d6;
  color: var(--text);
}

.bootstrap-select.show > .dropdown-toggle.btn-info {
  background: #fff;
  border-color: var(--brand);
  color: var(--text);
}

/* ---- Modały (markup Bootstrap 5) ---- */

.modal-content { border: 0; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .4); }
.modal-header { border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 12px; }
.modal-title { font-family: var(--font-d); font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--text); }
.modal-body { padding: 20px 22px; font-size: 14.5px; color: #444444; line-height: 1.7; }
.modal-footer { border-top: 1px solid var(--line); padding: 14px 22px; }
.modal-backdrop { opacity: .5; }

/* ---- Karuzela rozmiarów koszulek (domyślny BS5, lekkie tło motywu) ---- */

.carousel {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f6f9fe;
}

.carousel-inner > .carousel-item > img {
  display: block;
  width: 100%;
  height: auto;
}

/* BS5: kontrolki jak w czystym Bootstrap (białe ikony + półprzezroczyste tło) */
.carousel-control-prev,
.carousel-control-next {
  opacity: 1;
  background: rgba(0, 0, 0, .5);
  transition: opacity .15s ease, background-color .15s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, .7);
  opacity: 1;
}
.carousel-control-prev:focus,
.carousel-control-next:focus {
  opacity: 1;
  box-shadow: 0 0 0 .18rem rgba(70, 111, 136, .35);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.25rem;
  height: 2.25rem;
  background-image: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}
.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  font-family: "bootstrap-icons" !important;
  font-weight: 700 !important;
  font-style: normal;
  color: #fff;
  content: "\f284";
}
.carousel-control-next-icon::before {
  content: "\f285";
}

/* WSKAŹNIKI: BS5 ma je absolutnie na dole — tu jak w BS3 u góry, ale z BS5 kropkami */
.carousel-indicators {
  position: absolute;
  top: 0;
  bottom: auto;
  margin: 0;
  padding: 8px 10px;
  gap: 6px;
}
.carousel-indicators [data-bs-target] {
  box-sizing: content-box;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .85);
  background-clip: padding-box;
  opacity: .5;
}
.carousel-indicators [data-bs-target]:hover { opacity: .8; }
.carousel-indicators .active { opacity: 1; background-color: var(--brand-d); }

/* ---- Komponenty strony zgłoszenia ---- */

.hero--form { padding-bottom: 0; }
.hero--form .hero__grid { grid-template-columns: 1fr; padding-bottom: 34px; }
.hero--form .hero__title { font-size: clamp(34px, 5.2vw, 58px); }
.hero--form .hero__title a { color: inherit; text-decoration: none; }
.hero--form .hero__title a:hover { color: var(--lime); }
.hero--form .hero__sub { margin-bottom: 20px; }

@media (min-width: 992px) {
  .hero--form .hero__grid--logo { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
}

.hero__logo-col img {
  display: block;
  width: clamp(160px, 100%, 260px);
  height: auto;
}

.notice {
  background: #f6f9fe;
  border: 1px solid #e5e5e5;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 20px;
}

.notice--pick {
  background: #f6f9fe;
  border-color: var(--line);
  border-left-color: var(--violet);
}

.form-card .card__body { padding: 28px 30px; }
.form-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-card .form-group:last-of-type { margin-bottom: .5rem; }

.form-legal { margin-top: 6px; }

.alert {
  border-radius: var(--radius-sm);
  border: 0;
  font-size: 14px;
  padding: 14px 16px;
}

.alert-danger { background: #fdecef; color: #91253a; }
.alert-info { background: #e9eff4; color: #3a4f5e; }
.alert .btn-close { padding: .55rem .6rem; }

.side__price small { font-family: var(--font-b); font-size: 13px; font-weight: 600; color: var(--muted); }

.count-up { font-variant-numeric: tabular-nums; }

/* ---- Kolory badge'y w paletcie strony głównej ----
   text-bg-* z Bootstrapa ustawia kolor i tło z !important, więc i tu !important.
   text-bg-warning = kobieta, text-bg-info = mężczyzna, text-bg-primary = liczniki. */

.badge.text-bg-primary { background-color: #e8eef3 !important; color: var(--text) !important; }
.badge.text-bg-info { background-color: var(--brand-d) !important; color: #fff !important; }
.badge.text-bg-warning { background-color: var(--violet) !important; color: #2f3a44 !important; }

/* ---- Lista uczestników (DataTables 3, BS5, bez jQuery) ---- */

/* ikona opłaconego wpisu w kolumnie płatności ($platnosc == '1') */
.icon-paid { color: var(--ok); }

/* Tabele .table spoza DataTables (sprawdz-zgloszenie, zgloszenie_p):
   BS5 bierze tło komórek z --bs-body-bg i tekst z --bs-emphasis-color,
   których warianty nie ustawiają → biel z bootstrap.min.css. Przypisujemy
   zmienne BS5 do palety wariantu; nagłówki i etykiety jak w #example. */
.table:not(.dataTable) {
  --bs-table-color: var(--text);
  --bs-table-bg: var(--card);
  --bs-table-border-color: var(--line);
  --bs-table-striped-color: var(--text);
  --bs-table-striped-bg: #f5f7f9;
  --bs-table-hover-color: var(--text);
  --bs-table-hover-bg: #f1f5f8;
  color: var(--text);
}
.table:not(.dataTable) > :not(caption) > * > * {
  padding: 12px 14px;
  font-size: 14px;
  border-bottom-color: var(--line);
}
.table:not(.dataTable) > tbody > tr:hover > * {
  --bs-table-bg-state: #f1f5f8;
}
.table:not(.dataTable) thead th {
  background: #f3f5f7;
  font-family: var(--font-d);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  color: var(--text);
}
.table:not(.dataTable) tbody th {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  width: 1%;
  color: var(--muted);
}
.table:not(.dataTable) tbody td { color: var(--text); }

/* poziomy scroll tabeli tylko na wąskich ekranach;
   na desktopie overflow-x tworzyłby kontener i psuł sticky nagłówek */
@media (max-width: 991.98px) {
  .lista-table-wrap { overflow-x: auto; }
}

@media (min-width: 992px) {
  #example thead th,
  #example-m thead th {
    position: sticky;
    top: var(--nav-h);
    z-index: 2;
    box-shadow: inset 0 -1px 0 var(--line);
  }
}

#example thead th,
#example-m thead th {
  background: #f3f5f7;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: 12px 14px;
  border-bottom-width: 1px;
}
#example td,
#example-m td {
  padding: 11px 14px;
  vertical-align: middle;
  font-size: 14px;
}
#example tbody tr:hover td,
#example-m tbody tr:hover td { background: #f1f5f8; }
#example .flag,
#example-m .flag { border-radius: 4px; vertical-align: -4px; }

.dt-container { font-size: 14px; }
#example_wrapper,
#example-m_wrapper { padding: 16px 18px 12px; }
.dt-container .dt-search input,
.dt-container .dt-length select {
  border-radius: 10px;
  border-color: var(--line);
}
.dt-container .dt-search input:focus,
.dt-container .dt-length select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .18rem rgba(70, 111, 136, .18);
}
.dt-container .dt-paging { flex-wrap: wrap; gap: 4px; }
.dt-container .dt-paging .page-link {
  border-radius: 9px;
  min-width: 34px;
  text-align: center;
  border-color: var(--line);
  color: var(--text);
  padding: .32rem .6rem;
}
.dt-container .dt-paging .page-link:hover {
  background: #f3f5f7;
  color: var(--brand-d);
}
.dt-container .dt-paging .page-item.active .page-link {
  background: var(--brand-d);
  border-color: transparent;
  color: #fff;
}
.dt-container .dt-paging .page-item.disabled .page-link { color: #ababab; }
.dt-container .dt-info { color: var(--muted); font-size: 13px; }
.dt-container .dt-length label,
.dt-container .dt-search label { color: var(--muted); }
.dt-empty { color: var(--muted); padding: 24px !important; }

/* statystyki w kolumnie bocznej listy */
.side__stat + .side__stat { margin-top: 22px; }
.side__stat-title {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.side__stat-title .bi { color: var(--brand-d); font-size: 17px; }
.side__stats { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.side__stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.side__stats li:first-child { border-top: 0; }
.side__stats li > span:first-child { min-width: 0; }
.side__stats .counts { display: inline-flex; gap: 5px; flex: none; }
.side__stats .badge { min-width: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.side__stats .flag { border-radius: 3px; vertical-align: -3px; margin-right: 6px; }

/* ---- Responsywność formularza ---- */

@media (max-width: 767.98px) {
  .form-card .card__body { padding: 20px 16px; }
  .form-card .row.mb-3 { margin-bottom: 1rem; }
  .form-card .input-group-text { padding: 0 .6rem; min-width: 40px; }
  .modal-dialog { margin: 1rem; }
}
