/* ========== HERO ========== */
.hero {
  padding: 60px 20px;
  margin: 0 80px 50px 80px;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.hero-left {
  flex: 1 1 400px;
}

.hero-left h1 {
  font-size: 115px;
  font-weight: 900;
  line-height: 50%;
  letter-spacing: 20%;
}

.hero-left h2 {
  font-weight: 600;
  font-size: 24px;
  line-height: 50px;
  letter-spacing: 0%;
  text-align: left;
}

.hero-left p {
  font-weight: 400;
  font-size: 20px;
  line-height: 37px;
  letter-spacing: 0%;
  margin-bottom: 50px;
}

.hero-left h6 {
  font-weight: 500;
  font-size: 1rem;
  margin-top: 1em;
}

.hero-right {
  flex: 1 1 500px;
  text-align: center;
}

.hero-right img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ========== OFERTA GRID ========== */
.oferta {
  margin: 0 80px 50px 80px;
}

.oferta-header {
  margin: 0 30px;
}

.oferta-h {
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0%;
  text-align: center;
}

.oferta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

.oferta-blok {
  flex: 1 1 30%;
  box-sizing: border-box;
  min-width: 280px;
  padding: 30px;
}

.border-safety .oferta-icon {
  background-color: #fff;
}

.oferta-tresc h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0%;
  text-align: left;
}

.oferta-tresc p {
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 2%;
  margin-bottom: 50px;
}

/* ========== BLOG ========== */

.knowledge-dose {
  background-color: #126f8d;
  padding: 40px 0;
  margin-top: 80px;
  margin-bottom: 40px;
}

.container-knowledge-dose {
  max-width: 1900px;
  height: 500px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
}

.text-block {
  width: 40%;
  color: #fff;
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.image-block {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.image-block img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  /* border-top-left-radius: 80px; */
}

.knowledge-shifted {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  color: #fff;
}

.knowledge-shifted-h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
}

.knowledge-shifted p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2%;
}

.knowledge-btn {
  color: #126f8d !important;
  background-color: #fff !important;
  margin-top: 30px;
}

a.knowledge-btn:hover {
  background-color: #137f4c !important;
  color: #fff !important;
}

a.knowledge-btn:active {
  background-color: #f2f2f2 !important;
  color: #0f6c40 !important;
}

a.knowledge-btn:focus {
  outline: 2px solid #137f4c !important;
  outline-offset: 4px !important;
}

/* ========== RESPONSYWNOŚĆ ========== */

