/* ==========================================================================
   Blok „Producenci: dobór modelu” (.pr-model): trzy obserwacje jako małe schematy obciążenia
   (ta sama skala w 01 i 02: możliwości urządzenia jako obrys, realny wydruk jako wypełnienie,
   nadmiar jako kreskowanie), rodzina modeli A4/A3, pasek „jedna umowa”.
   Źródło (prototyp): assets/css/podstrony/producenci.css
   ========================================================================== */

.pr-model { padding: var(--section-y) 0; }

/* separator: linia zanikająca na końcach z pomarańczową kropką (dwie sąsiednie białe sekcje) */
.pr-model.pr-sep { padding-top: 0; }
.pr-model.pr-sep > .container::before {
  content: ""; grid-column: 1 / -1; display: block; height: 26px; margin-bottom: clamp(3rem, 6vw, 5rem);
  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;
}

/* nagłówek sekcji: prefiks w osobnym wierszu, tytuł z lewej, tekst z prawej */
.pr-model .pr-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.pr-model .pr-head > .eyebrow.eyebrow { grid-column: 1 / -1; margin: 0; }
.pr-model .pr-head h2 { margin: 0; max-width: 17ch; }
.pr-model .pr-head--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pr-model .pr-head--wide h2 { max-width: 22ch; text-wrap: balance; }
.pr-model .pr-head__side { padding-top: .35rem; }
.pr-model .pr-head__side > p { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 56ch; }
.pr-model .pr-head__side > p + p { margin-top: .75rem; }

.pr-obs__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1.5rem;
  padding-bottom: .85rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line-strong);
}
.pr-obs__title { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.005em; color: var(--navy-900); }
.pr-obs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.pr-ob {
  display: flex; flex-direction: column; padding: 1.3rem 1.4rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
}
.pr-ob__fig {
  display: flex; align-items: center; gap: 1rem; height: 128px;
  padding-bottom: 1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.pr-ob__dev { flex: none; height: auto; }
.pr-ob__dev--big { width: 92px; }
.pr-ob__dev--small { width: 48px; }
.pr-ob__n { margin: 0 0 .35rem; font-family: var(--font-ui); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.pr-ob__h { margin: 0 0 .55rem; font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--navy-900); }
.pr-ob > p:last-child { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--muted); }

