/* =======================
HOME SLIDER
======================= */

.home-slider {
    width: 100%;
    height: 850px;
    position: relative;
    overflow: hidden;
}

/* Swiper */

.homeSwiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}

/* fondo dinámico desde SCF */

.swiper-slide {
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
}

/* =======================
LAYOUT 1320
======================= */

.slide-inner {
    max-width: 1440px;
    padding: 0px 0px 0px 140px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* columna izquierda */

.slide-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* =======================
DOTS FIJOS
dentro del cajon 1320
======================= */

.slider-dots-fixed {

    position: absolute;

    left: 52%;
    top: 50%;

    transform: translate(-660px, -50%);
    /* 1320 / 2 */

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 20;
}

/* dots */

.slider-dots-fixed span {

    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.4);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
    display: block;
}

.slider-dots-fixed span.active {

    height: 40px;
    width: 14px;
    background: white;
}

/* =======================
TEXT
======================= */

.slider-text {
    max-width: 420px;
}

.slider-title {
    width: 407px;
    margin-bottom: 20px;
}

.slider-description {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* =======================
BUTTON
======================= */

.slider-btn {
    background: white;
    color: #2f3b7e;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-family: Amifer;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.slider-btn:hover {
    transform: translateY(-3px);
}

/* =======================
IMAGE
======================= */

.slide-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
        padding-bottom: 176px;
}

.slide-image img {
    width: 883px;
    object-fit: contain;
    position: relative;
    bottom: -126px;
}

/*segunda seccion*/
.presentaciones {

    position: relative;
    padding: 0px 0px;
    overflow: visible;
    z-index: 5;
}

/* imagen de olas */

.presentaciones-bg {

    position: absolute;

    top: -162px;
    left: 0;

    width: 100%;
    height: 1050px;

    z-index: 9;
    pointer-events: none;
}

/* contenido */

.presentaciones .container {

    position: relative;
    z-index: 10;
}

.container {
  max-width: 1240px;
  margin: auto;
  padding: 0 0px;
}

/* header */

.presentaciones__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.presentaciones__title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.presentaciones__title img {
  width: 32px;
}

.presentaciones__title h2 {
  font-family: amifer;
  font-size: 32px;
  color: #F3EEE3;
  font-weight: 400;
  margin: 0;
}

/* grid */

.presentaciones__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}



/* card */

.card-producto {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.card-producto__image {
  position: relative;
  height: 403px;
      display: flex;
  justify-content: center;
    align-items: center;
}

.card-producto__image img {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  object-fit: contain;
  transition: .3s ease;
}
.img-main {
  z-index: 3;
  width: 299px;
  height: 403px;
}

.img-hover {
    z-index: 2;
      opacity: 0;
      width: 460px;
    height: 502px;
    margin-top: -61px;

}

.card-producto:hover .img-main {
  transform: rotate(7deg);
  
}

.card-producto:hover .img-hover {
  opacity: 1;
}

.card-producto__title {
  font-family: amifer;
  font-size: 26px;
  text-transform: uppercase;
  color: var(--Color-primary-3);
  margin: 0;
}
.shadow-img {

    position: absolute;

    width: 470px;
    height: 450px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    opacity: 0;

    transition: 0.4s ease;

    pointer-events: none;

    z-index: 1;
}
.card-producto:hover .shadow-img {
    opacity: 1;
}

/* botones */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  text-transform: uppercase;
  font-family: amifer;
  text-decoration: none;
  transition: .3s ease;
}

.btn--primary {
  background: var(--Color-primary-1);
  border: 1px solid var(--Color-secondary-base-1);
  color: var(--Color-secondary-base-1);
  width: 189px;
  justify-self: center;
}

.btn--outline {
  background: #F3EEE3;
  border: 1px solid var(--Color-primary-2);
  color: var(--Color-primary-2);
}

/* =========================
SLIDE ACTIVO
========================= */

.presentacionesSwiper .swiper-slide {

    transition: 0.4s ease;
    /* transform: scale(0.9); */
}


/* card activa */

.presentacionesSwiper .swiper-slide.swiper-slide-active .card-producto .img-main {
    width: 351px;
    height: 474px;
}

/* titulo activo */

