

.rocket-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-right: 8px;
}

/* Animación del cohete */
.rocket {
  font-size: 1.4em;
  animation: rocketShake 0.4s infinite ease-in-out,
    rocketLift 5s ease-in-out infinite;
  transform-origin: center;
  position: relative;
  z-index: 2;
}

/* Estela del cohete */
.trail {
  position: absolute;
  width: 4px;
  height: 15px;
  background: radial-gradient(ellipse at center, #ff7300 0%, transparent 70%);
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  animation: flamePulse 0.3s infinite alternate;
  z-index: 1;
  border-radius: 50%;
  filter: blur(2px);
}

/* Texto destacado */
.hero-highlight {
  font-weight: bold;
  font-size: 1.1em;
  color: #ff8c00;
  animation: pulseText 2s infinite;
}





/* Keyframes */
@keyframes rocketShake {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes rocketLift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes flamePulse {
  0% {
    height: 16px;
    opacity: 0.7;
  }
  100% {
    height: 24px;
    opacity: 1;
  }
}

@keyframes pulseText {
  0%,
  100% {
    text-shadow: 0 0 5px #ffaa00;
  }
  50% {
    text-shadow: 0 0 15px #ffcc00;
  }
}







/* Floating Elements */
.floating {
  position: absolute;
  z-index: 0;
  opacity: 0.6;
  animation: float 7s ease-in-out infinite;
}

.floating-1 {
  top: 20%;
  left: 5%;
  width: 50px;
  height: 50px;
  /* background: var(--secondary); */
  background-color: chartreuse;
  border-radius: 50%;
  filter: blur(15px);
  animation-delay: 2s;
}

.floating-2 {
  top: 60%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(15px);
  animation-delay: 2s;
}

.floating-3 {
  bottom: 10%;
  left: 15%;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(12px);
  animation-delay: 2s;
}

.floating-4 {
  bottom: 5%;
  left: 15%;
  width: 60px;
  height: 60px;
  background-color: rgb(58, 156, 180);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(12px);
  animation-delay: 2s;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}





/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 
.animate {
  animation: fadeInUp 0.8s ease-out forwards;
} */

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  /* animation: floatUp 3s infinite linear; */

  animation: float 15s infinite linear;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0);
  }
  100% {
    transform: translateY(-10vh) translateX(calc(20px - 60px * random()));
  }
}



.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  left: 30px; /* 👈 Cambiado de right a left */
  background-color: #80b4c4;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


.whatsapp-float {
    position: fixed;
    bottom: -100px; /* Inicialmente oculto */
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.5s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.whatsapp-float.visible {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
    animation: animate 2s infinite; /* Aplicamos la animación */
}

.whatsapp-float:hover {
    animation: none; /* Detenemos la animación al hacer hover */
    transform: scale(1.1) translateY(0); /* Reset para el hover */
    background: #128C7E;
}

.scroll-top-btn {
  position: fixed;
  bottom: -140px;
  right: 30px;
  background-color: #2b7c94;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
      bottom: 20px;

  opacity: 1;
  visibility: visible;
}


.btn-outline {
    background: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}
