

#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* fallback mientras no hay imagen subida */
  background: linear-gradient(135deg, #000000 0%, #4d4b4a 40%, #ffffff 100%);
}

/* Imagen de fondo a ancho completo — se asigna desde el HTML con style="..." */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  animation: heroImageEntrance 1.4s ease-out both;
}

/* Overlay oscuro encima de la foto para que el texto sea legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(80, 80, 79, 0.55) 60%,
    rgba(97, 97, 97, 0.2) 100%
  );
  animation: heroOverlayEntrance 0.9s ease-out both;
}

/* Patrón de puntos sutil sobre el overlay */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}

/* Texto anclado a la izquierda, máximo 640px de ancho */
.hero-content .container {
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text-wrap {
  max-width: 620px;
}

.hero-text-wrap > .eyebrow,
.hero-content h1,
.hero-subtitle,
.hero-badges,
.hero-actions {
  opacity: 0;
  animation: heroContentEntrance 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-text-wrap > .eyebrow { animation-delay: 0.15s; }
.hero-content h1 { animation-delay: 0.28s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-badges { animation-delay: 0.52s; }
.hero-actions { animation-delay: 0.64s; }

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content h1 em {
  color: var(--gold-light);
  font-style:normal;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.hero-badge svg {
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

@keyframes heroImageEntrance {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroOverlayEntrance {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroContentEntrance {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-image,
  .hero-overlay,
  .hero-text-wrap > .eyebrow,
  .hero-content h1,
  .hero-subtitle,
  .hero-badges,
  .hero-actions,
  .scroll-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
