/* ============================================================
   HERO CSS — RM Solutions Mx
   Sección hero minimalista con logotipo animado SVG
   y lema tipográfico de alto impacto sobre fondo blanco.
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  overflow: hidden;
}

/* Contenido central del hero */
.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
}

/* ---- Logotipo del Hero ---- */
.hero__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-3xl);
}

/* Imagen del logo oficial */
.hero__logo img {
  display: block;
  max-width: 220px;
  height: auto;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* ---- Título del Hero ---- */
.hero__title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.5s;
}

/* Marca dentro del título */
.hero__title-brand {
  display: block;
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-2xl);
  color: var(--color-text-secondary);
  letter-spacing: var(--tracking-normal);
  margin-bottom: var(--space-sm);
}

/* ---- Lema ---- */
.hero__tagline {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--line-height-relaxed);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 1.8s;
}

/* ---- CTA del Hero ---- */
.hero__cta {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 2.1s;
}

/* ---- Indicador de scroll ---- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2.5s;
}

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

.hero__scroll-text {
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ---- Líneas decorativas geométricas del fondo ---- */
.hero__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero__line {
  position: absolute;
  background-color: var(--color-border-light);
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

/* Líneas verticales decorativas */
.hero__line--v1 {
  width: 1px;
  height: 100%;
  left: 20%;
  animation-delay: 1s;
}

.hero__line--v2 {
  width: 1px;
  height: 100%;
  right: 20%;
  animation-delay: 1.2s;
}

/* Línea horizontal decorativa */
.hero__line--h1 {
  height: 1px;
  width: 100%;
  top: 50%;
  animation-delay: 1.4s;
}
