/* ----------- inicio rocketlab__impulse --------- */

.rocketlab{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
    container-type: inline-size;
    container-name: rocketlab;
    overflow-x: hidden;
    align-items: center;
    z-index: 1;
}

.rocketlab__background-color{
    width: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
}

.rocketlab__impulse{
    display: flex;
    flex-direction: column;
    padding: 60px 10px 30px 10px;
    width: 100%;
    max-width: 1500px;
}

.rocketlab__impulse-title-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex: 2;
    opacity: 0;
    transition: opacity 1.3s ease;
    font-family: monospace;
}

.rocketlab__impulse-title-container.visible{
    opacity: 1;
}

.rocketlab__impulse-title{
    font-size: 1.9rem;
    color: #FFF;
    text-align: left;
    max-width: 700px;
    font-weight: bold;
}

.text-decoration{
    color: #d45204;
    position: relative;
}

.rocketlab__impulse-text{
    font-size: 1.2rem;
    color: #FFF;
    text-align: left;
    text-wrap: pretty;
    padding: 30px 0;
    max-width: 700px;
    font-weight: 500;
}

.rocketlab__impulse-img-container{
    flex: 1;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    position: relative;
}

.rocketlab__impulse-img-container.visible{
    opacity: 1;
}

.rocketlab__impulse-img-container::after{
    content: '';
    width: 20px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: 17px;
    z-index: 10;
    animation: parpadeo 2s steps(2) infinite;
}

@keyframes parpadeo{
    from{
        background-color: transparent;
    }

    to{
        background-color: #FFF;
    }
}

.rocketlab__impulse-img-container img{
    width: 100%;
    min-width: 200px;
    max-width: 275px;
}



/* ------------- rocketlab__impulse queries ---------- */

@container rocketlab (min-width:56.25rem){
    .rocketlab__impulse{
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 70px 15px 60px 15px;
        max-width: 1500px;
    }

    .rocketlab__impulse-title-container{
        align-items: center;
    }

    .rocketlab__impulse-title{
        max-width: none;
        font-size: 2.2rem;
        max-width: 750px;
    }

    .rocketlab__impulse-text{
        padding: 20px 0;
        text-wrap: pretty;
        max-width: 750px;
        hyphens: none;
    }

    .rocketlab__impulse-img-container::after{
        bottom: 20px;
    }

    .rocketlab__impulse-img-container img{
        width: 100%;
        min-width: 275px;
        max-width: 325px;
    }
}

/* -------------- fin rocketlab__impulse --------------- */



.rocketlab__initiatives-btn{
    margin: 30px 5px 60px 5px;
    padding: 10px;
    box-shadow: 0 0 2px #000;
    background-color: #FFF;
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 6px;
    transition: transform .5s ease, background-color .3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-weight: 300;
    text-align: center;
    text-wrap: pretty;
    font-family: monospace;
}

.rocketlab__initiatives-btn::after{
    content: '';
    top: 0;
    bottom: 0;
    width: 150%;
    background-color: #d45204;
    animation: cta__initiatives 4s linear infinite alternate forwards;
    position: absolute;
    z-index: -1;
}

@keyframes cta__initiatives{
    from{
        transform: translateX(200%);
    }

    to{
        transform: translateX(-300%);
    }
}

.rocketlab__initiatives-btn:hover{
    transform: translateY(-10%);
    background-color: #d45204;
}

@container rocketlab (min-width:600px){
    .rocketlab__initiatives-btn{
        font-size: 1.7rem;
    }
}

/* ------------- inicio rocketlab__bussiness ------------ */

.rocketlab__background-color2{
    width: 100%;
    background-color: #161616;
    display: flex;
    justify-content: center;
}

.rocketlab__bussiness{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
    width: 100%;
    max-width: 1500px;
    gap: 40px;
}

.rocketlab__bussiness-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 40px;
    align-content: center;
    align-items: stretch;
    justify-content: center;
    justify-items: stretch;
    width: 100%;
}

.rocketlab__bussiness-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
    background-color: #000;
    border: 1px solid #FFF5;
    border-radius: 3px;
    gap: 30px;
    width: 100%;
    transform: translateY(-7%) translateX(100%);
    opacity: 0;
    transition: transform .7s ease, opacity 1s ease;
}

.rocketlab__bussiness-item:nth-child(even){
    transform: translateX(-100%);
}

.rocketlab__bussiness-item.visible{
    transform: translateY(-7%) translateX(0);
    opacity: 1;
}

.rocketlab__bussiness-item:hover{
    transform: translateY(-9%);
}

