/* Shared desktop section controls. Inner pages use znj-inner-scroll.js;
   homepage uses znj-home-step-controls.js and its existing sheet layout.
   Keep WhatsApp ABOVE, never beside or overlapping the up/down arrows. */
@media(min-width:901px){
 body.znj-inner-scroll-enabled .znj-inner-sheet-steps,
 body.znj-home .znj-home-section-steps{
  display:flex!important;flex-direction:column;gap:5px;
  align-items:center;justify-content:center;
  position:fixed!important;right:clamp(14px,2vw,28px)!important;
  bottom:clamp(18px,3vh,32px)!important;
  z-index:10900!important;padding:5px!important;width:45px;
  border:1px solid rgba(218,174,105,.55)!important;border-radius:18px!important;
  background:rgba(16,22,17,.91)!important;box-shadow:0 9px 28px #0007!important;
  backdrop-filter:blur(14px);
 }
 body.znj-inner-scroll-enabled .znj-inner-sheet-steps button,
 body.znj-home .znj-home-section-steps button{
  display:grid;place-items:center;flex:none;width:35px!important;height:35px!important;
  border-radius:12px!important;border:1px solid rgba(222,182,111,.26)!important;
  background:#252920!important;color:#efcd93!important;font:700 21px/1 Manrope,system-ui,sans-serif!important;
  cursor:pointer;touch-action:manipulation;
 }
 body.znj-inner-scroll-enabled .znj-inner-sheet-steps button:hover:not(:disabled),
 body.znj-home .znj-home-section-steps button:hover:not(:disabled){background:#3b3826!important}
 body.znj-inner-scroll-enabled .znj-inner-sheet-steps button:disabled,
 body.znj-home .znj-home-section-steps button:disabled{opacity:.32!important;cursor:not-allowed}
 body.znj-inner-scroll-enabled .znj-inner-sheet-steps button:focus-visible,
 body.znj-home .znj-home-section-steps button:focus-visible{outline:2px solid #f1d39c;outline-offset:3px}
 /* The compact WA launcher is one row above arrow stack. */
 body .znj-whatsapp-widget{bottom:clamp(120px,calc(3vh + 105px),150px)!important;right:clamp(14px,2vw,28px)!important}
}
@media(max-width:900px){
 body .znj-whatsapp-widget{right:11px}
 body.znj-home .znj-home-section-steps{display:none!important}
}
/* When a support sheet is open, it should not obscure the desktop section
   arrow controls: both remain independently operable. */
@media(prefers-reduced-motion:reduce){
 .znj-home-section-steps *,.znj-inner-sheet-steps *{transition:none!important}
}

/* The old single Back-to-top bubble conflicts with the new paired arrows.
   Keep it on pages without chapter controls; remove duplicate controls here. */
body.znj-home .znj-back-top,
body.znj-inner-scroll-enabled .znj-back-top{display:none!important}

/* Luxury WhatsApp control: deep satin enamel framed in fine brushed champagne gold.
 * Dimensionality comes from a soft bevel + contact shadow, not stacked extrusion.
 * The header and floating launcher open the same existing question picker. */
body .site-head a.head-contact[data-znj-whatsapp-open],
body .site-head a.head-contact[data-znj-whatsapp-open]:link,
body .site-head a.head-contact[data-znj-whatsapp-open]:visited,
body .znj-whatsapp-widget .znj-whatsapp-float{
 --znj-wa-metal:#c8a364;
 --znj-wa-metal-light:#d9bd85;
 background:#11663f!important;
 background-image:linear-gradient(155deg,#19774c 0%,#135f3d 54%,#0e4e34 100%)!important;
 border:1.5px solid var(--znj-wa-metal)!important;
 color:#f9f4e9!important;
 outline:0!important;
 box-shadow:
   inset 0 1px 0 rgba(255,255,255,.15),
   inset 0 -1px 1px rgba(0,20,12,.23),
   0 1px 0 rgba(221,188,123,.23),
   0 5px 14px rgba(0,0,0,.20)!important;
 transform:none!important;
 filter:none!important;
 text-shadow:0 1px 1px rgba(0,32,18,.28);
 transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
body .site-head a.head-contact[data-znj-whatsapp-open]:hover,
body .site-head a.head-contact[data-znj-whatsapp-open]:focus-visible,
body .znj-whatsapp-widget .znj-whatsapp-float:hover,
body .znj-whatsapp-widget .znj-whatsapp-float:focus-visible{
 background:#176f48!important;
 background-image:linear-gradient(155deg,#218158 0%,#176744 60%,#105039 100%)!important;
 border-color:var(--znj-wa-metal-light)!important;
 color:#fffaf0!important;
 transform:none!important;
 box-shadow:
   inset 0 1px 0 rgba(255,255,255,.19),
   inset 0 -1px 1px rgba(0,20,12,.24),
   0 1px 0 rgba(221,188,123,.25),
   0 7px 18px rgba(0,0,0,.24)!important;
}
body .site-head a.head-contact[data-znj-whatsapp-open]:active,
body .znj-whatsapp-widget .znj-whatsapp-float:active{
 transform:none!important;
 background-image:linear-gradient(155deg,#104e34,#135c3c)!important;
 box-shadow:inset 0 2px 5px rgba(0,0,0,.21),0 2px 7px rgba(0,0,0,.18)!important;
}
body .site-head a.head-contact[data-znj-whatsapp-open] .znj-quote-label,
body .site-head a.head-contact[data-znj-whatsapp-open] span[aria-hidden]{
 color:#f9f4e9!important;
}
body .site-head a.head-contact[data-znj-whatsapp-open] span[aria-hidden]{
 background:transparent!important;
}
body .znj-whatsapp-widget .znj-whatsapp-float{
 border-radius:24px!important;
}
@media(prefers-reduced-motion:reduce){
 body .site-head a.head-contact[data-znj-whatsapp-open],
 body .znj-whatsapp-widget .znj-whatsapp-float{transition:none!important}
}
