/* ===== Neurological Rehabilitation Page Styles ===== */

/* --- Hero Section --- */
.neuro-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0520 40%, #2a0a15 100%);
  overflow: hidden;
}

.neuro-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.neuro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 20, 60, 0.15);
  border: 1px solid rgba(220, 20, 60, 0.3);
  color: #ff6b8a;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.neuro-badge svg {
  stroke: #ff6b8a;
}

.neuro-hero-title {
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.neuro-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
}

/* Animated pulse background */
.hero-neuro-bg {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  pointer-events: none;
}

.neuro-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220, 20, 60, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: neuroPulse 4s ease-out infinite;
}

.neuro-pulse-1 {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
}

.neuro-pulse-2 {
  width: 350px;
  height: 350px;
  animation-delay: 1.2s;
}

.neuro-pulse-3 {
  width: 500px;
  height: 500px;
  animation-delay: 2.4s;
}

@keyframes neuroPulse {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

@media (min-width: 768px) {
  .neuro-hero-title {
    font-size: 3.75rem;
  }
  .neuro-hero-subtitle {
    font-size: 1.125rem;
  }
}

/* --- Services Grid --- */
.neuro-services-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(to bottom, #fafafa, #ffffff);
}

.neuro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .neuro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .neuro-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Card --- */
.neuro-card {
  background: #fff;
  border: 1px solid #f0e0e5;
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 0;
  transform: translateY(30px);
}

.neuro-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.neuro-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px -8px rgba(220, 20, 60, 0.1),
    0 8px 16px -6px rgba(0, 0, 0, 0.06);
  border-color: rgba(220, 20, 60, 0.2);
}

.neuro-card.revealed:hover {
  transform: translateY(-6px);
}

.neuro-card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(220, 20, 60, 0.08);
  font-family: var(--font-serif);
  line-height: 1;
}

.neuro-card-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), rgba(220, 20, 60, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.neuro-card-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: #dc143c;
}

.neuro-card-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.neuro-card-full {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.neuro-card-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.25rem;
}

/* Tags */
.neuro-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.neuro-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(220, 20, 60, 0.06);
  color: var(--primary);
  border: 1px solid rgba(220, 20, 60, 0.12);
}

/* --- CTA Section --- */
.neuro-cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0520 40%, #2a0a15 100%);
}

.neuro-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.neuro-cta-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.neuro-cta-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2rem;
}

.neuro-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.neuro-cta-section .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.neuro-cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .neuro-cta-title {
    font-size: 2.5rem;
  }
}
