.uc-hero {
  background: #f6f9fe;
  padding: 108px 0 92px;
  position: relative;
  overflow: hidden;
}
.uc-hero:before {
  content: "";
  position: absolute;
  right: -120px;
  top: -100px;
  width: 600px;
  height: 600px;
  background: transparent;
  pointer-events: none;
}
.uc-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 67px);
  margin: 22px 0 23px;
}
.uc-hero h1 span {
  color: var(--blue-text);
}
.uc-hero p {
  max-width: 710px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.uc-disclaimer {
  font-size: 11px;
  color: var(--muted-text);
  margin-top: 26px;
}
.uc-main-nav .uc-active-nav {
  color: var(--blue-text);
}
.uc-library {
  background: #fff;
}
.uc-library-heading {
  max-width: 780px;
}
.uc-library-heading h2 {
  font-size: clamp(30px, 3.5vw, 47px);
  margin: 16px 0;
}
.uc-library-heading p {
  color: var(--muted);
}
.uc-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0 65px;
}
.uc-index-link {
  padding: 17px 16px;
  background: #f6f9fd;
  border: 1px solid #dbe7f4;
  border-radius: 14px;
  min-height: 95px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform 0.28s,
    background 0.28s,
    border-color 0.28s,
    box-shadow 0.28s;
}
.uc-index-link:hover {
  transform: translateY(-5px);
  background: #eef6ff;
  border-color: #83b8f6;
  box-shadow: 0 12px 28px #173e6c15;
}
.uc-index-link b {
  color: var(--blue-text);
  font-size: 11px;
}
.uc-index-link span:nth-of-type(1) {
  font-size: 13px;
  font-weight: 750;
}
.uc-index-link span:last-child {
  margin-left: auto;
  color: var(--blue-text);
  font-size: 16px;
}
.uc-list {
  display: grid;
  gap: 26px;
}
.uc-detail {
  scroll-margin-top: 104px;
  border: 1px solid #dce7f3;
  border-radius: 24px;
  background: #f9fbfe;
  padding: 29px 32px;
  box-shadow: 0 15px 40px #17385b0c;
  transition: box-shadow 0.4s;
}
.uc-detail:hover {
  box-shadow: 0 25px 55px #17385b18;
}
.uc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #e0eaf5;
}
.uc-number {
  font-size: 11px;
  color: var(--blue-text);
  font-weight: 850;
  letter-spacing: 0.14em;
}
.uc-category {
  font-size: 10px;
  color: var(--muted-text);
  padding: 7px 12px;
  background: white;
  border-radius: 20px;
  border: 1px solid #dce8f4;
}
.uc-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  padding-top: 28px;
  align-items: center;
}
.uc-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 27px;
}
.uc-copy h3 {
  color: var(--blue-text);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.uc-copy p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.uc-metrics {
  padding-left: 19px;
  font-size: 12px;
  color: #526176;
  line-height: 1.9;
  margin-bottom: 23px;
}
.uc-visual {
  border: 1px solid #b9d1ed;
  border-radius: 20px;
  background: #f0f7ff;
  overflow: hidden;
  box-shadow: 0 20px 40px #12519214;
}
.uc-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d2a50;
  color: #bdd7f5;
  font-size: 10px;
  font-weight: 750;
  padding: 14px 19px;
}
.uc-dots {
  letter-spacing: 3px;
  color: #72a9e2;
}
.uc-dot-live {
  color: #89d8c5;
}
.uc-canvas {
  padding: 22px;
  background: #f1f7ff;
}
.uc-canvas-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 850;
  font-size: 16px;
}
.uc-canvas-title small {
  font-size: 9px;
  color: var(--muted-text);
  font-weight: 600;
}
.uc-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 35px auto 26px;
  gap: 14px;
}
.uc-flow-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  border: 1px solid #bad7f7;
  background: white;
  font-size: 32px;
  color: var(--blue-text);
  box-shadow: 0 12px 28px #1e64a91b;
}
.uc-flow-accent {
  color: #0d9d87;
}
.uc-flow-line {
  width: 38%;
  height: 3px;
  background: #bbd7f7;
  overflow: hidden;
  border-radius: 4px;
}
.uc-flow-line i {
  width: 35%;
  height: 100%;
  display: block;
  background: var(--blue);
  animation: ucTransfer 2s linear infinite;
}
@keyframes ucTransfer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(400%);
  }
}
.uc-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.uc-steps span {
  font-size: 10px;
  background: #fff;
  color: #244968;
  border: 1px solid #d2e4f6;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 650;
}
.uc-insight {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #dce8f4;
  padding: 18px;
  margin-top: 24px;
  border-radius: 12px;
}
.uc-insight span {
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--muted-text);
}
.uc-insight b {
  font-size: 12px;
}
.uc-smallbars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 39px;
}
.uc-smallbars i {
  width: 8px;
  background: #0875f5;
  border-radius: 3px 3px 0 0;
  animation: ucBar 1.3s ease-in-out both;
}
.uc-smallbars i:nth-child(1) {
  height: 30%;
}
.uc-smallbars i:nth-child(2) {
  height: 45%;
}
.uc-smallbars i:nth-child(3) {
  height: 60%;
}
.uc-smallbars i:nth-child(4) {
  height: 75%;
}
.uc-smallbars i:nth-child(5) {
  height: 100%;
}
@keyframes ucBar {
  from {
    transform: scaleY(0.2);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
  }
}
.uc-final {
  background: #071b38;
  color: #fff;
  padding: 74px 0;
}
.uc-final-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.uc-final .kicker {
  color: #65b0ff;
}
.uc-final h2 {
  font-size: clamp(28px, 3vw, 43px);
  margin: 16px 0;
}
.uc-final p {
  max-width: 640px;
  color: #b7cde4;
  font-size: 13px;
}
.uc-cta {
  white-space: normal;
  text-align: center;
}
.uc-active-nav {
  color: var(--blue-text) !important;
}
@media (max-width: 1000px) {
  .uc-index {
    grid-template-columns: repeat(2, 1fr);
  }
  .uc-layout {
    grid-template-columns: 1fr;
  }
  .uc-visual {
    max-width: 750px;
  }
}
@media (max-width: 600px) {
  .uc-hero {
    padding: 60px 0;
  }
  .uc-index {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .uc-index-link {
    padding: 11px;
    min-height: 108px;
  }
  .uc-index-link span:nth-of-type(1) {
    font-size: 11px;
  }
  .uc-detail {
    padding: 17px;
  }
  .uc-layout {
    gap: 14px;
  }
  .uc-copy h2 {
    font-size: 26px;
  }
  .uc-canvas {
    padding: 12px;
  }
  .uc-canvas-title {
    font-size: 12px;
  }
  .uc-canvas-title small {
    display: none;
  }
  .uc-flow-icon {
    width: 56px;
    height: 56px;
  }
  .uc-flow {
    gap: 8px;
  }
  .uc-steps span {
    font-size: 9px;
  }
  .uc-insight {
    grid-template-columns: 1fr auto;
  }
  .uc-insight span {
    grid-column: 1/-1;
  }
  .uc-final-inner {
    display: block;
  }
  .uc-final .button {
    margin-top: 17px;
  }
  .uc-window-bar {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .uc-flow-line i,
  .uc-smallbars i {
    animation: none;
  }
}

/* v11 — real case from user-supplied archive */
.real-case {
  background: #f7faff;
  padding-top: 96px;
  padding-bottom: 92px;
}
.real-case-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--blue-text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}
.real-dot {
  width: 9px;
  height: 9px;
  background: #16b8d4;
  border-radius: 50%;
}
.real-case-head {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
.real-case-head h2 {
  font-size: clamp(34px, 4vw, 57px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 14px 0 0;
}
.real-case-head h2 span {
  color: var(--blue-text);
}
.real-case-head p {
  color: #526176;
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}
.real-case-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  border: 1px solid #d7e5f3;
  border-radius: 23px;
  background: white;
  overflow: hidden;
  box-shadow: 0 15px 40px #0b325610;
}
.real-case-hero-content {
  padding: 43px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.real-case-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--blue-text);
}
.real-case-hero-content h3 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin: 20px 0;
}
.real-case-hero-content p {
  font-size: 14px;
  line-height: 1.8;
  color: #526176;
}
.real-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 25px;
}
.real-chips span {
  font-size: 11px;
  border-radius: 30px;
  background: #eff6ff;
  border: 1px solid #d5e6fa;
  padding: 8px 10px;
  color: #31577b;
}
.real-case-hero figure {
  margin: 0;
  background: #eef4fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.real-case-hero figure img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}
.real-case-hero figcaption {
  position: absolute;
  bottom: 8px;
  right: 12px;
  color: #596d86;
  font-size: 9px;
  background: #fffffff0;
  padding: 5px 7px;
  border-radius: 6px;
}
.real-case-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 58px;
}
.real-case-triptych article {
  background: white;
  padding: 27px;
  border: 1px solid #dae7f4;
  border-radius: 17px;
}
.real-case-triptych article > span {
  font-size: 10px;
  color: var(--blue-text);
  font-weight: 800;
  letter-spacing: 0.1em;
}
.real-case-triptych h3 {
  font-size: 18px;
  margin: 15px 0 10px;
}
.real-case-triptych p {
  color: #526176;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.real-gallery {
  scroll-margin-top: 110px;
}
.real-gallery-title {
  margin-bottom: 25px;
}
.real-gallery-title h3 {
  font-size: 33px;
  letter-spacing: -0.035em;
  margin: 12px 0 8px;
}
.real-gallery-title p {
  color: #526176;
  font-size: 13px;
}
.real-gallery-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}
.real-gallery-grid figure {
  margin: 0;
  border: 1px solid #d6e4f3;
  border-radius: 17px;
  background: white;
  overflow: hidden;
  box-shadow: 0 12px 28px #10335911;
}
.real-gallery-grid figure img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #f2f6fa;
}
.real-gallery-grid figure:nth-child(2) img {
  background: #f5f9f4;
}
.real-gallery-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px 21px;
}
.real-gallery-grid figcaption b {
  font-size: 14px;
}
.real-gallery-grid figcaption span {
  font-size: 12px;
  color: #526176;
}
.real-case-footer {
  margin-top: 31px;
  border-radius: 17px;
  padding: 23px 28px;
  background: #071b38;
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.real-case-footer h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.real-case-footer p {
  font-size: 12px;
  line-height: 1.7;
  color: #bad0e5;
  max-width: 650px;
  margin: 0;
}
.real-case-footer .button {
  flex-shrink: 0;
}
.real-case-disclaimer {
  font-size: 11px;
  color: var(--muted-text);
  margin: 17px 0 0;
  line-height: 1.7;
}
@media (max-width: 850px) {
  .real-case-head,
  .real-case-hero {
    grid-template-columns: 1fr;
  }
  .real-case-triptych {
    grid-template-columns: 1fr;
  }
  .real-gallery-grid {
    grid-template-columns: 1fr;
  }
  .real-case-hero figure img {
    max-height: none;
  }
  .real-case-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  .real-case {
    padding-top: 65px;
  }
  .real-case-hero-content {
    padding: 25px 19px;
  }
  .real-case-triptych {
    margin-bottom: 40px;
  }
  .real-gallery-title h3 {
    font-size: 27px;
  }
  .real-case-footer {
    padding: 24px;
  }
}

/* v12 — powiększanie zrzutów, etykiety statusu */
.zoomable { all: unset; display: block; position: relative; cursor: zoom-in; border-radius: inherit; width: 100%; }
.zoomable img { width: 100%; height: auto; display: block; }
.zoomable:focus-visible { outline: 3px solid #62baff; outline-offset: 3px; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; background: #071b38e6; color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 6px 11px; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s; }
.zoomable:hover .zoom-hint, .zoomable:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1400px, 96vw); width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: #071b38e0; }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 12px; background: #fff; }
.lightbox figcaption { color: #dce8f6; font-size: 13px; margin-top: 10px; text-align: center; }
.lightbox-close { position: absolute; top: -14px; right: -6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #071b38; font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px #0005; }
.uc-type { font-size: 10px; font-weight: 750; color: #4d5f77; background: #f2f4f7; border: 1px solid #dde3ea; border-radius: 999px; padding: 4px 10px; margin-right: 10px; }
.uc-library-heading .status-badge { margin: 12px 0 4px; }

/* v14 — Dębski Plants: sześć widoków systemu */
.dp-features { margin-top: 56px; }
.dp-features .real-gallery-title { margin-bottom: 8px; }
.dp-feature { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.dp-feature:nth-of-type(even) { grid-template-columns: 1.18fr 0.82fr; }
.dp-feature:nth-of-type(even) .dp-copy { order: 2; }
#dp-1 .dp-shot { max-width: 620px; justify-self: end; }
.dp-label { display: block; font-size: 12px; font-weight: 750; letter-spacing: 0.1em; color: var(--blue-text); margin-bottom: 12px; }
.dp-copy h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 14px; }
.dp-copy p { font-size: 15.5px; color: #33465e; line-height: 1.75; margin-bottom: 16px; }
.dp-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.dp-points li { position: relative; padding-left: 20px; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.dp-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.dp-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #d9e5f2; box-shadow: 0 22px 50px #0a356518; }
.dp-shot .zoomable { border-radius: 16px; }
#dp-3 .dp-shot { background: #f3f6fa; }
.dp-next { margin-top: 12px; padding: 26px 28px; border: 1px dashed #b9cde6; border-radius: 16px; background: #fff; }
.dp-next h3 { font-size: 20px; margin: 10px 0 12px; }
.dp-next .status-badge { margin: 0; }
.status-progress { background: #fff7e6; color: #7a5410; border: 1px solid #f0d9a8; }
.real-case-footer { margin-top: 28px; }
@media (max-width: 900px) {
  .dp-feature { grid-template-columns: 1fr; gap: 22px; padding: 34px 0; }
  .dp-feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .dp-feature:nth-of-type(even) .dp-copy { order: 0; }
  #dp-1 .dp-shot { justify-self: stretch; max-width: none; }
}
