body.home { background-color: #000 !important; }

.rela { position: relative; }

.rela .e-con-inner { position: relative; }


header.header {
    transition: background-color 0.3s ease, top 0.3s ease, height 0.3s ease;
    position: fixed;
    width: 100%;
    z-index: 1000;
}


/* Contenedor principal - agregar al contenedor del repeater */
#grid-social .jet-listing-dynamic-repeater__items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* Estilos para los items */
#grid-social .jet-listing-dynamic-repeater__item {
    position: relative;
    overflow: hidden;
    margin: 5px;
    border-radius: 4px;
    background-color: #333;
}

/* Selecciona cada 4 elementos para crear el patrón (2 elementos por fila) */
/* Primer item: grande (primera fila) */
#grid-social .jet-listing-dynamic-repeater__item:nth-child(4n+1) {
    flex: 0 0 calc(54.26% - 10px);
}

/* Segundo item: pequeño (primera fila) */
#grid-social .jet-listing-dynamic-repeater__item:nth-child(4n+2) {
    flex: 0 0 calc(45.74% - 10px);
}

/* Tercer item: pequeño (segunda fila) */
#grid-social .jet-listing-dynamic-repeater__item:nth-child(4n+3) {
    flex: 0 0 calc(45.74% - 10px);
}

/* Cuarto item: grande (segunda fila) */
#grid-social .jet-listing-dynamic-repeater__item:nth-child(4n+4) {
    flex: 0 0 calc(54.26% - 10px);
}

/* Crear separación entre filas usando after en los elementos pares */
#grid-social .jet-listing-dynamic-repeater__itemm:nth-child(2n)::after {
    content: "";
    flex-basis: 100%;
    width: 0;
    height: 0;
}

/* El resto del CSS se mantiene igual */
#grid-social .jet-listing-dynamic-repeater__item img {
    width: 100%;
    height: auto;
    display: block;
}

#grid-social .jet-listing-dynamic-repeater__item .item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 23px;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

#grid-social .jet-listing-dynamic-repeater__item .item-content p {
    font-family: "Alliance No.1", Sans-serif;
    display: block;   
}

#grid-social .jet-listing-dynamic-repeater__item .item-content a {
    font-weight: 500;
    text-decoration: underline;
    font-size: 16px;
}

#grid-social .jet-listing-dynamic-repeater__item p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
}

#grid-social .jet-listing-dynamic-repeater__item a {
    font-family: "Alliance No.1", Sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

#grid-social .jet-listing-dynamic-repeater__item .tags {
    position: absolute;
    top: 26px;
    left: 21px;
    display: flex;
}

#grid-social .jet-listing-dynamic-repeater__item .tags ul {
    display: flex;
    flex-wrap: wrap;  
    padding: 0;
    margin: 0;
}

#grid-social .jet-listing-dynamic-repeater__item .tags li {
    list-style: none;
    font-size: 12px;
    margin-right: 9px;
}

#grid-social .jet-listing-dynamic-repeater__item .tags li a {
    font-family: "Alliance No.1", Sans-serif;
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    font-style: italic;
    padding: 6px 12px;
}

#grid-social .jet-listing-dynamic-repeater__item .social-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#grid-social .jet-listing-dynamic-repeater__item .social-icon img {
    width: 40px;
    height: 40px;
    display: block; 
}

/* Responsive */
@media (max-width: 768px) {
    #grid-social .jet-listing-dynamic-repeater__items  {
        flex-direction: column;
    }
    
    #grid-social .jet-listing-dynamic-repeater__item  {
        flex: 0 0 calc(100% - 10px) !important;
    }
}



.sticky-header {
    background-color: rgb(0 0 0 / 58%);
 
}

.home .sticky-header {
    background-color: rgb(0 0 0 / 0);
}

.header-hidden {
    top: -100px; /* Ajusta esto dependiendo de la altura de tu encabezado */
}

.desliza {
    position: absolute !important;
    bottom: 12%;
    max-width: 1300px;
    left: auto;
    right: auto;
    margin: 0 auto;    
}

.numeros-bottom {
    position: absolute;
}

.timeline .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;    
}

.timeline .elementor-heading-title {
    color: #000000;
    font-family: "Alliance No.1", Sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
}

.timeline .box-i .block-text p {
    font-size: 15px;
    line-height: 21px;
}

.timeline .box-i .nombre {
    font-size: 14px;
    line-height: 16.8px;
}

.navegacion-timeline {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;    
}

