/* ==========================================================================
   Kizen — site toolbar matching the live kizen.com header (Nov 2026)
   Logo · Platform ▾ · Industries ▾ · Company ▾ · Resources ▾ · Docs   |   Log In ▾ · Try for free · Book a demo
   Dropdowns: rounded white mega panel, section title on the left, links on the right,
   teal footer band with "Book a demo" (Platform, Industries). Behaviour: js/kz-header.js
   ========================================================================== */
.kz-hdr { position: sticky; top: 0; z-index: 70; font-family: var(--font-body); }
.kz-hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.kz-hdr.is-scrolled::before { box-shadow: 0 1px 0 #E3E4E8; }
.kz-hdr__bar { display: flex; align-items: center; gap: 24px; height: 72px; max-width: 1440px; margin-inline: auto; padding-inline: calc(var(--panel-inset, 12px) + 8px); }
@media (min-width: 1100px) { .kz-hdr__bar { height: 82px; } }
.kz-hdr__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.kz-hdr__logo img { width: 104px; height: auto; display: block; }
@media (min-width: 1100px) { .kz-hdr__logo img { width: 112px; } }

.kz-hdr__nav { display: none; }
.kz-hdr__right { display: none; margin-left: auto; align-items: center; gap: 12px; }
.kz-hdr__item { position: static; }
.kz-hdr__link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 2px; border: 0; background: none; font: 400 15px / 1 var(--font-body); color: #0B1724; cursor: pointer; text-decoration: none; white-space: nowrap; }
.kz-hdr__link:hover, .kz-hdr__link[aria-expanded="true"] { color: #0C595C; }
.kz-hdr__chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; transition: transform .2s; }
.kz-hdr__link[aria-expanded="true"] .kz-hdr__chev { transform: rotate(180deg); opacity: 1; }

.kz-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 14px; border-radius: 36px; font: 400 15px / 1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.kz-btn--outline { background: #fff; color: #0B1724; border: 1px solid #F26C56; }
.kz-btn--outline:hover { background: #FFF3F0; color: #0B1724; }
.kz-btn--solid { background: #F26C56; color: #fff; border: 1px solid #F26C56; }
.kz-btn--solid:hover { background: #E4573F; border-color: #E4573F; color: #fff; }

@media (min-width: 1100px) {
  .kz-hdr__nav { display: flex; align-items: center; margin-left: 36px; }
  .kz-hdr__nav > ul { display: flex; align-items: center; gap: 24px; }
  .kz-hdr__right { display: flex; }
  .kz-hdr__login { margin-right: 18px; }
}

/* Mega panels (desktop) */
.kz-menu { position: absolute; left: 10px; right: 10px; top: 10px; z-index: -1; padding-top: 72px; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px -30px rgba(11,23,36,.35); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.kz-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.kz-menu__body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; max-width: 1440px; margin-inline: auto; padding: 22px 112px 32px; }
.kz-menu__title { font: 500 18px / 1.3 var(--font-body); color: #0B1724; }
.kz-menu__links { display: grid; gap: 10px; align-content: start; }
.kz-menu__links--2col { grid-template-columns: repeat(2, minmax(0, 340px)); column-gap: 24px; }
.kz-menu__a { display: inline-flex; align-items: center; gap: 14px; width: fit-content; min-height: 36px; font: 400 18px / 1.3 var(--font-body); color: #0B1724; text-decoration: none; }
.kz-menu__a:hover { color: #0C595C; }
.kz-menu__a .arr { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .45; transition: transform .2s; }
.kz-menu__a:hover .arr { transform: translateX(3px); opacity: 1; }
.kz-menu__ico { display: inline-grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border: 1px solid #D9DDE1; border-radius: 8px; background: #fff; color: #0C595C; }
.kz-menu__ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.kz-menu__band { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 12px 24px; background: #0C595C; color: #fff; font: 400 18px / 1.3 var(--font-body); }
.kz-menu__band a { display: inline-flex; align-items: center; height: 38px; padding: 0 24px; border-radius: 36px; background: #fff; color: #0C595C; font-size: 15px; text-decoration: none; }
.kz-menu__band a:hover { background: #E3EEEE; color: #0C595C; }
.kz-menu--small { left: auto; right: 220px; width: 260px; padding-top: 72px; }
.kz-menu--small .kz-menu__body { display: flex; flex-direction: column; gap: 6px; padding: 8px 24px 20px; }
.kz-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(11,23,36,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .18s; }
.kz-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .18s; }

/* Mobile: hamburger + full-height drawer with accordions */
.kz-hdr__toggle { margin-left: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: #0B1724; cursor: pointer; }
.kz-hdr__toggle .x { display: none; }
.kz-hdr__toggle[aria-expanded="true"] .x { display: block; }
.kz-hdr__toggle[aria-expanded="true"] .bars { display: none; }
@media (min-width: 1100px) { .kz-hdr__toggle { display: none; } }
.kz-drawer { position: fixed; inset: 72px 0 0 0; z-index: 69; display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter, 20px) 28px; background: #fff; overflow-y: auto; }
.kz-drawer.is-open { display: flex; }
@media (min-width: 1100px) { .kz-drawer { display: none !important; } }
.kz-drawer details { border-bottom: 1px solid #EEEFF2; }
.kz-drawer summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font: 400 18px / 1.3 var(--font-body); color: #0B1724; cursor: pointer; list-style: none; }
.kz-drawer summary::-webkit-details-marker { display: none; }
.kz-drawer summary .kz-hdr__chev { width: 14px; height: 14px; }
.kz-drawer details[open] summary .kz-hdr__chev { transform: rotate(180deg); opacity: 1; }
.kz-drawer details ul { display: grid; gap: 2px; padding: 0 0 14px 12px; }
.kz-drawer details a, .kz-drawer > a.kz-drawer__link { display: flex; align-items: center; min-height: 44px; font: 400 16px / 1.3 var(--font-body); color: #3A4250; text-decoration: none; }
.kz-drawer > a.kz-drawer__link { min-height: 56px; font-size: 18px; color: #0B1724; border-bottom: 1px solid #EEEFF2; }
.kz-drawer__ctas { display: grid; gap: 10px; margin-top: 18px; }
.kz-drawer__ctas .kz-btn { height: 48px; font-size: 16px; }
body.kz-nav-open { overflow: hidden; }
body.kz-nav-open .sticky-cta { display: none; }
