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

body{
    padding: 0;
    margin: 0;
    color: #46464c;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 16px;
    letter-spacing: 0.05rem;
    line-height: 1.4;
}

*, *::before, *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

.center-content{
    padding-left: 1%;
    padding-right: 1%;
}

header{
    position: relative;
}

header img{
    width: 100%;
    display: block;
}

header div{
    position: absolute;   
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

header div h1{
    margin: 5rem 0;
    color: #ffffff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
}

header div p{
    width: 80%;
    color: #ffffff;
    font-size: 1.875rem;
    font-weight: 500;
    text-align: center;
}

header div p span{
    padding: 0.625rem 1.25rem;
    background-color: #D71B2C;
    border-radius: 1.5rem;
    text-transform: uppercase;
}

/* Main content */

.main-content{
    padding-top: 6.25rem;
}

.main-content h2{
    margin-bottom: 6.25rem;
    color: #D71B2C;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.main-content .features{
    padding: 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.main-content .features article{
    margin-bottom: 6.25rem;
    margin-left: 1.5%;
    margin-right: 1.5%;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center ;
}

.main-content .features article img{
    max-height: 6.25rem;
    height: 100%;
    margin-bottom: 1.25rem;
    display: block;
}

.main-content .features article h3{
    margin-bottom: 1.25rem;
    color: #D71B2C;
    font-size: 1.25rem;
    font-weight: 600;
}

.main-content .features article p{
    color: #46464c;
    font-size: 1rem;
    font-weight: 400;
}

.main-content .features article p strong{
    font-weight: 700;
}

/* Gallery */

.gallery{
    margin-bottom: 6.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.gallery img{
    width: 25%;
    display: block;
}

/*Boton de descarga*/

.download-btn{
    width: 100%;
    margin-bottom: 6.25rem;
    text-align: center;
}

.download-btn a{
    width: 100%;
    max-width: 18.75rem;
    padding: 1.25rem 1.875rem;
    border-radius: 0.625rem;
    color: #d71B2c;
    font-size: 1.25rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.05rem;
    background-color: #ffffff;
}

/*Separador con flecha*/
.separator-arrow{
    padding-bottom: 6.125rem;
    position: relative;
}

.separator-arrow h3{
    text-align: center;
    color: #21262C;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 160%;
}

.separator-arrow h3 strong{
    font-weight: 900;
}


.separator-arrow::after{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-top: 50px solid #ffffff;

}

/*Formulario de contacto*/
.contact-form{
    padding: 6.25rem 0;
    background-color: #d71B2c;    
}

.contact-form h3{
    margin-bottom: 0.625rem;
    color: #ffffff;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 1.875rem;
    text-align: center;
    line-height: 120%;
    font-weight: 700;
}

.contact-form p{
    color: #ffffff;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    text-align: center;
    line-height: 100%;
}

.contact-form p i{
    font-style: italic;
}

.contact-form p strong{
    font-weight: 700;
}

.contact-form form{
    width: 40%;
    padding: 2.5rem;
    margin: 3.125rem auto 0 auto;
    background-color: #ffffff;
    border-radius: 2.5rem;
}

.contact-form form .alert-msg{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
}

.contact-form form .alert-msg svg{
    width: 2.125rem;
    height: 2.125rem;
    fill: #21262C;
}

.contact-form form .alert-msg p{
    color: #21262C;
    margin-bottom: 2.5rem;
}

.contact-form form .form-items ul{
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.contact-form form .form-items ul li{
    width: 40%;
}

.contact-form form .form-items ul li label{
    width: 100%;
}

.contact-form form .form-items label{
    width: 40%;
    position: relative;
    display: block;
    margin-bottom: 0.625rem;
    padding: 8px 10px;
    color: #ffffff;
    font-size: 0.875rem;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    line-height: 100%;
    border-radius: 0.875rem;
    background-color: #d71B2c;
}

.contact-form form .form-items input,
.contact-form form .form-items select,
.contact-form form .form-items textarea{
    width: 100%;
    padding: 0.3125rem 0.625rem 0.3125rem 0.625rem;
    font-size: 0.875rem;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px #21262C solid;
}

.contact-form form .form-items textarea::placeholder{
    font-size: 0.875rem;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-style: italic;
}

.contact-form form .form-items input:focus,
.contact-form form .form-items select:focus,
.contact-form form .form-items textarea:focus{
    outline: none;
    border: 1px #d71B2c solid;
}

.contact-form form .form-items div{
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.contact-form form .form-items div span{
    font-size: 0.875rem;    
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    line-height: 120%;
}

.contact-form form .form-items div input[type="checkbox"]{
    width: 1.25rem;
    height: 1.25rem;
}

.contact-form form button{
    margin-top: 1.25rem;
    padding: 1.125rem 3.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 0.625rem;
    display: block;
    background-color: #D71B2C;
    transition: opacity .3s ease-in-out;
}

.contact-form form button:hover{
    cursor: pointer;
    opacity: 0.8;
}

footer{
    padding-bottom: 6.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #d71B2c;
}

footer img{
    max-width: 18rem;
    display: block;
}

/*WhatsApp contact*/

footer .whatsapp-footer{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    position: fixed;
    bottom: 35px;
    right: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 100;
}

footer .whatsapp-footer a{
    color: #ffffff;
    text-decoration: none;
}

footer .whatsapp-footer a svg{
    width: 2.25rem;
    height: 2.25rem;
    fill: #ffffff;
    margin: 7px 0 0 1px;
}

/* Errors */
span.error{
    color: #ff0000;
    font-size: 0.625rem;
    position: absolute;
    top: -15px;
    right: 0;
}

.captcha-error{
    margin-bottom: 1.25rem;
    color: #ff0000;
    display: none;
    font-size: 0.75rem;
}

/* Confirm form */

#submit-ok{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#submit-ok div{
    padding: 1.25rem;
    border-radius: 0.3125rem;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.45);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#submit-ok div svg{
    height: 2.5rem;
    width: 2.5rem;
    margin-bottom: 0.625rem;
}

#submit-ok div p{
    color: #46464c;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Confirmacion de formulario en pagina independiente confirmacion-de-envio*/

.form-confirmation{ 
    height: 100vh;    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: difference;
}

.form-confirmation div{ 
    padding: 0 2%;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.form-confirmation div svg{
    width: 48px;
    height: 48px;
    fill: green;
}

.form-confirmation div h4{
    margin-bottom: 0.625rem;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.form-confirmation div p{
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
}

.form-confirmation div a{
    margin: 2.25rem auto;
    padding: 0.625rem 2.5rem;
    background-color: #D71B2C;
    font-size: 0.875rem;
    color: #ffffff;
    text-align: center;
    border-radius: 0.3125rem;
    text-decoration: none;
}

.form-confirmation div img{
    display: block;
    width: 100%;
    max-width: 16rem;
}

/* Media queries */

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

    header div h1{
        margin: 5rem 0;
        color: #ffffff;
        font-size: 2rem;
    }

    header div p{
        width: 100%;
        font-size: 1.125rem;
    }

    /* Main content */

    .main-content{
        padding-top: 5rem;
    }

    .main-content h2{
        margin-bottom: 5rem;
        font-size: 2rem;
    }

    .main-content section article{
        margin-bottom: 3.125rem;
        width: 48%;
    }

    .main-content section article img{
        max-height: 5rem;
    }

    /* Gallery */

    .gallery{
        margin-bottom: 5rem;
    }

    .gallery img{
        width: 50%;
    }

    /*Boton de descarga*/

    .contact-form form{
        width: 80%;
        padding: 2.5rem;
        margin: 3.125rem auto 0 auto;
        background-color: #ffffff;
        border-radius: 2.5rem;
    }

    .contact-form form .form-items{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contact-form form .form-items ul{
        width: 100%;
    }

    /* Footer */

    footer{
        padding-bottom: 5rem;
    }
    
    footer img{
        max-width: 15rem;
    }

}

@media screen and (max-width: 460px) {  
    
    .main-content .features{
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-bottom: 4rem;
    }

    .main-content .features article{
        width: 90%;
        margin: 0;
    }

    form h4.form-title-alt{
        font-size: 1.125rem;
    }

    .download-btn{
        margin-top: 2rem;
        margin-bottom: 7.25rem;
    }


    .download-btn a{
        font-size: 1.125rem;
    }

    /*Formulario de contacto*/

    .contact-form{
        padding: 4rem 0;
    }

    .contact-form form{
        width: 98%;
        padding: 1.25rem;
        margin:  0 auto;
        background-color: #ffffff;
        border-radius: 1.25rem;
    }

    .contact-form form .form-items ul{
        flex-direction: column;
        margin-bottom: 0;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .contact-form form .form-items ul li{
        width: 100%;
    }

    .contact-form form .form-items label{
        width: 100%;
    }

    .contact-form form .form-items div span{
        font-size: 0.75rem;    
        font-family: "Roboto", Arial, Helvetica, sans-serif;
        line-height: 120%;
    }


}

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

    header div h1{
        margin: 4rem 0;
        font-size: 1.75rem;
    }

    header div p{
        width: 100%;
        font-size: 0.875rem;
    }

    /* Main content */

    .main-content h2{
        margin-bottom: 4rem;
        font-size: 2rem;
    }

    /* Gallery */

    .gallery{
        margin-bottom: 4rem;
    }

    .gallery img{
        width: 50%;
    }

    /*Boton de descarga*/
    
    .download-btn{
        margin-bottom: 6.25rem;
    }

    .download-btn a{
        font-size: 1rem;
    }


    /* Form */

    form{    
        width: 96%;
        max-width: 64rem;
        margin: 0 auto;
    }
    
    form h4{
        font-size: 0.875rem;
    }

    form h4.form-title-alt{
        font-size: 1.125rem;
    }

    form div label input{
        padding: 1.125rem;
    }

    /* Footer */

    footer{
        padding-bottom: 4rem;
    }
    
    footer img{
        max-width: 15rem;
    }
}