/* navbar strony glownej - wspolny dla podstron (wygenerowane ze style.css) */
#navbar, .mobile-menu { --bg:#060810; --bg2:#0a0e1a; --bg3:#0f1525; --accent:#4f8eff; --accent2:#7c5fff; --accent3:#00d4ff; --text:#e8eaf0; --text-muted:#7a8399; --border:rgba(79,142,255,0.15); --card:rgba(15,21,37,0.9); --glow:rgba(79,142,255,0.25); }
#navbar a, .mobile-menu a { text-decoration: none; }
#navbar ul { list-style: none; margin: 0; padding: 0; }
#navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 900;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 5%; backdrop-filter: blur(20px);
      background: rgba(6,8,16,0.7);
      border-bottom: 1px solid var(--border);
      transition: all 0.3s ease;
    }
#navbar.scrolled { padding: 0.8rem 5%; background: rgba(6,8,16,0.95); }
.nav-logo {
      display: flex; align-items: center; gap: 0.7rem;
      text-decoration: none;
    }
.nav-logo-img { height: 34px; width: auto; display: block; }
@media (max-width: 480px) { .nav-logo-img { height: 28px; } }
.nav-logo-mark {
      width: 2.25rem; height: 2.25rem; border-radius: 0.6rem; flex-shrink: 0;
      background: linear-gradient(135deg, var(--accent), var(--accent3));
      display: flex; align-items: center; justify-content: center;
      font-family: 'Bricolage Grotesque', sans-serif; font-weight: 900; font-size: 0.85rem;
      color: #070709;
      transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
    }
.nav-logo:hover .nav-logo-mark { transform: rotate(12deg); }
.nav-logo-text { display: none; }
@media (min-width: 480px) { .nav-logo-text { display: block; } }
.nav-logo-name { font-family: 'Bricolage Grotesque', sans-serif; font-size: 0.875rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.nav-logo-role { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
      text-decoration: none; color: var(--text-muted);
      font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
      text-transform: uppercase; transition: color 0.3s;
      position: relative;
    }
.nav-links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0;
      width: 0; height: 1px; background: var(--accent);
      transition: width 0.3s ease;
    }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
      white-space: nowrap;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: #fff; border: none; padding: 0.6rem 1.5rem;
      border-radius: 6px; font-family: 'Manrope', sans-serif;
      font-size: 0.85rem; font-weight: 600; cursor: pointer;
      text-decoration: none; transition: all 0.3s;
      box-shadow: 0 0 20px rgba(79,142,255,0.3);
    }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(79,142,255,0.5); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) { .nav-links { display: none; } }
@media (max-width: 768px) { .nav-cta { display: none; } }
@media (max-width: 768px) { .hamburger { display: flex; } }
.mobile-menu {
      position: fixed; inset: 0; z-index: 800;
      background: rgba(6,8,16,0.97); backdrop-filter: blur(20px);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 2rem; transform: translateX(100%); transition: transform 0.4s ease;
    }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 2rem; color: var(--text); text-decoration: none; transition: color 0.3s; }
.mobile-menu a:hover { color: var(--accent); }
.nav-cta { position: relative; overflow: hidden; }
.nav-cta::after {
      content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
      background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
      transform: skewX(-20deg); pointer-events: none;
    }
.nav-cta:hover::after { animation: shine 0.85s ease; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }
.nav-cta { will-change: transform; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-ig { display: inline-flex; align-items: center; }
.nav-ig svg { width: 20px; height: 20px; transition: transform 0.3s; }
.nav-ig:hover svg { transform: scale(1.15); }
@media (max-width: 900px) { .nav-ig { display: none; } }
.mobile-ig { display: inline-flex; align-items: center; gap: 0.5rem; }
.mobile-ig svg { width: 20px; height: 20px; }
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-dd > a svg { transition: transform .3s; }
.nav-dd:hover > a svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: -1rem; padding-top: .9rem; min-width: 290px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 950; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu::before { content: ""; position: absolute; inset: .9rem 0 0; background: rgba(10,14,26,.97); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.5); backdrop-filter: blur(16px); z-index: -1; }
.nav-dd-menu a { text-decoration: none; display: flex; flex-direction: column; gap: .1rem; padding: .7rem .9rem; margin: .35rem; border-radius: 10px; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); transition: background .2s; }
.nav-dd-menu a:first-child { margin-top: .5rem; }
.nav-dd-menu a:hover { background: rgba(79,142,255,.1); }
.nav-dd-menu a::after { display: none; }
.nav-dd-menu a strong { font-weight: 700; }
.nav-dd-menu a span { font-size: .78rem; color: var(--text-muted); }
.nav-dd-menu .nav-dd-all { color: var(--accent); font-weight: 700; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; margin: .2rem .35rem .5rem; padding-top: .8rem; }
.mobile-subs { display: flex; flex-direction: column; gap: .35rem; margin: -.4rem 0 .4rem; }
.mobile-menu .mobile-sub { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.mobile-menu .mobile-sub::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.nav-ig + .nav-ig { margin-left: -.3rem; }

/* menu mobilne: przewijane, kompaktowe (v6.3) */
.mobile-menu { overflow-y: auto; justify-content: flex-start !important; padding: 88px 1.5rem 2.5rem !important; gap: 0.85rem !important; }
.mobile-menu > a { font-size: 1.45rem !important; }
.mobile-menu .mobile-subs { gap: 0.4rem; margin: -0.3rem 0 0.2rem; }
.mobile-menu .mobile-ig { font-size: 1rem !important; font-family: "Manrope", sans-serif !important; }
.mobile-menu .mobile-ig svg { width: 20px; height: 20px; }
