/* Basic Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #111; }
/* Shared container */
.container { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: #ffffff; border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header .header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* Branding */
.brand-logos { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand-logos .logo img { display: block; height: 40px; width: auto; object-fit: contain; }
@media (min-width: 768px) {
  .brand-logos .logo img { height: 48px; }
}

/* Navigation */
.main-nav { position: relative; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 16px; }
.nav-item > a { display: inline-block; padding: 8px 10px; color: #111; text-decoration: none; font-weight: 500; }
.nav-item > a:hover { color: #0b5ed7; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > .dropdown { position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; padding: 8px 0; margin-top: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.08); list-style: none; display: none; z-index: 10; }
.has-dropdown:hover > .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 14px; color: #222; text-decoration: none; line-height: 1.25; }
.dropdown li a:hover { background: #f5f7fb; color: #0b5ed7; }

/* Mobile toggle */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; background: #fff; cursor: pointer; }
.nav-toggle .bar { width: 20px; height: 2px; background: #111; position: relative; display: block; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #111; }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

/* Mobile layout */
@media (max-width: 991.98px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .main-nav { width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(0,0,0,.06); display: none; }
  .nav-list.open { display: flex; }
  .nav-item > a { padding: 12px 4px; }
  .has-dropdown > .dropdown { position: static; display: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
  .has-dropdown.open > .dropdown { display: block; }
  .dropdown li a { padding: 10px 8px 10px 18px; }
}

/* Active states */
.nav-item > a:focus, .dropdown li a:focus, .nav-toggle:focus { outline: 3px solid rgba(11,94,215,.35); outline-offset: 2px; }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


