@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    /*
    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Slab', serif;
     */
    overflow-x: hidden;

}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    background-color: none;
}

.backgroundPage{
    width: 100vw;
    height: 100vh;
    opacity: 20%;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: -100000000000;
}

.backgroundPage .bgAll .imagen{
    width: 100%;
    height: 100vh;
    background-image: url(../img/backgroundPage.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* -------------------------
Colores
------------------------- */

:root {
    --primario: #CE112D;
    --primarioHover: #CE112DCC;
    --secundario: #53565A;
    --secundarioHover: #53565A30;
    --terciario: #C9C9C8;
    --terciarioHover: #C9C9C830;
    
    --link: #0777A8;
    --linkHover: #5FBFE0;
    
    --blanco: #FFFFFF;
    --gris: #FAFAFA;
    --gris: #D9D9D921;
    --gris: #D9D9D90D;
    --grisFondo: #D9D9D921;
    --gris-op: #FAFAFA90;
    --grisDos: #EAEAEA;
    --grisMedio: #BDBDBD;
    --negro: #2C2C2C;
    --negroDos: #05050540;
    --transparente: #00000000;

    --textoPrincipal: 'Maven Pro', sans-serif;
    --textoSecundario: 'Source Serif Pro', serif;

    --transitions: all ease-in-out 300ms;
    --transitionsL: all ease-in-out 600ms;
    --transitionsXL: all ease-in-out 1200ms;

    --textShadow: #00000030 .2rem .2rem .1rem;
    --boxShadow: #00000030 .4rem .4rem .6rem;
    --sectionShadow: #00000030 0 1rem 1rem;
}

/* --------------------
Titulos / Textos
-------------------- */
/* h1{
    font-size: 4.2rem;
    color: var(--blanco);
    font-family: var(--textoSecundario);
    text-transform: uppercase;
    color: var(--quinto);
} */

h2{
    font-family: 'Roboto Slab', serif;
    font-size: 3rem;
    text-shadow: var(--textShadow);
    text-decoration: underline;
    padding: 1rem 1rem 1rem 0;
    color: var(--primario);
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    max-width: 40ch;
    padding-left: 4rem;
    text-indent: -4rem;
}

h2::before{
    content: "\00a0\00a0\00a0\00a0\00a0";
}

h3{
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    text-align: center;
    max-width: none;
    text-transform: uppercase;
}

h4{
    color: var(--negro);
    font-size: 2rem;
    font-weight: 400;
}

h5{
    color: var(--secundario);
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
}

h6{
    font-family: 'Roboto Slab', serif;
    font-size: 2.4rem;
    text-shadow: var(--textShadow);
    padding: 1rem 1rem 0 0;
    color: var(--primario);
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    max-width: 90ch;
    padding-left: 2rem;
    text-indent: -4rem;
}

h6::before{
    content: "\00a0\00a0\00a0\00a0\00a0";
}


p{
    color: var(--negro);
    font-size: 1.6rem;
    font-weight: 400;
    max-width: 100ch;
    padding: 1rem 0;
    text-align: justify;
}

/* --------------------
Botones
-------------------- */
.btn-primario{
    padding: .5rem 3rem;
    font-size: 1.4rem;
    color: var(--blanco);
    background-color: var(--primario);
    border: solid var(--primario) .2rem;
    border-radius: .5rem;
    text-transform: uppercase;
    transition: var(--transitions);
    cursor: pointer;
    margin: 1rem 2rem;
    box-shadow: var(--boxShadow);
    white-space: nowrap;
}

.btn-primario:hover{
    background-color: var(--primarioHover);
    border: solid var(--blanco) .2rem;
    font-weight: 500;
    transform: scale(1.05);
}

.btn-primario a{
    color: var(--blanco);
    text-decoration: none;
}

.boton{
    background-color: none;
    width: fit-content;
}

.btn-secundario{
    border: none;
    padding: .5rem .5rem .5rem 0;
    font-size: 1.4rem;
    transition: var(--transitions);
    cursor: pointer;
    margin: .2rem 1rem;
    white-space: nowrap;
    text-decoration: none;
    background-color: none;
    text-align: left;
    transform: translateX(-1rem);
    background-color: var(--transparente);
}

.btn-secundario::after{
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f178";
    color: var(--link);
    text-decoration: none;
    padding-left: 1rem;
    transition: var(--transitions);
}

.btn-secundario:hover{
    transform: scale(1.1);
}

.btn-secundario:hover::after{
    padding-left: 2rem;
}

.btn-secundario a{
    color: var(--link);
}

.boton-flotante{
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    animation: whatsApp 3s linear infinite;

    z-index: 9999999999;
}

.boton-flotante .btn-flotante{
    background-color: #2BB741;
    border: solid var(--blanco);
    border-radius: 5rem;
    transition: var(--transitionsL) !important;
}

.boton-flotante .btn-flotante:hover{
    background-color: #050505;
}

.boton-flotante .btn-flotante a{
    background-color: none;
    font-size: 2rem;
    text-decoration: none;
    color: var(--blanco);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.boton-flotante .btn-flotante a::after{
    content: "\f4ad";
    color: var(--blanco);
}

.boton-flotante .btn-flotante:hover a::after{
    content: "\f1d8";
    color: var(--blanco);
}

.boton-masInfo::after{
    content: "A";
}

/* --------------------
Clases universales
-------------------- */

.contenedor-seccion{
    width: 100%;
    padding: 0;
    margin: 0 auto;
    padding: 10rem 0 4rem 0;
    max-width: 150rem;
}

.seccion-top{
    width: 100vw;
    height: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background-color: var(--grisFondo);
}

/*Scroll -----------------------------------------------------------------------*/

.desaparece{
    opacity: 0.5;
    transition: var(--transitionsXL);
}

.transform_upD{
    opacity: 0;
    transform: translateY(40%);
    transition: var(--transitionsXL);
}

.transform_up{
    opacity: 0;
    transform: translateY(10%);
    transition: var(--transitionsXL);
}

.transform_down{
    opacity: 0;
    transform: translateY(-10%);
    transition: var(--transitionsXL);
}

.transform_left{
    opacity: 0;
    transition: var(--transitionsXL);
    transform: translateX(10%);
}

.transform_right{
    opacity: 0;
    transition: var(--transitionsXL);
    transform: translateX(-10%);
}

.aparece{
    opacity: 1;
    transform: none;
}

/* --------------------
Menu Inicial
-------------------- */

header{
    width: 100vw;
    height: 8rem;
    overflow: visible;
    background-color: none;
    position: fixed;
}

header .containerMenu{
    max-width: 150rem;
    margin: auto;
}

.headerInicio {
    transition: var(--transitionsL);
    z-index: 99999999;

}

.headerInicio .logoRod{
    width: 12rem;
    height: 100%;
    padding: 1rem 0;
}

.headerInicio .logoRod .logo{
    width: 100%;
    height: 6rem;
    background-image: url(../img/logoRod_completo_blanco.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.headerInicio .dropdown {
    display: inline-block;
    overflow: hidden;
}

.headerInicio .dropdown .down::after {
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    padding-left: .5rem;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
}

.headerInicio .dropbtn {
    color: var(--blanco);
    font-size: 1.4rem;
    font-weight: 200;
    border: none;
    background-color: #00000000;
    margin: 0;
    padding: .5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transitions);
    font-family: 'Roboto Slab', serif;
}

.headerInicio .noDrop {
    margin: 0;
    padding: 1rem;
    transition: var(--transitions);
}

.headerInicio .dropdown-content {
    width: fit-content;
    color: var(--primario);
    background-color: var(--blanco);
    display: none;
    position: absolute;
    min-width: none;
    border-radius: 0;
}

.headerInicio .dropdown-content ul{
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
    padding-bottom: 1rem;
    text-align: left;
}

.headerInicio .dropdown-content ul li{
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: left;
    margin: 0;
    padding: 1rem;
    font-weight: 600;
    font-size: 2rem;
}

.headerInicio .dropdown-content a {
    color: var(--secundario);
    padding: 1rem;
    text-decoration: none;
    display: block;
    font-family: 'Roboto Slab', serif;
    border-bottom: solid var(--secundario) .1rem;
}

.headerInicio .dropdown-content a:hover {
    color: var(--primario);
    background-color: var(--blanco);
    overflow: visible;
}

.headerInicio .dropdown:hover .dropdown-content {
    display: block;
}

.headerInicio .dropdown:hover .dropbtn {
    background-color: none;
    transform: scale(1.05);
}

.headerInicio .noDrop:hover {
    background-color: none;
    transform: scale(1.05);
    
}

.headerInicio .noDrop a:hover {
    text-decoration: underline;
}

.headerInicio #selected {
    color: var(--blanco);
    font-weight: 600;
    background-color: none;
    transition: var(--transitions);
}

.headerInicio #selected span{
    color: var(--blanco);
    font-size: 1.4rem;
    font-weight: 400;
    border: none;
    background-color: #00000000;
    margin: 0;
    padding: .5rem;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: underline;
    transition: var(--transitions);
    font-family: 'Roboto Slab', serif;
}

.headerInicio .containerMenu {
    color: var(--blanco);
    width: auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 300;
    text-transform: uppercase;
}

.headerInicio .containerMenu .menuPags ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    
}

.headerInicio .containerMenu .vinculoMenu{
    color: var(--blanco);
    overflow: hidden;
}


.headerInicio .containerMenu .menuPags .dropdown-content ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}

