/* ==========================================================================
   Blok „Granatowe pasmo” (.band): jedno granatowe tło z siatką.
   Źródło: assets/css/podstrona.css (Navy photo band), podstrony/outsourcing.css (.os-band),
   podstrony/zaufali-nam.css (wiersze listy z kafelkiem ikony).
   ========================================================================== */

.band {
  position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0;
  background: url("../../assets/img/siatka-granat.svg") center / cover no-repeat, var(--navy-ground); color: #fff;
}
.band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center; }
.pasmo--gora .band__grid { align-items: start; }
.band__intro { grid-column: 1; }
.band__body { grid-column: 2; min-width: 0; }
.band h2 { color: #fff; max-width: 16ch; }
.band__lead { color: #c9d4e2; font-size: 1.0625rem; max-width: 56ch; }
.band__intro .band__lead:last-child { margin-bottom: 0; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.75rem; }
.band__actions .link-more { margin-top: 0; }

/* a photograph melting into the navy on the left; then everything stands in the 7 column */
.band__media { position: absolute; inset: 0 auto 0 0; width: 54%; z-index: -1; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 42, 67, .12) 0%, rgba(22, 42, 67, .55) 52%, #162a43 100%); }
.pasmo--zdjecie .band__intro, .pasmo--zdjecie .band__body { grid-column: 2; }

/* list in the right column: rows with an icon tile (as on Zaufali nam) */
.band__list { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.band__body > .band__list:first-child { margin-top: 0; }
.band__list li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .35rem 1.1rem;
  padding: 1.35rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.band__list .os-band__ico { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; border-radius: 14px; }
.band__list .os-band__ico .icon { width: 1.2rem; height: 1.2rem; }
.band__list b { padding-top: .55rem; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; color: #fff; }
.band__list li > span:last-child:not(.os-band__ico) { max-width: 58ch; color: #c9d4e2; font-size: 1rem; line-height: 1.6; }
.band__note { margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, .16); color: #dfe7f0; max-width: 60ch; }
.band__note b { display: block; margin-bottom: .35rem; font-family: var(--font-ui); font-weight: 500; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #b9c7da; }

/* list under the grid: equal columns of one standard (Outsourcing) */
.os-band__list {
  list-style: none; margin: clamp(2.75rem, 5vw, 3.75rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.75rem clamp(1rem, 2vw, 1.75rem);
}
.os-band__list li { display: flex; flex-direction: column; gap: .4rem; padding-top: 1.35rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.os-band__ico {
  width: 38px; height: 38px; margin-bottom: .55rem; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: var(--orange-400);
}
.os-band__ico .icon { width: 1.1rem; height: 1.1rem; }
.os-band__list b { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.os-band__list li > span:last-child:not(.os-band__ico) { font-size: .9375rem; line-height: 1.55; color: #c9d4e2; }

@media (max-width: 1100px) {
  .os-band__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .band__grid { grid-template-columns: minmax(0, 1fr); }
  .band__intro, .band__body, .pasmo--zdjecie .band__intro, .pasmo--zdjecie .band__body { grid-column: 1; }
  .pasmo--zdjecie { padding-top: 0; }
  .band__media { position: relative; width: 100%; height: clamp(220px, 46vw, 360px); inset: auto; z-index: 0; margin-bottom: 2rem; }
  .band__media::after { background: linear-gradient(180deg, rgba(22, 42, 67, 0) 40%, #162a43 100%); }
}
@media (max-width: 767px) {
  .os-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .os-band__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .os-band__list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .25rem 1rem; padding: 1.15rem 0; }
  .os-band__list .os-band__ico { grid-row: 1 / 3; margin: 0; }
  .band__list li { grid-template-columns: 40px minmax(0, 1fr); column-gap: .9rem; }
  .band__list .os-band__ico { width: 40px; height: 40px; }
  .band__actions .btn { flex: 1 1 100%; justify-content: center; }
}
