header,
main,
footer {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

    --web-padding-1: 5%;
    --web-padding-2: 15%;
    --web-padding-3: 25%;
    --content-gap: 20px;

    font-size: 1rem;
}

h2 {
    font-size: 1.25em
}

header {
    position: relative;
}

.logo {
    margin: 0 auto;
    max-width: 160px;
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(50%);
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-top: 150px !important;
}

.header-title {
    text-align: center;
    color: var(--secondary-color);
    font-weight: 500;
    width: 100%;
    padding: 0 var(--web-padding-1);
    font-size: 1.5em;
}

.header-title>strong {
    color: var(--primary-color);
    font-size: 1.25em;
}

.header-img.mb {
    width: 100%;
}

.header-img.pc {
    display: none;
}

.content {
    width: 100%;
    max-width: 425px;
    margin: var(--content-gap) auto;
}

.content-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin-bottom: 0 !important;
}

.content-1-text-group {
    width: 100%;
    padding: 0 var(--web-padding-1);
}

.content-1-title {
    text-align: start;
    font-weight: 500;
    position: relative;
    border-bottom: 2px solid var(--tertiary-color);
    margin-top: 0;
}

.content-1-title::before {
    --_title-mark-size: 48px;
    content: "";
    position: absolute;
    top: 1ch;
    left: calc((var(--_title-mark-size) * -1) + -1ch);
    background-image: url(/res/img/Icono-Titulo.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: var(--_title-mark-size);
    height: calc(var(--_title-mark-size) / 4);
}

.content-1-text {
    text-align: justify;
}

.content-1-img.mb {
    width: 100%;
}

.content-1-img.pc {
    display: none;
}

.content-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e8eaee;
    padding: var(--web-padding-1);
    margin-top: 0 !important;
}

.content-2-title {
    text-align: start;
    font-weight: 500;
    position: relative;
    border-bottom: 2px solid var(--tertiary-color);
    margin-top: 50px;
}

.content-2-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 0;
    margin: 50px 0;
}

.content-2-list li {
    display: flex;
    align-items: start;
    gap: 1em;
}

.content-2-list li::before {
    --_li-img-size: 48px;
    content: "";
    width: var(--_li-img-size);
    height: var(--_li-img-size);
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/res/img/Check-Verde.svg);
}

.content-2-list p {
    margin: 0;
    flex: 1;
}

.content-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 0 var(--web-padding-1);
}

.content-3-title {
    text-align: start;
    font-weight: 500;
    position: relative;
    border-bottom: 2px solid var(--tertiary-color);
}

.content-3-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 0;
    margin: 50px 0;
}

.content-3-list li {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.content-3-list li::before {
    content: "";
    width: 320px;
    height: 420px;
    background-repeat: no-repeat;
    background-position: center;
}

.content-3-list li:nth-child(1):before {
    background-image: url(/res/img/Limpieza\ en\ Seco.webp);
}

.content-3-list li:nth-child(2):before {
    background-image: url(/res/img/Desengrasado\ Industrial.webp);
}

.content-3-list li:nth-child(3):before {
    background-image: url(/res/img/Industria\ Química.webp);
}

.content-3-list li:nth-child(4):before {
    background-image: url(/res/img/Sector\ Automotriz.webp);
}

.content-3-list p {
    text-align: center;
}

.content-3-list strong {
    color: var(--tertiary-color);
}

.content-4 {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.content-4-list-group {
    padding: 0 var(--web-padding-1);
}

.content-4-title {
    text-align: start;
    font-weight: 500;
    position: relative;
    border-bottom: 2px solid var(--tertiary-color);
    margin-top: 0;
}

.content-4-title::before {
    --_title-mark-size: 48px;
    content: "";
    position: absolute;
    top: 1ch;
    left: calc((var(--_title-mark-size) * -1) + -1ch);
    background-image: url(/res/img/Icono-Titulo.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: var(--_title-mark-size);
    height: calc(var(--_title-mark-size) / 4);
}

.content-4-list {
    width: 100%;
    padding: 0;
    margin: 50px 0;

    display: flex;
    flex-direction: column;
    gap: 2em;
}

.content-4-list li {
    display: flex;
    align-items: start;
    gap: 1em;
}

.content-4-list li::before {
    --_li-img-size: 32px;
    content: "";
    width: var(--_li-img-size);
    height: var(--_li-img-size);
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/res/img/Check.svg);
}

.content-4-list p {
    margin: 0;
    text-align: center;
    flex: 1;
}

.content-4-img.mb {
    width: 100%;
}

.content-4-img.pc {
    display: none;
}

.content-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--web-padding-1);
    width: 100%;
    min-height: 350px;
    aspect-ratio: 321 / 290;
    background-image: url(/res/img/Cuadro-Compromiso-RP.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.content-5-title {
    border-bottom: 3px solid white;
}

.content-5-title strong {
    text-align: start;
    color: white;
}

.content-5-text strong {
    text-align: start;
    color: white;
}

footer {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 1em;

    --_square-size: 32px;
    position: relative;
    padding-bottom: calc(var(--_square-size) * 2.5);

    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 246, 248, 1) 70%, rgba(232, 234, 238, 1) 100%);
}

