/* ===================================
    global
====================================== */
section{
  overflow-x: clip;
  position: relative;
}


#certificaciones{
   scroll-margin-top: 80px;
}

/*-----Seccion 1-----*/
.inf-sec{
  background: #113180;
  padding: 20px;
  border-top-left-radius: 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
}

.inf-sec .icon{
  width:60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 20px;
}

.inf-sec .icon svg{
  width: 70%;
}

.img1{
  display: none;
}

.img1 img{
  border-top-right-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img2 img{
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/*-----Seccion sectores-----*/

.img1-sect img{
  border-top-left-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img2-sect img{
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img3-sect img{
  border-bottom-left-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*Section servicios final*/

.custom-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.nav-tabs{
  border-bottom: none;
}

.custom-tabs .nav-link{
  border-top: 4px solid #F1F1F1;
  padding-top: 30px;
  position: relative;
  background: transparent;
  border: 0px solid transparent;
  border-radius: 0px!important;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.custom-tabs .nav-link {
  display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: transparent;
border: none;
color: #2B50AA;
transition: all 0.3s ease;
/* border-radius: 20px; */
padding: 15px 15px;
width: 80px;
height: 80px;
}

.custom-tabs .nav-link .icon {
  width: 100%;
}

.custom-tabs .nav-link svg {
  transition: color 0.3s ease, fill 0.3s ease;

  width: 40px;
  height: 40px;
}

.custom-tabs .nav-link path{
  stroke:#272727;
}

.custom-tabs .nav-item.show .nav-link{
  background-color: transparent!important;
  transform: translateY(-15px);
}

.custom-tabs .nav-link.active{
  background-color: transparent!important;
  transform: translateY(-25px);
}

.custom-tabs .nav-link:hover
.custom-tabs .nav-link.active{
  background-color: transparent!important;
  transform: translateY(-15px);
}


.custom-tabs .nav-link:hover path,
.custom-tabs .nav-link.active path {
  stroke:#2B50AA;
}


/*Section servicios*/

section{
   overflow-x:clip;
}

.grid-servicio {
  height: 100%;
  align-items: flex-start;
}



.card-serv-1{
  border-radius: 20px;
  background: #fff;
}

.card-serv-1 .img{
  width: 100%;
  height: 300px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position:relative;
}

.card-serv-1 .img svg{
  position: absolute;
  top:20px;
  right:20px;
  width: 70px;
  height: 70px;
}

.card-serv-1 .img path{
  stroke:#fff;
}

.card-serv-1 .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card-serv-1 .info{
  padding: 20px;
}

.card-serv-1 .info p{
  display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.card-serv-1 .content-icon-check{
  width: 40px!important;
  height: 40px!important;
  background: #F2F2F2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-serv-1 .content-icon-check svg{
  width: 50%;
  height: 50%;
}

.card-serv-1 .content-icon-check path{
  stroke:#272727;
}


/*Card 2*/

.card-serv-2{
  position: relative;
  border-radius: 20px;
  height: 100%;
  display: none;
}

.card-serv-2 .content-inf-icon{
  position: absolute;
top: 20px;
right: 20px;
width: auto;
display: flex;
flex-direction: column;
align-items: end;
text-align: end;
}

.card-serv-2 .content-inf-icon svg{
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.card-serv-2 .content-inf-icon path{
  stroke:#fff;
}

.card-serv-2 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}


/*Card 3*/

.card-serv-3{
  display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    display: none;
}

.card-serv-3 .img{
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin-top: 20px;
    position:relative;
}

.card-serv-3 .img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.card-serv-3 .img .content-inf-icon{
  position: absolute;
top: 20px;
right: 20px;
width: auto;
display: flex;
flex-direction: column;
align-items: end;
text-align: end;
}

.card-serv-3 .img .content-inf-icon svg{
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.card-serv-3 .img .content-inf-icon path{
  stroke:#fff;
}


/**/

.grid-sectores-wrapper{
  display: none;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
}

.carousel-track-right {
  display: flex;
  animation: scroll-right 30s linear infinite;
}


.item {
  min-width: 150px;
  height: auto;
  margin: 0 10px;
}

.item img{
  width: 150px;
}

/* Animación */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-160px * 15));
  }
}

@keyframes scroll-right {
  100% {
    transform: translateX(0);
  }
  0% {
    transform: translateX(calc(-160px * 15));
  }
}

/*Galeria sectores*/

.card-sector .inf{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}


#galery-sectores .swiper {
  width: 100%;
}

#galery-sectores .swiper-slide {
  display: flex;
}

#sectores-container{
  width: 100%;
  min-height: 400px;
}

.sector-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.sector-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.bullelts-content {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 20px;
}

.bullet-btn {
  width: 13px !important;
  height: 13px !important;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  position: relative;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  aspect-ratio: 1 / 1; /* asegura forma circular */
  padding: 0;
}

.bullet-btn.active {
  background-color: #1a1a1a;
}

.bullet-btn.active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #1a1a1a;
  box-sizing: border-box;
  aspect-ratio: 1 / 1; /* asegura forma circular */
}


