.hero{
  min-height: 420px;
  padding: var(--space-md);
  position: relative;
  padding-top: calc(110px + var(--space-md));
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 58%, rgba(0,0,0,0) 100%);
  z-index: 0;
}

.hero > *{
  position: relative;
  z-index: 1;
}

.hero-inner{
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* Barra superior (la franja de la imagen) */
.hero-topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;

  background: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 1000;
}


.hero-topbar-inner{
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding-left: var(--space-sm);
  padding-right: 0;
}

/* Logo circular */
.hero-brand{
  width: 90px;
  height: 90px;
  border-radius: 999px;
  overflow: hidden;

  margin-right: var(--space-lg); /* espacio entre logo y enlaces */
}




.hero-brand img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-menu-toggle{
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
}

.hero-menu-icon{
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.hero-menu-icon::before,
.hero-menu-icon::after{
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero-menu-icon::before{ top: -8px; }
.hero-menu-icon::after{ top: 8px; }

/* Menú */
.hero-nav{
  display: flex;
  align-items: center;

  gap: var(--space-md);          /* espacio ENTRE enlaces */
  
  
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}


.hero-nav a{
  color: inherit;
  text-decoration: none;
}

.hero-nav a:hover,
.hero-nav a:focus{
  text-decoration: none;
}
.hero-nav span{ opacity: .8; }

/* Texto a la derecha dentro del hero */
.hero-copy{
  position: absolute;
  right: calc(var(--space-md) + 10px);
  top: 55%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}

.hero-copy h1{
  margin: 0 0 10px;
  font-size: var(--font-xl);
  font-weight: 800;
  line-height: 1.15;
}

.hero-copy .hero-mark{
  font-size: .55em;
  vertical-align: sub;
  line-height: 0;
}

.hero-copy p{
  margin: 0;
  color: #fff;
  opacity: .95;
}
