/* Services index — static layout, no builder grid or entrance opacity. */

.nmf-services {
  --nmf-s-ink: #1a1c4d;
  --nmf-s-muted: #4e5260;
  --nmf-s-navy: #242666;
  --nmf-s-blue: #0047c7;
  box-sizing: border-box;
  width: 100%;
  color: var(--nmf-s-ink);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  background: #f4f6fb;
}

.nmf-services *,
.nmf-services *::before,
.nmf-services *::after {
  box-sizing: border-box;
}

.nmf-services__hero {
  padding: 4.5rem 1.25rem 3.5rem;
  background: var(--nmf-s-navy);
  color: #fff;
  text-align: center;
}

.nmf-services__hero-inner,
.nmf-services__wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.nmf-services__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9d4ff;
}

.nmf-services__hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.nmf-services__hero p {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #e6e8f5;
}

.nmf-services__wrap {
  padding: 3rem 1.25rem 4rem;
}

.nmf-services__intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.nmf-services__intro h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: var(--nmf-s-ink);
}

.nmf-services__intro p {
  margin: 0;
  color: var(--nmf-s-muted);
  line-height: 1.55;
}

.nmf-services__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.nmf-services__notes li {
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(36, 38, 102, 0.1);
  border-radius: 14px;
}

.nmf-services__notes h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
}

.nmf-services__notes p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--nmf-s-muted);
}

.nmf-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.nmf-services__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(36, 38, 102, 0.1);
  color: inherit;
  text-decoration: none;
}

.nmf-services__card:hover {
  border-color: rgba(0, 71, 199, 0.35);
}

.nmf-services__card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e8ebf4;
}

.nmf-services__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.3rem;
}

.nmf-services__card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--nmf-s-ink);
}

.nmf-services__card p {
  margin: 0;
  color: var(--nmf-s-muted);
  line-height: 1.5;
}

.nmf-services__more {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--nmf-s-blue);
}

.nmf-services__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}

.nmf-services__cta a {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.nmf-services__cta a:first-child {
  background: var(--nmf-s-blue);
  color: #fff;
}

.nmf-services__cta a:last-child {
  background: #fff;
  color: var(--nmf-s-ink);
  border: 1px solid rgba(36, 38, 102, 0.16);
}

@media (max-width: 800px) {
  .nmf-services__notes,
  .nmf-services__grid {
    grid-template-columns: 1fr;
  }

  .nmf-services__hero {
    padding: 3rem 1rem 2.5rem;
  }
}
