/* Estilos responsivos optimizados para Noosferica Cloud */

/* Tablets y dispositivos medianos */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-img {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .testimonial-slider {
    max-width: 90%;
  }
}

/* Dispositivos móviles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .social-links {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Dispositivos móviles pequeños */
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .section-title h2::after {
    width: 40px;
  }
  
  .testimonial-item {
    padding: 1.5rem 1rem;
  }
}

/* Optimizaciones para impresión */
@media print {
  .header, 
  .footer,
  .hero-btns,
  .mobile-toggle,
  .contact-form,
  form,
  .social-links {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: none;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 500px;
  }
  
  .hero {
    height: auto;
    background: none;
    margin-top: 0;
    padding: 1rem 0;
  }
  
  .hero h1, .hero p {
    color: #000;
  }
}
