@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');
:root {
    --main-color: #444444;
    --main-color-transparent: #44444475;
    --second-color: #b21008;
    --second-color-transparent: #b2100875;
    --third-color: #6d4341;
    --third-color-transparent: #6d434175;
}
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-size: 62.5%;
    font-family: 'Poppins', sans-serif;
}
section {
    padding: 60px;
    padding-top: 135px;
}
@media screen and (max-width: 768px) {
    section {
        padding: 40px;
    }
}
img {
    max-width: 100%;
}

ul, li {
    list-style: none;
    font-size: 1rem;
    padding: 0;
}

.mobile {
    display: none;
}
.no-mobile {
    display: block;
}
.mobile-flex {
    display: none;
}
.no-mobile-flex {
    display: flex;
}
@media screen and (max-width: 768px) {
    .mobile {
        display: block;
    }
    .no-mobile {
        display: none;
    }
    .mobile-flex {
        display: flex;
    }
    .no-mobile-flex {
        display: none;
    }
}

.content {
    padding: 20px 0;
    text-align: justify;
    text-align-last: center;
}
/* General Styles */

    /* Text */
        h1{
            font-size: 4rem;
        }
        h2 {
            font-size: 3.5rem;
        }
        h3 {
            font-size: 3rem;
        }
        h4 {
            font-size: 2.5rem;
        }
        h5 {
            font-size: 2rem;
        }
        h6 {
            font-size: 1.5rem;
        }
        p {
            font-size: 1.1rem;
        }
        @media screen and (max-width: 768px) {
            h1{
                font-size: 3.5rem;
            }
            h2 {
                font-size: 3rem;
            }
            h3 {
                font-size: 2.5rem;
            }
            h4 {
                font-size: 2rem;
            }
            h5 {
                font-size: 1.5rem;
            }
            h6 {
                font-size: 1.3rem;
            }
            p {
                font-size: .95rem;
            }
        }
    /* End Text */

    header {
        height: 100vh;
    }
    a {
        text-decoration: none;
        font-size: 1.2rem;
        color: white;
        transition: all .3s ease-in-out;
    }
    @media screen and (max-width:768px) {
        a {
            font-size: 1rem;
        }
    }

    a:hover {
        text-decoration: none;
        color: white;
    }

        .title {
            text-transform: uppercase;
            font-weight: bold;
        }
        .subtitle {
            text-transform: capitalize;
        }

        .background-overlay,
        .background-overlay-dark,
        .background-overlay-light,
        .background-overlay-color {
            position: relative;
            z-index: 2;
        }

        .background-overlay::after,
        .background-overlay-dark::after,
        .background-overlay-light::after,
        .background-overlay-color::after {
            position: absolute;
            z-index: -1;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            content: '';
            transition: all .3s ease-in-out;
        }

        .background-overlay-light::after {
            background-color: rgba(0, 0, 0, 0.3); 
        }

        .background-overlay::after {
            background-color: rgba(0, 0, 0, 0.5); 
        }

        .background-overlay-dark::after {
            background-color: rgba(0, 0, 0, 0.7); 
        }

        .background-overlay-color::after {
            background-color: var(--main-color-transparent);
        }
