@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
    font-family: 'Soligant';
    src: url('../font/Soligant.ttf') format('truetype'),
        url('../font/Soligant.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #141414;
     color:white;
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

#ar-button{
    visibility: hidden;
    display: none;   
}

.containerHero {
    margin: auto;
    width: 100%;
    height: 100vh;
    margin-top:-10rem;
    
}

.containerProject {
    margin: auto;
    width: 100%;
    height: 100vh;
    position: relative;
    text-shadow: #fff 0.5px 0 1px;
    
}

.imgHero {
    margin: auto;
    width: 70%;
    height: 70vh;
    position: absolute;
    top: 16em;
    display: flex;
    justify-content: center;
    align-items: flex-start;

}

.imgHero img {
    width: 60%;
    margin: 0 auto;

}

.model-viewerCruz {
    margin: 0 auto;
    width: 100%;
    height: 10vh;
}

.containerProject {
    display: flex;
    justify-content: center;
    
}

.containerProject h1 {
  width: 300px;
    font-family: "Host Grotesk", serif;
    font-weight: 700;
    font-size: 2.5em;
    text-align: center;

    position: absolute;
    top: 42%;
    margin: 0 auto;

}


.containerProject h2 {

    width: 22rem;
    font-family: "Host Grotesk", serif;
    font-size: 2.5em;
    text-align: center;
    position: absolute;
    top: 82%;
    margin: 0 auto;
 font-family: 'Soligant', serif;
    font-size: 2.5em;
    font-weight: 400;
    width: 300px;
}

.containerOverview {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    flex-wrap: wrap;
 text-shadow: #fff 0.5px 0 1px;
}



.containerOverview h4 {
    font-family: "Host Grotesk", serif;
    margin: 1em 0;
    margin-bottom: 0.1em;
    font-weight: 200;
    font-size: .7em;
    width: 70%;
    opacity: 0;
    animation: revealText 1.5s ease forwards;
}
.overlay {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: flex-start;
        gap: 3rem;
        height: auto;
       margin: auto;
        margin-top: 1rem;
        margin-left: 0;
        padding: 0.5rem 0rem;
        z-index: 1;
    } 

.overview {
    margin-left: 1em;

}

.overview h3 {
    margin: auto;
    margin-bottom: 1em;
    width: 100%;
    padding-right:0.5rem;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;
    opacity: 0;
    animation: revealText 1.5s ease forwards;
    mask-image: url(/img/vecteezy_black-ink.gif);
    mask-size: 100%;
    mask-position: center;
    mask-repeat: no-repeat;
}

.services {
    margin: .5em 1em;
    width: 8em;
}

.services h5 {
    margin: auto 0;
    width: 8em;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 400;
    font-size: 1em;
    opacity: 0;
    animation: revealText 3.5s ease forwards;
}


@keyframes revealText {
    0% {

        opacity: 0;
    }

    100% {

        opacity: 1;
    }
}

.extraInfo {
    margin-top: .5em;
    width: 10em;
}

.extraInfo h5 {
    margin: auto;
    margin-left: 1em;
    width: 8em;
    font-family: "Host Grotesk", serif;
    font-weight: 400;
    font-size: 1em;
    opacity: 0;
    animation: revealText 3.5s ease forwards;
}

.extraInfo h4 {
    margin-left: 1.4em;
}


.thumbnail {
    margin-top: 75%;
    margin-bottom: 20%;
    display: flex;
    align-items: center;
    position: relative;

}

.thumbText {
    margin: auto;
    opacity: 1;
    transition: all 4s;
}


.thumbText h4 {
    font-family: "Host Grotesk", serif;
    margin: 1rem;
    margin-bottom: 0.1em;
    font-weight: 100;
    font-size: .7em;
    width: 50%;

}



.thumbText h3 {

    margin-bottom: 1em;
    width: 55%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;


}

.thumbImg {

    width: 30%;
    height: auto;
    position: absolute;
    left: 60%;
    top: 55%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas:
        "a1 a2"
        "a5 a6";

    grid-gap: 3em;
}


