/* ==========================================================================
   11. SECTION: HACÉ TU PEDIDO (WHATSAPP CTA) COMPONENT
   ========================================================================== */

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 18px 34px 18px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--whatsapp-green-dark) 0%, var(--whatsapp-green) 100%);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(18, 140, 126, 0.35);
  transition: var(--transition);
}

.whatsapp-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(9, 1, 3, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pulsing ring to draw the eye, like a notification/chat ping */
.whatsapp-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.65);
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-icon-wrapper::before {
    animation: none;
    opacity: 0;
  }
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  fill: #FFFFFF;
}

.whatsapp-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.whatsapp-cta-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}

.whatsapp-cta-number {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}
