.hero {
  position: relative;
  overflow: hidden;
}

.hero--slider {
  min-height: clamp(360px, 62vh, 560px);
  display: flex;
  align-items: stretch;
}

@media (min-width: 1025px) {
  .hero--slider {
    min-height: clamp(680px, 50vw, 720px);
  }

  .hero__content {
    max-width: min(520px, 46%);
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide picture,
.hero__slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__slide img {
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, rgba(245, 241, 232, 0.02) 45%, rgba(245, 241, 232, 0.08) 100%),
    linear-gradient(
      105deg,
      rgba(245, 241, 232, 0.68) 0%,
      rgba(245, 241, 232, 0.52) 36%,
      rgba(245, 241, 232, 0.18) 54%,
      rgba(245, 241, 232, 0.03) 74%,
      rgba(245, 241, 232, 0) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}

.hero__content {
  max-width: 100%;
  margin-inline-start: clamp(0.5rem, 2vw, 1.5rem);
}

.hero__eyebrow {
  margin-bottom: 1rem;
}

.hero__title {
  margin-bottom: 1.25rem;
}

.hero__title .text-accent {
  display: inline;
}

.hero__description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(78, 107, 58, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), width var(--transition);
}

.hero__dot.is-active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: var(--green-primary);
}

.hero__dot:hover {
  transform: scale(1.15);
  background: rgba(78, 107, 58, 0.45);
}

.hero__dot.is-active:hover {
  background: var(--green-primary);
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

/* Benefits bar (below hero) */
.benefits-bar {
  padding: 1.5rem 0;
  border-block: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.5);
}

.benefits-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefits-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.benefits-bar__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--hover-soft);
  color: var(--green-primary);
  flex-shrink: 0;
}

.benefits-bar__icon .ch-icon {
  font-size: 1.125rem;
}

.benefits-bar__text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  min-width: 0;
}

.benefits-bar__label--sm {
  display: none;
}