.navegacion-timeline .swiper-button-next,
.navegacion-timeline .swiper-button-prev {
    position: relative;
    left: 0;
    right: 0;
    border: 2px solid #fff;
    border-radius: 20px;
    height: 40px;
    width: 40px;
    margin: 0 12px;    
}

.navegacion-timeline .swiper-button-next:after,
.navegacion-timeline .swiper-button-prev:after {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.timeline .box-i {
    display: flex;
    flex-direction: column;
    border-style: none;
    border-style: none;
    border-radius: 0px 0px 0px 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    padding-top: 32px;
    padding-bottom: 0px;
    padding-left: 14px;
    padding-right: 14px;
    height: 100%;    
}

.timeline .box-ii {
    display: flex;
    flex-direction: column;
    border-style: solid;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-color: #CECECE;
    border-color: #CECECE;
    border-radius: 8px 8px 8px 8px;
    height: 100%;
    justify-content: space-between;    
}

 .timeline .number {
    padding: 25px 0px 10px 0px;
    text-align: center;
}

 .timeline .text {
    padding: 0px 10px 0px 10px;
}

 .timeline .imagen img {
     width: 100%;
    border-radius: 0 0 8px 8px;   
    min-height: 309px;  
    object-fit: cover;
 }
 
 
 .timeline .nombre {
    margin: 0px 0px 24px 0px;
    padding: 0px 24px 0px 24px;
    text-align: center;
    color: #000000;
    font-family: "Alliance No.1", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.2px;
}

.timeline .block-text {
    min-height: 248px;
}

div.tiempo-linea:before {
    content: "";
    background: #000;
    width: 100%;
    display: block;
    position: absolute;
    height: 29%;
    bottom: 0;
    left: 0;
    top: auto;
    border: none;
}


.conta-equipo .elementor-widget-counter {
  padding: 0 45px; 
  position: relative; 
}

.conta-equipo .elementor-widget-counter:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: #eee;  
}

.home #sostenibilidad:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 8%;
    bottom: 0;  
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}


@media (min-width: 768px) {
    div.galeria-proyecto .gallery-item:nth-child(5n+1),
    div.galeria-proyecto .gallery-item:nth-child(5n+2) {
        max-width: 50%;
    }

    /* Patrón para filas con 3 elementos (filas 2, 4, 6, etc) */
    div.galeria-proyecto .gallery-item:nth-child(5n+3),
    div.galeria-proyecto .gallery-item:nth-child(5n+4),
    div.galeria-proyecto .gallery-item:nth-child(5n+5) {
        max-width: 33.33%;
    }

    /* Ajustes para elementos finales */
    /* Un elemento solo en cualquier fila */
    div.galeria-proyecto .gallery-item:last-child:nth-child(5n+1) {
        max-width: 100%;
    }

    /* Dos elementos en una fila que debería tener dos */
    div.galeria-proyecto .gallery-item:nth-last-child(1):nth-child(5n+2),
    div.galeria-proyecto .gallery-item:nth-last-child(2):nth-child(5n+1) {
        max-width: 50%;
    }

    /* Dos elementos en una fila que debería tener tres */
    div.galeria-proyecto .gallery-item:nth-child(5n+3):nth-last-child(2),
    div.galeria-proyecto .gallery-item:nth-child(5n+4):nth-last-child(1) {
        max-width: 50%;
    }

    /* Un elemento solo en una fila que debería tener tres */
    div.galeria-proyecto .gallery-item:nth-child(5n+3):last-child {
        max-width: 100%;
    }

    /* Tres elementos en la última fila */
    div.galeria-proyecto .gallery-item:nth-child(5n+3):nth-last-child(3),
    div.galeria-proyecto .gallery-item:nth-child(5n+4):nth-last-child(2),
    div.galeria-proyecto .gallery-item:nth-child(5n+5):nth-last-child(1) {
        max-width: 33.33%;
    }
}

.jet-tabs__control { position: relative;}
.jet-tabs__control .jet-tabs__control-inner:before {
    content: '';
    display: block;
    width: 1px;
    height: 190px;
    /*background: #000; */
    position: absolute;
    left: 41px;
    z-index: -1;
}

.line-bottom-text .jet-listing-dynamic-field__content { position: relative; }
.line-bottom-text .jet-listing-dynamic-field__content:after {
    content: '';
    display: block;
    width: 140px;
    height: 4px;
    background: #6E3CD2;
    margin-top: 14px;
}

div.item-cifra {
    flex-direction: column;
    align-items: flex-start !important;
}

.item-cifra span {
    font-family: "Alliance No.1", Sans-serif;
    display: block;
    font-size: 72px;
    font-weight: 600;
    line-height: 86.4px;
}

