/* hero */
.hero{
  display: flex;
  align-items: center;
  position: relative;
}
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    width: 30vw;
    height: 18vw;
    background-image: url(../images/home-hero-tree.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}
.hero > div{
  width: 50%;
  position: relative;
  z-index: 9;
}
.hero .text{
  padding: 100px calc(100vw / 21.33333333) calc(100vw / 48);
  text-align: center;
  position: relative;
  z-index: 9;
}
.hero .text h1{
  font-size: calc(100vw / 12.8);
  line-height: 1.2;
}
.hero .text p.phone{
  margin-bottom: calc(100vw / 64);
}
.hero .text p.phone a{
  display: block;
  font-weight: 600;
  font-size: calc(100vw / 32);
  color: #244E67;
}
.hero .text p.phone a:hover{
  color: #32B3E2;
}
.callback-form{
  margin-bottom: calc(100vw / 80);
}
.callback-form .title{
  font-size: calc(100vw / 96);
  color: #32B3E2;
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 10px;
}
.callback-form form{
  display: flex;
  align-items: center;
  border: 1px solid #32B3E2;
  border-radius: calc(100vw / 44.65116279);
}
.callback-form form .form-group{
  width: calc(100% - 100vw / 22.3255814);
  padding: calc(100vw / 192) 15px calc(100vw / 192) calc(100vw / 22.3255814 + 15px);
}
.callback-form form .form-group label{
  font-size: calc(100vw / 120);
  color: #98C8DE;
  font-weight: 500;
}
.callback-form form input{
  border: 0;
  width: 100%;
  font-size: calc(100vw / 60);
  line-height: 1;
  padding: 0;
  text-align: center;
  margin-bottom: 0;
  color: #518EB4;
  font-weight: 500;
  margin-top: calc(100vw / 320);
}
.callback-form form input::-webkit-input-placeholder {color:#518EB4;font-weight:500;}
.callback-form form input::-moz-placeholder          {color:#518EB4;font-weight:500;}/* Firefox 19+ */
.callback-form form input:-moz-placeholder           {color:#518EB4;font-weight:500;}/* Firefox 18- */
.callback-form form input:-ms-input-placeholder      {color:#518EB4;font-weight:500;}

.callback-form form button{
  background: #32B3E2;
  width: calc(100vw / 22.3255814);
  height: calc(100vw / 22.3255814);
  display: flex!important;
  align-items: center;
  justify-content: center;
  border-radius: 50%!important;
  position: relative;
  right: -1px;
  padding: 0!important;
}
.callback-form form button:hover{
  background: #518EB4;
}
.callback-form form button svg{
  width: calc(100vw / 64);
  height: auto;
}
.hero .text p.email a{
  display: block;
  font-size: calc(100vw / 48);
  color: #518EB4;
}
.hero .text p.email a:hover{
  color: #32B3E2;
}
.way-to-ovillas{
  margin: 30px 0;
}
@media screen and (max-width: 1199px){
  .callback-form form .form-group label{
    display: none;
  }
  .callback-form form input{
    margin: 0;
  }
  .callback-form form .form-group{
    align-items: center;
  }
}
@media screen and (max-width: 767px){
  .hero{
    background-image: url(../images/sky.jpg);
    background-size: cover;
    background-position: center;
    padding-bottom: 0;
  }
  .hero:before{
    left: 0;
    width: 100%;
    height: 70%;
    top: 0;
    background: linear-gradient(180deg, #FFFFFF 31.38%, rgba(255, 255, 255, 0) 97.04%);
    z-index: 0;
  }
  .hero:after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 40%;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 18.19%, #FFFFFF 98.66%);
  }
  .callback-form form{
    background: #fff;
  }
}
@media screen and (max-width: 599px){
  .hero{
    flex-wrap: wrap;
    /* padding-top: 100px; */
    padding-bottom: 0px;
  }
  .hero > div{
    width: 100%;
  }
  .hero .text h1{
    font-size: 60px;
  }
  .hero .text p.phone a{
    font-size: 35px;
  }
  .callback-form .title{
    font-size: 13px;
  }
  .callback-form form{
    border-radius: 60px;
  }
  .callback-form form input{
    font-size: 18px;
  }
  .callback-form form button{
    width: 50px;
    height: 50px;
  }
  .callback-form form .form-group{
    width: calc(100% - 50px);
    padding: 10px 15px 10px 65px);
  }
  .callback-form form button svg{
    width: 20px;
  }
  .hero .text p.email a{
    font-size: 24px;
  }
}
/* -- hero */

/* locations */
.locations{
  padding: calc(100vw / 48) calc(100vw / 21.33333333) 36vw;
  /* background-image: url(../images/bg_contact_location.jpg); */
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}
.locations:after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 40%, rgba(255, 255, 255, 0) 60%);
  z-index: 0;
}
.locations .description{
  text-align: center;
  max-width: 860px;
  margin: auto;
  position: relative;
  z-index: 9;
}
.locations .description h2{
  font-size: calc(100vw / 24);
  margin-bottom: 30px;
}
.locations .description p span{
  background: #32B3E2;
  color: #fff;
  padding: 0 5px;
}
.locations-branch{
  position: absolute;
  left: 0;
  bottom: -100px;
  width: 30vw;
  z-index: 9;
}
.locations-bottom{
  position: absolute;
  background: #fff;
  bottom: 0;
  left: 0;
  border-radius: 0 calc(100vw / 38.4) 0 0;
  width: 55%;
  height: calc(100vw / 9.6);
}
.locations-bottom:after{
  content: '';
  position: absolute;
  bottom: 0px;
  width: calc(100vw / 38.4);
  height: calc(100vw / 38.4);
  background-image: url(../images/border-radius.svg);
  background-size: calc(100vw / 38.4);
  background-position: center;
  z-index: 9;
  right: calc(-100vw / 38.4);
  transform: rotate(90deg);
}
.map-with-car{
  position: relative;
  max-width: 618px;
  margin: auto;
}
.map-with-car .car{
  position: absolute;
  z-index: 9;
  left: 25%;
  bottom: 0;
  max-width: 12.62%;
  transform: rotate(-45deg);
  animation: cardrive 25s infinite linear;
}

@keyframes cardrive {
  0% {
    left: 15%;
    bottom: 0;
    transform: rotate(-45deg);
  }
  10%{
    left: 29%;
    bottom: 16%;
    transform: rotate(-45deg);
  }
  20%{
    left: 51%;
    bottom: 24%;
    transform: rotate(-18deg);
  }
  40%{
    left: 68%;
    bottom: 28%;
    transform: rotate(-18deg);
  }
  41%{
    transform: rotate(32deg);
  }
  45%{
    left: 74%;
    bottom: 22%;
    transform: rotate(32deg);
  }
  47%{
    left: 74%;
    bottom: 22%;
    transform: rotate(-30deg);
  }
  55%{
    left: 91%;
    bottom: 32%;
    transform: rotate(-30deg);
  }
  57%{
    left: 91%;
    bottom: 32%;
    transform: rotate(-121deg);
  }
  65%{
    left: 79%;
    bottom: 54%;
    transform: rotate(-121deg);
  }
  66%{
    left: 79%;
    bottom: 54%;
    transform: rotate(-135deg);
  }
  75%{
    left: 71%;
    bottom: 58%;
    transform: rotate(-129deg);
  }
  80%{
    left: 63%;
    bottom: 69%;
    transform: rotate(-129deg);
  }
  81%{
    left: 64%;
    bottom: 69%;
    transform: rotate(-91deg);
  }
  89%{
    left: 64%;
    bottom: 87%;
    transform: rotate(-91deg);
  }
  90%{
    left: 64%;
    bottom: 87%;
    transform: rotate(0deg);
  }
  95%{
    left: 70%;
    bottom: 87%;
    transform: rotate(0deg);
  }
  96%{
    left: 70%;
    bottom: 87%;
    transform: rotate(-68deg);
  }
	100%{
		left: 70%;
		bottom: 90%;
		transform: rotate(-68deg);
  }
}

@media screen and (max-width: 991px){
  .locations .description h2{
    font-size: 60px;
  }
}
@media screen and (max-width: 767px){
  .locations{
    background-size: cover;
    padding: calc(100vw / 48) calc(100vw / 21.33333333) 160vw;
    margin-bottom: 100px;
  }
  .locations .description h2{
    font-size: 40px;
  }
  .locations:after{
    background: linear-gradient(180deg, #FFFFFF 15%, rgba(255, 255, 255, 0) 60%);
  }
  .locations-branch{
    width: 40vw;
  }
}
@media screen and (max-width: 479px){
  .locations-branch{
    width: 80vw;
  }
}
/* -- locations */
