.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Canvas Three.js */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Fondo con imagen */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.5) 0%,
    rgba(10, 10, 15, 0.3) 40%,
    rgba(10, 10, 15, 0.8) 80%,
    var(--color-bg) 100%
  );
}

/* Contenido */
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-inline: var(--container-padding);
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  opacity: 0; /* Splitting.js + GSAP lo activan */
}

.hero__eyebrow .char {
  display: inline-block;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 0.95;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title .char {
  display: inline-block;
  overflow: hidden;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-bottom: 3rem;
  opacity: 0;
}

.hero__content .btn {
  opacity: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   }
}

.hero__scroll-text {
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
