/* ===================================
    cover
====================================== */

.cover{

  background-image: linear-gradient(180deg, rgba(236,236,236,0.9) 0%, rgba(236,236,236,0.9) 80%),
                  url("../../assets/img/inicio/cover/inicio-cover-textura.png");
  width: 100%;
  min-height: 500px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.img-carrusel-index{
    width: 90%;
    height: auto;
}

.splide__slide{
  height: 100%!important;
  display: flex;
  justify-content: center;
  align-items: center;
}


.cover .text{
  position: relative;
  left: 0px;
  width:100%;
  z-index: 100;
}

/* ===================================
    Global
====================================== */

.grid-industrias{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "text"
  "card1"
  "img1"
  "card2"
  "img2"
  "card3"
  "img3"
  "card4"
  "img4"
  "card5"
  "img5"
  "card6"
  "img6"
  "card7"
  "img7"
  "card8"
  "img8";
  gap:15px;
}



.text{grid-area: text;}

.card-s1{grid-area: card1;}
.card-s2{grid-area: card2;}
.card-s3{grid-area: card3;}
.card-s4{grid-area: card4;}
.card-s5{grid-area: card5;}
.card-s6{grid-area: card6;}
.card-s7{grid-area: card7;}
.card-s8{grid-area: card8;}

.img-s1{grid-area: img1;}
.img-s2{grid-area: img2;}
.img-s3{grid-area: img3;}
.img-s4{grid-area: img4;}
.img-s5{grid-area: img5;}
.img-s6{grid-area: img6;}
.img-s7{grid-area: img7;}
.img-s8{grid-area: img8;}



.card-industria{
  background: #F7F7F7;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 300px;
}

.card-industria .num {
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.card-industria .num span{
  font-family: 'League Spartan';
  font-weight: 700;
  color: #BA242D;
  margin-bottom: 0px;
  font-size: 70px;
  line-height: 60px;
}

.card-industria .num .icono{
  width: 90px;
  height: 90px;
  position: relative;
}


.card-industria img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===================================
       Call to action
====================================== */


.cover-cta{
  height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
    right: 0px;
    top: 0px;
    z-index: -0;
    display: none;

}

.cover2-cta{
  height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
    right: 0px;
    top: 0px;
    z-index: -0;
    display: none;

}


/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

.grid-industrias{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-areas:
  "text text"
  "card1 img1"
  "card2 img2"
  "card3 img3"
  "card4 img4"
  "card5 img5"
  "card6 img6"
  "card7 img7"
  "card8 img8";
  gap:15px;
}

}
/* md  */ @media (min-width: 768px) {

.grid-industrias{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-areas:
  "text text"
  "card1 img1"
  "card2 img2"
  "card3 img3"
  "card4 img4"
  "card5 img5"
  "card6 img6"
  "card7 img7"
  "card8 img8";
  gap:15px;
}

.cover-cta{
  height: auto;
width: 400px;
right: -105px;
top: -30px;
opacity: 1;
position: absolute;
display: inherit;
}
.cover2-cta{
  height: auto;
width: 280px;
right: 10%;
z-index: 100;
top: 51%;
opacity: 1;
position: absolute;
display: inherit;
}



} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

.grid-industrias{
  grid-template-columns: repeat(4,1fr);
  grid-template-areas:
  "text text text text"
  "card1 img1 card2 img2"
  ". card3 img3 ."
  "card4 img4 card5 img5"
  ". card6 img6 ."
  "card7 img7 card8 img8";
  gap:15px;
}

.cover .text{
  position: absolute;
  left: 0px;
  width:130%;
}


/*Call to action*/
.content-cta{padding: 50px;}
.cover-cta{
  height: auto;
width: 430px;
right: -100px;
top: 20px;
}
.cover2-cta{
  height: auto;
width: 350px;
right: 20%;
z-index: 100;
top: 40%;
opacity: 1;
}

} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {

.grid-industrias{
  grid-template-columns: repeat(4,1fr);
  grid-template-areas:
  "text text card1 img1"
  ". card2 img2 ."
  "card3 img3 card4 img4"
  ". card5 img5 ."
  "card6 img6 card7 img7"
  ". card8 img8 .";
  gap:15px;
}

/*Call to action*/

.cover-cta{
  height: auto;
width: 430px;
right: -50px;
top: -20px;
}
.cover2-cta{
  height: auto;
width: 350px;
right: 22%;
z-index: 100;
top: 35%;
opacity: 1;
}

}
/* xxl */ @media (min-width: 1400px) {}