.item-cifra p {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}

.cifras-numeros .jet-listing-dynamic-repeater__items {
    justify-content: space-between !important;
}

.number-compromiso span { font-family: "Alliance No.1", Sans-serif; display: block; font-weight: 600; font-size:72px; line-height:86.4px;}

.number-compromiso .elementor-heading-title { position:relative; padding-left: 28px; }
.number-compromiso .elementor-heading-title:before {
    content: '';
    display: block;
    width: 5px;
    height: 100%;
    background: #6E3CD2;
    position: absolute;
    top: 0;
    left: 0;
}

.texto-proyecto blockquote p { position: relative; }

.texto-proyecto blockquote {
    color: #6E3CD2;
    font-family: "Alliance No.1", Sans-serif;
    font-size: 32px;
    font-style: italic;
    font-weight: 600;
    line-height: 48px;
    position: relative;
    margin-right: 0;
    margin-left: 0;    
}

.texto-proyecto blockquote:before {
    content: '';
    background-color: rgb(209, 179, 255, 0.26);
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0% 100%);
    display: block;
    width: 118px;
    height: 118px;
    position: absolute;
    right: 22px;
    top: -30px;    
}

.sidebar-box-black {
    background: #000;
}

.sidebar-box-black span {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
}

.sidebar-box-black .line:after {
    content: '';
    display: block;
    background: #9747FF;
    width: 60px;
    height: 5px;
}

.sidebar-box-black p {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

.sidebar-box-black .elementor-element { margin-bottom: 34px !important; }
.sidebar-box-black .elementor-element:last-child { margin-bottom: 0 !important; }

.medidas ul { margin: 0; padding: 0; }
.medidas ul li { list-style: none; display: block; padding: 16px 32px; font-weight: 300; }
.medidas ul li strong { font-weight: 500; }
.medidas ul li:nth-child(odd) {
    background-color: #f8f8f8; /* Color para los elementos impares */
}
.medidas ul li:nth-child(even) {
    background-color: #fdfdfd; /* Color para los elementos pares */
}

.medidas .jet-listing-dynamic-field__inline-wrap,
.medidas .jet-listing-dynamic-field__content {
    width: 100% !important;
}


.link-mas .elementor-heading-title {
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1); /* Transición más lenta y fluida */
    transform: translateY(0); 
}
.link-mas:hover .elementor-heading-title {
    transform: translateY(-10px); /* Aumenta la altura en un 20% al hacer hover */
}


.link-mas .trans {
    transform-origin: bottom; /* El origen de la transformación está en la parte inferior */
    transform: scaleY(0.5); /* Inicia colapsado en el eje Y */
    transition: transform 0.7s ease, opacity 0.7s ease; 
}

.link-mas:hover .trans {
    transform: scaleY(1);
}


div.label-mas .elementor-widget-container {
    height: 1px !important;
    padding: 3px 0 3px 0 !important;    
}

div.label-mas .elementor-heading-title {
    font-size: 0 !important;
}

.rela { position: relative; }

.bloques-ejes .jet-listing-dynamic-repeater__items { gap: 20px; }

.bloques-ejes .jet-listing-dynamic-repeater__item { position: relative;  }
.bloques-ejes .jet-listing-dynamic-repeater__item img { max-width: 466px; width: 100%;  }

.bloques-ejes .jet-listing-dynamic-repeater__item .textos span {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
}

.bloques-ejes .jet-listing-dynamic-repeater__item .textos span.text-first-pro {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 24px;
    font-weight: 700 !important;
    line-height: 26.4px;
}

.icono-pro {
        width: auto !important;
        margin-bottom: 26px;
}

.bloques-ejes .jet-listing-dynamic-repeater__item .textos p { margin-top: 13px; }

.bloques-ejes .jet-listing-dynamic-repeater__item .textos {
    background: #000;
    position: absolute; 
    padding: 30px 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    bottom: -31px;
    left: 10px;
    width: 336px;
    max-height: 112px;
    overflow: hidden; /* Ocultar contenido adicional */
    transition: max-height 0.9s ease; /* Transición suave */
}


.bloques-ejes.proveedor .jet-listing-dynamic-repeater__item:hover .textos {
    max-height: 500px; /* Un valor suficientemente grande para mostrar el contenido completo */
}

.bloques-ejes.proveedor .textos p {
    font-size: 16px !important;
}

.bloques-ejes.proveedor .jet-listing-dynamic-repeater__item .textos {
    max-height: 210px;
    padding: 183px 20px 13px 20px;
    bottom: 9px;
}

.bloques-ejes.proveedor .jet-listing-dynamic-repeater__items {
    gap: 60px;
}


