/* ============================================
   JuriUp Navbar — Premium Sticky + Mega Menus
   ============================================ */

/* — Variables — */
:root {
    --jn-primary: #FF8001;
    --jn-primary-hover: #e67300;
    --jn-primary-glow: rgba(255,128,1,.15);
    --jn-navy: #20234E;
    --jn-navy-deep: #1a1d42;
    --jn-navy-light: #2C3064;
    --jn-white: #FFFFFF;
    --jn-text: #262129;
    --jn-muted: #6B6B7B;
    --jn-border: rgba(0,0,0,.08);
    --jn-radius: 12px;
    --jn-transition: all .25s cubic-bezier(.4,0,.2,1);
    --jn-shadow: 0 4px 24px rgba(32,35,78,.08);
    --jn-shadow-lg: 0 16px 48px rgba(32,35,78,.14);
    --jn-mega-bg: #FFFFFF;
    --jn-height: 72px;
}

/* — Reset & Base — */
.jn-navbar,
.jn-navbar *,
.jn-navbar *::before,
.jn-navbar *::after,
.jn-mobile-menu,
.jn-mobile-menu *,
.jn-mobile-menu *::before,
.jn-mobile-menu *::after,
.jn-spacer {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.jn-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: var(--jn-height);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--jn-border);
    transition: var(--jn-transition);
}

.jn-navbar.jn-scrolled {
    height: 64px;
    box-shadow: var(--jn-shadow);
    background: rgba(255,255,255,.97);
}

/* — Spacer — */
.jn-spacer {
    height: var(--jn-height);
}

/* — Container — */
.jn-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    position: relative;
}

/* — Logo — */
.jn-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 10;
}

.jn-logo img {
    height: 44px;
    width: auto;
    display: block;
    transition: var(--jn-transition);
}

.jn-navbar.jn-scrolled .jn-logo img {
    height: 38px;
}

/* — Desktop Nav — */
.jn-nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    list-style: none;
}

.jn-nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.jn-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 480;
    color: var(--jn-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--jn-transition);
    white-space: nowrap;
    position: relative;
    letter-spacing: -.01em;
}

.jn-nav-link:hover,
.jn-nav-link.jn-active {
    color: var(--jn-primary);
    background: var(--jn-primary-glow);
}

.jn-nav-link .jn-chevron {
    width: 14px;
    height: 14px;
    transition: transform .25s ease;
    opacity: .55;
}

.jn-nav-item:hover .jn-nav-link .jn-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* — CTA Button — */
.jn-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--jn-primary);
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 650;
    text-decoration: none !important;
    border-radius: 10px;
    transition: var(--jn-transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    letter-spacing: .01em;
    box-shadow: 0 2px 12px rgba(255,128,1,.25);
}

.jn-cta,
.jn-cta:visited,
.jn-cta:hover,
.jn-cta:active {
    color: #FFFFFF !important;
}

.jn-cta:hover {
    background: var(--jn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255,128,1,.35);
}

.jn-cta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* — Right Section — */
.jn-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

/* — Devenir Partenaire Link — */
.jn-partner-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--jn-navy);
    text-decoration: none;
    border: 1.5px solid var(--jn-border);
    border-radius: 10px;
    transition: var(--jn-transition);
    white-space: nowrap;
}

.jn-partner-link:hover {
    border-color: var(--jn-navy);
    background: rgba(32,35,78,.04);
    color: var(--jn-navy-deep);
}

.jn-partner-link svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ============================================
   MEGA MENUS — chrome commun
   ============================================ */

.jn-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 99999;
    background: var(--jn-mega-bg);
    border-radius: 16px;
    box-shadow: var(--jn-shadow-lg);
    border: 1px solid rgba(0,0,0,.06);
    padding: 22px 22px 16px;
    overflow: hidden;
}

.jn-nav-item:hover > .jn-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.jn-mega-domaines { width: 780px; }
.jn-mega-services { width: 640px; }
.jn-mega-ressources { width: 780px; }

.jn-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.jn-mega-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--jn-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.jn-mega-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--jn-primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jn-mega-title-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--jn-primary);
    fill: none;
    stroke-width: 2;
}

.jn-mega-viewall,
.jn-res-viewall {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--jn-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    line-height: 1;
    transition: gap .22s ease, color .22s ease;
}

.jn-mega-viewall:hover,
.jn-res-viewall:hover { gap: 8px; }

.jn-navbar .jn-mega-viewall svg,
.jn-navbar .jn-res-viewall svg {
    width: 12px;
    height: 12px;
    max-width: 12px;
    max-height: 12px;
    flex: 0 0 12px;
    display: block;
    overflow: visible;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.jn-mega-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.jn-mega-footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--jn-navy) 0%, var(--jn-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jn-mega-footer-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--jn-white);
    fill: none;
    stroke-width: 2;
}

