@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=REM:ital,wght@0,100..900;1,100..900&display=swap');
/* CSS Document */


html, body {
  padding: 0;
  color: #333;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: "REM", sans-serif;
    font-size:10px;
    text-decoration:none;
    font-optical-sizing: auto;
    font-weight: 400;
}
			
.animation {
		-webkit-transition: all .25s ease-out;
  	-moz-transition: all .25s ease-out;
  	-o-transition: all .25s ease-out;
  	transition: all .25s ease-out;
}

.align {
	display: table-cell; 
	vertical-align: middle;
}

/*HEADER*/

header {
	width:  calc(100% - 16rem);
	z-index: 40;
	top: 0;
	left: 0;
	padding: 0 8rem;
    height: 10rem;
    display: table;
    position: fixed;
    text-align: left;
}
.header-black, .header-white {
	background-color: #FFF;
    -webkit-box-shadow: 0 0 5rem 0 rgba(0,0,0,0.5); 
    box-shadow: 0 0 5rem 0 rgba(0,0,0,0.5);
    text-align: center;
    height: 8rem;
}
.header-white {
	background-color: #000;
}

header .logo {
vertical-align: middle;
display: inline-block;
width: 20rem;
}
header .logo-small {
vertical-align: middle;
display: inline-block;
width: 16rem;
}
header .logo img {
width: 100%;
height: auto;
}


footer {
	width:  100%;
    z-index: 40;
    position: relative;
}
footer .cta {
background-color: #ff0033;
width:  calc(100% - 16rem);
padding: 6rem 8rem;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("images/texture-cta.svg");
}

footer .info {
background-color: #000;
width:  calc(100% - 16rem);
padding: 4rem 8rem;
}
footer .info .item {
display: inline-block;
vertical-align: middle;
text-decoration: none;
margin-right: 4rem;
}

/*MAIN BANNER*/

.main-banner {
width: 100%;
height: 100vh;
position: relative;
overflow: hidden;
z-index: 1;
}
.main-banner video {
      position: fixed;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: -1;
      transform: translate(-50%, -50%);
      object-fit: cover; /* ajusta el video al contenedor */
}
.main-banner .content {
      position: relative;
      z-index: 1;
      display: flex;
      height: 100%;
      background: rgba(0,0,0,0.4); /* opcional: oscurece un poco el fondo */
}
.main-banner .txt {
width: calc(100% - 16rem);
position: absolute;
z-index: 2;
left: 0;
bottom: 0;
top: 0;
right: 0;
padding: 0 8rem;
display: flex;
  align-items: center;  /* Alinea verticalmente */
  justify-content: left; /* Alinea horizontalmente (opcional) */
}
.down {
    appearance: none;
    border: none;
    color: transparent;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    bottom: 6rem;
    left: 8rem;
    z-index: 10;
}




/*SLIDES */
.slide-nosotros, .slide-stats, .slide-soluciones, .slide-portafolio, .slide-proyectos, .slide-clientes, .slide-detalle, .slide-destacados {
width: calc(100% - 16rem);
position: relative;
text-align: left;
padding: 6rem 8rem;
background-color: #FFF;
z-index: 2;
}
.slide-destacados {
background-color: #e8e8e8;
}
.slide-nosotros  {
z-index: 2;
background-color: rgba(0,0,0,.8);
}
.slide-nosotros .left {
width: 50%;
float: left;
}
.slide-nosotros .right {
width: 35%;
float: right;
}

.benefit {
display: block;
vertical-align: top;
width: 100%;
text-align: left;
margin-bottom: 2rem;
}
.benefit img {
width: 3rem;
height: auto;
float: left;
}
.benefit .txt {
float: right;
width: calc(100% - 6rem);
}


.slide-stats {
z-index: 3;
background-color: #000;
}
.stat {
float: left;
width: calc(25% - 10rem);
margin-right: 2rem;
background-image: url("images/plus-red.svg");
background-position: left top;
background-repeat: no-repeat;
background-size: 8rem;
padding-left: 6rem;
padding-top: 2rem;
}


.slide-soluciones {
background-color: #e8e8e8;
background-position: right center;
background-size: auto 100%;
background-repeat: no-repeat;
background-image: url("images/texture.svg");
}
.slide-soluciones .thumb {
width: calc(33.3333% - 2.4rem);
background-color: #e8e8e8;
border: solid .1rem #000;
margin-right: 3rem;
position: relative;
display: inline-block;
text-align: left;
vertical-align: top;
aspect-ratio: 1 / 1.2;
}
.slide-soluciones .thumb .tittle {
position: absolute;
top: 4rem;
right: 4rem;
left: 4rem;
}
.slide-soluciones .thumb .tittle img {
width: 8rem;
height: auto;
margin-bottom: 1rem;
}
.slide-soluciones .thumb .info {
position: absolute;
bottom: 4rem;
right: 4rem;
left: 4rem;
}




