.hero-carousel-section {
  display: grid;
  gap: 12px;
}

.hero-carousel {
  display: grid;
  gap: 14px;
}

.hero-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  border-radius: 30px;
}

.hero-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.hero-carousel__track {
  display: flex;
  gap: 0;
}

.hero-banner {
  position: relative;
  min-width: 100%;
  min-height: 228px;
  padding: 18px;
  border-radius: 30px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 42%);
  gap: 14px;
  align-items: stretch;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid rgba(20, 87, 54, 0.09);
  box-shadow: 0 16px 30px rgba(31, 41, 36, 0.08);
}

.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-banner::before {
  width: 160px;
  height: 160px;
  right: -48px;
  bottom: -52px;
  background: rgba(255, 107, 0, 0.08);
}

.hero-banner::after {
  width: 112px;
  height: 112px;
  left: -34px;
  top: -36px;
  background: rgba(15, 91, 52, 0.08);
}

.hero-banner.is-sand {
  background: linear-gradient(180deg, #fff8f1 0%, #fff3e7 100%);
}

.hero-banner.is-sage {
  background: linear-gradient(180deg, #f4f9f2 0%, #eef7ea 100%);
}

.hero-banner.is-ivory {
  background: linear-gradient(180deg, #fffdf8 0%, #f8f4ea 100%);
}

.hero-banner__content,
.hero-banner__visual {
  position: relative;
  z-index: 1;
}

.hero-banner__content {
  display: grid;
  align-content: center;
  gap: 11px;
  min-width: 0;
  padding: 6px 0;
}

.hero-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-self: flex-start;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #0f5b34;
  border: 1px solid rgba(15, 91, 52, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-banner__title {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #123a27;
  max-width: 10ch;
}

.hero-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-self: flex-start;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #ff6b00;
  border: 1px solid rgba(255, 107, 0, 0.12);
  box-shadow: 0 10px 18px rgba(31, 41, 36, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.hero-banner__visual {
  display: grid;
  align-items: stretch;
  min-width: 0;
}

.hero-banner__image {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(20, 87, 54, 0.06),
    0 12px 22px rgba(31, 41, 36, 0.07);
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(20, 87, 54, 0.18);
  transition: transform 160ms ease, width 160ms ease, background-color 160ms ease;
}

.hero-carousel__dot.is-active {
  width: 26px;
  background: #0f5b34;
}

.hero-carousel__dot:active {
  transform: scale(0.94);
}

@media (max-width: 370px) {
  .hero-banner {
    min-height: 208px;
    padding: 14px;
    border-radius: 26px;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 10px;
  }

  .hero-banner__eyebrow {
    min-height: 24px;
    padding: 0 10px;
    font-size: 10px;
  }

  .hero-banner__title {
    font-size: 1.28rem;
    max-width: 9ch;
  }

  .hero-banner__cta {
    min-height: 32px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-banner__image {
    min-height: 164px;
    border-radius: 18px;
  }
}

@media (min-width: 768px) {
  .hero-banner {
    min-height: 270px;
    padding: 22px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 40%);
    gap: 18px;
  }

  .hero-banner__content {
    padding-left: 6px;
    gap: 14px;
  }

  .hero-banner__title {
    max-width: 11ch;
  }

  .hero-banner__cta {
    min-height: 38px;
    font-size: 13px;
  }

  .hero-banner__image {
    min-height: 224px;
    border-radius: 24px;
  }
}
