/* ============================================================
   HERO — Left-aligned · Canvas enmascarado a la derecha
   Sin badge · Sin gradient text · Un solo CTA
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
}

/* ── Canvas: visible solo en el 60% derecho ──────────────────── */

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* El canvas "aparece" de derecha a izquierda — la malla emerge desde el lado derecho */
  mask-image: linear-gradient(
    to right,
    transparent 5%,
    rgba(0, 0, 0, 0.15) 25%,
    rgba(0, 0, 0, 0.55) 45%,
    black 65%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 5%,
    rgba(0, 0, 0, 0.15) 25%,
    rgba(0, 0, 0, 0.55) 45%,
    black 65%
  );
}

/* ── Wrapper de contenido ────────────────────────────────────── */

.hero__wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  padding-inline: var(--section-px);
  padding-block-start: 9rem;
  padding-block-end: 6rem;
  margin-inline: auto;
}

/* ── Contenido: alineado a la izquierda ──────────────────────── */

.hero__content {
  max-width: 720px;
  animation: heroEnter 1s 0.1s var(--ease-out-quart) both;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ── Contador decorativo ─────────────────────────────────────── */

.hero__count {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
  margin-bottom: 1.75rem;
  animation: heroEnter 1s 0.2s var(--ease-out-quart) both;
}

/* ── Headline ────────────────────────────────────────────────── */

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--neutral-100);
  margin-bottom: 2rem;
  animation: heroEnter 1s 0.3s var(--ease-out-quart) both;
}

/* La palabra destacada: color sólido, NO gradient text */
.hero__mark {
  background: none;
  -webkit-text-fill-color: unset;
  color: var(--teal-300);
  font-style: normal;
}

/* ── Subtítulo ───────────────────────────────────────────────── */

.hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  font-weight: 300;
  color: var(--neutral-200);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  /* Ligero margen izquierdo extra — asimetría intencional */
  padding-inline-start: 0.25rem;
  border-left: 1px solid rgba(var(--teal-300-rgb), 0.2);
  padding-left: 1.1rem;
  animation: heroEnter 1s 0.42s var(--ease-out-quart) both;
}

/* ── Acciones ────────────────────────────────────────────────── */

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  animation: heroEnter 1s 0.54s var(--ease-out-quart) both;
}

/* ── Coordenadas decorativas (bottom-right) ──────────────────── */

.hero__coords {
  position: absolute;
  inset-block-end: 2.5rem;
  inset-inline-end: var(--section-px);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--neutral-500);
  opacity: 0.6;
  animation: heroEnter 1.2s 0.8s var(--ease-out-quart) both;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 680px) {
  .hero__wrapper {
    padding-block-start: 7rem;
  }

  .hero__headline {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .hero__coords {
    display: none;
  }

  .hero__canvas {
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 50%,
      black 85%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 50%,
      black 85%
    );
  }
}
