/* OMNISHIELD: podstrony Wdrożenie i Zgodność z NIS2 (prefiks osw-) */
.osv-hero .osh-btns { margin-top: 28px; }
.osv-hero .osp-jump { margin-top: 28px; }

/* karty: Jak płacisz / Warunki umowy */
.osw-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; }
.osw-card {
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f2ff 55%, #e2e5ff 100%);
  box-shadow: 0 18px 40px -24px rgba(30, 40, 120, 0.45), inset 0 0 0 1px rgba(56, 65, 190, 0.12);
}
.osw-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--osh-btn);
  color: #fff;
}
.osw-card-icon svg { width: 22px; height: 22px; }
.osh .osw-card h3 { margin: 0 0 14px; font-size: 20px; color: var(--osh-ink); }
.osw-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.osw-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.6; color: var(--osh-text); }
.osw-list li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--osh-btn); }
.osw-list strong { font-weight: 600; color: var(--osh-ink); }

/* kroki 1–5 */
.osw-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: osw-step;
}
.osw-steps li {
  position: relative;
  padding: 24px 20px;
  border-radius: 20px;
  background: var(--osh-card);
  box-shadow: var(--osh-shadow-lg);
  counter-increment: osw-step;
}
.osw-steps li::before {
  content: counter(osw-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--osh-btn);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.osh .osw-steps h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; color: var(--osh-accent); }
.osh .osw-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--osh-muted); }
.osw-nw { white-space: nowrap; }

/* co przygotować */
.osw-prep {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
  padding: 32px;
  border-radius: 24px;
  background: var(--osh-tint);
}
.osw-prep-head { display: flex; flex-direction: column; align-items: flex-start; }
.osh .osw-prep-head h3 { margin: 0; font-size: 22px; color: var(--osh-ink); }
.osw-prep-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.osw-prep-list li:nth-child(2) { border-top: 0; }

/* NIS2: kluczowe fakty */
.osw-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.osw-facts li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 20px;
  background: var(--osh-card);
  box-shadow: var(--osh-shadow-lg);
}
.osw-facts strong { font-size: 24px; font-weight: 700; line-height: 1.25; color: var(--osh-accent); }
.osw-facts span { font-size: 16px; line-height: 1.6; color: var(--osh-text); }
.osw-facts small { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--osh-line); font-size: 13px; color: var(--osh-muted); }

/* NIS2: tabela wymogów */
.osw-table { table-layout: fixed; }
.osw-table thead th:first-child { width: 42%; }
.osh .osw-table-note { max-width: 900px; margin: 20px auto 0; font-size: 15px; line-height: 1.6; text-align: center; color: var(--osh-muted); }

/* NIS2: podstawa prawna */
.osw-legal-section { padding-top: 0; }
.osw-legal {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 36px;
  border-radius: 24px;
  background: var(--osh-tint);
}
.osh .osw-legal h2 { margin: 0 0 16px; font-size: 24px; }
.osw-legal ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.osw-legal li { font-size: 15px; line-height: 1.6; color: var(--osh-text); }
.osw-legal a { color: var(--osh-accent); text-decoration: underline; text-underline-offset: 3px; }
.osh .osw-legal-note { margin: 16px 0 0; font-size: 13px; color: var(--osh-muted); }

@media (max-width: 1099px) {
  .osw-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
  .osw-facts { grid-template-columns: 1fr; }
  .osw-prep { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 767px) {
  .osw-duo { grid-template-columns: 1fr; }
  .osw-card { padding: 26px 22px; }
  .osw-steps { grid-template-columns: 1fr; }
  .osw-prep { padding: 26px 22px; }
  .osw-prep-list { grid-template-columns: 1fr; }
  .osw-prep-list li:nth-child(2) { border-top: 1px solid var(--osh-line); }
  .osw-legal { padding: 26px 22px; }
  .osw-table thead { display: none; }
  .osw-table, .osw-table tbody, .osw-table tr, .osw-table th, .osw-table td { display: block; width: auto !important; }
  .osw-table tbody tr { padding: 16px 20px; }
  .osw-table tbody tr + tr { border-top: 1px solid var(--osh-line); }
  .osw-table tbody tr + tr > * { border-top: 0; }
  .osw-table tbody th, .osw-table tbody td { padding: 0; }
  .osw-table tbody td { margin-top: 6px; color: var(--osh-text); }
}

/* Wdrożenie: ramka Co obejmuje wdrożenie */
.osh .osw-prep-lead { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--osh-muted); }
.osw-prep-list--one { grid-template-columns: 1fr; }
.osw-prep-list--one li:nth-child(2) { border-top: 1px solid var(--osh-line); }

