.hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  height: calc(100vh - 86px);
  display: flex;
  align-items: flex-end;
  padding: 2em 1em 7em;
  position: relative;
}

.hero--container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  opacity: 0.5;
}

.hero h1 {
  color: var(--white);
  font-size: 5.2em;
  max-width: 10em;
  line-height: 1.1;
  font-weight: 600;
}

.hero__work {
  display: flex;
  justify-content: flex-end;
}

.hero__work-box {
  border-radius: 0.5em;
  padding: 1.5em;
}

.hero__work-box p {
}

.project-counter-wrap {
  gap: 1.5em;
  background-color: var(--white);
  border-radius: 6px;
  flex-flow: column;
  justify-content: space-between;
  width: 285px;
  display: flex;
  position: absolute;
  inset: 0% 0% auto auto;
}

.project-counter-top-wrap {
  padding-top: 30px;
  padding-left: 1em;
  padding-right: 1em;
}

.project-counter-bottom-wrap {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  background-color: var(--purple);
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  justify-content: center;
  align-items: center;
  height: 3.5em;
  text-decoration: none;
  transition: background-color 0.3s;
  display: flex;
}

.project-counter-bottom-wrap:hover {
  background-color: #ff5d17d1;
}

.project-count-wrap {
  border-bottom: 1px solid var(--gray-3);
  margin-top: 22px;
  padding-bottom: 14px;
}

.project-count-wrap.home-2-service {
  margin-top: 0;
  padding-bottom: 0;
}

.btn-arrow-left {
  width: 20px;
  height: 20px;
}

.count-wrap {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  align-items: flex-start;
  height: 58px;
  display: flex;
  overflow: hidden;
}

.counter-single-wrap {
  flex-flow: column;
  align-items: flex-start;
  height: 100%;
  display: flex;
}

.counter-single-wrap.upper {
  justify-content: flex-end;
  align-items: flex-start;
}

.counter-single-wrap.lower {
  align-items: stretch;
}

.counter-number {
  color: var(--black);
  letter-spacing: var(--_size---2);
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 120%;
}

.paragraph-small.text-white {
  color: var(--white);
  line-height: 1.5;
}

.paragraph-small {
  margin-bottom: 0;
  font-weight: 600;
  line-height: 150%;
  line-height: 1.5;
}
.paragraph-small.text-white {
  font-size: 14px;
}
.paragraph-small.text-gray-1 {
  color: var(--gray-1);
  font-size: 14px;
}

.services-count,
.paragraph-large {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-1);
  line-height: 1.5;
}

.project-recent-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  margin-top: 1em;
  border-bottom: 1px solid var(--gray-3);
  padding-bottom: 1.5em;
}

.project-recent-item {
  width: calc(33.33% - 0.8em / 1.5);
  overflow: hidden;
  border-radius: 0.5em;
}

.project-recent-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.6s ease-in-out;
}

.project-recent-item:hover img {
  transform: scale(1.2);
}

@media only screen and (max-width: 767px) {
  .project-counter-wrap {
    width: 18em;
    background-color: rgba(255, 255, 255, 0.3);
  }

  .paragraph-small.text-gray-1 {
    color: var(--white);
  }
  .hero {
    height: 70vh;
  }
}

@media only screen and (max-width: 575px) {
  .project-counter-wrap {
    display: none;
  }

  .services-count,
  .paragraph-large {
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  .hero h1 {
    font-size: 4em;
  }
}
