/* Responsive Design */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .nav-link {
    padding: 20px;
    display: block;
  }
  
  .nav-link:hover,
  .nav-link.active {
    border-bottom: none;
    background-color: #f8f9fa;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: #f8f9fa;
    margin-top: 0;
    display: none; /* Oculto por defecto en móvil */
  }

  .dropdown-menu a {
      padding-left: 40px;
  }

  .dropdown:hover .dropdown-menu {
    display: none; /* Desactivar hover en escritorio */
  }

  h1 {
    font-size: 2rem;
  }

  .hero-section h1,
  .product-hero h1,
  .about-section h1,
  .work-section h1,
  .legal-section h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  section {
    padding: 40px 0;
  }
  
  .section-container {
    padding: 0 15px;
  }

  .hero-section,
  .product-hero,
  .about-section,
  .work-section,
  .legal-section {
    padding: 60px 15px;
  }
}

@media screen and (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .logo-placeholder {
    width: 120px;
    height: 35px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .hero-section h1,
  .product-hero h1,
  .about-section h1,
  .work-section h1,
  .legal-section h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .alianzas-grid {
    gap: 24px;
  }
}
