.yby-world-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(780px, calc(100svh - 72px));
  min-height: 620px;
  overflow: hidden;
  background: #eef7ef;
  color: #15231a;
}

.yby-world-hero__track,
.yby-world-hero__slide,
.yby-world-hero__media,
.yby-world-hero__veil {
  position: absolute;
  inset: 0;
}

.yby-world-hero__slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.yby-world-hero__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}
.yby-world-hero__media img,
.yby-world-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.yby-world-hero__slide[data-tone="light"] .yby-world-hero__veil {
  background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.36) 38%, rgba(255,255,255,.06) 70%);
}

.yby-world-hero__slide[data-tone="dark"] .yby-world-hero__veil {
  background: linear-gradient(180deg, rgba(10,20,13,.62) 0%, rgba(10,20,13,.30) 42%, rgba(10,20,13,.12) 72%);
}

.yby-world-hero__slide[data-tone="dark"] {
  color: #fff;
}

.yby-world-hero__slide:not(:has(img)):not(:has(video)) .yby-world-hero__media {
  background: radial-gradient(circle at 72% 35%, rgba(46,125,50,.22), transparent 30%), linear-gradient(145deg, #f8fbf8, #e6f2e7);
}

.yby-world-hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(54px, 7vh, 86px);
  text-align: center;
}
.yby-world-hero__eyebrow {
  margin: 0 0 10px;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.yby-world-hero__slide[data-tone="dark"] .yby-world-hero__eyebrow {
  color: #d8f1da;
}

.yby-world-hero__title {
  margin: 0;
  color: inherit;
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.yby-world-hero__subtitle {
  max-width: 680px;
  margin: 14px auto 0;
  color: #506057;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.yby-world-hero__slide[data-tone="dark"] .yby-world-hero__subtitle {
  color: rgba(255,255,255,.88);
}
.yby-world-hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.yby-world-hero__button {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.yby-world-hero__button:hover {
  transform: translateY(-1px);
}

.yby-world-hero__button--primary {
  background: #2e7d32;
  color: #fff;
}

.yby-world-hero__button--primary:hover {
  background: #195b2a;
}

.yby-world-hero__button--secondary {
  border: 1px solid rgba(21,35,26,.16);
  background: rgba(255,255,255,.92);
  color: #15231a;
}
.yby-world-hero__slide[data-tone="dark"] .yby-world-hero__button--secondary {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.90);
  color: #15231a;
}

.yby-world-hero__arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #15231a;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: none;
}

.yby-world-hero__arrow--prev { left: 28px; }
.yby-world-hero__arrow--next { right: 28px; }

.yby-world-hero__dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.yby-world-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(21,35,26,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.64);
  cursor: pointer;
}

.yby-world-hero__dot.is-active {
  background: #2e7d32;
  border-color: #2e7d32;
}
@media (max-width: 720px) {
  .yby-world-hero {
    height: min(760px, calc(100svh - 64px));
    min-height: 610px;
  }

  .yby-world-hero__content {
    width: calc(100% - 32px);
    padding-top: 44px;
  }

  .yby-world-hero__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .yby-world-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .yby-world-hero__button {
    width: min(320px, 100%);
  }

  .yby-world-hero__arrow { width: 40px; height: 40px; font-size: 27px; }
  .yby-world-hero__arrow--prev { left: 12px; }
  .yby-world-hero__arrow--next { right: 12px; }
}
