/*RESET BÁSICO*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body*/


/*cabecera*/
.cabecera{
    width: 100%;
    height: 9vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 70px;
    position: fixed;
    z-index: 1000;
    background-color: rgba(165, 42, 42, 0.800);
}

.logo{
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.logo a{
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 26px;
}
.logo img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.menu{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.navegacion{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

.navegacion li{
    position: relative;
    list-style: none;
}

.navegacion li a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 10px 25px;
    display: block;
    box-sizing: border-box;
}
.navegacion li a:hover{
    color: rgb(221, 221, 159);
    border-bottom: 2px solid white;
}
.submenu{
    background-color: rgba(165, 42, 42, 0.800);
    display: none;
    position: absolute;
    min-width: 180px;
    top: 100%;
    left: 0;
}
.submenu li a{
    color: white;
    font-size: 17px;
    padding: 12px 15px;
    display: block;
}
.navegacion li:hover .submenu{
    display: block;
}

/*main*/
.banner{
    position: relative;
    width: 100%;
    height: 91vh;
    background-image: url(../img/bannernosotros.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.banner > div{
    background-color: rgba(165, 42, 42, 0.3);
    height: 60%;
    position: relative;
    max-width: 600px;
    padding: 0 60px;
    border-left: 4px solid rgb(92, 54, 35);
}
.banner h2{
    font-weight: 900;
    font-size: 25px;
    color: white;
    margin: 15px 15px 15px 0;
}
.banner p{
    font-size: 18px;
    color: white;
    margin: 0 0 10px 0;
}
.banner a{
    background-color: beige;
    color: black;
    text-decoration: none;
    padding: 12px 25px;
    display: inline-block;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: bold;
}
.banner a:hover{
    background-color: rgb(130, 75, 45);
    color: white;
}

.mision{
    width: 100%;
    background: linear-gradient(to top, rgb(92, 54, 35) 50%, #faf7f2 50% );
    padding: 40px 30px;
}
.mision > div{
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.mision > div > div{
    background-color: white;
    padding: 25px;
    border: 2px solid #e5dcc8;
    border-radius: 10px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.mision > div > div:hover{
    background-color: #f0e8da;
}
.mision i{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 35px;
    color: rgb(92, 54, 35);
}
.mision h3{
    margin: 0 0 10px 0;
    font-size: 22px;
    color: rgb(92, 54, 35);
}
.mision p{
    font-size: 15px;
    color: #555;
    margin: 0;
}

.valores, .historia, .proceso{
    text-align: center;
    width: 100%;
    margin: 0;
}
.valores h2, .historia h2, .proceso h2{
    font-weight: bold;
    font-size: 30px;
    color: rgb(92, 54, 35);
}
.valores{
    background-color: white;
    padding-bottom: 60px;
    padding-top: 40px;
}
.historia{
    background-color: #faf7f2;
    padding-bottom: 60px;
    padding-top: 40px;
}
.proceso{
    background-color: #faf7f2;
    padding-bottom: 60px;
    padding-top: 40px;
}
.valores hr, .historia hr, .proceso hr{
    width: 100px;
    height: 2px;
    border: none;
    background-color: rgb(92, 54, 35);
    margin: 10px auto 25px auto;
}
.valores > div{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.valores > div > div{
    width: 48%;
    border: 1px solid #e5dcc8;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background-color: white;
    box-sizing: border-box;
    min-height: 100px;
    margin-bottom: 7px;
    padding-right: 7px;
}
.valores > div > div:hover{
    background-color: #f0e8da;
}
.valores i{
    font-size: 25px;
    color: rgb(92, 54, 35);
}
.valores h3{
    margin: 0;
    font-size: 18px;
    color: rgb(92, 54, 35);
}
.valores p{
    margin: 0;
    font-size: 16px;
    color: #666;
}

.historia > div{
    display: flex;
    gap: 30px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}
.historia ul{
    padding: 0;
}
.historia li{
    font-size: 15px;
    margin-bottom: 15px;
    color: #444;
}
.historia span{
    color: rgb(92, 54, 35);
    font-weight: bold;
}

.proceso > div{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.paso{
    width: 48%;
    border: 1px solid #e5dcc8;
    border-radius: 5px;
    padding: 20px;
    text-align: left;
    background-color: white;
    box-sizing: border-box;
}
.paso:hover{
    background-color: #f0e8da;
}
.paso i{
    font-size: 30px;
    color: rgb(92, 54, 35);
    margin-bottom: 10px;
}
.paso h3{
    margin: 0 0 10px 0;
    font-size: 18px;
    color: rgb(92, 54, 35);
}
.paso p{
    margin: 0;
    font-size: 15px;
    color: #666;
}

/*boton*/
body > a{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    text-decoration: none;
}

/*footer*/
.pie{
    background-color: brown;
    color: white;
    padding: 30px 40px 20px 40px;
}
.logo_pie{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.logo_pie img{
    height: 70px;
}
.logo_pie span{
    font-size: 24px;
    margin-left: 10px;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid white;
    padding-top: 20px;
    font-size: 12px;
}
.enlaces a{
    color: rgb(210, 200, 190);
    text-decoration: none;
    margin: 0 4px;
}
.enlaces a:hover{
    color: white;
}
.copyright p{
    color: rgb(210, 200, 190);
}

/*Responsive*/
@media(min-width: 769px) and (max-width: 896px){
    .cabecera{
        padding: 0 30px;
    }
    .logo{
        width: 35%;
    }
    .menu{
        width: 65%;
    }
    .logo a{
        font-size: 22px;
    }
    .logo img{
        width: 80px;
        height: 80px;
    }
    .navegacion li a{
        font-size: 17px;
        padding: 10px 15px;
    }
    .banner{
        height: 91vh;
        background-size: cover;
        background-position: center;
    }
    .banner > div{
        max-width: 500px;
        height: 60%;
        padding: 0 40px;
    }
    .banner h2{
        font-size: 24px;
    }
    .banner p{
        font-size: 17px;
    }
    .mision{
        padding: 40px 20px;
    }
    .mision > div{
        max-width: 800px;
    }
    .valores > div{
        max-width: 800px;
    }
    .historia > div{
        max-width: 800px;
    }
    .proceso > div{
        max-width: 800px;
    }
}

@media(min-width: 513px) and (max-width: 768px){
    .cabecera{
        height: auto;
        padding: 10px 20px;
        flex-direction: column;
    }
    .logo{
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 10px;
    }
    .logo img{
        width: 60px;
        height: 60px;
    }
    .logo a{
        font-size: 22px;
    }
    .menu{
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .navegacion{
        width: 100%;
        height: auto;
        justify-content: center;
        flex-wrap: wrap;
    }
    .navegacion li a{
        font-size: 16px;
        padding: 10px 12px;
    }
    .banner{
        height: 100vh;
        justify-content: center;
        background-size: cover;
        background-position: center;
    }
    .banner > div{
        width: 80%;
        max-width: 600px;
        height: auto;
        padding: 30px;
    }
    .banner h2{
        font-size: 25px;
    }
    .banner p{
        font-size: 17px;
    }
    .mision{
        padding: 40px 10%;
    }
    .mision > div{
        flex-direction: column;
        width: 100%;
    }
    .valores{
        padding: 40px 10%;
    }
    .valores > div{
        flex-direction: column;
        width: 100%;
    }
    .valores > div > div{
        width: 100%;
    }
    .historia{
        padding: 40px 10%;
    }
    .historia > div{
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .proceso{
        padding: 40px 10%;
    }
    .proceso > div{
        flex-direction: column;
        width: 100%;
    }
    .paso{
        width: 100%;
    }

    .footer{
        flex-direction: column;
        text-align: center;
    }

}

@media(min-width: 256px) and (max-width: 512px){
    .cabecera{
        height: auto;
        padding: 10px;
        flex-direction: column;
    }
    .logo{
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 10px;
    }
    .logo img{
        width: 55px;
        height: 55px;
    }
    .logo a{
        font-size: 20px;
    }
    .menu{
        width: 100%;
        height: auto;
    }
    .navegacion{
        width: 100%;
        height: auto;
        justify-content: center;
        flex-wrap: wrap;
    }
    .navegacion li a{
        font-size: 14px;
        padding: 8px 9px;
    }
    .submenu{
        min-width: 150px;
    }
    .submenu li a{
        font-size: 14px;
        padding: 10px;
    }
    .banner{
        width: 100%;
        height: 100vh;
        justify-content: center;
        background-size: cover;
        background-position: center;
    }
    .banner > div{
        width: 85%;
        height: auto;
        max-width: none;
        padding: 25px;
    }
    .banner h2{
        font-size: 22px;
    }
    .banner p{
        font-size: 16px;
    }
    .banner a{
        padding: 10px 20px;
        font-size: 14px;
    }
    .mision{
        padding: 30px 10%;
    }
    .mision > div{
        flex-direction: column;
        width: 100%;
    }
    .mision > div > div{
        padding: 20px;
        gap: 10px;
    }
    .mision i{
        font-size: 28px;
    }
    .mision h3{
        font-size: 19px;
    }
    .mision p{
        font-size: 14px;
    }
    .valores h2,
    .historia h2,
    .proceso h2{
        font-size: 27px;
    }
    .valores{
        padding: 35px 10%;
    }
    .valores > div{
        flex-direction: column;
        width: 100%;
    }
    .valores > div > div{
        width: 100%;
        padding: 15px;
    }
    .valores i{
        font-size: 23px;
    }
    .valores h3{
        font-size: 17px;
    }
    .valores p{
        font-size: 14px;
    }

    .historia{
        padding: 35px 10%;
    }
    .historia > div{
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    .historia li{
        font-size: 14px;
        margin-bottom: 12px;
    }

    .proceso{
        padding: 35px 10%;
    }
    .proceso > div{
        flex-direction: column;
        width: 100%;
    }
    .paso{
        width: 100%;
        padding: 18px;
    }
    .paso i{
        font-size: 27px;
    }
    .paso h3{
        font-size: 17px;
    }
    .paso p{
        font-size: 14px;
    }

    body > a{
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
        font-size: 22px;
    }
    .pie{
        padding: 30px 20px;
    }
    .logo_pie{
        flex-direction: column;
        text-align: center;
    }
    .logo_pie img{
        height: 60px;
    }
    .logo_pie span{
        font-size: 20px;
        margin-left: 0;
        margin-top: 10px;
    }

    .footer{
        flex-direction: column;
        text-align: center;
    }
    .enlaces{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}