/* ============================================
   CTA Section - Exact copy from CtaSection.vue
   ============================================ */

.cta__section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-8) 0;
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

/* Optional: Add a subtle overlay pattern or gradient hint if desired */
.cta__section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(220, 31, 61, 0.2), transparent 70%);
  pointer-events: none;
}

.cta__container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.cta__content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.cta__title {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-align: center;
}

.cta__description {
  font-size: 1.125rem;
  margin-bottom: var(--space-6);
  opacity: 0.9;
  text-align: center;
}

.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.cta__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.125rem;
}

.cta__phone:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.cta__image-wrapper {
  flex: 1;
  top: 0;
  left:  0;
  display: flex;
  justify-content: flex-end;
  position: absolute;
}

.cta__image {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  /* Animation subtle floating effect */
  animation: float 6s ease-in-out infinite;
}

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

@media (max-width: 960px) {
  .cta__container {
    flex-direction: column;
    text-align: center;
  }

  .cta__content {
    max-width: 100%;
  }

  .cta__actions {
    justify-content: center;
  }

  .cta__image-wrapper {
    justify-content: center;
    width: 100%;
  }

  .cta__section::before {
    width: 100%;
    height: 50%;
    bottom: 0;
    top: auto;
    background: radial-gradient(circle at bottom, rgba(220, 31, 61, 0.2), transparent 70%);
  }
}
