﻿/* ErsSoft Services â€” page-scoped styling */
.services-page .section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 36px 42px;
}
.services-page .section > h1,
.services-page .section > h2 { margin-top: 0; }
.services-page .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 30px;
}
.services-page .software-products { padding-top: 12px; }
.services-page .software-products-intro { color: #c7cbe6; max-width: 800px; }
.services-page .software-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 24px;
}
/* Same rules for consulting cards and product cards. */
.services-page .grid > .card,
.services-page .software-products-grid > .card {
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
  background: #12183a;
  border-radius: 16px;
  padding: 26px 22px;
}
.services-page .grid > .card h3,
.services-page .software-products-grid > .card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
}
.services-page .grid > .card > p,
.services-page .software-products-grid > .card > p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.services-page .grid > .card > p.service-read-more,
.services-page .software-products-grid > .card > p.service-read-more {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}
.services-page .service-read-more a {
  color: #fff;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.services-page .service-read-more a:hover,
.services-page .service-read-more a:focus-visible { color: #a8c7ff; }
.services-page .cta {
  background: linear-gradient(135deg, #4f6cff, #5d7bff);
  padding: 24px 36px;
  text-align: center;
  margin-top: 24px;
}
.services-page .cta h2 { font-size: 32px; margin: 0 0 20px; }
.services-page .cta p { color: #e5e8ff; font-size: 18px; margin: 0 0 24px; }
.services-page .btn {
  display: inline-block;
  padding: 16px 32px;
  background: #fff;
  color: #4f6cff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .services-page .section { padding: 28px 24px 36px; }
  .services-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-page .software-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .services-page .section { padding: 24px 18px 32px; }
  .services-page .grid,
  .services-page .software-products-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .services-page .grid > .card,
  .services-page .software-products-grid > .card { padding: 22px 20px; }
  .services-page .grid > .card h3,
  .services-page .software-products-grid > .card h3 { font-size: 21px; }
  .services-page .grid > .card > p,
  .services-page .software-products-grid > .card > p { font-size: 15px; }
  .services-page .grid > .card > p.service-read-more,
  .services-page .software-products-grid > .card > p.service-read-more { font-size: 14px; }
  .services-page .cta { padding: 24px 18px; }
  .services-page .cta h2 { font-size: 26px; }
}