.slide-clientes {
  padding: 6rem 0;
  overflow: hidden;
  width: 100%;
}

.clientes-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clientes-track {
  display: flex;
  width: calc(200%); /* duplicado */
  animation: scroll 40s linear infinite;
}

.clientes-track img {
  height: auto;
  height: 6rem;
  margin: 0 2rem;
  object-fit: contain;
  filter: grayscale(100%);
}

.clientes-track img:hover {
  filter: grayscale(0);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}





.slide-portafolio {
padding-bottom: 0;
}


.slide-portafolio .thumb  {
aspect-ratio: 1 / 1.2;
width: calc(33.3333% - 1.3333rem);
margin-right: 2rem;
background-color: #000;
position: relative;
float: left;
margin-bottom: 2rem;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
}
.slide-portafolio .thumb .tittle {
position: absolute;
left: 4rem;
right: 4rem;
top: 4rem;
z-index: 2;
opacity: 1;
}

.slide-portafolio .thumb .info {
opacity: 0;
position: absolute;
left: 4rem;
right: 4rem;
top: 4rem;
z-index: 3;
}
.slide-portafolio .thumb .shadow {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
z-index: 1;
opacity: .5;
background: #000;
background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%);
}

.slide-portafolio .thumb:hover .info {
opacity: 1;
}
.slide-portafolio .thumb:hover .tittle {
opacity: 0;
}

.slide-portafolio .thumb .info img {
width: 2rem;
margin-top: 1rem;
}


.slide-detalle {
padding-top: 16rem;
}
.slide-detalle .left .tab {
margin-bottom: 1rem;
}
.slide-detalle .left {
float: left;
width: 30rem;
position: sticky;
top: 16rem;
left: 8rem;
}
.slide-detalle .right {
float: right;
width: calc(100% - 40rem);
}


.slide-proyectos .thumb {
/*width: 40rem;*/
 flex: 0 0 calc(100% - 16rem); /* ancho fijo */
height: 60rem;
position: relative;
background-color: #e8e8e8;
display: inline-block;
 vertical-align: top;
}

.slide-proyectos .thumb:first-child {
  margin-left: 8rem;
}

