/* Paleta de colores */
    :root{
        /* Pricipales */
        --Primario:#13226E;
        --Secundario:#CA3030;
        --info:#2194F3;
        --Fonts: #FFFFFF;

        /* Accion */
        --Warning:#FBC02D;
        --Warning2:#fbc12d49;
        --Error:#E53835;
        --Success:#2E7D31;

        /* Neutral */
        --Neutral-1:#263238;
        --Neutral-2:#4D4D4D;
        --Neutral-3:#717171;
        --Neutral-4:#89939E;
        --Neutral-5:#ABBED1;
        --Neutral-6:#F5F7FA;

        /* Sombras */
        --Shadow-1:#111F63;
        --Shadow-2:#0F1B58;
        --Shadow-3:#0D184D;
        --Shadow-4:#0B1442;
        --Shadow-5:#0A1137;
        --Shadow-7:rgba(14, 24, 124, 0.822);

        /* Tintas */
        --Shadow-1:#2B387D;
        --Shadow-2:#424E8B;
        --Shadow-3:#5A649A;
        --Shadow-4:#717AA8;
        --Shadow-5:#8991B7;
        --Shadow-6:rgba(206, 226, 243,0.2);
    }

/* Parametros globales */

@font-face {
    font-family: 'Poppins';
    src: url('../Fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-style: normal;
}


.body{
    max-width: 2560px;
    min-width: 375px;
}

.is-flex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

/* Header Section */

    .header{
        margin-bottom: 0.5rem;
        padding: 0.5em;
        justify-content: space-between;
    }
        .header__nav{
            gap: 0.15em;
        }
            .header__nav--a{
                font-size: 0.65em;
                padding: 0.28em;
                text-align: center;
            }

            .header__nav--a:nth-child(1){
                background-color: var(--Secundario);
                color: var(--Fonts);
                font-size: 0.7em;
                width: 4.1em;
                border-radius: 4em;
            }

            .header__nav--a:nth-child(2){
                border-radius: 5em;
                background-color: var(--Primario);
                color: var(--Fonts);
                font-size: 0.7em;
                border-radius: 5em;
            }

            .header div:nth-child(1){
                width: 7.5vw;
            }

            .header div:nth-child(3){
                padding: 0.2em ;
                display: flex;
                gap: 0.20em;
            }

            .header__div--a:nth-child(1){
                background-color: var(--Neutral-6);
                padding: 0.2em ;
                border-radius: 5em;
            }
            .header__div--a:nth-child(2){
                background-color: var(--Success);
                color: var(--Fonts);
                border-radius: 5em;
                padding: 0.2em ;
            }
            
            .header__div--a__span{
                font-size: 0.65em;
            }
                .header__div--a__img{
                    width: 0.95em;
                    filter: brightness(0);
                }

                .header__div--a:nth-child(2){
                    gap: 0.2em;
                }

                .header__div--a__img:nth-child(2){
                    filter: invert(1) brightness(2);
                }


/* Hero Section */

.hero{
    padding: 0.5em;
}

.hero__article:nth-of-type(1){
    background-image: linear-gradient(to left, rgba(137, 147, 158, 0.4), rgba(137, 147, 158, 1)), url(/Images/Hero/Furgoneta.jpeg) ;
    background-size: cover;
    background-repeat: no-repeat;
    height: 16rem;
    align-content: center;
    margin-bottom: 1rem;
    border-radius: 0.15rem;
    padding: 0.5em;
    
}

.hero__article:nth-of-type(2) {
    display: none;
}

    .hero__article--h1{
        font-size: large;
        font-weight: 600;
        width: 78%;
        color: var(--Neutral-1);
        margin-bottom: 1em;
        transform: translateY(50px);
        filter: blur(20px);
        opacity: 0;
        animation: showContent .5s .3s linear 1 forwards;
    }

    .hero__article--h1__mark{
        background:none;
        animation: resaltar .10s 1s linear 1 forwards;
    }

        @keyframes showContent{
            to{
                opacity: 1;
                filter: blur(0);
                transform: translateY(0);
            }
        }
        @keyframes resaltar{
            to{
                background-color: var(--Warning);
            }
        }

        .hero__article--section{
            position: relative;
            z-index: 1;
            padding-left: 0.5em;
            display: flex;
            align-items: center;
            gap: 0.8em;
            margin-top: 0.5em;
            transform: translateY(50px);
            filter: blur(20px);
            opacity: 0;
            animation: showContent .4s .20s linear 1 forwards;
        }

        /* Play block */
        .hero__article--section__div:nth-child(2) {
            width: 32px;
            height: 32px;
            background: linear-gradient(145deg, #ffffff, #d1d1d1);
            border-radius: 50%;
            box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), -4px -4px 8px rgba(255, 255, 255, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

            .hero__article--section__div:nth-child(2):hover {
                transform: scale(1.1);
                box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.15), -6px -6px 12px rgba(255, 255, 255, 0.9);
            }

                .hero__article--section__div--div {
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 10px 0 10px 15px;
                    border-color: transparent transparent transparent #555;
                }

                    .hero__article--section__div--div:active {
                        transform: scale(0.95);
                        box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2), -2px -2px 6px rgba(255, 255, 255, 0.6);
                    }

            .hero__article--section__div:nth-child(3) {
                max-width: 90%;
                display: none;
                opacity: 0;
                transition: opacity 0.5s ease-in-out;
            }

            .hero__article--section__div--video {
                width: 100%;
                border-radius: 12px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
                position: fixed;
                z-index: 9999;
                top: 0;
                left: 0;
            }

                .hero__article--section__div--button {
                    position: absolute;
                    z-index: 9999;
                    top: 4;
                    right: 45%;
                    background-color: var(--Error);
                    color: var(--Fonts);
                    border: none;
                    border-radius: 50%;
                    width: 30px;
                    height: 30px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 16px;
                    cursor: pointer;
                    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
                }

            .hero__article--section__a{
                background-color: var(--Secundario);
                border: none;
                border-radius: 15em;
                font-size: 0.7em;
                color: var(--Fonts);
                width: 7em;
                height: 2.5em;
                text-align: center;
                align-content: center;
                cursor: pointer;
                box-shadow: 1px 1px 2px var(--Neutral-3);
            }
            
            /* Desktop-view-property */
                .hero__article--aside, .hero__div{
                    display: none;
                }

/* Seccion Speech Mision & reviews */

    .speech-container{
        padding: 0.2rem;
        justify-content: center;
        display: flex;
    }
        .speech-container__article, .speech-container__aside{
            width: 14em;
            height: 18.5em;
            padding: 0.2em;
            font-size: 0.8em;
            z-index: -1;
        }

        .speech-container__article{
            border-top-left-radius: 0.2em;
            border-bottom-left-radius: 0.2em;
            text-align: center;
            background-color: rgba(202,48,48,0.4);
            align-content: center;
            position: relative;
        }

            .speech-container__article--h2, .speech-container__aside--h2{
                font-size: medium;
                font-weight: 600;
                margin-bottom: 0.4em;
            }

            .speech-container__article::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url(../Images/Logo/Logo.png) no-repeat center center;
                background-size: cover;
                opacity: 0.06;
                z-index: -1;
        }

    .speech-container__aside{
        border-top-right-radius: 0.2em;
        border-bottom-right-radius: 0.2em;
        text-align: center;
        background-color: #EFEFEF;
    }

    .speech-container__aside--h2{
        margin-top: 0.5em;
    }

        .speech-container__aside--span{
            mask-image: url(/Icons/star_24dp_5F6368_FILL1_wght400_GRAD0_opsz24.svg);
            mask-position: center;
            background-color: var(--Warning);
            width:7.5rem;
            height: 1.5rem;
            justify-self: center;
            display: block;
            margin-bottom: 0.4em;
        }

            .speech-container__aside--div__div--span{
                display: block;
                margin-top: 0.5em;
            }