/* NIS2: znacznik spełnienia wymogu w tabeli */
.osw-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  vertical-align: -6px;
  border-radius: 50%;
  background: var(--osh-btn);
  color: #fff;
}
.osw-tick svg { width: 13px; height: 13px; }

/* Co obejmuje wdrożenie: baner z gradientem i trzema kafelkami */
.osw-incl {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 40px;
  align-items: center;
  margin-top: 48px;
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(135deg, #4c56e6 0%, #3841be 55%, #232a8a 100%);
  box-shadow: 0 30px 60px -30px rgba(30, 40, 140, 0.6);
  color: #fff;
}
.osw-incl::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.osh .osw-incl-head h3 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: #fff; }
.osh .osw-incl-head h3 span { color: #c9cfff; }
.osh .osw-incl-head p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.osw-incl-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.osw-incl-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}
.osw-incl-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 12px; background: #fff; color: var(--osh-btn); }
.osw-incl-ico svg { width: 22px; height: 22px; }
.osw-incl-list strong { font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; }
.osw-incl-list span:not(.osw-incl-ico) { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }

/* Rozliczenia: kafelki płatności i pasek warunków */
.osw-bill { max-width: 1080px; margin: 0 auto; }
.osh .osw-bill-title { margin: 0 0 16px; font-size: 20px; color: var(--osh-ink); }
.osh .osw-bill-title + .osw-pay, .osh .osw-bill-title + .osw-terms { margin-top: 0; }
.osw-pay + .osw-bill-title { margin-top: 44px; }
.osw-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.osw-pay li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: var(--osh-card);
  box-shadow: var(--osh-shadow-lg);
}
.osw-pay-ico { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--osh-tint); color: var(--osh-btn); }
.osw-pay-ico svg { width: 24px; height: 24px; }
.osw-pay strong { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--osh-ink); }
.osw-pay span:not(.osw-pay-ico) { font-size: 14px; line-height: 1.5; color: var(--osh-muted); }
.osw-terms {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f2ff 55%, #e2e5ff 100%);
  box-shadow: 0 18px 40px -24px rgba(30, 40, 120, 0.45), inset 0 0 0 1px rgba(56, 65, 190, 0.12);
}
.osw-terms li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; }
.osw-terms li + li { border-left: 1px solid rgba(56, 65, 190, 0.14); }
.osw-terms strong { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--osh-accent); white-space: nowrap; }
.osw-terms span { font-size: 14px; line-height: 1.5; color: var(--osh-text); }

@media (max-width: 1099px) {
  .osw-incl { grid-template-columns: 1fr; gap: 28px; }
  .osw-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .osw-terms li:nth-child(4) { border-left: 0; }
  .osw-terms li:nth-child(n+4) { border-top: 1px solid rgba(56, 65, 190, 0.14); }
}
@media (max-width: 767px) {
  .osw-incl { padding: 28px 22px; }
  .osw-incl-list, .osw-pay { grid-template-columns: 1fr; }
  .osw-terms { grid-template-columns: 1fr 1fr; }
  .osw-terms li { border-left: 0 !important; border-top: 0 !important; }
  .osw-terms li:nth-child(n+3) { border-top: 1px solid rgba(56, 65, 190, 0.14) !important; }
  .osw-terms li:nth-child(even) { border-left: 1px solid rgba(56, 65, 190, 0.14) !important; }
}
.osw-pay + .osw-terms { margin-top: 24px; }
