/* ===================================================================
   ZMIANOLOGICA — WSPÓLNY CSS
   ----------------------------------------------------------------------
   STANDARD KOLORÓW:
   • Granat #1F4460  — kolor wiodący: nagłówki H1/H2/H3, btn-primary,
                       eyebrow w sekcjach jasnych, linki, ikony i border w
                       problem-card, hover btn-secondary, fresz-logo-box,
                       border w fresz-highlight, podpisy i akcenty tekstowe.
   • Miód #E8B62C    — AKCENT: .hero h1 .accent (kolor wyróżniony w tytule
                       hero), stat-number, eyebrow w sekcjach ciemnych,
                       fresz-tag, btn-tertiary, hover ikon w problem-card.
                       Kolor stabilny w druku CMYK (≈ Pantone 7409 C).
   • Czerwień #C8202E — TYLKO ALARM: termin płatności w dziekuje-szkolenie,
                       błędy walidacji formularzy. Nie używać nigdzie indziej.
   • Granat hover #163450 — przyciemniony granat dla hover btn-primary/nav-cta.
   • Miód hover #B68C20 — przyciemniony miód dla btn-tertiary hover.
   • Tekst na żółtym tle #5C4810 — ciemny brąz zamiast czarnego (lepszy kontrast,
                                    spójny z paletą).

   ZASADA: czerwieni używamy oszczędnie i tylko gdy chcemy zaalarmować
   użytkownika o konsekwencji (termin, błąd). Wszędzie indziej granat lub miód.
   =================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #1A1A1A;
  background: white;
  line-height: 1.65;
  font-size: 15px;
}
a { color: #1F4460; text-decoration: none; }
a:hover { color: #163450; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* =========== NAV =========== */
.nav {
  background: white;
  border-bottom: 1px solid #EEEEEE;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 44px; width: auto; }
.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: #1F4460; }
.nav-menu a.active { color: #1F4460; font-weight: 600; }
.nav-cta {
  background: #1F4460;
  color: white !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: #163450;
  transform: translateY(-1px);
}
.nav-back {
  font-size: 14px;
  font-weight: 600;
  color: #1F4460;
  text-decoration: none;
}
.nav-back:hover { color: #1F4460; }

/* hamburger toggle — visible only on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1F4460;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========== HERO =========== */
.hero {
  background: linear-gradient(180deg, #FAFAFC 0%, #FFFFFF 100%);
  padding: 80px 0 48px;
}
/* Pierwsza sekcja po hero — mniejszy odstęp górny, żeby nie było pustego pasa.
   Działa zarówno gdy .section ma zwykły padding, jak i dla .section-light/.section-dark. */
.hero + .section { padding-top: 56px; }
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1F4460;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #1F4460;
  margin-bottom: 28px;
}
.hero h1 .accent { color: #E8B62C; }
.hero-lead {
  font-size: 19px;
  color: #444;
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========== BUTTONS =========== */
.btn-primary, .btn-secondary, .btn-tertiary {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: #1F4460;
  color: white;
}
.btn-primary:hover {
  background: #163450;
  color: white;
  transform: translateY(-2px);
}
.btn-secondary {
  background: white;
  color: #1F4460;
  border: 2px solid #1F4460;
}
.btn-secondary:hover {
  background: #1F4460;
  color: white;
}
.btn-tertiary {
  background: #E8B62C;
  color: #5C4810;
}
.btn-tertiary:hover {
  background: #B68C20;
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* =========== SEKCJE =========== */
.section { padding: 96px 0; }
.section-light { background: #F5F5F7; }
.section-dark { background: #1F4460; color: white; }
.section-dark h2 { color: white; }
.section-dark .section-intro { color: rgba(255,255,255,0.85); }
.section-dark .section-eyebrow { color: #E8B62C; }

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1F4460;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #1F4460;
  margin-bottom: 20px;
}
.section-intro {
  font-size: 17px;
  color: #555;
  line-height: 1.65;
}

/* =========== PROBLEM CARDS =========== */
/* Domyślnie 3 kolumny — dla 6 kafelków daje równy układ 3+3.
   Dla 8 kafelków dodaj modyfikator .problem-grid--4col → 4 kolumny.
   Dla 4 kafelków → .problem-grid--4col też (4 w rzędzie). */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.problem-grid--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .problem-grid,
  .problem-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .problem-grid,
  .problem-grid--4col { grid-template-columns: 1fr; }
}
.problem-card {
  background: white;
  padding: 32px 28px;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: #1F4460;
  transform: translateY(-4px);
}
.problem-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: #1F4460;
  transition: color 0.2s;
}
.problem-card:hover .problem-icon { color: #E8B62C; }
.problem-card h3 {
  font-size: 18px;
  color: #1F4460;
  margin-bottom: 12px;
  font-weight: 700;
}
.problem-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* =========== APPROACH CARDS =========== */
/* Domyślnie 4 kolumny — dla 4 kafelków układ 4 w jednym rzędzie.
   Dla 3 kafelków → .approach-grid--3col → 3 kolumny.
   Dla 6 kafelków → .approach-grid--3col (3+3) lub default 4-col (4+2 — tego nie chcemy) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.approach-grid--3col { grid-template-columns: repeat(3, 1fr); }
.approach-grid--2col { grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 1000px) {
  .approach-grid,
  .approach-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .approach-grid--2col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .approach-grid,
  .approach-grid--3col { grid-template-columns: 1fr; }
}
.approach-card {
  background: white;
  padding: 36px 32px;
  border-left: 4px solid #1F4460;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.approach-card h3 {
  font-size: 20px;
  color: #1F4460;
  margin-bottom: 14px;
  font-weight: 700;
}
.approach-card p {
  color: #444;
  font-size: 15px;
  line-height: 1.65;
}

/* =========== STATS =========== */
/* 6 statystyk w jednym rzędzie. Większe liczby — mamy dużo miejsca w sekcji ciemnej. */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  align-items: start;
}
.stat-number {
  font-size: 72px;
  font-weight: 800;
  color: #E8B62C;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -3px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  font-weight: 500;
}
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
  .stat-number { font-size: 56px; letter-spacing: -2px; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 44px; }
}

/* =========== FRESZ HIGHLIGHT =========== */
.fresz-highlight {
  background: white;
  border: 2px solid #1F4460;
  border-radius: 8px;
  padding: 56px 48px;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: center;
}
.fresz-tag {
  display: inline-block;
  background: #E8B62C;
  color: #5C4810;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.fresz-highlight h3 {
  font-size: 28px;
  color: #1F4460;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.fresz-highlight p {
  color: #444;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.65;
}
.fresz-logo-box {
  background: #1F4460;
  color: white;
  padding: 40px 24px;
  text-align: center;
  border-radius: 6px;
}
.fresz-logo-big {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.fresz-logo-tagline {
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========== PAKIETY (3 kafelki) =========== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.package-card {
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.package-card:hover {
  border-color: #1F4460;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.package-card.featured {
  border-color: #1F4460;
  position: relative;
}
.package-card.featured::before {
  content: 'Pełny cykl';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1F4460;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 4px;
  text-transform: uppercase;
}
.package-number {
  font-size: 11px;
  font-weight: 700;
  color: #1F4460;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.package-card h3 {
  font-size: 24px;
  color: #1F4460;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.package-tagline {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
}
.package-meta {
  background: #F5F5F7;
  padding: 14px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
}
.package-meta strong { color: #1F4460; }
.package-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.package-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1F4460;
  font-weight: 700;
}
.package-card .btn-primary { width: 100%; text-align: center; }

/* =========== PROCES (8 etapów) =========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.process-step {
  background: white;
  padding: 28px 24px;
  border-radius: 8px;
  border-top: 4px solid #1F4460;
  position: relative;
}
.process-num {
  position: absolute;
  top: -16px;
  right: 16px;
  background: #1F4460;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.process-step h4 {
  font-size: 15px;
  color: #1F4460;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.3;
}
.process-step p {
  color: #555;
  font-size: 13px;
  line-height: 1.55;
}

/* =========== TIMELINE (Linia czasu kariery) =========== */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #EEEEEE;
}
.timeline-item {
  position: relative;
  padding-left: 140px;
  margin-bottom: 32px;
}
.timeline-year {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #1F4460;
  width: 80px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 94px;
  top: 10px;
  width: 14px;
  height: 14px;
  background: #1F4460;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #1F4460;
}
.timeline-content h4 {
  font-size: 16px;
  color: #1F4460;
  margin-bottom: 6px;
  font-weight: 700;
}
.timeline-content p {
  color: #555;
  font-size: 14px;
  line-height: 1.55;
}

/* =========== KSIĄŻKI =========== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.book-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.book-cover-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.book-cover {
  background: transparent;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-align: center;
  padding: 0;
  font-weight: 600;
  letter-spacing: 1px;
}
.book-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-info h3 {
  font-size: 18px;
  color: #1F4460;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.book-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.book-info p {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
  line-height: 1.6;
}
.book-link {
  color: #1F4460;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =========== KAFELKI SZKOLEŃ =========== */
/* 8 szkoleń → 4 kolumny (układ 4+4). Bez auto-fit, bo generował 3+3+2. */
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 1000px) {
  .trainings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .trainings-grid { grid-template-columns: 1fr; }
}
.training-card {
  background: white;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.training-card:hover {
  border-color: #1F4460;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.training-card.fresz-special {
  border-color: #E8B62C;
}
.training-name {
  font-size: 24px;
  color: #1F4460;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.training-tagline {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}
.training-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 20px;
  line-height: 1.7;
  border-top: 1px solid #EEEEEE;
  padding-top: 16px;
}
.training-meta strong { color: #1F4460; }
.training-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.training-actions a { flex: 1; text-align: center; }

/* =========== FORM =========== */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1F4460;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: #1A1A1A;
  background: white;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: #1F4460;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.form-checkbox input { margin-top: 3px; }
.form-radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}
.form-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid #DDD;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.form-radio-label:hover { border-color: #1F4460; }
.form-radio-label input[type="radio"] { margin: 0; }
.form-radio-label input[type="radio"]:checked + span { color: #1F4460; font-weight: 700; }

/* =========== PLACEHOLDER STYLE =========== */
.placeholder {
  background: #FFF8DC;
  border: 1px dashed #D4A017;
  color: #7A5800;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.9em;
  font-weight: 600;
}
.placeholder-block {
  background: #FFF8DC;
  border: 2px dashed #D4A017;
  color: #7A5800;
  padding: 24px;
  border-radius: 6px;
  font-size: 14px;
  margin: 16px 0;
  text-align: center;
  font-weight: 600;
}

/* =========== CTA FINAL =========== */
.cta-final {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: 38px;
  color: #1F4460;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.cta-final p {
  font-size: 17px;
  color: #555;
  margin-bottom: 36px;
}

/* =========== TYPOGRAPHY UTILITIES =========== */
.text-left { text-align: left; }
.lead-text {
  font-size: 18px;
  color: #333;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 24px;
}
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h3 {
  font-size: 22px;
  color: #1F4460;
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 700;
}
.prose h4 {
  font-size: 17px;
  color: #1F4460;
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}
.prose p {
  margin-bottom: 16px;
  color: #333;
  line-height: 1.7;
}
.prose ul {
  margin: 12px 0 20px 24px;
  color: #333;
}
.prose ul li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* =========== CLIENT LIST =========== */
.clients-section {
  margin-top: 32px;
}
.client-category {
  background: white;
  padding: 28px 32px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 4px solid #E8B62C;
}
.client-category h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1F4460;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.client-list {
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

/* =========== FOOTER =========== */
/* Footer: jednolity granat. Logo na ciemnym tle — filter brightness/invert robi z granatowego logo białą wersję. */
.footer {
  background: #1F4460;
  color: rgba(255,255,255,0.85);
  padding: 0;
  border-top: none;
}
.footer-top {
  background: transparent;
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-logo-wrap img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  /* Filtr przerabia granatowe logo (z przezroczystym tłem) na białe */
  filter: brightness(0) invert(1);
}
.footer-info {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.footer-info a { color: #E8B62C; text-decoration: none; }
.footer-info a:hover { color: #FFFFFF; }
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul a:hover { color: #E8B62C; }

/* Dolny pasek: nadal granat, ale wyróżniony cienką linią + ciemniejsza warstwa dla rytmu wizualnego */
.footer-bottom {
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.65);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.75);
  margin: 0 6px;
  text-decoration: none;
}
.footer-bottom a:hover { color: #E8B62C; }
@media (max-width: 768px) {
  .footer-bottom-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1000px) {
  .packages-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .fresz-highlight {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px;
    gap: 4px;
    border-bottom: 1px solid #EEEEEE;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #F5F5F7;
  }
  .nav-menu li:last-child a { border-bottom: none; }
  .nav-menu .nav-cta { text-align: center; margin-top: 8px; }
  .nav-inner { padding: 14px 20px; }
  .nav-brand img { height: 36px; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.5px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 28px; }
  .cta-final h2 { font-size: 28px; }
  .stat-number { font-size: 42px; }
  .container { padding: 0 20px; }
  .form-wrapper { padding: 28px 20px; }
  .process-steps { grid-template-columns: 1fr; }
  .timeline::before { left: 60px; }
  .timeline-item { padding-left: 90px; }
  .timeline-year { width: 50px; font-size: 14px; }
  .timeline-item::before { left: 54px; }
}

/* =========== PHILOSOPHY BLOCKS (Logika zmian) ===========
   Zamiast ściany tekstu — sekwencja bloków „twierdzenie → rozwinięcie".
   Każdy blok ma duży nagłówek-twierdzenie (skanowalny) i krótkie wyjaśnienie. */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.philosophy-block {
  background: white;
  padding: 32px 28px;
  border-radius: 8px;
  border-top: 4px solid #E8B62C;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.philosophy-block h3 {
  font-size: 20px;
  color: #1F4460;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.philosophy-block p {
  color: #444;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.philosophy-lead {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 18px;
  color: #1F4460;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* =========== TIMELINE — wariant z akcentem na praktykę ===========
   Wpisy oznaczone klasą .timeline-item--accent dostają wyróżniony „dot" w limonce
   i pogrubiony tytuł — żeby praktyka konsultingowa wybijała się względem akademii. */
.timeline-item--accent::before {
  background: #E8B62C !important;
  box-shadow: 0 0 0 2px #E8B62C !important;
}
.timeline-item--accent .timeline-content h4 {
  font-size: 18px;
  color: #1F4460;
}
.timeline-item--accent .timeline-content {
  padding-left: 0;
}

/* =========== KLIENCI — kontynentowa mapa zasięgu =========== */
.reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 48px;
}
.reach-card {
  background: white;
  padding: 28px 24px;
  border-radius: 8px;
  border-left: 4px solid #1F4460;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.reach-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1F4460;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.reach-card .reach-count {
  font-size: 36px;
  font-weight: 800;
  color: #1F4460;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.reach-card .reach-countries {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .reach-grid { grid-template-columns: 1fr; }
}

/* =========== TABS KONTAKT (dwie ścieżki: doradztwo / szkolenie) =========== */
.contact-tabs {
  display: flex;
  gap: 0;
  max-width: 720px;
  margin: 0 auto 0;
  border-bottom: 2px solid #EEEEEE;
}
.contact-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.contact-tab:hover { color: #1F4460; }
.contact-tab.active {
  color: #1F4460;
  border-bottom-color: #1F4460;
}
.contact-panel { display: none; }
.contact-panel.active { display: block; }
.contact-panel-intro {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* =========== TRAINING CARD — uzupełnienie dla wariantu z meta (Dla kogo/Czas/Cena) =========== */
.training-meta {
  font-size: 12px;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.75;
  border-top: 1px solid #EEEEEE;
  padding-top: 14px;
}
/* =========== CASE STUDY (SCQA) =========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: 1fr; }
}
.case-card {
  background: white;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-top: 4px solid #E8B62C;
  display: flex;
  flex-direction: column;
}
.case-card h3 {
  font-size: 13px;
  color: #1F4460;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EEEEEE;
}
.case-step {
  margin-bottom: 16px;
}
.case-step-label {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.case-step-text {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}
.case-effects {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #EEEEEE;
}
.case-effects-label {
  display: block;
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.case-effects ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case-effects li {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.case-effects li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #E8B62C;
  font-weight: 700;
}
.case-effects li strong {
  color: #1F4460;
  font-weight: 700;
}
.case-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #EEEEEE;
  font-size: 12px;
  color: #888;
  font-style: italic;
}
/* Tagi systemowości — warstwy interwencji */
.case-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  background: #F0F6FB;
  color: #1F4460;
  border-radius: 3px;
  border: 1px solid #DDE7F0;
}
.case-tag svg,
.case-tag i {
  width: 12px;
  height: 12px;
  stroke: #1F4460;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.case-tag i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========== BLOG ZMIANOTEKA — siatka kafelków =========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

.blog-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.blog-card-link {
  display: block;
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 12px;
}
.blog-card-date {
  color: #888;
  letter-spacing: 0.3px;
}
.blog-card-tag {
  background: #F0F6FB;
  color: #1F4460;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F4460;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card-lead {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: #E8B62C;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Placeholder dla pustego kafelka — "Wpis w przygotowaniu" */
.blog-card-empty {
  background: transparent;
  box-shadow: none;
  border: 2px dashed #DDE7F0;
}
.blog-card-empty:hover {
  transform: none;
  box-shadow: none;
}
.blog-card-placeholder {
  padding: 56px 28px;
  text-align: center;
  color: #999;
}
.blog-card-placeholder i,
.blog-card-placeholder svg {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  stroke: #BBB;
  stroke-width: 1.5;
}
.blog-card-placeholder p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

/* =========== META BAR (podstrony szkoleń) =========== */
.meta-bar-section {
  padding: 48px 0;
  background: #F5F5F7;
}
.meta-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.meta-bar-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
.meta-bar-value {
  font-size: 14px;
  color: #1F4460;
  font-weight: 600;
}
@media (max-width: 600px) {
  .meta-bar-section { padding: 32px 0; }
  .meta-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    text-align: left;
  }
}

/* =========== KONTAKT — siatka info =========== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #EEEEEE;
}
.contact-info-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-info-link {
  color: #1F4460;
  font-size: 14px;
  text-decoration: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========== LUCIDE — link icons i hamburger =========== */
/* Strzałki w linkach (external-link, arrow-left, arrow-right) */
.link-icon,
.link-icon svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2;
  margin-left: 2px;
  position: relative;
  top: -1px;
}

/* Hamburger menu w nav-toggle */
.nav-toggle i[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.nav-toggle i svg {
  width: 24px;
  height: 24px;
  stroke: #1F4460;
  stroke-width: 2;
}
.case-systemic-note {
  margin-top: 36px;
  padding: 20px 28px;
  background: #F0F6FB;
  border-left: 4px solid #1F4460;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #1F4460;
  font-weight: 500;
  line-height: 1.6;
}
.case-systemic-note strong { font-weight: 700; }

/* =========== PROGRAM SZKOLENIA — moduły =========== */
.program-modules {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .program-modules { grid-template-columns: 1fr; }
}
.program-module {
  background: white;
  padding: 28px 28px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 4px solid #1F4460;
}
.program-module-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #E8B62C;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.program-module h3 {
  font-size: 18px;
  color: #1F4460;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.program-module-goal {
  font-size: 13px;
  color: #555;
  font-style: italic;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEEEEE;
}
.program-module ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.program-module ul li {
  font-size: 13px;
  color: #333;
  line-height: 1.55;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.program-module ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E8B62C;
  font-weight: 700;
}

/* =========== PRZYCISKI ZAKUPOWE (publikacje.html — Empik, Ebookpoint) =========== */
/* Równa szerokość, zwarty układ, żeby nie skakały. */
.buy-links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.buy-links .btn-secondary,
.buy-links .btn-primary,
.buy-links .btn-tertiary {
  min-width: 140px;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
}
.buy-links .btn-disabled {
  min-width: 140px;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 4px;
  border: 2px dashed #CCCCCC;
  color: #999999;
  background: #F5F5F7;
  font-weight: 600;
  text-decoration: none;
  cursor: not-allowed;
  pointer-events: none;
}

/* =========== PASEK KLIENTÓW (TICKER) =========== */
.clients-ticker-section {
  padding: 64px 0;
  overflow: hidden;
  background: #1F4460;
  color: white;
}
.clients-ticker-section--compact { padding: 40px 0; }
.clients-ticker-section .ticker-heading {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 600;
}
.ticker-wrap {
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  overflow: hidden;
}
.ticker-row {
  display: flex;
  width: max-content;
  align-items: center;
}
.ticker-row-left  { animation: ticker-scroll-left  60s linear infinite; }
.ticker-row-right {
  animation: ticker-scroll-right 70s linear infinite;
  margin-top: 24px;
}
.ticker-row:hover { animation-play-state: paused; }
@keyframes ticker-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ticker-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.ticker-item {
  padding: 0 36px;
  text-align: center;
  white-space: nowrap;
  min-width: 140px;
}
/* Jeśli ticker-item ma tylko ticker-name (brak ticker-branch), wycentruj go pionowo */
.ticker-item:not(:has(.ticker-branch)) {
  display: flex;
  align-items: center;
}
.ticker-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #E8B62C;
  text-transform: uppercase;
  line-height: 1.2;
}
.ticker-branch {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin-top: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-row-left,
  .ticker-row-right { animation: none; }
}

/* =========== FORMULARZ KONTAKTOWY — wzór jedno-formularzowy z warunkową drugą sekcją =========== */
/* Wzorzec: 1) wybór tematu (radio: Doradztwo / Szkolenie / Pytanie ogólne)
            2) sekcja warunkowa (np. dropdown z terminami szkoleń) — pokazywana JS-em
            3) dane kontaktowe + wiadomość */
.contact-form-section { padding: 80px 0; }
.contact-step {
  margin-bottom: 36px;
}
.contact-step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1F4460;
  color: white;
  text-align: center;
  line-height: 28px;
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: middle;
}
.contact-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F4460;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
}
.contact-step-body { margin-top: 18px; }
.topic-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 700px) {
  .topic-choice { grid-template-columns: 1fr; }
}
.topic-choice input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.topic-choice label {
  display: block;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  padding: 18px 16px;
  cursor: pointer;
  background: white;
  transition: all 0.15s ease-in-out;
}
.topic-choice label:hover {
  border-color: #1F4460;
  background: #F8FAFC;
}
.topic-choice input[type="radio"]:checked + .topic-card {
  border-color: #1F4460;
  background: #F0F6FB;
  box-shadow: 0 0 0 3px rgba(31,68,96,0.12);
}
.topic-card-title {
  font-weight: 700;
  color: #1F4460;
  font-size: 15px;
  margin-bottom: 4px;
}
.topic-card-desc {
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
}
/* warunkowa sekcja — domyślnie ukryta, JS dodaje klasę .is-active */
.contact-conditional {
  display: none;
  padding: 20px;
  background: #F8FAFC;
  border-left: 3px solid #1F4460;
  border-radius: 4px;
  margin-top: 10px;
}
.contact-conditional.is-active { display: block; }

/* Odwrotna logika: widoczne TYLKO gdy NIE szkolenie. JS dodaje .is-hidden gdy isSzkolenie */
.contact-conditional-only { display: block; }
.contact-conditional-only.is-hidden { display: none; }
.contact-conditional select,
.contact-conditional input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background: white;
}
.contact-conditional label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.contact-conditional .terminy-empty {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 8px;
}

/* Mechanizm dat dla szkoleń (wariant B: data-date + JS) */
/* Pozycje terminów z atrybutem data-date="YYYY-MM-DD" są ukrywane przez JS jeśli już minęły. */
.szkolenie-termin[data-past="true"] { display: none; }
.szkolenie-terminy-empty {
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 8px;
  display: none;
}
.szkolenie-terminy-empty.is-active { display: block; }
                        