/* Desktop-view-property */

    .speech-container__h2, .speech-container_span, .speech-container__div{
        display: none;
    }

    .speech-container__article:nth-child(2), .speech-container__article:nth-child(3){
         display: none;
    }

/* Seccion de Socios */

    .socios-container{
        height: 3.5em;
        justify-items: center;
        align-items: center;
        margin-top: 4rem;
        margin-bottom: 8rem;
    }

    .socios-container__img{
        filter: brightness(0) saturate(100%) invert(11%) 
            sepia(35%) saturate(6087%) hue-rotate(222deg) 
            brightness(91%) contrast(94%);
        width: 4em;
    }

        .socios-container__div{
            box-shadow: 1px 1px 2px var(--Neutral-3);
            border-radius: 0.2em;
        }

        .socios-container__div--ul{
            padding: 0;
            list-style: none;
            display: flex;
        }

        .socios-container__div--ul__li{
            background-color: var(--Warning2);
            padding: 2px;
            font-size: 0.56em;
            font-weight: 600;
            color: var(--Primario);
        }


/* Seccion de servcios Primarios */

.Servicios-container{
    gap: 0.4rem;
    padding: 0.1rem;
    margin-bottom: 1rem;
    margin-top: 1em;
    justify-content: center;
    text-align: center;
}

    .Servicios-container__h2{
        font-weight: 400;
        font-size: large;
        color: var(--Primario);
        display: block;
        width: 100%;
        margin-bottom:1em ;
    }

    .Servicios-container__article{
        width: 10em;
        padding: 0.2em;
        border-radius: 0.15em;
        display: grid;
        grid-template-columns: 1rf;
        justify-items: center;
        align-content: space-between;
        background: var(--Shadow-6);
        border: none;
        box-shadow: 1px 1px 2px var(--Neutral-3);
        height: 20em;
    }

         .Servicios-container__article--div{
            height: 2.5em;
            width: 6em;
            background-color: var(--Primario);
            mask-repeat: no-repeat;
            mask-position: center;
            mask-size: contain;
            margin-bottom: 0.5em;
        }

            .Servicios-container__article--div__p{
                font-size: 0.7em;
                font-weight: 500;
                text-align: center;
                height:20em;
            }

            .Servicios-container__article--img, .Servicios-container__h3{
                display: none; /* Desktop veiwport */
            }

        .Servicios-container__article--a{
            margin-bottom: 0.6em;
            width: 11.6em;
            text-align: center;
            background-color: var(--info);
            border-radius: 5em;
            font-size: 0.8em;
            color: var(--Fonts);
            box-shadow: 1px 1px 2px var(--Neutral-3);
        }
            .Servicios-container__article--a:hover{
                background-color: var(--Secundario);
            }

            .Servicios-container__article:nth-child(2) .Servicios-container__article--div{
                mask-image: url('/Icons/Ventana_Gillotina.svg');
            }

             
            .Servicios-container__article:nth-child(3) .Servicios-container__article--div{
                mask-image: url('/Icons/sliding-door-icon.svg');
            }
            
            .Servicios-container__article:nth-child(4) .Servicios-container__article--div{
                mask-image: url('/Icons/door-svgrepo-com.svg');
            }

            .Servicios-container__article:nth-child(5) .Servicios-container__article--div{
                mask-image: url('/Icons/pipe-svgrepo-com.svg');
            }

            .Servicios-container__article:nth-child(6) .Servicios-container__article--div{
                mask-image: url('/Icons/window-screen.svg');
            }

            .Servicios-container__article:nth-child(7) .Servicios-container__article--div{
                mask-image: url('/Icons/engineer-worker-svgrepo-com.svg');
            } 


