.mooie-hero {
  --mooie-hero-ink: #1d2630;
  --mooie-hero-muted: #5b6772;
  --mooie-hero-bg: #f7f6f2;
  --mooie-hero-surface: #ffffff;
  --mooie-hero-accent: #a50050;
  --mooie-hero-accent-hover: #8a0043;
  --mooie-hero-rule: rgba(29, 38, 48, 0.12);
  --mooie-hero-shadow: 0 22px 60px rgba(29, 38, 48, 0.14);
  --mooie-hero-radius: 18px;

  position: relative;
  overflow: hidden;
  text-align: left;
  color: var(--mooie-hero-ink);
  background:
    linear-gradient(90deg, rgba(165, 0, 80, 0.06), rgba(16, 118, 145, 0.05)),
    var(--mooie-hero-bg);
}

body.isHome.mooie-hero-mounted .banner-container.mooie-hero-container--full {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

body.isHome.mooie-hero-mounted .banner-container.mooie-hero-container--contained {
  padding-left: 15px;
  padding-right: 15px;
}

body.isHome.mooie-hero-mounted .banner-container,
body.isHome.mooie-hero-mounted #home-banner,
body.isHome.mooie-hero-mounted .home-banner-area {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mooie-hero--contained {
  border-radius: var(--mooie-hero-radius);
  overflow: visible;
}

.mooie-hero__viewport {
  min-height: clamp(360px, 42vw, 560px);
}

.mooie-hero__inner,
.mooie-hero__track,
.mooie-hero__slide {
  min-height: inherit;
}

.mooie-hero__inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.mooie-hero__track {
  position: relative;
}

.mooie-hero__slide {
  display: none;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px) 0;
  opacity: 0;
  transition: opacity var(--mooie-hero-transition-ms, 500ms) ease;
}

.mooie-hero__slide.is-active {
  display: grid;
  opacity: 1;
}

.mooie-hero__content {
  max-width: 500px;
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--mooie-hero-radius);
  box-shadow: 0 18px 48px rgba(29, 38, 48, 0.1);
  backdrop-filter: blur(10px);
}

.mooie-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--mooie-hero-accent);
  font-size: clamp(1.2rem, 1vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mooie-hero__title {
  margin: 0;
  color: var(--mooie-hero-ink);
  font-size: clamp(3rem, 3.6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.mooie-hero__text {
  margin: 18px 0 0;
  color: var(--mooie-hero-muted);
  font-size: clamp(1.55rem, 1.35vw, 1.95rem);
  line-height: 1.5;
}

.mooie-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 26px;
  padding: 0 24px;
  color: #ffffff !important;
  background: var(--mooie-hero-accent);
  border: 1px solid var(--mooie-hero-accent);
  border-radius: 6px;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.mooie-hero__button:hover,
.mooie-hero__button:focus {
  color: #ffffff !important;
  background: var(--mooie-hero-accent-hover);
  border-color: var(--mooie-hero-accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.mooie-hero__button:focus-visible,
.mooie-hero__arrow:focus-visible,
.mooie-hero__dot:focus-visible {
  outline: 3px solid rgba(16, 118, 145, 0.35);
  outline-offset: 3px;
}

.mooie-hero__media {
  display: block;
  min-height: clamp(300px, 34vw, 470px);
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--mooie-hero-radius);
  box-shadow: var(--mooie-hero-shadow);
}

.mooie-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.mooie-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--mooie-hero-ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--mooie-hero-rule);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(29, 38, 48, 0.12);
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.mooie-hero__arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.mooie-hero__arrow--prev {
  left: -22px;
}

.mooie-hero__arrow--next {
  right: -22px;
}

.mooie-hero--full-width .mooie-hero__arrow--prev {
  left: max(18px, calc((100vw - 1280px) / 2));
}

.mooie-hero--full-width .mooie-hero__arrow--next {
  right: max(18px, calc((100vw - 1280px) / 2));
}

.mooie-hero__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(29, 38, 48, 0.08);
  transform: translateX(-50%);
}

.mooie-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(29, 38, 48, 0.28);
  border: 0;
  border-radius: 999px;
  transition: background-color 180ms ease, transform 180ms ease, width 180ms ease;
}

.mooie-hero__dot.is-active {
  width: 24px;
  background: var(--mooie-hero-accent);
}

@media (max-width: 767px) {
  .mooie-hero__viewport {
    min-height: 0;
  }

  .mooie-hero__inner {
    width: min(100% - 30px, 560px);
  }

  .mooie-hero__slide {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 0 56px;
  }

  .mooie-hero__content {
    order: 2;
    max-width: none;
    padding: 22px 2px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mooie-hero__media {
    order: 1;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .mooie-hero__image {
    min-height: 0;
  }

  .mooie-hero__title {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }

  .mooie-hero__text {
    font-size: 1.6rem;
  }

  .mooie-hero__button {
    width: 100%;
  }

  .mooie-hero--contained .mooie-hero__arrow {
    display: none;
  }

  .mooie-hero--full-width .mooie-hero__arrow {
    top: calc(18px + ((min(100vw - 30px, 560px) * 0.625) / 2));
    width: 38px;
    height: 38px;
    font-size: 2rem;
  }

  .mooie-hero--full-width .mooie-hero__arrow--prev {
    left: 10px;
  }

  .mooie-hero--full-width .mooie-hero__arrow--next {
    right: 10px;
  }
}

@media (max-width: 991px) {
  .mooie-hero__arrow--prev {
    left: 12px;
  }

  .mooie-hero__arrow--next {
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mooie-hero,
  .mooie-hero * {
    animation: none !important;
    transition: none !important;
  }
}
