main {
    grid-template-rows: 115px repeat(3, min-content) 130px;
}

/* #region seccion-1 */
.seccion-1 {
    grid-row: 2;
    grid-column: 1 / -1;
    background-image: url("../assets/asegdecalidad_2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    height: 37.5rem;
    position: relative;
}

.seccion-1 .graf-section-der {
    position: absolute;
    right: 0;
    height: 100%;
    transform: scaleX(-1);
}

.snow-wrapper {
    position: absolute;
    top: 12em;
    right: 22em;
    width: 22em;
}

.snow {
    position: absolute;
    width: 100%;
    z-index: 1;
}

.snow-shadow {
    position: absolute;
    width: 100%;
    mix-blend-mode: multiply;
}

.seccion-1 h1 {
    position: absolute;
    top: 7em;
    right: 1em;
}

.seccion-1 .snow-mobile {
    display: none;
}

/* #endregion */


/* #region seccion-2 */
.seccion-2 {
    grid-column: 1 / -1;
    background-image: url("../assets/calidad1.png");
    background-size: contain;
    background-position-x: left;
    background-repeat: no-repeat;
    height: 600px;
    display: flex;
    padding: 2em;
    justify-content: end;
    align-items: center;
    font-weight: 500;
}

.seccion-2 .wrapper {
    width: 50%;
}

.seccion-2 .seccion-img {
    display: none;
}

.seccion-2 ul {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 1em;
    color: var(--color-azul-2)
}

.seccion-2 ul span {
    color: black;
}

.seccion-2 h2 {
    color: var(--color-azul-2);
}

/* #endregion */

/* #region seccion-3 */
.seccion-3 {
    grid-column: 1 / -1;
    background-image: url("../assets/calidad2.png");
    background-size: contain;
    background-position-x: left;
    background-repeat: no-repeat;
    height: min-content;
    display: flex;
    padding: 2em;
    justify-content: end;
    align-items: center;
    font-weight: 500;
    position: relative;
}

.seccion-3 .wrapper {
	width: 55%;
	height: 100%;
}

.seccion-3 .certs {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
    gap: 7em;
}

.seccion-3 .texto-wrapper img {
    width: 100%;
}

.seccion-3 .cert-sernapesca img {
    width: 200%;
}

.seccion-3 h1 {
	color: white;
	position: absolute;
	top: 6em;
	left: 2em;
}

.seccion-3 .cert-wrapper {
    width: 15%;
    max-width: 10em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
}

/* #endregion */

.seccion-aseguramiento {
    color: var(--color-azul-3);
}

@media screen and (max-width: 1023px) {
    main {
        grid-template-rows: 130px repeat(4, min-content) 4em;
    }

    .seccion-1 {
        background-image: url("../assets/FONDO.png");
        display: flex;
        justify-content: center;
        align-items: center;
        height: 22em;
        text-align: start;
    }

    .seccion-1 .snow-wrapper {
        display: none;
    }

    .seccion-1 .snow-mobile {
        display: block;
        width: 35%;
        min-width: 8em;
        max-width: 15em;
        grid-row: 1;
    }

    .seccion-1 h1 {
        position: initial;
        justify-self: center;
        grid-row: 1;
        font-size: 18px;
    }

    .seccion-1 .graf-section-der {
        display: none;
    }

    .seccion-2 {
        background-image: none;
        height: min-content;
    }

    .seccion-2 .texto-wrapper br {
        display: none
    }

    .seccion-2 .wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1em;
    }

    .seccion-2 .seccion-img {
        width: 100%;
        max-width: 25em;
        display: block;
    }

    .seccion-2 .seccion-img img {
        width: 100%;
        border-radius: 15px;
    }

    .seccion-3 {
        background-image: none;
        flex-direction: column;
    }

    .seccion-3 h1 {
        color: var(--color-azul-2);
        position: initial;
    }

    .seccion-3 .wrapper {
        width: 100%;
    }

    .seccion-3 .certs {
        gap: 4em;
        flex-direction: column;
        align-items: center;
    }

    .seccion-3 .texto-wrapper img {
        min-width: 6em;
    }

    .seccion-3 .texto-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2em;
    }

    .seccion-3 .cert-sernapesca img {
        min-width: 15em;
        width: 100%;
    }

    .seccion-3 h1 {
        text-align: center;
    }

    .seccion-3 .cert-wrapper {
        width: fit-content;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1350px) {
    .seccion-2 {
        height: min-content;
    }

    .seccion-2 h2 {
        font-size: 28px;
    }

    .seccion-2 span {
        font-size: 14px;
    }

    .seccion-3 {
        background-size: 47% 100%;
    }

    .seccion-3 span {
        font-size: 14px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1150px) {
    .seccion-2 h2 {
        font-size: 26px;
    }

    .seccion-2 span {
        font-size: 12px;
    }
}

@media screen and (min-width: 608px) and (max-width: 1023px) {
    .seccion-3 .cert-sernapesca {
        margin: 0 5em;
    }
}

@media screen and (min-width: 1591px) {
    .seccion-3 .cert-wrapper {
        width: min-content;
    }
}