/* Header and desktop-only mega menu. All artwork uses the theme's SVG icons. */
.lesh-mega-header { padding: 14px 0; }
.lesh-mega-header .lesh-header-shell {
    position: relative; gap: 20px; height: 76px; padding: 0 16px 0 20px;
    border-color: #e4e9ef; border-radius: 18px; background: #fff;
    box-shadow: 0 8px 32px rgba(19, 35, 51, .07);
}
.lesh-mega-header.scrolled .lesh-header-shell { height: 68px; background: #fff; }
.lesh-mega-header .lesh-logo-mark { width: 40px; height: 40px; border-radius: 12px; }
.lesh-mega-header .lesh-logo-word { font-size: 17px; }
.lesh-mega-header .lesh-header-cta { border-radius: 11px; padding: 11px 17px; font-size: 13px; box-shadow: none; }
.lesh-mega-header .lesh-nav { margin-left: auto; }
.lesh-mega-header .lesh-nav-list { gap: 2px; }
.lesh-mega-trigger { display: none; }
.lesh-mega-header .lesh-mobile-nav-link { display: flex; align-items: center; gap: 9px; }
.lesh-nav-icon, .lesh-mega-chevron { display: inline-flex; flex: 0 0 auto; }
.lesh-mega-chevron { opacity: .65; transition: transform .2s; }
.lesh-mobile-link-arrow { display: none; }
.lesh-mobile-header-cta { display: none; }
.lesh-mega-panel[hidden], .lesh-mega-backdrop[hidden] { display: none !important; }
.lesh-mega-backdrop {
    position: fixed; inset: var(--lesh-mega-top, 100px) 0 0; z-index: 998;
    background: rgba(11, 26, 37, .28); backdrop-filter: blur(3px);
}
.lesh-mega-panel {
    position: absolute; top: calc(100% + 12px); left: -1px; right: -1px;
    border: 1px solid #28444d; border-radius: 20px; overflow: visible;
    color: #f3f8f8; background: #112c34;
    box-shadow: 0 28px 70px rgba(9, 25, 33, .3); isolation: isolate;
    max-height: calc(100dvh - 140px); overflow-y: auto;
    animation: lesh-mega-enter .18s ease-out;
}
.lesh-mega-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.lesh-mega-body { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 34px; padding: 32px; }
.lesh-mega-overview { padding-right: 9px; }
.lesh-mega-service-icon {
    display: flex; width: 54px; height: 54px; align-items: center; justify-content: center;
    margin-bottom: 19px; border: 1px solid rgba(133, 224, 195, .28); border-radius: 15px;
    color: #a1f1d4; background: rgba(133, 224, 195, .1);
}
.lesh-mega-eyebrow, .lesh-mega-section-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; }
.lesh-mega-eyebrow { margin-bottom: 9px; color: #9de5ca; }
.lesh-mega-panel h2 { margin: 0 0 12px; color: #fff; font-size: 25px; line-height: 1.25; letter-spacing: -.035em; }
.lesh-mega-panel p { margin: 0; color: #b7cbd0; font-size: 12px; line-height: 1.8; }
.lesh-mega-header .lesh-mega-panel a.lesh-mega-primary {
    display: inline-flex; align-items: center; gap: 13px; margin-top: 20px; padding: 10px 14px;
    color: #0f302b; background: #b7f1d7; border-radius: 9px; font-size: 12px; font-weight: 700;
}
.lesh-mega-header .lesh-mega-panel a.lesh-mega-primary:hover { color: #0f302b; background: #d5f9e9; transform: translateY(-1px); }
.lesh-mega-section-label { margin: 4px 0 17px; color: #88a9b1; }
.lesh-mega-features { border-inline: 1px solid rgba(183, 203, 208, .12); padding-inline: 26px; }
.lesh-mega-feature { display: flex; align-items: flex-start; gap: 12px; margin-top: 21px; }
.lesh-mega-feature-icon {
    display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; flex: 0 0 39px;
    border: 1px solid rgba(183, 203, 208, .14); border-radius: 11px; color: #b9dfdd;
    background: rgba(255, 255, 255, .035);
}
.lesh-mega-panel h3 { margin: 0 0 4px; color: #f2f8f8; font-size: 13px; line-height: 1.5; font-weight: 600; }
.lesh-mega-feature p { font-size: 11px; line-height: 1.7; }
.lesh-mega-header .lesh-mega-related-link {
    display: flex; align-items: center; gap: 10px; padding: 10px 9px; margin: 3px -9px;
    color: #f0f8f7; border-radius: 10px; transition: background .18s;
}
.lesh-mega-header .lesh-mega-related-link:hover { color: #fff; background: rgba(255, 255, 255, .065); }
.lesh-mega-related-icon { display: flex; flex: 0 0 35px; align-items: center; justify-content: center; width: 35px; height: 35px; color: #b0d9d4; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.lesh-mega-related-link > span:nth-child(2) { flex: 1; }
.lesh-mega-related-link > svg { flex: 0 0 auto; color: #7dabae; }
.lesh-mega-related-link strong { display: block; font-size: 12px; font-weight: 600; }
.lesh-mega-related-link small { display: block; margin-top: 2px; color: #9bb7bf; font-size: 10px; line-height: 1.6; }
.lesh-mega-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 32px; border-top: 1px solid rgba(183, 203, 208, .12); background: rgba(0, 0, 0, .12); border-radius: 0 0 19px 19px; }
.lesh-mega-bottom > span { display: flex; align-items: center; gap: 9px; color: #b7cbd0; font-size: 11px; }
.lesh-mega-header .lesh-mega-bottom a { display: flex; align-items: center; gap: 9px; padding: 0; color: #b7f1d7; font-size: 11px; font-weight: 600; }
.lesh-mega-header .lesh-mega-bottom a:hover { background: none; color: #fff; }
.lesh-mega-close { position: absolute; z-index: 1; top: 11px; right: 11px; display: grid; place-items: center; width: 27px; height: 27px; border: 0; border-radius: 7px; color: #9bb7bf; background: transparent; cursor: pointer; }
.lesh-mega-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lesh-mega-header :is(button, a):focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.lesh-mega-panel :is(button, a):focus-visible { outline-color: #b7f1d7; }

@media (min-width: 1101px) {
    .lesh-mega-header .lesh-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
    .lesh-mega-header .lesh-menu-toggle { display: none; }
    .lesh-menu-ready .lesh-mega-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 12px 7px; border: 0; border-radius: 10px; background: none; color: #536271; font: 600 12px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
    .lesh-menu-ready .lesh-mobile-nav-link { display: none; }
    .lesh-mega-trigger:hover, .lesh-mega-trigger.is-active, .is-mega-open > .lesh-mega-trigger { background: #eff6f3; color: #17624b; }
    .is-mega-open .lesh-mega-chevron { transform: rotate(180deg); }
    .lesh-mega-header .lesh-header-actions { display: flex; }
}

@media (min-width: 1101px) and (max-width: 1200px) {
    .lesh-mega-header .lesh-header-shell { gap: 10px; }
    .lesh-menu-ready .lesh-mega-trigger { gap: 5px; padding-inline: 6px; font-size: 11px; }
    .lesh-menu-ready .lesh-mega-chevron { display: none; }
}

@media (max-width: 1100px) {
    .lesh-mega-header { padding: 9px 0; }
    .lesh-mega-header .lesh-header-shell, .lesh-mega-header.scrolled .lesh-header-shell { height: 64px; padding: 0 12px 0 15px; border-radius: 15px; }
    .lesh-mega-header .lesh-header-actions { display: none; }
    .lesh-mega-header .lesh-menu-toggle { position: relative; display: block; margin-left: auto; width: 42px; height: 42px; flex: 0 0 42px; }
    .lesh-mega-header .lesh-menu-toggle span { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin: 0; transform-origin: center; }
    .lesh-mega-header .lesh-menu-toggle span:nth-child(1) { transform: translateY(-7px); }
    .lesh-mega-header .lesh-menu-toggle span:nth-child(3) { transform: translateY(7px); }
    .nav-open .lesh-mega-header .lesh-menu-toggle span:nth-child(1) { transform: rotate(45deg); }
    .nav-open .lesh-mega-header .lesh-menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
    .lesh-mega-header .lesh-nav { display: none; position: absolute; inset: calc(100% + 10px) -1px auto; padding: 12px; margin: 0; max-height: calc(100dvh - 125px); overflow: auto; overscroll-behavior: contain; border: 1px solid #e4e9ef; border-radius: 15px; background: #fff; box-shadow: 0 16px 40px rgba(19, 35, 51, .12); }
    .lesh-mega-header .lesh-nav.open { display: block; }
    .lesh-mega-header .lesh-nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
    .lesh-mega-header .lesh-mobile-nav-link { display: flex; gap: 12px; padding: 12px; font-size: 14px; }
    .lesh-mobile-nav-link .lesh-nav-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #17624b; background: #edf6f1; }
    .lesh-mobile-link-arrow { display: flex; margin-left: auto; color: #91a49a; }
    .lesh-mega-panel, .lesh-mega-backdrop, .lesh-mega-trigger { display: none !important; }
    .lesh-mega-header .lesh-mobile-header-cta { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 14px; margin-top: 12px; border-radius: 10px; color: #fff; background: var(--primary); font-size: 13px; font-weight: 700; }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
    .lesh-mega-header .lesh-logo-word { font-size: 14px; }
    .lesh-mega-header .lesh-logo-mark { width: 36px; height: 36px; }
}

@keyframes lesh-mega-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .lesh-mega-panel { animation: none; }
    .lesh-mega-header *, .lesh-mega-header *::before { transition: none !important; }
}
.lesh-no-motion .lesh-mega-panel { animation: none; }
