.kompro-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* wysokość będzie ustawiana JS-em: */
  height: calc(100vh - var(--header-height));
}

/* kontener na tytuł i podtytuł */
.kompro-slide-content {
  max-width: 56%;
  text-align: left;
  color: #fff;
  z-index: 5;
}
  
.kompro-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
  display: flex;            /* <<< */
  align-items: center;      /* <<< pionowe centrowanie */
  justify-content: center;  /* <<< poziome centrowanie (opcjonalnie) */
}
  
  .kompro-slide.active {
    opacity: 1;
    z-index: 1;
  }
  
.kompro-button {
  font: var(--header-small);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: var(--white);
  background: linear-gradient(180deg,
    #0E2E77 0%,
    #0A74B9 60%,
    #0E2E77 100%
  );
  border: none;
  /* początkowy border-radius */
  border-radius: 20px 36px 24px 40px;
  padding: 1.6rem 4.2rem;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 3;
  background-size: 100% 200%;
  background-position: center top;
  /* dodajemy transition dla obu właściwości */
  transition: 
    background-position 0.4s ease,
    border-radius 0.4s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.kompro-button:hover {
  /* gradient dalej przesuwa się pionowo */
  background-position: center bottom;
  /* swap border-radius */
  border-radius: 40px 32px 40px 32px;
}

.kompro-button * {
  position: relative;
  z-index: 2;
}

.kompro-button:focus,
.kompro-button:active {
  outline: none;
  box-shadow: none;
}

a.kompro-button,
a.kompro-button * {
  color: var(--white);
}

.kompro-button i {
  margin-left: 0.8rem;
}
  
  .slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
  }

  .kompro-prev,
  .kompro-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease, color 0.3s ease;
  }
  
  .kompro-prev {
    left: 2rem;
  }
  
  .kompro-next {
    right: 2rem;
  }
  
  .kompro-prev:hover,
  .kompro-next:hover {
    background: var(--white);
    color: var(--navy);
  }