.jn-mega-footer-text { flex: 1; min-width: 0; }

.jn-mega-footer-text strong {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--jn-text);
}

.jn-mega-footer-text span {
    display: block;
    font-size: 12px;
    color: var(--jn-muted);
    margin-top: 2px;
}

.jn-mega-footer-btn {
    padding: 8px 16px;
    background: var(--jn-primary);
    color: var(--jn-white);
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--jn-transition);
    white-space: nowrap;
}

.jn-mega-footer-btn:hover {
    background: var(--jn-primary-hover);
    box-shadow: 0 4px 16px rgba(255,128,1,.25);
    color: var(--jn-white);
}

/* — Domain Grid — */
.jn-domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.jn-domain-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--jn-text);
    transition: var(--jn-transition);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.3;
}

.jn-domain-link:hover {
    background: var(--jn-primary-glow);
    color: var(--jn-primary);
}

.jn-domain-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jn-navy);
    opacity: .25;
    flex-shrink: 0;
    transition: var(--jn-transition);
}

.jn-domain-link:hover .jn-domain-dot {
    background: var(--jn-primary);
    opacity: 1;
    transform: scale(1.3);
}

/* — Services cards — */
.jn-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.jn-service-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--jn-text);
    transition: var(--jn-transition);
}

.jn-service-card:hover { background: var(--jn-primary-glow); }

.jn-service-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--jn-transition);
}

.jn-service-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    fill: none;
    stroke: currentColor;
}

.jn-service-icon.jn-icon-dossier {
    background: rgba(255,128,1,.12);
    color: #FF8001;
    border: 1px solid rgba(255,128,1,.2);
}

.jn-service-icon.jn-icon-services {
    background: rgba(44,48,100,.1);
    color: #2C3064;
    border: 1px solid rgba(44,48,100,.15);
}

.jn-service-icon.jn-icon-cabinets {
    background: rgba(50,207,160,.1);
    color: #32CFA0;
    border: 1px solid rgba(50,207,160,.2);
}

.jn-service-icon.jn-icon-experts {
    background: rgba(91,116,254,.1);
    color: #5B74FE;
    border: 1px solid rgba(91,116,254,.2);
}

.jn-service-icon.jn-icon-villes {
    background: rgba(160,80,220,.1);
    color: #A050DC;
    border: 1px solid rgba(160,80,220,.2);
}

.jn-service-card:hover .jn-service-icon { transform: scale(1.05); }

.jn-service-text h4 {
    font-size: 13.5px;
    font-weight: 650;
    color: var(--jn-text);
    margin: 0 0 3px;
    line-height: 1.3;
}

.jn-service-text p {
    font-size: 12px;
    color: var(--jn-muted);
    margin: 0;
    line-height: 1.45;
}

.jn-service-card:hover .jn-service-text h4 { color: var(--jn-primary); }

/* — Ressources — */
.jn-res-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 8px 20px;
    align-items: start;
}

.jn-res-col-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--jn-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 8px;
    padding: 0 8px;
}

.jn-res-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px;
    padding: 0 8px;
}

.jn-res-col-head .jn-res-col-title { margin: 0; padding: 0; }

.jn-res-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 8px;
}

.jn-res-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--jn-text);
    transition: var(--jn-transition);
}

.jn-res-link:hover { background: var(--jn-primary-glow); }

.jn-res-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(44,48,100,.06);
    color: var(--jn-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--jn-transition);
}

.jn-res-link-icon svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.jn-res-link:hover .jn-res-link-icon {
    background: rgba(255,128,1,.18);
    color: var(--jn-primary);
}

.jn-res-link-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.jn-res-link-text strong {
    font-size: 13px;
    font-weight: 650;
    color: var(--jn-text);
    transition: var(--jn-transition);
}

.jn-res-link:hover .jn-res-link-text strong { color: var(--jn-primary); }

.jn-res-link-text span {
    font-size: 11.5px;
    color: var(--jn-muted);
    margin-top: 2px;
    line-height: 1.4;
}

.jn-res-articles {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-left: 1px solid rgba(0,0,0,.06);
    padding-left: 16px;
}

.jn-res-article {
    display: block;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--jn-text);
    transition: var(--jn-transition);
}

.jn-res-article:hover { background: var(--jn-primary-glow); }

.jn-res-article-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    color: var(--jn-muted);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: .02em;
}

.jn-res-article-cat {
    color: var(--jn-primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 10px;
}

.jn-res-article-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .45;
    display: inline-block;
    flex-shrink: 0;
}

