/* =============================================
   NAV GLOBAL — aplica a index, about y proyectos
   ============================================= */

#nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  padding: 1.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: start;
  line-height: 1.3;
}

#nav-fixed a {
  pointer-events: auto;
  font-size: 1.1rem;
  font-family: 'IBM Plex Mono', monospace;
  color: #828282;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color .2s;
}

#nav-fixed a:hover { color: #fff; }

.nav-cell-1 { text-align: left; }
.nav-cell-2 { text-align: left; }
.nav-cell-3 { text-align: left; }
.nav-cell-4 { text-align: right; }

/* =============================================
   MOBILE (hasta 768px)
   ============================================= */
@media (max-width: 768px) {

  #nav-fixed {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.2rem;
  }

  .nav-cell-1 {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Ocultá el texto completo y mostrá solo los apellidos */
  .nav-cell-1 a {
    font-size: 0;        /* oculta el texto original */
    pointer-events: auto;
  }

  .nav-cell-1 a::before {
    content: "REY | LARROQUET";   /* ✏️ cambiá esto si querés otro texto */
    font-size: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    color: #828282;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .nav-cell-1 a:hover::before { color: #fff; }

  /* Ocultar celda 2 y 3 */
  .nav-cell-2 { display: none; }
  .nav-cell-3 { display: none; }

  /* About a la derecha */
  .nav-cell-4 {
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
    padding-left: 1rem;
  }
}
