/*Global*/
html {
  scroll-behavior: smooth;
}
body {
  font: 16px/22px "Raleway", Sans-serif;
  overflow-x: hidden;
}
ul {
  list-style: none;
}

/*Header*/
header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}
.navbar {
  padding: 30px 5%;
}
.navbar-brand {
  flex: 1;
}
.logo {
  width: 50px;
  height: 83px;
}
.language {
  margin-right: 20px;
}
.language a {
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 5px;
  padding: 0 8px;
  text-decoration: none;
}
.language a:first-of-type {
  border-right: 1px solid #fff;
}
.navbar .navbar-toggler {
  border: none !important;
  outline: none !important;
  z-index: 1;
}
#nav-icon1 {
  width: 40px;
  height: 40px;
  position: relative;
  margin: 0 auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
#nav-icon1 span:nth-child(1) {
  top: 4px;
}
#nav-icon1 span:nth-child(2) {
  top: 16px;
}
#nav-icon1 span:nth-child(3) {
  top: 28px;
}
#nav-icon1.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
#nav-icon1.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
#navbarSupportedContent {
  background-color: #424448;
  text-align: right;
  padding: 110px 6% 30px 50px;
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
}
li.nav-item {
  margin-bottom: 15px;
}
a.nav-link {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 6px; transition: all .4s ease-out;
}
a.nav-link:hover {
  opacity: .7;   
}
.sub-items li {
  font-size: 18px;
  line-height: 21px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 3.6px;
  margin-bottom: 10px;
}
.sub-items li:last-child {
  margin-bottom: 30px;
}

/*Hero*/
.hero {
  height: 80vh;
  background-position: left -250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1,
.hero a {
  font-size: 56px;
  font-weight: 700;
  line-height: 70px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 36.5px;
  text-align: center;
}
.hero a {
  display: block;
  text-decoration: none;
}

/*Carousel*/
#carouselExampleIndicators .carousel-item {
  height: 100vh;
  position: relative;
}
#carouselExampleIndicators .carousel-item .caption {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
}
#carouselExampleIndicators .carousel-item img {
  object-fit: cover;
  object-position: center top;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  animation: zoom 24s 1;
}
#carouselExampleIndicators.carousel h1 {
  font-size: 36px;
  line-height: 50px;
  letter-spacing: 6px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  animation: opacity 2s 1;
}
#carouselExampleIndicators.carousel h2 {
    font-size: 27px;
    line-height: 56px;
    letter-spacing: 5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background-color: #cb0f22;
    animation: opacity 2s 1;
    padding: 10px 15px;
    display: inline;
}
.carousel-indicators li {
  height: 14px;
  width: 14px;
  border-radius: 50%;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 5px;
}

/*Quienes somos*/
.who .hero {
  background: url(../img/cabezales/quienessomos.png) no-repeat;
  background-size: cover;
}
.who .hero ~ .hero {
  background: url(../img/cabezales/comotrabajamos.png) no-repeat;
  background-size: cover;
}
.who .intro,
.what-we-do .intro {
  padding: 100px 0;
  
}
.who p,
.what-we-do .intro p,
.description p {
  text-align: center;
  color: #54565a;
  max-width: 730px;
  margin: 0 auto 15px;
  font-size: 17px;
  line-height: 26px;
  letter-spacing: 0.2px;
}
.btn-red {
  background-color: #cb0f22;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 7px;
  color: #fff;
  text-transform: uppercase;
  float: right;
  margin-top: 30px;
  margin-bottom: 80px;
  text-align: center;
}
.btn-red:hover {
  color: #fff;
}
.counter-squares {
  clear: right;
  display: flex;
  justify-content: space-between;
}
#counter {
  width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #cb0f22;
  color: #fff;
  padding: 20px;
  flex: 1;
}
#counter:nth-child(2) {
  margin: 0 30px;
}
#counter h4 {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 4px;
    text-align: center;
    text-transform: uppercase;
    min-height: 56px;
}
#counter span {
    font-size: 132px;
    font-weight: 900;
    line-height: 139px;
    margin-bottom: 20px;
}
.red-bg {
  background-color: #cb0f22;
  padding: 60px 0;
  color: #fff;
}
.red-bg h3 {
  font-size: 38px;
  line-height: 60px;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 50px;
}
.red-bg p {
  color: #fff;
}
.team-grid {
  padding: 60px 0;
}
.member {
  margin-bottom: 40px;
}
.member .img-container {
  margin-bottom: 10px;
  position: relative;
}
.member .name {
  font-size: 21px;
  line-height: 32px;
  font-weight: 600;
  text-align: center;
  display: block;
  color: #54565a;
}
.member .position {
  font-size: 15px;
  line-height: 24px;
  text-align: center;
  display: block;
  color: #54565a;
}
.member .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 40px);
  margin: 20px;
  background-color: rgba(203, 15, 34, 0.8);
  display: flex;
  height: calc(100% - 40px);
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  opacity: 0;
}
.member .img-container:hover .overlay {
  opacity: 1;
}
.member .overlay a {
  width: 68px;
  height: 68px;
}

