.navbar{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: var(--bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg);
}

#hero {
  position: relative;
  background-image: url("../../../carrusel/imagen-36.jpeg"); 
  height: 100vh; /* ocupa toda la pantalla */
  background-size: cover;
  background-attachment: fixed; /* hace el parallax básico */
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  animation: fadeOverlay 8s ease-in-out infinite alternate;
}

@keyframes fadeOverlay {
  from { background: rgba(0, 0, 0, 0.35); }
  to   { background: rgba(0, 0, 0, 0.55); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.logotipo{
  width: 450px;
  height: 190px;
}