/* Shared top navigation (main pages + /check). Self-contained: works with styles.css or assess.css. */
.site-top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(210,210,215,.6); }
.site-top .bar-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px max(20px, env(safe-area-inset-left, 0px)); }
.site-top .brand { display: flex; align-items: center; gap: 9px; color: #1D1D1F; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; flex: none; }
.site-top .brand img { width: 30px; height: auto; display: block; }
.site-top .nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-top .nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 980px; color: #1D1D1F; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; opacity: .82; transition: background .15s ease, opacity .15s ease; }
.site-top .nav a:hover { opacity: 1; background: #F5F5F7; }
.site-top .nav a[aria-current="page"] { opacity: 1; color: #0A7466; font-weight: 600; background: #E7F5F2; }
.site-top .nav a.nav-check::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ED0481; margin-left: 6px; }
.site-top .nav a.nav-cta { opacity: 1; background: #0F8F7C; color: #FFFFFF; font-weight: 600; margin-left: 6px; padding: 0 16px; }
.site-top .nav a.nav-cta:hover { background: #0A7466; }
.site-top .nav a.nav-cta[aria-current="page"] { background: #0A7466; color: #FFFFFF; }
.site-top .tools { display: flex; align-items: center; gap: 10px; margin-left: 10px; flex: none; }
.site-top .lang { display: inline-flex; background: #F5F5F7; border-radius: 980px; padding: 2px; }
.site-top .lang button { border: 0; background: transparent; padding: 5px 10px; min-height: 28px; border-radius: 980px; font: 600 12px Inter, -apple-system, sans-serif; color: #6E6E73; cursor: pointer; }
.site-top .lang button[aria-pressed="true"] { background: #FFFFFF; color: #1D1D1F; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.site-top .menu-btn { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.site-top .menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #1D1D1F; transition: transform .2s ease, opacity .2s ease; }
.site-top .menu-btn:hover { background: #F5F5F7; }
.site-top.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-top.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-top.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-top .progress { height: 3px; }
@media (max-width: 1100px) {
  .site-top .menu-btn { display: flex; }
  .site-top .tools { margin-left: auto; }
  .site-top .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: #FFFFFF; border-bottom: 1px solid #D2D2D7; box-shadow: 0 18px 30px rgba(0,0,0,.08); max-height: calc(100vh - 60px); overflow-y: auto; }
  .site-top.open .nav { display: flex; }
  .site-top .nav a { min-height: 48px; padding: 0 14px; font-size: 16px; border-radius: 12px; }
  .site-top .nav a.nav-cta { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 380px) { .site-top .brand { font-size: 14px; } .site-top .lang button { padding: 5px 8px; } }
@media (prefers-reduced-motion: reduce) { .site-top .menu-btn span, .site-top .nav a { transition: none; } }
@media print { .site-top { display: none !important; } }