.bloques-ejes .jet-listing-dynamic-repeater__item:hover .textos {
    max-height: 500px; /* Un valor suficientemente grande para mostrar el contenido completo */
}

.bloques-ejes .jet-listing-dynamic-repeater__item .textos .text-first { position: relative; width: 100%; }
.bloques-ejes .jet-listing-dynamic-repeater__item .textos .text-first-pro { position: relative; width: 100%; }


.bloques-ejes .jet-listing-dynamic-repeater__item .textos .first-letter {
    font-family: "Alliance No.1", Sans-serif;
    color: #333333;
    text-transform: uppercase;
    position: absolute;
    right: -10px;
    font-size: 74px;
    font-weight: 600;
    top: 24px;    
}

.bloques-ejes.proveedor .jet-listing-dynamic-repeater__item .textos {
    background: none;
}


.titulo-esg span { color: #6E3CD2;}



.bloque-premios .tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease; /* Transición suave de opacidad */    
}
.bloque-premios  .left-premio {
    justify-content: space-between;
    height: 600px;
}

.bloque-premios .tab-link.active span { color: #000; }
.bloque-premios .tab-link span { color: #BFBFBF; padding-left: 21px; cursor: pointer; display: block; }
.bloque-premios .tab-link .elementor-widget-container {
    position: relative;
}
.bloque-premios .tab-link .elementor-widget-container:before {
    content:'';
    width: 3px;
    display: block;
    border-radius: 40px;
    background: #EAEAEA;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;    
}

.bloque-premios .tab-content ul li:before {
    content: '';
    background: url('../img/arror-premio.png');
    width: 28px;
    height: 28px;
    display: block;
    position: absolute;
    left: -43px;
    top: 0;    
}


.bloque-premios .tab-content ul { margin: 0; padding: 0; }
.bloque-premios .tab-content ul li { list-style: none; position: relative; }
.bloque-premios .tab-content ul li { 
    font-family: "Alliance No.1", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    border-bottom: 1px solid #D6D6D6;
    padding-bottom: 20px;
    margin-bottom: 30px;    
 }

 .bloque-premios .tab-content ul li:last-child { 
    border: none;
}


.bloque-premios .tab-content.active {
    display: block;
    opacity: 1;
}


.fade-in {
    animation: fadeIn 0.5s ease forwards; /* Aplica la animación fade */
}

/* Animación fade */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
 
header.header:before {
    content: '';
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    height: 100px;
}
 
.scroll-bottom { 
    position: absolute !important;     
    right: 0;
    bottom: 15%;
}


.scroll-bottom-term { 
    position: absolute !important;     
    right: 0;
    bottom: 40%;
}
  
  
@media (max-width: 767px) {  
 .conta-equipo .elementor-widget-counter:not(:last-child)::after {
     display: none;
 }
 .numbers-banner .e-con-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    }
.numbers-banner .e-con-inner .e-con-full { width: 50%; }
.numbers-banner .e-con-inner .e-con-full:last-child { width: 100%; }
.home .taba .jet-tabs__control-wrapper { position: absolute; top: 20% !important; } 
.home .taba .jet-tabs__control-wrapper .jet-tabs__control-inner {  justify-content: flex-start !important; }

#cifras .e-n-tabs-content .elementor-element .t-image .elementor-widget-image .elementor-widget-container { position: relative;}
#cifras .e-n-tabs-content .elementor-element .t-image .elementor-widget-image .elementor-widget-container:before {
 content: '';
    background: rgb(0 0 0 / 32%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 
.slick-slider.proyects .jet-listing-grid__item .e-parent .e-child:before {
    background: rgb(0, 0, 0, 42%) !important;
} 

#map-block .elementor-widget-shortcode { width: 100%;}
#map-block .elementor-shortcode { position: relative;}
#map-block .elementor-shortcode #map-exp { position: relative; left: -18px; z-index: 0;}
 
#redes .bloque-social .elementor-widget-image .elementor-widget-container { position: relative; } 
#redes .bloque-social .elementor-widget-image .elementor-widget-container:before {  content: '';
    background: rgb(0 0 0 / 20%);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
 }  
 
#redes .bloque-social .texto,
#redes .bloque-social .icono-social { z-index: 9; } 

.bloques-ejes .textos { font-size: 16px !important; }
.bloques-ejes .textos p {
    margin-top: 26px !important;
} 

.video-registro .elementor-custom-embed-image-overlay { min-height: 330px; }
 
 
}



.block-movil {
    display: none;
}

@media (max-width: 768px) {  
.bloque-premios .tab-link { display: none; }
.bloque-premios .left-premio { height: auto; }   
.group-links { display: none; }
.bloque-premios .tab-content ul li { padding-left: 43px; }
.bloque-premios .tab-content ul li:before { left: 0; }

}


@media (max-width: 768px) {  
#map-block:before { display: none !important; }
#movil-black-first { display: flex !important; }
.sidebar-box-black { display: none !important; }
.bloque-video-soste .e-con-inner { flex-direction: column-reverse !important; }

}

#movil-black-first { display: none; }


.mapa-blanco .elementor-widget-container { position: relative; }
.mapa-blanco .elementor-widget-container:before { 
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 51%;
    height: 16%; /* Incrementa la altura del degradado */
    pointer-events: none;
}

.mapa-blanco .elementor-widget-container.active:before {
    background: linear-gradient(181.42deg, #ffffff 32.51%, rgba(0, 0, 0, 0) 98.79%);
}


@media (min-width: 1025px) {
.swiper-proyectos-home {
  max-width: 1100px;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.swiper-proyectos-home .swiper-slide{
  max-width: 360px;
  width: 100%;
}



}



.group-links .tab-select {
    font-family: "Alliance No.1", Sans-serif;    
    background: #F4F4F4;
    border: 1px solid #ECECEC;
    font-size: 13px;
    line-height: 19px;
    font-weight: 500;
    padding: 12px;
    text-transform: uppercase;    
}

.heading-sosten span { color: #9D67EE; }


.taba .jet-tabs__control {
    opacity: 0.5;
}
.taba .jet-tabs__control::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    background-color: #fff;
    transition: width 0.6s ease;
    z-index: 9;
    position: relative;      
}
.taba .jet-tabs__control.active-tab {
    opacity: 1;
}
.taba .jet-tabs__control.active-tab::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: width 0.6s ease;
    z-index: 9;
    position: relative;    
}

/*****/
.taba .jet-tabs__control-wrapper {
    position: absolute;
    z-index: 50;
    top: 15%;
    padding-left: calc((100vw - 1360px) / 2);
}

@media(min-width:1441px) and (max-width:1536px) {
    .home .jet-tabs__control-wrapper {
        top: 10%;
    }
    .home .jet-tabs__control-wrapper .jet-tabs__control-inner {
        padding: 15px 20px 15px 0 !important;
    }
    .home .jet-tabs__control-wrapper .jet-tabs__control-inner .jet-tabs__label-text {
        font-size: 18px !important;
    }
    
    .home .jet-tabs__content-wrapper .jet-tabs__content .e-con-inner {
        padding-top: 27%;
        padding-bottom: 5%;        
    }
    
}


@media(min-width:1279px) and (max-width:1368px) {
    .home #proyectos {
        height: 100vh;

    }
    .home #proyectos .e-con-inner {
        padding-top: 50px;
    }
    .home #clientes {
        height: 100vh;
    }
    .home #clientes .e-con-inner {
        padding-top: 10%;
        justify-content: center;
    }    
    .home #clientes .elementor-widget-jet-carousel {
        flex-basis: 0;
    }
}

