/* ==========================================================================
   EWEB Project Button (Dynamic Rotation Style)
   ========================================================================== */
.eweb-project-button {
  display: inline-flex;
  align-items: center;
  background-color: #d87d62;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  padding: 6px 6px 6px 24px;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(216, 125, 98, 0.4);
  transition: all 0.3s ease;
  line-height: 1;
}

.eweb-project-button .btn-text {
  white-space: nowrap;
}

.eweb-project-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(216, 125, 98, 0.5);
}

.eweb-project-button .icon-circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: #d87d62;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* margin-left controlado por Elementor Slider */
  overflow: hidden;
  flex-shrink: 0;
}

/* Envoltorio de Iconos: Animación controlada por Elementor */
.eweb-project-button .icon-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  transform-origin: center;
}

.eweb-project-button .icon-wrapper i,
.eweb-project-button .icon-wrapper svg {
  display: block !important;
  width: 1em;
  height: 1em;
  font-size: inherit;
  fill: currentColor;
}

/* Manejo de opacidades (la rotación la pone Elementor) */
.eweb-project-button .icon-straight {
  opacity: 1;
}

.eweb-project-button .icon-diagonal {
  opacity: 0;
}

.eweb-project-button:hover .icon-straight {
  opacity: 0;
}

.eweb-project-button:hover .icon-diagonal {
  opacity: 1;
}
