.hero {
  height: 100vh;
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .hero { padding: 1.25rem; }
}

.hero__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--bg-alt);
}

@media (min-width: 768px) {
  .hero__frame { border-radius: 2rem; }
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 18, 0.35) 0%,
    rgba(10, 10, 18, 0.05) 40%,
    rgba(30, 27, 75, 0.55) 100%
  );
}

/* Contenido */
.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .hero__content {
    grid-template-columns: 8fr 4fr;
    gap: 2rem;
    padding: 3rem;
    align-items: end;
  }
}

.hero__heading-col {
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.3vw, 0.75rem);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 237, 245, 0.12);
}

.hero__eyebrow-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--indigo);
}

.hero__intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: var(--text-muted);
  margin-bottom: -0.3em;
}

.hero__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 11rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__name .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

.hero__name .word span {
  display: inline-block;
  will-change: transform;
}

.hero__text-col {
  max-width: 34ch;
  justify-self: start;
}

@media (min-width: 768px) {
  .hero__text-col { justify-self: end; text-align: left; }
}

.hero__description {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.35;
  color: rgba(237, 237, 245, 0.85);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  transition: gap 0.3s var(--ease), background 0.3s var(--ease);
}

.hero__cta:hover {
  gap: 1rem;
  background: #5b52ec;
}

.hero__cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  transition: transform 0.3s var(--ease);
}

.hero__cta:hover .hero__cta-circle {
  transform: scale(1.1);
}

/* Estado inicial para animaciones (evita FOUC) */
[data-fade] {
  opacity: 0;
}

/* Indicador de scroll */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237, 237, 245, 0.6);
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 34px;
  background: rgba(237, 237, 245, 0.25);
  overflow: hidden;
}

.hero__scroll-dot {
  position: absolute;
  top: -6px;
  left: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--indigo);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: -6px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 34px; opacity: 0; }
}
