.wrap-service-section {
    width: 100%;
    overflow: hidden;
}

.service-section {
    box-sizing: border-box;
    margin: 0px auto 0px auto;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width:1350px) {
    .service-section {
        max-width: 1351px;
    }
}

@media (max-width: 1000px) {
    .service-section {
        width: auto;
    }
}
/************************************************/
/*                 Separator                    */
/************************************************/
.wrap-services-section-separator {
  background-color: transparent;
  opacity: .9;
}

.wrap-services-section-separator .services-section-separator-right {
  padding-bottom: 20px;
  padding-top: 20px;
}

.services-section-separator-right {
  display: flex;
  gap: 20px;
  padding-left: 10px;
  padding-right: 10px;
  justify-content: right;
  align-items: center;
}

.services-section-separator-right .line {
  width: 40%;
  height: 2px;
  padding: 2px;
  background-color: rgb(0,0,153);
  border-radius: 5px;
  box-shadow: 5px 5px 1px rgb(0,0,153,.2);
}
  
.services-section-separator-right .chart1 {
  background-color: rgb(0, 0, 255);
  width: 1%;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 5px 5px 1px rgb(0,0,255,.2);
}
  
.services-section-separator-right .chart2 {
  background-color: rgb(0, 0, 151);
  width: 1%;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 5px 5px 1px rgb(0,0,151,.2);
}
/****************************************************/
/*                  Separator Line                  */
/****************************************************/
.wrap-service-section-separator-line {
    background-color: transparent;
    padding-top: 40px;
    padding-bottom: 40px;
}

.service-section-separator-line {
    padding-left: 80px;
    padding-right: 80px;
}

.service-section-separator-line .line {
    width: auto;
    padding: 1px;
    background-color: rgb(0,0,0,.1);
}
/*****************************************************/
/*                  Seccion 1                        */
/*****************************************************/
.wrap-service-section-1 {
    background-color: transparent;
    padding-bottom: 40px;
}

.service-section-1 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 0px;
}
    
