/* ============================================================
   Dr. Harsha Pattani — Physiotherapist Bhuj
   style.css — Premium Modern Redesign (Ocean Trust Theme)
   ============================================================ */

/* --- 1. Fonts Import --- */


/* --- 2. Design System Tokens --- */
:root {
  /* Colors */
  --primary:        #1B3A6B; /* Royal Navy */
  --primary-dark:   #0F2547;
  --primary-light:  #2C5494;
  --secondary:      #00C9A7; /* Vibrant Mint */
  --secondary-dark: #00A68A;
  --accent:         #FF7B54; /* Warm Coral */
  --accent-hover:   #E0633C;
  --whatsapp:       #25D366;
  --whatsapp-dark:  #1da851;
  --bg-light:       #F8FAFC;
  --bg-white:       #ffffff;
  --bg-dark:        #060D1B;
  --bg-darker:      #03070E;
  --text-dark:      #0F172A;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --success:        #10B981;
  
  /* Gradients */
  --grad-primary:   linear-gradient(135deg, var(--primary), var(--primary-light));
  --grad-mint:      linear-gradient(135deg, var(--secondary), #00ded3);
  --grad-coral:     linear-gradient(135deg, var(--accent), #ff9f43);
  --grad-dark:      linear-gradient(185deg, var(--bg-dark), var(--bg-darker));
  
  /* Border radius */
  --radius-sm:      10px;
  --radius-md:      18px;
  --radius-lg:      28px;
  --radius-xl:      40px;
  --radius-full:    9999px;
  
  /* Fonts */
  --font-heading:   'Outfit', sans-serif;
  --font-body:      'Plus Jakarta Sans', sans-serif;
  --font-gu:        'Noto Sans Gujarati', sans-serif;
  
  /* Layout */
  --nav-height:     84px;
  --transition:     all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Shadows */
  --shadow-sm:      0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md:      0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg:      0 20px 48px rgba(15, 23, 42, 0.09);
  --shadow-xl:      0 32px 72px rgba(15, 23, 42, 0.14);
  --shadow-accent:  0 10px 24px rgba(255, 123, 84, 0.3);
  --shadow-wa:      0 10px 24px rgba(37, 211, 102, 0.3);
}

/* --- 3. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.lang-gu,
body.lang-gu *,
body.lang-gu .section-label {
  font-family: var(--font-gu) !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  word-spacing: normal !important;
}


ul, ol { list-style: none; padding: 0; margin: 0; }
li { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
button { font-family: inherit; }

/* --- 4. Layout & Typography Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.75rem; }
.section-pad { padding: 7.5rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 0.8rem;
  background: rgba(0, 201, 167, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gradient Text */
.text-grad {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-grad-secondary {
  background: linear-gradient(135deg, var(--secondary), #00ded3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Diagonal/Angled Section Ends */
.angled-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}
.angled-top {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
}

/* Decorative Blobs */
.deco-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.12; pointer-events: none; z-index: 0;
}
.blob-primary { width: 400px; height: 400px; background: var(--primary); }
.blob-secondary { width: 350px; height: 350px; background: var(--secondary); }

/* --- 5. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-accent {
  background: var(--grad-coral);
  color: white !important;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  color: white !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(255, 123, 84, 0.45);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1da851);
  color: white !important;
  box-shadow: var(--shadow-wa);
}
.btn-whatsapp:hover {
  color: white !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}
.btn-primary {
  background: var(--grad-primary);
  color: white !important;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-4px);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: white !important;
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary-dark) !important;
  transform: translateY(-4px);
}

.btn-lg { padding: 1.15rem 2.6rem; font-size: 1.05rem; }

/* --- 6. Floating Action Buttons --- */
.floating-btns {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}
.float-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.float-btn:hover, .float-btn:focus, .float-btn:active { transform: translateY(-5px) scale(1.08); }
.float-label {
  position: absolute;
  right: calc(100% + 14px);
  background: var(--bg-dark);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.float-btn:hover .float-label, .float-btn:focus .float-label, .float-btn:active .float-label { opacity: 1; }
.float-whatsapp {
  background: var(--whatsapp);
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}
.wa-pulse-ring {
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  background: rgba(37, 211, 102, 0.55) !important;
  z-index: -1 !important;
  pointer-events: none !important;
  -webkit-animation: whatsappPulseIOS 2s ease-out infinite !important;
  animation: whatsappPulseIOS 2s ease-out infinite !important;
  will-change: transform, opacity !important;
}
.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: -1;
  -webkit-animation: whatsappPulseIOS 2s ease-out infinite;
  animation: whatsappPulseIOS 2s ease-out infinite;
  will-change: transform, opacity;
}
@-webkit-keyframes whatsappPulseIOS {
  0% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
    opacity: 0.9;
  }
  70% {
    -webkit-transform: scale(1.65);
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1.65);
    transform: scale(1.65);
    opacity: 0;
  }
}
@keyframes whatsappPulseIOS {
  0% {
    -webkit-transform: scale(0.85);
    transform: scale(0.85);
    opacity: 0.9;
  }
  70% {
    -webkit-transform: scale(1.65);
    transform: scale(1.65);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1.65);
    transform: scale(1.65);
    opacity: 0;
  }
}
.float-call { background: var(--accent); }

