/* =========================================================

   PXC – GLOBAL (bazowe zasady dla całego embedu)

========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Balinese:wght@400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Zmienne kolorystyczne ograniczone do głównego kontenera RC */

.pxc-rich-content-tim {

  --pxc-color-main: linear-gradient(135deg, #0098A1, #96BE0D, #0098A1);

  --pxc-color-green: #96BE0D;

  --pxc-color-turquoise: #0098A1;

  /* Globalna skala odstępów między modułami */

  --pxc-space-sm: clamp(16px, 2vw, 24px);

  --pxc-space-md: clamp(24px, 4vw, 48px);

  --pxc-space-lg: clamp(40px, 6vw, 64px);

  max-width: 1152px;

  padding: 0 24px;

  margin: 0 auto;

}

/*
  Opcjonalne warianty kolorystyczne sekcji.
  Stare HTML-e zachowują dotychczasowe kolory domyślne.
*/

.pxc-color--turquoise {

  --pxc-section-background: var(--pxc-color-turquoise);

}

.pxc-color--green {

  --pxc-section-background: var(--pxc-color-green) ;

}

.pxc-color--gradient {

  --pxc-section-background: var(
    --pxc-color-main,
    linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
  );

}

/* Sekcje: stały odstęp + brandowy gradient PXC-color */

.pxc-section{

  margin-bottom: var(--pxc-space-lg, 64px);

}

.pxc-section--hero{

  margin-top: var(--pxc-space-md, 40px);

}

/* Kontener  */

.pxc-container{

  max-width: 1152px;

  padding: 0 24px;

  margin: 0 auto;

}

/* =========================================================

   PXC – GLOBAL (bazowe zasady dla całego embedu)

========================================================= */

/* =========================================================

   PXC – IMAGES (ogólne obrazki)

========================================================= */

.pxc-image{

  width: 100%;

  height: auto;

  display: block;

}

.pxc-image--hero{

  max-height: 280px;

  object-fit: contain;

}

/* =========================================================

   PXC – IMAGES (ogólne obrazki)

========================================================= */

/* =========================================================
   PXC – TEXT + IMAGE
========================================================= */

.pxc-textImage,
.pxc-textImage * {
  box-sizing: border-box;
}

.pxc-textImage {
  width: 100%;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px);

  border-radius: 16px;
  background: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098a1, #96be0d, #0098a1)
    )
  );
}

/*
  Warianty kolorystyczne są ograniczone wyłącznie do tego modułu.
  Dzięki temu blok działa również wtedy, gdy nie ma ich w głównym CSS-ie RC.
*/

