/* NEGOVA — Hero Fullbleed */

.hero {
  --text: var(--c-base);
  --heading: var(--c-white);
  --muted: var(--c-base);
  --focus: var(--c-white);
  --btn-edge: var(--c-accent);

  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  background-color: var(--c-primary);
  color: var(--text);
}

/* Retícula de puntos: textura técnica muy sutil */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgb(234 240 239 / .09) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 20%, transparent 75%);
}

/* Profundidad con tinta translúcida (sin colores nuevos) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 15% 60%, rgb(36 50 56 / .28), transparent 70%),
    linear-gradient(to bottom, transparent 70%, rgb(36 50 56 / .22));
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / .35), #000 45%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / .35), #000 45%);
}

@media (min-width: 60rem) {
  .hero__canvas {
    -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / .25) 10%, #000 60%);
    mask-image: linear-gradient(90deg, rgb(0 0 0 / .25) 10%, #000 60%);
  }
}

.hero__inner {
  align-self: center;
  display: grid;
  justify-items: start;
  gap: var(--sp-6);
  padding-block: var(--sp-12) var(--sp-8);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
}

/* Nodo que "late" junto a la etiqueta */
.hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgb(182 161 216 / .55);
  animation: node-pulse 2.8s var(--ease-out) infinite;
}

@keyframes node-pulse {
  0%   { box-shadow: 0 0 0 0 rgb(182 161 216 / .55); }
  70%  { box-shadow: 0 0 0 9px rgb(182 161 216 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(182 161 216 / 0); }
}

.hero__title {
  max-width: 20ch;
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  color: var(--heading);
}

.hero__lead {
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--c-base);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-8);
  margin-top: var(--sp-2);
}

.hero__secondary { font-size: var(--fs-body); }

/* Franja inferior: compromisos + indicador de scroll */
.hero__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.hero__promises {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-line-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-base);
  flex: 1;
}

.hero__promises li {
  display: inline-flex;
  align-items: center;
  gap: .7em;
}

.hero__promises li::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
}

.hero__scroll {
  display: none;
  position: relative;
  width: 24px;
  height: 56px;
  justify-content: center;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 100%;
  background: var(--c-line-dark);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--c-accent);
  animation: scroll-hint 2.4s var(--ease-in-out) infinite;
}

@keyframes scroll-hint {
  0%   { top: -40%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

@media (min-width: 48rem) {
  .hero__scroll { display: flex; }
}

@media (max-width: 39.99rem) {
  .hero__promises { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow::before,
  .hero__scroll-line::after { animation: none; }
  .hero__scroll-line::after { top: 30%; }
}