.headerInicio .containerMenu ul li {
    margin: 0 .5rem;
    padding: 0;
    font-size: 1.4rem;
    list-style: none;
    
}

.headerInicio .containerMenu a {
    color: var(--secundario);
    text-decoration: none;
    font-weight: 200;
    font-family: 'Roboto Slab', serif;
}

.headerInicio .containerMenu a:hover {
    text-decoration: none;
}

.headerInicio .containerMenu .menuPags .dropdown ul{
    max-width: 40rem;
    background-color: var(--blanco);
    border-bottom: solid var(--primario) .1rem;
}

.headerInicio .containerMenu .menuPags .dropdown ul li a{
    text-transform: none;
    font-size: 1.4rem;
}

.headerInicio .containerMenu .menuPags .dropdown-content ul .titulo a{
    color: var(--primario);
    text-transform: none;
    font-weight: 600;
    font-size: 1.6rem;
    border-bottom: none;
    margin-top: 2rem;
    text-transform: uppercase;
}

.headerInicio .containerMenu .menuPags .dropdown .vacio{
    border-bottom: none;
}

.headerInicio .containerMenu .menuPags .dropdown .vacio:hover{
    border-bottom: none;
    cursor: default;
    background-color: #00000000;
}

.headerInicio .containerMenu .menuRedes .dropdown{
    overflow: hidden;
}

