:root {
  /* Layout */
  --hero-radius-lg: 150px;

  /* Text */
  --hero-text-color: #fff;

  /* Heights */
  --hero-slide-height: 85vh;
  --hero-slide-min-height: 480px;
  --hero-slide-height-mobile: 70vh;
  --hero-slide-min-height-mobile: 420px;

  /* Animations */
  --hero-transition-duration: 1.3s;
  --hero-transition-easing: cubic-bezier(0.16, 1, 0.3, 1);

  /* Arrows */
  --hero-arrow-size: 40px;
  --hero-arrow-icon-size: 18px;

  /* Overlay gradient colors */
  --hero-overlay-color-left: rgba(0, 0, 0, 0.55);
  --hero-overlay-color-mid: rgba(0, 0, 0, 0.30);
  --hero-overlay-color-right: rgba(0, 0, 0, 0.10);

  /* Flash effect */
  --hero-flash-center: rgba(255, 255, 255, 0.90);
  --hero-flash-outer: rgba(255, 255, 255, 0.00);
  --hero-flash-duration: 1s;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom-left-radius: var(--hero-radius-lg);
}

.hero-swiper {
  width: 100%;
  height: var(--hero-slide-height);
  min-height: var(--hero-slide-min-height);
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

h1.hero-title {
  color: var(--hero-text-color);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--hero-overlay-color-left),
    var(--hero-overlay-color-mid),
    var(--hero-overlay-color-right)
  );
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 88%;
  max-width: 1140px;
  height: 100%;
  margin: 0 auto;
  color: var(--hero-text-color);
}

.hero-slide-content {
  max-width: 485px;
  padding: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--hero-transition-duration) var(--hero-transition-easing),
    transform var(--hero-transition-duration) var(--hero-transition-easing);
  will-change: opacity, transform;
}

.hero-slide-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-bubble-wrapper {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 30%;
  transform: translateY(-100%);
}

.hero-slide-bubble {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  transform: rotate(10deg);
}

.hero-swiper-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: var(--hero-arrow-size);
  height: var(--hero-arrow-size);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-swiper-button svg path {
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-swiper-button-prev {
  left: 16px;
}

.hero-swiper-button-next {
  right: 16px;
}

.hero-swiper-pagination {
  bottom: 18px !important;
}

.hero-flash-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    var(--hero-flash-center) 0%,
    var(--hero-flash-outer) 55%
  );
  mix-blend-mode: screen;
  transition: opacity var(--hero-flash-duration) ease-out;
}

.hero-flash-overlay.is-active {
  opacity: 1;
}

.hero-swiper {
  position: relative;
}

.hero-swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px !important;
  z-index: 6; 
  display: flex;
  justify-content: center;
  pointer-events: auto;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

@media (max-width: 768px) {
  .hero-swiper {
    height: var(--hero-slide-height-mobile);
    min-height: var(--hero-slide-min-height-mobile);
  }

  .hero-slide-inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 30px;
  }

  .hero-slide-bubble-wrapper {
    width: auto;
    transform: none;
    align-self: flex-end;
  }

  .hero-slide-bubble {
    width: 100px;
    height: 100px;
  }

  h1.hero-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .hero-swiper-button {
    display: none;
  }
}