.c-hero {
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-white);

  @media (max-width: 767px) {
    margin-bottom: 6rem;

    &::before {
      content: '';
      width: 100%;
      height: 7rem;
      background: linear-gradient(180deg, rgba(250, 250, 250, 0.8) 0%, rgba(250, 250, 250, 0) 100%);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1;
    }
  }
}

.c-hero__content {
  @media (min-width: 768px) {
    padding: 10vw 0 10rem;
  }

  @media (max-width: 767px) {
    padding-top: 30vw;
  }
}

.c-hero__text-inner {
  @media (min-width: 1200px) {
    display: flex;
    align-items: center;
    gap: 5rem;
  }
}

.c-hero__breadcrumb {
  position: absolute;
  left: var(--page-gutter);
  right: var(--page-gutter);
  top: 0;
  z-index: 1;
  padding: 3% 0;
}

.c-hero__title {
  margin-bottom: 3rem;

  @media (min-width: 1024px) {
    font-size: 4.5rem;
    line-height: 5.8rem;
    opacity: 0;
  }

  @media (max-width: 1023px) {
    font-size: 2.4rem;
    line-height: 3.2rem;
    width: calc(100% - 15rem);
  }
}

.c-hero.visible {
  @media (min-width: 1024px) {
    .c-hero__title {
      animation: slideUp 600ms ease both;
    }

    .c-hero__rich-text {
      animation: slideUp 600ms 450ms ease both;
    }

    .c-hero__reviews {
      animation: slideUp 600ms 450ms ease both;
    }

    .c-hero__cta {
      animation: slideUp 600ms 650ms ease both;
    }

    .c-hero__image-wrapper {
      animation: fadeIn 600ms 150ms ease both;
    }
  }
}

.c-hero__rich-text {
  color: var(--hero-rich-text, var(--color-text-primary));
  margin-bottom: 3rem;

  @media (min-width: 1024px) {
    font-size: 1.6rem;
    line-height: 2.4rem;
    opacity: 0;
  }
}

.c-hero__image-wrapper {
  float: right;
  margin: 0 calc(-1 * var(--page-gutter)) 2rem var(--page-gutter);

  @media (min-width: 1024px) {
    opacity: 0;
  }

  @media (min-width: 768px) {
    width: 42vw;
    max-width: 65rem;
  }

  @media (max-width: 767px) {
    width: 38vw;
  }
}

.c-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.c-hero__image {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  object-position: top right;
}

.c-hero__reviews {
  @media (min-width: 1024px) {
    opacity: 0;
  }

  @media (max-width: 1199px) {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 101;
    height: 10rem;
    width: 10rem;
  }
}

.c-hero__cta {
  @media (min-width: 1024px) {
    opacity: 0;
  }
}