/* --- 7. Inner Page Mini Hero --- */
.inner-hero {
  background: var(--grad-dark);
  position: relative;
  padding: 8.5rem 0 4.5rem;
  overflow: hidden;
  color: white;
  text-align: center;
}
.inner-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(0, 201, 167, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.inner-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.1;
}
.breadcrumbs {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
}
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs-sep { color: rgba(255,255,255,0.3); }

/* --- 8. Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: var(--transition);
}
#nav-root {
  height: 100%;
  width: 100%;
  display: block;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06);
  height: 76px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.75rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-name {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.1rem;
  color: white; transition: var(--transition);
}
.navbar.scrolled .nav-name { color: var(--text-dark); }
.nav-qual { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.65); transition: var(--transition); }
.navbar.scrolled .nav-qual { color: var(--text-muted); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nav-links li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.92rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.85);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.navbar.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--secondary); transition: var(--transition); transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }
.nav-links a:hover, .nav-links a.active { color: white; }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--primary); }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 4px 8px 4px 4px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 38px;
}
.navbar.scrolled .lang-switcher { background: var(--bg-light); border-color: var(--border); }
.lang-symbol-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.navbar.scrolled .lang-symbol-wrap {
  color: var(--text-dark);
}
.lang-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: none; background: transparent;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 0.78rem;
  cursor: pointer; transition: var(--transition);
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
}
.navbar.scrolled .lang-btn { color: var(--text-muted); }
.lang-btn.active { background: white; color: var(--primary); box-shadow: var(--shadow-sm); }
.navbar.scrolled .lang-btn.active { background: var(--primary); color: white; }

.nav-call {
  background: var(--grad-coral);
  color: white;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  box-shadow: var(--shadow-accent);
  line-height: 1.2;
}
.nav-call:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 123, 84, 0.4); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column;
  gap: 6px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 1002;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span { background: var(--text-dark) !important; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Menu Full Overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; flex-direction: column;
  justify-content: flex-start; align-items: center;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: var(--transition);
  overflow-y: auto;
  padding: 6.5rem 2rem 3rem;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; visibility: visible; }
.mob-links { display: flex; flex-direction: column; gap: 1.25rem; text-align: center; margin-bottom: 2rem; width: 100%; }
.mob-links a {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800; color: var(--text-dark);
  transition: var(--transition);
  display: block;
  width: 100%;
}
.mob-links a:hover { color: var(--secondary); }
.mob-actions { display: flex; flex-direction: column; gap: 0.85rem; align-items: center; width: 100%; max-width: 320px; }

@media (max-height: 580px) {
  .mobile-menu { padding: 5rem 1.5rem 2rem; }
  .mob-links { gap: 0.75rem; margin-bottom: 1.25rem; }
  .mob-links a { font-size: 1.15rem; }
  .mob-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.65rem; max-width: 100%; }
  .mob-actions .btn { padding: 0.65rem 1.25rem; font-size: 0.88rem; }
  .mob-actions .lang-switcher { margin-top: 0 !important; }
}

/* --- 9. HOME HERO --- */
.hero {
  min-height: 100vh;
  background: var(--bg-darker);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
}
/* Mesh gradient */
.hero-mesh {
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(27, 58, 107, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(0, 201, 167, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(255, 123, 84, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-deco-blob {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
  top: -150px; right: -100px; pointer-events: none;
}
.hero-container {
  max-width: 1200px; margin: 0 auto;
  padding: 5rem 1.75rem 6.5rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 2;
}
/* Content */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.3rem 0.5rem 0.5rem;
  margin-bottom: 1.8rem;
}
.hero-badge-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.hero-badge-text strong {
  display: block; font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700; color: white; line-height: 1.2;
}
.hero-badge-text small { font-size: 0.7rem; color: rgba(255,255,255,0.6); }

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800; color: white;
  line-height: 1.06; margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.hero-title span { display: block; }
.hero-subtitle {
  font-size: 1.2rem; font-weight: 600;
  color: var(--secondary); margin-bottom: 0.8rem;
}
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.72);
  line-height: 1.8; margin-bottom: 2.25rem; max-width: 480px;
}
.hero-ctas { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-trust-badge {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.9);
}
.hero-trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }

