/* ─── SHARED NAV CSS ─── */

/* ─── CUSTOM CURSOR (hide native on desktop) ─── */
@media (min-width: 769px) {
  *, *::before, *::after { cursor: none !important; }
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 40px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(10,11,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 24px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text2); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--gradient-main); transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ─── DROPDOWN ─── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(6px) translateX(-50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  position: absolute; top: calc(100% + 12px); left: 50%;
  background: rgba(13,14,20,0.96); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 8px 0; min-width: 200px; z-index: 1001;
}
.nav-dropdown-menu::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--text2); text-decoration: none; transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }

.nav-cta { display: flex; align-items: center; }
.nav-cta-btn {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black); background: var(--cyan);
  border: none; padding: 10px 24px; border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.nav-cta-btn:hover { background: #33ccff; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--text); transition: all 0.3s;
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 999;
  flex-direction: column; justify-content: flex-start; align-items: flex-start;
  gap: 0; padding: 12px 24px 32px; overflow-y: auto;
  opacity: 0; transition: opacity 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; }
/* Top-level links (Our Work, Blog, About, Work With Us) */
.mobile-menu a {
  font-size: 18px; font-weight: 800; color: var(--text); text-decoration: none;
  transition: color 0.2s; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%;
}
.mobile-menu a:hover { color: var(--cyan); }
/* Section headers (Industries, Services) — same size as top-level, not clickable */
.mob-head {
  font-size: 18px; font-weight: 800; color: var(--text); display: block; width: 100%;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: default; letter-spacing: normal; text-transform: none;
}
/* Sub-items under section headers */
.mobile-menu a.mob-sub {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 6px 0 6px 12px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-menu a.mob-sub:hover { color: var(--white); }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ─── FOOTER ─── */
footer {
  padding: 60px 40px 48px;
  border-top: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 40px;
}
.footer-left {
  display: flex; flex-direction: column; gap: 16px; justify-content: flex-start;
}
.footer-logo { margin-bottom: 0; }
.footer-logo img { height: 24px; width: auto; }
.footer-social {
  display: flex; gap: 14px; align-items: center;
}
.footer-social a { display: inline-flex; align-items: center; color: var(--text3); transition: color 0.2s; }
.footer-social a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text3); letter-spacing: 0.04em; margin-top: auto; padding-top: 24px; }
.footer-links { display: flex; gap: 48px; }
.footer-col-head {
  font-size: 11px; font-weight: 700; color: var(--text2);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.footer-col a {
  font-size: 12px; color: var(--text3); text-decoration: none;
  letter-spacing: 0.06em; transition: color 0.2s; display: block; margin-bottom: 8px;
}
.footer-col a:hover { color: var(--text); }
@media (max-width: 860px) {
  footer {
    flex-direction: column; align-items: center; gap: 32px;
    padding: 40px 24px 36px; text-align: center;
  }
  .footer-left { align-items: center; flex-direction: column; order: 1; }
  .footer-logo { margin-bottom: 4px; }
  .footer-links { flex-direction: column; align-items: center; gap: 28px; order: 2; }
  .footer-col { text-align: center; }
  .footer-social { position: static; justify-content: center; order: 3; }
  .footer-copy { position: static; order: 4; margin-top: 0; align-self: center; text-align: center; }
}