.caja1 {
    width: 100%;
    margin-top: -4em;
    grid-area: a1;
}
.caja1 img{
    width: 100%;
   
}

.caja2 {
    width: 10em;
    height: 10em;
    margin-left: 1.em;
    margin-top: -1em;
    grid-area: a2;
    display:none;
}
.caja2 img{
    width: 10rem;
   
}

.caja5 {

    width: 80%;
    height: auto;
   
    margin-top: 4%;
    grid-area: a5;
}
.caja5 img{
    width: 8em;
}

.caja6 {
   
    width: 12em;
    height: 12em;
    margin-left: 3em;
    margin-top: -2em;
    grid-area: a6;
    display:none;
}
.caja6 img{
    width: 10em;
}



.imgEntra {
    margin: 40% auto;
    width: 90% ;
    height:auto;
    margin-bottom: 0%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
   transition: all 1s ease-in-out;
}

.imgEntra img {
    width: 100%;
    margin-bottom: -10px;
}



.containerVideo {

    margin: auto;
    margin-top: 20%;
    margin-bottom: 4%;
    height: auto; 
    width: 100%;
     transition: all 2s ease;
}

.containerVideo video{
    margin: auto;
    width:100%;
    height: auto; 
}
.imgNarrative {
     margin: 20% auto;
    width: 92%;
    height: 16rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 1s ease;
}

.imgNarrative img {
    width: 100%;
    height: 16rem;
}


h5 {
    margin: auto 1rem;
    width: 12em;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1.2em;

}

.containerObjective {
    margin: 10% auto;
    opacity: 0;
    margin-top:-38%;
    transition: all 4s;
}

.narrative {
    margin: auto;
    opacity: 1;
    transition: all 4s;
}
 

h3 {
    margin: auto;
    margin-bottom: 1em;
    margin-left: 1em;
    width: 92%;
    font-family: "Host Grotesk", sans-serif;
    font-weight: 300;
    font-size: 1em;
}

.cajaVarios {
    margin: auto;
    margin-top: 0;
    width: 92%;
    margin-bottom:8%;
    height: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 3s ease;   
}


.cajaVarios img {
    width: 100%;
    height: 16rem;
    margin-bottom: -10px;
}

.cajaMobiles {
    margin: -30% auto;
     width: 100%;
    height: 10%;
        display: none;

}

.imgM {
    margin: 10em auto;

    width: 100%;
    height: auto;
}


.integrated {
    margin: auto;
    width: 100%;
}

.integratedImg {
    margin: auto;
    padding-top: 8rem;
    width: 92%;
   
}
.integratedImg img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 3s ease;
}
.integratedText {
    margin: 10% auto;
    opacity: 0;
    transition: opacity 4s; 
}
.integratedText h3 a{
    cursor:pointer;
    text-decoration:none;
    color: white;
    font-weight:600;

}

.integratedText h3 a:hover{
    cursor:pointer;
    text-decoration:none;
    color: black;
    font-size:1.1rem;
    font-family:'Soligant', serif;
    color: white;
    font-weight:600;
}
.btn_extra_info h3 a{
    width: 240px;         /* fija o usa min-width */
    height: 48px;  
     padding: 0 10px;
  font-size: 14px; 
  line-height:1;
   text-overflow: ellipsis;
 font-weight:600;
  border: none;
   text-decoration: none; 
   cursor: pointer;
   transition: all 0.3s ease;
    background-color: rgba(134, 134, 134, 0.38);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4rem;
        backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: 2px solid rgba(230, 230, 230, 0.33); 
color: white;
}

.resultadoImg {
    margin: 45% auto;
     margin-top:20%;
    width: 92%;
transition: all 3s ease;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}


.resultadoImg Img {
    margin: auto;
    width: 100%;
    margin-bottom: -10px;
   
}
.resultadoImg1 {
    margin: 5rem auto;
    width: 92%;
transition: all 3s ease;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}


.resultadoImg1 Img {
    margin: auto;
    width: 100%;
    background-color: gold;
}
.nextSection {
    position: relative;
    margin: auto;
    width: 100%;
    height: 20rem;
}
.nextSection a {
    text-decoration: none;
      color:white;
}

