/* ═══════════════════════════════════════════════════
   GIGGLEZEN — RESPONSIVE STYLES
   ═══════════════════════════════════════════════════ */

@media (max-width: 1199.98px) {
  .hero-heading { letter-spacing: -0.01em; }
  .stats-bar { gap: 1rem; }
  .stat-item { min-width: 100px; padding: 0.75rem 1rem; }
}

@media (max-width: 991.98px) {
  /* Nav mobile */
  .gz-nav .navbar-collapse {
    background: var(--gz-obsidian);
    border: 1px solid var(--gz-graphite);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: var(--gz-shadow-lg);
  }
  .gz-nav .navbar-nav {
    gap: 0.25rem;
  }
  .gz-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-sm);
  }
  .gz-nav .nav-link:hover {
    background: rgba(0,240,255,0.05);
  }
  .gz-nav .gz-btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  .glass-dropdown {
    background: var(--gz-charcoal);
    border: none;
    box-shadow: none;
  }

  /* Process timeline */
  .process-timeline::before { left: 20px; }
  .process-step { flex-direction: column !important; align-items: flex-start; padding-left: 50px; }
  .process-step__content { width: 100%; }
  .process-step__dot { left: 20px; transform: translateX(-50%); }

  /* Hz scroll fallback */
  .hz-scroll-container { flex-direction: column; width: 100%; }
  .hz-slide { width: 100%; height: auto; min-height: auto; padding: var(--space-lg) 5%; }
}

@media (max-width: 767.98px) {
  .gz-hero { min-height: 100svh; padding-top: 100px; }
  .gz-hero__cta { flex-direction: column; align-items: center; }
  .gz-hero__cta .gz-btn { width: 100%; max-width: 300px; justify-content: center; }
  .stats-bar { flex-direction: column; align-items: center; gap: 0.75rem; }
  .stat-item { width: 100%; max-width: 280px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .gz-btn { width: 100%; max-width: 300px; justify-content: center; }
  .cta-buttons .ms-3 { margin-left: 0 !important; }
  .footer-bottom .row { text-align: center; }
  .footer-bottom .text-md-end { text-align: center !important; }

  /* Tech grid smaller */
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
  .gz-section { padding: var(--space-lg) 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .service-card { padding: var(--space-sm); }
}

/* Touch devices — disable hover-dependent effects */
@media (hover: none) {
  .service-card:hover { transform: none; }
  .glass-card:hover { transform: none; }
  .tech-item:hover { transform: none; }
  [data-tilt] { transform: none !important; }
  .spotlight { display: none !important; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .aurora-bg::before { animation: none; }
  .marquee-track { animation: none; }
  .float { animation: none; }
  .pulse-glow { animation: none; }
  .reveal-init { opacity: 1 !important; transform: none !important; }
}

/* Fix 100vh on mobile browsers (address bar issue) */
@supports (height: 100dvh) {
  .gz-hero { min-height: 100dvh; }
}

/* Prevent horizontal overflow on all screen sizes */
html, body { max-width: 100vw; }
section, .container { max-width: 100%; }
