/* Promotion bar is in document flow; the floating navbar retains its original gap. */
:root { --wk-promo-height:44px; }
html.wk-promo-muted { --wk-promo-height:0px !important; }
html.wk-promo-muted .wk-promo-bar { display:none !important; }
.wk-promo-bar,.wk-promo-bar *{box-sizing:border-box}
.wk-promo-bar{position:relative;z-index:1100;width:100%;min-height:44px;background:#006b5e;color:#f3ffe8;font-family:'Plus Jakarta Sans',Inter,Arial,sans-serif;border-bottom:1px solid #ffffff20}
.wk-promo-inner{width:min(1410px,calc(100% - 36px));min-height:44px;margin:auto;display:flex;align-items:center;gap:20px}
.wk-promo-heading{font-size:10px;letter-spacing:.15em;font-weight:900;white-space:nowrap;color:#d8ffb0}
.wk-promo-slides{position:relative;flex:1;min-width:0;align-self:stretch;min-height:44px}
.wk-promo-slide{display:flex;align-items:center;justify-content:center;gap:9px;position:absolute;inset:0;min-width:0;text-align:center;color:inherit;text-decoration:none;font-size:12px;line-height:1.35;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .32s,transform .32s,visibility .32s}
.wk-promo-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.wk-promo-slide strong{letter-spacing:.075em;font-size:10px;color:#9eec00;white-space:nowrap}
.wk-promo-slide span:nth-child(2){font-weight:650}
.wk-promo-slide span:last-child{color:#d5ffbc;font-size:14px}
.wk-promo-all{font-size:11px;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap;border-bottom:1px solid #9eec00;padding-bottom:2px}
.wk-promo-all:hover,.wk-promo-slide:hover span:nth-child(2){color:#d8ffb0}
.wk-promo-close{flex:none;border:1px solid #ffffff42;background:#ffffff12;color:#fff;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:20px;line-height:1;cursor:pointer;padding:0}
.wk-promo-close:hover{background:#ffffff31}
.wk-promo-bar a:focus-visible,.wk-promo-close:focus-visible{outline:2px solid #eef9e4;outline-offset:3px}
body .top{top:calc(22px + var(--wk-promo-height)) !important}
@media(max-width:700px){
 :root{--wk-promo-height:62px}
 .wk-promo-inner{width:calc(100% - 24px);gap:9px;min-height:62px}
 .wk-promo-heading{display:none}
 .wk-promo-slides{min-height:62px}
 .wk-promo-slide{flex-direction:column;gap:1px;padding:6px 0}
 .wk-promo-slide strong{font-size:9px;letter-spacing:.09em}
 .wk-promo-slide span:nth-child(2){font-size:11px;max-width:30ch}
 .wk-promo-slide span:last-child{display:none}
 .wk-promo-all{font-size:10px}
 .wk-promo-close{width:26px;height:26px}
 body .top{top:calc(10px + var(--wk-promo-height)) !important}
}
@media(prefers-reduced-motion:reduce){.wk-promo-slide{transition:none;transform:none}}


/* -------------------------------------------------------------------------
   Shared scroll navigation: original floating capsule at the top; full-width
   rectangular navigation pinned flush to the top as the page scrolls.
   JS updates the custom properties from actual viewport and scroll metrics,
   so the same animation works on home, domains, hosting and service pages.
   ------------------------------------------------------------------------- */
body .top {
  top: var(--wk-scroll-nav-top, calc(22px + var(--wk-promo-height))) !important;
  width: var(--wk-scroll-nav-width, min(1440px, calc(100% - 36px))) !important;
  border-radius: var(--wk-scroll-nav-radius, 100px) !important;
  transition:
    background-color .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
body .top > .container {
  max-width: 1440px !important;
}
html.wk-nav-docked body .top {
  background: rgba(244, 249, 240, .98);
  border-color: rgba(219, 237, 215, .9);
  border-left-color: transparent;
  border-right-color: transparent;
  box-shadow: 0 12px 32px rgba(8, 17, 23, .11);
}
@media (max-width: 700px) {
  body .top {
    top: var(--wk-scroll-nav-top, calc(10px + var(--wk-promo-height))) !important;
    width: var(--wk-scroll-nav-width, calc(100% - 20px)) !important;
  }
  html.wk-nav-docked body .top .site-menu {
    right: 12px;
    top: calc(100% + 8px);
    max-height: calc(100dvh - 92px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body .top { transition: none; }
}


/* Homepage mobile alignment: the homepage uses its own design stylesheet,
   unlike service pages. Anchor the shared header to the VISIBLE viewport,
   not a potentially over-wide page/layout container. These declarations
   belong after the common scroll-morph rules and only apply to home. */
@media (max-width: 700px) {
  html:has(> body.webkiva-home),
  body.webkiva-home {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  /* The homepage uses oversized absolutely-positioned hero glows and
     background art. Clip at their section boundaries so they cannot
     enlarge the mobile layout viewport (which would shift the navbar). */
  body.webkiva-home > main,
  body.webkiva-home > section,
  body.webkiva-home > footer,
  body.webkiva-home .wk-promo-bar {
    max-width: 100%;
    overflow-x: clip;
  }
  body.webkiva-home header.top {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    margin-inline: auto !important;
    transform: none !important;
    box-sizing: border-box;
    width: min(var(--wk-scroll-nav-width, calc(100% - 20px)), 100dvw) !important;
    max-width: 100dvw !important;
  }
  body.webkiva-home header.top > .container {
    min-width: 0;
    max-width: 100%;
  }
  body.webkiva-home header.top .site-menu {
    right: 0;
    left: auto;
    max-width: calc(100dvw - 20px);
  }
}

/* December campaign: festive gold and lime on navy; keep standard mobile dimensions. */
.wk-promo-bar.wk-christmas-bar{background:linear-gradient(105deg,#0e1123 0%,#17412f 54%,#0e1123 100%);border-bottom:1px solid #d4ad5066}
.wk-christmas-bar .wk-promo-heading{color:#e2c06e}
.wk-christmas-bar .wk-promo-slide strong{color:#9eec00}
.wk-christmas-bar .wk-promo-all{border-bottom-color:#d6b057}
@media(max-width:700px){.wk-christmas-bar .wk-promo-slide{max-width:100%;overflow:hidden}.wk-christmas-bar .wk-promo-slide span:nth-child(2){max-width:29ch;line-height:1.25}}