/* Image wrap */
.hero-img-wrap { position: relative; }
.hero-img-bg-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-img {
  width: 100%; max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: 0 35px 80px rgba(0,0,0,0.45);
  position: relative; z-index: 1;
  animation: heroImgFloat 6s ease-in-out infinite;
}
@keyframes heroImgFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Floating Glass Cards */
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 0.8rem;
  z-index: 2;
  transition: var(--transition);
}
.hero-floating-card:hover { transform: scale(1.05); }
.hero-card-1 {
  bottom: 30px; left: -35px;
  animation: heroImgFloat 6s ease-in-out infinite reverse;
}
.hero-card-2 {
  top: 25px; right: -25px;
  animation: heroImgFloat 6s ease-in-out infinite;
  text-align: center; display: block;
}
.hero-card-icon {
  width: 42px; height: 42px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: white;
}
.hero-floating-card strong {
  display: block; font-family: var(--font-heading);
  font-size: 0.95rem; font-weight: 800; color: var(--text-dark);
}
.hero-floating-card span { font-size: 0.75rem; color: var(--text-muted); }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 3; }
.hero-wave svg { width: 100%; height: 50px; display: block; }

/* --- 10. STATS (Home) --- */
.stats-section {
  background: var(--bg-white);
  padding: 4.5rem 0;
  position: relative;
  z-index: 4;
  margin-top: -25px;
}
.stats-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-card { text-align: center; position: relative; }
.stat-card+.stat-card::before {
  content: ''; position: absolute; left: -1rem; top: 15%; height: 70%;
  width: 1px; background: var(--border);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem; font-weight: 800;
  color: var(--primary); line-height: 1; margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }

/* --- 11. HOW IT WORKS (Home) --- */
.how-section { padding: 7.5rem 0; background: var(--bg-light); overflow: hidden; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem; position: relative; }
.how-grid::before {
  content: ''; position: absolute; top: 50px;
  left: 15%; right: 15%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--secondary) 0, var(--secondary) 8px, transparent 8px, transparent 18px);
}
.how-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; text-align: center;
  box-shadow: var(--shadow-md); position: relative; z-index: 2;
  transition: var(--transition);
  border: 1px solid rgba(15, 23, 42, 0.03);
}
.how-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.how-num {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
  border: 4px solid var(--bg-white); box-shadow: var(--shadow-md);
}
.how-icon {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  background: rgba(0, 201, 167, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; margin: 0.5rem auto 1.5rem;
}
.how-card-title {
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 700; color: var(--text-dark); margin-bottom: 0.65rem;
}
.how-card-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* --- 12. SERVICES PAGE & SERVICES GRID --- */
.services-section { padding: 7.5rem 0; background: var(--bg-white); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.85rem; margin-top: 3.5rem;
}
.service-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-primary); transform: scaleX(0);
  transition: var(--transition); transform-origin: left;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 66px; height: 66px; border-radius: var(--radius-md);
  background: rgba(27, 58, 107, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.85rem; margin-bottom: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--primary); color: white;
}
.service-card-title {
  font-family: var(--font-heading); font-size: 1.25rem;
  font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem;
}
.service-card-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }

/* --- 13. CONDITIONS PAGE & CONDITIONS GRID --- */
.conditions-section { padding: 7.5rem 0; background: var(--bg-light); }
.conditions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem; margin-top: 3.5rem;
}
.cond-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.cond-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.cond-card-emoji { font-size: 2.2rem; margin-bottom: 0.85rem; }
.cond-card-title {
  font-family: var(--font-heading); font-size: 0.95rem;
  font-weight: 700; color: var(--text-dark); line-height: 1.4;
}

/* --- 14. ABOUT PAGE & SECTION --- */
.about-section { padding: 7.5rem 0; background: var(--bg-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-deco {
  position: absolute; inset: 20px;
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  transform: rotate(-3deg); opacity: 0.1;
}
.about-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); position: relative; z-index: 1;
}
.about-badge {
  position: absolute; bottom: 30px; right: -30px;
  background: var(--bg-white); border-radius: var(--radius-md);
  padding: 1.25rem 1.6rem; box-shadow: var(--shadow-xl); z-index: 2;
  border: 1px solid var(--border);
}
.about-badge-num {
  font-family: var(--font-heading); font-size: 2.25rem;
  font-weight: 800; color: var(--primary); line-height: 1;
}
.about-badge-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-top: 2px; }

.about-desc { font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; color: var(--text-body); }
.about-exp-section { margin-bottom: 2rem; }
.about-exp-title {
  font-family: var(--font-heading); font-size: 0.85rem;
  font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.75rem;
}
.about-exp-pills { display: flex; flex-direction: column; gap: 0.65rem; }
.about-exp-pill {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-light); border-radius: var(--radius-md);
  padding: 0.7rem 1.2rem; border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--text-dark);
}
.about-exp-pill-icon { font-size: 1.2rem; }

.about-bullets { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.5rem; }
.about-bullet { display: flex; align-items: flex-start; gap: 0.8rem; }
.about-bullet-tick {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--success); font-size: 0.8rem; font-weight: bold; margin-top: 2px;
}
.about-bullet-text { font-size: 0.98rem; font-weight: 600; color: var(--text-dark); }

/* --- 15. TESTIMONIALS (Home/About) --- */
.testimonials-section { padding: 7.5rem 0; background: var(--bg-dark); color: white; overflow: hidden; }
.testimonials-section::before {
  content: '\201C';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  font-size: 320px; font-family: Georgia, serif;
  color: rgba(255,255,255,0.025); line-height: 1; pointer-events: none;
}
.testimonials-section .section-label { color: var(--secondary); background: rgba(0, 201, 167, 0.12); }
.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.6); }

.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  transition: var(--transition);
}
.testi-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
}
.testi-stars { color: #FFB01F; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1.1rem; }
.testi-quote {
  font-size: 1rem; color: rgba(255,255,255,0.85);
  line-height: 1.8; margin-bottom: 1.6rem; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 0.9rem; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem;
  color: white; flex-shrink: 0;
}
.testi-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: white; }
.testi-loc { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* --- 16. FAQ PAGE & ACCORDION --- */
.faq-section { padding: 7.5rem 0; background: var(--bg-light); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin-top: 3.5rem; align-items: start;
}
.faq-item {
  background: var(--bg-white); border-radius: var(--radius-md);
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--transition);
}
.faq-item.open {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.faq-q {
  width: 100%; padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; text-align: left; cursor: pointer;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
  color: var(--text-dark); transition: var(--transition-fast);
}
.faq-q:hover { color: var(--secondary-dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-primary); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0; transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--grad-mint); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-ans-inner { padding: 0 1.6rem 1.4rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-ans { max-height: 500px; }

/* --- 17. CONTACT PAGE & CTA --- */
.contact-section { padding: 7.5rem 0; background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5.5rem; align-items: center; }
.contact-info { position: relative; z-index: 2; }
.contact-info-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.15;
}
.contact-info-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 2.5rem; }
.contact-info-chips { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.contact-info-chip {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--bg-light); border-radius: var(--radius-md);
  padding: 1rem 1.4rem; border: 1px solid var(--border);
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-dark);
}
.contact-info-icon { font-size: 1.4rem; }