.presentacionesSwiper .swiper-slide.swiper-slide-active .card-producto__title {

    font-size: 31px;
    margin-top: 40px;
}

/* boton activo */

.presentacionesSwiper .swiper-slide.swiper-slide-active .btn--primary {

    padding: 15.628px 31.256px;
    font-size: 20.838px;
}

/* permite ver slides laterales */
.presentacionesSwiper {
    overflow: visible !important;
    margin-top: 84px;
}

/* pero corta lo que se salga del contenedor padre */
.presentaciones .container {
    overflow: hidden;
        position: relative;

}

/* =========================
DOTS PRESENTACIONES
========================= */

.presentaciones-dots {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 58px;
}

/* dot normal */

.presentaciones-dots span {

    width: 14px;
    height: 14px;

    background: rgba(255,255,255,0.4);
    border-radius: 50px;

    cursor: pointer;
    transition: 0.3s ease;
}

/* activo */

.presentaciones-dots span.active {

    width: 70px;
    height: 14px;

    background: white;
}
.papitas{
        position: absolute;
    top: -164px;
    left: 44%;
    width: 171px;
    height: auto;
    z-index: 10;
}
.tarta{
     position: absolute;
    bottom: -167px;
    left: 12%;
    width: 291px;
    height: auto;
    z-index: 10;
}

/*Sección Nosotros*/

.title-h,
.title-h-parent {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.title-h-parent {
  width: 1240px;
  padding: 216px 0px 0px 0px;
  margin: 0 auto;
  align-items: flex-start;
  font-size: var(--fs-32);
  color: var(--Color-primary-2);
  font-family: var(--font-amifer);
}
.title-h {
  align-items: center;
  gap: var(--gap-32);
}
.group-div,
.hacemos-snacks-que {
  display: flex;
  box-sizing: border-box;
  position: relative;
}
.hacemos-snacks-que {
  width: 692.1px;
  text-align: center;
  letter-spacing: var(--ls--1);
  line-height: 103%;
  align-items: center;
  justify-content: center;
  padding-left: var(--padding-20);
  padding-right: var(--padding-20);
}
.prefijo {
  font-weight: 900;
}
.group-div {
  width: 1239.9px;
  height: 464.2px;
  align-items: flex-start;
  padding: 91.6px var(--padding-0) 45.6px;
  isolation: isolate;
  gap: 553.9px;
  text-align: left;
  font-size: var(--fs-48);
  color: var(--Color-primary-1);
}
.frame-child5 {
  height: 464.2px;
  width: 564.5px;
  position: absolute;
  margin: 0 !important;
  bottom: 0;
  left: 346px;
  object-fit: cover;
  flex-shrink: 0;
}
.autocomplete {
  width: 346px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-24);
  z-index: 1;
  flex-shrink: 0;
  text-align: left;
  font-size: var(--fs-32);
  color: var(--Color-primary-2);
  font-family: var(--tipografia-secundario);
}
.nosotros3,
.somos-una-empresa {
  align-self: stretch;
  position: relative;
}
.nosotros3 {
  margin: 0;
  font-size: inherit;
  letter-spacing: var(--ls--1);
  line-height: 120%;
  font-weight: 400;
  font-family: inherit;
}
.somos-una-empresa {
  font-size: var(--fs-16);
  letter-spacing: -0.03em;
  line-height: 140%;
  color: var(--color-dimgray);
}
.buttom2 {
  border-radius: var(--br-50);
  background-color: var(--Color-primary-5);
  border: 0.5px solid var(--Color-secondary-base-1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-12) var(--padding-24);
  isolation: isolate;
  gap: var(--gap-8);
}
.frame-wrapper4 {
  flex-direction: column;
  padding: 43.4px var(--padding-0) var(--padding-0);
  flex-shrink: 0;
}
.frame-parent8,
.frame-parent9,
.frame-wrapper4 {
  display: flex;
  align-items: flex-start;
}
.frame-parent8 {
  width: 340px;
  flex-direction: column;
  gap: 48px;
}
.frame-parent9 {
  align-self: stretch;
  gap: var(--gap-24);
}
.statistic-separator-parent {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--gap-8);
}
.statistic-separator {
  margin: 0;
  position: relative;
  font-size: inherit;
  line-height: var(--lh-48);
  font-weight: 500;
  font-family: inherit;
}
.span {
  color: var(--Color-primary-2);
}
.aos-haciendo-snacks {
  align-self: stretch;
  position: relative;
  font-size: var(--fs-16);
  line-height: 100%;
  color: var(--dark-500);
}