.service-section-1 .col1 {
    grid-column: span 2 / span 2;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-section-1 .col1 img {
    width: 100%;
    height: 90%;
    object-fit: contain;
    max-height: 100%;
    filter: grayscale(100%) brightness(50%) drop-shadow(5px 5px 2px rgb(0,0,153,.5));
}

.service-section-1 .col2 {
    grid-column: span 6 / span 6;
    grid-column-start: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 20px 120px;
    border-left: 1px solid rgb(0,0,153,.5);
}

.service-section-1 .col2 p {
    width: 100%;
    font-family: 'textm', serif;
    font-weight: 300;
    font-size: clamp(10pt, 1.5vw, 14pt);
    color: #666666;
}

@media (max-width:730px) {
    .wrap-service-section-1 {
        padding-bottom: 0px;
    }

    .service-section-1 {
        display: block;
    }

    .service-section-1 .col1 {
        display: none;
    }

    .service-section-1 .col2 {
        border-left: 40px solid rgb(0,0,153,.9);
        padding: 20px;
        border-radius: 0px;
        text-align: justify;
    }
}
/****************************************************/
/*                  Seccion 2                       */
/****************************************************/
.wrap-service-section-2 {
    background-color: transparent;
    /* background-image: url(../img/services/bannerService_2.jpg); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 20px 0px 20px 0px;
    position: relative;
    z-index: 10;
}

.wrap-service-section-2 .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgb(0,0,0,.8);
    z-index: 11;
}

.service-section-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 12;
}

.service-section-2 article {
    width: 100%;
    text-align: center;
}

.service-section-2 article h2 {
    padding: 0px 10px;
    text-align: center;
    color: #000000;
    text-shadow: 4px 4px 1px rgb(255,255,255,.1);
    font-size: clamp(18pt,4vw,20pt);
    font-family: 'headm', serif;
    font-weight: 600;
    position: relative;
    z-index: 12;
}

.service-section-2 article p {
  padding: 0px 10px;
  text-align: justify;
  color: #666666;
  font-size: clamp(11pt,1.5vw,12pt);
  font-family: 'textm', serif;
  font-weight: 400;
}

.service-section-2 img {
    width: 220px;
    margin: 0px;
    position: relative;
    z-index: 12;
}

@media (max-width:476px) {
    .service-section-2 {
        gap:0px
    }

    .service-section-2 img {
        width: 160px;
    }
}
/*******************************************************/
/*                  HEader Seccion 3                   */
/*******************************************************/
.wrap-service-section-head-3 {
    background-color: transparent;
}

.service-section-head-3 {
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

.service-section-head-3 h2 {
    font-family: 'headm', serif;
    font-size: clamp(22pt,4vw,24pt);
    font-weight: 300;
    color: #333333;
}

.service-section-head-3 p {
    font-family: 'textm', serif;
    font-size: clamp(11pt,1.5vw,12pt);
    font-weight: 300;
    color: #666666;
}
/*******************************************************/
/*                 Seccion 3                           */
/*******************************************************/
.wrap-service-section-3 {
    background-color: transparent;
}

.service-section-3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.service-section-3 .card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    overflow: hidden;
    padding-top: 40px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.service-section-3 .card .wrap {
    background-color: rgb(0,0,153,.8);
    position: absolute;
    top: 0px;
    z-index: 9;
    width: 100%;
    height: 260px;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.service-section-3 .card .wrap h3 {
    color: rgb(255,255,255);
    font-family: 'headm', serif;
    font-weight: 600;
    font-size: 12pt;
    margin: 0px;
}

.service-section-3 .card article {
    box-sizing: border-box;
    padding: 10px;
    width: 280px;
    height: auto;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    background-color: #fefefe;
    border: 1px solid rgb(0,0,153,.1    );
    box-shadow: 1px 1px 5px rgb(0,0,0,.2);
}

.service-section-3 .card article p {
    font-family: 'textm', serif;
    color: #444444;
    font-weight: 300;
    font-size: 11pt;
}
/*********************************************/
/*                 Seccion 4                 */
/*********************************************/
.wrap-service-section-4 {
    background-color: transparent;
}

.service-section-4 {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 60px 0px;
    z-index: 5000;
}

.marquee {
    display: flex;
    gap: 40px;
    min-width: 100%;
    animation: marquee 15s linear infinite;
    position: relative;
    padding-top: 20px;
    z-index: 5001;
}

.marquee.reverse {
    animation: marquee-reverse 15s linear infinite;
    position: relative;
    z-index: 5002;
}

.marquee span {
    background-color: rgba(0, 0, 153,.3);
    font-family: 'textt', serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 8pt;
    color: rgb(0,0,153);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
    z-index: 5003;
}

.overlay-marquee {
    position: absolute;
    background-color: transparent;
    width: 100%;
    height: 100%;
    box-shadow: 80px -60px 50px #fefefe inset,
                -80px 0px 50px #fefefe inset;
    z-index: 5004;
  }

  @keyframes marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes marquee-reverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0%);
    }
}
/*********************************************/
/*                 Seccion head TABS         */
/*********************************************/
.wrap-service-section-head-tabs {
  background-color: transparent;
}

.service-section-head-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
}

.service-section-head-tabs .col1 {
  padding-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 0px 0px 10px;
}

.service-section-head-tabs .col1 .line {
  width: 100%;
  height: 4px;
  border-radius: 1px 0px 0px 1px;
  background-color: rgb(0,0,153,.5);
}

.service-section-head-tabs .col2 {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0px 10px 10px 0px;
}

.service-section-head-tabs .col2 h2 {
  font-family: 'headm', serif;
  font-size: clamp(24pt,4vw,28pt);
  color: rgb(0,0,153,.8);
  font-weight: 300;
}
/********************************************************/
/*                    Tabs                              */
/********************************************************/
.wrap-service-section-tabs {
    background-color: transparent;
    padding-bottom: 40px;
}

.service-section-tabs {
    display: block;
    padding: 10px;
}

.tabs {
  width: auto;
  margin: 0px auto;
  display: flex;
  background-color: transparent;
  padding: 10px;
  gap: 10px;
}