.member .overlay a:first-child {
  margin-right: 20px;
}
.experience .member .overlay a:first-child { margin: 0;}
.who .values {
  padding: 60px 0;
  background-color: #e6e5e6;
}
.who .values h3 {
  font-size: 38px;
  line-height: 60px;
    font-weight: 500;
 
  letter-spacing: 6px;
  color: #cb0f22;
  text-transform: uppercase;
  margin-bottom: 70px;
}
.who .values .row {
  background: url(../img/cruz.png) no-repeat center;
  background-size: contain;
}
.who .value-container {
  min-height: 220px;
  padding: 0 0 0 20px;
}
.who .value-container:last-child {
  padding-top: 30px;
}
.who .values h4 {
  background-color: #fff;
  font-size: 22px;
  line-height: 32px;
  text-transform: uppercase;
  padding: 0 20px;
  width: 250px;
  text-align: center;
  color: #54565a;
  margin-bottom: 20px;
}
.who .values p {
  text-align: left;
}

/*Nuestro trabajo*/
.work .hero {
  background: url(../img/cabezales/nuestrotrabajo.png) no-repeat center;
  background-size: cover;
}
.work .experience {
  padding: 70px 0;
  background: #e6e5e6 url(../img/logo-bg.png) no-repeat;
  background-size: 70% auto;
  background-position: left center;
}
.work h3 {
  font-size: 42px;
  line-height: 60px;
  text-transform: uppercase;
  letter-spacing: 10px;
  color: #cb0f22;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.work .filter button {
  margin: 0;
  padding: 5px 30px;
}
.work .member .position {
  font-weight: 600;
}
.work-detail .detail {
  padding: 100px 0;
  background: #e6e5e6 url(../img/logo-bg.png) no-repeat 10% center;
  background-size: 30% auto;
}
.work-detail h3 {
    font-size: 29px;
    line-height: 36px;
    letter-spacing: 5px;
    margin-bottom: 30px;
}
.work-detail ul {
  padding-left: 0;
  margin-bottom: 100px;
}
.work-detail ul li {
  font-size: 18px;
  line-height: 31px;
  color: #54565a;
}
.work-detail .btn-red {
  float: none;
  padding: 5px 10px;
  display: inline-block;
  margin: 0;
}

/*Contacto*/
.contact .hero {
  background: url(../img/cabezales/contacto.png) no-repeat center;
  background-size: cover;
}
.contact section {
  background: #424448;
}
.contact section .container {
  background: url(../img/contacto/MAPA.png) no-repeat center;
  background-size: contain;
  padding: 150px 15px;
  border-bottom: 1px solid #9a9b9e;
}
.contact h2 {
  font-size: 42px;
  line-height: 45px;
  color: #fff;
  letter-spacing: 4.8px;
  text-align: center;
  margin-bottom: 30px;
}
.contact .btn-red {
  float: none;
  display: block;
  margin: 0 auto 120px;
  max-width: 200px;
  padding: 5px 30px;
  text-decoration: none;
}
.contact ul {
  padding-left: 0;
}
.contact ul li {
  font-size: 17px;
  line-height: 39px;
  letter-spacing: 3px;
  text-align: center;
  color: #e6e5e6;
}
.contact ul li strong {
  font-weight: 600;
  color: #fff;
}
.contact ul li:last-child {
  color: #9a9b9e;
}

/*Que hacemos*/
.what-we-do .hero {
  background: url(../img/cabezales/quehacemos.png) no-repeat center;
  background-size: cover;
}
.what-we-do .intro {
  padding-bottom: 60px;
}
.what-we-do h2 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 10px;
}
.color-red {
  color: #cb0f22;
}
.services h2 {
  margin-bottom: 50px;
}
.pills-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.pills-container span {
    border: 1px solid #cb0f22;
    padding: 20px;
    margin: 0 20px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: #54565a;
}
.services .btn-red {
  display: block;
  float: none;
  text-decoration: none;
  padding: 5px;
  max-width: 850px;
  margin: 0 auto 50px;
}
.areas h2 {
  margin-bottom: 30px;
}
.areas h3 {
  background-color: #e6e5e6;
  margin-left: -15px;
  width: calc(100% + 30px);
  font-size: 23px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.1px;
  text-align: center;
  color: #424448;
  padding: 10px;
  margin-bottom: 0;
}
.areas .col-md-6 a {
  display: flex;
  margin-left: -15px;
  width: calc(100% + 30px);
  padding: 50px;
  color: #fff;
  text-decoration: none;
  align-items: center;
    justify-content: center; min-height: 360px
}
.areas .col-md-6 a ul {
  /*min-height: 350px;*/
  margin-bottom: 0;
}
.areas .col-md-6 a ul li {
  font-size: 15px;
  line-height: 27px;
  margin-bottom: 15px;
}
.areas .col-md-6 a ul li:first-child {
  font-size: 20px;
  font-weight: 600;
}
.areas .col-md-6 a:first-of-type,
.areas .col-md-6 ~ .col-md-6 a:last-of-type {
  background-color: rgba(203, 15, 34, 0.95);
}
.areas .col-md-6 a:last-of-type,
.areas .col-md-6 ~ .col-md-6 a:first-of-type {
  background-color: #cb0f22;
}
.description {
  background: url(../img/que\ hacemos/puntos3.png) no-repeat,
    url(../img/que\ hacemos/puntos.png) no-repeat;
  background-position: left bottom, right bottom;
  padding-bottom: 50px;
  margin-bottom: 50px;
}
.description .banner {
  padding: 50px 0;
  background: url(../img/que\ hacemos/edilicias.png) no-repeat;
  margin-bottom: 100px;
  clear: both;
  background-attachment: fixed;
}
.description .banner .container {
  position: relative;
}
.description .circle-text {
  position: absolute;
  right: 0;
  bottom: calc(-50% - 50px);
}
.description h2 {
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}
.description h2 span {
  display: inline-block;
  background-color: #cb0f22;
  color: #fff;
  padding: 0 10px;
  /*margin-left: -10px;*/
}
.description p {
  max-width: 850px;
  margin-bottom: 50px;
}
.description h3,
.description ul li {
  font-size: 18px;
  line-height: 31px;
  color: #54565a;
  font-weight: 400;
}
.description ul {
  list-style-image: url(../img/bullet.png);
  padding-left: 10px;
  list-style-position: inside;
}
.description ul li {
  margin-bottom: 5px;
}
.description .btn-red {
  padding: 5px 15px;
  margin: 0;
  text-decoration: none;
}
#civilStructures .banner {
  background-image: url(../img/que\ hacemos/civil.png);
}
#vialStructures .banner {
  background-image: url(../img/que\ hacemos/vial.png);
}
#industryStructures .banner {
  background-image: url(../img/que\ hacemos/industrial.png);
}