/* Fin Generals */
/* ################################################# */

    /* MenuBar */
        .menubar{
            position: fixed;
            width: 100%;
            transition: all .3s ease-in-out;
            background-color: transparent;
            z-index: 3;
        }
        @media screen and (max-width: 768px) {
            .menubar {
                padding: 0;
            }
        }
            .menubar2 {
                background-color: #fff;
            }
            .menubar2 .mobile-btn {
                padding: 15px;
            }

        .mobile-btn {
            position: absolute;
            right: 0;
            padding: 30px;
            top: 0;
            cursor: pointer;
            transition: all .3s ease-in-out;
        }
        .mobile-btn .mobile-line-btn {
            background-color: var(--second-color);
        }
        .mobile-btn:hover .mobile-line-btn {
            background-color: var(--second-color-transparent);
        }
        .mobile-btn .mobile-line-btn {
            width: 40px;
            height: 7px;
            margin: 3px 0;
            border-radius: 5px;
            transition: all .2s ease-in-out;
        }

        .menubar-nav,
        .menubar-items {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
        }
            .menubar-nav {
                max-width: 1200px;
                margin: auto;
            }
            .menubar-items {
                width: 90%;
                height: 75px;
                margin-left: 40px;
                padding-right: 40px;
                background-color: #000000d7;
                border-radius: 10px;
                transition: all .3s ease-in-out;
            }
                @media screen and (max-width: 768px) {
                    .menubar-items {
                        width: 90%;
                        min-height: 75px;
                        height: auto;
                        margin: 0;
                        padding: 0;
                    }
                }
        .menu-item {
            position: relative;
            padding: 5px 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            border-bottom: 7px solid transparent;
            transition: all .3s ease-in-out;
        }
        .menu-item:hover {
            border-color: #fff;
        }
        .menubar img,
        .menubar2 img {
            transition: all .3s ease-in-out;
        }
        .menubar .menu-item * {
            color: #fff;
            font-size: 1.1rem;
            text-transform: uppercase;
        }
            .menubar2 .menu-item * {
                color: var(--main-color);
            }
            .menubar2 .menu-item:hover {
                border-color: var(--main-color);
            }
            .menubar2 .menubar-items {
                background-color: transparent;
            }
            .menubar2 img {
                height: 50px;
            }
        @media screen and (max-width: 768px ){
            .menu-item {
                display: block;
            }
        }
            .dropdown-menubar {
                position: absolute;
                top: 6vh;
                width: 100%;
                display: flex;
                flex-direction: column;
            }
            @media screen and (max-width: 768px) {
                .dropdown-menubar {
                    top: 0;
                }
            }
                .dropdown-menubar * {
                    color: #fff;
                    padding: 5px 10px;
                    cursor: pointer;
                }
            @media screen and (max-width: 768px) {
                .dropdown-menubar {
                    position: relative;
                }
            }
        @media screen and (max-width: 768px) {
            .menubar-nav,
            .menubar-items {
                flex-direction: column;
            }
        }
    /* Fin MenuBar */

    /* Header */
        .site-header {
            height: 100vh;
            background-image: url('/assets/images/index/header/header-xl.jpg');
            background-size: cover;
        }
            @media screen and (max-width: 1400px) {
                .site-header {
                    background-image: url('/assets/images/index/header/header-lg.jpg');
                }
            }
            @media screen and (max-width: 1200px) {
                .site-header {
                    background-image: url('/assets/images/index/header/header-md.jpg');
                }
            }
            @media screen and (max-width: 768px) {
                .site-header {
                    background-image: url('/assets/images/index/header/header-sm.jpg');
                }
            }
            @media screen and (max-width: 320px) {
                .site-header {
                    background-image: url('/assets/images/index/header/header-xs.jpg');
                }
            }

            .header-content {
                max-width: 800px;
                margin: auto;
                padding-top: 50px;
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                position: relative;
            }
            @media screen and (max-width: 768px) {
                .header-content {
                    padding-left: 15px;
                    padding-right: 15px;
                }
            }
                .header-content * {
                    color: #fff;
                    font-weight: lighter;
                    text-align: center;
                }
    /* Fin Header */

    /* Lean Manufacturing first*/
        .section-lean {
            padding: 0;
            background-color: #1c1b20;
        }
        .section-lean .content {
            padding: 0;
        }
    /* Fin Lean Manufacturing first */

    /* Quienes Somos */
        .section-us {
            background-image: url('/assets/images/index/background.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        .section-us .content {
            --gap-us: 30px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: var(--gap-us);
        }
            .section-us .content .us-content {
                order: 0;
            }
            .section-us .content .us-image {
                order: 1;
            }

            .section-us .content .us-content,
            .section-us .content .us-image {
                width: calc(50% - var(--gap-us));
            }

            .section-us .content .us-image img {
                border-radius: 7px;
            }
            @media screen and (max-width: 768px) {
                .section-us .content .us-content,
                .section-us .content .us-image {
                    width: 100%;
                }

                .section-us .content .us-content {
                    order: 1;
                }
                .section-us .content .us-image {
                    order: 0;
                }

                .section-us .content .us-image img {
                    border-radius: 0!important;
                }
            }
    /* Fin Quienes Somos */

    /* Mision Vision Valores */
        .section-mis-vis-val {
            --color-mision: #aa4242cb;
            --color-vision: #1d1d1dcb;
            --color-valores: #1a1e53cb;
            --color-mision-icon: #aa4242;
            --color-vision-icon: #1d1d1d;
            --color-valores-icon: #1a1e53;
            padding: 150px 0 50px 0;
            background-image: url('/assets/images/index/background.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
        @media screen and (max-width: 768px) {
            .section-mis-vis-val {
                padding: 50px 15px;
            }
        }
        .section-mis-vis-val .content .mis-vis-val-content {
            --gap-mvv: 40px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;
            gap: var(--gap-mvv);
        }
            .section-mis-vis-val .content .box {
                width: calc(33.3% - var(--gap-mvv));
                text-align: center;
                border-radius: 7px;
                padding: 60px 30px 30px 30px;
                min-height: 500px;
                margin-top: 20px;
                position: relative;
                color: #fff;
            }
            @media screen and (max-width: 768px) {
                .section-mis-vis-val .content .box {
                    width: 100%;
                    min-height: auto;
                    margin-top: 50px;
                }
            }
                .section-mis-vis-val .content .box.mision {
                    background-color: var(--color-mision);
                }
                .section-mis-vis-val .content .box.vision {
                    background-color: var(--color-vision);
                }
                .section-mis-vis-val .content .box.valores {
                    background-color: var(--color-valores);
                }

                .section-mis-vis-val .box .icon {
                    position: absolute;
                    top: -70px;
                    left: 0;
                    right: 0;
                    margin: 0 auto;
                    height: 120px;
                    width: 120px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                }
                    .section-mis-vis-val .box.mision .icon {
                        background-color: var(--color-mision-icon);
                    }
                    .section-mis-vis-val .box.vision .icon {
                        background-color: var(--color-vision-icon);
                    }
                    .section-mis-vis-val .box.valores .icon {
                        background-color: var(--color-valores-icon);
                    }
    /* Fin Mision Vision Valores */

    /* Lean Manufacturing second*/
    .section-lean-2 {
        padding: 0;
        background-color: #f1f1f1;
    }
    .section-lean-2 .content {
        padding: 0;
    }
/* Fin Lean Manufacturing second*/

    /* Productos */
        .section-productos {
            background-image: url('/assets/images/index/background.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
            .section-productos .productos-box {
                display: grid;
                grid-template-columns: 35% 65%;
                max-height: 500px;
                gap: 15px;
            }
            @media screen and (max-width: 768px) {
                .section-productos .productos-box {
                    display: grid;
                    grid-template-columns: 100%;
                    grid-template-rows: 50% 50%;
                    max-height: inherit;
                }

                .section-productos .productos-box .image-expanded {
                    grid-column: 1 / 1;
                    grid-row: 1 / 1;
                }
                .section-productos .productos-box .thumbnails {
                    grid-column: 1 / 1;
                    grid-row: 2 / 2;
                }
            }
                .section-productos .productos-box .thumbnails {
                    display: grid;
                    grid-template-columns: repeat(3 33.3%);
                    overflow-y: scroll;
                }
                    .section-productos .productos-box .thumbnails img {
                        cursor: pointer;
                        transition: all .3s ease-in-out;
                    }
                        .section-productos .productos-box .thumbnails img:hover {
                            filter: saturate(5);
                        }
                    .section-productos .productos-box .thumbnails .prod1 {
                        grid-column: 1 / 2;
                        grid-row: 1 / 2;
                    }
                    .section-productos .productos-box .thumbnails .prod2 {
                        grid-column: 1 / 2;
                        grid-row: 2 / 4;
                    }
                    .section-productos .productos-box .thumbnails .prod3 {
                        grid-column: 2 / 3;
                        grid-row: 2 / 4;
                    }
    /* Fin Productos */

    /* Testimonios */
        .section-testimonios {
            background-image: url('/assets/images/index/background.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }
            .section-testimonios .content-testimonios {
                --gap-testimonios: 40px;
                display: flex;
                flex-wrap: wrap;
                gap: var(--gap-testimonios);
            }
            @media screen and (max-width: 768px) {
                .section-testimonios .content-testimonios {
                    gap: 10px;
                }   
            }
                .content-testimonios img {
                    width: calc(50% - var(--gap-testimonios));
                    height: 100%;
                }
                @media screen and (max-width: 768px) {
                    .content-testimonios img {
                        width: 100%;
                        margin: 10px 0;
                    }
                }
    /* Fin Testimonios */

    /* Clientes */
        .section-clientes {
            background-color: #f1f1f1;
        }
            .clientes-carousel .clientes-owl-carousel .slide {
                padding: 35px;
                margin: 0 10px;
                border-radius: 50%;
                background-color: #fff;
            }
    /* Fin Clientes */

    /* Footer */
        footer {
            background-color: var(--main-color);
            color: #fff;
        }
        footer * {
            margin: 0;
            font-size: .9rem;
        }
        footer .content {
            --gap-footer: 60px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: var(--gap-footer);
        }
            footer .content .box {
                text-align: center;
                width: calc(33.3% - var(--gap-footer));
            }
            @media screen and (max-width: 768px) {
                footer .content .box {
                    width: 100%;
                }
            }
                footer .content .box .contact-box {
                    display: flex;
                    gap: 30px;
                    justify-content: flex-start;
                    align-items: center;
                    padding: 10px 0;
                    padding-left: 25px;
                }
                @media screen and (max-width: 768px) {
                    footer .content .box .contact-box {
                        justify-content: center;
                        padding: 10px 50px;
                    }
                }
    /* Fin Footer */

    /*Social Box*/
    .social-box {
        position: fixed;
        display: flex;
        flex-direction: column;
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
        -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
        top: 25%;
        right: 0;
        background: rgba(255,255,255,0.7);
        padding: 4px;
        z-index: 9;
    }
    .social-box a {
        display: inline-block;
        max-width: 45px;
        margin-bottom: 8px;
    }