/* Free demo offer: Home page banner + /free-demo page */

/* Home banner */
.offer-banner {
  padding: 56px 0;
  background-color: var(--secondary-color);
}

.offer-banner .container {
  padding-left: 20px;
  padding-right: 20px;
}

.offer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.offer-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 14px;
  border-radius: 999px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
}

.offer-banner h2 {
  margin: 0 0 12px;
  color: var(--heading-dark-section);
  font-size: 40px;
  line-height: 48px;
}

.offer-banner p {
  max-width: 640px;
  margin: 0;
  color: var(--body-dark-section);
}

.offer-banner-cta {
  flex: none;
  text-align: center;
}

.offer-banner-cta .button-text-block,
.offer-page-cta .button-text-block {
  background-color: var(--primary-color);
}

.offer-banner-cta .button .color-white,
.offer-page-cta .button .color-white {
  color: var(--secondary-color);
}

.offer-banner-note {
  margin-top: 10px;
  color: var(--body-dark-section);
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}

/* Offer page */
/* The demo photo is brighter than the other page headers; dim it so the headline stays readable */
.offer-hero .hero-image-full-width {
  filter: brightness(.5);
}

.offer-details {
  padding: 100px 0 40px;
}

.offer-details .container {
  padding-left: 20px;
  padding-right: 20px;
}

.offer-intro {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}

.offer-intro h2 {
  margin-top: 10px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.offer-card {
  padding: 30px;
  border: 1px solid #e2e6e6;
  border-radius: 16px;
  background-color: #fff;
}

.offer-card h3 {
  margin: 0 0 8px;
  font-family: Lexend Deca, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.offer-card p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 70px;
  counter-reset: step;
}

.offer-steps-title {
  margin: 70px 0 0;
  text-align: center;
}

.offer-step {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 16px;
  background-color: #f4f6f6;
}

.offer-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-family: Lexend Deca, sans-serif;
  font-size: 18px;
}

.offer-step h3 {
  margin: 0 0 8px;
  font-family: Lexend Deca, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 29px;
}

.offer-step p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}

.offer-terms {
  max-width: 820px;
  margin: 50px auto 0;
  padding: 22px 26px;
  border: 1px dashed #b9c2c2;
  border-radius: 12px;
  font-size: 15px;
  line-height: 25px;
}

.offer-terms strong {
  color: var(--heading-white-section);
}

.offer-page-cta {
  margin-top: 34px;
  text-align: center;
}

.offer-form-note {
  margin-bottom: 4px;
  padding: 12px 16px;
  border-radius: 10px;
  background-color: #00d4d91f;
  color: var(--heading-white-section);
  font-size: 16px;
  line-height: 24px;
}

@media screen and (max-width: 991px) {
  .offer-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .offer-banner-cta {
    text-align: left;
  }

  .offer-steps {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .offer-banner {
    padding: 44px 0;
  }

  .offer-banner h2 {
    font-size: 30px;
    line-height: 37px;
  }

  .offer-details {
    padding: 70px 0 20px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }
}
