/* ============================================================================
   HERO.CSS — Monochromatic Cyber-Editorial Stage
   - Foto integrada a la derecha con máscara radial suave (CERO borde cuadrado)
   - Sin el "MB" gigante detrás del texto
   - Concentric stadium contours en trazo plateado fino
   - Texto limpio e independiente a la izquierda
============================================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: var(--space-5);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-5);
}

/* ---------------- Columna Izquierda: Contenido & Tipografía ---------------- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
  position: relative;
  z-index: 10;
}

/* Badge de Disponibilidad Monocromático */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(14, 14, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  margin-bottom: var(--space-3);
  text-shadow: none;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 10px #ffffff, 0 0 16px rgba(255, 255, 255, 0.6);
  animation: pulse-white 1.8s infinite ease-in-out;
}

/* Brand Lockup estilo acme© con caja técnica Akkurat Mono */
.hero__brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: var(--space-2);
}

.hero__acme-brand {
  font-family: var(--font-body);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-white);
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  text-shadow: none;
}

.hero__acme-brand sup {
  font-size: 0.6em;
  font-weight: 500;
  opacity: 0.7;
  color: var(--text-mid);
}

.hero__engineered-box {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(12, 12, 18, 0.75);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  line-height: 1.35;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  text-shadow: none;
}

/* Titular Principal Limpio y Nítido (Sin sombras pesadas ni desborde) */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin: var(--space-2) 0;
  text-transform: uppercase;
  text-shadow: none;
  max-width: 100%;
  word-break: normal;
}

.hero__title span.highlight {
  color: var(--c-white);
  text-shadow: none;
}

/* Rotador de Roles Estilo Typing Limpio */
.hero__role-wrap {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.2em;
  margin-bottom: var(--space-3);
  min-height: 2.2em;
  text-shadow: none;
}

.hero__role-wrap .cursor {
  display: inline-block;
  width: 3px;
  height: 1.15em;
  background: var(--c-white);
  margin-left: 4px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: blink 0.8s infinite step-end;
}

/* Bio Limpia y Directa sin Sombras */
.hero__bio {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  color: #D4D5DF;
  max-width: 540px;
  margin-bottom: var(--space-4);
  text-shadow: none;
}

/* Metadata HUD */
.hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding: 0.6rem 1.2rem;
  background: rgba(14, 14, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.hero__meta span::before {
  content: '▪';
  color: rgba(255, 255, 255, 0.5);
}

.hero__meta span:first-child::before {
  content: none;
}

/* Acciones Hero */
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------------- Columna Derecha: Escenario Visual Limpio ---------------- */
.hero__stage-right {
  position: relative;
  width: 100%;
  height: 580px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
}

/* Anillos Concéntricos de Estadio Ocultos (Cero cajas ni líneas cuadradas) */
.stadium-stage {
  display: none !important;
}

.stadium-contour {
  display: none !important;
}

/* Foto de Miguel Integrada (Fondo Transparente, sin bordes cuadrados, centrada y elevada hacia la barra superior) */
.hero__portrait-stage {
  position: relative;
  width: min(100%, 580px);
  height: 590px;
  z-index: 3;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -38px;
  background: transparent;
  animation: levitate-portrait 5s infinite ease-in-out;
}

.hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.18);
  transform-origin: center center;
  filter: contrast(1.05) brightness(1.06);
  background: transparent;
  /* Medio desvanecido suave en la base del cuerpo hacia el fondo oscuro */
  -webkit-mask-image: linear-gradient(to bottom, #000000 78%, rgba(0, 0, 0, 0.4) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 78%, rgba(0, 0, 0, 0.4) 90%, transparent 100%);
  transition: transform 0.25s var(--ease-quick), filter 0.25s ease;
  cursor: pointer;
}

.hero__portrait-img:hover {
  transform: scale(1.22);
  filter: contrast(1.08) brightness(1.10);
}

/* Micro-etiquetas flotantes HUD */
.hero__stage-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-white);
  background: rgba(25, 25, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.hero__stage-tag--top {
  top: 40px;
  right: 40px;
}

.hero__stage-tag--bottom {
  bottom: 50px;
  right: 20px;
}

/* ---------------- Responsive Hero ---------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__stage-right {
    height: 440px;
    justify-content: center;
  }

  .stadium-stage {
    right: 50%;
    transform: translate(50%, -50%);
    width: min(500px, 85vw);
    opacity: 0.6;
  }

  .hero__portrait-stage {
    width: min(88%, 440px);
    height: 460px;
    justify-content: center;
    align-items: center;
    margin-top: -15px;
  }

  .hero__portrait-img {
    transform: scale(1.14);
    transform-origin: center center;
    -webkit-mask-image: linear-gradient(to bottom, #000000 78%, rgba(0, 0, 0, 0.4) 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000000 78%, rgba(0, 0, 0, 0.4) 90%, transparent 100%);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: var(--space-4);
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.9rem);
  }

  .hero__role-wrap {
    font-size: 1.1rem;
    min-height: 1.8em;
  }

  .hero__bio {
    font-size: 0.95rem;
  }

  .hero__stage-right {
    height: 380px;
  }

  .hero__portrait-stage {
    width: min(92vw, 350px);
    height: 380px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stage-tag {
    font-size: 10px;
    padding: 0.25rem 0.55rem;
  }

  .hero__stage-tag--top {
    top: 15px;
    right: 15px;
  }

  .hero__stage-tag--bottom {
    bottom: 20px;
    right: 15px;
  }
}
