:root {
  --di-bg: #050505;
  --di-surface: #111111;
  --di-surface-2: #171717;
  --di-line: rgba(160, 139, 115, 0.24);
  --di-line-strong: rgba(160, 139, 115, 0.42);
  --di-accent: #a08b73;
  --di-accent-soft: rgba(160, 139, 115, 0.14);
  --di-text: #f2efe9;
  --di-text-2: rgba(242, 239, 233, 0.82);
  --di-text-3: rgba(242, 239, 233, 0.62);
  --di-ok: #d9c3a9;
  --di-max: 1240px;
  --di-radius: 22px;
  --di-shadow: 0 24px 60px rgba(0,0,0,.28);
}

body.di-body {
  background:
    radial-gradient(circle at top right, rgba(160,139,115,.16), transparent 28%),
    linear-gradient(180deg, #090909 0%, #050505 100%);
  color: var(--di-text);
}

main.di-page {
  margin-top: 0 !important;
  padding: 0 0 80px;
}

.di-wrap {
  width: min(92%, var(--di-max));
  margin: 0 auto;
}

.di-hero {
  padding: 50px 0 22px;
}

.di-hero-box {
  border: 1px solid var(--di-line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(160,139,115,.16), rgba(17,17,17,.96) 28%, rgba(10,10,10,.98) 100%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  box-shadow: var(--di-shadow);
  padding: 34px clamp(22px, 3vw, 42px);
  position: relative;
  overflow: hidden;
}

.di-hero-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(160,139,115,.05) 48%, transparent 100%);
  pointer-events: none;
}

.di-kicker,
.di-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--di-line-strong);
  background: rgba(160,139,115,.10);
  color: var(--di-ok);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.di-title {
  margin: 16px 0 16px;
  color: var(--di-text);
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.08;
  text-align: left;
}

.di-lead {
  max-width: 860px;
  color: var(--di-text-2);
  font-size: clamp(17px, 2vw, 20px);
}

.di-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--di-text-3);
  font-size: 14px;
}

.di-breadcrumbs a {
  color: var(--di-text-3);
}
.di-breadcrumbs a:hover,
.di-breadcrumbs a:focus-visible {
  color: var(--di-text);
}

.di-summary {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.di-summary-card,
.di-card,
.di-panel,
.di-related-card,
.di-cta,
.di-note,
.di-faq,
.di-hub-card,
.di-hub-intro,
.di-points,
.di-table-wrap,
.di-nav,
.di-figure {
  border: 1px solid var(--di-line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  border-radius: var(--di-radius);
  box-shadow: var(--di-shadow);
}

.di-summary-card {
  padding: 16px;
}

.di-summary-card strong {
  display: block;
  color: var(--di-text);
  font-size: 15px;
  margin-bottom: 6px;
}

.di-summary-card span {
  display: block;
  color: var(--di-text-3);
  font-size: 14px;
  line-height: 1.55;
}

.di-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.di-article {
  display: grid;
  gap: 22px;
}

.di-panel {
  padding: clamp(22px, 3vw, 34px);
}

.di-panel > :first-child { margin-top: 0; }
.di-panel > :last-child { margin-bottom: 0; }

.di-h2,
.di-panel h2 {
  color: var(--di-text);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.16;
  text-align: left;
  margin: 0 0 16px;
}

.di-h3,
.di-panel h3 {
  color: var(--di-text);
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.22;
  margin: 18px 0 12px;
}

.di-panel p,
.di-panel li,
.di-panel dd,
.di-panel dt {
  color: var(--di-text-2);
  font-size: 16px;
  line-height: 1.78;
}

.di-panel p + p { margin-top: 12px; }

.di-article > .di-figure,
.di-panel > .di-figure {
  margin: 0;
}

.di-figure {
  padding: clamp(16px, 2vw, 22px);
  overflow: hidden;
}

.di-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

.di-figure figcaption {
  margin-top: 12px;
  color: var(--di-text-3);
  font-size: 14px;
  line-height: 1.6;
}

.di-figure--wide {
  overflow-x: auto;
}

.di-figure--inline {
  margin-top: 18px;
}

.di-list,
.di-checklist,
.di-links,
.di-related-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  margin: 14px 0 0;
  list-style: none;
}

.di-list li,
.di-checklist li,
.di-links li,
.di-related-list li {
  position: relative;
  padding-left: 22px;
}

.di-list li::before,
.di-checklist li::before,
.di-links li::before,
.di-related-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--di-accent);
  box-shadow: 0 0 0 5px rgba(160,139,115,.12);
}

