:root {
    --primario: #6834a6;
    --blanco: #fff;
    --negro: #000000;
    --fuentePrincipal: "Poppins", sans-serif;
}
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuentePrincipal);
    font-size: 1.6rem;
    line-height: 1.8;
}
h1,
h2,
h3 {
    margin: 2rem 0;
    font-weight: 900;
}
h1 {
    font-size: 5rem;
}
h2 {
    font-size: 4.6rem;
}
h3 {
    font-size: 3rem;
}
a {
    text-decoration: none;
}
img {
    display: block;
    max-width: 100%;
}

[class$="__contenedor"] {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
}

[class$="__heading"] {
    margin-bottom: 2rem;
    text-align: center;
}

.contenedor {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
}

/**HEADER***/

.header {
    padding: 5rem 0;
    background-image: url(../img/header_bg.svg);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 10rem;
}

@media screen and (min-width: 768px) {
    .header {
        background-size: 45rem;
    }
}
@media screen and (min-width: 992px) {
    .header {
        background-size: 60rem;
    }
}
@media screen and (min-width: 1280px) {
    .header {
        background-size: 50vw;
    }
}

/* .header__contenedor {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
} */

/* .header__barra {
} */

@media screen and (min-width: 768px) {
    .header__barra {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.header__logo {
    width: 15rem;
    margin: 0 auto 3rem auto;
}

@media screen and (min-width: 768px) {
    .header__logo {
        margin: 0;
    }
}

.navegacion {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.navegacion__link {
    font-weight: 500;
    color: var(--primario);
}

@media screen and (min-width: 768px) {
    .navegacion {
        align-items: flex-start;
        flex-direction: row;
    }

    .navegacion__link {
        margin-left: 1rem;
        color: var(--blanco);
    }
}

/* .header__grid {
} */

@media screen and (min-width: 768px) {
    .header__grid {
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* .header__texto {
} */

.header__heading {
    font-size: 3.2rem;
    line-height: 1.2;
}

.header__boton {
    display: block;
    padding: 1rem 0;
    margin-bottom: 4rem;
    color: var(--blanco);
    text-align: center;
    background-color: var(--primario);
}

@media screen and (min-width: 768px) {
    .header__heading {
        font-size: 5rem;
        text-align: left;
    }

    .header__boton {
        display: inline-block;
        padding: 1rem 2rem;
        /* max-width: 25rem; */
    }
}

.header__grafico {
    max-width: 40rem;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .header__grafico {
        margin: 0;
    }

    .header__imagen {
        max-width: 30rem;
        margin: 0 auto;
    }
}

.nucleus {
}

/* .nucleus__heading {
    font-size: 3rem;
    text-align: center;
} */

/* .nucleus__contenedor {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;
} */

.nucleus__grid {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}
@media screen and (min-width: 768px) {
    .nucleus__grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
    }
}

.nucleus__imagen {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .nucleus__imagen {
        max-width: 30rem;
    }
}

.listado {
    width: 100%;
}
/* @media screen and (min-width: 768px) {
    .listado {
        margin-left: 3rem;
    }
} */

.listado__elemento {
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: var(--blanco);
    border-radius: 0.4rem;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}
.listado__elemento:hover{
    transform: scale(1.08);
}


.listado__heading {
    margin: 0;
    font-size: 2.5rem;
    color: var(--primario);
}

.listado__texto {
    margin: 0;
    font-size: 1.6rem;
}


/**Seguridad**/

.seguridad{
    position: relative;
    padding: 10rem 0;
    background-color: var(--primario);

    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
}

/* .seguridad::before,
.seguridad::after{
    position: absolute;
    content: "";
    background-color: var(--blanco);
    height: 20rem;
    width: 100%;
    transform: rotate(3deg);
} */

.seguridad::before{
    top: 0;
    left: 0;
}

.seguridad::after{
    bottom: 0;
    left: 0;
}

.seguridad__contenedor{
}

.seguridad__heading{
    color: var(--blanco);
}

.seguridad__grid{

}
@media screen and (min-width: 768px) {
    .seguridad__grid{
        display: grid;
        align-items: center;
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
}

.seguridad__grid .listado{
    
}
/* @media screen and (min-width: 768px) {
    .seguridad__grid .listado{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
} */

.seguridad__imagen{

}

/**Comisiones**/

.comisiones{
    padding-top: 10rem;
}

.comisiones__grid{

}
@media screen and (min-width: 768px) {
    .comisiones__grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
        align-items: center;
    }
}

.comisiones__imagen{
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .comisiones__imagen{
        max-width: 30rem;
        margin: 0;
    }
}

.comisiones__texto{
    font-weight: 700;
    text-align: center;
}
@media screen and (min-width: 768px) {
    .comisiones__texto{
        text-align: left;
    }
}

.listado__elemento--2col{
    display: grid;
    /* grid-template-columns: 1fr 5fr; */
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}
@media screen and (min-width: 768px) {
    .listado__elemento--2col{
        display: grid;
        grid-template-columns: 1fr 4fr;
        grid-template-rows: unset;
        gap: 2rem;
    }
}

.listado__numero{
    margin: 0;
    font-size: 4rem;
    color: var(--primario);
    font-weight: 900;
    text-align: center;
}
@media screen and (min-width: 768px) {
    .listado__numero{
        text-align: right;
    }
}