.sekcja-group.d-flex {
    width: 40%;
}

section.sekcja-pierwsza_sekcja, section.sekcja-druga_sekcja, section.sekcja-trzecia_sekcja, section.sekcja-czwarta_sekcja {
    place-items: anchor-center;
}

.sekcja-number {
    text-align: right;
    font-size: 17.8rem;
    width: 14%;
    align-self: center;
    margin-top: -184px;
}
.sekcja-tresc {
    align-self: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4%;
}
.sekcja-tresc .tytul-h3 {
    padding: 0;
}

.sekcja-tresc .sekcja-tytul {
    font-size: 4rem;
    font-weight: 600;
    padding-bottom: 32px;
    padding-top: 32px;
}
.sekcja-group.d-flex {
    width: 44%;
}


.gwarancja-opis p {
    font-size: 2.4rem;
    width: 60%;
}

.gwarancja h2.title-section {
    width: 80%;
}

img.zdj_1 {
    width: 270px;
}
img.zdj_2 {
    width: 420px;
}
img.zdj_3 {
    width: 415px;
}
/* Kontener sekcji - flexbox z trzema kolumnami */
.sekcja-group {
  display: flex;
  gap: 40px;
  align-items: flex-start; /* wyrównanie zawartości do góry */
}

/* 1 kolumna - dwa obrazki ułożone pionowo */
.sekcja-images-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 25%;
    height: 100vh;
    justify-content: space-between;
}

/* 2 kolumna - treść sekcji */
.sekcja-tresc {
  flex: 1;
  min-width: 0; /* pomaga przy text truncation w flex */
}

/* 3 kolumna - pojedynczy obrazek */
.sekcja-image-right {
  flex: 0 0 25%;
  display: flex;
  align-items: flex-start;
}

/* Stylowanie obrazków z przypisanymi klasami */
.zdj_1, .zdj_2, .zdj_3 {
  max-width: 100%;
  height: auto;
  display: block;
}

.cztery-sekcje {
    display: flex;
    flex-direction: column;
    gap: 200px;
}

.sekcja-liczba {
    font-size: 17.8rem;
    width: 12%;
    align-content: flex-end;
    padding-bottom: 26rem;
}
.sekcja-tresc-container {
    display: flex;
    gap: 2rem;
}
.col-md-6.col-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*height: 80vh;*/
    gap: 3rem;
}
.gwarancja h3.tytul-h3 {
    text-align: right;
    padding: 0;
}
.gwarancja {
    background-image: url(https://alfafoodgroup.pl/wp-content/uploads/2025/09/truckpng-123.png);
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: right top 0vh;
    padding-top: 14rem;
}
.gwarancja-opis {
    padding-top: 18rem;
}
.gwarancja-logos {
    display: flex;
    gap: 42px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 82%;
}
.gwarancja .row {
    margin-bottom: 4rem;
}
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 30%;
}

.logo-text {
    margin-top: 8px;
    font-size: 2.4rem;
    color: var(--orange);
    text-align: center;
    font-weight: 200;
    text-transform: uppercase;
}

.logotypes-carousel {
    width: 100%;
    padding-bottom: 5%;
    display: none;
}

h2.title-section.title-logo.opakowane.fade-in.visible {
    display: none;
}

.logotypes-carousel .col-2 {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50px 50px; /* stały rozmiar SVG w tle */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logotypes-carousel img {
    width: auto;
    height: 85px;
    filter: grayscale(100%);
}
.d-desktop {
  display: flex;
  flex-wrap: wrap;
}
.sekcja-logo {
    width: 100%;
    display: flex;
    flex-direction: column;
}
h2.title-section.title-logo {
    text-align: right;
    width: 100%;
}


.cztery-sekcje {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* lewa – środek – prawa */
  gap: 20px;
  align-items: start;
}

.kolumna-lewa,
.kolumna-prawa {
  position: sticky;
  top: 20px;
  align-self: start;
  height: fit-content;
}

.sekcja-images-left img,
.sekcja-image-right img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

.kolumna-tresc {
  display: flex;
  flex-direction: column;
  gap: 100px; 
}

.cztery-sekcje {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 60px;
}

.kolumna-lewa,
.kolumna-prawa {
  position: sticky;
  top: 20px;
  align-self: start;
  height: 100vh;
}

.kolumna-lewa img,
.kolumna-prawa img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
}

.kolumna-tresc {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.sekcja-liczba {
    font-weight: 400;
    margin-bottom: 10px;
    padding-left: 16px;
}

.sekcja-naglowek {
  margin-bottom: 8px;
}

.sekcja-opis {
  line-height: 1.5;
}

img.zdj_1.fade-in.visible {
    width: 300px;
    height: 300px;
    object-fit: cover;
}
img.zdj_2.fade-in.visible {
    width: 450px;
    height: 280px;
    object-fit: cover;
}
img.zdj_3.fade-in.visible {
    width: 350px;
    height: 550px;
    object-fit: cover;
}
.kolumna-prawa.sekcja-image-right {
    justify-content: right;
}

.logo-wrapper img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}



