/*FONTS
--------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&family=Titillium+Web:ital,wght@0,200;0,400;0,700;1,400;1,700&display=swap');


/*GENERAL
--------------------------------------*/

:root {
    --bs-primary: #C32127;
    --dark-red: #A11F24;
    --bs-primary-rgb:195, 33, 39;
}

body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body{
    background-color:#F2F2F2;
}

p{
    font-family: "Heebo", sans-serif;
}

h1, h2, h3, h4, h5, h6{
    font-family: "Titillium Web", sans-serif;
    font-weight:700;
}

.lead, .display-4, .display-5{
 font-weight:400;
}

.spacing-xxl{
    padding-top:120px;
    padding-bottom:120px;
}

.btn:not(label){
    text-transform:uppercase;
    font-family: "Titillium Web", sans-serif;
    font-weight:700;
    border-radius:0;
    border:0;
    letter-spacing: 2px;
    padding:10px 15px;
}

.btn-primary{
    background-color:var(--bs-primary);
    color:#fff;
}

.btn-primary:hover{
    background-color:var(--dark-red);
}

.btn-light{
    color:var(--bs-primary);
    background-color:#fff;
}


#carga h2, #red h2, #services h2, #contacto h2{
    color:var(--bs-primary);
}

.line{
    height:3px;
    width:80px;
    background-color:var(--bs-primary);
}

header{
    height:90px;
    letter-spacing: 2px;
}

header, footer{
    background-color:var(--bs-primary);
}

header a{
    font-family: "Titillium Web", sans-serif;
    font-weight:700;
    text-transform:uppercase;
    color:#fff;
    text-decoration:none;
}

.logo{
    width:180px;
}

#hero{
    height:calc(100vh - 90px);
    background-image:url('../img/hero-mobile.webp');
    background-size:cover;
    background-position:left center;
    background-repeat:no-repeat;
    color:#fff;
    position:relative;
    overflow:hidden;
}

#hero h1{
    font-weight:700;
}

#hero #mid-circle-bottom{
    position:absolute;
    right:-150px;
    top:0;
    width:300px;
}

#hero #mid-circle-top{
    position:absolute;
    left:-150px;
    bottom:0;
    width:300px;
}

#about{
    background: url(../img/about-bkg-left.webp) left top no-repeat, url(../img/about-bkg-right.webp) right bottom no-repeat;
    background-size: 500px, 100px;
}

#separator{
    background: url(../img/separator-bkg.webp) center center no-repeat;
    background-size:cover;
}

#separator h2{
    font-weight:700;
}

#services{
    background: url(../img/services-bkg.webp) bottom center no-repeat;
    background-size:cover;
}

.service h4{
    font-weight:700;
    color:var(--bs-primary);
}

.service{
    transition: all 200ms ease-in-out;
}

.service:hover{
    background-color:var(--bs-primary);
    transform: translateY(-5px);
}

.service:hover h4, .service:hover p{
    color:#fff;
}

.row.features{
    background-image:url('../img/driver-mobile.webp');
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
}

.feature{
    padding:60px;
    color:#fff;
    transition: all 200ms ease-in-out;
}

.feature:hover{
    background-color:rgba(0,0,0,.3);
}

.features .col-md-4:nth-child(1), .features .col-md-4:nth-child(2)
{
    border-bottom:1px solid #fff;
}

#cobertura{
    background: url(../img/cobertura-bkg.webp) center center no-repeat;
    background-size: cover;
}

#red{
    background: url(../img/red-bkg.webp) left top no-repeat;
    background-size: 200px;
}

#rrhh{
    background: url(../img/rrhh-bkg-mobile.webp) center center no-repeat;
    height:700px;
}

#rrhh img{
    width:180px;
}

#contacto{
    background: url(../img/about-bkg-left.webp) left top no-repeat;
    background-size: 500px;
}

#contacto .row{
    transform: translateY(-80px);
    padding-top:60px;
    padding-bottom:60px;
    background: url(../img/contact-bkg.webp) right bottom no-repeat;
    background-size: 150px;
}

#contact-form input:not([type="submit"]){
    padding:5px 0px;
}

#contact-form input:not([type="submit"]):not([type="radio"]),  textarea{
    width:100%;
    border-width:0px 0px 1px 0px;
    border-style:solid;
    border-color: #C4C4C4;
}

#contact-form input, #contact-form textarea{
    outline:none;
}

.btn-check:checked+.btn{
    background-color:var(--bs-primary);
    border-color:var(--bs-primary);
    color:#fff;
}

.grecaptcha-badge { 
    visibility: hidden;
}

#contacto .parsley-errors-list {
    display: none;
    font-size: 11px;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
    background: #ff5252;
    text-align: center;
    padding: 0 5px;
}

#contacto .parsley-errors-list.filled {
    display: block;
}

#contacto #contact-loader {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

#contacto #contact-loader #loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
    background: url(../img/loader.svg) no-repeat center;
}

#contacto #contact-msg-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
}

#contacto #contact-msg-text h2 {
    font-style: normal;
    font-size: 32px;
    line-height: 1.5;
}

#contacto #contact-msg-text p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

label.btn, label.btn:hover{
    border-color:var(--bs-primary) !important;
}

footer{
    background-color:var(--bs-primary);
    margin-top:-150px;
}


#footer-top-left, #footer-top-right{
    height:100px;
}

#footer-top-right{
    border-bottom: solid 1px #F2F2F2;
}

footer ul{
    list-style: none;
}

footer ul li a{
    text-decoration:none;
    text-transform:uppercase;
    color:#fff;
    font-family: "Titillium Web", sans-serif;
    font-weight:700;
}

a.link{
    color:#fff;
    text-decoration:none;
}

footer a, a.link{
    display: inline-block;
    position: relative;
    color:#fff;
    text-decoration: none;
  }
  
footer a:after, a.link:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
footer a:hover:after, a.link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

footer .contact-item .icon{
    background-color: #333333;
    padding:10px;
}

footer .social-item img{
    width:20px;
}

footer .social-item a{
    color:#fff;
    text-decoration:none;
}

footer .social-item .icon{
    background-color: var(--dark-red);
    padding:10px;
    border-radius:20px;
}

footer .contact-item .icon img{
    width: 32px;
}

#footer-bottom{
    height:40px;
    background-color:var(--dark-red);
}

/*MEDIA QUERIES
--------------------------------------*/

@media (min-width: 768px) { 
    .logo{
        width:240px;
    }

    .features .col-md-4:nth-child(1), .features .col-md-4:nth-child(2)
    {
        border-right:1px solid #fff;
    }

    .feature{
        padding:80px;
    }

    #hero{
        background-image:url('../img/hero.webp');
    }

    #hero #mid-circle-bottom{
        position:absolute;
        right:250px;
        top:0;
        width:300px;
    }
    
    #hero #mid-circle-top{
        position:absolute;
        left:250px;
        bottom:0;
        width:300px;
    }

    #rrhh{
        background: url('../img/rrhh-bkg.webp');
    }

    .row.features{
        background-image:url('../img/driver.webp');
    }

    #contacto .row{
        padding-top:120px;
        padding-bottom:120px;
    }
    
 }
 

@media (min-width: 992px) { 
    #footer-left{
        border-right: solid 1px #F2F2F2;
    }

    #footer-top-left, #footer-top-right{
        height:200px;
    }


    #about img{
        max-width:900px;
    }
 }

 @media (min-width: 1400px) { 
    #red .col-md-7{
        max-width:780px;
    }
  }