/* ===== Musculoskeletal Physiotherapy Page Styles ===== */

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

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

.msk-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;
}

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

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

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

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

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

.msk-pulse-1 { width: 200px; height: 200px; animation-delay: 0s; }
.msk-pulse-2 { width: 350px; height: 350px; animation-delay: 1.2s; }
.msk-pulse-3 { width: 500px; height: 500px; animation-delay: 2.4s; }

@keyframes mskPulse {
  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) {
  .msk-hero-title { font-size: 3.75rem; }
  .msk-hero-subtitle { font-size: 1.125rem; }
}

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

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

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

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

/* --- Card --- */
.msk-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);
}

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

.msk-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);
}

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

.msk-card-wide { grid-column: 1 / -1; }

.msk-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;
}

.msk-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;
}

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

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

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

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

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

.msk-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);
}

/* --- Arthritis Subtypes --- */
.arthritis-subtypes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.03), rgba(220, 20, 60, 0.06));
  border-radius: 0.75rem;
  border: 1px solid rgba(220, 20, 60, 0.1);
}

@media (min-width: 640px) {
  .arthritis-subtypes { flex-direction: row; }
}

.arthritis-sub {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex: 1;
}

.arthritis-sub-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(220, 20, 60, 0.1);
}

.arthritis-sub-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.arthritis-sub-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
}

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

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

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

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

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

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

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

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