/* ============================================================
   HEALTH PLUS — SERVICES PAGE STYLES
   ============================================================ */

/* ── Filter Bar ──────────────────────────────────────────── */
.services-filter-wrap {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: var(--bg-primary);
  padding: 16px var(--section-pad-x);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
  margin-bottom: 0;
}

.services-filter-wrap.is-sticky {
  box-shadow: var(--shadow-nav);
}

.services-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.services-filter::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
  min-height: 36px;
}

.filter-btn:hover {
  color: var(--gold-whisper);
  border-color: var(--teal);
}

.filter-btn.active {
  background: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

/* ── Services Grid ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 48px;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

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

.service-card {
  padding: 28px 24px 24px;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth),
              opacity 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card .card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--card-radius);
}

.service-card-category {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-ice);
  margin-bottom: 16px;
  display: block;
}

.service-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--gold-whisper);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--ivory-smoke);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-expects {
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-expects li {
  font-size: 12px;
  font-weight: 300;
  color: var(--ivory-dim);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.service-card-expects li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-whisper);
  flex-shrink: 0;
  margin-top: 5px;
}

.service-card-link {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-whisper);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-smooth);
}

.service-card-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.25s var(--ease-smooth);
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-link:hover svg {
  transform: translateX(3px);
}

/* ── Process Section ─────────────────────────────────────── */
.process-section {
  background: var(--blue-pale);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  margin-top: 56px;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  /* Animated connector line */
  .process-steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, var(--teal) 0%, rgba(45,191,186,0.25) 100%);
    z-index: 0;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
  }

  .process-steps.is-visible::before {
    transform: scaleX(1);
  }
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Icon above the number */
.process-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
}

.process-step.is-visible .process-icon-wrap {
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(45,191,186,0.1), var(--shadow-card);
}

.process-step:hover .process-icon-wrap {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 0 8px rgba(45,191,186,0.12), var(--shadow-hover);
}

.process-icon {
  width: 24px;
  height: 24px;
}

.process-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 700;
  color: rgba(27,79,138,0.1);
  line-height: 1;
  margin-bottom: 14px;
  position: relative;
  transition: color 0.5s ease;
}

.process-step.is-visible .process-num {
  color: rgba(27,79,138,0.18);
}

.process-num span {
  position: relative;
  z-index: 1;
}

/* Pulsing ring around number */
.process-num::after {
  content: '';
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(45,191,186,0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring), opacity 0.5s ease;
  transition-delay: calc(var(--step, 0) * 0.15s + 0.3s);
}

.process-step.is-visible .process-num::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: process-ring-pulse 2.5s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * 0.5s + 1s);
}

@keyframes process-ring-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.4; }
  50%       { transform: translate(-50%, -50%) scale(1.35); opacity: 0.12; }
}

.process-title {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory-smoke);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--ivory-dim);
  line-height: 1.65;
}

/* ── Pricing Note ────────────────────────────────────────── */
.pricing-section {
  background: var(--blue-pale);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.pricing-note {
  font-size: 16px;
  font-weight: 300;
  color: var(--ivory-dim);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

.pricing-note strong {
  color: var(--gold-whisper);
}
