/* ===================================
    Cover
====================================== */

.cover{
  width: 100%;
  min-height: 550px;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image:url('../../assets/img/servicios/cover/cover-servicios.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cover-contain{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "img"
  "text";
  gap:50px;
}

.text-cover{grid-area: text;}
.img-cover{grid-area: img;}

.deco-cover{
  position: absolute;
  bottom: -50px;
    left: 0px;
    width: 450px;
}

.cover-img1{
  width: 350px;
  border-radius: 8px;
  z-index: 50;
  position: relative;
  top: 50%;
  left: 50px;
  transform: translate(-0%, -50%);
  display: none;
}

.cover-img2{
  width: 330px;
  border-radius: 8px;
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

.cover-deco2{
  width: 200px;
position: absolute;
right: 55%;
top: -10%;
transform: translate(-0%, -50%);
z-index: 10;
display: none;
}

/* ===================================
    Global
====================================== */


.card-service{
  display: flex;
  justify-content: space-between;
  align-items:center;
  flex-direction: column;
  gap:20px;
}

.card-service .img-service{
  width: auto;
  height: 100%;
}

.card-service .img-service{
  position: relative;
}

.card-service .img-service .num{
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0px;
  left: 0px;
  background: linear-gradient(180deg, rgba(0, 30, 107, 0) 0%, #001E6B 100%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 10px;
  display: flex;

}

.num-end{
  justify-content: flex-end;
  align-items: flex-end;
}

.num-start{
  justify-content: flex-start;
  align-items: flex-end;
}

.card-service .img-service .num h1{
  font-size: 60px;
  line-height: 85%;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0px;
}

.card-service .img-service img{
  width: 250px;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.column-reverse{
  flex-direction: column-reverse!important;
}

.card-service .text .num{
  font-size: 60px;
  line-height: 120%;
  color: #14437980;
  font-weight: 700;
  margin-bottom: 0px;
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

.card-service .text .num{font-size: 80px;}

.card-service .img-service img{width: 250px;}




}
/* md  */ @media (min-width: 768px) {

/*Cover*/
.cover-contain{
  display: grid;
  grid-template-columns: 45% auto;
  grid-template-areas:
  "text img";
  gap:0px;
}

.cover-img2{
  width: 330px;
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inherit;
}

.cover-deco2{
  width: 200px;
position: absolute;
right: 55%;
        top: 2%;
transform: translate(-0%, -50%);
z-index: 10;
display: inherit;
}

.card-service{gap:30px;flex-direction: row;}
.column-reverse{flex-direction:row!important;}
.card-service .text .num{font-size: 100px;}
.card-service .img-service img{width: 300px;}

} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

/*Cover*/
.cover-img1{
  width: 300px;
  border-radius: 8px;
  z-index: 50;
  position: relative;
  top: 50%;
  left: 0px;
  transform: translate(-0%, -50%);
  display: inherit;
}

.cover-img2{
  width: 330px;
  position: absolute;
  right: 0px;
  left: auto;
  top: 50%;
  transform: translate(-0%, -50%);
}

.cover-deco2{
  width: 200px;
position: absolute;
right: 38%;
top: -10%;
transform: translate(-0%, -50%);
z-index: 10;
}

.card-service .img-service img{width: 400px;}

} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {

/*Cover*/
.cover-img1{
  width: 330px;
  position: relative;
  top: 50%;
  left: 10px;
}

.cover-deco2{
  width: 200px;
position: absolute;
right: 38%;
top: -20%;
transform: translate(-0%, -50%);
z-index: 10;
}


}
/* xxl */ @media (min-width: 1400px) {

/*Cover*/
.cover-img1{
  width: 350px;
  position: relative;
  top: 50%;
  left: 50px;
}

.cover-deco2{
  width: 200px;
position: absolute;
right: 38%;
top: -20%;
transform: translate(-0%, -50%);
z-index: 10;
}

}
