/* ============================================================
   PORTADA · NOSOTROS
   ============================================================ */

.NS-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--go-navy); /* #0a1c2e de tus tokens */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* ---------- EL ARREGLO DEL WATERMARK "NOSOTROS" ---------- */
.NS-hero_watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Lo centra perfectamente */
  font-family: var(--font-display);
  font-size: clamp(180px, 30vw, 250px); /* Tamaño gigante */
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035); /* Opacidad muy baja */
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 1; /* Detrás de todo */
}

/* ---------- Glow radial ---------- */
.NS-hero_glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 45% at 50% 100%,
      rgba(58, 130, 220, 0.35) 0%,
      rgba(58, 130, 220, 0.12) 25%,
      rgba(6, 10, 20, 0) 60%
    );
}

/* ---------- Partículas ---------- */
.NS-hero_canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: NS_fade_in 1.2s ease-out 0.4s forwards;
}

@keyframes NS_fade_in {
  to { opacity: 1; }
}

/* ---------- Contenido (Logo y Textos) ---------- */
.NS-hero_content {
  position: relative;
  z-index: 4; /* Por encima de las partículas y el texto de fondo */
  max-width: 900px;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.NS-hero_eyebrow {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--go-teal); /* Color turquesa */
  margin: 0 0 24px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: NS_rise 0.9s var(--ease-smooth) 0.8s forwards;
}

/* ---------- LOGO ---------- */
.NS-hero_logo {
  display: block;
  width: clamp(200px, 22vw, 300px);
  height: auto;
  margin: 0 0 32px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: NS_rise 1s var(--ease-smooth) 1s forwards;
  
  /* Resplandor (Glow) detrás del logo */
  filter: drop-shadow(0 0 20px rgba(0, 198, 178, 0.4));
}

/* ---------- Párrafo (Typewriter) ---------- */
.NS-hero_lead {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 620px;
  min-height: 3em;
  opacity: 0;
  animation: NS_fade_in_lead 0.4s ease 1.6s forwards;
}

/* Cursor del Typewriter */
.NS-hero_lead .NS-typewriter_cursor {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: rgba(255, 255, 255, 0.85);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: NS_blink 0.9s step-end infinite;
}

.NS-hero_lead .NS-typewriter_cursor.is-hidden {
  display: none;
}

@keyframes NS_blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes NS_rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes NS_fade_in_lead {
  to { opacity: 1; }
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.NS-hero_scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  opacity: 0;
  animation: NS_scroll_in 1s ease-out 2.2s forwards;
}

.NS-hero_scroll:hover { color: var(--go-teal); }

.NS-hero_scroll_text {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding-left: 0.35em;
}

.NS-hero_scroll_line {
  position: relative;
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.NS-hero_scroll_dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--go-teal);
  box-shadow: 0 0 8px var(--go-teal), 0 0 16px rgba(0, 198, 178, 0.5);
  transform: translateX(-50%);
  animation: NS_scroll_dot 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes NS_scroll_in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes NS_scroll_dot {
  0%   { top: -6px; opacity: 0; }
  15%  { opacity: 1; }
  75%  { top: 52px; opacity: 1; }
  100% { top: 58px; opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .NS-hero_watermark {
    font-size: clamp(120px, 25vw, 200px);
  }
  .NS-hero_content { padding: 0 24px; }
  .NS-hero_logo { width: 180px; }
  .NS-hero_lead { font-size: 14px; }
  .NS-hero_scroll { display: none; }
}