.nextSection h2 {
    margin: 2.5em auto;
    width: auto;

    font-family: "Host Grotesk", serif;
    font-weight: 300;
    font-size: 2.5em !important;
    text-align: center;

}

.nextSubTitle {
    width: 80%;
    font-family: 'Soligant', serif;
    font-size: 1.22em;
    position: absolute;
    top: 3.375rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

img, video {
    opacity: 0; 
    transition: opacity 2s ease-in-out; 
  
}
img.loaded, video.loaded {
  opacity: 1; 
}
.containerObjective, .thumbText, .thumbText, .containerObjective, .narrative, .integratedText, .nextSection, .footer {
  opacity: 0;
  transition: opacity 1.5s ease-out, transform 1s ease-out;
}

.containerObjective.visible, .thumbText.visible, .thumbText.visible, .containerObjective.visible,  .narrative.visible, .integratedText.visible, .nextSection.visible, .footer.visible {
    opacity: 1;
  transform: translateY(0); 
}


    .claseEscalar {
    transform: scale(0.865); /* Aumenta el tamaño en un 20% */
    transition: transform 5s ease-in-out; 
}

@media (min-width: 630px) and (max-width: 1079px) {}


.imgEntra {
    margin: 10rem auto;
    width: 100%;
    height: auto;
}


@media (min-width: 1080px) {


    
.containerHero {
     position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    top:0;
}
  
  .containerProject {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;  
     justify-content: left;
  
}

    .imgHero {
    width: 100%;
    height: 70vh;
   
    margin:auto;
    position: absolute;
    top: 50%;
  left: 50%;
  transform: translate(-25%, -50%);

    }

  
    #ar-prompt {
        width: 2.2rem;
        height: 2.2rem;
        
    }

    .containerProject h1 {
          position: absolute;
        width: max-content;
        height: auto;
        margin: auto;
         top: 40%;
        transform: translateY(-40%);
        margin-left: 0;
  
        font-family: "Host Grotesk", serif;
        font-weight: 700;
        font-size: clamp(28px, 5vw, 64px);
        text-align: left;
    }


.containerProject h2 {
        position: absolute;
        width: 100%;
        height: auto;
        margin: auto;
          top: 50%;
        transform: translateY(-50%);
        margin-left:0;
        font-family: "Host Grotesk", serif;
        font-weight: 700;
         font-size: clamp(28px, 5vw, 64px);
        text-align: left;
        z-index: 2; 
           font-family: 'Soligant';
       font-size: clamp(30px, 5.1vw, 68px);  

    }


    .containerOverview {
        width: 100%;
        position: static;
        margin: auto;
        margin-top: -20%;
        margin-left: 0%;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start; /* Center horizontally */
        z-index:5;
        padding:0;
    }

    .containerOverview h4 {
        font-family: "Host Grotesk", serif;
        font-weight: 200;
        margin-bottom:0.4rem;
        font-size:0.8rem;
    }
.overlay {
        display: flex;
        width: auto;
        justify-content: center;
        align-items: flex-start;
        gap: 6rem;
        height: 100%;
         position: relative;   
    left: 35%;
    margin-top:0%;
    padding:0;
    transform: translateX(-43%);
        z-index: 1;
         /* background-color: rgba(132, 132, 132, 0.29);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.18); */
    } 
   .overview {
        margin-left: 0;
    }

    .overview h3 {
        margin: auto;
        width: 14em;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 2em;

    }

    .services {
        margin: auto;
        margin-left: 0%; 
    }

    .services h5 {
        margin: auto;
        width: 14em;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 1em;
    }


    .extraInfo {
        margin: auto;
        margin-left: -10%;
    }

    .extraInfo h5 {
        margin: auto;
        width: 14em;
        margin-left: 1.2rem;
        font-family: "Host Grotesk", serif;
        font-weight: 400;
        font-size: 1em;

    }

    .containerBtnScroll {
        margin: auto;
        width: 100%;
        height: 30px;
        bottom: 2rem;


    }

    .btnToScroll {
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.2rem;
        width: 8rem;
        height: 2.2rem;
        border-radius: 2rem;
        font-family: "Host Grotesk", sans-serif;
        cursor: pointer;

    }



   .thumbnail {
        position: relative;
        margin:  auto;
        padding: 0;
        margin-top: 20%;
       margin-bottom: 30%;    
        width: 100%;
        height: 20rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1200px;
    }


    .thumbText {
        margin: auto ;
        position: static;
         margin-left: 0%;
        width: 35rem;
        opacity: 1;
    }

    .thumbText h4 {
        font-family: "Host Grotesk", serif;
        margin-left: 0;
        margin-bottom: 0.5em;
        font-weight: 400;
        font-size: 1.2rem;
        width: 70%;
    }

    .thumbText h3 {
        margin-bottom: 1em;
        width: 35rem;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 300;
        font-size: 1em;
        margin-left: 0;
    }

    .thumbImg {
        width: 45.5em;
        margin:auto;
        height: 13em;
        position: absolute;
        left: 45%;
        top: 20%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-template-areas:
            "a1 a2"
            "a5 a6";

        grid-gap: 1em;
        
    }

    .cajaSube {
        transition: transform 2s ease;
        position: relative;
        transform: translateY(5px);
       
    }

    .cajaSube2 {
        transition: transform 3.5s ease-in-out;
        position: relative;
        transform: translateY(2px);
    }

    .caja1 {
        width: 20em;
        height: 20em;
        margin-top: -4em;
        margin-left:2rem;
        grid-area: a1;
    }
    .caja1 img{
        width: 20em;
    }
    

    .caja2 {
        width: 18em;
        height: 18em;
        margin-left: -22em;
        margin-top: 2em;
        grid-area: a2;
        display:block;
    }
    .caja2 img{
        width: 18em;
    }

    .caja5 {
        width: 20em;
        height: 21;
        margin-left: 2em;
        margin-top: 2rem;
        grid-area: a5;
    }

    .caja5 img{
        width: 20em;
    }
    

    .caja6 {
        width: 18em;
        height: 18em;
        margin-left: -22em;
        margin-top: -1em;
        grid-area: a6;
        display:block;
    }
    .caja6 img{
        width: 18em;
    }
    
    .imgEntra {
        margin: 10% auto;
        width: 90%;
        margin-bottom: 25%;
        height: auto;
    }

    .imgEntra img {
        width: 100%;
        height: auto;
        margin: auto;
        margin-bottom:-10px;
    }

    .containerVideo {
        margin: 2em auto;
        width: 100%;
        height: 110vh;
        display:flex;
        justify-content:center;
        background-color:rgb(8, 8, 8);
        padding: 1rem auto;
        
    }

    .containerVideo video {
        width: 854px;
        height: 480px;
        
    }


    .containerNarrative {
        width: 100%;
        margin-top:18%;
        margin-bottom: 0%;
        height: auto;
        transition: all 3s ease-in-out; 
    }

    .imgNarrative {

        margin: auto;
        margin-top: 0;
        margin-bottom: 17%;
        width: 90%;
        height: auto;   
    }
    
     .imgNarrative img {
        width: 100%;
        height: auto; 
        margin-bottom: -10px;  
    }

 .containerObjective, .integratedText,  .narrative{
        width: 100%;
        margin: 10rem auto;
       max-width: 1200px;
        display: flex;
        justify-content: center;
        align-items: flex-start;    
        text-align: left;
        gap: 8rem;
    }

.containerObjective{
    margin-top:-10%;
}
    .integratedText {
        margin-top: -20%;
        margin-bottom:1%;
    }

/* 
    .narrative{
        width: 100%;
        margin-top: 0%;
        margin-left: 16%;
        margin-bottom: 18%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    } */

 .containerObjective h5,
    .narrative h5,
    .integratedText h5 {
        width: 250px;
        flex-shrink: 0;
        width: auto;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 700;
        font-size: 2em;
        margin:  0;
    }


    h3 {
        margin: auto;
        margin-bottom: 1em;
        margin-left: 12em;
        width: 35%;
        font-family: "Host Grotesk", sans-serif;
        font-weight: 300;
        font-size: 1em;
    }
 .containerObjective  h3, .narrative h3, .integratedText h3 {
        margin: auto;
        margin-bottom: 1em;
text-align: left;
width: 35%;
max-width: 50%;
margin: 0;
      }
.integratedText h3 {
    margin-bottom:1 %;
}
.btn_extra_info{
    margin: auto;
    display:flex;
     justify-content: center;  
}
.btn_extra_info h3 {
      margin: 0;
    padding: 0;           /* Remover márgenes por defecto del h3 */
}

.btn_extra_info h3 a{
   margin-left:31%;
   (translateX(-31%));
    padding: 15px 32px; 
  text-align: center; 
   display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;         /* fija o usa min-width */
    height: 48px;  
 padding: 0 20px;
  font-size: 16px; 
  line-height:1;
   text-overflow: ellipsis;
 font-weight:600;
  border: none;
 color: white;
   text-decoration: none; 
   cursor: pointer;
   transition: all 0.3s ease;
    background-color: rgba(134, 134, 134, 0.38);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4rem;
        backdrop-filter: blur(5.2px);
    -webkit-backdrop-filter: blur(5.2px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: 2px solid rgba(230, 230, 230, 0.33); 
}
.btn_extra_info h3 a:hover { 
  opacity: 0.8;
  font-family:'Soligant', serif;

 }

    .cajaVarios {
        margin: auto;
         width: 90%;
         margin-top:0%;
         margin-bottom: 0%;
    height: auto;
    }
    
     .cajaVarios img {
        width: 100%;
        height: 100%;
        margin-bottom: -10px;
    }

    .cajaMobiles {
        margin: 10rem auto;
        margin-top:0;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1800px;
        display: block;
}

.imgM {
    width: 100%;
    height: 100%;
    transition: transform 6s ease-in-out;
}
@media (prefers-reduced-motion: no-preference) {
    .imgM {
        transform-origin: center;
        animation: rotate3D linear;
        animation-timeline: view();
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(-60deg);
    }
}

  
.integratedImg {
        margin: -20rem auto 10rem;
         width: 90%;
        height: 55rem;
        
    }
    
     .integratedImg img {
        width: 100%;
        height: 55rem;

    }
    
    .resultadoImg {
        margin: 10% auto 15%;
         width: 90%;
         height: auto;
        
    }
    
     .resultadoImg img {
        width: 100%;
        height: auto;
        margin-bottom: -10px;
        
    }
    .resultadoImg1 {
        margin: 10rem auto 10rem;
         width: 90%;
         height: 55rem;
        
    }
    
     .resultadoImg1 img {
        width: 100%;
        height: 55rem;
    }


   
.nextSection {
        margin: auto;
        width: 100%;
        height: 20rem;
        text-align: center;
        position: relative;
    }

    .nextSection a h2 {
        margin: 2.5em auto;
        width: 100%;
        font-family: "Host Grotesk", serif;
        font-weight: 300;
        font-size: 2.5em;
        text-align: center;
        position: absolute;
        top: -4rem;
        z-index:1;
    }

     .nextSection a h2:hover{
        font-family: 'Soligant', serif;
    font-size: 2.6em;
    }

    .nextSection a{
text-decoration:none;
color:white;
    }

    .nextSection a:hover{
        text-decoration:none;
        color: rgba(255, 255, 255, 0.49);
        font-family: 'Soligant', serif;
            }
        

    .nextSubTitle {
        margin: auto;
        margin-left: 0;
        width: 100%;
        font-family: 'Soligant';
        font-size: 1.22em;
        text-align: center;
        display: inline;
        z-index:1;
        position: absolute;
        top: 54px;
        left: 50%;
    transform: translateX(-50%);
    text-align: center;
    }

   
    



    .claseEscalar {
    transform: scale(0.865); /* Aumenta el tamaño en un 20% */
    transition: transform 5s ease-in-out; 
    /* Hace la transición suave */
}
}