/* Seccion Slideshow */

.carousel-container{
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    height: 18rem;
}
    .carousel-container__List{
        position: absolute;
        width: 200px;
        height: 250px;
        top: 25%;
        left: calc(50% - 100px);
        transform-style: preserve-3d;
        transform: perspective(1500px);
        animation: autoRun 30s linear infinite;
        z-index: 2;
    }
        @keyframes autoRun {
            from{
                transform: perspective(1500px) rotateX(-20deg) rotateY(0deg);
            }
            to{
                transform: perspective(1500px) rotateX(20deg) rotateY(360deg); 
            }
    
        }

        .carousel-container__List--div{
            position: absolute;
            inset: 0 0 0 0;
            transform: 
            rotateY(calc( (var(--posicion) - 1) * (360 / var(--cantidad)) * 1deg) )
            translateZ(210px);
        }

            .carousel-container__List--div__img{
                    width: 60%;
                    height: 70%;
                    object-fit: cover;
                    border-radius: 0.5em;
            }
    
    .carousel-container__div{
        position: absolute;
        bottom: 60%;
        left: 50%;
        transform: translateX(-50%);
        width: 20em;
        text-align: center;
        padding: 10px;
        z-index: 3;
        display: flex;
    }

        .carousel-container__div--h2{
            font-weight: 400;
            color: var(--Primario);
            text-shadow: 1px 1px 2px var(--Neutral-2);
            font-size: large;
        }
            .carousel-container__div--h2__img{
                filter: brightness(0) saturate(100%) invert(44%) sepia(67%) 
                saturate(1510%) hue-rotate(185deg) brightness(97%) contrast(96%);
                width: 2em;
                display: inline;
            }
        