.pxc-textImage.pxc-color--gradient {
  --pxc-section-background: var(
    --pxc-color-main,
    linear-gradient(135deg, #0098a1, #96be0d, #0098a1)
  );
}

.pxc-textImage.pxc-color--green {
  --pxc-section-background: var(--pxc-color-green, #96be0d);
}

.pxc-textImage.pxc-color--turquoise {
  --pxc-section-background: var(--pxc-color-turquoise, #0098a1);
}

.pxc-textImage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 36px);

  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.pxc-textImage__content,
.pxc-textImage__media {
  min-width: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.pxc-textImage__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.pxc-textImage__title {
  margin: 0 0 20px;

  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.1px;
}

.pxc-textImage__paragraph {
  margin: 0;

  color: #1f2937;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.pxc-textImage__paragraph + .pxc-textImage__paragraph {
  margin-top: 16px;
}

.pxc-textImage__media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(20px, 3vw, 36px);
}

.pxc-textImage__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;

  object-fit: contain;
}

/* =========================================================
   TABLET I TELEFON
========================================================= */

@media (max-width: 768px) {
  .pxc-textImage {
    padding: 20px;
  }

  .pxc-textImage__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pxc-textImage__content {
    padding: clamp(22px, 5vw, 34px);
  }

  .pxc-textImage__media {
    min-height: 280px;
  }

  .pxc-textImage__image {
    height: auto;
    max-height: 340px;
  }
}

@media (max-width: 480px) {
  .pxc-textImage {
    padding: 14px;
    border-radius: 14px;
  }

  .pxc-textImage__inner {
    gap: 14px;
  }

  .pxc-textImage__content,
  .pxc-textImage__media {
    border-radius: 11px;
  }

  .pxc-textImage__content {
    padding: 22px 18px;
  }

  .pxc-textImage__title {
    margin-bottom: 16px;
    font-size: clamp(24px, 8vw, 30px);
  }

  .pxc-textImage__paragraph {
    font-size: 16px;
    line-height: 1.55;
  }

  .pxc-textImage__media {
    min-height: 230px;
    padding: 18px;
  }
}

/* =========================================================
   PXC – TEXT + IMAGE
========================================================= */


/* =========================================================

   PXC – MEDIA SECTION (image <-> text + video)

========================================================= */

.pxc-section--media {

  --pxc-media-background: var(
    --pxc-section-background,
    linear-gradient(
      var(--pxc-color-turquoise, #0098A1),
      var(--pxc-color-turquoise, #0098A1)
    )
  );
  margin-inline: auto;
}

.pxc-mediaPanel{

  background: var(--pxc-media-background);

  padding: 80px 24px;

  border-radius: 16px;

}

.pxc-mediaPanel__grid{

  margin-top: -32px;

  margin-bottom: -32px;

  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 24px;

  align-items: center;

}

.pxc-mediaItem{

  position: relative;

}

/* VIDEO */

.pxc-mediaItem--video{

  padding: 24px;

  border-radius: 12px;

  background: rgba(255,255,255,0.15);

  backdrop-filter: blur(6px);

}

.pxc-video{

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 10px;

}

.pxc-video__iframe{

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  border: 0;

}

/* CTA */

.pxc-cta{

  margin-top: 15px;

  margin-bottom: 10px;

  padding: 10px 10px;

  border-radius: 999px;

  border: 1px solid #00000026;

  background: #ffffff;

  font-weight: 600;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  user-select: none;

}

.pxc-cta--more{

  position: absolute;

  left: 45%;

  top: 100%;

  transform: translate(-50%, -50%);

}

/* TOGGLE TEXT */

.pxc-moreText{ 

  color: #ffffff;

  display: none; /* domyślnie ukryty (zamiast hidden w HTML) */

}

.pxc-moreText__title{

  margin-bottom: 12px;

  font-size: 1.25rem;

}

.pxc-moreText__p{

  margin-bottom: 10px;

  line-height: 1.6;

}

/* =========================================================

   PXC – MEDIA TOGGLE 

========================================================= */

.pxc-mediaToggle{

  position: absolute;

  width: 1px;

  height: 1px;

  margin: -1px;

  padding: 0;

  border: 0;

  clip: rect(0 0 0 0);

  overflow: hidden;

  white-space: nowrap;

}

/* po kliknięciu: schowaj obraz, pokaż tekst */

.pxc-mediaToggle:checked ~ .pxc-mediaImage{

  display: none;

}

.pxc-mediaToggle:checked ~ .pxc-moreText{

  display: block;

}

/* przełączanie napisu na CTA (dwa spany w labelu) */

.pxc-ctaText--back{ display: none; }

.pxc-mediaToggle:checked ~ .pxc-cta--more .pxc-ctaText--more{ display: none; }

.pxc-mediaToggle:checked ~ .pxc-cta--more .pxc-ctaText--back{ display: inline; }

/* MEDIA SECTION  */

@media (max-width: 860px){

  .pxc-mediaPanel__grid{

    grid-template-columns: 1fr;

    margin-top: 0;

    margin-bottom: 0;

  }

  .pxc-mediaItem--image{

    display: flex;

    flex-direction: column;

    align-items: center;

    margin: 0;

  }

  .pxc-mediaItem--image img{

    width: min(420px, 90%);

  }

  .pxc-mediaPanel{

    padding: 16px;

  }

  .pxc-cta{

    min-height: 48px;

    font-size: 1rem;

  }

  .pxc-cta--more{

    position: static;

    transform: none;

    margin: 16px auto 0 auto;

  }

}

/* =========================================================

   PXC – MEDIA SECTION (image <-> text + video)

========================================================= */

/* =========================================================
   PXC – MEDIA REVERSE SECTION
   WIDEO PO LEWEJ / ZDJĘCIE LUB TEKST PO PRAWEJ
========================================================= */

.pxc-section--mediaReverse,
.pxc-section--mediaReverse * {
  box-sizing: border-box;
}

/* Domyślne tło oraz obsługa klas wyboru koloru */

.pxc-section--mediaReverse {
  --pxc-mediaReverse-background: var(
    --pxc-section-background,
    linear-gradient(
      var(--pxc-color-turquoise, #0098a1),
      var(--pxc-color-turquoise, #0098a1)
    )
  );
}

/* Główny panel */

.pxc-mediaReverse {
  padding: 80px 24px;

  border-radius: 16px;
  background: var(--pxc-mediaReverse-background);
}

/* =========================================================
   UKŁAD KOLUMN
========================================================= */

.pxc-mediaReverse__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 24px;

  margin-top: -32px;
  margin-bottom: -32px;
}

.pxc-mediaReverse__videoItem,
.pxc-mediaReverse__contentItem {
  min-width: 0;
}

/* =========================================================
   WIDEO – LEWA STRONA
========================================================= */

.pxc-mediaReverse__videoItem {
  padding: 24px;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pxc-mediaReverse__video {
  position: relative;

  width: 100%;
  overflow: hidden;

  border-radius: 10px;
  aspect-ratio: 16 / 9;
}

.pxc-mediaReverse__iframe {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

/* =========================================================
   ZDJĘCIE / TEKST – PRAWA STRONA
========================================================= */

.pxc-mediaReverse__contentItem {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pxc-mediaReverse__image {
  display: block;

  width: min(125%, 520px);
  max-width: none;
  height: auto;
  max-height: 360px;

  object-fit: contain;
  object-position: center;
}

/* =========================================================
   TEKST
========================================================= */

.pxc-mediaReverse__moreText {
  display: none;

  width: 100%;
  color: #ffffff;
}

.pxc-mediaReverse__title {
  margin: 0 0 12px;

  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.pxc-mediaReverse__paragraph {
  margin: 0 0 10px;

  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}

.pxc-mediaReverse__paragraph:last-child {
  margin-bottom: 0;
}

/* =========================================================
   UKRYTY CHECKBOX
========================================================= */

.pxc-mediaReverse__toggle {
  position: absolute;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;

  border: 0;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================================================
   PRZEŁĄCZANIE ZDJĘCIA I TEKSTU
========================================================= */

.pxc-mediaReverse__toggle:checked
  ~ .pxc-mediaReverse__image {
  display: none;
}

.pxc-mediaReverse__toggle:checked
  ~ .pxc-mediaReverse__moreText {
  display: block;
}

/* =========================================================
   PRZYCISK
========================================================= */

.pxc-mediaReverse__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  margin: 16px auto 0;
  padding: 10px 18px;

  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);

  color: #111111;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;

  cursor: pointer;
  user-select: none;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.pxc-mediaReverse__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.pxc-mediaReverse__toggle:focus-visible
  ~ .pxc-mediaReverse__button {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* =========================================================
   ZMIANA NAPISU PRZYCISKU
========================================================= */

.pxc-mediaReverse__buttonText--back {
  display: none;
}

.pxc-mediaReverse__toggle:checked
  ~ .pxc-mediaReverse__button
  .pxc-mediaReverse__buttonText--more {
  display: none;
}

.pxc-mediaReverse__toggle:checked
  ~ .pxc-mediaReverse__button
  .pxc-mediaReverse__buttonText--back {
  display: inline;
}

/* =========================================================
   TABLET I TELEFON
========================================================= */

@media (max-width: 860px) {
  .pxc-mediaReverse {
    padding: 16px;
  }

  .pxc-mediaReverse__grid {
    grid-template-columns: 1fr;
    gap: 24px;

    margin-top: 0;
    margin-bottom: 0;
  }

  .pxc-mediaReverse__videoItem {
    padding: 16px;
  }

  .pxc-mediaReverse__contentItem {
    width: 100%;
  }

  .pxc-mediaReverse__image {
    width: min(420px, 90%);
    max-height: 300px;
  }

  .pxc-mediaReverse__moreText {
    max-width: 620px;
  }

  .pxc-mediaReverse__button {
    min-height: 48px;
    margin-top: 16px;
  }
}

@media (min-width: 521px) and (max-width: 860px) {
  .pxc-mediaReverse__image {
    width: min(650px, 100%);
    max-width: none;
    height: auto;
    max-height: 420px;

    object-fit: contain;
  }
}

/* =========================================================
   OGRANICZENIE ANIMACJI
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .pxc-mediaReverse__button {
    transition: none;
  }
}

/* =========================================================
   PXC – MEDIA REVERSE SECTION
========================================================= */





/* =========================================================

   PXC – GALERIA 3D + RESPONSYWNE KARTY

========================================================= */

.pxc-section--gallery3d,

.pxc-section--gallery3d * {

  box-sizing: border-box;

}

.pxc-section--gallery3d {

  --pxc-gallery-background: var(
    --pxc-section-background,
    linear-gradient(
      var(--pxc-color-green, #96BE0D),
      var(--pxc-color-green, #96BE0D)
    )
  );

}

/* =========================================================

   WERSJA DESKTOPOWA – GALERIA 3D

========================================================= */

.pxc-gallery3d {

  position: relative;

  width: 100%;

  height: clamp(300px, 40vw, 470px);

  overflow: hidden;

  perspective: 1100px;

  border-radius: 16px;

  background: var(--pxc-gallery-background);

}

/* =========================================================

   NAGŁÓWEK GALERII

========================================================= */

.pxc-gallery3d__title {

  position: absolute;

  top: 24px;

  left: 50%;

  z-index: 50;

  min-width: min(250px, 45%);

  margin: 0;

  padding: 10px 22px;

  transform: translateX(-50%);

  border: 4px solid #ffffff;

  background: transparent;

  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;

  font-size: clamp(18px, 1.5vw, 28px);

  line-height: 1.2;

  font-weight: 600;

  text-align: center;

  letter-spacing: 0.1em;

  text-transform: uppercase;

}

.pxc-gallery3d__title-link {

  display: block;

  color: inherit;

  text-decoration: none;

  cursor: pointer;

  transition:

    opacity 180ms ease,

    text-shadow 180ms ease;

}

.pxc-gallery3d__title-link:hover {

  opacity: 0.88;

  text-decoration: underline;

  text-underline-offset: 4px;

}

.pxc-gallery3d__title-link:focus-visible {

  outline: 3px solid #ffffff;

  outline-offset: 4px;

}

/* =========================================================

   TOR ANIMOWANEJ GALERII

========================================================= */

.pxc-gallery3d__track {

  position: absolute;

  inset: 0;

  transform-style: preserve-3d;

}

/* =========================================================

   ANIMOWANE KAFELKI

========================================================= */

.pxc-gallery3d__item {

  position: absolute;

  top: 50%;

  left: 50%;

  display: block;

  width: clamp(120px, 17vw, 210px);

  aspect-ratio: 3 / 4;

  border-radius: 14px;

  background: #ffffff;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);

  color: inherit;

  text-decoration: none;

  cursor: pointer;

  opacity: 0;

  backface-visibility: hidden;

  transform-style: preserve-3d;

  will-change: transform, opacity;

  animation: pxcGallery3dMove 16s linear infinite;

  animation-delay: calc(var(--i) * -2s);

}

.pxc-gallery3d__image {

  position: relative;

  z-index: 1;

  display: block;

  width: 100%;

  height: 100%;

  padding: 8px;

  border-radius: inherit;

  background: #ffffff;

  object-fit: contain;

  scale: 1;

  transition:

    scale 200ms ease,

    filter 200ms ease;

  will-change: scale;

}

/* =========================================================

   INTERAKCJE GALERII

========================================================= */

.pxc-gallery3d__item:hover,

.pxc-gallery3d__item:focus-visible {

  z-index: 20 !important;

}

.pxc-gallery3d__item:hover .pxc-gallery3d__image,

.pxc-gallery3d__item:focus-visible .pxc-gallery3d__image {

  scale: 1.2;

  filter: brightness(1.05);

}

.pxc-gallery3d__item:focus-visible {

  outline: 4px solid #ffffff;

  outline-offset: 5px;

}

/* Zatrzymanie galerii po najechaniu */

.pxc-gallery3d:has(.pxc-gallery3d__item:hover)

  .pxc-gallery3d__item {

  animation-play-state: paused;

}

/* Zatrzymanie galerii podczas obsługi klawiaturą */

.pxc-gallery3d:has(.pxc-gallery3d__item:focus-visible)

  .pxc-gallery3d__item {

  animation-play-state: paused;

}

/* =========================================================

   ANIMACJA GALERII

========================================================= */

@keyframes pxcGallery3dMove {

  0% {

    transform:

      translate(-50%, -50%)

      translateX(390%)

      rotateY(-42deg)

      scale(1.25);

    opacity: 0;

    z-index: 1;

  }

  6% {

    opacity: 1;

  }

  12.5% {

    transform:

      translate(-50%, -50%)

      translateX(280%)

      rotateY(-35deg)

      scale(1.05);

    opacity: 1;

    z-index: 2;

  }

  25% {

    transform:

      translate(-50%, -50%)

      translateX(180%)

      rotateY(-27deg)

      scale(0.82);

    opacity: 1;

    z-index: 3;

  }

  37.5% {

    transform:

      translate(-50%, -50%)

      translateX(85%)

      rotateY(-15deg)

      scale(0.68);

    opacity: 1;

    z-index: 4;

  }

  50% {

    transform:

      translate(-50%, -50%)

      translateX(0)

      rotateY(0deg)

      scale(0.62);

    opacity: 1;

    z-index: 5;

  }

  62.5% {

    transform:

      translate(-50%, -50%)

      translateX(-85%)

      rotateY(15deg)

      scale(0.68);

    opacity: 1;

    z-index: 4;

  }

  75% {

    transform:

      translate(-50%, -50%)

      translateX(-180%)

      rotateY(27deg)

      scale(0.82);

    opacity: 1;

    z-index: 3;

  }

  87.5% {

    transform:

      translate(-50%, -50%)

      translateX(-280%)

      rotateY(35deg)

      scale(1.05);

    opacity: 1;

    z-index: 2;

  }

  94% {

    opacity: 1;

  }

  100% {

    transform:

      translate(-50%, -50%)

      translateX(-390%)

      rotateY(42deg)

      scale(1.25);

    opacity: 0;

    z-index: 1;

  }

}

/* =========================================================

   RESPONSYWNE KARTY – USTAWIENIA PODSTAWOWE

========================================================= */

/*

  Karty są domyślnie ukryte.

  Pojawiają się dopiero poniżej 1000 px.

*/

.pxc-gallery3d__cards-view {

  display: none;

}

.pxc-gallery3d__cards-title {

  margin: 0 0 28px;

  color: #111827;

  font-size: clamp(26px, 4vw, 38px);

  line-height: 1.1;

  font-weight: 800;

  text-align: center;

}

.pxc-gallery3d__cards {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;

}

/* =========================================================

   RESPONSYWNA KARTA

========================================================= */

.pxc-gallery3d-card {

  min-width: 0;

  border-radius: 18px;

}

.pxc-gallery3d-card__inner {

  position: relative;

  width: 100%;

  height: 420px;

  overflow: hidden;

  border-radius: 18px;

  background: #ffffff;

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);

}

/* Wewnętrzna ramka */

.pxc-gallery3d-card__inner::before {

  content: "";

  position: absolute;

  inset: 6px;

  z-index: 5;

  border: 1px solid rgba(0, 0, 0, 0.1);

  border-radius: 14px;

  pointer-events: none;

}

/* Wspólny kontener obrazu i dolnego panelu */

.pxc-gallery3d-card__flipper {

  display: flex;

  flex-direction: column;

  width: 100%;

  height: 100%;

  min-height: 0;

}

/* Wspólne ustawienia obu części */

.pxc-gallery3d-card__side {

  position: relative;

  width: 100%;

  min-width: 0;

}

/* =========================================================

   OBRAZ KARTY

========================================================= */

.pxc-gallery3d-card__front {

  display: flex;

  flex: 1 1 0;

  align-items: center;

  justify-content: center;

  min-height: 0;

  overflow: hidden;

  padding: 16px;

  background: #ffffff;

}

.pxc-gallery3d-card__image {

  display: block;

  width: 100%;

  height: 100%;

  max-width: 100%;

  max-height: 100%;

  object-fit: contain;

}

/* =========================================================

   DOLNY PANEL KARTY

========================================================= */

.pxc-gallery3d-card__back {

  display: block;

  flex: 0 0 140px;

  height: 140px;

  padding: 12px 16px 18px;

  background: #ffffff;

}

.pxc-gallery3d-card__content {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 10px;

  width: 100%;

  height: 100%;

  text-align: center;

}

.pxc-gallery3d-card__label {

  max-width: 260px;

  margin: 0;

  color: #111111;

  font-size: 18px;

  line-height: 1.2;

  font-weight: 800;

}

/* =========================================================

   PRZYCISK KARTY

========================================================= */

.pxc-gallery3d-card__button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 22px;

  border-radius: 999px;

  background: #ffffff;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);

  color: #111111;

  font-size: 16px;

  line-height: 1;

  font-weight: 800;

  text-decoration: none;

  white-space: nowrap;

  user-select: none;

  transition:

    transform 150ms ease,

    box-shadow 150ms ease,

    background-color 150ms ease,

    color 150ms ease;

}

.pxc-gallery3d-card__button:hover {

  transform: translateY(-1px);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);

}

.pxc-gallery3d-card__button:focus-visible {

  outline: 3px solid var(--pxc-color-turquoise, #0098A1);

  outline-offset: 4px;

}

/* =========================================================

   TABLET – KARTY W DWÓCH KOLUMNACH

========================================================= */

@media (min-width: 521px) and (max-width: 999px) {

  /* Ukrycie galerii i pokazanie kart */

  .pxc-gallery3d {

    display: none;

  }

  .pxc-gallery3d__cards-view {

    display: block;

  }

  .pxc-gallery3d__cards {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}

/* =========================================================

   TELEFON – KARTY W JEDNEJ KOLUMNIE

========================================================= */

@media (max-width: 520px) {

  /* Ukrycie galerii i pokazanie kart */

  .pxc-gallery3d {

    display: none;

  }

  .pxc-gallery3d__cards-view {

    display: block;

  }

  .pxc-gallery3d__cards {

    grid-template-columns: 1fr;

    gap: 16px;

  }

  .pxc-gallery3d__cards-title {

    margin-bottom: 22px;

    font-size: clamp(24px, 7vw, 32px);

  }

  .pxc-gallery3d-card__inner {

    height: auto;

  }

  .pxc-gallery3d-card__flipper {

    height: auto;

  }

  .pxc-gallery3d-card__front {

    flex: none;

    min-height: 260px;

    padding: 20px;

  }

  .pxc-gallery3d-card__image {

    width: 100%;

    height: auto;

    max-height: 260px;

    min-height: 220px;

  }

  .pxc-gallery3d-card__back {

    flex: none;

    height: auto;

    padding: 12px 16px 18px;

    background: transparent;

  }

  .pxc-gallery3d-card__content {

    height: auto;

  }

  .pxc-gallery3d-card__label {

    font-size: 18px;

  }

}

/* =========================================================

   OGRANICZENIE ANIMACJI

========================================================= */

@media (prefers-reduced-motion: reduce) {

  .pxc-gallery3d__title-link,

  .pxc-gallery3d-card__button {

    transition: none;

  }

  .pxc-gallery3d__item {

    display: none;

    animation: none;

  }

  .pxc-gallery3d__item:nth-child(4) {

    display: block;

    opacity: 1;

    z-index: 1;

    transform:

      translate(-50%, -50%)

      scale(1.5);

  }

}

/* =========================================================

   PXC – GALERIA 3D + RESPONSYWNE KARTY

========================================================= */

/* =========================================================

   PXC – RESPONSYWNA TABELA PORÓWNAWCZA

========================================================= */

.pxc-comparison,

.pxc-comparison * {

  box-sizing: border-box;

}

.pxc-comparison {

  --pxc-label-width: 200px;

  --pxc-product-min-width: 180px;

  --pxc-row-height: 76px;

  --pxc-comparison-accent: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
    )
  );

  width: 100%;

  max-width: 1100px;

  margin-inline: auto;

  padding: 48px 0 72px;

  color: #000000;

  font-family: "Noto Sans", Arial, sans-serif;

}

/* =========================================================

   NAGŁÓWEK SEKCJI

========================================================= */

.pxc-comparison__intro {

  max-width: 850px;

  margin: 0 auto 32px;

  padding: 0 18px;

  text-align: center;

}

.pxc-comparison__title {

  margin: 0 0 12px;

  color: #000000;

  font-size: clamp(22px, 2.5vw, 32px);

  line-height: 1.25;

  font-weight: 400;

}

.pxc-comparison__title strong {

  font-weight: 700;

}

.pxc-comparison__lead {

  margin: 0;

  color: #000000;

  font-size: clamp(14px, 1.5vw, 17px);

  line-height: 1.5;

}

/* =========================================================

   OBSZAR PRZEWIJANIA

========================================================= */

.pxc-comparison__viewport {

  width: 100%;

  overflow-x: auto;

  overflow-y: hidden;

  padding-bottom: 10px;

  scroll-behavior: smooth;

  scroll-snap-type: x proximity;

  scrollbar-width: auto;

  scrollbar-color: var(--pxc-color-turquoise, #0098A1) #d7dadd;

  outline: none;

  -webkit-overflow-scrolling: touch;

}

.pxc-comparison__viewport:focus-visible {

  outline: 3px solid var(--pxc-color-turquoise, #0098A1);

  outline-offset: 4px;

}

/* Pasek przewijania – Chrome, Edge i Safari */

.pxc-comparison__viewport::-webkit-scrollbar {

  height: 11px;

}

.pxc-comparison__viewport::-webkit-scrollbar-track {

  background: #d7dadd;

  border-radius: 999px;

}

.pxc-comparison__viewport::-webkit-scrollbar-thumb {

  min-width: 80px;

  border-radius: 999px;

  background: var(--pxc-comparison-accent);

}

/* =========================================================

   STRUKTURA TABELI

========================================================= */

.pxc-comparison__table {

  width: max-content;

  min-width: 100%;

}

/*

  Liczba kolumn produktów zależy od zmiennej:

  --pxc-product-count

*/

.pxc-comparison__row {

  display: grid;

  grid-template-columns:

    var(--pxc-label-width)

    repeat(

      var(--pxc-product-count),

      minmax(var(--pxc-product-min-width), 1fr)

    );

  width: 100%;

  min-width: max-content;

}

/* =========================================================

   NAGŁÓWKI PRODUKTÓW

========================================================= */

.pxc-comparison__row--products {

  align-items: stretch;

}

.pxc-comparison__corner {

  position: sticky;

  left: 0;

  z-index: 5;

  background: #ffffff;

}

.pxc-comparison__product {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-end;

  min-width: 0;

  min-height: 230px;

  padding: 12px 14px 20px;

  background: #ffffff;

  color: #000000;

  text-align: center;

  scroll-snap-align: start;

  scroll-margin-inline-start: var(--pxc-label-width);

}

/* Link obejmujący zdjęcie i nazwę produktu */

.pxc-comparison__product-link {

  display: flex;

  flex: 1 1 auto;

  flex-direction: column;

  align-items: center;

  justify-content: flex-end;

  align-self: stretch;

  width: 100%;

  min-width: 0;

  border-radius: 8px;

  color: inherit;

  text-align: center;

  text-decoration: none;

}

.pxc-comparison__product-link:hover .pxc-comparison__product-name {

  color: var(--pxc-color-turquoise, #0098A1);

  text-decoration: underline;

  text-underline-offset: 3px;

}

.pxc-comparison__product-link:focus-visible {

  outline: 3px solid var(--pxc-color-turquoise, #0098A1);

  outline-offset: 4px;

}

.pxc-comparison__image {

  display: block;

  width: 100%;

  height: 165px;

  margin: 0 auto 10px;

  object-fit: contain;

  object-position: center;

}

.pxc-comparison__product-name {

  width: 100%;

  max-width: 100%;

  min-height: 42px;

  margin: 0;

  padding: 0 4px;

  color: #000000;

  font-size: 15px;

  line-height: 1.35;

  font-weight: 700;

  text-align: center;

  white-space: normal;

  overflow-wrap: anywhere;

  word-break: normal;

}

/* =========================================================

   WIERSZE PARAMETRÓW

========================================================= */

.pxc-comparison__row--data {

  position: relative;

}

.pxc-comparison__label,

.pxc-comparison__value {

  position: relative;

  display: flex;

  align-items: center;

  min-height: var(--pxc-row-height);

  padding: 14px;

  background-color: #ffffff;

  color: #000000;

}

.pxc-comparison__label {

  position: sticky;

  left: 0;

  z-index: 4;

  justify-content: flex-start;

  /*

    Lewa linia zamykająca tabelę.

    Jest przypisana do każdej komórki z nazwą parametru,

    dlatego automatycznie wydłuża się po dodaniu wierszy.

  */

  background-color: #ffffff;

  background-image: var(--pxc-comparison-accent);

  background-repeat: no-repeat;

  background-position: left top;

  background-size: 2px 100%;

  font-size: 14px;

  line-height: 1.3;

  font-weight: 700;

}

.pxc-comparison__value {

  z-index: 1;

  justify-content: center;

  font-size: 14px;

  line-height: 1.3;

  text-align: center;

}

/*

  Każda komórka posiada własną linię poziomą.

  Dzięki temu linie pozostają widoczne także w kolumnach,

  które początkowo znajdują się poza ekranem.

*/

.pxc-comparison__label::before,

.pxc-comparison__value::before {

  content: "";

  position: absolute;

  right: 0;

  bottom: 0;

  left: 0;

  z-index: 5;

  height: 2px;

  background: var(--pxc-comparison-accent);

  pointer-events: none;

}

/*

  Górna linia zamykająca tabelę.

  Obejmuje kolumnę nazw parametrów oraz wszystkie produkty.

*/

.pxc-comparison__row--products

  + .pxc-comparison__row--data::after {

  content: "";

  position: absolute;

  top: 0;

  right: 0;

  left: 0;

  z-index: 6;

  height: 2px;

  background: var(--pxc-comparison-accent);

  pointer-events: none;

}

/* Pionowe linie pomiędzy komórkami */

.pxc-comparison__row--data > :not(:last-child)::after {

  content: "";

  position: absolute;

  top: 0;

  right: -1px;

  bottom: 0;

  z-index: 3;

  width: 2px;

  background: var(--pxc-comparison-accent);

  pointer-events: none;

}

/*

  Prawa linia za ostatnim produktem.

  Selektor działa niezależnie od liczby produktów.

*/

.pxc-comparison__row--data > :last-child::after {

  content: "";

  position: absolute;

  top: 0;

  right: 0;

  bottom: 0;

  z-index: 3;

  width: 2px;

  background: var(--pxc-comparison-accent);

  pointer-events: none;

}

/* =========================================================

   ZNACZNIKI + ORAZ −

========================================================= */

.pxc-comparison__marker {

  display: inline-block;

  color: var(--pxc-color-turquoise, #0098A1);

  font-size: 23px;

  line-height: 1;

  font-weight: 800;

}

@supports (

  (-webkit-background-clip: text) or

  (background-clip: text)

) {

  .pxc-comparison__marker {

    background: var(--pxc-comparison-accent);

    background-clip: text;

    -webkit-background-clip: text;

    color: transparent;

    -webkit-text-fill-color: transparent;

  }

}

/* =========================================================

   NAWIGACJA PRODUKTÓW

========================================================= */

.pxc-comparison__nav {

  display: none;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 18px;

}

.pxc-comparison__nav-link {

  position: relative;

  isolation: isolate;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 44px;

  min-height: 44px;

  padding: 9px 15px;

  overflow: hidden;

  border: 0;

  border-radius: 999px;

  background: var(--pxc-comparison-accent);

  color: #000000;

  font-size: 14px;

  line-height: 1;

  font-weight: 700;

  text-decoration: none;

  transition:

    transform 180ms ease,

    box-shadow 180ms ease;

}

/* Białe wnętrze przycisku i gradientowa obwódka */

.pxc-comparison__nav-link::before {

  content: "";

  position: absolute;

  inset: 2px;

  z-index: -1;

  border-radius: inherit;

  background: #ffffff;

}

.pxc-comparison__nav-link:hover {

  transform: translateY(-2px);

  box-shadow: 0 5px 14px rgba(0, 152, 161, 0.2);

}

.pxc-comparison__nav-link:focus-visible {

  outline: 3px solid var(--pxc-color-turquoise, #0098A1);

  outline-offset: 3px;

}

/* =========================================================

   TABLET – WIDOCZNE DWA PRODUKTY

========================================================= */

@media (min-width: 900px) {

  .pxc-comparison__table {

    width: 100%;

    min-width: 0;

  }

  .pxc-comparison__row {

    grid-template-columns:

      var(--pxc-label-width)

      repeat(var(--pxc-product-count), minmax(0, 1fr));

    width: 100%;

    min-width: 0;

  }

  .pxc-comparison__viewport {

    overflow-x: hidden;

    padding-bottom: 0;

  }

}

@media (max-width: 899px) {

  .pxc-comparison {

    --pxc-label-width: 160px;

    --pxc-product-min-width: 185px;

  }

  .pxc-comparison__product {

    min-height: 190px;

    padding: 10px 12px 16px;

  }

  .pxc-comparison__image {

    width: min(100%, 150px);

    height: 130px;

  }

}

/* Nawigacja tabletowa: produkty 1–2 oraz 3–4 */

@media (min-width: 580px) and (max-width: 899px) {

  .pxc-comparison__nav--tablet {

    display: flex;

  }

}

/* =========================================================

   TELEFON – WIDOCZNY JEDEN PRODUKT

========================================================= */

@media (max-width: 579px) {

  .pxc-comparison {

    --pxc-label-width: 120px;

    --pxc-product-min-width: 160px;

    --pxc-row-height: 64px;

    padding: 40px 0 64px;

  }

  .pxc-comparison__intro {

    margin-bottom: 24px;

    padding: 0 12px;

  }

  .pxc-comparison__product {

    min-height: 165px;

    padding: 8px 8px 12px;

  }

  .pxc-comparison__image {

    width: min(100%, 130px);

    height: 108px;

    margin-bottom: 6px;

  }

  .pxc-comparison__product-name {

    min-height: 32px;

    padding: 0 2px;

    font-size: 12px;

    line-height: 1.25;

  }

  .pxc-comparison__label,

  .pxc-comparison__value {

    padding: 8px 7px;

    font-size: 12px;

    line-height: 1.25;

  }

  .pxc-comparison__value {

    font-size: 13px;

  }

  .pxc-comparison__marker {

    font-size: 20px;

  }

  /* Pokazanie mobilnych przycisków produktów */

  .pxc-comparison__nav--mobile {

    display: flex;

  }

  .pxc-comparison__nav-link {

    padding: 9px 12px;

  }

}

/* =========================================================

   OGRANICZENIE ANIMACJI

========================================================= */

@media (prefers-reduced-motion: reduce) {

  .pxc-comparison__viewport {

    scroll-behavior: auto;

  }

  .pxc-comparison__nav-link {

    transition: none;

  }

}

/* =========================================================

   PXC – RESPONSYWNA TABELA PORÓWNAWCZA

========================================================= */

/* =========================================================

   PXC – INTERAKTYWNE KAFLE KORZYŚCI

========================================================= */

.pxc-benefits,

.pxc-benefits * {

  box-sizing: border-box;

}

.pxc-benefits {

  --pxc-benefits-gap: 18px;

  --pxc-benefits-text: #ffffff;

  --pxc-benefits-overlay: rgba(7, 24, 39, 0.47);

  --pxc-benefits-overlay-active: rgba(7, 24, 39, 0.68);

  --pxc-benefits-background: var(--pxc-section-background, #59636b);

  width: 100%;

  max-width: 1200px;

  margin-inline: auto;

  padding: 24px 0 30px;

  color: #1f2933;

  font-family: "Noto Sans", Arial, sans-serif;

}

.pxc-benefits__title {

  margin: 0 0 24px;

  text-align: center;

  font-size: clamp(22px, 2.5vw, 32px);

  line-height: 1.25;

  font-weight: 600;

}

/* =========================================================

   UKŁAD KAFELKÓW

========================================================= */

.pxc-benefits__grid {

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: var(--pxc-benefits-gap);

  align-items: stretch;

}

.pxc-benefits__card {

  position: relative;

  isolation: isolate;

  min-width: 0;

  min-height: clamp(340px, 38vw, 480px);

  overflow: hidden;

  color: var(--pxc-benefits-text);

  background: var(--pxc-benefits-background);

  outline: none;

}

/* =========================================================

   ZDJĘCIE I PRZYCIEMNIENIE

========================================================= */

.pxc-benefits__image,

.pxc-benefits__shade {

  position: absolute;

  inset: 0;

}

.pxc-benefits__image {

  z-index: -2;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  transform: scale(1);

  transition: transform 450ms ease;

}

.pxc-benefits__shade {

  z-index: -1;

  background: var(--pxc-benefits-overlay);

  transition: background-color 300ms ease;

}

/* =========================================================

   TREŚĆ KAFELKA

========================================================= */

.pxc-benefits__content {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 100%;

  height: 100%;

  min-height: inherit;

  padding: 32px 24px;

  text-align: center;

}

.pxc-benefits__heading {

  margin: 0;

  font-size: clamp(20px, 2vw, 26px);

  line-height: 1.25;

  font-weight: 600;

  transition: transform 350ms ease;

}

.pxc-benefits__description {

  max-width: 34ch;

  max-height: 0;

  margin: 0;

  overflow: hidden;

  opacity: 0;

  transform: translateY(14px);

  font-size: 16px;

  line-height: 1.55;

  transition:

    max-height 450ms ease,

    margin-top 350ms ease,

    opacity 300ms ease,

    transform 350ms ease;

}

/* =========================================================

   EFEKT PO NAJECHANIU

========================================================= */

@media (hover: hover) and (pointer: fine) {

  .pxc-benefits__card:hover .pxc-benefits__image,

  .pxc-benefits__card:focus-visible .pxc-benefits__image {

    transform: scale(1.07);

  }

  .pxc-benefits__card:hover .pxc-benefits__shade,

  .pxc-benefits__card:focus-visible .pxc-benefits__shade {

    background: var(--pxc-benefits-overlay-active);

  }

  .pxc-benefits__card:hover .pxc-benefits__heading,

  .pxc-benefits__card:focus-visible .pxc-benefits__heading {

    transform: translateY(-6px);

  }

  .pxc-benefits__card:hover .pxc-benefits__description,

  .pxc-benefits__card:focus-visible .pxc-benefits__description {

    max-height: 180px;

    margin-top: 14px;

    opacity: 1;

    transform: translateY(0);

  }

  .pxc-benefits__card:focus-visible {

    outline: 3px solid #00a5e5;

    outline-offset: 3px;

  }

}

/* =========================================================

   TABLET – DWA KAFLE + JEDEN WYŚRODKOWANY

========================================================= */

@media (max-width: 899px) {

  .pxc-benefits__grid {

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

  .pxc-benefits__card {

    min-height: clamp(360px, 62vw, 500px);

  }

  .pxc-benefits__card:nth-child(3) {

    grid-column: 1 / -1;

    justify-self: center;

    width: calc((100% - var(--pxc-benefits-gap)) / 2);

  }

}

/* =========================================================

   URZĄDZENIA DOTYKOWE

========================================================= */

@media (hover: none), (pointer: coarse) {

  .pxc-benefits__shade {

    background: var(--pxc-benefits-overlay-active);

  }

  .pxc-benefits__description {

    max-height: none;

    margin-top: 14px;

    overflow: visible;

    opacity: 1;

    transform: none;

  }

}

/* =========================================================

   TELEFON – KAFLE JEDEN POD DRUGIM

========================================================= */

@media (max-width: 579px) {

  .pxc-benefits {

    --pxc-benefits-gap: 14px;

  }

  .pxc-benefits__grid {

    grid-template-columns: 1fr;

  }

  .pxc-benefits__card,

  .pxc-benefits__card:nth-child(3) {

    grid-column: auto;

    width: 100%;

    min-height: 390px;

  }

}

/* =========================================================

   OGRANICZENIE ANIMACJI

========================================================= */

@media (prefers-reduced-motion: reduce) {

  .pxc-benefits__image,

  .pxc-benefits__shade,

  .pxc-benefits__heading,

  .pxc-benefits__description {

    transition: none;

  }

}

/* =========================================================

   PXC – INTERAKTYWNE KAFLE KORZYŚCI

========================================================= */

/* =========================================================

   PXC – SECTION: TECH PARAMS

========================================================= */

.pxc-section--tech{

  --pxc-tech-accent: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
    )
  );

  background: #ffffff;

  padding-bottom: 100px;

}

.pxc-tech__title{

  margin: 0 0 36px 0;

  color: #111827;

  font-size: clamp(28px, 2.6vw, 42px);

  line-height: 1.1;

  font-weight: 800;

  letter-spacing: 0.2px;

  text-align: center;

}

/* kontener dwóch bloków – desktop: pozycjonowanie absolutne */

.pxc-tech{

  position: relative;

  width: 100%;

  max-width: 1120px;

  margin: 0 auto;

  min-height: 520px; /* miejsce na overlap */

  /* sterowanie pozycją na DESKTOP */

  --left-x: 10%;

  --left-y: 0%;

  --shift-x: 32%; /* w prawo 35 */

  --shift-y: 55%; /* w dół */

  --overlap: 1%;  /* tylko “róg na róg” */

  padding: 0 0 80px 0;

}

/* karta bazowa */

.pxc-techCard{

  position: absolute;

  background: #ffffff;

  border-radius: 16px;

  padding: 28px 28px;

  box-sizing: border-box;

  width: min(540px, 100%);

  text-align: left;

  font-size: 1.2rem;

  /* ramka PXC-color */

  border: 8px solid transparent;

  background:

    linear-gradient(#ffffff, #ffffff) padding-box,

    var(--pxc-tech-accent) border-box;

}

.pxc-techCard__title{

  margin: 0 0 16px 0;

  color: #1a1a1a;

  font-size: 1.4rem;

  line-height: 1.25;

  text-align: center;

}

.pxc-techCard--primary{

  z-index: 2;

}

.pxc-techCard--secondary{

  left: calc(var(--left-x) + var(--shift-x) - var(--overlap));

  top:  calc(var(--left-y) + var(--shift-y) - var(--overlap));

  z-index: 1;

}

/* LISTA PARAMETRÓW */

.pxc-paramList{

  list-style: none;

  padding: 0;

  margin: 0;

}

.pxc-paramItem{

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 16px;

  align-items: baseline;

  padding: 12px 12px;

  border-radius: 12px;

  color: #1a1a1a;

  transition: transform 160ms ease, opacity 160ms ease, font-size 160ms ease, background 160ms ease;

}

.pxc-paramItem__label{ font-weight: 600; }

.pxc-paramItem__value{

  font-weight: 600;

  white-space: normal;

  text-align: right;

}

@media (max-width: 1050px){

   /* TECH: stack */

  .pxc-tech{

    min-height: unset;

    display: grid;

    gap: 16px;

    padding: 0;

  }

  .pxc-techCard{

    position: static;

    width: 100%;

  }

  .pxc-paramItem{

    grid-template-columns: 1fr;

    gap: 6px;

  }

  .pxc-paramItem__value{

    text-align: left;

  }

}

/* TECH – dodatkowe paddingi (jeśli potrzebujesz) */

@media (max-width: 768px){

  .pxc-section--tech{

    padding: 40px 0;

  }

}

/* =========================================================

   PXC – HOVER ONLY (paramList)

========================================================= */

@media (min-width: 769px) and (hover: hover) and (pointer: fine){

  .pxc-paramList:hover .pxc-paramItem{

    opacity: 0.55;

  }

  .pxc-paramList .pxc-paramItem:hover{

    opacity: 1;

    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.75);

  }

  .pxc-paramList .pxc-paramItem:hover .pxc-paramItem__label,

  .pxc-paramList .pxc-paramItem:hover .pxc-paramItem__value{

    font-size: 1.3em;

  }

}

/* =========================================================

   PXC – SECTION: TECH PARAMS

========================================================= */

/* =========================================================

   PXC – HOTPOINTS

========================================================= */

.pxc-section--hotpoints{

  --pxc-hotpoints-accent: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
    )
  );

  --pxc-hotpoints-dot: var(
    --pxc-section-background,
    linear-gradient(
      var(--pxc-color-turquoise, #0098A1),
      var(--pxc-color-turquoise, #0098A1)
    )
  );

  background:

    linear-gradient(#ffffff, #ffffff) padding-box,

    var(--pxc-hotpoints-accent) border-box;

  border: 6px solid transparent;

  border-radius: 16px;

  padding: 32px 24px 48px;

  text-align: center;

}

.pxc-hotpoints__title{

  margin: 0 0 18px;

  color: #111827;

  font-size: clamp(24px, 2.2vw, 34px);

  line-height: 1.1;

  font-weight: 800;

  letter-spacing: 0.2px;

  text-align: center;

}

.pxc-hotpoints{

  position: relative;

  display: block;

  max-width: 100%;

  margin: 0 auto;

  border-radius: 16px;

  overflow: visible;

  /* ===== ZMIENNE (desktop) ===== */

  --hp-bubble-w: 400px;

  --hp-bubble-pad: 20px;

  --hp-gap: 16px;

  --hp-thumb: 150px;

  --hp-title: 20px;

  --hp-text: 18px;

  --hp-line: 1.55;

  /* globalne mikro-offsety (opcjonalnie) */

  --hp-ox: 0px;

  --hp-oy: 0px;

}

.pxc-hotpoints__frame{

  position: relative;

  display: inline-block;

  max-width: 100%;

}

.pxc-hotpoints__img{

  display: block;

  width: 100%;

  max-width: 520px;

  height: auto;

}

/* kropki */

.pxc-hotpoints__dot{

  position: absolute;

  transform: translate(-50%, -50%);

  width: 20px;

  height: 20px;

  border-radius: 999px;

  border: 3px solid #fff;

  background: var(--pxc-hotpoints-dot);

  cursor: pointer;

  z-index: 3;

}

.pxc-hotpoints__dot::after{

  content:"";

  position:absolute;

  inset:-14px;

  border-radius:999px;

  border:3px solid rgba(230,0,0,.30);

  animation: pxcHpPulse 1.6s infinite;

}

@keyframes pxcHpPulse{

  0% { transform: scale(.6); opacity: .9; }

  100% { transform: scale(1.25); opacity: 0; }

}

/* dymek – WYGLĄD */

.pxc-hotpoints__bubble{

  position: absolute;

  z-index: 50;

  width: var(--hp-bubble-w);

  max-width: calc(100vw - 32px);

  background: #ffffff;

  border: 2px solid rgba(230,0,0,.25);

  border-radius: 18px;

  box-shadow: 0 22px 48px rgba(0,0,0,.22);

  padding: var(--hp-bubble-pad);

  display: none;

  gap: var(--hp-gap);

  align-items: flex-start;

  text-align: left;

  /* kotwica w punkcie hotpointa */

  left: 0;

  top: 0;

  /* bezpiecznik – nie używamy już --bx/--by */

  transform: none;

}

.pxc-hotpoints__thumb{

  width: var(--hp-thumb);

  height: var(--hp-thumb);

  object-fit: contain;

  border-radius: 14px;

  background: #fff;

  border: 1px solid rgba(0,0,0,.08);

  flex-shrink: 0;

}

.pxc-hotpoints__content{

  display:flex;

  flex-direction:column;

  gap:10px;

}

.pxc-hotpoints__bTitle{

  font-weight: 700;

  font-size: var(--hp-title);

  line-height: 1.25;

}

.pxc-hotpoints__bText{

  font-size: var(--hp-text);

  line-height: var(--hp-line);

  color: #222;

}

/* close */

.pxc-hotpoints__close{

  position:absolute;

  top: 8px;

  right: 10px;

  width: 36px;

  height: 36px;

  border: 0;

  background: transparent;

  font-size: 22px;

  line-height: 36px;

  cursor: pointer;

  display: grid;

  place-items: center;

  user-select: none;

}

/* =========================================================

   HOTPOINTS 

========================================================= */

/* ukryj radio */

.pxc-hpToggle{

  position: absolute;

  width: 1px;

  height: 1px;

  opacity: 0;

  pointer-events: none;

}

/* kotwica dla jednego hotpointa */

.pxc-hp{

  position: absolute;

}

/* kropka jako LABEL: osadzona w punkcie (0,0) hotpointa */

.pxc-hp > .pxc-hotpoints__dot{

  position: absolute;

  left: 0;

  top: 0;

  display: block;

  border: 3px solid #fff;

  z-index: 3;

}

/* focus dla klawiatury */

.pxc-hp > .pxc-hotpoints__dot:focus-visible{

  outline: 3px solid rgba(0,0,0,.35);

  outline-offset: 3px;

}

/* otwieranie dymka bez JS */

.pxc-hp > .pxc-hpToggle:checked ~ .pxc-hotpoints__bubble{

  display: flex;

}

/* =========================================================

   POZYCJONOWANIE DYMKA

========================================================= */

/* w PRAWO */

.pxc-hp--right > .pxc-hotpoints__bubble{

  transform: translate(

    calc(var(--hp-gap) + var(--hp-ox, 0px)),

    calc(-50% + var(--hp-oy, 0px))

  );

}

/* w LEWO */

.pxc-hp--left > .pxc-hotpoints__bubble{

  transform: translate(

    calc(-1 * (var(--hp-bubble-w) + var(--hp-gap)) + var(--hp-ox, 0px)),

    calc(-50% + var(--hp-oy, 0px))

  );

}

/* do GÓRY */

.pxc-hp--top > .pxc-hotpoints__bubble{

  transform: translate(

    calc(-50% + var(--hp-ox, 0px)),

    calc(-100% - var(--hp-gap) + var(--hp-oy, 0px))

  );

}

/* w DÓŁ */

.pxc-hp--bottom > .pxc-hotpoints__bubble{

  transform: translate(

    calc(-50% + var(--hp-ox, 0px)),

    calc(var(--hp-gap) + var(--hp-oy, 0px))

  );

}

/* =========================================================

   HOTPOINTS – tablet sizing

========================================================= */

@media (min-width: 701px) and (max-width: 1000px){

  .pxc-hotpoints{

    --hp-bubble-w: 300px;

    --hp-bubble-pad: 16px;

    --hp-gap: 12px;

    --hp-thumb: 120px;

    --hp-title: 16px;

    --hp-text: 14px;

    --hp-line: 1.45;

    /* najlepiej zostawić 0 i stroić per-hotpoint */

    --hp-ox: 0px;

    --hp-oy: 0px;

  }

  .pxc-hotpoints__close{

    width: 28px;

    height: 28px;

    font-size: 18px;

    line-height: 28px;

  }

}

.pxc-hotpoints__mobileList{ display: none; }

/* HOTPOINTS – wyłącz na mniejszych */

@media (max-width: 700px){

  .pxc-hotpoints__dot{ display: none; }

  .pxc-hotpoints__bubble{ display: none !important; }

  /* ukryj cały blok z obrazem i kropkami */

  .pxc-hotpoints__frame{ display: none; }

  /* pokaż listę */

  .pxc-hotpoints__mobileList{ 

    display: block;

    text-align: left;

  }

  .pxc-bullets{

    list-style: none;

    padding: 0;

    margin: 0;

    display: grid;

    gap: 10px;

  }

  .pxc-bullets li{

    position: relative;

    padding-left: 28px;

    font-size: 18px;

    line-height: 1.35;

  }

  /* “myślnik” */

  .pxc-bullets li::before{

    content: "⚡";

    position: absolute;

    left: 0;

    top: 0;

    transform: translateY(1px);

  }

}

/* =========================================================

   PXC – HOTPOINTS

========================================================= */

/* =========================================================

   PXC – FAQ (accordion + image)

========================================================= */

.pxc-faq-li {

  display: grid;

  gap: 10px;

  margin: 0;

  padding: 0;

  list-style: none;

}

.pxc-faq-li li {

  position: relative;

  margin: 0;

  padding-left: 28px;

  line-height: 1.35;

}

.pxc-faq-li li::before {

  content: "⚡";

  position: absolute;

  top: 0;

  left: 0;

  transform: translateY(1px);

}

.pxc-section--faq{

  margin-bottom: var(--pxc-space-lg, 64px);

}

.pxc-faq__title{

  margin: 0 0 28px 0;

  color: #111827;

  font-size: clamp(26px, 2.6vw, 44px);

  line-height: 1.1;

  font-weight: 800;

  text-align: center;

}

.pxc-faq{

  --pxc-faq-accent: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
    )
  );

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  gap: 28px;

  align-items: center;

}

/* lewa kolumna */

.pxc-faq__col--list{

  padding-top: 6px;

}

/* element FAQ */

.pxc-faqItem{

  padding: 14px 0;

  border-bottom: 1px solid rgba(17,24,39,0.12);

  position: relative;

}

/* radio/checkbox ukryte */

.pxc-faqInput{

  position: absolute;

  opacity: 0;

  pointer-events: none;

}

/* Pytanie (LABEL) */

.pxc-faqQ{

  width: 100%;

  border: 0;

  background: transparent;

  position: relative;

  display: block;               

  text-align: left;

  font-size: clamp(18px, 1.3vw, 22px);

  font-weight: 700;

  color: #111827;

  cursor: pointer;

  border-radius: 10px;

  padding: 12px 16px 12px 44px;

  transition: background 200ms ease, color 200ms ease;

}

/* plus */

.pxc-faqQ::before{

  content: "+";

  position: absolute;

  left: 0;

  top: 50%;

  transform: translateY(-50%);

  width: 32px;

  height: 32px;

  display: grid;

  place-items: center;

  font-size: 28px;

  line-height: 1;

  color: #111827;

}

/* Odpowiedź – domyślnie zwinięta */

.pxc-faqA{

  max-height: 0;

  overflow: hidden;

  margin-top: 0;

  padding-left: 44px;

  color: #111827;

  font-size: clamp(16px, 1.15vw, 18px);

  line-height: 1.6;

  transition: max-height 260ms ease, margin-top 260ms ease;

}

/* HOVER / FOCUS */

.pxc-faqQ:hover,

.pxc-faqQ:focus-visible{

  background: var(--pxc-faq-accent);

  color: #ffffff;

}

.pxc-faqQ:hover::before,

.pxc-faqQ:focus-visible::before{

  color: #ffffff;

}

/* OTWARTE (radio checked) */

.pxc-faqInput:checked + .pxc-faqQ{

  background: var(--pxc-faq-accent);

  color: #ffffff;

}

.pxc-faqInput:checked + .pxc-faqQ::before{

  color: #ffffff;

  content: "";

  font-size: 30px;

  line-height: 1;

}

.pxc-faqInput:checked ~ .pxc-faqA{

  max-height: 420px;

  margin-top: 10px;

}

/* prawa kolumna – obraz */

.pxc-faq__col--image{

  display: flex;

  justify-content: center;

  align-items: center;

}

.pxc-faq__img{

  padding-left: 7%;

  width: 100%;

  max-width: 520px;

  height: auto;

  border-radius: 6px;

  display: block;

  object-fit: cover;

  transform: translateY(45px);

}

/* FAQ – tablet i telefon */

@media (max-width: 940px){

  .pxc-faq{

    grid-template-columns: 1fr;

  }

  .pxc-faq__col--image{

    display: none;

  }

}

/* =========================================================

   PXC – FAQ (accordion + image)

========================================================= */

/* =========================================================

   PXC – OFFER CARDS

========================================================= */

.pxc-offer{

  --pxc-offer-accent: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098A1, #96BE0D, #0098A1)
    )
  );
  margin-inline: auto;
}

.pxc-offer__title{

  margin: 0 0 28px 0;

  color: #111827;

  font-size: clamp(26px, 2.6vw, 44px);

  line-height: 1.1;

  font-weight: 800;

  text-align: center;

}

.pxc-offer__grid{

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

}

/* KARTA – perspektywa na rodzicu */

.pxc-card{

  border-radius: 18px;

  perspective: 1200px;

  -webkit-perspective: 1200px;

}

/* Wrapper karty */

.pxc-card__inner{

  position: relative;

  width: 100%;

  aspect-ratio: 4 / 5;

  border-radius: 18px;

  overflow: hidden;

  cursor: pointer;

  outline: none;

  background: #fff;

  box-shadow: 0 14px 34px rgba(0,0,0,.14);

}

/* Ramka */

.pxc-card__inner::before{

  content:"";

  position:absolute;

  inset:6px;

  border:1px solid rgba(0,0,0,.10);

  border-radius:14px;

  pointer-events:none;

  z-index:5;

}

/* TO SIĘ OBRACA */

.pxc-card__flipper{

  position: absolute;

  inset: 0;

  transform-style: preserve-3d;

  -webkit-transform-style: preserve-3d;

  transition: transform .7s ease;

  will-change: transform;

}

/* Strony */

.pxc-card__side{

  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  backface-visibility:hidden;

  -webkit-backface-visibility:hidden;

}

/* FRONT */

.pxc-card__front{

  transform: rotateY(0deg);

  background: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 5px;

}

.pxc-card__img{

  max-width: 100%;

  max-height: 100%;

  object-fit: contain;

  display:block;

  backface-visibility:hidden;

  -webkit-backface-visibility:hidden;

}

/* BACK */

.pxc-card__back{

  transform: rotateY(180deg);

  background: var(--pxc-offer-accent);

  position: relative;

  display: block;

  padding: 0;

}

.pxc-card__backContent{

  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 14px;

  padding: 0;

  text-align: center;

  color: #111;

}

.pxc-card__label{

  margin: 0;

  max-width: 260px;

  font-size: 22px;

  font-weight: 800;

  line-height: 1.25;

}

.pxc-offer .pxc-btn{

  padding: 14px 28px;

  font-size: 16px;

  line-height: 1;

  white-space: nowrap;

}

/* Przycisk (ten blok zostaje wspólny dla projektu) */

.pxc-btn{

  display: inline-flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  font-weight: 800;

  border-radius: 999px;

  padding: 12px 18px;

  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;

  user-select: none;

}

.pxc-btn--white{

  background: #fff;

  color: #111;

  box-shadow: 0 10px 22px rgba(0,0,0,.16);

}

.pxc-btn--white:hover{

  transform: translateY(-1px);

  box-shadow: 0 12px 26px rgba(0,0,0,.20);

}

.pxc-card__inner.is-flipped .pxc-card__flipper{

  transform: rotateY(180deg);

}

/* Focus */

.pxc-card__inner:focus-visible{

  box-shadow: 0 0 0 4px rgba(0,152,161,.35), 0 14px 34px rgba(0,0,0,.14);

}

/* Reduced motion */

@media (prefers-reduced-motion: reduce){

  .pxc-card__flipper{ transition: none; }

  .pxc-btn{ transition: none; }

}

/* Hover flip tylko na urządzeniach z hover */

@media (hover:hover) and (pointer:fine){

  .pxc-card__inner:hover .pxc-card__flipper{

    transform: rotateY(180deg);

  }

}

/* TABLET / WĘŻEJ: offer 2 kolumny */

@media (max-width: 940px){

  .pxc-offer__grid{

    grid-template-columns: repeat(2, minmax(0, 1fr));

  }

}

/* MOBILE: offer 1 kolumna + WYŁĄCZENIE FLIPA */

@media (max-width: 520px){

  .pxc-offer__grid{

    grid-template-columns: 1fr;

    gap: 16px;

  }

  /* wyłączamy flip na mobile */

  .pxc-card__inner{

    aspect-ratio: 5 / 6;

    cursor: default;

  }

  .pxc-card__flipper{

    transform: none !important;

  }

  .pxc-card__back{

    display: none;

  }

  /* Phoenixowy pasek u góry */

  .pxc-card__front::after{

    content: "";

    position: absolute;

    top: 0; left: 0; right: 0;

    height: 14px;

    background: var(--pxc-offer-accent);

    z-index: 4;

  }

  /* front jako “kafelek” */

  .pxc-card__front{

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

  }

  .pxc-card__img{

    height: auto;

    flex: 1 1 auto;

    min-height: 220px;

  }

}

/* =========================================================

   PXC – OFFER: MOBILE

========================================================= */

@media (max-width: 520px){

  /* 1) Całkowicie wyłączamy mechanikę 3D */

  .pxc-card{ perspective: none; -webkit-perspective: none; }

  /* 2) Flipper przestaje być “warstwą” absolute i staje się normalnym kontenerem */

  .pxc-card__flipper{

    position: static !important;

    inset: auto !important;

    transform: none !important;

    transition: none !important;

    display: flex !important;

    flex-direction: column !important;

  }

  /* 3) Front/back przestają być absolute i układają się jeden pod drugim */

  .pxc-card__side{

    position: static !important;

    inset: auto !important;

    width: auto !important;

    height: auto !important;

    backface-visibility: visible !important;

    -webkit-backface-visibility: visible !important;

  }

  /* 4) Front zostaje jako obrazek */

  .pxc-card__front{

    transform: none !important;

  }

  .pxc-card__img{

    width: 100%;

    height: auto;

    max-height: 260px;

    object-fit: contain;

    display: block;

  }

  /* 5) Back pokazujemy jako dolny panel z CTA */

  .pxc-card__back{

    display: block !important;

    transform: none !important;

    background: transparent !important;

    padding: 12px 16px 18px !important;

  }

  /* 6) Zawartość CTA normalnie (nie absolute) */

  .pxc-card__backContent{

    position: static !important;

    inset: auto !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 10px !important;

    background: none !important;

    box-shadow: none !important;

    border-radius: 0 !important;

    padding: 0 !important;

    text-align: center !important;

  }

  /* 7) Rozmiary (możesz regulować) */

  .pxc-card__label{

    margin-top: 8px !important;

    margin: 0 !important;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.2;

  }

  .pxc-offer .pxc-btn{

    font-size: 16px;

    padding: 12px 22px;

    line-height: 1;

    white-space: nowrap;

  }

  .pxc-card__inner{

    aspect-ratio: auto !important;

    height: auto !important;

  }

  .pxc-card__front::after{

    content: none !important;

    display: none !important;

  }

}

/* =========================================================

   OFFER – TABLET (2 kolumny) 

========================================================= */

@media (min-width: 521px) and (max-width: 940px){

  .pxc-offer__grid{

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;

  }

  .pxc-offer{

    --offer-card-h: 420px;

    --offer-back-h: 140px;

  }

  .pxc-card{ perspective: none; -webkit-perspective: none; }

  .pxc-card__inner{

    aspect-ratio: auto !important;

    height: var(--offer-card-h) !important;

    cursor: default;

  }

  .pxc-card__flipper{

    position: static !important;

    inset: auto !important;

    transform: none !important;

    transition: none !important;

    display: flex !important;

    flex-direction: column !important;

    height: 100% !important;

    min-height: 0 !important;

  }

  .pxc-card__side{

    position: static !important;

    inset: auto !important;

    width: auto !important;

    backface-visibility: visible !important;

    -webkit-backface-visibility: visible !important;

  }

  .pxc-card__front{

    transform: none !important;

    flex: 1 1 0 !important;

    min-height: 0 !important;

    overflow: hidden !important;

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    padding: 16px !important;

    background: #fff !important;

  }

  .pxc-card__img{

    width: 100% !important;

    height: 100% !important;

    max-height: 100% !important;

    object-fit: contain !important;

    display: block;

  }

  /* BACK PANEL: BIAŁY, bez gradientu */

  .pxc-card__back{

    display: block !important;

    transform: none !important;

    flex: 0 0 var(--offer-back-h) !important;

    height: var(--offer-back-h) !important;

    background: #ffffff !important;          /* <- to usuwa PXC-color */

    padding: 12px 16px 18px !important;

  }

  .pxc-card__backContent{

    position: static !important;

    inset: auto !important;

    height: 100% !important;

    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 10px !important;

    padding: 0 !important;

    text-align: center !important;

  }

  .pxc-card__label{

    margin: 0 !important;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.2;

    color: #111 !important;

  }

  .pxc-card__front::after{

    content: none !important;

    display: none !important;

  }

}

/* =========================================================

   PXC – OFFER CARDS

========================================================= */
/* =========================================================
   PXC – FEATURE STORY
   Niezależny moduł: naprzemienne sekcje zdjęcie + tekst
========================================================= */

.pxc-featureStory,
.pxc-featureStory * {
  box-sizing: border-box;
}

.pxc-featureStory {
  --pxc-featureStory-background: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098a1, #96be0d, #0098a1)
    )
  );
  --pxc-featureStory-surface: #ffffff;
  --pxc-featureStory-text: #111827;
  --pxc-featureStory-muted: #4b5563;

  width: 100%;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);

  border-radius: 20px;
  background: var(--pxc-featureStory-background);

  font-family: Arial, Helvetica, sans-serif;
}

.pxc-featureStory__heading {
  margin: 0 0 clamp(24px, 4vw, 40px);

  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

.pxc-featureStory__list {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.pxc-featureStory__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 340px;
  overflow: hidden;

  border-radius: 18px;
  background: var(--pxc-featureStory-surface);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.pxc-featureStory__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 340px;
  padding: clamp(18px, 3vw, 32px);

  background: #ffffff;
}

.pxc-featureStory__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;

  object-fit: contain;
  object-position: center;
}

.pxc-featureStory__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
}

.pxc-featureStory__title {
  margin: 0 0 16px;

  color: var(--pxc-featureStory-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 800;
}

.pxc-featureStory__text {
  margin: 0;

  color: var(--pxc-featureStory-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

/* Automatyczne odwrócenie co drugiej pozycji */

.pxc-featureStory__item:nth-child(even) .pxc-featureStory__media {
  order: 2;
}

.pxc-featureStory__item:nth-child(even) .pxc-featureStory__content {
  order: 1;
}

/* Tablet */

@media (max-width: 860px) {
  .pxc-featureStory {
    padding: clamp(18px, 4vw, 30px);
    border-radius: 16px;
  }

  .pxc-featureStory__item {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pxc-featureStory__media,
  .pxc-featureStory__item:nth-child(even) .pxc-featureStory__media {
    order: 1;
    min-height: 280px;
    padding: 22px;
  }

  .pxc-featureStory__content,
  .pxc-featureStory__item:nth-child(even) .pxc-featureStory__content {
    order: 2;
    padding: clamp(24px, 5vw, 38px);
  }

  .pxc-featureStory__image {
    height: auto;
    max-height: 380px;
  }
}

/* Telefon */

@media (max-width: 520px) {
  .pxc-featureStory {
    padding: 14px;
    border-radius: 14px;
  }

  .pxc-featureStory__heading {
    margin-bottom: 20px;
    font-size: clamp(24px, 8vw, 32px);
  }

  .pxc-featureStory__list {
    gap: 16px;
  }

  .pxc-featureStory__item {
    border-radius: 14px;
  }

  .pxc-featureStory__media,
  .pxc-featureStory__item:nth-child(even) .pxc-featureStory__media {
    min-height: 220px;
    padding: 16px;
  }

  .pxc-featureStory__image {
    max-height: 290px;
  }

  .pxc-featureStory__content,
  .pxc-featureStory__item:nth-child(even) .pxc-featureStory__content {
    padding: 22px 20px 26px;
  }

  .pxc-featureStory__title {
    margin-bottom: 12px;
    font-size: 23px;
  }

  .pxc-featureStory__text {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* =========================================================
   PXC – FEATURE STORY
========================================================= */
/* =========================================================
   PXC – YOUTUBE SHORTS
   Niezależny moduł: nagłówek + 3 pionowe filmy
========================================================= */

.pxc-youtubeShorts,
.pxc-youtubeShorts * {
  box-sizing: border-box;
}

.pxc-youtubeShorts {
  --pxc-youtubeShorts-background: var(
    --pxc-section-background,
    var(
      --pxc-color-main,
      linear-gradient(135deg, #0098a1, #96be0d, #0098a1)
    )
  );

  width: 100%;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 58px);

  border-radius: 20px;
  background: var(--pxc-youtubeShorts-background);

  font-family: Arial, Helvetica, sans-serif;
}

.pxc-youtubeShorts__header {
  width: min(100%, 760px);
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3vw, 30px);

  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);

  text-align: center;
}

.pxc-youtubeShorts__title {
  margin: 0 0 10px;

  color: #111827;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
}

.pxc-youtubeShorts__lead {
  margin: 0;

  color: #4b5563;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}

.pxc-youtubeShorts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 4vw, 44px);

  width: min(100%, 920px);
  margin: 0 auto;
}

.pxc-youtubeShorts__card {
  width: 100%;
  overflow: hidden;
  padding: 7px;

  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.pxc-youtubeShorts__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;

  border: 0;
  border-radius: 16px;
  background: #000000;
}

/* Tablet */

@media (max-width: 860px) {
  .pxc-youtubeShorts {
    padding: clamp(22px, 4vw, 34px);
    border-radius: 16px;
  }

  .pxc-youtubeShorts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2.5vw, 22px);
    width: min(100%, 650px);
  }

  .pxc-youtubeShorts__card {
    max-width: 280px;
    padding: 5px;
    border-radius: 18px;

    justify-self: center;
  }

  .pxc-youtubeShorts__card:last-child {
    grid-column: 1 / -1;
  }

  .pxc-youtubeShorts__iframe {
    border-radius: 13px;
  }
}

/* Telefon */

@media (max-width: 520px) {
  .pxc-youtubeShorts {
    padding: 18px 14px 24px;
    border-radius: 14px;
  }

  .pxc-youtubeShorts__header {
    margin-bottom: 22px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .pxc-youtubeShorts__title {
    font-size: 24px;
  }

  .pxc-youtubeShorts__lead {
    font-size: 15px;
  }

  .pxc-youtubeShorts__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .pxc-youtubeShorts__card {
    width: min(100%, 290px);
  }

  .pxc-youtubeShorts__card:last-child {
    grid-column: auto;
  }
}

/* =========================================================
   PXC – YOUTUBE SHORTS
========================================================= */




/* =========================================================

   PXC – IMAGE CONTENT

========================================================= */


/* =========================================================
   PXC – GLOBALNE ODSTĘPY MIĘDZY MODUŁAMI

   Klasy umieszczone na końcu arkusza celowo nadpisują
   zewnętrzne marginesy ustawione wcześniej przez moduły.
========================================================= */

/* Margines górny */

.pxc-mt--none {
  margin-top: 0;
}

.pxc-mt--sm {
  margin-top: var(--pxc-space-sm, clamp(16px, 2vw, 24px));
}

.pxc-mt--md {
  margin-top: var(--pxc-space-md, clamp(24px, 4vw, 48px));
}

.pxc-mt--lg {
  margin-top: var(--pxc-space-lg, clamp(40px, 6vw, 64px));
}

/* Margines dolny */

.pxc-mb--none {
  margin-bottom: 0;
}

.pxc-mb--sm {
  margin-bottom: var(--pxc-space-sm, clamp(16px, 2vw, 24px));
}

.pxc-mb--md {
  margin-bottom: var(--pxc-space-md, clamp(24px, 4vw, 48px));
}

.pxc-mb--lg {
  margin-bottom: var(--pxc-space-lg, clamp(40px, 6vw, 64px));
}

/* =========================================================
   PXC – GLOBALNE ODSTĘPY MIĘDZY MODUŁAMI
========================================================= */

/* Sekcja korzysta ze wspólnej klasy .pxc-image. */

/* =========================================================

   PXC – IMAGE CONTENT

========================================================= */
