/* Services page */
.mf-services-page {
  font-family: "Outfit", sans-serif;
  color: var(--mf-text, #334155);
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(700px 360px at 95% 40%, rgba(20,184,166,0.12), transparent 55%),
    #f8fbff;
}

.mf-services-page h1,
.mf-services-page h2,
.mf-services-page h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--mf-ink, #0c4a6e);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.mf-svc-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.mf-svc-intro__panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(14,165,233,0.12);
  box-shadow: 0 14px 34px rgba(12,74,110,0.07);
}

.mf-svc-intro__panel h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.mf-svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mf-svc-pills li {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  color: #0c4a6e;
  background: #e0f2fe;
}

.mf-svc-pills li:nth-child(2) { background: #ccfbf1; }
.mf-svc-pills li:nth-child(3) { background: #fef3c7; }

.mf-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mf-svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(14,165,233,0.1);
  box-shadow: 0 12px 28px rgba(12,74,110,0.06);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}

.mf-svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(14,165,233,0.16);
  text-decoration: none !important;
  color: inherit;
}

.mf-svc-card__media {
  position: relative;
  height: 180px;
  background: center/cover no-repeat;
}

.mf-svc-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12,74,110,0.45));
}

.mf-svc-card__num {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0c4a6e;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.mf-svc-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mf-svc-card__body h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.mf-svc-card__body p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #64748b;
  flex: 1;
}

.mf-svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0ea5e9;
  transition: gap 0.25s ease, color 0.25s ease;
}

.mf-svc-card:hover .mf-svc-card__more {
  gap: 12px;
  color: #14b8a6;
}

/* Process */
.mf-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mf-process__item {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid rgba(14,165,233,0.1);
  box-shadow: 0 10px 24px rgba(12,74,110,0.05);
  text-align: center;
  transition: transform 0.25s ease;
}

.mf-process__item:hover { transform: translateY(-5px); }

.mf-process__item strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  box-shadow: 0 10px 20px rgba(14,165,233,0.25);
}

.mf-process__item:nth-child(2) strong { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 10px 20px rgba(245,158,11,0.25); }
.mf-process__item:nth-child(3) strong { background: linear-gradient(135deg, #14b8a6, #34d399); box-shadow: 0 10px 20px rgba(20,184,166,0.25); }
.mf-process__item:nth-child(4) strong { background: linear-gradient(135deg, #fb7185, #f472b6); box-shadow: 0 10px 20px rgba(251,113,133,0.25); }

.mf-process__item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.mf-process__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 991px) {
  .mf-svc-intro { grid-template-columns: 1fr; }
  .mf-svc-grid { grid-template-columns: 1fr 1fr; }
  .mf-process { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .mf-svc-grid,
  .mf-process { grid-template-columns: 1fr; }
}