/*
 * OMNI SHIELD – podstrona „Usługa” (pl/features). Ładowana po home.css,
 * korzysta z jej bazy (.osh, .osh-wrap, .osh-section, .osh-head, .osh-btn, .osh-steps…).
 * Własne elementy mają prefiks osv-.
 */

/* ---------- hero: ciemnoniebieski gradient z tarczami i gwiazdkami (jak baner korzyści) ---------- */
.osv-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 132px 0 72px;
  background:
    radial-gradient(55% 70% at 85% 40%, rgba(120, 134, 255, 0.28) 0%, rgba(120, 134, 255, 0) 100%),
    linear-gradient(160deg, #3841be 0%, #262e8f 45%, #121866 100%);
}
.osv-hero .osh-wrap { position: relative; z-index: 1; width: 100%; }
.osv-hero-shield {
  position: absolute;
  top: 50%;
  height: auto;
  max-width: none;
  pointer-events: none;
  transform: translateY(-50%);
}
.osv-hero-shield--r { right: -140px; width: 760px; opacity: 0.3; }
.osv-hero-shield--l { left: -520px; width: 726px; opacity: 0.12; }
.osv-hero-stars {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1400px;
  max-width: none;
  opacity: 0.6;
  transform: translateX(-50%);
  pointer-events: none;
}
.osv-hero .osh-hero-inner { max-width: 720px; }
.osh .osv-hero h1 { margin: 0; color: #fff; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.15; }
.osv-hero h1 .osh-nowrap { display: block; color: inherit; }
.osv-hero h1 span { color: #c9cdff; }
.osh .osv-hero .osh-lead { color: rgba(255, 255, 255, 0.86); }
/* podtytuł w dwóch linijkach (na komputerze) */
@media (min-width: 1024px) {
  .osv-hero .osh-hero-inner { max-width: 820px; }
  .osh .osv-hero .osv-lead2 { max-width: none; }
  .osv-lead2 > span { display: block; white-space: nowrap; }
}
.osv-hero .osh-btns { justify-content: flex-start; }
.osv-hero .osh-btn--primary { background: #fff; color: var(--osh-accent); }
.osv-hero .osh-btn--primary:hover { background: var(--osh-tint); }
.osv-hero .osh-btn--secondary { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.osv-hero .osh-btn--secondary:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- czym jest: tekst + karta „Nie ma ochrony w 100%” ---------- */
.osv-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.osv-what-head { margin-bottom: 40px; text-align: center; }
.osh .osv-what-head .osh-eyebrow { margin: 0; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.04em; color: var(--osh-eyebrow); }
.osh .osv-big {
  margin: 0;
  font-family: "Inter Display Medium", "Inter Display Medium Placeholder", "Inter", sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--osh-ink);
}
.osh .osv-big span { color: var(--osh-accent); }
.osh .osv-card p + p { margin-top: 12px; }
.osv-card {
  position: relative;
  padding: 36px;
  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);
}
.osv-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--osh-btn);
  color: #fff;
}
.osv-card-icon svg { width: 24px; height: 24px; }
.osh .osv-card h3 { margin-bottom: 10px; color: var(--osh-ink); }
.osh .osv-card p { font-size: 16px; }

/* ---------- porównanie: SOC jak monitoring budynku ---------- */
.osv-compare-section { background: #ffffff; }
.osv-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--osh-card);
  box-shadow: var(--osh-shadow-lg);
  font-size: 16px;
  line-height: 1.55;
}
.osv-compare th, .osv-compare td { padding: 22px 28px; text-align: left; vertical-align: top; }
.osv-compare thead th {
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--osh-ink);
  background: #f4f5ff;
}
.osv-compare thead th:last-child { color: #fff; background: var(--osh-accent); }
.osv-compare thead th span { display: inline-flex; align-items: center; gap: 10px; }
.osv-compare thead svg { width: 20px; height: 20px; flex: none; }
.osv-compare tbody th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--osh-eyebrow);
}
.osv-compare tbody td { color: var(--osh-text); }
.osv-compare tbody td:last-child { color: var(--osh-ink); background: #f7f8ff; }
.osv-compare tbody tr + tr > * { border-top: 1px solid var(--osh-line); }
.osv-compare { table-layout: fixed; }
.osv-compare thead td { width: 20%; }
.osv-compare thead th { width: 40%; }

.osv-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--osh-tint);
}
.osv-note svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--osh-accent); }
.osh .osv-note p { font-size: 16px; color: var(--osh-text); }
.osh .osv-note strong { color: var(--osh-ink); font-weight: 600; }