@media (max-width:1440px) {
     #banner_principal {
         padding-top: 10%;
     }

    
    #banner_principal .elementor-counter-number-wrapper {
        font-size: 44px;
        line-height: 44px;
    }    
    
    #banner_principal .contadores-n .elementor-heading-title {
        font-size: 15px;
        line-height: 22px;
    }
    
    .taba .jet-tabs__control-wrapper {
        padding-left: 30px;
    }    
    
}


@media (max-width: 1440px) and (min-width: 1367px) {
   .home .taba .jet-tabs__control-wrapper {
        top: 9%;
    }
    
    #banner_principal h1.elementor-heading-title {
        font-size: 45px;
        line-height: 57px;
    }
}


@media(max-width:1366px) {
.taba .jet-tabs__control-wrapper {
    padding-left: 30px;
}



}
@media(max-width:1300px) {
.taba .jet-tabs__control-wrapper {
    padding-left: 30px;
}
}


@media (max-width: 1280px) {
    .taba .jet-tabs__control-wrapper {
        padding-left: 30px;
    }
}

@media(min-width:1024px) {
    .taba .jet-tabs__control-wrapper {
        top: 7%;
    }
}

@media(min-width:1600px) {
    .taba .jet-tabs__control-wrapper {
        top: 15%;
    }
}