.pr-scale { flex: 1; min-width: 0; padding-bottom: .15rem; }
.pr-scale__track { position: relative; height: 20px; }
.pr-scale__cap, .pr-scale__load, .pr-scale__over { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; }
.pr-scale__cap { width: var(--cap); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.pr-scale__load { width: var(--load); background: var(--navy-900); transform-origin: 0 50%; transition: transform 1.1s var(--ease) .15s; }
.pr-scale__over {
  left: var(--from); width: calc(var(--to) - var(--from)); border-radius: 0 4px 4px 0;
  background: repeating-linear-gradient(135deg, var(--orange-600) 0 2px, transparent 2px 6px);
  box-shadow: inset 0 0 0 1.5px var(--orange-600);
  transform-origin: 0 50%; transition: transform .9s var(--ease) 1.1s;
}
/* granica możliwości w 02: krótka pionowa kreska, nadmiar zaczyna się za nią */
.pr-scale--over .pr-scale__cap::after {
  content: ""; position: absolute; right: -1px; top: -5px; bottom: -5px; width: 2px; border-radius: 1px; background: var(--navy-900);
}
.pr-scale__alert {
  position: absolute; left: var(--at); top: 50%; width: 26px; height: 26px; margin: -13px 0 0 6px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff;
  transition: opacity .3s 1.9s, transform .45s var(--ease) 1.9s;
}
.pr-scale__alert .icon { width: .85rem; height: .85rem; stroke-width: 2.25; }
.pr-scale__keys { display: grid; gap: .3rem; margin-top: .7rem; }
.pr-scale__key { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-ui); font-size: .8125rem; line-height: 1.2; color: var(--muted); }
.pr-scale__key::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; }
.pr-scale__key--load::before { background: var(--navy-900); }
.pr-scale__key--cap::before { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.pr-scale__key--edge::before { width: 2px; height: 12px; margin: 0 4px; border-radius: 1px; background: var(--navy-900); }
.pr-scale__key--over::before { background: repeating-linear-gradient(135deg, var(--orange-600) 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px var(--orange-600); }

html:not(.no-js) .pr-ob:not(.is-in) .pr-scale__load,
html:not(.no-js) .pr-ob:not(.is-in) .pr-scale__over { transform: scaleX(0); }
html:not(.no-js) .pr-ob:not(.is-in) .pr-scale__alert { opacity: 0; transform: scale(.5); }

.pr-ob__fig--row { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: .55rem; }
.pr-family { list-style: none; margin: 0; padding: 0 .25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .35rem; }
.pr-family li { display: grid; justify-items: center; gap: .3rem; }
.pr-family svg { display: block; width: 38px; height: auto; }
.pr-family .is-a3 svg { width: 60px; --pr-body: var(--orange-600); --pr-tray: #c94f18; --pr-lid: var(--orange-100); }
.pr-family span { font-family: var(--font-ui); font-size: .8125rem; font-weight: 600; line-height: 1; color: var(--muted-2); }
.pr-family .is-a3 span { color: var(--navy-900); }
.pr-family__brace {
  position: relative; margin: 0; padding-top: .55rem; border-top: 2px solid var(--navy-100);
  font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; line-height: 1.25; text-align: center; color: var(--navy-900);
}
.pr-family__brace::before, .pr-family__brace::after { content: ""; position: absolute; top: -8px; width: 2px; height: 8px; background: var(--navy-100); }
.pr-family__brace::before { left: 0; }
.pr-family__brace::after { right: 0; }
html:not(.no-js) .pr-ob:not(.is-in) .pr-family .is-a3 svg { --pr-body: var(--navy); --pr-tray: var(--navy-900); --pr-lid: var(--navy-100); }

/* flota z dwóch, trzech marek → jedna umowa */
.pr-mix {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.25rem clamp(2rem, 5vw, 4rem); align-items: center;
  margin-top: clamp(1.25rem, 2.5vw, 2rem); padding: 1.25rem clamp(1.25rem, 2.5vw, 2rem); border-radius: var(--radius-lg);
  background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--line);
}
.pr-mix__fig { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; }
.pr-mix__grp { display: grid; justify-items: center; gap: .45rem; }
.pr-mix__devs { display: flex; gap: 4px; }
.pr-mix__devs svg { width: 30px; height: auto; --pr-body: var(--tone); --pr-tray: var(--tone); --pr-lid: color-mix(in srgb, var(--tone) 28%, #fff); }
.pr-mix__cap { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; line-height: 1; color: var(--navy-900); }
.pr-mix__cap .icon { width: .95rem; height: .95rem; color: var(--navy); }
.pr-mix__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pr-mix__arrow .icon { width: 1rem; height: 1rem; }
.pr-mix__one {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: var(--radius-pill);
  background: var(--navy-900); color: #fff; font-family: var(--font-ui); font-size: .9375rem; font-weight: 500; line-height: 1;
}
.pr-mix__one .icon { width: 1.05rem; height: 1.05rem; color: var(--orange-400); }
.pr-mix__txt { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.pr-mix__txt b { font-weight: 600; color: var(--navy-900); }

@media (max-width: 1100px) {
  .pr-mix { grid-template-columns: minmax(0, 1fr); }
}

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

@media (max-width: 640px) {
  .pr-ob__fig { height: 116px; }
  .pr-mix__fig { gap: .75rem 1rem; }
  .pr-mix__devs svg { width: 26px; }
}

@media (max-width: 420px) {
  .pr-mix__arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pr-scale__load, .pr-scale__over, .pr-scale__alert, .pr-family svg { transition: none !important; }
}
