/* Agenda BHP e-learning – nowoczesny, spójny styl (karty jak w testach/wynikach) */

:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --radius:18px;

  --primary:#2563eb;
  --primary-2: rgba(37,99,235,.12);
  --focus: rgba(37,99,235,.25);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a{ color: var(--primary); }
a:hover{ text-decoration: none; }

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position:fixed;
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246,247,251,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: 240px;
}
.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
}
.brand-text{ display:flex; flex-direction:column; }
.brand-title{ font-weight: 800; font-size: 14px; letter-spacing: .2px; }
.brand-subtitle{ color: var(--muted); font-size: 12px; margin-top: 1px; }

.top-nav{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.nav-link{
  color: var(--muted);
  text-decoration:none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.nav-link:hover{
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}

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



.hero{
  margin: 18px 0 16px;
  padding: 18px 20px;
}
.hero h1{
  margin: 10px 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}
.lead{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.hero-highlights{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;

}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.grid{
  display:grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin: 0 0 14px;
}
@media (min-width: 820px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

.training-card{
  padding: 16px 18px 18px;
}
.card-head h2{
  margin: 0 0 6px;
  font-size: 18px;
}
.muted{
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.feature-list{
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.feature-list li{ margin: 6px 0; }

.card-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
}
.btn.primary{
  background: var(--primary);
  color:#fff;
  border-color: rgba(37,99,235,.45);
}
.btn.ghost{
  background:#fff;
  color: var(--text);
}
.btn:hover{ filter: brightness(.98); }
.btn:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
}
.btn.small{ padding: 10px 12px; font-weight: 800; }

/* Info */
.info{
  padding: 16px 18px 18px;
  margin-bottom: 14px;
}
.info h2{ margin: 0 0 10px; }
.steps{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.steps li{ margin: 8px 0; }

.callout{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(37,99,235,.25);
  background: var(--primary-2);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.callout-text{ color: var(--text); font-size: 13px; }

/* FAQ */
.faq{
  padding: 16px 18px 18px;
  margin-bottom: 14px;
}
.faq h2{ margin: 0 0 10px; }
.qa{
  border: 1px solid var(--border);
  border-radius: 14px;
  background:#fff;
  padding: 0;
  overflow:hidden;
  margin-bottom: 10px;
}
.qa summary{
  cursor:pointer;
  padding: 12px 14px;
  font-weight: 800;
  list-style:none;
}
.qa summary::-webkit-details-marker{ display:none; }
.qa p{
  margin: 0;
  padding: 0 14px 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Contact */
.contact{
  padding: 16px 18px 18px;
  margin-bottom: 22px;
}
.contact h2{ margin: 0 0 12px; }
.contact-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px){
  .contact-grid{ grid-template-columns: 1fr 1fr 1fr; }
}
.contact-item{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background:#fff;
}
.contact-item .label{
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 700;
}
.contact-item a{
  font-weight: 800;
  color: var(--text);
  text-decoration:none;
}
.contact-item a:hover{ color: var(--primary); }

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 16px 0;
  background: rgba(246,247,251,.85);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a{
  color: var(--muted);
  font-weight: 700;
  text-decoration:none;
  font-size: 13px;
}
.footer-links a:hover{ color: var(--text); }