.jn-res-article-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--jn-text);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--jn-transition);
}

.jn-res-article:hover .jn-res-article-title { color: var(--jn-primary); }

.jn-res-empty {
    font-size: 12.5px;
    color: var(--jn-muted);
    margin: 0;
    padding: 10px 8px;
    font-style: italic;
}

/* ============================================
   HAMBURGER — Mobile
   ============================================ */

.jn-hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 100001;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    flex-shrink: 0;
}

.jn-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--jn-text);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    margin-left: -10px;
    transition: transform .35s cubic-bezier(.4,.01,.165,.99),
                top .35s cubic-bezier(.4,.01,.165,.99),
                opacity .2s .1s ease,
                background .3s ease;
    will-change: transform, top;
}

.jn-hamburger span:nth-child(1) { top: 13px; }
.jn-hamburger span:nth-child(2) { top: 20px; }
.jn-hamburger span:nth-child(3) { top: 27px; }

/* Open state — smooth X morph */
.jn-hamburger.jn-open span {
    background: var(--jn-text);
}

.jn-hamburger.jn-open span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.jn-hamburger.jn-open span:nth-child(2) {
    opacity: 0;
    transition: opacity .15s ease;
}

.jn-hamburger.jn-open span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}


/* ============================================
   MOBILE MENU — Fullscreen
   ============================================ */

/* Backdrop — hidden, menu is fullscreen */
.jn-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    opacity: 0;
}

.jn-mobile-overlay.jn-visible {
    pointer-events: auto;
    opacity: 1;
}

/* Fullscreen panel */
.jn-mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .36s cubic-bezier(.32,.72,0,1);
    will-change: transform;
}

.jn-mobile-menu.jn-open {
    transform: translateX(0);
}

/* — Header — */
.jn-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.05);
    flex-shrink: 0;
    min-height: 60px;
}

.jn-mobile-top img {
    height: 32px;
    width: auto;
}

.jn-mobile-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.07);
    background: rgba(0,0,0,.02);
    border-radius: 10px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.jn-mobile-close:active {
    transform: scale(.9);
    background: rgba(0,0,0,.06);
}

.jn-mobile-close svg {
    width: 17px;
    height: 17px;
    stroke: #444;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
}

/* — Scrollable content — */
.jn-mobile-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 24px;
    background: #fff;
}

/* — Stagger animations — */
@keyframes jnFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jn-mob-item {
    opacity: 0;
}

.jn-mobile-menu.jn-animating .jn-mob-item {
    animation: jnFadeUp .4s cubic-bezier(.22,.61,.36,1) forwards;
}