@media(max-width:1024px) {
.taba .jet-tabs__control-wrapper {
    padding-left: 30px;
}
.bloques-ejes .jet-listing-dynamic-repeater__item .textos span {
    font-size: 23px;
    line-height: 27.6px;
}
.bloques-ejes .jet-listing-dynamic-repeater__item .textos { 
    bottom: 0;
    left: 0;
    width: 100%; 
    position: relative;
}
.line-bottom-text .jet-listing-dynamic-field__content:after { margin: 8px auto 0 auto; }


}




@media(max-width:880px) {
.taba .jet-tabs__control-wrapper {
    padding-left: 30px;
}
}

@media(max-width:768px) {
.taba .jet-tabs__control-wrapper {
    padding-left: 30px;
}
}

@media(max-width:767px) {
.taba .jet-tabs__control-wrapper {
    top: 0%;
    position: static;
}
.block-web {
    display: none;
}
.block-movil {
    display: flex;
    z-index: 9;
}

.line-num {
    border-bottom: 2px solid #D9D9D9;
    padding-bottom: 18px !important;
    margin-bottom: 21px !important;
}

.conta-equipo .elementor-widget-counter {
    padding: 0;
}


}

@media(max-width:500px) {
    
.taba .jet-tabs__control-wrapper {
    top: 15%;
}

    
}


@media(max-width:500px) {
    .conta-equipo .elementor-widget-counter {
      padding: 0; 
      position: relative; 
    }


}

/******/
.mapa-blanco .elementor-widget-container { position: relative; }
.mapa-blanco .elementor-widget-container:before { 
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 51%;
    height: 16%; 
    pointer-events: none;
}

.mapa-blanco .elementor-widget-container.active:before {
    background: linear-gradient(181.42deg, #ffffff 32.51%, rgba(0, 0, 0, 0) 98.79%);
}

#map-block {
 position: relative; 
}
#map-block .elementor-widget-container:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 51%;
    height: 16%; 
    pointer-events: none;
    z-index: 9;
    top: 0;
}
#map-block .elementor-widget-container.active:before {
    background: linear-gradient(181.42deg, #000000 32.51%, rgba(0, 0, 0, 0) 98.79%);
}
/***/

.swiper-proyectos-home .swiper-slide img {
    box-shadow: 0px 15px 50px 0px rgba(0, 0, 0, 0.7), 0px 1px 8px 0px rgba(0, 0, 0, 0.7),
            0px 3px 130px 0px rgba(0, 0, 0, 0.7), 0px 12px 43.24px 2.76px rgba(0, 0, 0, 0.7);
    height: 400px;
    object-fit: cover;
    object-position: center center; 
    vertical-align: middle;
    display: inline-block;    
            
}

.swiper-proyectos-home .swiper-button-next,
.swiper-proyectos-home .swiper-button-prev {
    width: 50px;
    height: 50px;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 50%;
    
}

.swiper-proyectos-home .swiper-button-next:after,
.swiper-proyectos-home .swiper-button-prev:after {
    font-size: 20px;
    color: white;
}

.swiper-proyectos-home .swiper-button-next:hover,
.swiper-proyectos-home .swiper-button-prev:hover {
    background: rgb(255 255 255 / 20%);
}

.swiper-proyectos-home .bandera-proyecto,
.swiper-proyectos-home .titulo-proyecto,
.swiper-proyectos-home .sector-proyecto {
    transition: all 0.3s ease;
}

.swiper-proyectos-home .swiper-slide:not(.swiper-slide-active) .bandera-proyecto,
.swiper-proyectos-home .swiper-slide:not(.swiper-slide-active) .titulo-proyecto,
.swiper-proyectos-home .swiper-slide:not(.swiper-slide-active) .sector-proyecto {
    opacity: 0;
}

.form_clientes input::placeholder, 
.form_clientes textarea::placeholder {
    color: #737373 !important; 
}


.form_clientes .elementor-field-type-acceptance .elementor-field-option {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.form_clientes label i {
    font-style: normal;
    color: #D70828;
}

.form_clientes .elementor-field-type-acceptance label {
    font-weight: 400 !important;
}

.form_clientes .elementor-field-type-acceptance textarea {
    padding: 13px 14px;
}

.form_clientes .elementor-message {
    color: #fff;
}

.form_clientes .elementor-field-type-acceptance a {
color: #CDA7FF
}

.form_clientes .elementor-field-type-acceptance input {
    appearance: none;
    height: 24px;
    width: 24px;
    cursor: pointer;
    padding: 0 !important;
    border: 1px solid #fff !important;
    position: relative;
    margin-right: 14px;
}

.form_clientes .elementor-field-type-acceptance input::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 2px;
    width: 7px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

.form_clientes .elementor-field-type-acceptance input[type="checkbox"]:checked::before {
    opacity: 1;
}

.form_clientes .elementor-field-type-acceptance input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 2px;
    transform: translateY(-50%);
    width: 7px;
    height: 14px;
    background: #000;
    border-radius: 0px;
}
.form_clientes .elementor-field-type-acceptance input[type="checkbox"]::after {
    transition: all 0.3s ease;
}

