.o-nas {
    height: 100vh;
}

.o-nas h2.title-section {
    width: 90%;
    margin-bottom: 15%;
    padding-top: 6%;
}




.o-nas h3 {
    text-align: right;
}

.o-nas-opis {
    font-size: 2.4rem;
    width: 50%;
    line-height: 130%;
    font-weight: 200;
}


.o-nas .col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.liczby {
    height: 100vh;
    justify-content: center;
}

.liczby h2.title-section {
    font-size: 6.4rem;
    font-weight: 300;
    width: 35%;
    margin-top: 2rem;
}

.liczby-cert-row .liczba {
    font-size: 17.8rem;
    color: var(--green);
    font-weight: 400;
}
.liczby-cert-row .tytul {
    font-size: 2.4rem;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 700;
}
.liczby-cert-row .opis {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 150%;
    margin-top: 4%;
    width: 94%;
}

.liczby-cert-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.row.liczby-cert-row {
    margin-top: 4%;
}

.o-nas {
    place-content: center;
}

.kula-images img {
    max-height: 120px;
}

section.full.kula {
    display: flex;
    justify-content: flex-end;
    height: 1291px;
    margin-top: 8%;
    max-width: 1920px;
    margin-inline: auto;
}
.kula h2.title-section {
    float: right;
    color: var(--white);
    width: 45%;
    text-align: right;
}
.kula-images {
    float: right;
}
.kula .container.opakowane {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.full.kula::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 30%,
    rgba(0,0,0,1) 100%
  );
}

.wartosci h3.tytul-h3 {
    float: right;
}
.nasze-wartosci-row img {
    max-width: 100%; /* obrazek nigdy nie przekroczy szerokości rodzica */
    height: auto; /* proporcjonalne skalowanie */
    display: block; /* usuwa ewentualne odstępy pod obrazkiem */
}
.nasze-wartosci-row .tytul {
    color: var(--orange);
    font-size: 4rem;
    font-weight: 600;
}
.nasze-wartosci-row .opis {
    font-size: 2.4rem;
    line-height: 150%;
    font-weight: 300;
}
.nasze-wartosci-row .col-md-6 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 48%;
}
.col-md-6 {
    padding: 0px;
}
.row.nasze-wartosci-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 48px;
}
.wartosci .btn-primary {
    margin-left: auto;
}


.logotypes-carousel .row {
    display: flex;
    overflow: auto;
    width: 100%;
    align-content: center;
    align-items: center;
}
/* Styl dla karuzeli mobilnej */
.carousel.d-mobile {
  display: flex;
  overflow-x: auto;            /* przewijanie w poziomie */
  -webkit-overflow-scrolling: touch; /* płynne przewijanie na iOS */
  padding-left: 10px;          /* trochę odstępu od lewej */
  gap: 10px;                   /* odstępy między logami */
  scroll-snap-type: x mandatory; /* snapowanie do elementów */
  scrollbar-width: none;       /* ukrywa pasek scroll (Firefox) */
}

/* Ukrywa pasek przewijania w WebKit (Chrome, Safari) */
.carousel.d-mobile::-webkit-scrollbar {
  display: none;
}

/* Pojedynczy Slide - każdy logo zajmuje 40% szerokości kontenera */
.carousel-slide {
  flex: 0 0 40%;               /* stała szerokość (ok. 2.5 loga widoczne) */
  scroll-snap-align: start;    /* do snapowania */
  box-sizing: border-box;
}

/* Obrazki w logo zawsze zajmują 100% width elementu i są responsywne */
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;          /* opcjonalnie zaokrąglenie */
  object-fit: contain;         /* dopasowanie obrazka */
}


.nasze-wartosci-row .opis {
    width: 80%;
}

