/* ==========================================================================
   Blok „Dlaczego monitoring się opłaca” (.mo-sect.mo-pay): dwie karty.
   Źródło (prototyp): assets/css/podstrony/monitoring.css (bez .p-monitoring).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Klocki strony Monitoringu (monitoring.css: .p-monitoring → .mo-sect): sekcja,
   separator z kropką, nagłówek w dwóch kolumnach, kafelek ikony. Te same reguły
   mają wszystkie bloki monitoring-* (każdy blok działa sam, bez innych).
   -------------------------------------------------------------------------- */

.mo-sect { --mo-y: clamp(3.75rem, 7vw, 6.5rem); --mo-gap: clamp(.75rem, 1.6vw, 1.25rem); position: relative; padding: var(--mo-y) 0; }
.mo-sect--tint { background: var(--paper-2); }

/* between two sections on the same ground: a hairline fading out at both ends with an
   orange dot in a white gap (the home page's .stairs separator), centred on the seam */
.mo-sep { position: relative; border-top: 0; }
.mo-sep::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--container)); height: 26px; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, var(--orange) 0 4px, var(--orange-50) 4.5px 7px, #fff 7.5px 12px, transparent 12.5px) center / 26px 26px no-repeat,
    linear-gradient(90deg, rgba(203, 213, 224, 0), var(--line-strong) 28%, var(--line-strong) 72%, rgba(203, 213, 224, 0)) center / 100% 1px no-repeat;
}

/* two-column head: the prefix on its own row, then the title left and the lead right,
   both top-aligned so the lead never starts above the title */
.mo-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.mo-head > .eyebrow.eyebrow { grid-column: 1 / -1; margin: 0; }
.mo-head h2 { margin: 0; max-width: 21ch; }
.mo-head__lead { margin: 0; padding-top: .4rem; color: var(--muted); font-size: 1.0625rem; max-width: 56ch; }

.mo-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy);
}
.mo-ico .icon { width: 1.15rem; height: 1.15rem; }

@media (max-width: 900px) {
  .mo-head { grid-template-columns: minmax(0, 1fr); }
  .mo-head__lead { padding-top: 0; }
}

/* .mo-head__lead.… – the same .mo-head__lead rule comes in later from other monitoring blocks */
.mo-head__lead.mo-head__lead--big {
  padding-top: .2rem; color: var(--navy-900); font-weight: 500;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.3; letter-spacing: -.015em;
}

.mo-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: clamp(1.4rem, 2.6vw, 2.1rem); border-radius: var(--radius-lg); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -32px rgba(22, 42, 67, .4);
}
.mo-card__top { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.4rem; }
.mo-card__title { margin: 0; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); font-weight: 600; line-height: 1.25; letter-spacing: -.012em; color: var(--navy-900); text-wrap: balance; }
.mo-card__foot { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--navy-900); font-weight: 500; font-size: 1.0625rem; }

/* --------------------------------------------------------------------------
   Dlaczego się opłaca: oddajesz pilnowanie DTS, a dane pokazują, co zmienić
   -------------------------------------------------------------------------- */

.mo-pay__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mo-gap); }

.mo-hand__cols {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(3rem, 1fr) 38px; gap: .75rem; margin: 0 0 .6rem;
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; color: var(--muted);
}
.mo-hand__cols span:last-child { color: var(--navy-900); text-align: center; }
.mo-hand__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.mo-hand__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(3rem, 1fr) 38px; gap: .75rem; align-items: center; }
/* what you no longer watch: a dashed outline, quiet ink */
.mo-hand__item {
  display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .4rem .9rem .4rem .4rem;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-pill);
  font-size: .9375rem; font-weight: 500; color: var(--muted);
}
.mo-hand__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--muted-2); }
.mo-hand__ico .icon { width: 1rem; height: 1rem; }
.mo-hand__arrow { position: relative; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange-100), var(--orange)); margin-right: 6px; }
.mo-hand__arrow::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 8px; height: 10px; margin-top: -5px;
  background: var(--orange); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.mo-hand__ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.mo-hand__ok .icon { width: 1rem; height: 1rem; stroke-width: 2.6; }

.mo-opt__lead { margin: 0 0 .75rem; font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; color: var(--muted); }
.mo-opt__list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 1rem; }
.mo-opt__list li { display: grid; gap: .5rem; }
.mo-opt__lbl { font-size: .9375rem; font-weight: 500; color: var(--navy-900); }
/* the end of the track is the device's recommended load; hatching is work beyond it (Hatch Rule) */
.mo-opt__bar { position: relative; height: 20px; margin-right: 26%; border-radius: 3px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mo-opt__bar i { position: absolute; inset: 4px auto 4px 4px; width: calc((100% - 8px) * .16); border-radius: 2px; background: var(--navy-900); }
.mo-opt__bar--over i { width: calc(100% - 8px); }
.mo-opt__bar--over::after {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: calc(100% + 4px); width: 30%; border-radius: 2px;
  background: repeating-linear-gradient(135deg, var(--orange-600) 0 2px, transparent 2px 5px);
}
.mo-opt__swap { grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .85rem !important; padding-top: 1rem; border-top: 1px solid var(--line); }
.mo-card__key { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: auto 0 0; font-family: var(--font-ui); font-size: .8125rem; color: var(--muted); }
.mo-card__key span { display: inline-flex; align-items: center; gap: .45rem; }
.mo-card__key i { width: 14px; height: 10px; border-radius: 2px; background: var(--navy-900); }
.mo-card__key i.is-over { background: repeating-linear-gradient(135deg, var(--orange-600) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px var(--orange-100); }

@media (max-width: 900px) {
  .mo-pay__grid { grid-template-columns: minmax(0, 1fr); }
  .mo-head__lead.mo-head__lead--big { padding-top: 0; }
}

@media (max-width: 600px) {
  .mo-hand__cols, .mo-hand__list li { grid-template-columns: minmax(0, 1fr) 2rem 34px; gap: .5rem; }
  .mo-hand__ok { width: 34px; height: 34px; }
}
