
/* ===== NXP STABILITY PATCH FINAL ===== */

/* HERO SAFETY LOCK */
.hero, .hero-section, section.hero {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
}

/* IMAGE FIX (STOP STRETCHING) */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* GALLERY NORMALIZATION */
.gallery, .grid, .portfolio-grid, .image-grid {
  display: grid !important;
  gap: 16px;
}

/* MOBILE NAV FIX */
.hamburger, .menu-toggle {
  -webkit-tap-highlight-color: transparent;
}

/* REMOVE DUAL ICON CONFLICT */
.hamburger svg, .hamburger .icon {
  pointer-events: none;
}

/* FOOTER CENTER FIX */
footer {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* FIX SPACING DRIFT ACROSS PAGES */
body {
  overflow-x: hidden;
}
