/**
 * ============================================================================
 * GORILLA NUTRITION SINALOA - Hero CSS
 * ============================================================================
 *
 * Sección hero de pantalla completa con imagen de fondo, overlays,
 * grid decorativo, partículas canvas, texto GORILLA NUTRITION SINALOA,
 * badge, CTAs y tag de Juan Alonso Pineda.
 *
 * @package Gorilla_Nutrition
 * @since   1.0.0
 */

/* ─── Contenedor Hero ─────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-primary);
}

/* ─── Imagen de Fondo ─────────────────────────────────────────────────── */

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: var(--z-bg);
  pointer-events: none;
}

/* Desktop: mostrar solo la imagen de escritorio */
.hero__bg--desktop { display: block; }
.hero__bg--mobile  { display: none; }

/* ─── Overlays ────────────────────────────────────────────────────────── */

/** Overlay principal: gradiente oscuro de izquierda a derecha */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 7, 7, 0.92) 0%,
    rgba(7, 7, 7, 0.80) 30%,
    rgba(7, 7, 7, 0.45) 55%,
    rgba(7, 7, 7, 0.10) 78%,
    transparent 100%
  );
  pointer-events: none;
  z-index: var(--z-overlay);
}

/** Gradiente superior (para el nav) */
.hero__gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.75), transparent);
  pointer-events: none;
  z-index: var(--z-overlay);
}

/** Gradiente inferior */
.hero__gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, var(--color-bg-primary), transparent);
  pointer-events: none;
  z-index: var(--z-overlay);
}

/** Grid dorado sutil de fondo */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 79, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 79, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: var(--z-overlay);
}

/* ─── Canvas de Partículas ────────────────────────────────────────────── */

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-particles);
}

/* ─── Contenido del Hero ──────────────────────────────────────────────── */

.hero__content {
  position: relative;
  z-index: var(--z-content);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 60px 80px 120px;
  max-width: 680px;
}

/**
 * Compensación para barra de admin de WordPress en el hero.
 * Asegura que el contenido no quede oculto detrás del admin bar.
 */
.admin-bar .hero__content {
  padding-top: 142px; /* 110px original + 32px admin bar */
}

@media screen and (max-width: 782px) {
  .admin-bar .hero__content {
    padding-top: 156px; /* 110px original + 46px admin bar mobile */
  }
}

/* ─── Badge Decorativo ────────────────────────────────────────────────── */

.hero__badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero__badge-line {
  width: 48px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--color-red);
}

/* ─── Títulos ─────────────────────────────────────────────────────────── */

.hero__title-gorilla {
  font-family: var(--font-display);
  font-size: clamp(88px, 10.5vw, 158px);
  line-height: 0.87;
  letter-spacing: 6px;
  /* Usa clase .text-gold-gradient para el efecto shimmer */
}

.hero__title-nutrition {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: 11px;
  color: var(--color-text-primary);
}

.hero__title-sinaloa-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.hero__title-accent {
  width: 5px;
  height: 42px;
  background: linear-gradient(to bottom, var(--color-red), var(--color-blue));
  flex-shrink: 0;
}

.hero__title-sinaloa {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 48px);
  letter-spacing: 16px;
  color: #C8C0B4;
}

/* ─── Tagline ─────────────────────────────────────────────────────────── */

.hero__tagline {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-style: italic;
  color: #a09890;
  line-height: 1.75;
  max-width: 430px;
  margin-top: 26px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ─── Badge Recomendado ───────────────────────────────────────────────── */

.hero__recommended {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(7, 7, 7, 0.5);
  border: 1px solid rgba(201, 169, 79, 0.35);
  padding: 11px 22px;
  margin-top: 28px;
  backdrop-filter: blur(4px);
}

.hero__recommended-star {
  color: var(--color-gold);
  font-size: 14px;
  line-height: 1;
}

.hero__recommended-text {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ─── Botones CTA ─────────────────────────────────────────────────────── */

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero__cta-primary {
  animation: pulseRed 2.5s ease 1.2s infinite;
}

/* ─── Indicador de Scroll ─────────────────────────────────────────────── */

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  opacity: 0.45;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
}

.hero__scroll-text {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ─── Tag de Juan Alonso Pineda ───────────────────────────────────────── */

.hero__athlete-tag {
  position: absolute;
  bottom: 44px;
  right: 5%;
  z-index: var(--z-above);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.hero__athlete-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, var(--color-gold), var(--color-red));
  margin-bottom: 3px;
}

.hero__athlete-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3.5px;
  color: var(--color-text-primary);
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero__athlete-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}