/* -------------------------------- oferta ------------------------------ */
.oferta-1 img {
    width: 90%;
}
.oferta-1 {
    height: 80vh;
    display: flex;
    align-content: center;
    align-items: center;
}
.oferta .overlay-img {
    position: absolute;
    top: 0;
    width: auto;
    height: 90%;
    object-fit: cover;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.4;
    left: -110px;
}
.oferta-1 .two-columns {
    display: flex;
    gap: 32px;
    flex-direction: row;
    flex-wrap: wrap;
}
.oferta-1 .col-6 {
    flex: 0 0 48%;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 48%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.two-columns p {
    font-size: 2.4rem;
    width: 80%;
}
.flota h2 {
    width: 40%;
}
.three-columns {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}
.three-columns .col-4 {
    width: 98%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
}
.tytul-flota h3 {
    font-size: 4rem;
    color: var(--orange);
    font-weight: 600;
}
.tytul-flota {
    width: 25%;
}
.img-flota {
    width: 35%;
}
.opis-flota {
    width: 40%;
}
.opis-flota p {
    font-size: 2.4rem;
}
.three-columns .col-4 {
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.flota h2 {
    width: 40%;
    margin-bottom: 6rem;
}
.two-columns h3.tytul-h3 {
    padding-top: 0px;
    text-align: right;
}
.two-columns .col-6 {
    display: flex;
    flex-direction: column;
    align-content: space-between;
    align-items: stretch;
    justify-content: space-between;
}
.two-columns {
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col-5.foto {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 74vh;
}
.foto img {
    width: 100%;
}
.two-columns.first strong {
    background-color: var(--orange);
    color: white;
}
.two-columns.second strong {
    background-color: var(--green);
    color: white;
}
img.full-image {
    width: 100%;
}
.first {
    height: 90vh;
    padding-top: 5%;
}
.second h2.title-section {
    font-size: 6.4rem;
    font-weight: 300;
    width: 80%;
}
.col-5.green-text p {
    width: 100%;
}
/* -------------------------------- oferta end ------------------------------- */
.mobileee {
    display: none;
}
.komputer {
    display: grid;
}

.gwarancja .sekcja-logo, .flota .sekcja-logo {
    margin-top: 20rem;
}

@media (min-width: 2000px) {
.gwarancja {
    background-size: 35%;
    background-position: right top -0vh;
}
.gwarancja .row {
    margin-bottom: 20rem;
}
.gwarancja .row {
    margin-bottom: 10rem;
}
.logotypes-carousel {
    width: 145%;
    padding-bottom: 5%;
    margin-left: -25%;
}
}

@media (max-width: 1380px) {

.gwarancja {
    background-size: 50%;
}

.img-flota {
    width: 40%;
}

.opis-flota {
    width: 35%;
}

}


@media (max-width: 1025px) {
.sekcja-group {
    display: flex;
    gap: 0px;
    align-items: flex-start;
    justify-content: space-between;
    align-content: space-between;
}
.sekcja-images-left, .sekcja-tresc {
        height: 100vh;
    }
.sekcja-images-left, .sekcja-image-right {
flex: 0 0 20%;
}
.sekcja-tresc .sekcja-tytul {
    font-size: 2.4rem;
    padding-bottom: 16px;
    padding-top: 16px;
}
.sekcja-tresc-container {
    gap: 16px;
    padding-left: 2%;
    padding-right: 2%;
}
.gwarancja {
    background-position: right top 0vh;
}
    .gwarancja h2.title-section {
        width: 75%;
        text-align: left;
    }
.gwarancja-opis p {
    width: 80%;
}

.gwarancja h3.tytul-h3.fade-in.delay.visible {
    display: none;
}

.logo-wrapper {
    width: 45%;
}
.sekcja-liczba {
        font-size: 8.8rem;
        padding-bottom: 28rem;
        width: 18%;
    }
.oferta-1 .col-6 {
        flex-basis: 100%;
        display: flex;
        align-items: flex-end;
    }
 .oferta-1 img {
    width: 70%;
}   
.oferta .overlay-img {
    height: 57%;
    left: -80px;
}
.two-columns p {
    width: 100%;
}
.flota h2 {
    width: 60%;
}
.three-columns .col-4 {
    width: 100%;
    flex-direction: column;
    gap: 32px;
}
.tytul-flota, .opis-flota {
    width: 100%;
}
.three-columns {
    flex-direction: row;
}
.two-columns.first {
    gap: 0px;
    flex-wrap: nowrap;
}
.col-5.foto {
    height: 60vh;
}
.first {
    height: 65vh;
}
.foto img {
    width: 88%;
}
.second h2.title-section {
    font-size: 4.2rem;
}
.two-columns.second {
    flex-direction: column;
}
img.zdj_1.fade-in.visible {
    width: 100%;
    height: 250px;
}
img.zdj_2.fade-in.visible {
    width: 270px;
    height: 180px;
}
img.zdj_3.fade-in.visible {
        width: 100%;
        height: 400px;
}

.gwarancja .col-6 {
    flex: 0 0 100%;
}
}




/* Responsywność: na ekrany do 767px układ staje się jednokolumnowy */
@media (max-width: 767px) {
  .sekcja-group {
    flex-direction: column;
  }
  .sekcja-images-left,
  .sekcja-image-right {
    flex: none;
    width: 100%;
    margin-bottom: 16px;
  }
  .sekcja-tresc {
    width: 100%;
  }
  .sekcja-liczba {
    width: 20%;
  }
  .header-text-container h1 {
    font-size: 2.8rem;
}
img.zdj_2 {
    display: none;
}
.sekcja-images-left, .sekcja-tresc {
        height: auto;
    }
   img.zdj_1 {
    width: 150px;
    height: 150px;
    object-fit: cover;
} 
img.zdj_3 {
    width: 200px;
    height: 120px;
    object-fit: cover;
}
.sekcja-image-right {
    justify-content: flex-end;
}
.sekcja-liczba {
        font-size: 5.8rem;
        align-content: flex-start;
        padding-top: 4rem;
    }
.gwarancja-opis p {
        width: 100%;
        font-size: 1.4rem;
    }
img.one, img.two {
    width: 100%;
}
.logo-text {
    font-size: 1.4rem;    
}

.gwarancja {
    background-size: 75%;
    padding-top: 3rem;
    background-position: right top 5vh;
}

.opakowane.oferta-1 p {
    font-size: 1.4rem;
}
.oferta-1 {
    height: 90vh;
}
.oferta .overlay-img {
        height: 43%;
        left: -60px;
    }
    .tytul-flota h3 {
    font-size: 2.4rem;
    }
   .img-flota img {
    width: 100%;
} 
.img-flota {
    width: 100%;
}
.opis-flota p {
    font-size: 1.4rem;
}
.three-columns {
    flex-direction: row;
    gap: 4rem;
    overflow-y: hidden;
}
.three-columns .col-4 {
    border-top: 0px solid var(--green);
    border-bottom: 0px solid var(--green);
    padding-top: 0rem;
    padding-bottom: 0rem;
    border-left: 1px solid var(--green);
    border-right: 1px solid var(--green);
    padding-left: 4%;
    padding-right: 4%;
}
.flota h2 {
    margin-bottom: 2rem;
}
.two-columns p {
        width: 100%;
        font-size: 1.4rem;
    }
 .col-5.foto.col-md-4 img {
    display: none;
}   
.col-5.foto {
        height: 2vh;
    }
    .two-columns.first {
    flex-direction: column-reverse;
}
.first .col-6.tekst.col-md-8 {
    width: 100%;
}
.col-5.foto {
        width: 100%;
    }
    .col-5.foto {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 4%;
}
.first .col-6.tekst.col-md-8 {
        gap: 16px;
    }
.first {
        height: 46vh;
    }    
.second h2.title-section {
        font-size: 2.4rem;
        width: 100%;
    } 
.second .col-md-12 {
    width: 100%;
}       
  img.zdj_3.fade-in.visible {
    object-fit: cover;
    height: auto;
}
.cztery-sekcje {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}
.kolumna-tresc {
    width: 70%;
}
.kolumna-prawa.sekcja-image-right {
    width: 25%;
}
.cztery-sekcje {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }
    .kolumna-prawa.sekcja-image-right {
        width: 100%;
        height: auto;
    }

    img.zdj_3.fade-in.visible {
        object-fit: cover;
        height: 200px;
        width: 200px;
    }
    .kolumna-tresc {
        width: 100%;
    }
    .sekcja-liczba {
        font-size: 10.8rem;
        padding-bottom: 24rem;
        width: 20%;
    }
      .mobileee {
        display: flex;
        flex-direction: column;
    }
.komputer {
    display: none;

}.kolumna-lewa,
.kolumna-prawa {
  position: relative;

}
section.full.black-bg {
    gap: 32px;
}

.cztery-sekcje.mobileee h3.sekcja-naglowek.tytul-h3 {
    font-size: 1.2rem;
}

.gwarancja-opis {
    padding-top: 30rem;
}

.gwarancja-logos {
    margin-top: 2rem;
    gap: 2rem;
}

.gwarancja .sekcja-logo, .flota .sekcja-logo {
    margin-top: 10rem;
}

.flota h2 {
    width: 100%;
}

.gwarancja .row {
    flex-direction: column-reverse;
}
.sekcja-logo .row {
    flex-direction: row;
}

.gwarancja .col-sm-3 {
    width: 100%;
}

.gwarancja h3.tytul-h3 {
    text-align: left;
}

.gwarancja .col-sm-9 {
    width: 100%;
}

.logo-wrapper img {
    height: 100px;
}

.gwarancja-logos {
    width: 90%;
}

}