/* Shkian Elementor — narrow call CTA with live blip */

.shkian-call-cta-wrap {
  --shkian-cta-font: "Vazirmatn", system-ui, sans-serif;
  --shkian-cta-primary: #0d9488;
  --shkian-cta-primary-light: #14b8a6;
  --shkian-cta-accent: #0369a1;
  --shkian-cta-text: #f8fffe;
  --shkian-cta-muted: rgba(248, 255, 254, 0.82);
  --shkian-cta-shadow: 0 14px 40px rgba(13, 148, 136, 0.28);
  --shkian-cta-ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--shkian-cta-font);
  box-sizing: border-box;
  width: 100%;
  padding: 0.35rem 0;
}

.shkian-call-cta-wrap *,
.shkian-call-cta-wrap *::before,
.shkian-call-cta-wrap *::after {
  box-sizing: border-box;
}

.shkian-call-cta-wrap--align-right {
  display: flex;
  justify-content: flex-end;
}

.shkian-call-cta-wrap--align-center {
  display: flex;
  justify-content: center;
}

.shkian-call-cta-wrap--align-left {
  display: flex;
  justify-content: flex-start;
}

.shkian-call-cta-wrap--width-narrow .shkian-call-cta {
  max-width: 30rem;
}

.shkian-call-cta-wrap--width-medium .shkian-call-cta {
  max-width: 40rem;
}

.shkian-call-cta-wrap--width-full .shkian-call-cta {
  max-width: none;
}

.shkian-call-cta-wrap--sticky {
  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 99990;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.92) 35%,
    rgba(255, 255, 255, 0.98) 100%
  );
  pointer-events: none;
}

.shkian-call-cta-wrap--sticky .shkian-call-cta {
  pointer-events: auto;
  margin-inline: auto;
}

.shkian-call-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.55rem 0.85rem 0.55rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--shkian-cta-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    linear-gradient(118deg, var(--shkian-cta-primary) 0%, #0f766e 48%, var(--shkian-cta-accent) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shkian-cta-shadow);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--shkian-cta-ease),
    box-shadow 0.35s var(--shkian-cta-ease),
    border-color 0.35s;
}

.shkian-call-cta:hover,
.shkian-call-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(13, 148, 136, 0.38);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--shkian-cta-text);
  outline: none;
}

.shkian-call-cta:active {
  transform: translateY(0);
}

.shkian-call-cta__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 66%
  );
  transform: translateX(120%);
  animation: shkian-cta-shine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes shkian-cta-shine {
  0%,
  72% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(-120%);
  }
}

.shkian-call-cta__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  margin-inline-start: 0.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  animation: shkian-cta-icon-glow 2.4s ease-in-out infinite;
}

.shkian-call-cta__icon::before,
.shkian-call-cta__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(110, 231, 183, 0.7);
  pointer-events: none;
  animation: shkian-cta-icon-ring 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.shkian-call-cta__icon::after {
  animation-delay: 1.2s;
}

@keyframes shkian-cta-icon-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.35);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(110, 231, 183, 0);
  }
}

@keyframes shkian-cta-icon-ring {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70%,
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.shkian-call-cta__icon svg {
  position: relative;
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
}

.shkian-call-cta__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.shkian-call-cta__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--shkian-cta-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.shkian-call-cta__phone {
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: embed;
}

.shkian-call-cta__action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.96);
  color: #0f766e;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  animation: shkian-cta-action-breathe 3.2s ease-in-out infinite;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s var(--shkian-cta-ease);
}

.shkian-call-cta__action::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(13, 148, 136, 0.08) 50%,
    transparent 62%
  );
  transform: translateX(130%);
  animation: shkian-cta-action-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shkian-cta-action-breathe {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  }
  50% {
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.22);
  }
}

@keyframes shkian-cta-action-shimmer {
  0%,
  68% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(-130%);
  }
}

.shkian-call-cta:hover .shkian-call-cta__action,
.shkian-call-cta:focus-visible .shkian-call-cta__action {
  background: #ffffff;
  color: #0d9488;
  animation-play-state: paused;
}

.shkian-call-cta__action-text,
.shkian-call-cta__action-arrow {
  position: relative;
  z-index: 1;
}

.shkian-call-cta__action-arrow {
  transition: transform 0.25s var(--shkian-cta-ease);
  animation: shkian-cta-arrow-nudge 3.2s ease-in-out infinite;
}

.shkian-call-cta:hover .shkian-call-cta__action-arrow,
.shkian-call-cta:focus-visible .shkian-call-cta__action-arrow {
  transform: translateX(-3px);
  animation-play-state: paused;
}

@keyframes shkian-cta-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-2px);
  }
}

@media (max-width: 520px) {
  .shkian-call-cta {
    gap: 0.65rem;
    padding-inline: 0.7rem;
  }

  .shkian-call-cta__eyebrow {
    font-size: 0.62rem;
  }

  .shkian-call-cta__action-text {
    display: none;
  }

  .shkian-call-cta__action {
    padding: 0.42rem;
    min-width: 2.15rem;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shkian-call-cta__icon,
  .shkian-call-cta__icon::before,
  .shkian-call-cta__icon::after,
  .shkian-call-cta__action,
  .shkian-call-cta__action::after,
  .shkian-call-cta__action-arrow,
  .shkian-call-cta__shine {
    animation: none;
  }

  .shkian-call-cta__icon::before {
    opacity: 0.35;
    transform: scale(1.25);
  }
}
