/* Homepage sections added for content and SEO: "How BasicBeauty works" and the FAQ teaser.
   Uses the existing site fonts, colors, borders, and breakpoints. */
.home-section {
  position: relative;
  padding: 80px 30px;
  border-bottom: 1px solid #e4ebf3;
  background-color: #fff;
}

.home-section-title {
  margin-bottom: 40px;
  text-align: center;
}

.home-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  list-style: none;
}

.home-step {
  padding: 32px 24px 24px;
  border: 1px solid #e4ebf3;
  border-radius: 8px;
}

.home-step-number {
  display: flex;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ff7e1e;
  color: #fff;
  font-family: Avenirnextcyr, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.home-step-title,
.home-faq-question {
  margin-top: 0px;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 30px;
}

.home-step .paragraph,
.home-faq-item .paragraph {
  margin-bottom: 0px;
}

.home-faq-list {
  max-width: 750px;
  margin-right: auto;
  margin-left: auto;
}

.home-faq-item {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #e4ebf3;
}

.home-faq-item:last-child {
  border-bottom: 1px solid #e4ebf3;
}

.home-faq-footer {
  margin-top: 32px;
  text-align: center;
}

.home-faq-more {
  color: #f1761a;
  font-weight: 700;
  text-decoration: underline;
}

@media screen and (max-width: 991px) {
  .home-steps {
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .home-section {
    padding: 60px 15px;
  }

  .home-section-title {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 479px) {
  .home-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}
