/* ==========================================================================
   HERO — portada con foto, nombre y llamados a la acción
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
}

.hero-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 64px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Resplandores decorativos animados */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 700px;
  height: 700px;
  top: -150px;
  left: -200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.065) 0%, transparent 70%);
  animation: glow-drift-a 9s ease-in-out infinite alternate;
}

.hero::after {
  width: 500px;
  height: 500px;
  bottom: 0;
  right: 0;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation: glow-drift-b 11s ease-in-out infinite alternate;
}

@keyframes glow-drift-a {
  to {
    transform: translate(70px, 50px);
  }
}

@keyframes glow-drift-b {
  to {
    transform: translate(-60px, -50px);
  }
}

/* Foto */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  animation: fade-down 0.7s 0.35s ease both;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(59, 130, 246, 0.15));
  filter: blur(18px);
  z-index: 0;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 20px;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 280px;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  filter: grayscale(8%) contrast(1.04);
}

/* Badge de disponibilidad */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  animation: fade-down 0.6s ease both;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 2s infinite;
}

/* Textos */
.hero-name {
  font-size: clamp(52px, 10vw, 108px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--text);
  animation: fade-down 0.6s 0.1s ease both;
}

.hero-name .accent {
  color: var(--amber);
  font-style: italic;
}

.hero-role {
  font-family: var(--mono);
  font-size: clamp(13px, 1.8vw, 17px);
  letter-spacing: 1px;
  color: var(--text2);
  margin: 28px 0 40px;
  animation: fade-down 0.6s 0.2s ease both;
}

.hero-role .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--amber);
  vertical-align: text-bottom;
  animation: blink 1s infinite;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-down 0.6s 0.3s ease both;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-left {
    display: none;
  }

  .hero-right {
    text-align: center;
  }
}
