.hero {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.hero__bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__bg-slideshow {
  position: absolute;
  top: 0;
  left: 25%;
  right: 0;
  bottom: 0;
}

.hero__bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.hero__bg-slide--active {
  opacity: 1;
}
.hero__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
        /* Radial: stronger center, same spread */
    radial-gradient(
      circle at 30% 39%,
      rgba(246, 247, 249, 0.85) 15%,
      rgba(246, 247, 249, 0) 30%
    ),
    /* Left: solid 27%, transparent 42% */
    linear-gradient(
        90deg,
        rgba(246, 247, 249, 1) 27%,
        rgba(246, 247, 249, 0) 42%
      );
}
@media (max-width: 1024px) {
  .hero__bg-overlay {
    background:
      radial-gradient(
        circle at 30% 30%,
        rgba(246, 247, 249, 1) 20%,
        rgba(246, 247, 249, 0) 70%
      ),
      linear-gradient(
        90deg,
        rgba(246, 247, 249, 1) 15%,
        rgba(246, 247, 249, 0) 50%
      );
  }
}

@media (max-width: 767px) {
  .hero__bg-texture {
    display: none;
  }

  .hero__bg-slideshow {
    left: 0;
    width: 100%;
  }
  .hero__bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(246, 247, 249, 0.85) 0%,
      rgba(246, 247, 249, 0.7) 100%
    );
  }
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px var(--container-padding-2xl, 180px);
  box-sizing: border-box;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hero__row {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.hero__col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero__col--content {
  justify-content: center;
  gap: 24px;
  padding: 64px 88px 64px 0;
}

.hero__col--image {
  justify-content: center;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin: 0;
}

.hero__headline {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin: 0;
  max-width: 600px;
}

.hero__subtext {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r1);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin: 0;
  max-width: 475px;
}

.hero__spacer {
  height: 8px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r2);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  text-decoration: none;
  border-radius: 99px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero__btn--primary {
  background-color: var(--color-cta);
  color: var(--color-text-inverted);
}

.hero__btn--primary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverted);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 152, 79, 0.3);
}

.hero__btn-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-text-inverted);
}

.hero__btn:hover .hero__btn-icon {
  transform: translateX(4px);
  color: var(--color-text-inverted);
}

.hero__reviews {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__reviews-label {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r5);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}

.hero__reviews-stars {
  display: flex;
  gap: 4px;
}

.hero__reviews-stars svg {
  display: block;
}

.hero__reviews-rate {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__reviews-rating,
.hero__reviews-text {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-r1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
}

.hero__image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1440px) {
  .hero__container {
    padding: 80px var(--container-padding-xl, 80px);
  }

  .hero__col--content {
    padding-right: 48px;
  }
}
@media (max-width: 1280px) {
  .hero__container {
    padding: 60px var(--container-padding-lg, 48px);
  }

  .hero__headline {
    font-size: 40px;
  }

  .hero__col--content {
    padding-right: 24px;
  }
}
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero__container {
    padding: 120px var(--container-padding-md, 32px) 60px;
  }

  .hero__row {
    flex-direction: column;
  }

  .hero__col--content {
    padding: 0;
    order: 1;
  }

  .hero__col--image {
    order: 2;
    margin-top: 40px;
  }

  .hero__headline {
    font-size: 36px;
  }

  .hero__eyebrow,
  .hero__subtext {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .hero__container {
    padding: 100px var(--container-padding-mobile, 16px) 48px;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__eyebrow,
  .hero__subtext {
    font-size: 18px;
  }

  .hero__btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 18px;
  }

  .hero__reviews-rating,
  .hero__reviews-text {
    font-size: 20px;
  }
}

.ispc-block-acf-hero {
  position: relative;
}
.hero__container {
  padding-top: 140px;
}

@media (max-width: 767px) {
  .hero__container {
    padding-top: 100px;
  }
}

/* Keep the homepage introduction compact while allowing translated text to grow. */
.hero .hero__container {
  padding-top: calc(var(--ispc-header-height, 100px) + clamp(24px, 4vw, 64px));
  padding-bottom: clamp(32px, 4vw, 64px);
}
.hero .hero__col--content {
  padding-top: 0;
  padding-bottom: 0;
  gap: clamp(16px, 1.5vw, 24px);
}
.hero .hero__spacer {
  display: none;
}
@media (max-width: 1024px) {
  .hero .hero__col--image {
    display: none;
  }
}
