/* ===========================
   HERO SECTION — Mobile First
=========================== */

/* --- BASE MÓVIL --- */
.hero {
  position: relative;
  background: var(--color-negro);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: visible;
}

.hero__container {
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 160px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* --- Columna contenido --- */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ===========================
   BLOQUE TÍTULO
=========================== */
.hero__titulo-bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 4px;
}

.hero__pretitle {
  font-family: var(--font-base);
  font-size: clamp(1rem, 4vw, 1.8rem);
  font-weight: 400;
  color: var(--color-blanco);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 0;
}

.hero__pretitle span {
  font-weight: 400;
  font-style: normal;
}

.hero__title {
  font-family: var(--font-base);
  font-size: clamp(2.2rem, 9vw, 70px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--color-blanco);
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  white-space: normal;
}

.hero__linea-naranja {
  width: 0%;
  height: 3px;
  background: #E8600A;
  border-radius: 2px;
  margin-bottom: 4px;
  animation: linea-draw 1.2s ease-out 0.3s forwards;
}

@keyframes linea-draw {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ===========================
   SUBTÍTULO
=========================== */
.hero__subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
  margin-top: -8px;
}

/* ===========================
   BOTÓN CTA
=========================== */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-rojo);
  color: var(--color-blanco);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 26px;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-3px);
  background: #6e0918;
  box-shadow: 0 10px 28px rgba(147, 12, 32, 0.5);
}

.hero__cta-icon {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ===========================
   IMAGEN STAND — MÓVIL
=========================== */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.hero__stand {
  width: 100%;
  max-width: 380px;
  animation: float 4.5s ease-in-out infinite;
  position: relative;
  right: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ===========================
   DESKTOP (992px+)
=========================== */
@media (min-width: 992px) {
  .hero__container {
    max-width: 1200px;
    padding: 60px 24px 220px;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    text-align: left;
  }

  .hero__content {
    align-items: flex-start;
    margin-left: -80px;
  }

  .hero__titulo-bloque {
    align-items: flex-start;
  }

  .hero__title {
    white-space: nowrap;
    letter-spacing: -3px;
  }

  .hero__subtitle {
    white-space: nowrap;
    margin-top: -20px;
  }

  .hero__cta {
    font-size: 1rem;
    padding: 14px 34px;
  }

  .hero__cta-icon {
    height: 22px;
  }

  /* ✅ z-index dentro del @media para evitar conflictos de cascada */
  .hero__visual {
    position: relative;
    z-index: 3;
  }

  .hero__stand {
    width: 145%;
    max-width: none;
    right: -140px;
  }
}