.topbar{
  position: sticky;
  top: 0;
  z-index: 50;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  background: rgba(255,255,255,0.90);

  border-bottom: 1px solid rgba(70, 60, 90, 0.10);
  box-shadow: 0 10px 28px rgba(25, 12, 50, 0.08);
}


.topbarInner{
  width:min(1100px, 92vw);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}

.brandMark{
  width:42px; height:42px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(70, 60, 90, 0.10);
  box-shadow: 0 10px 25px rgba(25, 12, 50, 0.10);
}

.brandName{ font-weight: 800; letter-spacing: 0.2px; }
.brandTag{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.brandText{ display:flex; flex-direction:column; line-height:1.1; }

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
}

.nav a{
  font-weight: 650;
  font-size: 14px;
  color: rgba(35, 24, 55, 0.78);
  padding: 10px 10px;
  border-radius: 14px;
}

.nav a:hover{
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(70, 60, 90, 0.10);
  padding: 9px 9px;
}

.navToggle{
  display:none;
  border: 1px solid rgba(70, 60, 90, 0.10);
  background: rgba(255,255,255,0.65);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 10px 25px rgba(25, 12, 50, 0.10);
  cursor:pointer;
}

.navTogglePaw{ font-size: 16px; }

/* Si en algún momento vuelves a usar un menú móvil separado */
.navMobile{
  width:min(1100px, 92vw);
  margin:0 auto 12px auto;
  padding: 12px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(70, 60, 90, 0.10);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.navMobile a{
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(70, 60, 90, 0.08);
  font-weight: 700;
}

/* Responsive del header */
@media (max-width: 920px){
  .nav{ display:none; }
  .navToggle{ display:inline-flex; }

  /* Esto hace que tu JS pueda abrir el menú usando .nav.isOpen */
  .topbarInner{ position: relative; }

  .nav.isOpen{
    display:flex;
    flex-direction:column;
    gap: 8px;

    position:absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);

    padding: 12px;
    background: rgba(255,255,255,0.62);
    border: 1px solid rgba(70, 60, 90, 0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.isOpen a{
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(70, 60, 90, 0.08);
  }
}

@media (max-width: 920px){
  .topbar{
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .nav.isOpen{
    background: rgba(255,255,255,0.96);
  }
}

