/* ============================================================
   Landing page — szkolenie 20-21 maja 2026
   Lideruj.pl
   ============================================================ */

/* RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1A2744;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: #0F1B33; line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.5px; color: #4A5874; }
p { margin: 0 0 1em; }
a { color: #0077B6; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

/* SECTIONS */
.section {
  padding: 80px 0;
}
.section-light { background: #F8F9FB; }
.section-dark { background: #0F1B33; color: #E6ECF5; }
.section-dark h2 { color: #FFFFFF; }
.section-dark .callout { background: rgba(255,255,255,0.08); padding: 16px 20px; border-left: 3px solid #4FB3D9; border-radius: 4px; margin-top: 24px; font-weight: 500; }
.section-intro { font-size: 1.1rem; color: #4A5874; margin-bottom: 32px; }
.section-summary { font-size: 1.05rem; color: #1A2744; margin-top: 24px; padding-top: 20px; border-top: 1px solid #E1E7F0; font-style: italic; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #0F1B33 0%, #1A3050 100%);
  color: #E6ECF5;
  padding: 32px 0 96px;
}
.hero .brand { margin-bottom: 56px; }
.hero .logo { max-height: 110px; filter: brightness(0) invert(1); }
.hero h1 { color: #FFFFFF; font-size: 2.5rem; max-width: 900px; }
.hero .lead { font-size: 1.2rem; max-width: 760px; color: #C7D3E8; margin-bottom: 28px; }
.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: #C7D3E8;
}
.hero-meta li strong { color: #FFFFFF; }
.badge-top {
  display: inline-block;
  background: #2E7D32;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: #0077B6; color: #FFFFFF; }
.btn-primary:hover { background: #005C91; text-decoration: none; }
.btn-secondary { background: #FFFFFF; color: #0077B6; border-color: #0077B6; }
.btn-secondary:hover { background: #EAF5FB; text-decoration: none; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-add {
  background: transparent;
  color: #0077B6;
  border: 1px dashed #0077B6;
  padding: 10px 18px;
  margin-top: 8px;
}
.btn-add:hover { background: #EAF5FB; }
.btn-submit { width: 100%; margin-top: 16px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* CHECKLIST */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid #E1E7F0;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: #0077B6;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  line-height: 24px;
  font-size: 0.85rem;
}
.checklist.accent li::before { background: #2E7D32; }

/* PROGRAM */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.program-day {
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 10px;
  padding: 28px;
}
.day-header { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 2px solid #0077B6; }
.day-header h3 { margin-bottom: 4px; }
.day-lead { color: #4A5874; font-size: 0.95rem; margin: 0; }
.modules { padding-left: 24px; }
.modules li { margin-bottom: 10px; }
.bonus-box {
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 10px;
  padding: 24px 28px;
  margin-top: 16px;
}
.bonus-box h3 { margin-top: 0; }
.bonus-box ul { padding-left: 22px; margin: 0; }
.bonus-box li { margin-bottom: 6px; }

/* TRAINERS */
.trainers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.trainer-card {
  background: #F8F9FB;
  border-radius: 10px;
  padding: 32px;
  text-align: left;
}
.trainer-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  background: #E1E7F0;
}
.placeholder-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #4A5874;
  background: #E1E7F0;
}
.trainer-card h3 { margin-bottom: 4px; }
.trainer-role { color: #4A5874; font-size: 0.95rem; margin-bottom: 14px; font-weight: 500; }
.trainer-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.trainer-links a.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.trainer-links a.social-icon:hover { transform: translateY(-2px); opacity: 0.9; }
.trainer-links a.social-icon svg { width: 20px; height: 20px; display: block; }
.trainer-links a.social-linkedin { background: #0077B5; }
.trainer-links a.social-facebook { background: #1877F2; }
.trainer-links a.social-www { background: #4A5874; }

/* CTA SECTIONS — między blokami treści */
.cta-section {
  text-align: center;
  padding: 48px 0;
  background: #FFFFFF;
}
.cta-section.cta-light { background: #F8F9FB; }
.cta-section p {
  margin: 0 0 16px;
  color: #4A5874;
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* CO DALEJ — section-dark already styled */

/* PATHS */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.paths-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin: 0 auto;
}
.path-card {
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15,27,51,0.08); }
.path-bur { border-color: #2E7D32; border-width: 2px; }
.path-tag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: #2E7D32;
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.path-card h3 { margin-bottom: 12px; }
.path-price {
  font-size: 1rem;
  color: #4A5874;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-old {
  font-size: 1rem;
  color: #8A95B0;
  text-decoration: line-through;
  text-decoration-color: #C0392B;
  text-decoration-thickness: 2px;
  font-weight: 500;
}
.price-new { color: #4A5874; }
.price-new strong { font-size: 1.55rem; color: #0F1B33; }
.price-sub { font-size: 0.85rem; color: #6B7795; margin-top: 2px; }
.path-card p { flex-grow: 1; }
.path-note { font-size: 0.9rem; color: #4A5874; padding: 10px 14px; background: #F8F9FB; border-radius: 6px; margin: 12px 0 18px; flex-grow: 0; }
.path-card .btn { margin-top: auto; }

/* FORM */
.form-section {
  border: none;
  padding: 0;
  margin: 0 0 40px;
}
.form-section legend {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F1B33;
  padding: 0;
  margin-bottom: 4px;
}
.legend-help {
  font-size: 0.95rem;
  color: #4A5874;
  margin-bottom: 20px;
}
.form-row { margin-bottom: 18px; }
.form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #1A2744;
}
.req { color: #C0392B; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #C7D3E8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #FFFFFF;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #0077B6;
  box-shadow: 0 0 0 3px rgba(0,119,182,0.18);
}
.form-row input.invalid,
.form-row textarea.invalid,
.form-row select.invalid {
  border-color: #C0392B;
  background: #FDF1F0;
}
.error-msg {
  display: none;
  color: #C0392B;
  font-size: 0.88rem;
  margin: 6px 0 0;
}
.error-msg.show { display: block; }
.error-help { font-size: 0.85rem; color: #6B7795; margin: 4px 0 0; }
.info-msg { font-size: 0.9rem; color: #4A5874; margin: 8px 0 0; }

/* RADIO / CHECKBOX */
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option, .checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #C7D3E8;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.radio-option:hover, .checkbox-option:hover { background: #F8F9FB; }
.radio-option input, .checkbox-option input {
  margin: 4px 0 0;
  flex-shrink: 0;
}
.radio-option span, .checkbox-option span { font-size: 0.96rem; line-height: 1.5; }

/* CLOUDFLARE TURNSTILE — widget anty-bot, ładowany async z CDN Cloudflare */
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 16px 0 20px;
  min-height: 65px; /* zarezerwowane miejsce, żeby layout nie skakał gdy widget się ładuje */
}

/* HONEYPOT — niewidoczne pole-pułapka na boty.
   Nie używamy display:none, bo zaawansowane boty to wykrywają i pomijają.
   Zamiast tego pole jest poza ekranem. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* PARTICIPANT BLOCK */
.uczestnik-block {
  background: #FFFFFF;
  border: 1px solid #E1E7F0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 14px;
  position: relative;
}
.uczestnik-block .uczestnik-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.uczestnik-block .uczestnik-header h4 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: #1A2744;
}
.uczestnik-remove {
  background: transparent;
  border: none;
  color: #C0392B;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 8px;
}
.uczestnik-remove:hover { text-decoration: underline; }

/* FORM STATES */
.form-status {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #4A5874;
  text-align: center;
}
.success-box, .info-box {
  background: #E8F5E9;
  border: 1px solid #2E7D32;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}
.success-box h3, .info-box h3 { color: #1B5E20; margin-bottom: 8px; }
.info-box { background: #EAF5FB; border-color: #0077B6; }
.info-box h3 { color: #005C91; }

/* FAQ */
.faq-list details {
  border: 1px solid #E1E7F0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: #FFFFFF;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: #0F1B33;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: #0077B6;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details[open] { background: #F8F9FB; }
.faq-list details p { margin: 12px 0 0; color: #4A5874; }

/* FOOTER */
.footer {
  background: #0F1B33;
  color: #C7D3E8;
  padding: 56px 0 32px;
}
.footer h4 { color: #FFFFFF; }
.footer a { color: #4FB3D9; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.logo-footer { max-height: 36px; filter: brightness(0) invert(1); }
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #6B7795;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #2A3A55;
}
.footer-credit {
  text-align: center;
  font-size: 0.8rem;
  color: #8A95B0;
  margin: 12px 0 0;
  letter-spacing: 0.02em;
}
.footer-credit .credit-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #6B7795;
  margin-right: 6px;
}
.footer-credit .credit-sep {
  margin: 0 8px;
  color: #4A5874;
}
.footer-credit a {
  color: #B8C4DD;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-credit a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* STICKY CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #0077B6;
  color: #FFFFFF;
  padding: 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 50;
}
.sticky-cta:hover { text-decoration: none; background: #005C91; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .program-grid, .trainers-grid, .paths-grid, .form-row-double, .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid { gap: 24px; }
  .hero { padding: 24px 0 64px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .lead { font-size: 1.05rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.55rem; }
  .section { padding: 56px 0; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 480p