.headerInicio .containerMenu .menuRedes ul li{
    overflow: hidden;
}

.headerInicio .containerMenu .menuRedes a{
    color: var(--blanco);
}

.headerInicio .containerMenu .menuRedes .contacto{
    background-color: var(--blanco);
    color: var(--secundario);
    padding: .5rem 2rem;
    font-weight: 400;
    border-radius: 10rem;
}

.headerInicio .containerMenu .menuRedes .dropdown a{
    width: fit-content;
    color: var(--secundario);
    border-bottom: solid var(--secundario) .1rem;
    padding: 1rem;
}

.headerInicio .containerMenu .menuRedes .dropdown a:hover{
    color: var(--primario);
    background-color: #ffffffDD;
    font-weight: 400;

}

.headerInicio .containerMenu .menuRedes .dropdown-content ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;   
}

.headerInicio .containerMenu .menuRedes ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    
}

.headerInicio .dropdown button{
    display: flex;
    justify-content: center;
    align-items: center;

}

.headerInicio .dropdown button i{
    margin-right: 1rem;
    font-size: 2rem;

}

/* --------------------
Menu bajar
-------------------- */

.headerInicio.abajo {
    background-color: var(--primario);
    box-shadow: var(--boxShadow);
     
}

.headerInicio.abajo .dropdown-content {
    color: var(--primario);
    background-color: #FAFAFA;
    display: none;
    position: absolute;
    min-width: none;
    box-shadow: var(--boxShadow);
    border-radius: 0 0 .5rem .5rem;
    
}

.headerInicio.abajo .containerMenu a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: 200;
    font-family: 'Roboto Slab', serif;
}

