/* Shkian Elementor — featured service cards (blood + heart scan) */

.shkian-featured-card {
  --font: "Vazirmatn", system-ui, sans-serif;
  --text: #0f172a;
  --text-muted: #64748b;
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --accent: #0369a1;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 148, 136, 0.14);
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.shkian-featured-card *,
.shkian-featured-card *::before,
.shkian-featured-card *::after {
  box-sizing: border-box;
}

.shkian-featured-card .featured-card {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 340px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.shkian-featured-card .featured-card:hover {
  transform: translateY(-4px);
}

.shkian-featured-card .featured-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 58%;
  min-width: 0;
  max-width: 28rem;
}

.shkian-featured-card .featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.shkian-featured-card .featured-card h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.shkian-featured-card .featured-list {
  margin: 0 0 1.65rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.shkian-featured-card .featured-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.92;
}

.shkian-featured-card .featured-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.shkian-featured-card .featured-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.shkian-featured-card .featured-btn:hover {
  transform: translateY(-2px);
}

.shkian-featured-card .featured-btn--light {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.shkian-featured-card .featured-btn--light:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.shkian-featured-card .featured-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.35);
}

.shkian-featured-card .featured-btn--primary:hover {
  box-shadow: 0 14px 40px rgba(13, 148, 136, 0.45);
}

.shkian-featured-card .featured-visual {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(48%, 280px);
  height: 78%;
  pointer-events: none;
  z-index: 1;
}

.shkian-featured-card .featured-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Blood card ─── */
.shkian-featured-blood .featured-card {
  background: linear-gradient(145deg, #0f766e 0%, #115e59 38%, #134e4a 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.shkian-featured-blood .featured-card:hover {
  box-shadow: 0 28px 70px rgba(15, 118, 110, 0.35);
}

.shkian-featured-blood .featured-label::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fecdd3' stroke-width='2'%3E%3Cpath d='M19.428 15.428a2 2 0 0 0-1.022-.547l-2.387-.477a6 6 0 0 0-3.86.517l-.318.158a6 6 0 0 1-3.86.517L6.05 15.21a2 2 0 0 0-1.806.547M8 4h8l-1 1v5.172a2 2 0 0 0 .586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 0 0 9 10.172V5L8 4z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.shkian-featured-blood .featured-list li::before {
  background: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.2);
}

.shkian-featured-blood .featured-visual--blood {
  opacity: 0.95;
}

.shkian-featured-blood .featured-svg--blood {
  animation: shkianVisualDrift 6s ease-in-out infinite;
}

.shkian-featured-scan .featured-svg--scan {
  animation: shkianVisualDrift 6.5s ease-in-out infinite;
  animation-delay: -1s;
}

@keyframes shkianVisualDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.shkian-featured-blood .featured-heart-mini {
  transform-origin: 240px 72px;
  animation: shkianHeartSoft 2.8s ease-in-out infinite;
}

@keyframes shkianHeartSoft {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.06); }
  28% { transform: scale(1); }
}

/* ─── Scan card ─── */
.shkian-featured-scan .featured-card {
  background: linear-gradient(145deg, #ffffff 0%, #e0f2fe 48%, #ecfeff 100%);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.shkian-featured-scan .featured-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.18);
}

.shkian-featured-scan .featured-label::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e11d48'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3 .5 4.5 2C13.5 3.5 15.24 3 17 3c3.08 0 5.5 2.42 5.5 5.5 0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.shkian-featured-scan .featured-list li::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.shkian-featured-scan .featured-visual--scan {
  width: min(52%, 300px);
}

.shkian-featured-scan .scan-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shkian-featured-scan .scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.18);
}

.shkian-featured-scan .scan-ring--1 {
  width: 140px;
  height: 140px;
  animation: shkianScanRing 3s ease infinite;
}

.shkian-featured-scan .scan-ring--2 {
  width: 190px;
  height: 190px;
  animation: shkianScanRing 3s ease infinite 0.45s;
  opacity: 0.55;
}

.shkian-featured-scan .scan-ring--3 {
  width: 240px;
  height: 240px;
  animation: shkianScanRing 3s ease infinite 0.9s;
  opacity: 0.3;
}

@keyframes shkianScanRing {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.04); opacity: 0.75; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .shkian-featured-blood .featured-svg--blood,
  .shkian-featured-scan .featured-svg--scan,
  .shkian-featured-blood .featured-heart-mini,
  .shkian-featured-scan .scan-ring,
  .shkian-featured-card .featured-card:hover,
  .shkian-featured-card .featured-btn:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .shkian-featured-card .featured-card {
    min-height: auto;
    flex-direction: column;
    padding: 1.75rem;
  }

  .shkian-featured-card .featured-content {
    max-width: none;
  }

  .shkian-featured-card .featured-visual {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: 1.25rem;
    left: auto;
    bottom: auto;
    opacity: 0.55;
  }

  .shkian-featured-scan .featured-visual--scan {
    width: 100%;
    height: 200px;
  }

  .shkian-featured-card .featured-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shkian-featured-card .featured-visual {
    height: 150px;
  }
}
