/* =========================
   THEME TOKENS
========================= */
    :root{
      --font-head: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      --font-body: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      --nav-height: 76px;
    }

/* Naprzemienne tła dla sekcji (banded layout) */
:root{
  --section-bg-a: #ffffff;
  --section-bg-b: rgba(13,110,253,.035); /* delikatny niebieski */
  --section-bg-c: rgba(25,135,84,.035);  /* delikatny zielony (opcjonalnie) */
  --section-border: rgba(31,41,55,.08);
}

/* Domyślnie: sekcje na przemian */
main > section{
  background: var(--section-bg-a);
  border-top: 1px solid transparent;
}

/* Alternacja co drugą sekcję */
main > section:nth-of-type(even){
  background: var(--section-bg-b);
  border-top: 1px solid var(--section-border);
  border-bottom: 1px solid var(--section-border);
}

/* Opcjonalnie: co trzecią sekcję lekko zielony akcent */
main > section:nth-of-type(3n){
  background: var(--section-bg-c);
}

/* Sekcje z własnym tłem (override) */
.section-bg-a{ background: var(--section-bg-a) !important; }
.section-bg-b{ background: var(--section-bg-b) !important; }
.section-bg-c{ background: var(--section-bg-c) !important; }

/* Łagodniejsze przejście w odbiorze */
main > section{
  transition: background-color .2s ease;
}


    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      padding-top: var(--nav-height);
      background: #fff;
      color: #1f2937;
    }

    /* Skip link (a11y) */
    .skip-link {
      position: absolute;
      left: -999px;
      top: 0;
      background: #0d6efd;
      color: #fff;
      padding: .5rem .75rem;
      border-radius: .5rem;
      z-index: 1100;
    }
    .skip-link:focus { left: .75rem; top: .75rem; }

    /* Anchor offset for fixed navbar */
    .anchor-offset { scroll-margin-top: calc(var(--nav-height) + 16px); }

    /* Navbar brand */
    .brand-logo {
      width: 40px;
      height: 40px;
      object-fit: contain;
      margin-right: .5rem;
    }

    /* Hero */
    .hero {
      position: relative;
      padding: 3.25rem 0 2.5rem;
      background: linear-gradient(180deg, rgba(13,110,253,.06), rgba(255,255,255,1));
      border-bottom: 1px solid rgba(31,41,55,.08);
    }
    .hero-title{
      font-family: var(--font-head);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.15;
      font-size: clamp(1.6rem, 2.2vw + 1rem, 2.6rem);
      margin-bottom: 1rem;
    }
    .hero-subtitle{
      color: rgba(31,41,55,.75);
      font-size: 1.05rem;
      margin-bottom: 1.25rem;
    }
    .hero-badge span{
      display: inline-block;
      font-weight: 600;
      font-size: .9rem;
      padding: .4rem .7rem;
      border-radius: 999px;
      background: rgba(13,110,253,.10);
      color: #0d6efd;
    }
    .hero-meta{
      display: grid;
      gap: .75rem;
      margin-top: .75rem;
      margin-bottom: .75rem;
    }
    .hero-meta-item{
      display:flex;
      gap:.75rem;
      align-items:flex-start;
      padding: .75rem 1rem;
      border-radius: 1rem;
      background: rgba(255,255,255,.85);
      border: 1px solid rgba(31,41,55,.08);
      box-shadow: 0 10px 24px rgba(0,0,0,.04);
    }
    .hero-meta-label{
      font-size: .85rem;
      color: rgba(31,41,55,.65);
      font-weight: 600;
      margin-bottom: .1rem;
    }
    .hero-meta-value{
      font-weight: 700;
      font-family: var(--font-head);
    }
            
/* HERO – większa typografia meta */
.hero-meta-label{
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: rgba(31,41,55,.7);
  font-size: clamp(.85rem, .5vw + .7rem, 1.05rem);
  margin-bottom: .15rem;
}

.hero-meta-value{
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #111827;
  font-size: clamp(1.15rem, 1vw + .9rem, 1.55rem);
}
    
    
    
    .small-muted{
      color: rgba(31,41,55,.65);
    }

    /* Cards */
    .c{
      border-radius: 1rem;
      padding: 1.25rem;
      background: #fff;
      border: 1px solid rgba(31,41,55,.08);
      box-shadow: 0 10px 24px rgba(0,0,0,.04);
    }
    .c--hero{ padding: 1.1rem 1.25rem; }
    .hero-card-title{
      font-family: var(--font-head);
      font-weight: 700;
      color: rgba(31,41,55,.9);
      margin-bottom: .75rem;
    }

    /* Sections */
    section { padding: 3rem 0; }
    .section-title{
      font-family: var(--font-head);
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
    }
    .section-subtitle{
      color: rgba(31,41,55,.8);
      text-align: justify;
    }

    /* Program */
    .program-day{ margin-top: 1.5rem; }
    .program-day h3{
      font-family: var(--font-head);
      font-weight: 800;
      margin-bottom: .25rem;
    }
    .program-day h4{
      font-size: 1rem;
      color: rgba(31,41,55,.7);
      margin-bottom: .75rem;
    }
    .c--table{ padding: 0; overflow: hidden; }
    .c--table .table { margin-bottom: 0; }
    .program-figure{
      margin: 0;
      padding: 1rem 1rem 1.25rem;
      border-top: 1px solid rgba(31,41,55,.08);
      background: rgba(13,110,253,.02);
    }
    .program-figure img{
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: .75rem;
      border: 1px solid rgba(31,41,55,.08);
    }
    .program-figure figcaption{
      margin-top: .5rem;
      font-size: .9rem;
      color: rgba(31,41,55,.65);
    }

    /* Speakers */
    .c--speaker .speaker-name{
      font-family: var(--font-head);
      font-weight: 800;
      margin-bottom: .15rem;
    }
    .c--speaker .speaker-role{
      color: rgba(31,41,55,.75);
      font-weight: 600;
    }

    /* Footer */
    footer{
      padding: 1.25rem 0;
      border-top: 1px solid rgba(31,41,55,.08);
      background: #fff;
    }

	.navbar .nav-link {
	  font-weight: 500;
	}
	
	.navbar .nav-link.active {
	  font-weight: 600;
	  color: #0d6efd;
	}
    
    /* Koszty */
