/* ML header+footer CSS restored from source SPA */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all var(--transition);
  padding: 0;
}
#site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(11,31,58,0.10);
}
#site-header.on-dark { /* when over hero */ }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 32px; max-width: 1280px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  transition: opacity var(--transition);
}
.logo-mark {
  width: 36px; height: 36px; background: var(--teal); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px; font-weight: 800;
}
.logo-text { color: var(--white); }
.logo-text .dot { color: var(--teal); }
.scrolled .logo-text { color: var(--navy); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.88);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition); cursor: pointer;
}
.scrolled .nav-link { color: var(--navy); }
.nav-link:hover, .nav-link.active { color: var(--teal); background: rgba(0,168,120,0.08); }
.scrolled .nav-link:hover { color: var(--teal); }
.nav-link .chevron { font-size: 10px; transition: transform 0.2s; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(11,31,58,0.18);
  padding: 32px; min-width: 680px;
  display: none; grid-template-columns: repeat(3, 1fr); gap: 8px;
  border: 1px solid var(--border);
}
.nav-item:hover .mega-menu { display: grid; }
.mega-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: var(--radius-sm);
  transition: background var(--transition); cursor: pointer;
}
.mega-item:hover { background: var(--light-gray); }
.mega-icon {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(0,168,120,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 14px; flex-shrink: 0;
}
.mega-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.mega-desc { font-size: 12px; color: var(--slate); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { font-size: 14px; padding: 10px 20px; }
.header-cta .btn-audit { background: var(--teal); color: white; }
.scrolled .header-cta .btn-audit { background: var(--teal); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; height: 32px; justify-content: center; align-items: center;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: all 0.3s;
}
.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Drawer */
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy); overflow-y: auto; z-index: 999;
  padding: 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: block; padding: 14px 16px; color: rgba(255,255,255,0.9);
  font-size: 16px; font-weight: 500; border-radius: var(--radius-sm);
  transition: all var(--transition); cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.08); color: var(--teal); }
.mobile-services-title { color: var(--teal); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 16px 16px 8px; }
.mobile-ctas { padding: 16px; display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
#site-footer { background: var(--navy-deep); padding: 80px 0 0; }
.footer-main {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-text { color: rgba(255,255,255,0.55); font-size: 15px; line-height: 1.7; margin-top: 16px; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: all var(--transition); cursor: pointer;
}
.social-link:hover { background: var(--teal); color: white; }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--white); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: rgba(255,255,255,0.55); font-size: 15px; transition: color var(--transition); cursor: pointer; }
.footer-link:hover { color: var(--teal); }
.footer-cta-card {
  background: rgba(0,168,120,0.1); border: 1px solid rgba(0,168,120,0.25);
  border-radius: var(--radius-md); padding: 20px;
}
.footer-cta-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link { color: rgba(255,255,255,0.35); font-size: 13px; cursor: pointer; transition: color var(--transition); }
.footer-bottom-link:hover { color: var(--teal); }
.call-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal); font-weight: 600;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body); text-decoration: none;
  transition: all var(--transition); cursor: pointer;
}
.call-btn-outline:hover { background: var(--teal); color: white; }
@media (max-width:1024px){.footer-main{grid-template-columns:1fr 1fr;}}
@media (max-width:768px){.footer-main{grid-template-columns:1fr;}.footer-bottom{flex-direction:column;gap:16px;text-align:center;}nav .nav-links,.header-cta{display:none;}.nav-toggle{display:flex;}}
@media (min-width:769px){.mobile-menu{display:none !important;}}