.tresci {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.o-nas .row {
    height: 82%;
}
.overlay-img {
    position: absolute;
    top: 15vh;
    right: 0;
    width: auto;
    height: 75%;
    object-fit: cover;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.7;
    display: none;
}

.full img.scroll-frames {
    position: absolute;
    top: 20vh;
    left: 35vw;
    width: 70vw;
    opacity: 1;
    object-position: 128px 12px;
    transform: scale();
}

.wartosci h2.title-section {
    padding-top: 6%;
}
section.full.liczby.grey-bg {
    height: 100vh;
    display: flex;
    justify-content: flex-start;
}
.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;
}
.wartosci .opis {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.row.d-desktop {
  display: flex;
  will-change: transform;
  /* zabezpiecz przed zawijaniem wiersza */
  white-space: nowrap;
}

.logotypes-carousel {
  overflow: hidden;
}
.logotypes-carousel .row.d-desktop {
    width: 300%;
    overflow: hidden;
}
.logotypes-carousel .row.d-desktop .col-2 {
    flex: 0 0 6.666667%;
}
.row.nasze-wartosci-row {
    opacity: 0.5;
    transition: 0.3s;
    height: auto;
}
.row.nasze-wartosci-row:hover {
    opacity: 1;
    transition: 0.3s;
}

.fotka {
  position: relative;
}

.default-image,
.hover-image {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

.hover-image {
  top: 0;
  left: 0;
  opacity: 0;
}

.row.nasze-wartosci-row:hover .default-image {
  opacity: 0;
  transition: 0.3s;
}
.row.nasze-wartosci-row:hover .hover-image {
  opacity: 1;
  transition: 0.3s;
}
.row.nasze-wartosci-row .col-6 {
    padding: 0;
}
.logotypes-carousel {
  overflow: hidden; /* ukrywa elementy poza widokiem */
}

.row.d-desktop {
  display: flex;
  flex-wrap: nowrap; /* nie zawijamy w dół, tylko w jednej linii */
  will-change: transform;
}

.row.d-desktop > .col-2 {
  flex: 0 0 auto; /* szerokość sztywna – bez rozciągania */
}


.kula {
  position: relative;
}

.map-points {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  width: 1920px;
  height: 1291px;
}

svg.map-lines {
    z-index: 1;
}

.map-point {
    position: absolute;
    height: 49px;
    width: 36px;
    background: url(../assets/point.png);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


.map-line path {
  stroke: #FB6107;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease-out;
}
.map-line.animate path {
  stroke-dashoffset: 0;
}

.map-path {
  stroke: #FB6107;
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 1000; 
  stroke-dashoffset: 1000;
}

.map-lines {
  position: absolute; 
  top: 0; 
  left: 0; 
    width: 1920px;
    height: 1291px;
  pointer-events: none;
}

.map-path {
  fill: none;
  stroke: #FB6107;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 0 10; /* same przerwy, ale z round cap dają kropki */
}

#zapytaj-o-wycene span.wpcf7-list-item-label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 1;
    font-size: 1.4rem;
    width: 90%;
}

#zapytaj-o-wycene span.wpcf7-list-item label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#zapytaj-o-wycene span.wpcf7-list-item input {
    width: 16px;
    accent-color: #fb6107;
    margin-right: 10px;
}

#zapytaj-o-wycene .form-row p {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-between;
}

#zapytaj-o-wycene textarea {
    height: 240px;
}



.kula::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.1; 
  pointer-events: none;
  z-index: 1;
}

.kula-images img.tuv {
    transform: scale(.85);
}

.nadkula {
    width: 100vw;
}







@media (max-width: 1366px) {
.o-nas {
    height: 56vh;
}
section.full.liczby.grey-bg {
    height: 68vh;
}

.logotypes-carousel .row.d-desktop .col-2 {
    flex: 0 0 10%;
}

.full img.scroll-frames {
    top: 10vh;
    width: 70vw;
}

.map-point {
    height: 29.4px;
    width: 21.6px;
    background-size: contain;
}


}



@media (min-width: 768px) {
  .row.d-desktop {
    display: flex;  
  }
}



@media (max-width: 1025px) {
  .full .bg-video {
    position: absolute;
    top: 40vw;
    left: 30vw;
    width: 100vw;
    height: 28%;
    object-fit: cover;
    opacity: 1;
    transform: scale(0.8);
}
.overlay-img {
    position: absolute;
    top: 40vw;
    right: 0;
    width: auto;
    height: 60%;
    object-fit: cover;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.7;
}
.o-nas h3 {
    text-align: right;
    width: 15%;
}
.o-nas .row {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 2%;
    align-content: space-between;
}

.o-nas-opis {
    width: 80%;
}

.o-nas {
    height: 65vh;
}
.col-md-6.pierwsza {
    width: 85%;
}
.col-md-6.druga {
    width: 15%;
}
    .o-nas h3 {
        text-align: right;
        width: 100%;
    }
    .overlay-img {
    top: 20vw;
    height: 60%;
}
.full .bg-video {
    top: 16vw;
    left: 33vw;
    width: 100vw;
    height: 45%;
    opacity: 1;
}
.liczby h2.title-section, .wartosci h2.title-section {
    font-size: 4.2rem;
}
.liczby h2.title-section {
    width: 48%;
}
.liczby-cert-row .liczba {
    font-size: 4.8rem;
}
.liczby-cert-row .tytul {
    font-size: 1.8rem;
}

.liczby-cert-row .opis {
        font-size: 1.8rem;
        margin-top: 0%;
        line-height: 1.2;
}

section.full.liczby.grey-bg {
    height: 60vh;
}
.kula {
    background-image: url(https://alfafoodgroup.pl/wp-content/themes/blankslate/assets/image-48.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

section.full.kula {
    height: 774px;
    width: 1152px;
}

.nadkula {
    max-width: 1152px;
    overflow: hidden;
}

.full.kula::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 1) 150%);
}
.kula h2.title-section {
    width: 60%;
}
.row.nasze-wartosci-row {
    flex-direction: row-reverse;
    gap: 0px;
    width: 100%;
}
.row.nasze-wartosci-row .fotka {
    align-self: self-end;
}
.fotka img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.col-6.col-md-9.opis {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0px;
}
.opakowane .full {
    gap: 50px;
}
    section.full.liczby.grey-bg {
        height: 85vh;
    }
    .kula h2.title-section {
        width: 70%;
    }