/* ---------- jak działa: dwa bloki pod krokami ---------- */
.osv-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.osv-duo-item {
  padding: 28px;
  border-radius: 20px;
  background: var(--osh-card);
  box-shadow: var(--osh-shadow);
}
.osh .osv-duo-item h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 18px; color: var(--osh-ink); }
.osv-duo-item h3 svg { flex: none; width: 22px; height: 22px; color: var(--osh-accent); }
.osh .osv-duo-item p { font-size: 15px; line-height: 1.6; }
.osv-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.osv-pills li {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--osh-accent);
  background: var(--osh-tint);
}

/* ---------- dla kogo: lista + branże ---------- */
.osv-for {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.osh .osv-for h2 { margin-bottom: 28px; }
.osv-check { margin: 0; padding: 0; list-style: none; }
.osv-check li {
  position: relative;
  padding: 14px 0 14px 34px;
  font-size: 17px;
  color: var(--osh-ink);
}
.osv-check li + li { border-top: 1px solid var(--osh-line); }
.osv-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--osh-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.osv-industries-label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--osh-eyebrow);
}
.osv-industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.osv-industries li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--osh-ink);
  background: linear-gradient(160deg, #ffffff 0%, #f1f2ff 55%, #e2e5ff 100%);
  box-shadow: 0 10px 24px -16px rgba(30, 40, 120, 0.35), inset 0 0 0 1px rgba(56, 65, 190, 0.12);
}
.osv-industries svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  color: #fff;
  background: var(--osh-btn);
}
.osv-for-col2 { padding-top: 8px; }

/* ---------- Dlaczego OMNISHIELD: baner od brzegu do brzegu, układ jak slajd ---------- */
.osv-why { position: relative; }
.osv-slide-top {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background: linear-gradient(180deg, #cdd7ff 0%, #dfe5ff 55%, #eef1ff 100%);
}
.osv-slide-top .osh-wrap { position: relative; }
.osv-slide-shield {
  position: absolute;
  top: -60px;
  width: 520px;
  height: auto;
  max-width: none;
  opacity: 0.55;
  pointer-events: none;
  filter: brightness(2.2) saturate(0.4);
}
.osv-slide-shield--l { left: -300px; }
.osv-slide-shield--r { right: -300px; }
.osh .osv-slide-top h2 { margin: 0 0 20px; }
.osv-why-l1 { display: inline-flex; align-items: center; gap: 0.3em; }
.osh .osv-slide-top h2 .osv-why-l1 { color: inherit; }
.osv-why-logo { display: inline-block; height: 0.82em; width: auto; }
.osv-slide-top h2 > span:last-child { display: block; }
.osh .osv-slide-top p { max-width: 860px; font-size: 18px; }
.osv-slide-bottom { padding: 64px 0 80px; background: #f6f7fb; }
.osv-slide-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.osv-slide-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--osh-accent);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(56, 65, 190, 0.7);
}
.osv-slide-ico svg { width: 24px; height: 24px; }
.osh .osv-slide-points h3 { margin-bottom: 8px; color: var(--osh-ink); }
.osh .osv-slide-points p { max-width: 320px; margin: 0 auto; font-size: 16px; line-height: 1.6; }
.osv-why + .osv-cta-section { padding-top: 96px; }

