.intro__wrap {
  position: relative;
  background-image: url("../img/office.jpeg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  gap: 1.2rem;
  padding: 0 2rem;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro__title {
  margin-top: 55px;
}

.intro__text {
  font-size: 1.2rem;
  width: 100%;
  max-width: 750px;
}

#credit {
  margin-bottom: 7rem;
}

.credit__wrap {
  padding: 2rem 0;
}

.credit__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.credit__item {
  color: var(--pearl);
}

.credit__text {
  font-size: 1rem;
}

#assistance {
  margin-bottom: 7rem;
}

.assistance__list {
  display: flex;
  gap: 2rem;
}

.assistance__title {
  margin-bottom: 2.5rem;
}

.assistance__name {
  margin-bottom: 0.8rem;
}

.assistance__item {
  position: relative;
}

.assistance__image {
  width: 100%;
  height: 550px;
  border-radius: 8px;
}

.assistance__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  padding: 1.5rem;
  border-radius: 0 0 8px 8px;
}

.triangle-down {
  box-sizing: content-box;
  width: 50%;
  height: 0;
  padding-left: 50%;
  padding-top: 5%;
  overflow: hidden;
}
.triangle-down div {
  width: 0;
  height: 0;
  margin-left: -1000px;
  margin-top: -100px;
  border-left: 1000px solid transparent;
  border-right: 1000px solid transparent;
  border-top: 100px solid var(--pearl);
}

.blue-triangle div {
  border-top: 100px solid var(--steel-blue);
}

#about {
  margin-bottom: 7rem;
}

.about__wrap {
  display: flex;
  gap: 2.5rem;
}

.about__image {
  flex: 1;
  width: 100%;
  height: 550px;
  border-radius: 8px;
}

.about__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.about__btn {
  display: inline;
}

.pricing__title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing__list {
  display: flex;
  align-items: center;
}

.pricing__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  height: 100%;
  border: solid 1px #ccc;
}

.pricing__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing__span-popular {
  color: #000;
  width: fit-content;
  background-color: var(--pearl);
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
}

.pricing__btn {
  width: 100%;
  border-radius: 0;
}

.pricing__description {
  display: flex;
  flex-wrap: wrap;
}

.pricing__inclusion-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing__inclusion-item {
  display: flex;
  gap: 5px;
}

.pricing__price-value {
  font-size: 2.5rem;
  line-height: 120%;
}

.pricing__image {
  width: 100%;
}

#contact {
  margin: 7rem 0;
}

.contact__wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.contact__content {
  flex: 1;
}

.contact__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 1.2rem;
}

.contact__fields {
  display: flex;
  gap: 1.2rem;
}

.contact__title {
  margin-bottom: 1.2rem;
}

.contact__fields,
.contact__message,
.contact__name,
.contact__email {
  width: 100%;
}

.contact__caption {
  margin-bottom: 8px;
}

.contact__input,
.contact__input-large {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  background-color: var(--transparent-grey);
}

.contact__input-large {
  resize: vertical;
  max-height: 350px;
  min-height: 100px;
}

.contact__submit {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

@media screen and (min-width: 901px) {
  .pricing__item:nth-child(1) {
    border-right: none;
  }

  .pricing__item:nth-child(2) {
    border: solid 2px #ccc;
  }

  .pricing__item:nth-child(3) {
    border-left: none;
  }
}

@media screen and (max-width: 900px) {
  .assistance__list {
    flex-direction: column;
    align-items: center;
  }

  .assistance__content {
    padding: 3rem;
  }

  .assistance__name {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .assistance__text {
    font-size: 1.2rem;
  }

  .assistance__image {
    height: 500px;
  }

  .assistance__item {
    width: 100%;
  }

  .about__image {
    height: 500px;
    flex: auto;
  }

  .pricing__list {
    flex-direction: column;
    gap: 2.5rem;
  }

  .pricing__item {
    max-width: 580px;
  }
}

@media screen and (max-width: 700px) {
  .about__wrap {
    flex-direction: column;
  }

  .contact__wrap {
    flex-direction: column;
  }

  .contact__form {
    width: 100%;
  }

  .credit__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .credit__item {
    text-align: center;
  }
}