.kula-images img {
    width: 100px;
}    
.row.nasze-wartosci-row {
    opacity: 1;
    /*height: 30vh;*/
}
.nasze-wartosci-row .opis {
    font-size: 1.8rem;
}
.logotypes-carousel .row.d-desktop .col-2 {
    flex: 0 0 15%;
}
.logotypes-carousel .row.d-desktop {
    width: 250%;
}

.full img.scroll-frames {
    top: 15vh;
    width: 90vw;
    left: 20vw;
}

.map-points, .map-lines {
    width: 1152px;
}

.map-points {
    height: 774px;
    width: 1152px;
}

svg.map-lines {
    z-index: 1;
    height: 774px;
    width: 1152px;
}

.liczby {
    height: fit-content;
}

    .kula .container.opakowane {
        position: absolute;
        bottom: 0;
        left: 0;
        width: fit-content;
    }

}

/* Na urządzeniach mobilnych (poniżej 768px) pokazujemy wersję mobilną, ukrywamy desktop */
@media (max-width: 767px) {
  .carousel.d-mobile {
    display: flex;   /* bo w mobilnej karuzeli dałem flex */
    align-items: center;
  }
  .o-nas-opis {
    font-size: 1.4rem;
  }
    .liczby h2.title-section {
        font-size: 2.4rem;
        width: 60%;
    }
  .liczby-cert-row .liczba {
    font-size: 5.6rem;
}

.liczby-cert-row .tytul, .liczby-cert-row .opis {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.liczby-cert-row .opis {
    width: 100%;
}
.liczby-cert-col {
    gap: 6px;
}
.row.liczby-cert-row {
    gap: 50px;
}
section.full.liczby.grey-bg {
    justify-content: center;
}
.row.nasze-wartosci-row {
    flex-direction: row-reverse;
}
.nasze-wartosci-row .tytul {
    font-size: 2rem;
}
.nasze-wartosci-row .opis {
    font-size: 1.2rem;
}
.nasze-wartosci-row img {
    max-width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
}
.kula {
    height: 60vh;
}
.o-nas .row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-content: center;
        align-items: flex-end;
    }
.nasze-wartosci-row .opis {
    width: 100%;
}

.d-desktop {
    display: none;
  }
  .d-mobile {
    display: block;
    padding: 10px 0;
  }

  .mobile-logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-logo img {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
    .kula {
    background-image: url(https://alfafoodgroup.pl/wp-content/themes/blankslate/assets/image-48.png);
    background-size: contain;
    background-repeat: no-repeat;
}
    .nasze-wartosci-row img {
        max-width: 90px;
        height: 90px;
    }
    .wartosci .nglw {
    flex-direction: column-reverse;
    padding: 2%;
}
    .opakowane .full {
        gap: 16px;
    }
    .wartosci h2.title-section {
    width: 70%;
}
.logotypes-carousel .row.d-desktop {
        width: 340%;
    }
.logotypes-carousel .row.d-desktop .col-2 {
    flex: 0 0 14%;
}
.logotypes-carousel .col-2 {
    transform: scale(0.9);
}

.row.nasze-wartosci-row {
    height: 25vh;
    gap: 1rem;
    display: flex;
    flex-direction: row;
}

.liczby h2.title-section, .wartosci h2.title-section {
        font-size: 2.4rem;
    }

    .overlay-img {
        height: 40%;
    }

    .full img.scroll-frames {
        top: 20vh;
        width: 100vw;
        left: 0;
        object-position: 100px 10px;
    }

    .o-nas-opis {
        width: 100%;
    }


    .map-point {
        height: 20.58px;
        width: 15.12px;
    }



    .map-points {
        height: 516px;
        width: 768px;
    }

    svg.map-lines {
        height: 516px;
        width: 768px;
    }

    .o-nas h2.title-section {
        padding-top: 15%;
    }

    .o-nas {
        height: 70vh;
    }

    .overlay-img {
        top: 30vw;
    }

    .kula-images img {
        width: 75px;
    }

    #zapytaj-o-wycene span.wpcf7-list-item-label {
        font-size: 1rem;
    }

    section.full.kula {
        height: 516px;
        width: 768px;
        transform: translateX(-100px);
    }

    .nadkula {
    max-width: 768px;
    overflow: hidden;
}

    .kula h2.title-section {
        width: 100%;
    }

    .kula .container.opakowane {
        max-width: 390px;
        margin-left: 100px;
    }

    .full {
        min-height: 1px;
    }

    .kula-images.fade-in.delay {
        opacity: 1;
        transform: none;
        margin-top: 0!important;
    }

    .col-6.col-md-9.opis {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 0px;
        width: 60%;
        flex: 0 0 60%;
    }

    .row.nasze-wartosci-row .fotka {
        width: 35%;
        flex: 0 0 35%;
    }

    .nasze-wartosci-row img {
        max-width: 125px;
        height: 100px;
    }

}

