/* Standalone mega navigation: each CSS selector has one rule line. */
.jt-mega { position: static; display: flex; align-items: center; min-width: 0; font-family: inherit; }
.jt-mega * { box-sizing: border-box; }
.jt-mega-links { display: flex; align-items: center; gap: clamp(8px,1.1vw,22px); }
.jt-mega-group { position: static; }
.jt-mega-trigger, .jt-mega-contact { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #101010; font: inherit; font-size: 14px; font-weight: 700; padding: 12px 5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.jt-mega-trigger[aria-expanded="true"] { color: #b47a00; }
.jt-mega-trigger:focus-visible, .jt-mega a:focus-visible, .jt-mega-toggle:focus-visible { outline: 3px solid #ffc928; outline-offset: 3px; }
.jt-mega-panel { position: absolute; z-index: 10000; top: 100%; left: 0; width: 100%; max-height: min(72vh,650px); overflow-y: auto; background: #111416; color: #fff; box-shadow: 0 18px 35px rgba(0,0,0,.24); border-top: 3px solid #ffc928; }
.jt-mega-panel[hidden] { display: none !important; }
.jt-mega-panel-inner { display: grid; grid-template-columns: minmax(210px,.9fr) repeat(3,minmax(0,1fr)); gap: clamp(18px,2.5vw,44px); max-width: 1440px; padding: 34px clamp(24px,4vw,60px) 44px; margin: 0 auto; }
.jt-mega-panel-inner--small { grid-template-columns: minmax(210px,.9fr) repeat(2,minmax(0,1fr)); }
.jt-mega-kicker { display: block; margin-bottom: 12px; color: #ffc928; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.jt-mega-intro h2 { margin: 0 0 12px; color: #fff; font-size: clamp(22px,2.2vw,31px); line-height: 1.15; }
.jt-mega-intro p { margin: 0; color: #b8bec3; line-height: 1.55; }
.jt-mega-column h3 { margin: 0 0 16px; color: #ffc928; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.jt-mega-column a { display: block; padding: 10px 0; color: #fff; font-weight: 700; text-decoration: none; line-height: 1.3; }
.jt-mega-column a:hover { color: #ffc928; }
.jt-mega-column small { display: block; margin-top: 5px; color: #aeb5bb; font-size: 12px; font-weight: 400; }
.jt-mega-toggle { display: none; }
@media (max-width: 1200px) {
    .jt-mega { display: block; }
    .jt-mega-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 12px; background: #101010; color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
    .jt-mega-links { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 10000; max-height: calc(100dvh - 85px); overflow-y: auto; background: #fff; box-shadow: 0 12px 20px rgba(0,0,0,.2); }
    .jt-mega-links.is-open { display: block; }
    .jt-mega-trigger, .jt-mega-contact { display: flex; width: 100%; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #e8e8e8; font-size: 17px; }
    .jt-mega-panel { position: static; max-height: none; overflow: visible; box-shadow: none; border-top: 0; }
    .jt-mega-panel-inner, .jt-mega-panel-inner--small { display: block; padding: 20px 26px; }
    .jt-mega-intro { margin-bottom: 24px; }
    .jt-mega-column { margin-top: 20px; }
}

/* Integration: keep the header intact, replacing only its navigation. */
.site-header > .jt-mega { flex: 1 1 auto; min-width: 0; padding: 0 12px; }
.site-header > .jt-mega .jt-mega-links { gap: clamp(8px,1.1vw,22px); }
.site-header > .jt-mega .jt-mega-panel { left: 0; right: 0; }
@media (max-width: 1200px) {
    .site-header > .jt-mega { order: 3; flex: 0 0 72px; width: 72px; padding: 0; }
    .site-header > .call-panel { order: 2; flex: 0 0 auto; margin-left: auto; }
    .site-header > .jt-mega .jt-mega-toggle { display: flex; width: 72px; height: 100%; justify-content: center; padding: 0; background: #101010; font-size: 0; }
    .site-header > .jt-mega .jt-mega-toggle span { font-size: 30px; line-height: 1; }
    .site-header > .jt-mega .jt-mega-links { left: 0; right: 0; top: 100%; }
}
@media (max-width: 560px) {
    .site-header > .jt-mega { flex-basis: 72px; }
}

.mega-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-left: 5px; vertical-align: middle; }
[aria-expanded="true"] .mega-chevron { transform: rotate(180deg); }

/* Responsive header: no white gap and no oversized call panel. */
@media (min-width: 561px) and (max-width: 1200px) {
    .site-header { background: #101010; }
    .site-header > .call-panel { flex: 0 0 auto; margin-left: auto; }
}
@media (max-width: 560px) {
    .site-header > .call-panel { flex: 1 1 auto; min-width: 0; margin-left: 0; justify-content: center; padding: 0 8px; }
    .site-header > .call-panel .call-icon { width: 23px; height: 23px; flex-shrink: 0; }
}
@media (max-width: 560px) {
    .site-header { background: #101010; }
    .site-header > .call-panel { flex: 1 1 auto; min-width: 0; margin-left: 0; justify-content: center; }
}