@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body{
    font-family: 'Playfair Display', serif;
	 overflow-x: hidden;
}

img{
    width: 1.7rem;
}

.contenedor{
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    "parte1"
    "parte2"
    "parte3"
    "parte4"
    "parte5";
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}


.grupo1 {
    width: 100%;
    max-width: 100vw;
    grid-area: parte1;
    background-image: url(../IMG/oficiana-1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 75vh;
    overflow: hidden;
    padding: 1.4rem 1rem; 
}

.grupo1::before {
    content: "";
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.68; 
    z-index: 1; 
}

.nav{
    display: none;
}

.nav2{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
}

.nav, .nav2, .texto1{
    position: relative;
    z-index: 2;
}

.nav-movil{
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo-movil{
    width: 9rem;
}

.menu-movil {
    display: none; 
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    height: 100vh;
    opacity: 0.9;
    z-index: 999;
}

.menu-movil.activo {
    display: flex; 
}

.equis{
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    height: 1.5rem;
}

.movil{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    row-gap: 1.8rem;
    height: 100vh;
}

.submenu-movil{
    list-style: none;
}

.sub-movil{
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1.3rem, 3vw + 1rem, 1.7rem);
    color: #1c1c1c;
}

.texto1{
    max-width: 98%;
    min-width: 10rem;
    height: 10rem;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 0.5rem;
    text-align: center;
}

.titulo{
    font-size: clamp(1.6rem,2vw + 1rem, 3rem);
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}

.grupo2{
    width: 100%;
    max-width: 100vw;
    grid-area: parte2;
    padding: 2rem 1rem;
}

.parrafo{
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 2;
    font-size: 0.9rem;
    text-align: justify;
}


.grupo3{
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    grid-area: parte3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    column-gap: 3rem;
    background-color: #242424;
    padding: 1.5rem;
}
.footer{
    width: 250px;
    color: #fff;
    margin: 1rem 0;
}

.foo{
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
}

.foo:hover,
.foo:hover .span,
.span:hover,
.span:hover .foo {
    color: #7c7a7a;
    font-weight: 0;
    cursor: pointer;
}

.subfooter{
    list-style: none;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.foo2{
    color: #ffffffc2;
}

.titulo-footer{
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}


.span{
    font-family: 'Poppins';
    color: #fffffff7;
    font-weight: 200;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.in{
    font-family: 'Poppins', 'Serif';
    font-weight: 900;
    font-size: 1.5rem;
    color: #707070;
}

.grupo4{
    width: 100%;
    max-width: 100vw;
    grid-area: parte4;
    background-color: #1c1c1c;
    padding: 2rem 0;
    color: #626060;
    text-align: center;
    font-family: 'Poppins';
    font-size: 0.85rem;
    border: none;
    cursor: default;
}

@media(min-width: 760px){

    .grupo1{
        padding: 1.4rem 2rem; 
    }

}



@media (min-width: 835px) {

    .logo{
        width: 9rem;
    }

    .nav {
        max-width: 1800px;
        margin: 0 auto;
        font-family: 'Poppins', sans-serif;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }

    .nav2 {
        display: none;
    }

    .menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.1rem;
        list-style: none;;
    }

    .submenu .sub {
        text-decoration: none;
        color: #fff;
        font-weight: 500;
        font-size: 1.15rem;
    }

    .texto1 {
        max-width: 60%;
        text-align: center;
    }

    .grupo2{
        width: 50%;
        margin: 0 auto;
        padding: 3rem 0; 
    }

    .grupo3{
        flex-direction: row;
        justify-content: space-between;
    }
}

























