/* CONFIGURACION */
@font-face {
    font-family: "Intro rust";
    src: url("/assets/fonts/IntroRust-Base.otf");
    font-display: swap
}
:root{
    --beige--:  #cfcfcf;
    --blue--: #3740b2;
    --darkBlue--: #202358;
    --white--: #ffff;
    --purple--: #5e17eb;
    --lightPurple--: #c198f8;
    --transparent--: #06082e73;
    --celeste--: #7a92ff;
}
*{
    font-family: "Intro rust", sans-serif;
    color: var(--white--);
}
html, body {
    overflow-x: clip;
}
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none; /* Inhabilita el gesto de scroll en móviles */
}
/* SECTION'S */
.section-form{
    min-height: 100vh;
}
.section-servicios{
    height: 350vh;
}
.section-contact{
    height: 100vh;
}
.section-form, footer{
    background-color: var(--blue--);
}
#servicios{
    height: 150vh;
    padding-top: 50px;
}
.no-clic {
  pointer-events: none;
}
/* BOTONES */
.logo{
    text-decoration: none;
}
.btn-close-modal{
    font-size: 2rem;
}
.btn-primario{
    background-color: var(--blue--);
    border: none;
    border-radius: 50px;
    padding: 20px;
    padding-inline: 50px;
    text-decoration: none;
}
.btn-primario:hover{
    opacity: 0.8;
    transform: scale(1.1);
}
.btn-secondary{
    background-color: var(--beige--);
    color: var(--blue--);
    border: none;
    border-radius: 50px;
    padding: 20px;
    padding-inline: 50px;
}
.btn-primary:hover, .btn-secondary:hover{
    transform: scale(1.05);
    transition: 0.2s;
}
/* HERO */
.hero-text{
    position: absolute;
    top: 20%;
    margin-left: 30px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 80%;
    z-index: 10;
}
.text-huge{
    max-width: 100%;
    font-size: clamp(2.5rem, 6vw, 5rem);
}
.text-hero{
    color: var(--beige--);
    font-size: clamp(1rem, 1.5vw, 2rem);
}
/* BARRA DE NAVEGACION */
.nav-bar{
    opacity: 0;
    transform: translateY(-50px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
nav{    
    z-index: 99;
}
ul{
    text-decoration: none;
}
ul li{
    margin-right: 20px;
    list-style: none;    
}
ul li a{
    text-decoration: none;
    color: var(--white--);
    font-size: clamp(0.8rem, 1vw, 2rem);
}
.logo{
    font-size: clamp(1rem, 2vw, 2rem);
}
button a{
    text-decoration: none;
    color: var(--white--);
}
/* SECTION HERO */
.section-hero{
    height: 100vh;
}
.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
}
.video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.astronauta{
    position: absolute;
    width: auto;
    height: 80%;
    right: 5%;
    bottom: 0;
}
/* SERVICIOS */
.visually-hidden{
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.icon{
    width: clamp(60px, 8vw, 120px);
    height: auto;
}
.block-nave {
    height: 150vh; 
    position: relative;
}
.texto-descripcion{
    background-color: rgba(128, 128, 128, 0.541);
    font-size: clamp(1rem, 1.5vw, 2rem);
    padding: 20px;
    border-radius: 20px;
    font-family: sans-serif;
    font-weight: 900;
}
.block-carrusel {
    height: 200vh;
    position: relative;
}
.nave-espacial{
    width: 30%;
    z-index: 9;
    transform: translateX(-100%) translateY(100%);
}
.sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.carousel{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.group{
    display: flex;
    animation: spin 20s infinite linear;
}
.card-planeta{
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-planet{
    width: 30rem;
    flex-shrink: 0;
}
.modal-servicios{
    position: absolute;
    width: 40%;
    right: 10%;
    bottom: 20%;
    background-color: rgba(128, 128, 128, 0.541);
    padding: 20px;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1vw, 2rem);
}
.modal-titulo{
    font-size: clamp(1rem, 2vw, 2rem);
    text-align: center;
    display: flex;
    justify-content: center;
    width: 25%;
}
.modal-icon{
    width: 15rem;
    height: auto;
}
.astronauta-sobre-luna{
    position: absolute;
    bottom: 0; 
    right: -5%; 
    width: 40%;
}
.text-medium{
    font-size: clamp(1rem, 4.5vw, 5rem);
}
.text-small{
    font-size: clamp(0.8rem, 0.8vw, 1rem);
}
/* CONTACT */
.line{
    margin: 0;
    padding: 0;
}
.line-1{
    font-size:  clamp(2.5rem, 10vw, 8rem);
}
.line-2{
    font-size:  clamp(2.5rem, 16vw, 13rem);
}
.line-3{
    font-size:  clamp(2.5rem, 10vw, 8rem);
}
.line-small{
    font-size:  clamp(2.5rem, 11vw, 9rem);
}
h4 a{
    text-decoration: none;
    color: var(--white--);
}
i{
    margin-inline: 10px;
    font-size: clamp(0.8rem, 3vw, 3rem);
}
form>div{
    margin-bottom: 10px;
}
#email, #mensaje, #asunto, #nombre{
    background-color: transparent;
    color: var(--white--);
}
textarea{
    height: 150px;
}
.item{
    opacity: 0;
    transform: translateX(-50px);
}
.item>a{
    font-size: clamp(0.8rem, 2vw, 1rem);
}
.item>a:hover{
    color: var(--beige--);
}
.contact-animation{
    opacity: 0;
    transform: translateX(50px);
}
.redes-sociales{
    width: 40%;
}
.formulario{
    width: 60%;
}
.footer{
    font-size: clamp(0.8rem, 1vw, 2rem);
}
/* SOBRE NOSOTROS | INICIO */
#sobre-nosotros{
    height: 100vh;
}
#equipo{
    height: 100vh;
}
.block-izquierda{
    background-color: #06082e73;
    height: 90%;
}
.title{
    width: 90%;
}
.title, .resaltado{
    font-size: clamp(1rem, 3.5vw, 5rem);
}
.resaltado {
    background-color: var(--white--);
    color: #000000;
    mix-blend-mode: screen;
    width: 90%;
    padding: 15px 20px;
    border-radius: 50px;
    white-space: nowrap;
    text-align: center;
}
p{
    font-size: clamp(0.5rem, 1vw, 5rem);
}
h2{
    font-size: clamp(1rem, 2vw, 6rem);
}
h3{
    font-size: clamp(0.8rem, 1.5vw, 5rem);
}
.imagenes-inicial>img{
    height: 100%;
    bottom: 0;
}
/* SOBRE NOSOTROS | EQUIPO */
.subtitulo{
    font-size: clamp(1.5rem, 2vw, 5rem);
}
.block-equipo{
    flex-direction: row;
}
.card-personal{
    margin-inline: 10px;
    width: 45%;
    height: 43vh;
    background-color: var(--transparent--);
    padding: 10px;
    border-radius: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}