.di-inline-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--di-accent);
  background: rgba(160,139,115,.10);
  border-radius: 12px;
  color: var(--di-text-2);
}

.di-aside {
  position: sticky;
  top: calc(var(--headerH, 88px) + 18px);
  display: grid;
  gap: 18px;
}

.di-nav,
.di-note,
.di-cta,
.di-faq {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-color: rgba(160, 139, 115, 0.34);
}

.di-nav h2,
.di-note h2,
.di-cta h2,
.di-faq h2 {
  margin: 0 0 14px;
  text-align: left;
  font-size: 22px;
  color: var(--di-text);
}

.di-small {
  color: var(--di-text-3);
  font-size: 14px;
  line-height: 1.65;
}

.di-links a,
.di-related-card a,
.di-hub-card a {
  color: var(--di-text);
}

.di-nav .di-links a {
  color: rgba(242, 239, 233, 0.9);
  font-weight: 500;
}

.di-links a:hover,
.di-links a:focus-visible,
.di-related-card a:hover,
.di-related-card a:focus-visible,
.di-hub-card a:hover,
.di-hub-card a:focus-visible {
  color: var(--di-ok);
}

.di-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.di-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--di-line-strong);
  background: linear-gradient(180deg, rgba(160,139,115,.26), rgba(160,139,115,.16));
  color: var(--di-text);
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.di-btn:hover,
.di-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(217,195,169,.65);
  color: var(--di-text);
}

.di-btn--ghost {
  background: rgba(255,255,255,.02);
}

.di-table-wrap {
  overflow: hidden;
}

.di-table {
  width: 100%;
  border-collapse: collapse;
}

.di-table th,
.di-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--di-line);
  vertical-align: top;
  text-align: left;
}

.di-table th {
  color: var(--di-text);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(160,139,115,.10);
}

.di-table td {
  color: var(--di-text-2);
}

.di-table tr:last-child td { border-bottom: 0; }

.di-accordion {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.di-accordion details {
  border: 1px solid var(--di-line);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.di-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--di-text);
  font-weight: 600;
  position: relative;
}
.di-accordion summary::-webkit-details-marker { display: none; }
.di-accordion summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--di-ok);
  font-size: 22px;
}
.di-accordion details[open] summary::after { content: "–"; }
.di-accordion-content {
  padding: 0 20px 20px;
}

.di-related {
  padding-top: 28px;
}

.di-related-grid,
.di-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.di-related-card,
.di-hub-card {
  padding: 22px;
  min-height: 100%;
}

.di-related-card h3,
.di-hub-card h3 {
  margin: 10px 0 10px;
  color: var(--di-text);
  font-size: 20px;
  line-height: 1.25;
}

.di-related-card p,
.di-hub-card p,
.di-hub-intro p {
  color: var(--di-text-3);
  margin: 0;
}

.di-readmore {
  display: inline-flex;
  margin-top: 14px;
  color: var(--di-ok);
  font-weight: 600;
}

.di-hub {
  padding: 0 0 80px;
}

.di-hub-intro {
  padding: 22px;
  margin-bottom: 22px;
}

.di-points {
  padding: 22px;
  margin-top: 22px;
}

.di-section-title {
  margin: 0 0 18px;
  color: var(--di-text);
  font-size: clamp(28px, 3vw, 36px);
}

.di-cta p,
.di-note p,
.di-faq p {
  color: var(--di-text-2);
}

.di-panel[id],
.di-nav[id],
.di-note[id],
.di-cta[id],
.di-faq[id],
.di-figure[id] {
  scroll-margin-top: calc(var(--headerH, 88px) + 50px);
}

