.completed-projects {
  padding-top: 5.9rem;
}

.completed-projects .h2 {
  margin-bottom: 7.9rem;
}

@media (max-width: 767px) {
  .completed-projects .h2 {
    margin-bottom: 30px;
  }
}

.completed-projects__wrap {
  display: flex;
  gap: 3.2rem;
  margin-bottom: 3.4rem;
}
@media (max-width: 767px) {
  .completed-projects__wrap {
    flex-direction: column;
    gap: 20px;
  }
}
.completed-projects__video {
  text-align: center;
  position: relative;
}

.completed-projects__video:hover .completed-projects__video-play {
  transform: translate(-40%, -50%);
}

.completed-projects__video span {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.38;
  text-transform: uppercase;
  color: #fecb0b;
  margin-top: 1.9rem;
  display: block;
}

@media (max-width: 767px) {
  .completed-projects__video span {
    font-size: 12px;
  }
}

.completed-projects__video img {
  width: 70.4rem;
  height: auto;
  object-fit: cover;
}

.completed-projects p {
  text-align: center;
  font-size: 2rem;
  line-height: 1.64;
  text-align: center;
  color: #ffffff;
  max-width: 103.3rem;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .completed-projects p {
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }
}

.projects {
  padding-bottom: 7.2rem;
}

@media (max-width: 767px) {
  .projects {
    padding-bottom: 50px;
  }
}

.completed-projects__video-play {
  width: 7rem;
  height: 7rem;
  background: url(../images/dist/play-v.svg) center/contain no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all ease-out 0.45s;
}

@media (max-width: 767px) {
  .completed-projects__video-play {
    width: 50px;
    height: 50px;
  }
}

.unique-technologies__text p {
  line-height: 1.61;
}

.five-reasons__item-text p {
  font-size: 1.3rem;
}

@media (max-width: 767px) {
  .five-reasons__item-text p {
    font-size: 14px;
  }
}

.five-reasons__item {
  max-width: 61.7rem;
}

@media (max-width: 767px) {
  .five-reasons__item,
  .five-reasons__items .five-reasons__item:nth-of-type(5) {
    max-width: 100%;
  }
}

.five-reasons__items .five-reasons__item:nth-of-type(2) {
  right: -6.8%;
}

.five-reasons__items .five-reasons__item:nth-of-type(3) {
  right: -11%;
}

.five-reasons__items .five-reasons__item:nth-of-type(4) {
  right: -7.8%;
}

@media (max-width: 1500px) {
  .five-reasons__right {
    position: relative;
    left: -4rem;
  }
  .five-reasons__left p {
    font-size: 1.9rem;
  }
  .five-reasons__left {
    padding-right: 3rem;
  }
}

@media (max-width: 1200px) {
  .five-reasons__right {
    position: relative;
    left: -7rem;
  }
  .five-reasons__left {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .five-reasons__right {
    left: 0;
  }
  .five-reasons__left p {
    font-size: 15px;
  }
}

.modal-project__decription {
  height: 31.7rem;
}

@media (max-width: 1500px) {
  .modal-project__decription {
    height: 25.7rem;
  }
}

@media (max-width: 1024px) {
  .modal-project__decription {
    height: auto;
  }
}

.modal-project__decription p:last-of-type {
  margin-bottom: 0;
}

.modal-project__decription {
  padding-right: 0;
}

.modal-project__decription .mb-bar {
  background-color: rgb(254 203 11 / 50%);
}
.modal-project__decription .mb-track-x {
  display: none;
}

.modal-project__decription .mb-track-y {
  width: 3px;
  right: 0;
  top: 0;
  height: 100%;
}

@media (max-width: 1024px) {
  .modal-project__price.--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }
}

.modal-project__slide-item img {
  object-fit: contain;
}

.projects__item-info-item-text span.area {
  display: inline;
}

.header__phone {
  display: block;
  margin-right: 2.7rem;
}

@media (max-width: 767px) {
  .social-block--header {
    display: none;
  }
  .header__phone {
    margin-right: 0;
  }
}

.build-mortgage .swiper-button-disabled {
  opacity: 0;
}

.fancybox-custom .fancybox-button {
  background: #fff;
  color: #000;
}

.fancybox-custom .fancybox-button:hover {
  color: #000;
}

@media (max-width: 1300px) {
  .wrapper {
    opacity: 1 !important;
  }
}

.in-key {
  background: #383838;
  padding: 6rem 0 5.2rem;
}
@media (max-width:767px){
  .in-key {
    padding: 50px 0;
  }
}
.in-key__wrap {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
}
@media (max-width:767px){
  .in-key__wrap{
    flex-direction: column;
    gap:0;
  }
}
.in-key__text {
  max-width: 55.1rem;
  width: 100%;
}
@media (max-width:767px){
  .in-key__text {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.in-key__text p {
  font-size: 2rem;
  line-height: 1.645;
  color: #fff;
  margin-bottom: 3.3rem;
}
@media (max-width:767px){
  .in-key__text p {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .in-key__text p br{
    display: none;
  }
}
.in-key__text p span {
  color: #fecb0b;
}
.in-key__black {
  font-weight: 900;
}
.in-key__bold {
  font-weight: 700;
}
.in-key__video {
  max-width: 80.3rem;
  width: 100%;
}
@media (max-width:767px){
  .in-key__video{
    max-width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }
}

.in-key__video iframe {
  width: 100%;
  height: 45.2rem;
}

@media (max-width:767px){
  .in-key__video iframe{
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }
}


@media (min-width:767px){
  .finished-projects{
    padding-bottom: 10rem;
  }
}