/* =========================
SECCION MARCAS
========================= */

.marcas {

    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 80px;
    overflow: hidden;
}

.rectangle-parent {

    width: 1240px;
    height: 617px;
    position: relative;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* fondo naranja */

.fondo-naranja {

    position: absolute;
    width: 100%;
    height: 464px;
    object-fit: contain;
    z-index: 1;
}

.fondo-naranja.responsivo-naranja{
    display: none;
}
/* papitas */


.triangulo {
    position: absolute;
    left: 9px;
    top: 20px;
    width: 191px;
    z-index: 3;
}

/* triangulo */

.papitas2 {

    position: absolute;
    right: -62px;
    top: 29px;
    width: 223px;
    z-index: 3;
}

/* contenido */

.tambin-estamos-en-parent {

    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 34px;
    width: 100%;
}

/* titulo */

.tambin-estamos-en {

    color: white;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
}

/* swiper */

.marcasSwiper {

    width: 100%;
    max-width: 774px;
}

/* grid 12 logos */

.marcas-grid {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px 40px;

    max-width: 900px;
    margin: auto;
}

/* cada item */

.marca-item {

    flex: 0 0 calc(25% - 40px);

    display: flex;
    justify-content: center;
    align-items: center;

    height: 70px;
}

/* logo */
.marca-item img {

    width: auto;
    height: auto;

    max-height: 60px;
    max-width: 100%;

    object-fit: contain;

    transition: 0.3s ease;
}

.marca-item img:hover {
    transform: scale(1.05);
}

/* =========================
DOTS
========================= */

.marcas-dots {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 0px;
}

/* dot normal */

.marcas-dots span {

    width: 14px;
    height: 14px;

    background: rgba(255,255,255,0.4);
    border-radius: 50px;

    cursor: pointer;
    transition: 0.3s ease;
}

/* activo */

.marcas-dots span.active {

    width: 70px;
    height: 14px;
    background: white;
}

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

.blog {

    width: 1240px;
    margin: 0 auto;
    margin-top: -80px;
    padding-bottom: 200px;
}

/* container */

.blog-container {

    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* header */

.blog-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.blog-title {

    max-width: 740px;
    font-weight: 400;
    color: #2A3570;
    font-family: Amifer;
    font-size: 32px;
    line-height: 120%;
}

/* boton */

.blog-btn {

    background: #F36C21;
    color: white;

    padding: 12px 24px;
    border-radius: 50px;

    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    text-transform: uppercase;
}

.blog-btn:hover {

    transform: scale(1.05);
}

/* content */

.blog-content {

    display: flex;
    gap: 110px;
}

/* imagen */

.blog-image img {

    width: 450px;
    height: auto;
    object-fit: cover;
}

/* posts */

.blog-posts {

    width: 680px;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* card */

.blog-card {

    background: #EFE9DF;

    border-radius: 20px;

    display: flex;
    gap: 25px;

    padding: 15px;

    text-decoration: none;
    color: inherit;

    transition: 0.3s;
}

.blog-card:hover {

    transform: translateY(-4px);
}

/* img */

.blog-card-img img {

    width: 330px;
    height: 160px;

    object-fit: cover;
    border-radius: 15px;
}

/* content */

.blog-card-content {

    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

/* categoria */

.blog-category {

    background: #F36C21;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
    text-transform: uppercase;
}

/* title */

.blog-card-title {

    font-size: 20px;
    font-weight: 500;
    color: #1A1718;
}

/* date */

.blog-date {

    color: var(--Color-primary-4, #1A1718);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 120%; 
letter-spacing: 0.28px;
text-transform: uppercase;

}


/* =======================
TABLET
======================= */

@media (max-width:1320px){

    .slider-dots-fixed{

        left: 20px;
        transform: translateY(-50%);
    }
    .slide-inner{
        max-width: 100%;
        padding: 0px 0px 0px 50px;
    }
    .marcas{
        overflow: hidden;
    }

}
@media (max-width:1309px){
    .title-h-parent{
        width: auto;
        padding: 216px 70px 0px 70px;
    }
    .group-div{
        width: 100%;
        justify-content: space-between;
        gap: 0px;
    }
    .frame-parent8{
        width: auto;
    }
    .autocomplete{
        width: 297px;
    }
    .title-h{
            width: 100%;
    }
    .frame-wrapper4{
        width: 335px;
    }
    .frame-child5{
        height: 386.2px;
        width: 462.5px;
        position: absolute;
        margin: 0 !important;
        bottom: 41px;
        left: 328px;
        object-fit: contain;
    }
    .container{
        padding: 0 52px;
    }
    .marcas{
        padding: 0 70px;
        overflow: hidden;
    }
    .blog{
        padding: 0px 70px 173px 70px;
    }
    .blog-image img{
        width: 379px;
    }
    .blog-image{
        display: flex;
    justify-content: center;
    align-items: center;
    }
}
@media (max-width:1240px){
    .container{
        padding: 0 52px;
    }
    .marcas{
        padding: 0 70px;
    }
    .blog{
        width: 100%;
    }
    .frame-child5{
        height: 360.2px;
        width: 423.5px;
        left: 294px;
    }
}

@media (max-width:1210px){

    .slider-title{
            width: 369px;
    }
    .slide-image img{
        width: 100%;
        
    }

}
@media (max-width:1150px){

    
    .blog-image img{
        width: 243px;
    }
    .frame-child5 {
        height: 363.2px;
        width: 378.5px;
        left: 291px;
    }
    .marcas-grid{
        gap: 2px 7px;
    }
    .tambin-estamos-en-parent{
        gap: 15px;
    }

}
@media (max-width:1095px){
    .frame-child5 {
        height: 372.2px;
        width: 342.5px;
        left: 285px;
    }
}
@media (max-width:1063px){
    .frame-child5 {
        height: 372.2px;
        width: 299.5px;
    }
    .statistic-separator{
        font-size: 34px;
    }
    .frame-wrapper4{
        width: 302px;
    }
}
/* =======================
1024
======================= */

@media (max-width:1006px) {

    .slide-inner {
        padding: 0px 0px 0px 40px;
    }

    .slide-image img {
        width: 520px;
    }

    .frame-child5 {
        width: 40%;
        position: relative;
        top: 0;
        left: 0;
    }
    .group-div{
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0px;

    }
    .autocomplete{
        width: 53%;
    }
    .frame-wrapper4{
        width: 100%;
        padding: 0px;
    }
    .frame-parent8{
                width: 100%;
        display: flex;
        flex-direction: row;
    }
    .frame-parent9{
        width: 50%;
    }
    .title-h-parent{
        padding: 216px 40px 0px 40px;
    }
       .marcas {
        padding: 0 40px;
    }
    .blog {
        padding: 0px 40px 173px 40px;
    }

}
@media (max-width:929px) {
     .blog-image{
        display: none;
     }
     .blog-posts{
        width: 100%;
     }
     .blog-title{
        max-width: 79%;
     }
     .triangulo{
        width: 136px;
     }
     .papitas2{
        top: 91px;
    width: 175px;
     }
     .marca-item{
        height: 51px;
     }
     .marca-item img{
        max-height: 47px;
     }

}

@media (max-width:869px) {
        .slider-title {
        width: 300px;
    }
}
/* =======================
768
======================= */

@media (max-width:789px) {
    .slide-inner{
        flex-direction: column;
    }
    .slide-inner{
        justify-content: start;
        align-items: start;
    }
    .rectangle-parent{
        width: 100%;
    }
    .papitas2{
        width: 125px;
    }
    .triangulo{
        top: 43px;
    }
    .marcas-grid{
    max-width: 611px;
    }
    .hacemos-snacks-que{
    width: 100%;
    }
    .slide-image img{
        bottom: 17px;
    }
    .slide-content{
        margin-top: 60px;
        margin-left: 40px;
    }
    
   
}

@media (max-width:768px) {

    .home-slider {
        height: 720px;
    }

    .slide-inner {
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        padding: 40px 64px;
    }

    .slide-content {
        align-items: flex-start;
    }

    .slider-text {
        max-width: 100%;
    }

    .slider-title {
        width: 280px;
    }

    .slide-image {
        width: 100%;
        justify-content: center;
    }

    .slide-image img {
        width: 100%;
        margin-top: -169px;
        max-width: 420px;
    }

    .slider-dots-fixed {
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    .marca-item img{
        height: 33px;
    }
    .marcas-grid{
        max-width: 562px;
    }

}

/* =======================
480
======================= */

@media (max-width:480px) {

    .home-slider {
        height: 760px;
    }
    .slide-inner {
        padding: 66px 0px;
        gap: 50px;
    }
        .slide-content {
        padding: 0px 40px;
        margin-top: -20px;
        margin-left: 5px;
    }
    .slider-description {
        font-size: 16px;
    }
    .slide-image img{
        max-width: 100%;
        margin-top: -46px;
    }
    .slider-description{
        margin-bottom: 14px;
    }
    .slider-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .slider-title {
        width: 298px;
    }

    .slider-dots-fixed {
        left: 15px;
    }
        .slider-dots-fixed {
        top: 33%;
    }
    .slider-dots-fixed span{
        width: 14px;
        height: 14px;
    }
    .slider-dots-fixed span.active{
        width: 14px;
        height: 40px;
        border-radius: 100px;

    }
     .fondo-naranja.responsivo-naranja{
    display: block;
    }
    .fondo-naranja{
        display: none;
    }
    .blog-card{
        flex-direction: column;
    }
    .papitas{
        top: -153px;
        left: 37%;
        width: 126px;
    }
    .presentaciones__header{
            justify-content: center;
    }

    /*blog*/
    .blog-header{
            flex-direction: column;
            
    }
    .blog-title{
        font-size: 32px;
    text-align: center;
    max-width: 100%;

    }
    .blog{
        padding: 0px 20px 173px 20px;
    }
    .blog-card-img img{
        width: 100%;
    }

    /*marcas*/

    .marcas{
      padding: 0 20px;
    }
    .triangulo{
        width: 99px;
        left: 15px;
        top: 22px;
    }
    .papitas2{
        top: 16px;
        right: -12px;
    }
    .marcas-grid{
        gap: 16px 6px;
        max-width: 100%;
    }

    .marca-item{
        flex: 0 0 calc(50% - 10px);
        height: 66px;
    }

    .marca-item img{
        max-height: 66px;
        height: 66px;
    }
    .tambin-estamos-en-parent{
        gap: 34px;
        width: 89%;
    }
    .title-h-parent{
        padding: 252px 20px 0px 20px;
    }
    .hacemos-snacks-que{
        padding: 0px;
        order: 0;
    }
    .group-div{
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }
    .frame-child5{
        width: 100%;
        order: 3;
    }
    .autocomplete{
        width: 100%;
        order: 2;
        margin-bottom: 50px;
    }
    .frame-wrapper4{
        order: 4;
        margin-top: 50px;
    }
    .autocomplete .buton{
        margin: 0px;
    }
    .nosotros3{
        font-size: 20px;
    }
    .frame-parent8{
        flex-direction: column;
    }
    .frame-parent9{
        width: 100%;
    }
    .aos-haciendo-snacks{
        font-size: 16px;
        line-height: 100%; 
    }
    .statistic-separator{
        font-size: 43px;
    }
    .frame-child5{
        height: 285px;
    }
    /*Presetaciones*/
    .presentaciones__header{
        margin-bottom: 0px;
    }
    
.presentacionesSwiper .swiper-slide.swiper-slide-active .card-producto .img-main {
    width: 286px;
    height: 386px;
}

.presentacionesSwiper .swiper-slide.swiper-slide-active .card-producto__title {
    font-size: 25px;
    margin-top: 4px;
}
.presentacionesSwiper .swiper-slide.swiper-slide-active .btn--primary {

    padding: 12px 25px;
    font-size: 17px;
}
.presentacionesSwiper{
    margin-top: 30px;
}
.tarta {
    position: absolute;
    bottom: -189px;
    left: 23%;
    width: 228px;
}
.presentaciones .container {
            padding: 0 12px;
}
.img-hover{
        width: 387px;
    height: 502px;
    margin-top: 16px;
}
.listo-para-ser-container{
    padding-top: 14px;
}
}