.card-sectores-wrapper{
  width: 100%;
  min-height: 300px;
}





/* ===================================
    grids
====================================== */

/*----Grid seccion 1 imagenes----*/
.inf-sec{grid-area: inf;}
.img1{grid-area: img1;}
.img2{grid-area: img2;}

.grid-sec-one{
  display: grid;
  grid-template-columns: 1fr 60%;
  gap:20px;
  grid-template-areas:
    "inf inf"
    "img2 img2";
}

/*----Grid seccion servicios----*/

.grid-sec-serv{
  display:grid;
  grid-template-columns: 1fr;
  gap:20px;
}

/*----Grid seccion sectores imagenes----*/

.img1-sect{grid-area: img1;width: 100%;
    height: 100%;}
.img2-sect{grid-area: img2;width: 100%;
    height: 100%;}
.img3-sect{grid-area: img3;width: 100%;
    height: 100%;}

.grid-sectores{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  grid-template-areas:
    "img1 img2"
    "img3 img2";
}

/*----Grid seccion servicios----*/

.card-text-serv{grid-area: text;}
.card-serv-1{grid-area: card1;}
.card-serv-2{grid-area: card2;}
.card-serv-3{grid-area: card3;}


.grid-servicio{
  display: grid;
  grid-template-columns:1fr;
  gap:20px;
  grid-template-areas:
    "text"
    "card1";
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {
.inf-sec .icon{width:100px;height: 100px;}

.img1{display: inherit;}
.grid-sec-one{grid-template-areas:
    "inf img1"
    "img2 img2";}

    .grid-sec-serv{grid-template-columns: repeat(2, 1fr);gap:20px;}

}
/* md  */ @media (min-width: 768px) {

.grid-sectores-wrapper{
  display: inherit;
}

.inf-sec .icon{width:100px;height: 100px;}
.grid-sec-serv{grid-template-columns: repeat(3, 1fr);gap:20px;}

.grid-servicio{
  grid-template-columns: 50% auto;
grid-template-areas:
"card1 text"
"card1 card2";
}


.card-serv-1 .img{height: 450px;}
.card-serv-2{display: inherit;}

} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

.grid-sec-serv{grid-template-columns: repeat(4, 1fr);gap:20px;}

.grid-servicio{
  grid-template-columns: 50% auto;
grid-template-areas:
"card1 text"
"card1 card2";
}



} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {
.inf-sec .icon{width:100px;height: 100px;}

.grid-servicio{
  grid-template-columns:40% auto 30%;
  grid-template-areas:
    "card1 text text"
    "card1 card2 card3";
}

.card-serv-2{height: 100%;}
.card-serv-3{display: flex;}


}
/* xxl */ @media (min-width: 1400px) {}
