/* Media Queries */
@media (max-width: 1440px) {
  /* Fix tight gaps on large but not ultrawide */
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 3rem; min-height: auto; }
  .hero-split .badge { margin: 0 auto 1rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-xl) 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  .nav-menu {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98); flex-direction: column; align-items: center;
    padding: 2rem; transition: left 0.3s ease; z-index: 1000; overflow-y: auto;
  }
  .nav-menu.active { left: 0; }
  .nav-menu ul { flex-direction: column; gap: 2rem; font-size: 1.25rem; text-align: center; }
  .hamburger { display: block !important; }
  .desktop-cta { display: none !important; }
  .header-inner { display: flex; justify-content: space-between; align-items: center; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .h1 { font-size: 2.25rem !important; line-height: 1.15; }
  .h2 { font-size: 1.75rem !important; line-height: 1.25; }
  .h3 { font-size: 1.25rem !important; }
  .hero-split { padding-top: 100px; gap: 2.5rem; }
  .container { padding: 0 1.25rem; }
  .grid { gap: 1.5rem; }
  .btn { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
  .wa-modal-card { padding: 2rem 1.5rem; width: 95%; }
  
  /* Fix image overflow on mobile */
  img { max-width: 100%; height: auto; }
  
  /* Form adjustments */
  .form-control { padding: 0.75rem 1rem; }
  
  /* Chat adjustments */
  .chat-panel { width: 100% !important; border-radius: 0 !important; }
  .iphone-mockup { width: 100% !important; border-radius: 20px; aspect-ratio: 9/16; height: auto; border-width: 4px; }
  .iphone-mockup::before, .iphone-mockup::after { display: none; }
}

.hamburger { display: none; width: 30px; height: 20px; position: relative; z-index: 1001; cursor: pointer; }
.hamburger span { display: block; position: absolute; height: 2px; width: 100%; background: var(--dark); border-radius: 2px; transition: all 0.25s ease; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