.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(1) { animation-delay: .06s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(2) { animation-delay: .09s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(3) { animation-delay: .12s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(4) { animation-delay: .15s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(5) { animation-delay: .18s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(6) { animation-delay: .21s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(7) { animation-delay: .24s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(8) { animation-delay: .27s; }
.jn-mobile-menu.jn-animating .jn-mob-item:nth-child(9) { animation-delay: .30s; }

.jn-mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
}

/* — Nav link with icon — */
.jn-mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14.5px;
    font-weight: 580;
    color: var(--jn-text);
    text-decoration: none;
    border-radius: 12px;
    transition: background .15s ease, transform .1s ease;
    border: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.jn-mobile-link:active {
    background: rgba(0,0,0,.04);
    transform: scale(.98);
}

.jn-mob-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jn-mob-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jn-mob-icon-home { background: rgba(44,48,100,.08); color: var(--jn-navy); }
.jn-mob-icon-about { background: rgba(91,116,254,.1); color: #5B74FE; }
.jn-mob-icon-domaines { background: rgba(255,128,1,.1); color: #FF8001; }
.jn-mob-icon-services { background: rgba(50,207,160,.1); color: #32CFA0; }
.jn-mob-icon-blog { background: rgba(160,80,220,.08); color: #A050DC; }
.jn-mob-icon-contact { background: rgba(44,48,100,.08); color: var(--jn-navy); }

.jn-mob-link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jn-mob-link-text span {
    font-size: 12px;
    font-weight: 450;
    color: var(--jn-muted);
    margin-top: 1px;
    line-height: 1.3;
}

.jn-mobile-link .jn-mob-arrow {
    width: 16px;
    height: 16px;
    stroke: var(--jn-muted);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    opacity: .35;
    transition: transform .2s ease, opacity .2s ease;
}

/* — Toggle buttons — */
.jn-mob-toggle {
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    border: 1px solid transparent;
    background: none;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    padding: 12px 14px;
}

.jn-mob-toggle .jn-mob-arrow {
    transition: transform .3s cubic-bezier(.22,.61,.36,1);
}

.jn-mob-toggle.jn-toggled {
    background: #FAFBFE;
    border-color: transparent;
    box-shadow: none;
    border-radius: 12px 12px 0 0;
}

.jn-mob-toggle.jn-toggled .jn-mob-arrow {
    transform: rotate(180deg);
    stroke: var(--jn-primary);
    opacity: 1;
}

/* — Accordion sub-menu — */
.jn-mob-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s cubic-bezier(.32,.72,0,1);
}

.jn-mob-sub > div {
    overflow: hidden;
}

.jn-mob-sub.jn-sub-open {
    grid-template-rows: 1fr;
}

.jn-mob-sub-inner {
    padding: 8px 10px 12px;
    background: #FAFBFE;
    border-radius: 0 0 12px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.jn-mob-sub-inner.jn-mob-sub-single-col {
    grid-template-columns: 1fr;
}

.jn-mob-sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 10px;
    transition: background .15s ease, color .15s ease;
    line-height: 1.3;
    -webkit-tap-highlight-color: transparent;
}

.jn-mob-sub-link:active {
    background: var(--jn-primary-glow);
    color: var(--jn-primary);
}

.jn-mob-sub-link .jn-mob-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--jn-primary);
    opacity: .3;
    flex-shrink: 0;
}

.jn-mob-sub-link-highlight {
    grid-column: 1 / -1;
    background: var(--jn-primary-glow);
    color: var(--jn-primary) !important;
    font-weight: 600;
    border: 1px solid rgba(255,128,1,.15);
}

.jn-mob-sub-link-highlight .jn-mob-dot {
    opacity: 1;
    background: var(--jn-primary);
}

/* — Separator — */
.jn-mob-sep {
    height: 1px;
    background: rgba(0,0,0,.06);
    margin: 8px 14px;
}

/* — Service Cards in Mobile — */
.jn-mob-service-cards {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    background: #FAFBFE;
    border-radius: 0 0 12px 12px;
}

.jn-mob-svc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    text-decoration: none;
    border-radius: 10px;
    transition: background .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.jn-mob-svc-card:active {
    background: rgba(0,0,0,.03);
}

.jn-mob-svc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jn-mob-svc-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jn-mob-svc-text {
    flex: 1;
}

.jn-mob-svc-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--jn-text);
    line-height: 1.3;
}

.jn-mob-svc-text span {
    font-size: 12px;
    color: var(--jn-muted);
    line-height: 1.4;
}

.jn-mob-svc-card:active .jn-mob-svc-text strong {
    color: var(--jn-primary);
}

/* — CTA Block — Fixed Footer in flex column — */
.jn-mobile-cta-block {
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.05);
    flex-shrink: 0;
}

.jn-mobile-cta-block a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--jn-primary);
    color: #fff !important;
    font-size: 14.5px;
    font-weight: 620;
    text-decoration: none !important;
    border-radius: 12px;
    transition: transform .12s ease, background .15s ease;
    box-shadow: 0 2px 12px rgba(255,128,1,.25);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: .01em;
}

.jn-mobile-cta-block a:active {
    transform: scale(.97);
    background: var(--jn-primary-hover);
}

.jn-mobile-cta-block a svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* — Partner link mobile — */
.jn-mob-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    margin: 2px 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--jn-navy);
    text-decoration: none;
    border-radius: 12px;
    border: 1.5px solid rgba(44,48,100,.12);
    background: rgba(44,48,100,.03);
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.jn-mob-partner:active {
    transform: scale(.98);
    border-color: var(--jn-navy);
    background: rgba(44,48,100,.06);
}

.jn-mob-partner svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1080px) {
    .jn-nav-desktop,
    .jn-partner-link {
        display: none;
    }

    .jn-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jn-container {
        padding: 0 16px;
    }
}

@media (min-width: 1081px) {
    .jn-mobile-menu {
        display: none !important;
    }
    .jn-mobile-overlay {
        display: none !important;
    }
    .jn-hamburger {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .jn-mob-sub-inner {
        grid-template-columns: 1fr;
    }
}

/* Body lock — prevents background scroll */
body.jn-menu-open {
    overflow: hidden;
    position: fixed;
    inset: 0;
    touch-action: none;
}

/* — Hover buffer zone for mega menus — */
.jn-nav-item::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

/* — Active indicator — */
.jn-nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--jn-primary);
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width .25s ease;
}

.jn-nav-link:hover::before,
.jn-nav-link.jn-active::before {
    width: 20px;
}

/* WP Admin bar compat */
.admin-bar .jn-navbar {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .jn-navbar {
        top: 46px;
    }
}