/* tablet.css - Media queries para tablet (481px — 900px) */
@media (min-width: 769px) and (max-width: 900px) {
  /* Navbar Principal - Barra Superior */
  .header .container {
    padding: 10px 5%;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .logo {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
  }

  .logo-text {
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-slogan {
    display: none;
  }
  
    .nav-links {
      display: flex;
      align-items: center;
    }
    
    .nav-item {
      margin-left: 0.8rem;
    }
    
    .nav-link {
      font-size: 0.9rem;
      white-space: nowrap;
    }
    
    .btn-nav {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
      margin-left: 0.8rem;
      white-space: nowrap;
    }


    .navbar {
      position: fixed;
      top: 0;
      right: -100%;
      width: 65%;
      max-width: 300px;
      height: 100vh;
      background-color: var(--white);
      flex-direction: column;
      justify-content: flex-start;
      padding: 80px 5% 30px;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      transition: var(--transition);
      z-index: 999;
    }
    
    .navbar.active {
      right: 0;
    }
    
    .nav-links {
      flex-direction: column;
      width: 100%;
    }
    
    .nav-item {
      margin: 0 0 1rem 0;
    }
    
    .nav-link {
      padding: 0.5rem 0;
      font-size: 1rem;
    }
    
    .btn-nav {
      width: 100%;
      margin: 1.5rem 0 0;
      padding: 0.8rem;
    }
    
    .mobile-menu-btn {
      display: flex;
      width: 28px;
      height: 20px;
      z-index: 1000;
    }

  /* Hero Section */
  .hero {
    padding-top: 45px;
    margin-top: 0; 
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 14px;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
    box-sizing: border-box;
  }
  
  .hero-image {
    max-width: 100%;
  }

  .hero .container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* Services Section */
 
  
  .service-card {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }

  /* Oculta el botón toggle en desktop */
  .features-toggle {
    display: none;
  }
  
  
  /* Asegura que las características sean visibles */
  .service-features {
    display: block !important;
    max-height: none !important;
  }

  /* Process Section */
  .step-horizontal {
    width: 100%;
    max-width: 400px;
  }
  
  .process-steps-horizontal {
    padding: 0 10px;
  }

  /* Projects Section */
  .projects {
    padding: 60px 0;
  }
  
  .project-slide img {
    height: 180px;
  }
  
  .project-info h3 {
    font-size: 1.2rem;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    display: none;
  }

  /* Contact Section */
 
  .map-container {
    height: 300px;
    order: -1;
  }
  
  .contact-form {
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .form-group label {
    font-size: 0.9rem;
    white-space: normal;
  }

  .form-group input,
  .form-group textarea {
    width: 93%;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* WhatsApp Button */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .whatsapp-float span {
    display: none;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}