/* Friidom site-wide "wow" layer. Loaded after each page's inline <style>.
   Pages stay self-contained; this only adds polish on top. */

@keyframes wow-shimmer{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}

/* Gold shine on every main button, same gradient as the headings */
.hero-cta{
  background:linear-gradient(135deg,#f4d160 10%,#d4af37 45%,#fff8dd 55%,#d4af37 70%,#8a6f24 100%);
  background-size:200% 200%;
  animation:wow-shimmer 6s ease-in-out infinite;
}

/* Thin gold scroll progress line along the top edge */
.wow-progress{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:200; pointer-events:none;
  background:linear-gradient(90deg,#8a6f24,#d4af37,#fff8dd,#d4af37);
  transform-origin:0 50%; transform:scaleX(0);
}

/* Gold rule under section headings */
.wow-rule{display:block; width:120px; height:1px; margin:16px auto 0; background:linear-gradient(90deg,transparent,#d4af37,transparent); transform-origin:center;}
.wow-rule.left{margin-left:0; background:linear-gradient(90deg,#d4af37,transparent); transform-origin:left;}

/* Sticky Contact bar (pages opt in with data-sticky-href on <body>), phones only */
.wow-sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:150;
  display:none; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(6,6,6,0.94); border-top:1px solid rgba(212,175,55,0.25);
  transform:translateY(110%); transition:transform .3s ease;
}
.wow-sticky.show{transform:none;}
.wow-sticky .hero-cta{flex:1; justify-content:center; min-height:48px; margin:0; padding:12px 10px; font-size:1.05rem;}
@media (max-width:760px){
  .wow-sticky{display:flex;}
  body.wow-has-bar{padding-bottom:84px;}
}

/* One-time scroll reveal + gold edge flash. Only when JS runs and motion is welcome. */
@media (prefers-reduced-motion:no-preference){
  .wow-js .wow-reveal{
    opacity:0; transform:translateY(18px);
    transition:opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay:calc(var(--wow-i,0) * 80ms);
  }
  .wow-js .wow-reveal.wow-in{opacity:1; transform:none;}
  .wow-js .wow-card.wow-in{animation:wow-ignite 1.1s ease-out calc(var(--wow-i,0) * 80ms) 1;}
  .wow-js .wow-rule{transform:scaleX(0); transition:transform .9s cubic-bezier(.2,.7,.2,1) .25s;}
  .wow-js .wow-in .wow-rule, .wow-js .wow-rule.wow-in{transform:scaleX(1);}
}
@keyframes wow-ignite{
  0%{box-shadow:0 0 0 0 rgba(212,175,55,0);}
  40%{box-shadow:0 0 0 1px rgba(212,175,55,0.55), 0 0 28px 2px rgba(212,175,55,0.28);}
  100%{box-shadow:0 0 0 0 rgba(212,175,55,0);}
}
@media (prefers-reduced-motion:reduce){
  .hero-cta{animation:none;}
  .wow-progress{display:none;}
}