/* Footer */

/* Seccion footerUP*/

.footerUP__section {
    background-color: var(--Shadow-7);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0.5rem;
}

.footerUP__section--div{
    color: white;
}

.footerUP__section--div:nth-child(1){
    align-content: center;
    justify-self: center;
    color: var(--Fonts);
    font-weight: 300;
    width: 8em;
}

.footerUP__section--div:nth-child(1) h3 {
    font-size: 0.8em;
    font-weight: 600;
    margin: 0 0 1em 0;
}

.footerUP__section--div:nth-child(1) .footerUP__section--div__span:nth-child(2){
    font-size: 0.7em;
    font-weight: 500;
    background-color: var(--info);
    border-radius: 0.2em;
    display: block;
    text-align: center;
    width: 11em;
}

.footerUP__section--div:nth-child(1) img{
    width: 3em;
    margin-top: 1em;
    justify-self: center;
}

.footerUP__section--div:nth-child(1) .footerUP__section--div__span:nth-child(4){
    word-break: break-all;
    text-align: justify;
    font-size: 0.7em;
    padding: 0.2em;
}

.footerUP__section--div:nth-child(2) {
    word-break: break-all;
    width: 7.8em;
}

.footerUP__section--div:nth-child(2) h3 {
    font-size: 0.9em;
    font-weight: 600;
}

.footerUP__section--div:nth-child(2) ul {
    margin-top: 0;
    padding-left: 0.4em;
    padding-top: 0.2em;
}

.footerUP__section--div:nth-child(2) li {
    font-size: 0.75em;
}

.footerUP__section--div:nth-child(3) {
    width: 7em;
    justify-items: center;
    align-content: center;
}

.footerUP__section--div:nth-child(3) h3 {
    margin-top: 0.4rem;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footerUP__section--div--a {
    border: none;
    width: 9em;
    padding: 0;
    font-size: 0.7em;
    background-color: var(--Secundario);
    border-radius: 5em;
    justify-content: center;
    color: var(--Fonts);
    font-weight: 400;
    display: flex;
}

.footerUP__section--div--a:hover {
    background-color: var(--info);
}


.footerUP__section--div--a__img {
    width: 1em;
    filter: brightness(0);
}

.footerUP__section--div:nth-child(4) {
    display: none;
}


.footerDiv {
    background-color: var(--Warning);
    height: 1.5rem;
}

.footerBottom__section {
    background-color: var(--Neutral-2);
    height: fit-content;
    text-align: center;
    color: var(--Fonts);
    font-size: 0.7em;
}