.costs {
  background: linear-gradient(180deg, rgba(13,110,253,.05), rgba(255,255,255,1));
  border-top: 1px solid rgba(31,41,55,.08);
  border-bottom: 1px solid rgba(31,41,55,.08);
}

.cost-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(31,41,55,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  background: #fff;
  overflow: hidden;
}

.cost-hero {
  padding: 1.5rem 1.5rem 1.25rem;
  background: radial-gradient(1200px 400px at 0% 0%, rgba(13,110,253,.18), transparent 55%),
              radial-gradient(900px 360px at 100% 0%, rgba(25,135,84,.10), transparent 55%),
              linear-gradient(180deg, rgba(13,110,253,.06), rgba(255,255,255,1));
  border-bottom: 1px solid rgba(31,41,55,.08);
}

.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(13,110,253,.10);
  color: #0d6efd;
  font-weight: 700;
}

.price-amount {
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  color: #111827;
  margin: .5rem 0 .25rem;
}

.price-note {
  color: rgba(31,41,55,.72);
  margin: 0;
}

.cost-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.feature-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .85rem .95rem;
  border-radius: 1rem;
  background: rgba(13,110,253,.03);
  border: 1px solid rgba(31,41,55,.06);
}

.feature-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: .05rem;
  color: #0d6efd;
}

.feature-text strong { font-weight: 800; }

.pay-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(31,41,55,.08);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  background: #fff;
  padding: 1.25rem 1.5rem;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .02em;
}

.copy-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.copy-box {
  flex: 1 1 auto;
  min-width: 260px;
  padding: .85rem 1rem;
  border-radius: 1rem;
  background: rgba(31,41,55,.03);
  border: 1px solid rgba(31,41,55,.08);
}

.badge-soft {
  background: rgba(25,135,84,.10);
  color: #198754;
  font-weight: 700;
  border-radius: 999px;
  padding: .35rem .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.small-help {
  color: rgba(31,41,55,.65);
  margin: .35rem 0 0;
  font-size: .95rem;
}

/* =========================
   NAVBAR DROPDOWN (Historia) – spójne z kartami .c
========================= */

/* Menu dropdown jako "mini-karta" */
.navbar .dropdown-menu {
  border-radius: 1rem;
  border: 1px solid rgba(31,41,55,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  background: #fff;

  padding: .5rem;
  margin-top: .6rem;

  min-width: 14rem;
}

/* Usunięcie domyślnego Bootstrapowego obramowania/układu */
.navbar .dropdown-menu .dropdown-divider {
  border-top-color: rgba(31,41,55,.08);
}

/* Elementy w dropdownie – jak „pigułki”, spójne z Twoim UI */
.navbar .dropdown-item {
  border-radius: .75rem;
  padding: .5rem .75rem;
  font-weight: 600;
  color: rgba(31,41,55,.9);
  transition: background-color .15s ease, color .15s ease;
}

/* Hover/focus – tło jak w hero badge / sekcjach */
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(13,110,253,.10);
  color: #0d6efd;
}

/* Active (np. na stronach historia-2024.html / historia-2025.html) */
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: rgba(13,110,253,.14);
  color: #0d6efd;
}

/* Link "Historia" – gdy dropdown otwarty: wizualnie jak aktywny */
.navbar .nav-link.dropdown-toggle.show {
  font-weight: 600;
  color: #0d6efd;
}

/* Desktop: otwieranie przy hover (opcjonalnie, zostaw jeśli chcesz) */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown:hover > .nav-link.dropdown-toggle {
    color: #0d6efd;
    font-weight: 600;
  }
}

.navbar .dropdown-menu {
  outline: 1px solid rgba(255,255,255,.6);
  outline-offset: -2px;
}

/* Historia – justowanie */
#Historia p.history-text {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

/* Ustawienie offsetu przewijania do kotwic */
:root { scroll-padding-top: 90px; } /* dopasuj do wysokości navbaru */
html { scroll-behavior: smooth; }





