/*
 * Save Future — Sticky Header
 * Scope: ONLY the existing Elementor header container (data-id="jUBTYtwo").
 */

[data-id="jUBTYtwo"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  transform-origin: top center;
  transition: border-color 0.25s ease;
}

[data-id="jUBTYtwo"].sf-header--stuck {
  border-bottom: 1px solid #2C2C2C;
}

[data-id="jUBTYtwo"].sf-header--flip-in {
  animation: sfHeaderFlipDown 450ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sfHeaderFlipDown {
  from {
    opacity: 0;
    transform: perspective(800px) rotateX(-75deg) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-id="jUBTYtwo"].sf-header--flip-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