@media (max-width: 767px) {
  .osv-slide-top { padding: 64px 0 48px; }
  .osv-slide-shield { width: 340px; }
  .osv-slide-shield--l { left: -240px; }
  .osv-slide-shield--r { right: -240px; }
  .osv-why-l1 { flex-wrap: wrap; row-gap: 6px; }
  .osh .osv-slide-top p { font-size: 17px; }
  .osv-slide-bottom { padding: 48px 0 56px; }
  .osv-slide-points { grid-template-columns: 1fr; gap: 36px; }
  .osv-why + .osv-cta-section { padding-top: 64px; }
}

/* ---------- CTA końcowe: jasna karta ---------- */
.osv-cta-section { padding-top: 0; }
.osv-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f2ff 60%, #e2e5ff 100%);
  box-shadow: var(--osh-shadow-lg);
}
.osh .osv-cta h2 { font-size: clamp(26px, 3vw, 34px); }
.osv-cta .osh-btns { flex: none; margin: 0; }

/* ---------- responsywność ---------- */
@media (max-width: 1023px) {
  .osv-split, .osv-for { grid-template-columns: 1fr; gap: 36px; }
  .osv-hero-shield--r { right: -300px; opacity: 0.2; }
  .osv-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .osv-hero { min-height: 0; padding: 120px 0 56px; }
  .osv-hero h1 .osh-nowrap { display: inline; }
  .osv-hero-shield--l { display: none; }
  .osv-hero-shield--r { width: 520px; right: -320px; }
  .osv-card { padding: 28px 24px; }
  .osv-duo { grid-template-columns: 1fr; }
  .osv-industries { grid-template-columns: 1fr; }
  .osv-cta { padding: 32px 24px; }

  /* tabela porównania jako karty */
  .osv-compare, .osv-compare tbody, .osv-compare tr, .osv-compare th, .osv-compare td { display: block; width: auto !important; }
  .osv-compare thead { display: none; }
  .osv-compare tbody tr { padding: 20px 22px; }
  .osv-compare tbody tr + tr { border-top: 1px solid var(--osh-line); }
  .osv-compare tbody tr + tr > * { border-top: 0; }
  .osv-compare tbody th, .osv-compare tbody td { padding: 0; background: none !important; }
  .osv-compare tbody th { margin-bottom: 10px; }
  .osv-compare tbody td + td { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #f4f5ff !important; }
  .osv-compare tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--osh-muted);
  }
  .osv-compare tbody td + td::before { color: var(--osh-accent); }
}
@media (min-width: 768px) { .osv-nw { white-space: nowrap; } }

/* ---------- czym jest (wersja ze zdjęciem): zdjęcie po lewej, treść po prawej ---------- */
.osv-what2-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.osv-what2-photo { position: relative; margin: 0; }
.osv-what2-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% 40%;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(18, 24, 102, 0.55);
}
.osv-what2-badge {
  position: absolute;
  right: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px -18px rgba(18, 24, 102, 0.5), inset 0 0 0 1px rgba(56, 65, 190, 0.12);
  font-size: 14px;
  line-height: 1.4;
  color: var(--osh-muted);
}
.osv-what2-badge strong { display: block; font-size: 16px; color: var(--osh-ink); }
.osv-what2-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 6px rgba(47, 191, 113, 0.18); }
.osh .osv-what2-body .osh-eyebrow { margin: 0 0 20px; font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: 0.04em; color: var(--osh-eyebrow); }
.osh .osv-what2-body .osv-big { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.osh .osv-what2-body .osv-big + .osv-big { margin-top: 16px; }
.osv-what2-points { display: grid; gap: 20px; margin: 36px 0 0; padding: 32px 0 0; border-top: 1px solid var(--osh-line); list-style: none; }
.osv-what2-points li { display: flex; align-items: flex-start; gap: 16px; }
.osv-what2-points .osv-card-icon { flex: none; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.osv-what2-points .osv-card-icon svg { width: 22px; height: 22px; }
.osh .osv-what2-points p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--osh-text); }
@media (max-width: 959px) {
  .osv-what2-grid { grid-template-columns: 1fr; gap: 48px; }
  .osv-what2-photo { max-width: 520px; }
  .osv-what2-photo img { aspect-ratio: 4 / 3; object-position: 60% 45%; }
  .osv-what2-badge { right: 16px; bottom: -22px; }
}

