/* =========================================
   FIXMYPCNOW - SHARED NAVIGATION
   Same menu + CTA across all pages
   ========================================= */
.site-header { position: relative; z-index: 2000; }
.site-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5eaf2;
    box-shadow: 0 4px 18px rgba(15,23,42,.07);
}
.site-nav-inner {
    width: min(1200px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    color: #2563eb !important;
    text-decoration: none !important;
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: -.025em;
}
.site-brand i { font-size: 1.35rem; }
.site-nav-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}
.site-nav-link,
.site-nav-dropdown > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: .98rem;
    font-weight: 500;
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.site-nav-link:hover,
.site-nav-link.active,
.site-nav-dropdown > summary:hover,
.site-nav-dropdown.active > summary {
    color: #2563eb !important;
    background: #eff6ff;
}
.site-nav-dropdown { position: relative; }
.site-nav-dropdown > summary { list-style: none; }
.site-nav-dropdown > summary::-webkit-details-marker { display: none; }
.site-nav-dropdown > summary::after {
    content: '▾';
    margin-left: 7px;
    font-size: .72rem;
    color: #64748b;
}
.site-nav-dropdown[open] > summary::after { transform: rotate(180deg); }
.site-nav-dropdown ul {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    min-width: 235px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15,23,42,.13);
}
.site-dropdown-link {
    display: block;
    padding: 9px 11px;
    color: #334155 !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: .94rem;
}
.site-dropdown-link:hover { color: #2563eb !important; background: #eff6ff; }
.site-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 9px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(37,99,235,.22);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-nav-cta:hover { background: #1d4ed8; color: #fff !important; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(37,99,235,.28); }
.site-nav-cta strong { font-weight: 700; }
.site-nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.site-nav-toggle span { display:block; width:20px; height:2px; margin:4px auto; background:#334155; border-radius:2px; }

/* Keep homepage content below the fixed shared navigation. */
body > .top-bar { margin-top: 76px; }

@media (max-width: 991.98px) {
    .site-nav-inner { min-height: 70px; width: min(100% - 24px, 1200px); }
    .site-nav-toggle { display: block; }
    .site-nav-menu {
        position: absolute;
        top: 70px; left: 12px; right: 12px;
        display: none;
        margin: 0;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid #e5eaf2;
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(15,23,42,.15);
        max-height: calc(100vh - 84px);
        overflow-y: auto;
    }
    .site-nav-menu.is-open { display: flex; }
    .site-nav-link, .site-nav-dropdown > summary { width: 100%; justify-content: space-between; }
    .site-nav-dropdown ul {
        position: static;
        min-width: 0;
        margin: 0 4px 6px;
        padding: 4px;
        border: 0;
        border-radius: 8px;
        box-shadow: none;
        background: #f8fafc;
    }
    .site-nav-cta { justify-content: center; margin: 8px 0 2px; }
    body > .top-bar { margin-top: 70px; }
}

@media (max-width: 575.98px) {
    .site-brand { font-size: 1.18rem; }
    .site-brand i { font-size: 1.15rem; }
}