.footer-text-group {
    width: 100%;
    padding: 0 var(--web-padding-1);
}

.footer-title {
    text-align: start;
    color: var(--primary-color);
    font-weight: 500;
    width: min-content;
    position: relative;
}

.footer-title strong {
    color: var(--primary-color);
}

.footer-title::after {
    content: "";
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -0.5ch;
    left: 0;
}

.footer-text {
    text-align: start;
}

.footer-form {
    width: 100%;
    padding: 0 var(--web-padding-1);
    display: flex;
    flex-direction: column;
    gap: 1em;

    --_form-clr-1: white;
    --_form-clr-2: #757b80;
    --_form-clr-1-dark: #cccccc;
    --_form-clr-2-dark: #46494d;
}

.footer-input {
    width: 100%;
    padding: 0.75em 2em;
    color: var(--_form-clr-2);
    background-color: var(--_form-clr-1);
    border: none;
}

.footer-input::placeholder {
    color: var(--_form-clr-2);
}

.footer-input::-moz-placeholder {
    color: var(--_form-clr-2);
}

.footer-input.disabled {
    color: var(--_form-clr-2-dark);
    background-color: var(--_form-clr-1-dark);
}

.footer-button {
    width: 30%;
    max-width: 150px;
    margin-left: auto;
    padding: 0.5em 0;
    background-color: var(--primary-color);
    border: none;
    cursor: pointer;
}

.footer-button strong {
    color: white;
}

.footer-button.disabled {
    color: var(--_form-clr-2-dark);
    background-color: var(--_form-clr-1-dark);
    border-bottom: 1px solid var(--_form-clr-1-dark);
}

.footer-bg-element1 {
    position: absolute;
    bottom: 0;
}

.footer-bg-element1 {
    width: calc(var(--_square-size) * 2);
    height: calc(var(--_square-size) * 2);
    left: 0;
}

@media (width >=768px) {
    .logo {
        right: var(--web-padding-1);
        transform: none;
    }

    .content {
        max-width: unset;
        margin: calc(var(--content-gap) * 2) auto;
    }

    .header {
        flex-direction: row-reverse;
        margin-top: 0 !important;
    }

    .header-title {
        width: 50%;
        padding: 0 var(--web-padding-1);
        text-align: start;
        font-size: 2em;
    }

    .header-img.mb {
        display: none;
    }

    .header-img.pc {
        display: block;
        width: 50%;
    }

    .content-1 {
        flex-direction: row;
    }

    .content-1-text-group {
        width: 50%;
        padding: 0;
        padding-left: var(--web-padding-2);
    }

    .content-1-img.mb {
        display: none;
    }

    .content-1-img.pc {
        display: block;
        width: 50%;
        padding-left: var(--web-padding-2);
    }

    .content-2 {
        padding: var(--web-padding-1) var(--web-padding-2);
    }

    .content-2-list {
        grid-template-columns: 1fr 1fr;
        margin: 100px 0;
    }

    .content-4 {
        flex-direction: row-reverse;
    }

    .content-4-list-group {
        width: 50%;
        padding-left: calc(var(--web-padding-1) * 2);
    }


    .content-4-list>li {
        flex-direction: row;
    }

    .content-4-list p {
        text-align: start;
    }

    .content-4-img.mb {
        display: none;
    }

    .content-4-img.pc {
        display: block;
        width: 50%;
    }

    .content-5 {
        padding: 0 var(--web-padding-2);
        background-image: url(/res/img/Cuadro-Compromiso.webp);
        min-height: 345px;
        aspect-ratio: 1921 / 345;
    }

    footer {
        --_square-size: 48px;
        padding-bottom: var(--_square-size);
    }

    .footer-text-group {
        padding: 0 var(--web-padding-2);
    }

    .footer-title {
        text-align: start;
    }

    .footer-text {
        text-align: start;
    }

    .footer-form {
        padding: 0 var(--web-padding-2);
        width: 80%;
        margin: 0 auto;
    }

    /* .footer-input {
        width: 100%;
    } */
}

@media (width >=1024px) {
    .content-3-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (width >=1440px) {
    .content-3-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}