/*GENERALES*/

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.contenedor {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
  }

/*------------Botón volver arriba----------*/

.btn-volver-arriba{
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 300;
    margin-right: -60px;
    transition: all .4s ease;
}

.btn-volver-arriba a{
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 30%;
    text-align: center;
}

.btn-volver-arriba a i{
    font-size: 1rem;
    color: #fff;
    line-height: 40px;
}

/*------------Header----------*/

.menu-bar-pc {
    width: 100%;
    min-height: 68px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 36px;
    background: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo {
    display: inline-block;
    width: 60px;
}

.logo img {
    width: 100%;
    vertical-align: top;
}

.menu-principal a,
.top-redes a {
    display: inline-block;
    padding: 0 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0;
    line-height: 1.5em;
    transition: all .3s ease;
}

.menu-principal a:last-child,
.top-redes a:last-child {
    padding-right: 0;
}

.top-redes i {
    font-size: 1.5rem;
}

.menu-principal a:hover,
.top-redes a:hover {
    color: #336699;
}

/*Fixed header*/

.fixed-header {
    width: 100%;
    min-height: 68px;
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
    padding: 0 36px;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 90;
    transition: all .4s ease;
    margin-top: -80px;
}

.fixed-header .menu-principal a,
.fixed-header .top-redes a {
    color: #545454;
}

.fixed-header .menu-principal a:hover,
.top-redes a:hover {
    color: #336699;
}

/*Mobile menu*/

.menu-mobile {
    display: none;
}

/* --------------Main--------------- */

/*Banner principal*/

.main {
    width: 100%;
    margin-top: -68px;
}

.banner-principal {
    width: 100;
    position: relative;
}

.banner {
    width: 100%;
    height: 100vh;
    background-image: url(../imgs/bodega1.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    filter: grayscale(20%);
}

.texto-banner {
    display: inline-block;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.texto-banner h2 {
    font-weight: 200;
    color: #fff;
    margin-bottom: 20px;
}

.texto-banner h1 {
    font-size: 6.06rem;
    font-weight: 800;
    line-height: 90px;
    color: #fff;
    margin-bottom: 30px;
}

.texto-banner a {
    text-decoration: none;
    display: inline-block;
    padding: 8px 20px;
    background: #336699;
    color: #fff;
    transition: all .7s ease;
}

.texto-banner a:hover {
    background-color: #fff;
    color: #336699;
}

/*---------Como funciona------------*/

.como-funciona {
    padding: 108px 36px 54px 36px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
}

.titulo-seccion {
    width: 50%;
    padding-right: 16px;
}

.como-funciona h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #545454;
}

.como-funciona h3 {
    margin-bottom: 20px;
    font-weight: 400;
    color: #545454;
}

.como-funciona p {
    margin-bottom: 16px;
    color:#545454;
}

.cajas {
    width: 50%;
    min-width: 50%;
}

.ilustracion img {
    width: 100%;
}

/*---------Slider------------*/

.contenedor-slider {
    width: 100%;
    overflow: hidden;
    padding: 54px 0;
    position: relative;
}

.slider {
    width: 400%;
    display: flex;
}

.slide {
    width: 15%;
    max-width: 950px;
    margin-right: 0.7%;
    box-shadow: 0 15px 20px #aaa;
}

.slide img {
    width: 100%;
    height: 100%;
}

.main .contenedor-slider .btn-anterior,
.main .contenedor-slider .btn-siguiente {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translate(-50%);
}

.main .contenedor-slider .btn-anterior {
    left: 2%;
}

.main .contenedor-slider .btn-siguiente {
    right: 2%
}

.main .contenedor-slider .btn-anterior i,
.main .contenedor-slider .btn-siguiente i {
    color: #fff;
}

.main .contenedor-slider .btn-anterior i:hover,
.main .contenedor-slider .btn-siguiente i:hover {
    color: #336699;
}

/*---------Características------------*/

.caracteristicas {
    padding: 100px;
}

.caracteristicas .contenedor {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.info {
    width: 50%;
}

.texto-info {
    color: #545454;
    margin-bottom: 1.5rem;
}

.texto-info h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contenido-caract {
    width: 100%;
    display: flex;
    text-align: left;
    color: #545454;
    flex-wrap: wrap;
}

.caract {
    display: flex;
    align-items: center;
    padding: 1rem;
    width: 50%;
}

.texto-caract {
    margin-left: 1rem;
}

.icn-caract {
    width: 1rem;
    min-width: 68px;
    object-fit: cover;
}

.icn-caract img {
    width: 100%;
    height: 100%;
}

.contenidos-isometrico {
    width: 100%;
    display: grid;
    place-items: center;
}

.isometrico {
    width: 80%;
}

.isometrico img {
    width: 100%;
    align-self: center;
}

/*-----------Video---------*/
.video {
    display: flex;
    justify-content: center;
    margin-bottom: 108px;
}

/*-----------Beneficios---------*/

.beneficios {
    width: 100%;
    background-color: #336699;
    color: #fff;
    padding: 56px 36px 56px 36px;
}

.beneficios .contenedor {
    width: 80%;
}

.beneficios-title {
    margin-bottom: 36px;
}

.beneficios-title h2 {
    font-size: 1.875rem;
    line-height: 24px;
}

.beneficios-title h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 24px;
    font-weight: 800;
}

.beneficios-title a {
    color: #fff;
    text-decoration: none;
    font-weight: bolder;
}

.columna-beneficios {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    margin-bottom: 1.2rem;
}

.columna-beneficios:last-child {
    margin-bottom: 0px;
}

.texto-beneficios {
    margin-left: 30px;
}

.texto-beneficios h4 {
    font-size: 1rem;
    line-height: 24px;
    font-weight: 600;
    margin-top: 15px;
}

.icn-beneficios {
    width: 2rem;
    min-width: 68px;
}

.icn-beneficios i {
    font-size: 2.5rem;
}

/*------------- CONTACTO -----------*/

.contacto {
    padding: 190px 0px;
    background-image: url(../imgs/contacto-fondo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.contenedor-form {
    background: #fff;
    min-height: 485px;
    border-radius: 3px;
    box-shadow: 0px 9px 32px -1px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
}

.formulario {
    width: 50%;
    padding: 70px;
}

.formulario h2 {
    font-size: 1.375rem;
    line-height: 24px;
    color: #545454;
    font-weight: 600;
    margin-bottom: 10px;
}

.formulario p {
    color: #545454;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.contacto form input[type="text"],
.contacto form input[type="email"],
.contacto form input[type="tel"] {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    outline: none;
    width: 100%;
    margin-bottom: 10px;
    color: #545454;
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

form textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    outline: none;
    width: 100%;
    max-width: 100%;
    max-height: 88px;
    min-height: 88px;
    color: #676767;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0;
}

form button[type="submit"] {
    width: 100%;
    border: none;
    border: 1px solid #676767;
    padding: 8px;
    background: #336699;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .7s ease;
}

form button[type="submit"]:hover {
    background-color: #fff;
    color: #336699;
}

#nombre::placeholder, 
#phone::placeholder, 
#email::placeholder, 
#mensaje::placeholder {
    color: #989898;
}

.mapa {
    width: 50%;
}

/*Validación formulario*/

.formulario .error{
    color: #ff8c8c;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: none;
}


/*------------------- Footer -----------------*/

footer {
    background: #676767;
    padding: 54px 0;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer a:hover{
    text-decoration:underline;
    transition: all ease-in 300ms;
}

.col-01 {
    color: #fff;
    margin-bottom: 10px;
}

.col-01 h2 {
    font-weight: 600;
    font-size: 1.875rem;
}

.col-01 p {
    font-weight: 400;
    font-size: .9rem;
}

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

    /*CARACTERÍSTICAS*/
    .caracteristicas {
        padding: 60px;
    }

    .contenido-caract {
        display: block;
    }

    .caract {
        width: 100%;
    }

    .icn-caract {
        min-width: 50px;
    }

    .isometrico {
        width: 100%;
    }



    /*BENEFICIOS*/
    .beneficios .contenedor {
        width: 100%;
    }

    .icn-beneficios {
        min-width: 50px;
    }

    /*CONTACTO*/

    .contenedor-form {
        display: block;
    }

    .formulario {
        width: 100%;
    }

    .mapa {
        width: 100%;
    }

}

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

    /*ENCABEZADO*/

    .menu-bar-pc{
        display: none;
    }

    .menu-mobile{
        display: block;
        width: 100%;
        padding: 5px 18px;
        background: #fff;
        color: #336699;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
    }

    .barra{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .barra .logo{
        width: 40px;
    }

    .barra a i{
        font-size: 1.4rem;
        color: #336699;
    }

    .menu-mobile .menu-principal{
        width: 80%;
        display: block;
        position: fixed;
        top: 36px;
        left: -100%;
        border-bottom: 1px solid rgba(204, 204, 204, 0.5);
        border-right: 1px solid rgba(204, 204, 204, 0.5);
        box-shadow: 0 1px 5px -1px;
        background: #fff;
        padding: 0;
    }

    .menu-mobile .menu-principal a{
        display: block;
        padding: 10px;
        border-bottom: 1px solir rgba(204, 204, 204, 0.5);
        color: #336699;
        text-align: center;
    }

    .menu-mobile .menu-principal a:hover{
        background: #676767;

    }

    .fixed-header{
        display: none;
    }

    /*MAIN*/

    .main{
        margin-top: 0;
    }

    /*COMO FUNCIONA*/

    .como-funciona {
        flex-direction: column;
    }

    .titulo-seccion {
        width: 80%;
    }

    .cajas {
        width: 100%;
    }


    /*CARACTERÍSTICAS*/


    .caracteristicas {
        padding: 16px;
    }


    /*FOOTER*/

    footer {
        flex-direction: column;
        padding: 16px;
        align-items: center;
        text-align: center;
        flex-wrap: wrap;
    }


}

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

    /*BANNER PRINCIPAL*/

    .texto-banner h1 {
        font-size: 4.06rem;
        line-height: 60px;
    }

    /*SLIDER*/

    .btn-anterior {
        left: 4%;
    }

    /*CONTACTO*/

    .formulario{
        padding: 58px 36px;
    }
}