:root{
  --ps-mch-primary: var(--polsteam-primary, #00357d);
  --ps-mch-accent:  var(--polsteam-accent, #dd291b);
  --ps-mch-text:    #ffffff;
}

/* =========================================================
   MCH SLIDER – max 750px height, overlay L->R, no inner frame
   ========================================================= */

.ps-mch-hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--ps-mch-text);
  background: #0b1220;
}

/* =========================================================
   WPBakery/VC: .vc_column-inner potrafi dorzucać boczne paddingi.
   Ten hero ma być zawsze full width, więc robimy bezpieczny breakout.
   ========================================================= */
.ps-mch-hero{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ps-mch-hero--750{
  min-height: 520px;
  max-height: 750px;
  height: min(750px, 92svh);
}

.ps-mch-hero__slides,
.ps-mch-hero__slide{
  position: absolute;
  inset: 0;
}

.ps-mch-hero__slide{
  opacity: 0;

  /* parallax steruje tylko pozycją tła, nie przesuwa kontenera */
  --ps-mch-parallax: 50%;
  background-position: center var(--ps-mch-parallax);

  transition: opacity 600ms ease;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: opacity, background-position;
}

.ps-mch-hero__slide.is-active{
  opacity: 1;
}

.ps-mch-hero__slide{
  --ps-mch-parallax: 50%;
  background-position: center var(--ps-mch-parallax);
}

/* overlay: mocny z lewej, wygasza się do zera na prawej */
.ps-mch-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6,12,22,.88) 0%,
    rgba(6,12,22,.72) 22%,
    rgba(6,12,22,.42) 44%,
    rgba(6,12,22,.18) 62%,
    rgba(6,12,22,0)   78%,
    rgba(6,12,22,0)   100%
  );
}

.ps-mch-hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-items: center;
  padding: clamp(18px, 3.5vw, 56px);
}

/* content block bez ramki */
.ps-mch-hero__inner{
  max-width: 720px;

  /* mocniejsze wcięcie na desktop */
  margin-left: clamp(34px, 14vw, 220px);
}

.ps-mch-hero__kicker{
  margin: 0 0 10px 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ps-mch-hero__title{
  margin: 0 0 10px 0;
  font-family: Teko, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  line-height: .95;
  font-size: clamp(44px, 5.6vw, 84px);
}

.ps-mch-hero__subtitle{
  margin: 0 0 18px 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  opacity: .92;
  max-width: 60ch;
}

.ps-mch-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* buttons */
.ps-mch-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.ps-mch-btn:focus-visible{
  outline: 3px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}

.ps-mch-btn--primary{
  background: var(--ps-mch-accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(221,41,27,.22);
}

.ps-mch-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.ps-mch-btn:hover{
  transform: translateY(-1px);
}

.ps-mch-btn--primary:hover{
  background: #c82418;
  box-shadow: 0 18px 40px rgba(221,41,27,.30);
}

.ps-mch-btn--ghost:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.34);
}

/* MOBILE – większe napisy, mniej wcięcia */
@media (max-width: 680px){
  .ps-mch-hero--750{
    min-height: 460px;
    height: min(750px, 88svh);
  }

  .ps-mch-hero__inner{
    margin-left: 0;
    max-width: 96%;
  }

  .ps-mch-hero__title{
    font-size: clamp(48px, 10.5vw, 66px);
  }

  .ps-mch-hero__subtitle{
    font-size: 16px;
    line-height: 1.65;
  }

  .ps-mch-btn{
    font-size: 15px;
    padding: 12px 18px;
  }
}

/* WCAG: reduced motion */
@media (prefers-reduced-motion: reduce){
  .ps-mch-hero__slide{
    transition: none !important;
    transform: none !important;
  }
  .ps-mch-btn{
    transition: none !important;
  }
}
