/*!
 * allinagency since v1.0 | 
 */

 /*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/


html, body {
  height: 100%;
}
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;

}

#hero {
  background-image:url("/wp-content/themes/allingency-bjockey/theme/img/cabecera-landing-degradado.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}
#hero h2 {
  color: #fff;
  font-size: 82px;
}

#hero p {
  color: #fff;
  font-weight: 400;
  font-size: 30px;
  margin: 40px 0;
}

.main-title {
  font-weight: 600;
  font-size: 100px;
  color: #f9a31e;
}

.btn {
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  padding-left: 40px!important;
  padding-right: 40px!important;
}

.btn-primary {
  background-color: #f9a31e;
  border-color:#f9a31e;
  color: #fff;
}

#countries .btn-primary:focus, 
#countries .btn-primary:hover  {
  background-color: #f9a31e!important;
  border-color:#f9a31e!important;
  color: #fff!important;
  cursor:auto!important;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #fff;
  border-color: #46b450;
  border-radius: 10px;
}

.btn-primary:hover {
  background-color: #fff;
  border-color:#fff;
  color: #f9a31e;
}

.social i {
  font-size: 30px;
  color: #fff;
  transition: 0.3s;
}
.social a {
  padding: 0 5px;
  margin-right: 10px;
}

.social a:hover i {
  color: #f9a31e;
}

#contacto {
  background-image:url("/wp-content/themes/allingency-bjockey/theme/img/contacto-degradado-difuminado.jpg");
  background-size: cover!important;
  background-position: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

#contacto .social {
  margin-top: 30px;
}

#contacto h2 {
  color: #fff;
  font-size: 60px;
  font-weight: 600;
}
#contacto h2 span {
  color: #f9a31e;
}

.wpcf7-submit {
  background-color: #fff;
  color: #f9a31e;
  padding: 10px 40px;
  border-radius: 50px;
  border: 0;
  font-weight: 600;
}

/* Estilos para todos los tipos de input */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    background-color: #f9a31e;
    color: #ffffff;
    border-radius: 50px;
    border: 1px solid #f9a31e;
    padding: 15px 20px;
    width: 100%;
    font-weight: 600;
}

/* Estilos para los placeholders */
.wpcf7 input::-webkit-input-placeholder,
.wpcf7 textarea::-webkit-input-placeholder {
    color: #ffffff;
}
/* Eliminar outline en el foco */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
}

.acepto {
  color: #fff;
  font-size: 15px;
}

.wpcf7-not-valid-tip {
  font-size: 14px;
  padding-left: 20px;
  padding-top: 5px;
}

.wpcf7 input:-moz-placeholder,
.wpcf7 textarea:-moz-placeholder {
    color: #ffffff;
}

.wpcf7 input::-moz-placeholder,
.wpcf7 textarea::-moz-placeholder {
    color: #ffffff;
}

.wpcf7 input:-ms-input-placeholder,
.wpcf7 textarea:-ms-input-placeholder {
    color: #ffffff;
}
.grid-item {
  width: calc(25% - 30px);
  margin-bottom: 30px;
  float: left;
}
.grid-item .bg-item {
  position: relative;
  height: 120px;
  width: 100%;
  border-radius: 20px;
  border: 0;
  display: flex;
  padding: 20px;
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: end;
  background-position: center!important;
  background-size: cover!important;
  overflow: hidden;
  transform: scale(1);
  transition: 0.3s;
}

.grid-item:hover .bg-item {
  transform: scale(1.04);
  -webkit-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.43);
-moz-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.43);
box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.43);
}

.grid-item .bg-item:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #073974;
  opacity: 0.8;
  z-index: 0;
}



.grid-item .bg-item span {
  z-index: 1;
}

#countries {
  padding-top: 50px;
  padding-bottom: 50px;
}

#site-footer {
  background: #063367;
}
#site-footer a,
#site-footer p {
  color: #fff;
}

.footer-icons {
  padding: 20px 0;
  background: #073974;
}

.boxes  {
 color: #fff;
 text-align: center;
 border-right: 4px solid #f9a31e;
 padding: 20px 50px;
}
.boxes div {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.boxes div:first-child {
  font-size: 60px;
  margin-bottom: 10px;
}

.boxes:last-child {
  border: 0;
}




.footer-icons img {
  height: 50px;
  object-fit: contain;
  max-width: 120px;
}

.grid-title {
  display: block;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 600;
  color: #073974;
  height: 110px;
  overflow: hidden;
}

.grid-title span {
  color: #f9a31e;
  font-size: 58px;
}
.grid-item.size-0 .bg-item { height: 170px; }
.grid-item.size-1 .bg-item { height: 300px; }
.grid-item.size-2 .bg-item { height: 400px; }



#video {
  padding: 100px 0;
  background-color: #ededed;
}

#video h2 {
  color: #073974;
  font-size: 40px;
  font-weight: 600;
}

#video h2 span {
  color: #f9a31e;
  display: block;
  font-size: 50px;
}

#video .wp-video-shortcode {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 1400px) {
  .grid-title {
    font-size: 37px;
    height: 110px;
    overflow: hidden;
  }
  
  .grid-title span {
    font-size: 42px;
  }
}


@media (max-width: 991px) {
    #logo {
      width: 300px;
      height: auto;
    }
  .main-title {
    font-size: 52px;
    margin-bottom: 20px;
  }

  #hero h2 {
    color: #fff;
    font-size: 38px;
    line-height: 1;
  }
  .social a {
    padding: 0 5px;
    margin-right: 20px;
  }
  #hero p {
    font-size: 25px;
    margin: 30px 0;
  }
  .grid-item {
    width: calc(50% - 20px);
    margin-bottom: 10px;
    float: left;
  }
  .grid-title {
    font-size: 32px;
    height: 70px;
    overflow: hidden;
  }
  
  .grid-title span {
    font-size: 36px;
  }
  .grid-item.size-0 .bg-item { height: 160px; }
  .grid-item.size-1 .bg-item { height: 250px; }
  .grid-item.size-2 .bg-item { height: 350px; }
  
  #contacto h2 {
    font-size: 30px;
  }
  .boxes {
    padding: 10px 20px;
  }
  .boxes div:first-child {
    font-size: 30px;
  }
  .boxes div {
    font-size: 16px;
  }
}


@media (max-width: 500px) {
  .grid-title {
    font-size: 25px;
  }
  .grid-title span {
    font-size: 30px;
}
}