.personal-info{
    display: flex;
    flex-direction: row;
}
.text-personal{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    margin-left: 15px;
}
.personal-foto{
    width: 7rem;
    height: auto;
}
.area{
    color: var(--purple--);
    border-bottom: var(--purple--) 2px solid;
}
/* SOBRE NOSOTROS | PORTAFOLIO */
#modal{
    background-color: transparent;
    height: 100%;
    width: 90%;
    border: 3px solid var(--white--);
    border-radius: 20px;
}
.portfolio-header{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.portfolio-header>h2{
    font-size: clamp(1rem, 3vw, 6rem);
    border-bottom: 3px solid var(--blue--);
}
.portfolio-header>h6{
    font-size: clamp(1rem, 1.5vw, 6rem);
    margin: 0;
    padding: 0; 
}
.grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 95%;
    margin-inline: auto;
    margin-top: 10px;
}
.grid-big{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 95%;
    margin-inline: auto;
    margin-top: 10px;
}
.card-negocio{
    background-color: var(--darkBlue--);

    display: flex;
    align-items: center;

    padding: 20px;
    height: 13rem;
    border-radius: 20px;
}
.info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-left: 10px;
}
.info>h3, .info>a{
    font-family: sans-serif;
    font-weight: 800;
}
.info>h3{
    font-size: clamp(1rem, 1.7vw, 2rem);
}
.logo-negocio{
    width: auto;
    height: 60%;

    margin-left: auto;
    padding-inline: 10px;
}
.azul{
    color: var(--celeste--);
}
.purple{
    color: var(--purple--);
}
.btn-portafolio{
    font-size: clamp(0.8rem, 1vw, 2rem);
    text-decoration: none;
}
/* NEGOCIO PORTAFOLIO */
#modal{
    ::-webkit-scrollbar {
      display: none;
    }
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.negocio-container{
    padding-top: 30px;
}
.services-menu{
    display: flex;
    flex-direction: column;
}
.negocio-container>.col-3>p{
    color: var(--lightPurple--);
    margin-bottom: 0;
    padding-bottom: 0;
}
.service-item{
    text-decoration: none;
    color: var(--white--);
    background-color: var(--transparent--);

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: var(--lightPurple--) 2px solid;
    border-radius: 10px;
    border-style: outset;

    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 5rem;
}
.service-item.active{
    background: linear-gradient(90deg, var(--blue--), var(--purple--));
}
.service-item>span{
    font-size: clamp(0.5rem, 0.8vw, 1rem);
    color: var(--lightPurple--);
}
.service-item.active>span{
    font-size: clamp(0.5rem, 0.8vw, 1rem);
    color: var(--white--);
}
.negocio{
    display: none;
}
.negocio.active{
    display: flex;
    flex-direction: column;
}
.info-negocio{
    display: flex;
    flex-direction: column;
    align-items: start;

    margin-bottom: 20px;
}
.info-negocio>h2, .info-negocio>p{
    font-family: sans-serif;
}
.img-servicio{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    border-radius: 10px;
}
.card-servicio{
    margin-bottom: 5px;
}
.img-modal{
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: var(--transparent--);
    top: 0;
    right: 0;
    z-index: -10;

    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.img-modal.active{
    opacity: 1;
    z-index: 999;
}
.img-modal>img{
    max-width: 80%;
    max-height: 80%;
}
/* SERVICIOS | INICIO */
.container-text{
    width: 50%;
    margin-left: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.astronauta-servicio{
    width: 40%;

    position: absolute;
    bottom: 0;
    right: 0;
}
.grid-servicios{
    display: grid;
    grid-template-columns: repeat(3, 30vw);
    grid-auto-rows: 40vh;

    gap: 10px;
    margin-inline: 20px;
}
.servicios-card{
    background: linear-gradient(90deg, var(--blue--), var(--transparent--));
    display: flex;
    flex-direction: row;

    border-top: 1px solid var(--celeste--);
    border-left: 1px solid var(--celeste--);
    border-radius: 20px;
}
.letra-simple{
    font-family: sans-serif;

}
.servicios-btn{
    background-color: var(--transparent--);
    border: 1px solid var(--celeste--);
    border-radius: 20px;

    font-family: sans-serif;
    width: 40%;
    padding: 5px;

    color: var(--white--);
    text-decoration: none;
    text-align: center;
    font-size: clamp(0.5rem, 1vw, 3rem);
}
.servicios-btn:hover{
    background-color: var(--blue--);
}
.title-h3{
    font-size: clamp(0.8rem, 1.5vw, 3rem);
}
/* SERVICIOS ESPECIALIZADO */
.container-servicios{
    display: flex;
    padding-top: 80px;
}
.info-servicio{
    position: sticky;
    top: 10%;

    height: 100%;
    width: 40%;

    margin-left: 20px;
}
.test-servicio{
    width: 60%;
    height: auto;

    display: flex;
    align-items: center;
    flex-direction: column;
}
.show-service{
    background-color: var(--transparent--);

    position: relative;
    width: 80%;
    height: 40vh;
    margin: 10px;
    padding: 20px;
    border-radius: 20px;

    display: flex;
}
.show-service>div>span{
    top: 5%;
}
.container-imagenes{
    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 10px;
}
.img-ser{
    margin-inline: 5px;

    height: auto;
    width: 25%;
}
.container-beneficios{
    background-color: var(--transparent--);

    border-radius: 20px;
    padding: 10px;
}
.text-beneficios{
    font-size: clamp(1rem, 1vw, 5rem);

    padding: 5px;
    width: 100%;
    text-align: center;
}

/* Tablet */
@media (max-width: 992px) {
    .astronauta{
        width: 80%;
        height: auto;
        bottom: -10%;
    }
    .nave-espacial{
        width: 80%;
    }
    .servicios{
        position: static;
        opacity: 1;
        scale: 1;
        margin-top: 20px;
    }
    .niebla, .niebla2, .niebla3{
        width: 80%;
    }
    .modal-servicios{
        width: 40%;
        right: 10%;
        bottom: 50%;
    }
    .astronauta-sobre-luna{
        width: 100%;
    }
    .grid-servicios{
        grid-template-columns: repeat(3, 30vw);
        grid-auto-rows: 30vh;
    }
    .astronauta-servicio{
        width: 60%;
    }
    .imagenes-inicial>img{
        height: 60%;
        bottom: 0;
    }
    .block-equipo{
        flex-direction: column;
    }
    .card-personal{
        width: 100%;
        margin-inline: 0; 
        margin-bottom: 10px;
    }
    #equipo{
        margin-top: 100px;
    }
}

/* Mobile */
@media (max-width: 726px) {
    .astronauta{
        width: 100%;
        height: auto;
        bottom: 0.5%;
        right: -10%;
    }
    .niebla, .niebla2, .niebla3{
        width: 100%;
    }
    .niebla2{
        right: 0;
    }
    .section-form{
        flex-direction: column;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .section-form>div{
        width: 90%;
        margin-top: 50px;
    }
    .redes-sociales, 
    .formulario {
        width: 100%;
    }
    .footer{
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    .descripcion{
        color: var(--beige--);
        font-size: 0.7rem;
    }
    .modal-servicios{
        bottom: 20%;
        width: 85%;
    }
    .astronauta-sobre-luna{
        height: 40%;
        width: auto;
        right: -20%;
    }
    .img-planet{
        width: 20rem;
    }
    .grid-servicios{
        display: grid;
        grid-template-columns: repeat(1, 70vw);
        grid-auto-rows: 30vh;
    }
    .astronauta-servicio{
        width: 60%;
    }
    .container-servicios{
        flex-direction: column;
        align-items: center;

    }
    .info-servicio{
        position: static;

        height: 100%;
        width: 80%;
        margin: 0;
    }
    .test-servicio{
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
    }
    .block-equipo{
        flex-direction: column;
    }
    .card-personal{
        width: 100%;
        margin-inline: 0; 
        margin-bottom: 10px;
    }
    #equipo{
        margin-top: 100px;
    }
    .grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        width: 95%;
        margin-inline: 0;
        margin-top: 10px;
    }
    .grid-big{
        grid-template-columns: repeat(1, 1fr);
    }
    #modal{
        background-color: transparent;
        height: 100%;
        width: 100%;
        border: none;
        margin-inline: 0;
    }
    .negocio-container{
        flex-direction: column;
    }
    .services-menu{
        flex-direction: row;
    }
    .service-item{
        text-decoration: none;
        color: var(--white--);
        background-color: var(--transparent--);

        display: flex;
        flex-direction: column;
        justify-content: center;

        border: var(--lightPurple--) 2px solid;
        border-radius: 10px;
        border-style: outset;

        font-size: 10px;

        padding: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        width: auto;
        height: auto;
    }
    .img-modal{
        left: 0;
        bottom: 0;
    }
    .img-servicio{
        width: 100%;
    }
    .negocio-container>.col-9{
        width: 100%;
    }
    .info-negocio>h2{
        text-align: center;
    }
    .show-service{
        flex-direction: column;
    }
    .show-service>.d-flex>h2{
        position: absolute;
        right: 8%;
        margin-top: 10px;
    }
    .container-imagenes{
        height: 100%;
        margin-inline: 0;
    }
    #sobre-nosotros{
        padding-top: 30px;
    }
}   

/* ANIMATIONS */
@keyframes spin {
    from {translate: 0;}
    to {translate: -100%;}
}