.tab {
  cursor: pointer;
  padding: 10px 20px;
  background-color: rgb(0,0,153,.1);
  margin-right: 5px;
  border-radius: 30px;
  color: rgb(0, 0, 153);
  font-family: 'textt', serif;
  font-weight: 400;
  transition: .5s all;
}

.tab:hover {
  background-color: rgb(0,0,153,.2);
}

.tab.active {
  background-color: rgb(0,0,153);
  color: rgb(255,255,255);
  font-family: 'textt', serif;
  font-weight: 600;
}

.tab-content {
  border: none;
  border-top: none;
  padding: 10px 20px;
  background: #fff;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 0px;
}

.tab-pane.active .col1 {
  padding: 10px;
}

.tab-pane.active .col2 {
  padding: 20px;
}

.tab-pane.active .col2 img {
  border-radius: 10px;
  box-shadow: 0px 0px 30px rgb(0,0,153,.3);
}

.tab-content h2 {
  font-family: 'headm', serif;
  font-weight: 600;
  text-shadow: 3px 3px 1px rgb(0,0,153,.1);
}

.tab-content p {
  font-family: 'textm', serif;
  font-weight: 300;
  font-size: clamp(9pt, 1vw + 1rem, 11pt);
}

@media (max-width:740px) {
  .tabs {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .tab-pane.active {
    display: block;
  }

  .tab-pane.active .col2 {
    text-align: center;
  }
  
  .tab-pane.active .col2 img {
    width: 80%;
  }
}
/********************************************************/
/*                   Seccion de enlaces                 */
/********************************************************/
.wrap-service-section-enlace {
  background-color: transparent;
}

.service-section-enlace {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 40px;
}

.service-section-enlace h1 {
  width: 100%;
  text-align: center;
  font-family: 'headm', serif;
  font-size: clamp(9pt, 1vw + 1rem, 20pt);
  font-weight: 600;
  color: #222222;
  text-shadow: 3px 3px 1px rgb(0,0,153,.1);
  margin: 0px;
}

.service-section-enlace h2 {
  width: 100%;
  text-align: center;
  font-family: 'headm', serif;
  font-size: clamp(8pt, 1vw + 1rem, 12pt);
  font-weight: 300;
  color: #666666;
}

.service-section-enlace button {
  cursor: pointer;
  background-color: rgb(0,0,153);
  border: none;
  padding: 10px 20px;
  margin: 20px auto;
  border-radius: 10px;
  font-family: 'textt', serif;
  font-weight: 600;
  color: rgb(255,255,255);
}

.service-section-enlace .credit {
  position: absolute;
  z-index: 11;
  right: 0px;
  bottom: 0px;
  padding: 10px;
  font-family: 'textt', serif;
  font-weight: 400;
  font-size: 9pt;
  color: #666666;
}

.service-section-enlace .credit a {
  text-decoration: none;
  color: #222222;
  font-weight: 400;
}
/*******************************************************/
/*                    Seccion de contacto              */
/*******************************************************/
.wrap-service-section-contac {
    background-color: transparent;
    background-image: url(../img/background_contact1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    z-index: 10;
  }
  
  .wrap-service-section-contac .overlay {
    background-color: rgb(0,0,0,.6);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 11;
  }
  
  .service-section-contac {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    padding: 40px;
    position: relative;
    z-index: 12;
  }
  
  .service-section-contac .col1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
  }
  
  .service-section-contac .col1 p {
    font-family: 'textt', serif;
    font-weight: 500;
    color: rgb(255,255,255);
    font-size: clamp(14pt,1.5vw, 18pt);
    text-align: center;
  }
  
  .service-section-contac .col1 button {
    cursor: pointer;
    background-color: rgb(255,255,255);
    color: rgb(0,0,0,.8);
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-family: 'textt', serif;
    font-weight: 900;
    font-size: 14pt;
    transition: .5s all;
  }
  
  .service-section-contac .col1 button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgb(255,255,255,.3);
  }
  
  .service-section-contac .col2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .service-section-contac .col2 img {
    width: 30%;
    height: auto;
  }

    @media (max-width:730px) {
    .service-section-contac {
        display: block;
    }
  }