/* CTA card style for inner page bottoms */
.cta-banner {
  background: var(--grad-dark); color: white;
  padding: 5.5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 201, 167, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 2; }
.cta-banner .section-label { color: var(--accent); background: rgba(255, 123, 84, 0.12); }
.cta-banner .section-title { color: white; }
.cta-banner-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2.5rem; }
.cta-banner-ctas { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* --- 18. FOOTER --- */
.footer { background: var(--bg-darker); padding: 5rem 0 0; color: rgba(255,255,255,0.75); font-size: 0.92rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.6fr; gap: 3.5rem; margin-bottom: 3.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.25rem; }
.footer-logo-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}

.footer-brand-name {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: white;
}
.footer-tagline { line-height: 1.7; max-width: 280px; margin-bottom: 1.75rem; color: rgba(255,255,255,0.7); }
/* Social - Coded & Hidden */
.footer-social { display: none; gap: 0.75rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.95rem;
  transition: var(--transition-fast);
}
.social-icon:hover { background: var(--secondary); border-color: var(--secondary); color: white; }

.footer-col-title {
  font-family: var(--font-heading); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: white; margin-bottom: 1.5rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.7); transition: var(--transition-fast); }
.footer-links a:hover { color: var(--secondary); }

.footer-contacts { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-icon { font-size: 1.15rem; color: var(--secondary); margin-top: 1px; flex-shrink: 0; }
.footer-contact-text { color: rgba(255,255,255,0.75); line-height: 1.5; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-bar-links { display: flex; gap: 1.75rem; }
.footer-bar-links a { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-bar-links a:hover { color: var(--secondary); }

/* --- 19. Fade Scroll Animations --- */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1)  { transition-delay: 0.05s; }
.fade-up:nth-child(2)  { transition-delay: 0.12s; }
.fade-up:nth-child(3)  { transition-delay: 0.19s; }
.fade-up:nth-child(4)  { transition-delay: 0.26s; }
.fade-up:nth-child(5)  { transition-delay: 0.33s; }
.fade-up:nth-child(6)  { transition-delay: 0.40s; }

/* --- 20. Responsive --- */
.contact-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .contact-ctas {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    align-items: center;
  }
  .contact-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1200px) {

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-call { display: none; }
  
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 4rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding: 1.5rem 1.5rem 2rem;
  }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; margin-bottom: 1.75rem; }
  .hero-trust { justify-content: center; }
  
  .hero-img-wrap {
    order: 2;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
  }
  .hero-card-1, .hero-card-2 {
    position: relative;
    top: auto; bottom: auto; left: auto; right: auto;
    margin-top: 1rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2rem 1.5rem; }
  .stat-card+.stat-card::before { display: none; }
  
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-img-wrap { max-width: 420px; margin: 0 auto; }
  .about-badge { right: 0; }
  
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-qual { display: none; }
  .section-pad { padding: 4rem 0; }
  .hero {
    padding-top: calc(var(--nav-height) + 1.25rem);
  }
  .hero-container {
    padding: 1rem 1.25rem 2.5rem;
    gap: 2rem;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 1.75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust-badge {
    font-size: 0.76rem;
    padding: 0.3rem 0.85rem;
  }
  
  .floating-btns {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }
  .float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-grid::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { flex-direction: column; text-align: center; }
  .cta-banner-ctas { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .nav-logo-icon { width: 38px; height: 38px; }
  .nav-name { font-size: 0.95rem; }
  .lang-switcher { height: 32px; padding: 2px 6px 2px 2px; }
  .lang-btn { font-size: 0.72rem; padding: 0.25rem 0.55rem; }
  .hamburger { padding: 6px; }
  .hamburger span { width: 20px; }

  .hero-badge {
    padding: 0.4rem 1rem 0.4rem 0.4rem;
  }
  .hero-badge-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .hero-badge-text strong {
    font-size: 0.78rem;
  }
  .hero-badge-text small {
    font-size: 0.65rem;
  }

  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .stats-container { padding: 1.75rem 1.25rem; }
  .btn-lg { padding: 0.95rem 1.8rem; font-size: 0.95rem; }
}



/* Ensure mobile menu language switcher has dark text contrast on white background */
.mobile-menu .lang-switcher {
  background: var(--bg-light) !important;
  border-color: var(--border) !important;
}
.mobile-menu .lang-symbol-wrap {
  color: var(--text-dark) !important;
}
.mobile-menu .lang-btn {
  color: var(--text-muted) !important;
}
.mobile-menu .lang-btn.active {
  background: var(--primary) !important;
  color: white !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- 23. Default Browser Cursor Hiding (for Custom Cursor) --- */
@media (min-width: 768px) {
  html, body, a, button, input, select, textarea, [role="button"], label, .pain-card, .faq-q, .service-card, .condition-card, .testi-card {
    cursor: none !important;
  }
}

/* --- 24. Modern Horizontal Auto-Scrolling Testimonials Carousel --- */
.testi-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0 2rem;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testi-carousel-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  -webkit-animation: scrollTestimonials 40s linear infinite;
  animation: scrollTestimonials 40s linear infinite;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .testi-carousel-wrapper:hover .testi-carousel-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

@-webkit-keyframes scrollTestimonials {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes scrollTestimonials {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

.testi-card-carousel {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1.5px solid rgba(0, 201, 167, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}

.testi-card-carousel:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--secondary);
  box-shadow: 0 20px 45px rgba(0, 201, 167, 0.2);
}

.testi-quote-mark {
  font-size: 3rem;
  color: var(--secondary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: -1rem;
  font-family: Georgia, serif;
}

@media (max-width: 768px) {
  .testi-card-carousel {
    width: 300px;
    padding: 1.5rem;
  }
}

.physio-cursor-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.physio-cursor-wrapper.is-hidden {
  opacity: 0;
}


.physio-spine-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.physio-spine-line {
  fill: none;
  stroke: rgba(0, 201, 167, 0.45);
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-dasharray: 4 3;
}

.physio-cursor-dot {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #ffffff 30%, var(--secondary) 100%);
  border: 2px solid #00C9A7;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 201, 167, 0.8), 0 0 24px rgba(14, 165, 233, 0.5);
  pointer-events: none;
  transition: transform 0.05s ease-out, background-color 0.2s, border-color 0.2s;
  will-change: transform;
}

.physio-cursor-dot.is-hovered {
  background: var(--accent);
  border-color: #ffffff;
  box-shadow: 0 0 16px var(--accent);
}

.physio-cursor-ring {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 44px;
  height: 44px;
  border: 1.5px dashed rgba(0, 201, 167, 0.65);
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.04);
  backdrop-filter: blur(1px);
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, background 0.3s;
  will-change: transform;
}

.physio-cursor-ring.is-hovered {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  border: 2px solid var(--secondary);
  background: rgba(0, 201, 167, 0.12);
  box-shadow: 0 0 25px rgba(0, 201, 167, 0.3);
}

.physio-joint-node {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 201, 167, 0.6);
  pointer-events: none;
  will-change: transform;
}

.physio-cursor-wave {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.physio-cursor-wave.active {
  animation: physioPulseWave 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes physioPulseWave {
  0% { transform: scale(0.2); opacity: 0.9; border-color: var(--secondary); }
  100% { transform: scale(2.2); opacity: 0; border-color: var(--accent); }
}

/* --- 22. Interactive "Where Does It Hurt?" Selector Section --- */
.pain-selector-section {
  background: linear-gradient(180deg, #F8FAFC 0%, rgba(0, 201, 167, 0.05) 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pain-card {
  background: var(--bg-white);
  border: 1.5px solid rgba(0, 201, 167, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #0EA5E9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pain-card:hover, .pain-card.active {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 14px 35px rgba(0, 201, 167, 0.15);
}

.pain-card:hover::before, .pain-card.active::before {
  opacity: 1;
}

.pain-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.pain-card:hover .pain-icon {
  transform: scale(1.18);
}

.pain-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.pain-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pain-result-box {
  background: var(--bg-white);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .pain-result-box {
    flex-direction: column;
    text-align: center;
  }
}