/*Footer*/
footer {
  clear: both;
  padding: 40px 0 20px;
  background-color: #424448;
  text-align: center;
}
.footer-logo img {
  width: 100px;
  margin-bottom: 20px;
}
footer ul {
  padding-left: 0;
}
footer ul li {
  font-size: 18px;
  line-height: 24px;
  color: #9a9b9e;
  margin-bottom: 5px;
}
footer ul li a,
footer ul li a:hover {
  color: #fff;
  text-decoration: none;
}
footer ul li:last-child a img {
  width: 50px;
  margin-top: 30px;
}

/*Animations*/
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.2);
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*Media queries*/
@media screen and (min-width: 1920px){
  .description{
    background-position: 15% bottom, 80% bottom;
  }
}

@media screen and (max-width: 576px) {
    .who .hero { background-position: center center}
    .description { background: none}
    
    .red-bg h3 {
    font-size: 36px;
    line-height: 43px;
    }
  #carouselExampleIndicators.carousel h1 {
    font-size: 27px;
    line-height: 37px;
  }
  #carouselExampleIndicators.carousel h2 {
    font-size: 18px;
    line-height: 40px;
      padding: 10px 0;
  }
  #navbarSupportedContent {
    padding-left: 15px;
  }
  a.nav-link {
    font-size: 20px;
    line-height: 26px;
  }
  .hero h1,
  .hero a {
    font-size: 36px;
    line-height: 60px;
    letter-spacing: 10px;
  }
  .counter-squares {
    flex-direction: column;
  }
  #counter {
    width: 100%;
    margin: 0 0 30px !important;
  }
  .who .values .row {
    background: none;
  }
  .who .value-container {
    min-height: auto;
    padding: 0 !important;
    margin-bottom: 30px;
  }
  .what-we-do h2 {
    font-size: 40px;
    line-height: 50px;
  }
  .pills-container {
    flex-direction: column;
  }
  .pills-container span {
    margin-bottom: 20px;
  }
  .areas .col-md-6 a {
    flex-direction: column;
    padding: 15px !important;
    text-align: center;
  }
  .areas .col-md-6 a img {
    margin-bottom: 15px;
  }
  .areas .col-md-6 a ul {
    padding-left: 0;
  }
  .description .banner {
    background-attachment: scroll;
    background-size: cover;
  }
  .banner img {
    max-width: 100%;
  }
  .description .circle-text {
    display: none;
  }
  .what-we-do h2 {
    font-size: 20px;
    line-height: 30px;
  }
  .description h2 span {
    margin-left: 0;
  }
  .description ul {
    margin-bottom: 30px;
  }
  .work h3 {
    flex-direction: column;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: 6px;
    align-items: flex-start;
  }
  .work .filter button {
    margin: 20px 0 0;
    padding: 5px 30px;
  }
  .work .experience{
    padding-bottom: 0;
  }
  .work-detail ul{
    margin-bottom: 40px;
  }
  .work-detail .btn-red{
    margin-bottom: 50px;
  }
  .contact h2 {
    font-size: 38px;
    line-height: 46px;
    letter-spacing: 3.8px;
  }
  .contact section .container{
    padding: 100px 15px;
  }
  .contact .btn-red{
    margin-bottom: 50px;
  }
  .contact ul li {
    font-size: 20px;
    line-height: 35px;
    letter-spacing: 2px;
  }
}

main.who { overflow: hidden}
.img-work { -webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);}