/* Contenedor de los botones */
.redes-sociales {
  position: relative; /* Desktop flow */
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  z-index: 1000;
}

/* Botones de redes sociales */
.redes-sociales a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover efecto */
.redes-sociales a:hover {
  transform: scale(1.1);
}

/* Fondo dinámico orbital */
.redes-sociales a::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  animation: orbitar 3s infinite linear;
  border-radius: 50%;
  z-index: 0;
}

@keyframes orbitar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* WhatsApp (color oficial) */
.redes-sociales .whatsapp {
  background: radial-gradient(circle, #25D366 60%, #ffffff 100%);
}

/* Facebook */
.redes-sociales .facebook {
  background: radial-gradient(circle, #0000ff 60%, #ffffff 100%);
}

/* X */
.redes-sociales .x {
  background: radial-gradient(circle, #000000 80%, #ffffff 50%);
}