:root {
  --brand: #0ea5e9;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

.font-cn {
  font-family: 'Noto Sans SC', sans-serif;
}

.gradient-medical {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #faf5ff 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);

  /* стандартное свойство (для совместимости/линтера) */
  background-clip: text;

  /* для WebKit (Chrome/Safari/iOS) — фактически важно */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* опционально: иногда помогает, если где-то наследуется цвет текста */
  color: transparent;
}


.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-slide {
  animation: fadeIn 1s ease-in;
  opacity: 0;
}
.hero-slide.is-active {
  opacity: 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sticky-nav {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

.service-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.testimonial-scroll::-webkit-scrollbar {
  height: 6px;
}
.testimonial-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.testimonial-scroll::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 3px;
}

.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

/* уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