@media (max-width: 767px) { .osv-br { display: none; } }

/* logo TrendAI w karcie Technologia i dane */
.osv-trend-logo { display: block; width: auto; height: 30px; margin: 2px 0 14px; }

/* Czym jest: logo TrendAI z opisem platformy */
.osv-what2-tech { margin: 36px 0 0; padding: 32px 0 0; border-top: 1px solid var(--osh-line); }
.osh .osv-what2-tech p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--osh-text); }
.osh .osv-what2-tech p + p { margin-top: 12px; }

/* Trzy boksy po Czym jest: TrendAI / Specjaliści / Bezpieczeństwo danych */
.osv-tri-section { padding-top: 0; }
.osv-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.osv-tri-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, #f4f5ff 60%, #e9ebff 100%);
  box-shadow: 0 18px 40px -24px rgba(30, 40, 120, 0.45), inset 0 0 0 1px rgba(56, 65, 190, 0.12);
}
.osv-tri-head { display: flex; align-items: center; height: 44px; margin-bottom: 20px; }
.osv-tri-head .osv-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--osh-btn); color: #fff; }
.osv-tri-head .osv-card-icon svg { width: 22px; height: 22px; }
.osv-tri-head .osv-trend-logo { height: 32px; margin: 0; }
.osh .osv-tri-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.35; color: var(--osh-ink); }
.osh .osv-tri-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--osh-text); }
@media (max-width: 959px) {
  .osv-tri { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}
.osv-tri-head { height: 56px; }
.osv-tri-itss { display: block; width: auto; height: 56px; }
.osv-tri-eu { display: block; width: auto; height: 44px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
/* boksy nachodzą na sekcję Czym jest */
.osv-tri-section { position: relative; z-index: 2; }
.osv-tri { position: relative; margin-top: -48px; }
@media (max-width: 959px) { .osv-tri { margin-top: -28px; } }
.osh .osv-tri-card strong { font-weight: 600; color: var(--osh-ink); }
.osh-section.osv-compare-section { padding-top: 56px; }
@media (max-width: 599px) { .osh-section.osv-compare-section { padding-top: 40px; } }

/* Dla kogo: nagłówek branż i 10 kafelków */
.osh .osv-industries-title { margin: 0 0 18px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.3; color: var(--osh-ink); }
.osh .osv-industries-title span { color: var(--osh-accent); }
.osv-industries { gap: 12px; }
.osv-industries li { padding: 12px 16px; font-size: 15px; }
.osv-industries svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; }
/* nagłówek branż na wysokości nagłówka Dla kogo jest */
@media (min-width: 960px) { .osv-for-col2 { padding-top: 12px; } }

/* Baner kontaktowy na końcu strony Usługa: trzy formy kontaktu */
.osv-contact-section { padding-top: 0; }
.osv-contact {
  position: relative;
  overflow: hidden;
  padding: 48px;
  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;
}
.osv-contact::after {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.osv-contact-head { position: relative; z-index: 1; max-width: 720px; margin: 0 auto 32px; text-align: center; }
.osh .osv-contact-head h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: #fff; }
.osh .osv-contact-head h2 span { color: #c9cfff; }
.osh .osv-contact-head p { margin: 0; font-size: 17px; color: rgba(255, 255, 255, 0.85); }
.osv-contact-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.osv-contact-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.osv-contact-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: #fff; color: var(--osh-btn); }
.osv-contact-ico svg { width: 24px; height: 24px; }
.osh .osv-contact-list h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; color: #fff; }
.osh .osv-contact-list p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.osv-contact-list .osh-btn { margin-top: auto; }
@media (max-width: 959px) {
  .osv-contact-list { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .osv-contact { padding: 32px 22px; }
}
