
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    border-bottom: 1px solid #0053f83b;
    margin-bottom: 2vh;
  }
  
  /* NAV BASE */
  nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  
  /* LOGO / TEXTO */
  .logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
  }
  
  /* LINKS */
  .nav-links {
    color: rgb(227, 227, 255);
    display: flex;
    gap: 1.25rem;
  }
  
  .nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgb(227, 227, 255);
    position: relative;
  }
  
  /* underline suave */
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #eaf5ff;
    transition: width 0.2s ease;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  /* 📱 MOBILE */
  @media (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .logo-text {
      font-size: 0.95rem;
    }
  
    .nav-links {
      width: 100%;
      justify-content: left;

    }
  }
  