/* Section: First Step CTA band */

.cta-band {
  padding-block: var(--space-8);
  padding-inline: var(--space-4);
}

.cta-band__card {
  position: relative;
  max-width: 1380px;
  margin-inline: auto;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-xl);
  overflow: hidden;

  background-image:
    linear-gradient(95deg,
      rgba(232, 239, 198, 0.95) 0%,
      rgba(232, 239, 198, 0.70) 42%,
      rgba(215, 228, 201, 0.35) 100%),
    url("../../img/first-step-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-band__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 785px;
}

.cta-band__title {
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.15;
  color: var(--color-heading);
}

.cta-band__text {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--color-heading);
}

.cta-band__logo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  height: 300px;
  width: auto;
}

@media (max-width: 900px) {
  .cta-band__card {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-7) var(--space-6);
  }
  .cta-band__logo {
    order: -1;
    height: 140px;
    align-self: flex-end;
  }
}

@media (max-width: 768px) {

  .cta-band {
    padding-inline: 0;
    padding-top: var(--section-spacing-sm);
    padding-bottom: 0;
  }

  .cta-band__card {
    align-items: center;
    text-align: center;
    padding: var(--space-9) var(--space-4);
    border-radius: 0;
  }
  .cta-band__content {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .cta-band__content .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-band__logo {
    order: 0;
    align-self: center;
    height: 220px;
    margin-top: var(--space-5);
  }
}
