.elementor-10473 .elementor-element.elementor-element-ef06dcd{--display:flex;}.elementor-10473 .elementor-element.elementor-element-c8301b5{margin:-25px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-9341563{margin:-35px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-25ec0ea{margin:-105px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-e8d9c88{margin:-247px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-6a3b6d2{--display:flex;}.elementor-10473 .elementor-element.elementor-element-3454986{margin:-30px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}@media(max-width:767px){.elementor-10473 .elementor-element.elementor-element-c8301b5{margin:-50px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-9341563{margin:-36px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-58cadd5{margin:-177px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-61ff8c4{margin:-127px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-10473 .elementor-element.elementor-element-7689279{margin:-107px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}}/* Start custom CSS for html, class: .elementor-element-0d74977 */:root {
  --brand: #F25623;
  --bg-light: #fff;
  --ink-dark: #111;
  --ink-dim: #555;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA === */
.mdcase-section {
  background: var(--bg-light);
  color: var(--ink-dark);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

/* === GRAFICZNY ELEMENT WOW === */
.mdcase-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(242,86,35,0.25), transparent 70%);
  opacity: 0.3;
  filter: blur(60px);
  transform: rotate(25deg);
  animation: casePulse 8s infinite ease-in-out;
}

/* techniczna strzałka w tle */
.mdcase-section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -120px;
  width: 240px;
  height: 240px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid rgba(242,86,35,0.15);
  border-right: 2px solid rgba(242,86,35,0.25);
  border-radius: 2px;
  opacity: 0.6;
}

/* delikatna siatka */
.mdcase-wrap {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: caseFadeUp 1s var(--ease) both;
}

/* === TYTUŁ === */
.mdcase-title {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  letter-spacing: 0.02em;
  margin-bottom: 80px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--brand), #111 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: caseSlide 1.3s var(--ease) both;
}

.mdcase-title span {
  display: block;
  background: linear-gradient(90deg, var(--brand), #111 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* === GRID === */
.mdcase-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: start;
}

/* === LEWA STRONA === */
.mdcase-desc p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-dim);
  margin-bottom: 18px;
}

.mdcase-desc p strong {
  color: var(--ink-dark);
}

/* === PRAWA STRONA (INFO) === */
.mdcase-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mdcase-info li {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: var(--ink-dim);
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 6px;
}

.mdcase-info li:last-child {
  border-bottom: none;
}

.mdcase-info li span {
  display: inline-block;
  min-width: 130px;
  color: var(--ink-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === LINIA + ZAKRES === */
.mdcase-scope {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  border-top: 1px solid rgba(0,0,0,0.25);
  padding-top: 18px;
  margin-top: 20px;
}

.mdcase-scope span {
  display: block;
  color: var(--ink-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* === ANIMACJE === */
@keyframes caseFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes caseSlide {
  from { opacity: 0; transform: translateY(30px); letter-spacing: 0.08em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.02em; }
}

@keyframes casePulse {
  0%, 100% { opacity: 0.25; transform: rotate(25deg) scale(1); }
  50% { opacity: 0.4; transform: rotate(25deg) scale(1.05); }
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 900px) {
  .mdcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mdcase-section {
    padding: 100px 20px 80px;
  }

  .mdcase-title {
    margin-bottom: 42px;
  }

  .mdcase-desc p {
    font-size: 15px;
    line-height: 1.75;
  }

  .mdcase-info ul {
    margin-bottom: 22px;
  }

  .mdcase-info li {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-dim);
  }

  .mdcase-info li span {
    width: 130px;
    min-width: 130px;
    color: var(--ink-dark);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mdcase-scope {
    margin-top: 10px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .mdcase-section::after {
    display: none;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-c8301b5 */:root {
  --brand: #F25623;
  --bg-light: #fff;
  --ink-dark: #111;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === GALERIA === */
.mdcase-gallery {
  background: var(--bg-light);
  padding: 100px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mdcase-gallery-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* lewe szersze */
  gap: 40px;
  max-width: 1240px;
  width: 100%;
  align-items: stretch;
}

/* === KONTEJNERY ZDJĘĆ === */
.mdcase-img {
  position: relative;
  overflow: hidden;
 border: none;
background: #fff; /* żeby było czysto białe, bez szarego tła */

  cursor: pointer;
  background: #fafafa;
  transition: transform .35s var(--ease);
  height: 600px; /* stała wysokość dla obu */
}

.mdcase-img:hover {
  transform: scale(1.015);
}

/* === SAME OBRAZY === */
.mdcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .3s var(--ease);
}

/* === LIGHTBOX === */
.mdcase-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.mdcase-lightbox.active {
  display: flex;
}

.mdcase-lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
  animation: zoomIn .4s var(--ease);
  object-fit: contain;
}

/* === CLOSE BUTTON === */
.mdcase-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity .25s var(--ease);
  z-index: 2;
}

.mdcase-close:hover {
  opacity: 0.6;
}

/* === ANIMACJA === */
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .mdcase-gallery-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mdcase-gallery {
    padding: 70px 16px;
  }

  .mdcase-img {
    height: auto;
    aspect-ratio: 4 / 5;
    max-width: 90%;        /* delikatnie mniejsze */
    margin: 0 auto;
    border-radius: 0;      /* OSTRE KRAWĘDZIE */
  }

  .mdcase-img img {
    border-radius: 0;      /* brak zaokrągleń */
  }

  .mdcase-close {
    top: 16px;
    right: 20px;
    font-size: 30px;
  }

  .mdcase-lightbox-img {
    max-width: 90%;
    max-height: 78vh;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-9341563 */:root {
  --brand: #F25623;
  --bg-light: #fff;
  --ink-dark: #111;
  --ink-dim: #555;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA WYZWANIE (CZYSTA BIEL, BEZ LINII) === */
.mdcase-challenge {
  background: #fff;
  color: var(--ink-dark);
  padding: 160px 24px;
  position: relative;
  overflow: hidden;
}

.mdcase-challenge-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  align-items: center;
  gap: 100px;
  position: relative;
}

/* === NAGŁÓWEK === */
.mdcase-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  position: relative;
  background: linear-gradient(90deg, var(--brand), #111 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.mdcase-heading span {
  display: block;
  color: var(--brand);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.15;
}

/* === TEKST === */
.mdcase-right p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-dim);
  margin-bottom: 18px;
  max-width: 620px;
  position: relative;
}

.mdcase-right p::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .7;
}

/* === ANIMACJE WEJŚCIA === */
.mdcase-heading, .mdcase-right p {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp .8s var(--ease) forwards;
}
.mdcase-right p:nth-child(2) { animation-delay: .2s; }
.mdcase-right p:nth-child(3) { animation-delay: .4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === MOBILE === */
@media (max-width: 900px) {
  .mdcase-challenge {
    padding: 100px 20px;
  }

  .mdcase-challenge-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mdcase-heading {
    font-size: clamp(42px, 10vw, 64px); /* większy nagłówek na mobile */
    background: linear-gradient(90deg, var(--brand), #111 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .mdcase-heading span {
    font-size: clamp(26px, 6vw, 40px);
  }

  .mdcase-right p {
    font-size: 15px;
    line-height: 1.7;
  }

  .mdcase-right p::before {
    display: none;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-25ec0ea */:root {
  --brand: #F25623;
  --bg-light: #fff;
  --ink-dark: #111;
  --ink-dim: #555;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA ROZWIĄZANIE (MOCNY WJAZD NAGŁÓWKA) === */
.mdcase-solution {
  background: var(--bg-light);
  color: var(--ink-dark);
  padding: 160px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mdcase-solution-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* === NAGŁÓWEK === */
.mdcase-solution h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--brand), #111 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transform: translateY(80px) scale(1.1);
  opacity: 0;
  filter: blur(6px);
  transition: all 1.2s var(--ease);
}

/* Po wejściu sekcji w widok (dodaj klasę .is-visible w JS lub Elementorze) */
.mdcase-solution.is-visible h2 {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.mdcase-solution h2 span {
  display: block;
  background: linear-gradient(90deg, var(--brand), #111 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* === TEKST === */
.mdcase-solution p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-dim);
  max-width: 740px;
  margin: 0 auto 18px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s var(--ease) .2s;
}

.mdcase-solution.is-visible p {
  transform: translateY(0);
  opacity: 1;
}

/* === AKCENT TŁA === */
.mdcase-solution::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(closest-side, rgba(242,86,35,0.08), transparent 70%);
  filter: blur(70px);
  opacity: .35;
  z-index: 0;
}

/* === MOBILE === */
@media (max-width: 900px) {
  .mdcase-solution {
    padding: 100px 20px;
  }

  .mdcase-solution h2 {
    font-size: clamp(42px, 9vw, 68px);
  }

  .mdcase-solution p {
    font-size: 14.5px;
    line-height: 1.7;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-e8d9c88 */:root {
  --brand: #F25623;
  --ink: #111;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* === SEKCJA === */
.mdcase-apple-tabs {
  background: #fff;
  color: var(--ink);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

.mdcase-tabs-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* === PASEK ZAKŁADEK === */
.mdcase-tabs-scroll {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 40px;
  position: relative;
}

/* === PRZYCISKI === */
.tab {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #111;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.45s var(--ease);
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
}

.tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.8), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.tab:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.tab:hover::before { opacity: 1; }

/* === AKTYWNY BUTTON === */
.tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), #ff8a4c, #ff500f);
  background-size: 200% 200%;
  box-shadow:
    0 6px 22px rgba(242, 86, 35, 0.35),
    0 0 12px rgba(242, 86, 35, 0.35),
    inset 0 0 6px rgba(255,255,255,0.3);
  transform: translateY(-3px);
  animation: digitalFlash 1.2s ease-out forwards;
}

/* jednorazowy błysk po kliknięciu */
@keyframes digitalFlash {
  0% {
    box-shadow: 0 0 0 rgba(242,86,35,0), inset 0 0 0 rgba(255,255,255,0);
    background-position: 0% 50%;
  }
  20% {
    box-shadow: 0 0 20px rgba(242,86,35,0.6), 0 0 50px rgba(242,86,35,0.3);
    background-position: 50% 50%;
  }
  100% {
    box-shadow: 0 6px 20px rgba(242,86,35,0.25);
    background-position: 100% 50%;
  }
}

/* === TREŚĆ === */
.tab-content {
  margin-top: 50px;
  min-height: 180px;
  text-align: center;
}

.tab-panel {
  animation: fadeIn 0.45s var(--ease) both;
}
.tab-panel[hidden] { display: none; }

.tab-panel p {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin: 0 auto;
  max-width: 760px;
}

/* === ANIMACJE === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === FOCUS === */
.tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 86, 35, 0.25);
}
/* === CAŁKOWITE WYŁĄCZENIE HOVER === */
.tab:hover,
.tab:hover::before {
  all: unset !important;
  cursor: pointer !important;
  font-family: 'Inter Tight', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  color: #111 !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  position: relative !important;
  white-space: nowrap !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-58cadd5 */:root {
  --brand: #F25623;
  --ink: #111;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA === */
.mdcase-mobile-tabs {
  background: #fff;
  color: var(--ink);
  padding: 100px 20px;
  text-align: center;
}

/* === PRZYCISKI === */
.mdmobile-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.m-btn {
  flex: 1 1 calc(33.33% - 12px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 16px;
  padding: 13px 0;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.m-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

.m-btn.is-active {
  color: #fff;
  background: linear-gradient(125deg, var(--brand), #ff8b44);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(242,86,35,0.25);
  transform: translateY(-3px);
  animation: flash 1s ease-out forwards;
}

/* jednorazowy błysk po kliknięciu */
@keyframes flash {
  0% { box-shadow: 0 0 0 rgba(242,86,35,0); }
  30% { box-shadow: 0 0 18px rgba(242,86,35,0.35); }
  100% { box-shadow: 0 0 10px rgba(242,86,35,0.2); }
}

/* === TREŚĆ === */
.mdmobile-content {
  text-align: left;
  background: #fafafa;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.m-panel {
  display: none;
  animation: fadeIn 0.4s var(--ease) both;
}
.m-panel.is-active { display: block; }

.m-panel p {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: #222;
}

/* === ANIMACJA TEKSTU === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mdmobile-buttons .m-btn {
  font-size: 12px !important;
  letter-spacing: 0.03em !important;
  padding: 11px 0 !important;
  line-height: 1.2 !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-61ff8c4 */:root {
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA === */
.mdcase-dual-images {
  background: #fff;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mdcase-dual-wrap {
  width: 100%;
  max-width: 1400px; /* było 1600px */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === OBRAZ === */
.mdcase-item {
  position: relative;
  overflow: hidden;
  width: 85%; /* było 92% */
  box-shadow: 0 16px 60px rgba(0,0,0,0.08);
  border-radius: 0;
  opacity: 0;
  transform: translateY(40px);
  animation: imgReveal 1.3s var(--ease) forwards;
}

.mdcase-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/8;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  cursor: pointer;
}

.mdcase-item:hover img {
  transform: scale(1.02);
}

/* === OPIS NAD OBRAZKIEM === */
.mdcase-item figcaption {
  position: absolute;
  top: -26px;
  left: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #444;
  opacity: 0.75;
  font-weight: 500;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  animation: zoomIn .4s var(--ease);
}

.close-lightbox {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
  transition: opacity 0.3s;
}
.close-lightbox:hover { opacity: 0.7; }

/* === ANIMACJE === */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes imgReveal {
  from { opacity: 0; transform: translateY(50px) scale(1.05); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* === MOBILE === */
@media (max-width: 900px) {
  .mdcase-dual-images {
    padding: 80px 0;
  }

  .mdcase-item {
    width: 94%;
  }

  .mdcase-item img {
    aspect-ratio: 16/10;
  }

  .mdcase-item figcaption {
    top: -20px;
    font-size: 12px;
  }

  .close-lightbox {
    top: 20px;
    right: 30px;
    font-size: 36px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-3454986 */:root {
  --brand: #F25623;
  --ink: #111;
  --ink-dim: #555;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA === */
.mdcase-effect {
  background: #fff;
  color: var(--ink);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.mdcase-effect-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  max-width: 1320px;
  width: 90%;
  margin: 0 auto;
  align-items: start;
}

/* === LEWA STRONA === */
.mdcase-effect-left h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 90px);
  line-height: .95;
  letter-spacing: .01em;
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--brand), #000 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.mdcase-effect-left p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-dim);
}

/* === PRAWA STRONA (KARTY JEDNA POD DRUGĄ) === */
.mdcase-effect-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.effect-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 28px 32px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.effect-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.effect-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.effect-card p, .effect-card li {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0;
}

.effect-card ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.effect-card li {
  position: relative;
  padding-left: 20px;
}

.effect-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
}

/* === EFEKT KOŃCOWY === */
.mdcase-effect-final {
  max-width: 1100px;
  margin: 100px auto 0;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.mdcase-effect-final p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-dim);
  max-width: 800px;
  margin: 0 auto;
}

.mdcase-effect-final strong {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--brand), #000 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

/* === ANIMACJA DELIKATNEGO WJAZDU === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.mdcase-effect-left h2,
.mdcase-effect-left p,
.effect-card,
.mdcase-effect-final {
  animation: fadeUp 1s var(--ease) both;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 1024px) {
  .mdcase-effect-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .mdcase-effect {
    padding: 100px 20px;
  }

  .mdcase-effect-final strong {
    font-size: clamp(36px, 9vw, 60px);
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7689279 */:root {
  --brand: #F25623;
  --ink: #111;
  --ink-dim: #555;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === SEKCJA === */
.mdscroll-effect {
  background: #fff;
  color: var(--ink);
  padding: 100px 0 100px;
  overflow: hidden;
}

/* === STRUKTURA === */
.mdscroll-wrap {
  display: flex;
  flex-direction: column;
  gap: 70px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* === NAGŁÓWEK === */
.mdscroll-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .95;
  background: linear-gradient(90deg, var(--brand), #000 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.mdscroll-header p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-dim);
  max-width: 780px;
  animation: fadeUp 1s var(--ease) forwards;
  animation-timeline: view();
  animation-range: entry 10% cover 40%;
}

/* === KAFELKI (POZIOME 2x2) === */
.mdscroll-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.mdscroll-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
  animation: fadeUp 1s var(--ease) forwards;
  animation-timeline: view();
  animation-range: entry 15% cover 40%;
}

.mdscroll-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.mdscroll-card h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mdscroll-card p, .mdscroll-card li {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}

.mdscroll-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mdscroll-card li::before {
  content: "•";
  color: var(--brand);
  margin-right: 8px;
}

/* === SEKCJA KOŃCOWA === */
.mdscroll-final {
  text-align: center;
  max-width: 1000px;
  margin: 30px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  animation: fadeUp 1s var(--ease) forwards;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
}

.mdscroll-final strong {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(46px, 5.8vw, 88px);
  line-height: 1;
  background: linear-gradient(90deg, var(--brand), #000 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mdscroll-final p {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-dim);
  max-width: 740px;
  margin: 0 auto;
}

/* === ANIMACJA (CSS SCROLL-LINKED MOTION) === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 900px) {
  .mdscroll-effect {
    padding: 80px 20px;
  }

  .mdscroll-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mdscroll-card {
    padding: 30px 24px;
  }

  .mdscroll-final {
    margin-top: 40px;
  }
}/* End custom CSS */