/* Header principal */
.gf-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px; /* equivalente a h-14 */
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    z-index: 50;
    transition: transform 0.3s ease;
  }
  
  .gf-header-hidden {
    transform: translateY(-100%);
  }
  
  /* Contenedor interno */
  .gf-header-container {
    max-width: 1280px; /* max-w-screen-xl */
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem; /* px-4 */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo */
  .gf-logo-img {
    height: 40px; /* h-10 */
  }
  
  /* Botón hamburguesa (solo visible en móvil) */
  .gf-menu-toggle {
    background: none;
    border: none;
    color: #4B5563; /* text-gray-700 */
    cursor: pointer;
    display: block;
  }
  
  @media (min-width: 640px) { /* sm */
    .gf-menu-toggle {
      display: none;
    }
  }
  
  /* Icono hamburguesa */
  .gf-menu-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
  }
  
  /* Navegación */
  .gf-nav-menu {
    position: absolute;
    top: 56px; /* justo debajo del header */
    left: 0;
    width: 100%;
    background-color: white;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    z-index: 49;
  }
  
  .gf-hidden {
    display: none !important;
  }
  
  /* En desktop, fuerza que el menú sea visible aunque tenga .gf-hidden */
  @media (min-width: 640px) {
    .gf-nav-menu.gf-hidden {
      display: flex !important;
    }
  }
  
  /* Links en navegación */
  .gf-nav-link {
    text-decoration: none;
    color: #111827; /* gray-900 */
    padding: 0.25rem 0;
  }
  
  .gf-nav-link:hover,
  .gf-nav-link:focus {
    text-decoration: underline;
  }
  
  /* Navegación en escritorio */
  @media (min-width: 640px) {
    .gf-nav-menu {
      position: static;
      flex-direction: row;
      background: transparent;
      box-shadow: none;
      width: auto;
      padding: 0;
      gap: 1rem; /* sm:space-x-4 */
    }
  }
  /* En desktop, fuerza que el menú sea visible aunque tenga .gf-hidden */
@media (min-width: 640px) {
    .gf-nav-menu.gf-hidden {
      display: flex !important;
    }
  }