/* whenleads.com global nav (templates/partials/header.html): desktop bar with an Industries <details>
   dropdown, and a phone <details> menu. Both work without JS. */
.site-header { position: relative; z-index: 30; background: var(--bg); }
.wl-nav { display: none; }
.wl-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.wl-nav__list > li { margin: 0; position: relative; }
.wl-nav__list > li > a, .wl-dd > summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .85rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; cursor: pointer; }
.wl-nav__list > li > a:hover, .wl-dd > summary:hover { background: var(--panel); }
.wl-nav__list > li > a[aria-current], .wl-dd > summary[data-current] { background: #eef1ff; color: var(--accent); }
.wl-nav__list > li > a.btn { color: var(--accent-on); background: var(--accent); margin-left: .4rem; padding: 0 1.1rem; }
.wl-dd > summary { list-style: none; }
.wl-dd > summary::-webkit-details-marker { display: none; }
.wl-dd__chev { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.wl-dd[open] .wl-dd__chev { transform: rotate(-135deg) translateY(-1px); }
.wl-dd__panel { position: absolute; left: 0; top: calc(100% + .4rem); min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10, 22, 48, .12); padding: .5rem; }
.wl-dd__panel ul { list-style: none; margin: 0; padding: 0; }
.wl-dd__panel li { margin: 0; }
.wl-dd__panel li a { display: flex; flex-direction: column; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.wl-dd__panel li a:hover, .wl-dd__panel li a[aria-current] { background: var(--panel); }
.wl-dd__name { font-weight: 600; }
.wl-dd__for { font-size: .85rem; color: var(--ink-2); }
.wl-dd__all { display: block; margin-top: .35rem; padding: .65rem .8rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--accent); text-decoration: none; }
.wl-mnav { margin-left: auto; }
.wl-mnav__btn { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; cursor: pointer; }
.wl-mnav__btn::-webkit-details-marker { display: none; }
.wl-mnav[open] .wl-mnav__btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.wl-mnav__panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(10, 22, 48, .12); padding: 1rem 16px 1.25rem; max-height: calc(100vh - 64px); overflow-y: auto; }
.wl-mnav__h { font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 0 0 .25rem; }
.wl-mnav__panel ul { list-style: none; margin: 0; padding: 0; }
.wl-mnav__panel li { margin: 0; }
.wl-mnav__ind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem !important; }
.wl-mnav__panel a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.wl-mnav__panel a[aria-current] { color: var(--accent); }
.wl-mnav__main .btn { justify-content: center; margin-top: .5rem; color: var(--accent-on); }
@media (min-width: 960px) { .wl-nav { display: block; } .wl-mnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .wl-dd__chev { transition: none; } }