@media (max-width: 1024px) {
  /* ========== HERO ========== */
  .hero {
    margin: 0 20px 40px 20px;
    padding: 40px 0;
  }

  .hero-grid {
    flex-direction: column-reverse;
    align-items: center;
    text-align: left;
    gap: 32px;
  }

  .hero-left,
  .hero-right {
    flex: 1 1 100%;
  }

  .hero-right img {
    margin-top: 30px;
  }

  .hero-left h1 {
    font-size: 72px;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .hero-left h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .hero-left p {
    /* font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px; */
  }

  .btn,
  .btn-white {
    display: block;
    width: 40%;
    margin-bottom: 16px;
    text-align: center;
  }

  /* ========== OFERTA ========== */
  .oferta {
    margin: 0 20px 40px 20px;
  }

  .oferta-grid {
    flex-direction: column;
    gap: 32px;
  }

  .oferta-blok {
    padding: 20px;
    text-align: left;
  }

  .oferta-h,
  .oferta-tresc h2 {
    font-size: 25px;
    line-height: 34px;
    text-align: left;
  }

  .oferta-tresc p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .oferta-zdjecie {
    width: 338;
    height: 208;
    opacity: 1;
    border-top-left-radius: 104px;
    border-bottom-right-radius: 74px;
  }

  /* ========== KNOWLEDGE DOSE (BLOG) ========== */
  .container-knowledge-dose {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: auto;
    padding: 32px;
  }

  .knowledge-dose {
    padding: 0;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .image-block,
  .text-block {
    position: static;
    width: 100%;
    transform: none;
  }
  .image-block {
    order: 1;
    text-align: center;
    margin-bottom: 16px;
  }

  .image-block img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .text-block {
    order: 2;
    text-align: left;
  }

  .knowledge-shifted {
    transform: none;
    margin: 16px 0;
    padding: 0;
    text-align: left;
  }

  .knowledge-shifted {
    transform: none;
    margin: 20px 0;
    padding: 0 10px;
  }

  .knowledge-shifted h2 {
    font-size: 25px;
    line-height: 34px;
  }

  .knowledge-shifted p {
    font-size: 14px;
    line-height: 22px;
  }

  .knowledge-btn {
    transform: none !important;
    display: inline-block;
    width: auto;
    margin: 16px auto 0;
    padding: 12px 24px;
  }
}

/* Max 768px – smartfony poziomo / mniejsze tablety */
@media (max-width: 768px) {
  /* ========== HERO ========== */
  .hero {
    margin: 0 20px 40px 20px;
    padding: 40px 0;
  }

  .hero-grid {
    flex-direction: column-reverse;
    align-items: center;
    text-align: left;
    gap: 32px;
  }

  .hero-left,
  .hero-right {
    flex: 1 1 100%;
  }

  .hero-left h1 {
    font-size: 72px;
    margin-bottom: 20px;
  }

  .hero-left h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .hero-left p {
    /* font-size: 18px;
    line-height: 28px;
    margin-bottom: 32px; */
  }

  .btn,
  .btn-white {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
  }

  /* ========== OFERTA ========== */
  .oferta {
    margin: 0 20px 40px 20px;
  }

  .oferta-grid {
    flex-direction: column;
    gap: 32px;
  }

  .oferta-blok {
    padding: 20px;
    text-align: left;
  }

  .oferta-h,
  .oferta-tresc h2 {
    font-size: 25px;
    line-height: 34px;
    text-align: left;
  }

  .oferta-tresc p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .oferta-zdjecie {
    width: 338;
    height: 208;
    opacity: 1;
    border-top-left-radius: 104px;
    border-bottom-right-radius: 74px;
  }

  /* ========== KNOWLEDGE DOSE (BLOG) ========== */
  .container-knowledge-dose {
    flex-direction: column;
    padding: 40px 20px;
    text-align: left;
  }

  .text-block,
  .image-block {
    width: 100%;
  }

  .image-block {
    width: 338px;
    height: 171px;
    opacity: 1;
    border-top-right-radius: 85px;
    border-bottom-left-radius: 63px;
  }

  .knowledge-shifted {
    transform: none;
    margin: 20px 0;
    padding: 0 10px;
  }

  .knowledge-shifted h2 {
    font-size: 25px;
    line-height: 34px;
  }

  .knowledge-shifted p {
    font-size: 14px;
    line-height: 22px;
  }

  .knowledge-btn {
    transform: none !important;
    display: inline-block;
    width: auto;
    margin: 16px auto 0;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  /* ========== HERO ========== */
  .hero {
    margin: 0 16px 0px 16px;
    padding: 32px 0;
  }

  .hero-left h1 {
    text-align: left;
    margin-top: 25px;
  }

  .hero-left h2 {
    margin-bottom: 16px;
    text-align: left;
  }

  .hero-left p {
    text-align: left;
  }

  .btn,
  .btn-white,
  .btn-oferta,
  .knowledge-btn {
    display: block;
    width: 80%;
    text-align: center;
    padding: 12px 20px;
    margin: 0 auto 16px auto !important;
  }

  .hero-right img {
    border-radius: 8px;
  }

  /* ========== OFERTA ========== */
  .oferta {
    margin: 0 16px 0px 16px;
  }

  .oferta-grid {
    gap: 0;
  }

  .oferta-blok {
    padding: 20px;
    text-align: center;
  }

  .oferta-h,
  .oferta-tresc h2 {
    font-size: 28px;
    line-height: 36px;
    text-align: left;
  }

  .oferta-tresc p {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 50px;
    text-align: left;
  }

  /* ========== KNOWLEDGE DOSE ========== */
  .container-knowledge-dose {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: auto;
    padding: 32px;
  }

  .knowledge-dose {
    padding: 0;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .image-block,
  .text-block {
    position: static;
    width: 100%;
    transform: none;
  }
  .image-block {
    order: 1;
    text-align: center;
    margin-bottom: 16px;
  }

  .image-block img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .text-block {
    order: 2;
    text-align: left;
  }

  .knowledge-shifted {
    transform: none;
    margin: 16px 0;
    padding: 0;
    text-align: left;
  }

  .knowledge-shifted-h2 {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .knowledge-shifted {
    font-size: 14px;
    line-height: 22px;
  }

  .knowledge-btn {
    transform: none !important;
    width: 80%;
    padding: 12px;
    margin-top: 30px !important;
  }
}
