/** GENERALES **/
::selection {
    background-color: #db3815;
    color: white;
}
html {
    overflow-x: hidden;
}
body {
    font-family: 'Montserrat', sans-serif;
    color: #212a32;
    overflow-x: hidden;
}
.bg-filter {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.shadow {
    box-shadow: rgba(26, 28, 33, 0.1294117647) 0 16px 30px !important;
}
.btn {
    background: #db3815;
    border: solid 1px #db3815;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}
.btn:hover {
    background: #212a32;
    color: white;
    border: solid 1px white;
}
button:focus:not(:focus-visible) {
    box-shadow: none;
    outline: none;
}
.padding-sep {
    padding-top: 100px;
    padding-bottom: 100px;
}
.padding-sep-bottom {
    padding-bottom: 100px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb50 {
    margin-bottom: 50px;
}
.mb100 {
    margin-bottom: 100px;
}
.pl20 {
    padding-left: 20px !important;
}
h1 {
    font-weight: 600;
}
h2 {
    color: #db3815;
    font-weight: 600;
}
h3 {
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    position: relative;
    z-index: 2;
}
p {
    font-size: 18px;
}

/** HEADER **/
header {
    position: sticky !important;
    top: 0;
    z-index: 9;
}
.navbar {
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
}
.logo {
    width: 180px;
}

/** PORTADA **/
.portada {
    background-image: url("../img/bg.jpg");
    background-position: center;
    background-size: cover;
    width: 100%;
    padding-top: 200px;
    padding-bottom: 100px;
    position: relative;
    animation: animate-bg 50s infinite linear;
}
@keyframes animate-bg {
    from {  background-position: 0% 0%; }
    50% {  background-position: 50% 50% }
    to {  background-position: 0% 0%; }
}
.portada .btn {
    z-index: 2;
    position: relative;
}
.dg {
    height: 200px;
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 100%;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

/** GRUPO **/
.grupo {
    margin-bottom: 50px;
}
.grupo:hover .logo-empresa {
    padding-bottom: 50px;
    padding-top: 30px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.logo-empresa {
    width: 80%;
    margin: auto;
    height: 130px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.logo-empresa img {
    width: 60%;
    margin: auto;
    display: block;
}
.bloq-empresa {
    background: #212a32;
    border-radius: 20px;
    width: 100%;
    color: white;
    padding: 30px;
}
.bloq-empresa p {
    font-weight: 300;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left !important;
}
.bloq-empresa ul {
    padding: 0;
}
.bloq-empresa ul li {
    text-align: left;
    list-style: none;
}
.bloq-empresa ul li span {
    background: white;
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}

/** SERVICIOS **/
.servicio {
    margin-top: 30px;
    margin-bottom: 50px;
}
.servicio:hover .img-servicios {
    margin-top: -10px;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.img-servicios {
    border-radius: 20px;
    background: #212a32;
    height: 200px;
    z-index: 1;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.cont-servicio {
    background: white;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 100%;
    padding: 50px;
    text-align: left;
    width: 90%;
    margin: auto;
}
.cont-servicio h4 {
    margin-bottom: 20px;
    font-weight: bold;
}
.cont-servicio p {
    font-size: 16px;
    margin-bottom: 0;
}
.cont-servicio ul {
    padding: 0;
    margin-bottom: 0;
}
.cont-servicio ul li {
    text-align: left;
    list-style: none;
}
.cont-servicio ul li span {
    background: #db3815;
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}
.cont-servicio ul li .span2 {
    background: #212a32;
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 5px;
}
.servicio1 {
    background-image: url("../img/servicio1.jpg");
    background-size: cover;
    background-position: center center;
}
.servicio2 {
    background-image: url("../img/servicio2.jpg");
    background-size: cover;
    background-position: center center;
}
.servicio3 {
    background-image: url("../img/servicio3.jpg");
    background-size: cover;
    background-position: center center;
}
.servicio4 {
    background-image: url("../img/servicio4.jpg");
    background-size: cover;
    background-position: center center;
}


/** CLIENTES **/
#clientes h4 {
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: #db3815;
}
#clientes img {
    width: 100%;
    margin-bottom: 20px;
    -webkit-filter: grayscale(1);
    filter: gray;
    filter: grayscale(1);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#clientes img:hover {
    filter: none;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

/** EMPRESA **/
.empresa {
    background: #212a32;
    padding-top: 120px;
    padding-bottom: 120px;
}
.bloqq-empresa {
    border-radius: 20px;
    width: 100%;
    color: #212a32;
    padding: 50px;
    text-align: left;
    background: white;
}
.bloqq-empresa p {
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 25px;
}
.img-empresa {
    background-image: url("../img/empresa.jpg");
    width: 90%;
    margin: auto;
    height: 550px;
    background-size: cover;
    background-position: center center;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

/** CONTACTO **/
.contacto a {
    color: #db3815;
    text-decoration: none;
}
.contacto label {
    color: white;
}
.contacto input, .contacto textarea {
    background: #212a32;
    color: white;
}
.contacto input:focus, .contacto textarea:focus {
    outline: none;
    box-shadow: none;
    border-color: #db3815;
    background: #212a32;
    color: white;
}
.formulario {
    background: #212a32;
    border-radius: 20px;
    padding: 50px;
}
.datos-empresa {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    background: white;
    padding: 30px;
    width: 90%;
    margin: auto;
}

/** FOOTER **/
footer {
    background: #212a32;
    padding: 30px;
    text-align: center;
}
footer p {
    font-size: 16px;
    color: white;
}
footer .logo {
    width: 150px;
}


@media only screen and (min-width: 767px) {
    footer .logo {
        float: right;
    }
    footer p {
        text-align: left;
    }
    .pl0 {
        padding-left: 0;
    }
    .pr0 {
        padding-right: 0;
    }
    .datos-empresa {
        width: 100%;
        border-bottom-left-radius: 20px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .img-empresa {
        width: 100%;
        border-bottom-left-radius: 20px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
}

@media only screen and (min-width: 992px) {
    .bloq-empresa {
        min-height: 275px;
    }
    .cont-servicio1 {
        min-height: 320px;
    }
    .cont-servicio2 {
        min-height: 420px;
    }
}

@media only screen and (min-width: 1200px) {
    .bloq-empresa {
        min-height: 370px;
    }
    .cont-servicio1 {
        min-height: 300px;
    }
    .cont-servicio2 {
        min-height: 370px;
    }
    @keyframes animate-bg {
        from { background-size: 100% ; background-position: 0% 0%; }
        50% {  background-size: 120%; background-position: 10% 10% }
        to {  background-size: 100%; background-position: 0% 0%; }
    }
}

@media only screen and (min-width: 1400px) {
    .cont-servicio1 {
        min-height: 275px;
    }
    .cont-servicio2 {
        min-height: 345px;
    }
}