.video-registro .elementor-custom-embed-image-overlay::before {
    content: '';
    background: url('../img/play-reg.png') no-repeat;
    background-size: cover;
    height: 102px;
    width: 102px;
    display: block;
    right: 0;
    position: absolute;    
}

@media (max-width: 1024px) {
    .bloques-ejes.proveedor .textos {
        position: absolute !important;
    }

    .bloques-ejes.proveedor .jet-listing-dynamic-repeater__item .textos p {
        min-height: 68px;
    }    

}

@media (max-width: 768px) {
    .bloques-ejes.proveedor .jet-listing-dynamic-repeater__items {
        flex-direction: column;
        align-items: center;
    }
    .bloques-ejes.proveedor .jet-listing-dynamic-repeater__item .textos p {
        min-height: 43px;
    }    
}

@media (max-width: 500px) {
    .video-registro .elementor-custom-embed-image-overlay::before{
    height: 62px;
    width: 62px;
    }
}

@media (max-width: 400px) {
.timeline .imagen img {
    height: 212px;
    min-height: initial;
}
}

/* Estilos para los tabs de taxonomía */
#projects-search {
    background: url('../img/search-lupa.png') no-repeat 85% center;
    font-family: "Alliance No.1", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    color: #A1A1A1;
    background-color: #fff;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #727272;
    border-radius: 50px 50px 50px 50px;
    padding: 10px 49px 10px 25px;    
    width: 220px;
}

.checks {
    widget: 80%;
}

#projects-pagination {
    justify-content: center;
}
#projects-pagination .page-numbers:hover,
#projects-pagination .page-numbers.current {
    color: #6E3CD2;
}
#projects-pagination a,
#projects-pagination .page-numbers {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    color: #C3C3C3;
    padding: 10px 10px 10px 10px;    
}

#projects-pagination .page-numbers.prev,
#projects-pagination .page-numbers.next {
    background: #6E3CD2;
    color: #fff;
    padding: 10px 11px;
}


.taxonomy-tabs-container {
    margin-bottom: 30px;
}

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

.tab-header {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    position: relative;
    opacity: 1;
    transition: color 0.3s ease;
}

.tab-header:hover {
   background: none;
   color: #000;
}

.tab-header:focus {
    background: none;
    outline: none;
    color: #000;
 }

/* Cuando hay algún tab activo, los inactivos se vuelven grises */
.tab-header.sibling-active {
    color: #C3C3C3;
}

/* El tab activo se mantiene negro */
.tab-header.active {
    color: #000;
}


/* Contenido de los tabs */
.taxonomy-tabs-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 0; /* Cambiado para permitir colapso */
    transition: min-height 0.3s ease;
}

.taxonomy-tabs-container > .checks {
    margin-bottom: 43px;
}

.tab-content-proyects {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    position: absolute;
    top: 0;
    width: 100%;
    pointer-events: none;
}

.tab-content-proyects.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
    pointer-events: all;
}

.terms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.taxonomy-tabs-content:has(.tab-content-proyects.active) {
    min-height: 40px;
}

/* Animación para los términos dentro del tab activo */
.tab-content-proyects.active .terms-list {
    animation: slideInDown 0.4s ease forwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para los checkboxes */
.term-checkbox-label {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;    
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #C3C3C3; /* Color base para términos inactivos */
}

.term-checkbox-label:hover {
    color: #6E3CD2;
}

.term-checkbox-label.active {
    color: #6E3CD2;
}

.term-checkbox {
    display: none;
}

.term-name {
    font-size: 16px;
}

.tab-header.has-active-term {
    color: #6E3CD2 !important;
}

/* Color del icono SVG */
.checks svg path {
    transition: fill 0.3s ease;
    fill: #000;
}

/* Color del icono cuando hay término activo */
.checks.has-active-term svg path {
    fill: #6E3CD2;
}

/* Estilos para términos inactivos cuando hay uno activo */
.terms-list.has-active .term-checkbox-label:not(.active) {
    color: #C3C3C3;
}

/* Estilo para checkbox personalizado */
.checkbox-custom {
    display: none;
}

#results-count {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2em;
    color: #6E3CD2;
}


