/* ============================================================
   INNOVANEXTGROUP — Estilos responsivos (mobile-first)
   Breakpoints: 375 | 768 | 1024 | 1280
   ============================================================ */

/* ── Tablet: max 1024px ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Tablet chico / móvil grande: max 768px ── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Navbar */
  .navbar-hamburger { display: flex; }
  .navbar-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(11, 31, 58, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
  }
  .navbar-cta {
    margin-top: 8px;
    text-align: center;
    padding: 13px 16px !important;
  }

  /* Hero */
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-value { font-size: 1.5rem; }

  /* Servicios */
  .services-grid { grid-template-columns: 1fr; }

  /* Por qué */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Sectores */
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-banner { padding: 40px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Página interna hero */
  .page-hero { padding: 100px 0 48px; }

  /* Servicios - detalle */
  .service-detail-grid { grid-template-columns: 1fr !important; }
  .service-detail-features { grid-template-columns: 1fr !important; }

  /* Nosotros */
  .about-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Contacto */
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── Móvil: max 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }

  .why-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  .values-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
}