.slide-proyectos .thumb:last-child {
  margin-right: 8rem;
  flex-shrink: 0; /* importante para que no se reduzca */
}
.slide-proyectos .thumb .img {
width:calc(100% - 40rem);
height: 60rem;
float: right;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.slide-proyectos .thumb .content {
width: 40rem;
height: 60rem;
float: left;
}
.slide-proyectos .thumb .content .tittle {
position: absolute;
top: 4rem;
right: 4rem;
left: 4rem;
}
.slide-proyectos .thumb .content .info {
position: absolute;
bottom: 4rem;
right: 4rem;
left: 4rem;
}
.slide-proyectos .thumb .content .info .tab {
margin-bottom: 1rem;
}


  .slider-container {
  position: relative;
  left: -8rem;
    overflow: hidden;
    width: calc(100% + 16rem);
  }

  .slider-track {
    display: flex;
    gap: 8rem; /* espacio entre los thumbs */
    transition: transform 0.3s ease;
  flex-wrap: nowrap; /* importante: que no haga wrap */
  }






/* FONTS */
.t0 {
	font-size:8rem;
	line-height: 6rem;
    font-weight: 600;
}
.t1 {
	font-size:3.6rem;
	line-height: 4rem;
}
.t2 {
	font-size:2.4rem;
	line-height: 3rem;
    font-weight: 300;
}
.t3 {
	font-size:2rem;
	line-height: 2.6rem;
    font-weight: 300;
}
.t4 {
	font-size:1.6rem;
	line-height: 2.2rem;
     font-weight: 300;
}
.t5 {
	font-size:1.2rem;
	line-height: 1.8rem;
     font-weight: 300;
}


.white {
	color:#FFF;
}
.black {
color: #000;
}

.tag-red {
background-color: #ff0033;
color: #FFF;
padding: 0 .5rem;
}
.tag-white {
background-color: #fff;
color: #000;
padding: 0 .5rem;
}


.bt-more {
display: inline-block;
vertical-align: middle;
border-radius: 0;
border: none;
color: #000;
text-align: left;
text-decoration: none;
font-size:1.4rem;
cursor: pointer;
margin: auto;
background-position: left center;
background-size: 3rem auto;
background-repeat: no-repeat;
background-image: url("images/plus-black.svg");
padding: 1rem 0 1rem 5rem;
background-color: transparent;
font-weight: 500;
}

.bt-cta {
float: right;
}
.txt-cta {
float: left;
}
.bt-left, .bt-right {
    appearance: none;
    border: none;
    color: transparent;
    background-color: transparent;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 3rem;
}
.bt-left {
    margin-right: 3rem;
    background-image: url("images/arrow-left.svg");
}
.bt-right {
    background-image: url("images/arrow-right.svg");
}



@media screen and (min-width: 651px) and (max-width: 1250px) {
  html, body {
    font-size: 9px;
  }
}

@media screen and (min-width: 1651px) and (max-width: 1850px) {
  html, body {
    font-size: 11px;
  }
}
@media screen and (min-width: 1851px) and (max-width: 2050px) {
  html, body {
    font-size: 13px;
  }
}

@media screen and (min-width: 2051px) and (max-width: 2500px) {
  html, body {
    font-size: 15px;
  }
}



@media screen and (max-width: 650px) {

/*HEADER*/

html, body {
		font-size:10px;
}

/*HEADER*/

header {
	width:  calc(100% - 8rem);
	padding: 0 4rem;
    height: 8rem;
}
.header-black {
    height: 6rem;
}

header .logo {
width: 16rem;
}
header .logo-small {
width: 12rem;
}



footer .cta {
width:  calc(100% - 8rem);
padding: 4rem;
}

footer .info {
width:  calc(100% - 8rem);
padding: 4rem;
}
footer .info .item {
display: block;
margin-bottom: 2rem;
margin-right: 0;
}

/*MAIN BANNER*/


.main-banner .txt {
width: calc(100% - 8rem);
padding: 0 4rem;
top: initial;
bottom: 12rem;
}
.down {
    bottom: 4rem;
    left: 4rem;
}


/*SLIDES */
.slide-nosotros, .slide-stats, .slide-soluciones, .slide-portafolio, .slide-proyectos, .slide-clientes, .slide-detalle {
width: calc(100% - 8rem);
padding: 4rem;
}
.slide-nosotros .left {
width: 100%;
float: none;
margin-bottom: 4rem;
}
.slide-nosotros .right {
width: 100%;
float: none;
}


.stat {
float: none;
width: calc(100% - 6rem);
margin-bottom: 2rem;
margin-right: 0;
}

.slide-soluciones .thumb {
width: calc(100% - .4rem);
margin-right: 0;
margin-bottom: 2rem;
}

.slide-clientes {
  padding: 4rem 0;
  width: 100%;
}


.slide-portafolio .thumb {
width: 100%;
margin-right: 0;
float: none;
}





.slide-proyectos .thumb {
flex: 0 0 calc(100% - 8rem);
height: initial;
}

.slide-proyectos .thumb:first-child {
  margin-left: 4rem;
}

.slide-proyectos .thumb:last-child {
  margin-right: 4rem;
}

.slide-proyectos .thumb .img {
width:100%;
height: initial;
padding-top: 60%;
float: none;
}
.slide-proyectos .thumb .content {
width: calc(100% - 4rem);
padding: 2rem;
height: initial;
float: none;
}
.slide-proyectos .thumb .content .tittle {
position: initial;
margin-bottom: 2rem;
}
.slide-proyectos .thumb .content .info {
position: initial;
}


  .slider-container {
  left: -4rem;
    width: calc(100% + 8rem);
  }



/* FONTS */
.t0 {
	font-size:5rem;
	line-height: 4rem;
}
.t1 {
	font-size:2.6rem;
	line-height: 3.2rem;
}
.t2 {
	font-size:2rem;
	line-height: 2.6rem;
}
.t3 {
	font-size:1.6rem;
	line-height: 2.4rem;
}
.t4 {
	font-size:1.4rem;
	line-height: 1.8rem;
}
.t5 {
	font-size:1rem;
	line-height: 1.4rem;
}
.delete {
display: none;
}

.bt-cta {
float: none;
margin-top: 3rem;
}
.txt-cta {
float: none;
}
.slide-detalle .right img {
width: 100%;
display: block;
height: auto;
}
.slide-detalle .left, .slide-detalle .right {
float: none;
width: 100%;
position: initial;
}



.slide-detalle {
padding-top: 14rem;
}

}