.active-filters-container {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.active-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px 5px 15px;
    background-color: #EFEFEF;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-family: "Alliance No.1", Sans-serif;
    font-size: 16px;
    font-weight: 500;    
    color: #000;
    transition: all 0.3s ease;
}

.active-filter-button:hover {
    background-color: #EFEFEF;
    color: #000;
}
.active-filter-button:focus {
    background-color: #EFEFEF;
    color: #000;
}


.active-filter-button .remove-filter {
    font-weight: 500;
    color: #000;
    margin-left: 4px;
}

.active-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.active-filter-label {
    font-weight: 500;
    color: #666;
    margin-right: 4px;
}



.elementor-element .flg { text-align: left; }

.flag-term {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2em;
    color: #9F9F9F;
}


h2.title-proyect {
    font-family: "Alliance No.1", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    font-style: normal;
    line-height: 1.2em;
    color: var(--e-global-color-text);  
}

.elementor-element .flg img {
        width: 100%;
        max-width: 24px;
        height: 24px;
}

#projects-grid .jet-listing-grid__item {
    padding-left: calc(40px / 2);
    padding-right: calc(40px / 2);
    padding-top: calc(60px / 2);
    padding-bottom: calc(60px / 2);
}

.term-flag {
    padding: 7px 0;
}

.jet-listing-grid__item .bloque {
    padding-bottom: 25px;
    border-bottom: 1px solid #E3E3E3;
}


.bottom-grid {
    display: flex;
    align-items: center;
}

.bottom-grid .elementor-widget-image{
    width: 10%;
}

.bottom-grid  .elementor-widget-heading {
    width: 90%;
}


.jet-listing-dynamic-image {
    justify-content: flex-start;
}

.jet-listing-dynamic-image a {
    width: 100%;
    max-width: 430px;
}


/* Estilos generales para todas las imágenes */
.jet-listing-grid__item .jet-listing-dynamic-image img {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Imágenes dentro del contenedor */
#projects-grid .jet-listing-grid__item .jet-listing-dynamic-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

/* Aplicar altura mayor SOLO a los elementos pares con imagen */
#projects-grid .jet-listing-grid__item:nth-child(even) .jet-listing-dynamic-image img {
    height: 580px; /* Ajusta la altura solo cuando hay imagen y es par */
}



#projects-grid {
    position: relative;
    min-height: 200px; /* Altura mínima para evitar saltos */
}

#projects-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animaciones para los items */
.jet-listing-grid__item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.jet-listing-grid__item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Agregar delays escalonados para cada item */
.jet-listing-grid__item:nth-child(1) { transition-delay: 0s; }
.jet-listing-grid__item:nth-child(2) { transition-delay: 0.1s; }
.jet-listing-grid__item:nth-child(3) { transition-delay: 0.2s; }
.jet-listing-grid__item:nth-child(4) { transition-delay: 0.3s; }
.jet-listing-grid__item:nth-child(5) { transition-delay: 0.4s; }
.jet-listing-grid__item:nth-child(6) { transition-delay: 0.5s; }
.jet-listing-grid__item:nth-child(7) { transition-delay: 0.6s; }
.jet-listing-grid__item:nth-child(8) { transition-delay: 0.7s; }
.jet-listing-grid__item:nth-child(9) { transition-delay: 0.8s; }

/* Efecto de hover para las imágenes */
.jet-listing-grid__item .jet-listing-dynamic-image img {
    transition: transform 0.6s ease;
}

/* Mejoras en la transición del loading state */
#projects-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

#projects-grid.loading::before {
    opacity: 1;
    visibility: visible;
}

/* Animación para el contador de resultados */
#results-count {
    transition: opacity 0.3s ease;
}

#results-count.updating {
    opacity: 0.5;
}

/* Responsive: reducir altura en móviles */
@media (max-width: 768px) {
    #projects-grid .jet-listing-grid__item:nth-child(even) .jet-listing-dynamic-image img {
        height: 350px; /* Reducido en móviles */
    }
    .taxonomy-tabs-container .taxonomy-tabs-headers .checks {
        width: 100%;
        margin-top: 20px;
    }

    .taxonomy-tabs-container .taxonomy-tabs-headers {
        flex-direction: column-reverse;
    }

    .taxonomy-tabs-container .taxonomy-tabs-headers #projects-search {
        width: 100%;
    }

    .taxonomy-tabs-headers {
        gap: 10px;
    }
    
    .tab-header {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .terms-list {
        gap: 3px;
    }
    
    .term-checkbox-label {
        padding: 6px 12px;
    }    

    #projects-search {
        background-position: 95% center;
    }

}