/* Fallback, only used if no matching template card is found on the page */
.services-section { padding: 3rem 1rem; background: #F7F8FA; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; }
.services-header h2 { margin: 0 0 .5rem; font-size: 1.75rem; }
.services-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px){ .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px 16px 56px;
  display: flex; flex-direction: column; min-height: 220px;
}
.service-card h3 { margin: 6px 0; font-size: 1.1rem; }
.service-card p { margin: 0 0 8px; color: #475569; }
.service-bullets { list-style: none; padding: 0; margin: 0 0 12px; }
.service-bullets li { position: relative; padding-left: 14px; margin: 6px 0; }
.service-bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: #94A3B8; border-radius: 999px; }
.btn {
  margin-top: auto; align-self: flex-start;
  background: #111827; color: #fff; text-decoration: none;
  padding: 10px 14px; border-radius: 10px; font-weight: 700;
}
.badge-new {
  position: absolute; right: 12px; top: 12px; background: #EEF2FF; color: #4338CA;
  border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 600;
}
/* Flash message for contact form (PRG) */
#services .form-status {
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}
#services .form-status.ok {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
#services .form-status.err {
  background: #FEF2F2;
  color: #7F1D1D;
  border: 1px solid #FECACA;
}