.rocketlab__bussiness-logo-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.rocketlab__bussiness-logo-container.alingStart{
    align-items: start;
}

.rocketlab__bussiness-logo-container.alingEnd{
    align-items: end;
}

.bussiness__item-logo{
    width: 100%;
    max-width: 225px;
    padding-bottom: 5px;
}

.bussiness__item-subtitle{
    font-size: 1.5rem;
    text-wrap: balance;
    text-align: start;
    color: #FFF;
    font-weight: bold;
    margin: 0;
}

.bussiness__item-subtitle.textEnd{
    text-align: end;
}


.bussiness__item-text{
    text-wrap: pretty;
    font-size: 1.2rem;
    font-weight: 400;
    color: #FFF;
    text-align: justify;
    hyphens: auto;
}

.bussiness__item-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bussiness__item-list-item{
    color: #FFF;
    font-size: 1.2rem;
    text-align: left;
    hyphens: auto;
}

.bussiness__item-btn{
    padding: 15px 10px;
    border: 2px solid #FFF;
    color: #FFF;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 6px;
    transition: transform .5s ease, background-color .3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-weight: bold;
    text-align: center;
    text-wrap: pretty;
    max-width: 340px;
    margin: 0 auto;
    font-family: monospace;
}

.bussiness__item-btn:hover{
    transform: translateY(-5%);
    background-color: #191919;
}

.bussiness__item-btn::after{
    content: '';
    top: 0;
    bottom: 0;
    width: 150%;
    background-color: #d45204;
    animation: cta__bussiness 4s linear infinite alternate forwards;
    position: absolute;
    z-index: -1;
}

@keyframes cta__bussiness{
    from{
        transform: translateX(200%);
    }

    to{
        transform: translateX(-300%);
    }
}

/* -------------- rocketlab__bussiness queries ---------- */

@container rocketlab (min-width:600px){
    .rocketlab__bussiness-grid{
        display: grid;
        grid-template-columns: repeat(2, minmax(290px, 1fr));
        gap: 20px;
        align-content: center;
        align-items: stretch;
        justify-content: center;
        justify-items: stretch;
        width: 100%;
    }
    
    .rocketlab__bussiness-item:nth-child(odd){
        transform: translateY(-8%) translateX(-100%);
    }

    .rocketlab__bussiness-item:nth-child(even){
        transform: translateY(-8%) translateX(100%);
    }

    .rocketlab__bussiness-item.visible{
        transform: translateY(-8%) translateX(0);
    }

    .rocketlab__bussiness-item:hover{
        transform: translateY(-10%);
    }
}

@container rocketlab (min-width:56.25rem){
    .bussiness__item-subtitle{
        font-size: 1.7rem;
    }
}

/* ------------ fin rocketlab__bussiness ---------------- */

/* ----------- inicio rocketlab__why ----------- */

.rocketlab__why{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 10px 80px 10px;
    width: 100%;
    max-width: 1500px;
    gap: 40px;
}

.rocketlab__why-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.rocketlab__why-title{
    font-size: 1.9rem;
    text-wrap: balance;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 1s ease, opacity .6s ease;
    font-family: monospace;
}

.rocketlab__why-title.visible{
    transform: translateY(0);
    opacity: 1;
}

.rocketlab__why-info-container{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    gap: 20px;
}

.rocketlab__why-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    flex: 1;
    min-width: 250px;
    padding: 20px;
    gap: 30px;
    opacity: 0;
    transform: translateY(18%);
    transition: transform 1s ease, opacity 1s ease;
}


.rocketlab__why-info.visible{
    transform: translateY(0);
    opacity: 1;
}

.why__info-title{
    font-size: 1.7rem;
    margin: 0;
    font-weight: bold;
    font-family: monospace;
}

.why__info-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why__info-list-item{
    text-align: left;
    font-size: 1.2rem;
}

.why-list-decoration{
    color: #d45204;
    font-weight: bold;
    font-family: monospace;
}

.rocketlab__why-btn{
    padding: 10px 5px;
    border: 1.5px solid #000;
    background-color: #FFF;
    color: #000;
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 6px;
    opacity: 0;
    transition: transform .5s ease, color .5s ease, border .5s ease, opacity 1.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
    font-weight: bold;
    text-align: center;
    text-wrap: pretty;
    font-family: monospace;
    animation: movimientowhybtn 1.3s linear infinite alternate forwards;
}

.rocketlab__why-btn.visible{
    opacity: 1;
}

.rocketlab__why-btn:hover{
    transform: translateY(-10%);
    color: #d45204;
    border: 1.5px solid #d45204;
}