@media (max-width: 1080px) {
  .di-summary { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .di-grid { grid-template-columns: 1fr; }
  .di-aside { position: static; }
  .di-related-grid,
  .di-hub-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .di-hero { padding-top: 34px; }
  .di-hero-box { padding: 22px 18px; border-radius: 24px; }
  .di-summary { grid-template-columns: 1fr; }
  .di-panel,
  .di-nav,
  .di-note,
  .di-cta,
  .di-faq,
  .di-related-card,
  .di-hub-card,
  .di-hub-intro,
  .di-points { padding: 18px; border-radius: 18px; }
  .di-related-grid,
  .di-hub-grid { grid-template-columns: 1fr; }
  .di-table th,
  .di-table td { padding: 12px 10px; }
  .di-figure--wide {
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .di-figure--wide img {
    width: auto;
    max-width: none;
    min-width: 680px;
  }
}

/* === FIX IMG RESPONSIVE + CATEGORY CARDS === */
.di-hub-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}


/* === WYBÓR SILOSU Z POSTACIAMI === */
.di-choice-stage {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: end;
}

.di-choice-stage .di-choice-row + .di-choice-row {
  margin-top: 0;
}

.di-choice-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.di-choice-row--dom {
  justify-content: flex-end;
}

.di-choice-row--wnetrza {
  justify-content: flex-start;
}

.di-choice-card {
  width: min(100%, 360px);
  padding: 14px;
  position: relative;
  z-index: 2;
}

.di-choice-card .di-choice-photo,
.di-choice-card img.di-choice-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 14px;
}

.di-choice-content h3 {
  margin: 0 0 8px;
  color: var(--di-text);
  font-size: 20px;
  line-height: 1.2;
}

.di-choice-content p {
  margin: 0;
  color: var(--di-text-3);
}

