/* AJUSTES GLOBALES */
* {
    margin: 0; padding: 0; border: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #252525;
    list-style: none;
}

html {
    scroll-padding-top: var(--header-h);
    overflow-x: hidden;
}

p {
    line-height: 23px; 
}

/* SECCIONES */
section {
    padding: 30px 20px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    background: #f6f6f6;
}

section > div {
    height: 100%;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section > div > h2 {
    width: 100%;
    text-align: center;
    font-weight: 600;
    border-radius: 5px;
}

section > div > p {
    margin: 10px 0 0 0;
    text-align: center;
}

/* SECCION PRINCIPAL */
section:nth-of-type(1) {
    height: 100vh;
    padding: 0;
    background: #000 url(../resources/IMG/home-fondo.jpg) center var(--header-h) / cover no-repeat;
}

section:nth-of-type(1) > div {
    width: 100%;
    height: 100%;
    padding: calc(20px + var(--header-h)) 10% 20px;
    background: #000000b8;
    justify-content: space-between;
    flex-direction: row;
}

section:nth-of-type(1) > div > div {
    width: 40%;
}

section:nth-of-type(1) > div > div:nth-of-type(1) h2 {
    padding: 10px 0;
    margin-bottom: 5px;
    font-size: 36px;
    font-weight: 900;
    color: #ffd34e;
    border-bottom: 1px solid #ffd34e;
}

section:nth-of-type(1) > div > div:nth-of-type(1) h3 {
    margin-top: 10px;
    font-size: 20px;
    color: #fff;
}

section:nth-of-type(1) > div > img {
    width: 40%;
    border: 3px solid #fff;
}

/* SECCION SOBRE NOSOTROS */
section:nth-of-type(2) {
    height: 200px;
}

section:nth-of-type(2) > div {
    height: 200px;
    display: flex;
    background: #ffd34e;
    padding: 20px;
    border-radius: 10px;
    flex-direction: row;
    position: absolute;
    top: 98vh;
    border: 3px solid #191919;
}

section:nth-of-type(2) > div > img {
    height: 120px;
}

section:nth-of-type(2) > div > div {
    border-left: 2px solid #19191975;
    margin: 0 0 0 20px;
    padding: 0 0 0 20px;

}

section:nth-of-type(2) > div > div > h2 {
    width: 100%;
    font-weight: 600;
    padding: 0;
    margin: 0 0 10px 0;
}

section:nth-of-type(2) > div > div > p {
    text-align: justify;
}

/* SECCION DE VALORES */
section:nth-of-type(4) > div {
    width: 80%;
}

section:nth-of-type(4) > div > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

section:nth-of-type(4) > div > div > div {
    width: 300px;
    height: 250px;
    margin: 10px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px #3939391c;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section:nth-of-type(4) > div > div > div > i {
    font-size: 40px;
    margin-bottom: 10px;
}

section:nth-of-type(4) > div > div > div > div > h3 {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 5px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #000;
}

section:nth-of-type(4) > div > div > div > div > p {
    text-align: center;
}

/* SECCION DE PRODUCTOS Y SERVICIOS */
section:nth-of-type(5) > div > div {
    width: 100%;
    margin: 20px 0 0 0;
    background: #fff;
    box-shadow: 0 0 5px #3939391c;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
}

section:nth-of-type(5) > div > div > img {
    aspect-ratio: 1/1;
    height: 240px;
    box-shadow: 0 0 5px #0000005b;
    border-radius: 10px;
}

section:nth-of-type(5) > div > div > div {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin: 0 0 0 20px;
}

section:nth-of-type(5) > div > div > div > img {
    display: none;
    width: 100%;
    box-shadow: 0 0 5px #0000005b;
    border-radius: 10px;
    margin-bottom: 10px;
}

section:nth-of-type(5) > div > div > div > h3 {
    border-bottom: 2px solid #000;
    width: 100%;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    font-weight: 500;
}

/* SECCION FOOTER */
section:last-of-type {
    padding: 0;
    background: #191919;
}

section:last-of-type > div > div {
    width: 100%;
    padding: 20px;
    flex-direction: column;
    align-items: center;
}

section:last-of-type > div > div:nth-of-type(1) > h2 {
    width: 100%;
    padding: 5px 0;
    font-weight: 900;
    border-bottom: 2px solid #f6f6f692;;
    color: #f6f6f692;
}

section:last-of-type > div > div > div {
    width: 100%;
    padding-top: 10px;
    display: flex;
}

section:last-of-type > div > div > div > div:nth-of-type(1) {
    width: 100%;
    display: flex;
    flex-direction: column;
}

section:last-of-type > div > div > div > div:nth-of-type(1) > p {
    margin-bottom: 10px;
    color: #f6f6f692;
}

section:last-of-type > div > div > div > div:nth-of-type(1) > p:last-of-type {
    margin-bottom: 0;
}

section:last-of-type > div > div > div > div:nth-of-type(1) > p > i {
    margin-bottom: 10px;
    color: #f6f6f692;
}

section:last-of-type > div > div > div > div:nth-of-type(2) {
    width: 60%;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    border: 3px solid #9d9d9d;

}

section:last-of-type > div > div > div > div:nth-of-type(2) > iframe {
    width: 100%;
    height: 100%;
    filter: invert(80%) contrast(100%);
}

/* PIE DE PAGINA */
footer {
    height: 70px; width: 100%;
    background: #101010;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer div {
    height: 100%; width: 90%;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

footer div img {
    height: 40px;
    filter: invert(100%);
    opacity: 40%;
}

footer div h4 {
    font-size: 14px;
    color: #e9e7e778;
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: bolder;
}