/* ========================================
   Floating Hero
   ======================================== */

.floating-hero {
  position: relative;
}

.floating-hero__stage {
  position: relative;
  width: min(100%, 1080px);
  margin: 0 auto;
}

.floating-hero__scene {
  position: relative;
  width: 100%;
  height: 35em;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(13, 40, 24, 0.12);
}


.floating-hero__scene-top {
  position: absolute;
  top: 0;
  left: 5.5%;
  width: 89%;
  height: 52px;
  z-index: 2;
  border-radius: 20px;
}

.floating-hero__scene-stack,
.floating-hero__original-stack {
  position: absolute;
  inset: 0;
}

.floating-hero__scene-image,
.floating-hero__original-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}



.floating-hero__scene-image.is-active,
.floating-hero__original-image.is-active {
  opacity: 1;
}
.floating-hero__arrow {
    color: #ffffff;
    filter: drop-shadow(0 1px 14px rgba(0, 0, 0, 0.9));
    position: absolute;
    left: 14%;
    bottom: calc(52% - 80px);
    width: min(12vw, 64px);
    z-index: 5;
    pointer-events: none;
    animation: floating-hero-arrow-float 4.8s ease-in-out infinite;
}

.floating-hero__arrow img {
  display: block;
  width: 100%;
  height: auto;
}

.floating-hero__polaroid {
    position: absolute;
    left: -5%;
    bottom: 1%;
    z-index: 4;
    width: min(36vw, 290px);
    transform: rotate(-6deg);
    animation: floating-hero-float 4.8s ease-in-out infinite;
}

.floating-hero__polaroid-frame {
    position: relative;
    padding: 10px 10px 4px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 44px rgba(13, 40, 24, 0.18);
    width: 71%;
}

.floating-hero__original-stack {
  position: relative;
  width: 100%;
  height: 10em;
  overflow: hidden;
  border-radius: 10px;
  background: #e6e6e6;
}

.floating-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.98rem;
  font-weight: 800;
}

.floating-hero__label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.floating-hero__label-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

@keyframes floating-hero-float {
  0% {
    transform: rotate(-6deg) translateY(0);
  }

  50% {
    transform: rotate(-4.5deg) translateY(-12px);
  }

  100% {
    transform: rotate(-6deg) translateY(0);
  }
}

@keyframes floating-hero-arrow-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .floating-hero {
    padding: 14px 0 10px;
  }

  .floating-hero__stage {
    padding: 10px 0 34px;
  }

  .floating-hero__scene {
    height: 420px;
    border-radius: 22px;
  }

  .floating-hero__scene-top {
    left: 6%;
    width: 88%;
    height: 34px;
  }

  .floating-hero__arrow {
    left: 20%;
    bottom: calc(37% + 8px);
    width: min(22vw, 54px);
  }

  .floating-hero__polaroid {
    left: 4%;
    bottom: 4%;
    width: min(54vw, 210px);
  }

  .floating-hero__polaroid-frame {
    padding: 10px 10px 2px;
    border-radius: 14px;
  }

  .floating-hero__original-stack {
    height: 7em;
  }

  .floating-hero__label {
    margin-top: 10px;
    font-size: 0.78rem;
  }
}