.di-choice-architect {
  display: block;
  height: clamp(220px, 18vw, 300px);
  width: auto;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.di-choice-architect--left {
  margin-right: 0;
}

.di-choice-architect--right {
  margin-left: 0;
}

@media (max-width: 720px) {
  .di-choice-stage {
    margin-top: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .di-choice-stage .di-choice-row + .di-choice-row {
    margin-top: 0;
  }

  .di-choice-row {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
  }

  .di-choice-row--dom,
  .di-choice-row--wnetrza {
    flex-direction: row;
  }

  .di-choice-card {
    width: calc(100% - 72px);
    max-width: none;
    padding: 14px;
    flex: 1 1 auto;
  }

  .di-choice-architect {
    height: 180px;
    width: auto;
    flex: 0 0 auto;
  }

  .di-choice-architect--left {
    order: 1;
    margin-right: 0;
  }

  .di-choice-row--dom .di-choice-card {
    order: 2;
  }

  

  

  .di-choice-row--wnetrza .di-choice-card {
    order: 1;
  }

  .di-choice-row--wnetrza .di-choice-architect--right {
    order: 2;
  }

}


/* === UPROSZCZENIE SEKCJI "WYBIERZ OBSZAR" === */
.di-hub-intro {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 22px;
  text-align: center;
}

.di-hub-intro .di-section-title,
.di-hub-intro p {
  text-align: center;
}

.di-hub-intro p {
  max-width: 1040px;
  margin: 0 auto;
}

/* === SILOS 01 / SILOS 02 – symetria desktop === */
.di-wrap > .di-hub-grid:first-of-type {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.di-wrap > .di-hub-grid:first-of-type > .di-hub-card {
  min-height: 100%;
}

@media (min-width: 1081px) {
  .di-wrap > .di-hub-grid:first-of-type > .di-hub-card:first-child {
    margin-left: -18px;
  }

  .di-wrap > .di-hub-grid:first-of-type > .di-hub-card:last-child {
    margin-right: -18px;
  }
}

@media (max-width: 1080px) {
  .di-wrap > .di-hub-grid:first-of-type {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .di-hub-intro {
    margin-bottom: 16px;
  }

  .di-wrap > .di-hub-grid:first-of-type {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .di-wrap > .di-hub-grid:first-of-type > .di-hub-card:first-child,
  .di-wrap > .di-hub-grid:first-of-type > .di-hub-card:last-child {
    margin-left: 0;
    margin-right: 0;
  }
}



/* === SILOS 01 / SILOS 02 – SZERSZE, WYŚRODKOWANE, OŚ JAK KAFELKI ZE ZDJĘCIAMI === */
.di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid {
  grid-template-columns: minmax(420px, 520px) minmax(420px, 520px);
  justify-content: center;
  gap: 28px;
}

.di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card {
  padding: 32px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}

.di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card h3,
.di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card p,
.di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card .di-readmore {
  text-align: left;
}

/* === WYRÓŻNIONE ARTYKUŁY – PREMIUM INVERT === */
.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card {
  background: linear-gradient(180deg, #d9c3a989 0%, #cdb3955e 100%);
  border: 1px solid rgba(253, 248, 248, 0.549);
  box-shadow: 0 20px 50px rgba(0,0,0,0.40);
}

.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card h3,
.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card h3 a,
.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card a {
  color: #111111;
}

.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card p {
  color: rgba(0,0,0,0.78);
}

.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card .di-readmore {
  color: #efefed;
  font-weight: 700;
}

.di-wrap[style*="margin-top"] > .di-hub-grid > .di-hub-card .di-badge {
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.18);
  color: #f6d30b;
}

@media (max-width: 1080px) {
  .di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card {
    padding: 26px;
  }
}

@media (max-width: 720px) {
  .di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .di-wrap:not(.di-choice-stage):not([style]) > .di-hub-grid > .di-hub-card {
    padding: 22px;
  }

  .di-choice-row--dom .di-choice-architect--left,
  .di-choice-row--wnetrza .di-choice-architect--right {
    margin-top: clamp(96px, 16vw, 148px);
  }  
}


/* === FINAL: GŁÓWNY WYBÓR Z POSTACIAMI + OPISY POD KAFELKAMI === */
.di-choice-stage {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 28px;
  align-items: start;
  padding-bottom: 18px;
}

.di-choice-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.di-choice-row--dom,
.di-choice-row--utrzymanie,
.di-choice-row--wnetrza {
  justify-content: center;
}

.di-choice-stack {
  width: min(100%, 360px);
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.di-choice-card {
  width: 100%;
  min-height: 300px;
  padding: 14px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.94);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
  transform-origin: center center;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.di-choice-card .di-choice-photo,
.di-choice-card img.di-choice-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  margin-bottom: 14px;
  transition: transform .38s ease;
}

.di-choice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
}

.di-choice-content h3 {
  margin: 0 0 8px;
  color: var(--di-text);
  font-size: 20px;
  line-height: 1.2;
}

.di-choice-content p {
  margin: 0;
  color: var(--di-text-3);
}

.di-choice-note {
  margin-top: 14px;
  padding: 0 10px;
  text-align: center;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.di-choice-note p {
  margin: 0;
  color: var(--di-text-2);
  font-size: 15px;
  line-height: 1.78;
}

.di-choice-note .di-readmore {
  margin-top: 12px;
}

.di-choice-architect {
  display: block;
  height: clamp(220px, 18vw, 300px);
  width: auto;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.di-choice-architect--left {
  margin-right: 0;
}

.di-choice-architect--right {
  margin-left: 0;
}

@media (hover: hover) and (pointer: fine) {
  .di-choice-card:hover {
    transform: translateY(-6px) scale(1.018);
    box-shadow: 0 30px 72px rgba(0,0,0,.42);
    border-color: rgba(255,255,255,.72);
  }

  .di-choice-card:hover .di-choice-photo {
    transform: scale(1.03);
  }
}

@media (max-width: 1080px) {
  .di-choice-stage {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .di-choice-row {
    justify-content: center !important;
  }

  .di-choice-stack {
    width: min(100%, 520px);
    max-width: 520px;
  }

  .di-choice-note {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .di-choice-stage {
    margin-top: 10px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 6px;
  }

  .di-choice-row {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .di-choice-stack {
    width: calc(100% - 72px);
    max-width: none;
    flex: 1 1 auto;
  }

  .di-choice-architect {
    height: 180px;
    width: auto;
    flex: 0 0 auto;
  }

  .di-choice-architect--left {
    order: 1;
  }

  .di-choice-row--dom .di-choice-stack {
    order: 2;
  }

  .di-choice-row--wnetrza .di-choice-stack {
    order: 1;
  }

  .di-choice-row--wnetrza .di-choice-architect--right {
    order: 2;
  }

  .di-choice-note {
    margin-top: 12px;
    padding: 0 4px 0 0;
  }

  .di-hub-intro {
    margin-bottom: 16px;
  }
}


/* === FINAL OVERRIDES 2026-04-09 === */
.di-hero {
  padding-top: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .di-featured-card:hover {
    transform: translateY(-8px) scale(1.022);
    box-shadow:
      0 38px 92px rgba(10,8,7,.48),
      0 20px 48px rgba(186,136,72,.22),
      inset 0 1px 0 rgba(255,255,255,.18);
    border-color: rgba(255,236,203,.30);
    filter: saturate(1.05);
  }
}

@media (max-width: 720px) {
  .di-hero {
    padding-top: 6px;
  }

  .di-choice-stack {
    display: flex;
    flex-direction: column;
  }

  .di-choice-stack > .di-choice-card {
    order: 1;
  }

  .di-choice-stack > .di-choice-note {
    order: 2;
  }
}


/* === DLA INWESTORA: 3 KAFELKI (DOM / UTRZYMANIE / WNĘTRZA) === */
.di-choice-stage {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 72px);
  align-items: end;
}

.di-choice-row--utrzymanie {
  justify-content: center;
  align-self: stretch;
}

.di-choice-stack--utrzymanie {
  width: min(100%, 360px);
  margin-inline: auto;
}

.di-choice-row--utrzymanie .di-choice-note {
  padding-inline: 6px;
}

@media (min-width: 1081px) {
  .di-choice-row--dom {
    justify-content: flex-end;
  }

  .di-choice-row--wnetrza {
    justify-content: flex-start;
  }

  .di-choice-row--utrzymanie .di-choice-card {
    transform: translateY(10px);
  }
}

@media (max-width: 1080px) {
  .di-choice-stage {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .di-choice-row--utrzymanie {
    justify-content: center;
  }

  .di-choice-stack--utrzymanie {
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .di-choice-row--utrzymanie {
    justify-content: flex-start;
  }

  .di-choice-stack--utrzymanie {
    width: 100%;
    max-width: none;
  }

  .di-choice-row--utrzymanie .di-choice-card {
    width: 100%;
  }
}

/* === PRECYZYJNY FINAL: 3 KAFELKI / POSTACIE / MOBILE ORDER === */
.di-choice-stage {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(26px, 3vw, 42px) !important;
  align-items: start !important;
  padding: 22px clamp(92px, 7vw, 126px) 18px !important;
  overflow: visible !important;
}
.di-choice-row {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-width: 0 !important;
}
.di-choice-row--dom { order: 1 !important; }
.di-choice-row--utrzymanie { order: 2 !important; }
.di-choice-row--wnetrza { order: 3 !important; }
.di-choice-stack,
.di-choice-stack--dom,
.di-choice-stack--wnetrza,
.di-choice-stack--utrzymanie {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  position: relative !important;
  z-index: 2 !important;
}
.di-choice-card,
.di-choice-row--utrzymanie .di-choice-card {
  width: 100% !important;
  height: 338px !important;
  min-height: 338px !important;
  max-height: 338px !important;
  padding: 14px !important;
  margin: 0 !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}
.di-choice-card .di-choice-photo,
.di-choice-card img.di-choice-photo {
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 12px !important;
  margin: 0 0 18px !important;
  display: block !important;
}
.di-choice-content {
  min-height: 116px !important;
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.di-choice-content h3 {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.di-choice-content p {
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.di-choice-note {
  width: 100% !important;
  max-width: none !important;
  padding: 0 6px !important;
  margin: 18px 0 0 !important;
  text-align: center !important;
}
.di-choice-note p { min-height: 108px !important; }
.di-choice-architect {
  position: absolute !important;
  top: 102px !important;
  z-index: 1 !important;
  height: clamp(240px, 18vw, 310px) !important;
  width: auto !important;
  max-width: none !important;
  pointer-events: none !important;
}
.di-choice-architect--left { left: clamp(-122px, -7vw, -90px) !important; margin: 0 !important; }
.di-choice-architect--right { right: clamp(-122px, -7vw, -90px) !important; margin: 0 !important; }
@media (hover: hover) and (pointer: fine) { .di-choice-card:hover { transform: translateY(-6px) scale(1.018) !important; } }
@media (max-width: 1080px) {
  .di-choice-stage { grid-template-columns: 1fr !important; gap: 22px !important; padding: 14px 0 8px !important; }
  .di-choice-row--dom { order: 1 !important; }
  .di-choice-row--wnetrza { order: 2 !important; }
  .di-choice-row--utrzymanie { order: 3 !important; }
  .di-choice-row { width: 100% !important; max-width: 560px !important; margin-inline: auto !important; }
  .di-choice-row--utrzymanie { max-width: 460px !important; }
  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card { height: 332px !important; min-height: 332px !important; max-height: 332px !important; }
  .di-choice-architect { position: absolute !important; top: 96px !important; height: 240px !important; }
  .di-choice-architect--left { left: -82px !important; }
  .di-choice-architect--right { right: -82px !important; }
}
@media (max-width: 720px) {
  .di-choice-stage { grid-template-columns: 1fr !important; gap: 24px !important; padding: 10px 0 6px !important; }
  .di-choice-row { max-width: none !important; width: 100% !important; margin: 0 !important; display: flex !important; align-items: flex-start !important; }
  .di-choice-row--dom .di-choice-stack,
  .di-choice-row--wnetrza .di-choice-stack { width: calc(100% - 78px) !important; flex: 1 1 auto !important; }
  .di-choice-row--utrzymanie .di-choice-stack { width: 100% !important; }
  .di-choice-row--dom .di-choice-stack { order: 2 !important; }
  .di-choice-row--dom .di-choice-architect--left { order: 1 !important; }
  .di-choice-row--wnetrza .di-choice-stack { order: 1 !important; }
  .di-choice-row--wnetrza .di-choice-architect--right { order: 2 !important; }
  .di-choice-architect { position: static !important; height: 168px !important; width: auto !important; max-width: 74px !important; margin-top: 112px !important; flex: 0 0 74px !important; object-fit: contain !important; }
  .di-choice-architect--left,
  .di-choice-architect--right { left: auto !important; right: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card { height: 326px !important; min-height: 326px !important; max-height: 326px !important; }
  .di-choice-card .di-choice-photo,
  .di-choice-card img.di-choice-photo { height: 142px !important; min-height: 142px !important; max-height: 142px !important; }
  .di-choice-content { min-height: 114px !important; }
  .di-choice-note p { min-height: 0 !important; }
}
@media (max-width: 430px) {
  .di-choice-row--dom .di-choice-stack,
  .di-choice-row--wnetrza .di-choice-stack { width: calc(100% - 66px) !important; }
  .di-choice-architect { height: 152px !important; max-width: 64px !important; flex-basis: 64px !important; margin-top: 120px !important; }
  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card { height: 318px !important; min-height: 318px !important; max-height: 318px !important; }
}

/* === RDW DESKTOP 1081-1900+: 3 KAFELKI + POSTACIE W SZEROKOŚCI SEKCJI === */
@media (min-width: 1081px) {
.di-choice-stage.di-wrap {
    width: min(100vw, 1900px) !important;
    max-width: 1900px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: clamp(24px, 2.2vw, 42px) !important;
    row-gap: 28px !important;
    align-items: start !important;
    padding: 22px clamp(96px, 5.4vw, 112px) 18px !important;
    overflow: visible !important;
  }

  .di-choice-row {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .di-choice-row--dom { order: 1 !important; }
  .di-choice-row--utrzymanie { order: 2 !important; }
  .di-choice-row--wnetrza { order: 3 !important; }

  .di-choice-stack,
  .di-choice-stack--dom,
  .di-choice-stack--utrzymanie,
  .di-choice-stack--wnetrza {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card {
    width: 100% !important;
    height: clamp(338px, 21vw, 398px) !important;
    min-height: clamp(338px, 21vw, 398px) !important;
    max-height: clamp(338px, 21vw, 398px) !important;
    transform: none !important;
  }

  .di-choice-card .di-choice-photo,
  .di-choice-card img.di-choice-photo {
    width: 100% !important;
    height: clamp(152px, 10vw, 190px) !important;
    min-height: clamp(152px, 10vw, 190px) !important;
    max-height: clamp(152px, 10vw, 190px) !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .di-choice-architect {
    position: absolute !important;
    top: clamp(96px, 5.6vw, 112px) !important;
    height: clamp(230px, 16vw, 300px) !important;
    width: auto !important;
    max-width: none !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .di-choice-architect--left {
    left: -96px !important;
    right: auto !important;
    margin: 0 !important;
  }

  .di-choice-architect--right {
    right: -96px !important;
    left: auto !important;
    margin: 0 !important;
  }
}

@media (min-width: 1901px) {
  .di-choice-stage.di-wrap {
    width: 1900px !important;
    max-width: 1900px !important;
  }
}

/* === TABLET / WĄSKI DESKTOP 721-1080: BEZ NACHODZENIA POSTACI + RÓWNE KAFELKI === */
@media (min-width: 721px) and (max-width: 1080px) {
  .di-choice-stage.di-wrap {
    --di-tablet-person-w: clamp(84px, 10vw, 112px);
    width: min(92%, 980px) !important;
    max-width: 980px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 14px 0 8px !important;
    overflow: visible !important;
  }

  .di-choice-row {
    width: 100% !important;
    max-width: 900px !important;
    margin-inline: auto !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: visible !important;
    min-width: 0 !important;
  }

  .di-choice-row--dom { order: 1 !important; }
  .di-choice-row--wnetrza { order: 2 !important; }
  .di-choice-row--utrzymanie {
    order: 3 !important;
    max-width: 900px !important;
  }

  .di-choice-row--dom .di-choice-stack,
  .di-choice-row--wnetrza .di-choice-stack,
  .di-choice-row--utrzymanie .di-choice-stack {
    width: min(calc(100% - var(--di-tablet-person-w)), 720px) !important;
    max-width: 720px !important;
    flex: 0 1 min(calc(100% - var(--di-tablet-person-w)), 720px) !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .di-choice-row--utrzymanie .di-choice-stack {
    margin-inline: auto !important;
  }

  .di-choice-row--dom .di-choice-architect--left { order: 1 !important; }
  .di-choice-row--dom .di-choice-stack { order: 2 !important; }
  .di-choice-row--wnetrza .di-choice-stack { order: 1 !important; }
  .di-choice-row--wnetrza .di-choice-architect--right { order: 2 !important; }

  .di-choice-architect {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: var(--di-tablet-person-w) !important;
    height: clamp(190px, 22vw, 238px) !important;
    flex: 0 0 var(--di-tablet-person-w) !important;
    margin-top: 100px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    object-fit: contain !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card {
    width: 100% !important;
    height: 510px !important;
    min-height: 510px !important;
    max-height: 510px !important;
  }

  .di-choice-card .di-choice-photo,
  .di-choice-card img.di-choice-photo {
    height: 152px !important;
    min-height: 420px !important;
    max-height: 420px !important;
  }

  .di-choice-note {
    width: 100% !important;
    max-width: none !important;
  }

  .di-choice-note p {
    min-height: 0 !important;
  }
}

/* === MOBILE <720: pełniejsze proporcje obrazów w kafelkach === */
@media (max-width: 720px) {
  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px !important;
  }

  .di-choice-card .di-choice-photo,
  .di-choice-card img.di-choice-photo {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 0 18px !important;
  }

  .di-choice-content {
    min-height: 142px !important;
  }

  .di-choice-content h3 {
    min-height: 46px !important;
  }

  .di-choice-content p {
    min-height: 54px !important;
  }
}

/* === DESKTOP >1080: pełniejsze proporcje obrazów w kafelkach === */
@media (min-width: 1081px) {
  .di-choice-card,
  .di-choice-row--utrzymanie .di-choice-card {
    height: clamp(550px, 29.5vw, 560px) !important;
    min-height: clamp(500px, 29.5vw, 560px) !important;
    max-height: clamp(500px, 29.5vw, 560px) !important;
  }

  .di-choice-card .di-choice-photo,
  .di-choice-card img.di-choice-photo {
    height: clamp(400px, 16.5vw, 330px) !important;
    min-height: clamp(400px, 16.5vw, 330px) !important;
    max-height: clamp(400px, 16.5vw, 330px) !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* === FINAL 2026-05-05: 1900px obejmuje postacie + kafelki === */
@media (min-width: 1081px) {
  .di-choice-stage.di-wrap {
    --di-person-left-space: clamp(97px, 6.72vw, 126px);
    --di-person-right-space: clamp(84px, 5.82vw, 109px);

    width: 100% !important;
    max-width: 1900px !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;

    padding-top: 22px !important;
    padding-right: var(--di-person-right-space) !important;
    padding-bottom: 18px !important;
    padding-left: var(--di-person-left-space) !important;

    overflow: visible !important;
  }

  .di-choice-stage.di-wrap .di-choice-row--dom .di-choice-architect--left {
    left: calc(-1 * var(--di-person-left-space)) !important;
    right: auto !important;
    margin: 0 !important;
  }

  .di-choice-stage.di-wrap .di-choice-row--wnetrza .di-choice-architect--right {
    right: calc(-1 * var(--di-person-right-space)) !important;
    left: auto !important;
    margin: 0 !important;
  }
}