.headerInicio.abajo .containerMenu .menuPags .dropdown a{
    color: var(--blanco);
}

.headerInicio.abajo .containerMenu .menuPags .dropdown .dropdown-content a{
    color: var(--secundario);
    padding: 1.5rem 3rem 1.5rem 1.6rem;
    /* border: solid greenyellow 2px; */
}


.headerInicio.abajo .containerMenu .menuPags .dropdown .dropdown-content a:hover{
    color: var(--primario);
    font-weight: 400;
}

.headerInicio.abajo .containerMenu .menuRedes .dropdown a{
    color: var(--secundario);
    border-left: solid var(--blanco) .1rem;
    padding: 1.5rem 3rem 1.5rem 1.6rem;
}

.headerInicio.abajo .containerMenu .menuRedes .dropdown a:hover{
    color: var(--primario);
    font-weight: 400;
}

/* --------------------
Header Secciones
-------------------- */

.contenedor-top{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 45vh;
    min-height: 45rem;
    display: flex;
    justify-content: center;
}

.top{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-right: 0;
    padding-left: 3rem;
    max-width: 140rem;
}

.top .cont-serv{
    background-color: none;
    width: 60%;
    height: auto;
    min-width: 60rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.top .cont-serv h3,
.top .cont-serv p{
    padding: 0 2rem;
    color: var(--blanco);
    text-align: left;
}

.contenedor-top .cont-serv h3{
    font-weight: 800;
}

.contenedor-top .cont-serv p{
    margin-bottom: 2rem;
}

.contenedor-top .top .cont-serv .boton{
    text-align: left;
}

.top-right{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 3rem;
    max-width: 140rem;
}

.top-right .cont-serv{
    background-color: none;
    width: 60%;
    height: auto;
    min-width: 60rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.top-right .cont-serv h3,
.top-right .cont-serv p{
    padding: 0 2rem;
    color: var(--blanco);
    text-align: right;
}
/* --------------------
Footer
-------------------- */

footer{
    background-color: var(--secundario);
    height: fit-content;
    padding: 1rem 5rem;
}

footer .cajas{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

footer .cajas .logo{
    background-image: url(../img/logoRod_completo_blanco.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 8rem;
    height: 7rem;
}

footer .cajas .caja a{
    text-decoration: none;
    color: var(--blanco);
}


/* --------------------
Animaciones
-------------------- */

@keyframes whatsApp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fade {
    0% {
        transform: scale(1.01);
        opacity: 20%;
    }

    5% {
        transform: scale(1);
    }

    20% {
        opacity: 100%;
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

.fade {
    animation: fade 6s linear infinite;
}


/* Mobile, Tablet (Vertical) y Tablet (Horizontal) */
@media only screen and (min-width: 1px) and (max-width: 1024px) {

    .seccion-top{
        box-shadow: var(--sectionShadow);
    }

    /* --------------------
    Titulos / Textos
    -------------------- */
    /* h1{
        font-size: 4.2rem;
        color: var(--blanco);
        font-family: var(--textoSecundario);
        text-transform: uppercase;
        color: var(--quinto);
    } */

    h2{
        font-size: 2.4rem;
        text-decoration: none;
        text-align: center;
        padding: 1rem;
        text-indent: 0;
    }

    h2::before{
        content: "";
    }

    h3{
        font-size: 2.2rem;
        font-weight: 600;
        margin: 0;
        padding: 0;
        text-align: center;
        max-width: none;
        text-transform: uppercase;
    }
    
    h4{
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }
    
    h5{
        font-size: 1.8rem;
        color: var(--secundario);
        font-weight: 600;
        text-transform: uppercase;
    }
    
    h6{
        font-size: 2rem;
        padding: 1rem 1rem 0 1rem;
        text-indent: 0;
    }
    
    h6::before{
        content: "";
    }
    
    
    p{
        font-size: 1.4rem;
        padding: 1rem 0;

        color: var(--negro);
        font-weight: 400;
        max-width: 100ch;
        text-align: justify;
    }

    /* --------------------
    Menu
    -------------------- */

    .bars__menu {
        width: 34px;
        padding: 4px 7px;
        height: 30px;
        border-radius: 4px;
        cursor: pointer;
        position: fixed;
        top: 40px;
        right: -5px;
        transform: translate(-50%, -50%);
        overflow: visible;
        z-index: 9999999999999999999;
        background-color: var(--primario);
    }
    
    .bars__menu span {
        display: block;
        width: 100%;
        height: 2px;
        margin: 4px 0 0 0;
        border-radius: 1px;
        transform-origin: 0px 100%;
        background-color: var(--blanco);
        transition: var(--transitions);
    }
    
    .activeline1__bars-menu {
        transform: rotate(47deg) translate(0px, -1px);
        color: var(--blanco);
    }

    .activeline2__bars-menu {
        opacity: 0;
        margin-left: -30px;
    }

    .activeline3__bars-menu {
        transform: rotate(-47deg) translate(0px, 2.5px);
    }

    /* --------------------
    Menu hide
    -------------------- */

    .logoRod {
        display: none;
    }

    /* --------------------
    Header Menu
    -------------------- */

    header {
        width: 60vw;
        height: 100vh;
        right: 0;
        display: flex;
        flex-direction: column;
        background-color: var(--primario);
        transition: var(--transitionsL);
        transform: translateX(1100px);
        z-index: 9;
        position: fixed;
    }

    .headerInicio {
        width: 60vw;
    }

    .headerInicio .containerMenu ul li a{
        color: var(--blanco);
    }

    header #selected {
        font-weight: 600;
    }

    .containerMenu {
        width: 100%;
        height: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }
    
    .containerMenu ul {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    
    .containerMenu ul li {
        padding: 20px 0;
    }

    .headerInicio .menuPags .dropdown .down::after {
        content: "";
    }
    
    .activecontainerMenu {
        transform: translateX(0);
    }
    
    .headerInicio .containerMenu .menuPags ul{
        display: flex;
        flex-direction: column;
        align-items: center;   
    }
    
    .headerInicio .containerMenu .menuPags .dropdown .dropdown-content {
        transform: translateX(5rem);
        display: none;
    }

    .headerInicio .containerMenu .menuPags .dropdown a{
        overflow: hidden;
    }
    
    .headerInicio .containerMenu .menuRedes ul{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .headerX .onlyMobile{
        display: none;
    }

    .headerInicio.abajo .containerMenu .menuPags .dropdown a{
        overflow: hidden;
    }
}

    /* --------------------
    Mobile y Tablet (Vertical)
    -------------------- */
@media only screen and (min-width: 1px) and (max-width: 728px){

    /* --------------------
    Header
    -------------------- */

    .headerMenu {
        width: 100vw;
    }

    /* --------------------
    Clases universales
    -------------------- */
    
    .contenedor-seccion{
        padding: 5rem 0 5rem 0 !important;
    }
    
    .seccion-top{
        height: 100vh;
    }
    
    /* --------------------
    Footer
    -------------------- */

    footer .cajas{
        flex-direction: column-reverse;
    }
    
    
    footer .cajas .caja{
        margin: 1.5rem 0;
    }
}

/* Menu */
@media only screen and (min-width: 1px) and (max-width: 1499px) {
    header{
        background-color: none;
    }
}


/*  DesktopSM  */
@media only screen and (min-width: 1025px) and (max-width: 1440px) {
    /* body{
        border: solid red 2px;
    } */

    .seccion-top{
        box-shadow: var(--sectionShadow);
    }

}

/*  Tablet (Tablet Horizontal) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    /* body{
        border: solid green 2px;
    } */

    /* --------------------
    Clases universales
    -------------------- */

    .contenedor-seccion{
        width: 100%;
        margin: 0 auto;
        padding: 10rem 0 10rem 0 !important;
        max-width: 150rem;
    }

    .seccion-top{
        width: 100vw;
        height: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background-color: var(--grisFondo);
    }
}

/*  Original (Tablet Vertical) */
@media only screen and (min-width: 426px) and (max-width: 768px) {
    /* body{
        border: solid blue 2px;
    } */
}


/*  Mobile  */
@media only screen and (min-width: 1px) and (max-width: 425px) {
    /* body{
        border: solid pink 2px;
    } */
}