/* ==========================================================================
   NOVACOR INGENIERÍA — PRELOADER CORPORATIVO DE ENTRADA (MIX ARQUITECTÓNICO)
   Secuencia continua sin cortes bruscos (DOC-18):
     1) Trazo limpio y relleno en verde del Isotipo A central (sin cruz)
     2) Despliegue simétrico NOV · A · COR + subtítulo INGENIERÍA
     3) Línea fina + "INGENIERÍA QUE TRANSFORMA" palabra por palabra debajo
     4) Disolución sedosa solapada con la entrada del Hero
   ========================================================================== */

body.preloader-active {
  overflow: hidden;
}

.nvc-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  background:
    radial-gradient(ellipse 68% 58% at 50% 48%, rgba(11, 45, 69, 0.24) 0%, rgba(7, 11, 16, 0.97) 68%, #05080c 100%);
  background-color: #05080c;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-transform: translateZ(0);
  cursor: pointer;
}

.nvc-preloader.is-hidden {
  display: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.nvc-preloader-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.nvc-pre-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  will-change: transform, opacity;
}

.nvc-pre-logo-svg {
  position: relative;
  z-index: 2;
  width: clamp(250px, 38vw, 460px);
  height: auto;
  overflow: visible;
}

.nvc-pre-letter,
.nvc-pre-a-group,
.nvc-pre-sub-group {
  transform-box: fill-box;
  transform-origin: center center;
  opacity: 0;
  will-change: transform, opacity;
}

.nvc-pre-a-stroke {
  fill: none;
  stroke: var(--nvc-green);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nvc-pre-a-fill {
  fill: var(--nvc-green);
  opacity: 0;
  filter: drop-shadow(0 0 18px rgba(76, 175, 80, 0.22));
}

.nvc-pre-divider {
  width: 44px;
  height: 1px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.24);
  transform: scaleX(0);
  transform-origin: center center;
  opacity: 0;
}

.nvc-pre-tagline {
  margin-top: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.85em;
  text-align: center;
  padding-left: 0.34em;
}

.nvc-pre-tag-word {
  font-family: var(--font-brand);
  font-size: clamp(0.64rem, 0.92vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  will-change: transform, opacity, filter;
}

.nvc-pre-tag-word--accent {
  color: var(--nvc-green);
  font-weight: 600;
}

/* Indicación discreta de salto (Escape o clic) */
.nvc-pre-skip {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-brand);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nvc-pre-logo-svg {
    width: clamp(220px, 76vw, 340px);
  }

  .nvc-pre-tagline {
    gap: 0.65em;
  }

  .nvc-pre-tag-word {
    letter-spacing: 0.24em;
  }
}