@keyframes movimientowhybtn{
    from{
        transform: translateY(3%) scale(.95);
    }

    to{
        transform: translateY(-3%) scale(1.05);
    }
}


/* ------------- rocketlab__why queries ---------- */

@container rocketlab (min-width:56.25rem){
    .rocketlab__why-title{
        font-size: 2.2rem;
    }

    .why__info-title{
        font-size: 1.9rem
    }

    .why__info-list-item{
        font-size: 1.3rem;
    }
}

/* --------------- fin rocketlab__why -------------- */

/* --------------- inicio rocketlab__contact y FAQs ------------*/

.rocketlab__contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 10px 60px 10px;
    width: 100%;
    max-width: 1500px;
    gap: 60px;
}

.rocketlab__contact-container{
    display: flex;
    flex-flow: column;
    gap: 30px 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.title-contact-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: start;
    max-width: 1250px;
}

.rocketlab__contact-title{
    font-size: 2.5rem;
    color: #FFF;
    text-align: start;
    transition: opacity 1.3s ease;
    font-weight: 500;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease;
    position: relative;
}

.rocketlab__contact-title::before{
    display: flex;
    content: '';
    width: 90%;
    left: 5%;
    height: 100%;
    position: absolute;
    border-bottom: 3px solid #FFF;
    transform: translateY(15%);
}

.rocketlab__contact-title.visible{
    opacity: 1;
}

.rocketlab__contact-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
    justify-content: center;
    background-color: #3336;
    padding: 20px;
    border-radius: 6px;
    width: 100%;
    max-width: 450px;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.rocketlab__contact-list.visible{
    opacity: 1;
}

.rocketlab__contact-list-item{
    display: flex;
    align-items: center;
    width: 100%;
}

.rocketlab__contact-list-item a{
    text-align: start;
    text-wrap: pretty;
    font-size: 1.3rem;
    line-height: 2.2rem;
    color: #FFF;
    font-weight: 400;
    align-items: baseline;
    transition: transform .7s ease, color .2s ease;
}

.contact-text-decoration{
    font-weight: bold;
}

.rocketlab__contact-list-item a i{
    font-size: 1.6rem;
    padding-left: 10px;
}

.rocketlab__contact-list-item a:hover{
    transform: translateY(-5%) translateX(3%) scale(1.02);
    color: #d45204;
}

.rocketlab__contact-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 450px;
    align-items: center;
    background-color: #3336;
    padding: 20px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 1.3s ease;
}

.rocketlab__contact-form.visible{
    opacity: 1;
}

.rocketlab__form-contact-title{
    color: #FFF;
    font-size: 1.9rem;
}

.rocketlab__contact-input{
    width: 100%;
    padding: 10px 10px; 
    outline: none;
    border: none;
    font-size: 1.1rem;
    border-radius: 3px;    
}

.rocketlab__contact-textarea{
    resize: none;
    font-size: 1.1rem;
    width: 100% !important;
    min-height: 100px;
    padding: 10px;
    outline: none;
    border: none;
    border-radius: 3px;
}

.g-recaptcha{
    width: 100%;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .5rem;
}

.rocketlab__contact-btn{
    font-size: 1.5rem;
    padding: 10px 20px;
    background-color: #FFF;
    border: none;
    outline: none;
    border-radius: 9px;
    font-weight: 300;
    color: #000;
    transition: transform .5s ease, background-color .5s ease;
    cursor: pointer;
    font-family: monospace;
}

.rocketlab__contact-btn:hover{
    transform: translateY(-5%);
    background-color: #d45204;
}

#message-container{
    padding: 5px;
    background-color: #FFF;
    border-radius: 6px;
    margin: 0 auto;
    display: none;
    min-width: 100px;
}

#respuestaMensaje{
    font-size: 1.1rem;
    color: #000;
    font-weight: 400;
    text-align: center;
    text-wrap: pretty;
    width: 100%;
    padding: 5px;
}

.wait-icon{
    font-size: 1.7rem;
    color: #d45204;
}

/* -------------- rocketlab__contact y FAQs queries ----------- */

@container rocketlab (min-width:750px){
    .rocketlab__contact-container{
        flex-direction: row;
        align-items: stretch;
        gap: 40px;
    }

    .rocketlab__contact-list{
        justify-content: center;
        gap: 40px;
        max-width: 600px;
    }

    .rocketlab__contact-form{
        max-width: 600px;
    }
}

/* --------------- fin rocketlab__contact y FAQs ------------- */