/* ===== SIMPLE DROPDOWN ===== */
.has-mega { position: relative; }
.mega-arr { font-size: .65rem; margin-left: 4px; transition: transform .3s; display: inline-block; }
.has-mega:hover .mega-arr { transform: rotate(180deg); }

.mega-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 240px;
  background: rgba(9,12,9,.98);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 16px 0 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  /* Invisible top padding bridges the gap so mouse stays in hover zone */
}
.has-mega:hover .mega-drop {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge so moving mouse down to dropdown doesn't lose hover */
.has-mega::after {
  content: ''; position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 20px;
}

/* Simple list — no fly panels needed */
.mega-cats { list-style: none; padding: 0; }
.mega-cats li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  font-size: .82rem; font-weight: 500;
  color: var(--muted);
  transition: color .2s, background .2s;
  text-decoration: none;
}
.mega-cats li a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.cat-icon { font-size: .95rem; flex-shrink: 0; }
.cat-label { flex: 1; }

/* Hide fly-panel stuff — no longer used on desktop */
.fly-arr, .fly-panels, .fly-panel, .fly-links, .fly-see-all, .fly-panel-label { display: none !important; }

/* ===== MOBILE ACCORDION ===== */
.mob-services-accord { width: 100%; text-align: left; }
.mob-accord-hdr {
  width: 100%; background: none; border: none;
  font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0; cursor: pointer;
}
.mob-accord-hdr span { font-size: .9rem; transition: transform .3s; display: inline-block; color: var(--gold); }
.mob-accord-hdr.open span { transform: rotate(180deg); }
.mob-cats-list {
  display: none; flex-direction: column; gap: 0;
  margin-top: 16px; width: 100%;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mob-cats-list.open { display: flex; }
.mob-cat-hdr {
  width: 100%; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 13px 0; color: var(--text); font-size: .95rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.mob-cat-hdr .mob-cat-icon { font-size: .85rem; flex-shrink: 0; }
.mob-cat-hdr .mob-cat-name { flex: 1; margin-left: 10px; text-align: left; }
.mob-cat-hdr .mob-cat-arr { font-size: .7rem; color: var(--muted); transition: transform .25s; }
.mob-cat-hdr.open .mob-cat-arr { transform: rotate(90deg); }
.mob-sub-links { display: none; flex-direction: column; gap: 0; background: rgba(255,255,255,.025); }
.mob-sub-links.open { display: flex; }
.mob-sub-links a {
  padding: 11px 20px; font-size: .85rem; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.035);
  display: flex; align-items: center; gap: 8px;
}
.mob-sub-links a::before { content: '→'; color: var(--green-l); font-size: .75rem; }
.mob-sub-links a:hover { color: var(--gold-l); background: rgba(255,255,255,.03); }

@media(min-width: 769px) {
  .mob-services-accord { display: none; }
}
@media(max-width: 768px) {
  /* Hide desktop mega trigger on mobile */
  .has-mega { display: none; }
}
