/* Corporate service cards — keeps the existing grid while strengthening hierarchy. */
.services {
  background: linear-gradient(180deg, #f7f8fb 0%, #f1f3f8 100%);
}

.services-grid {
  counter-reset: service;
  gap: 18px;
}

.services-grid article {
  counter-increment: service;
  position: relative;
  overflow: hidden;
  min-height: 255px;
  padding: 31px 30px 28px;
  border: 1px solid #e2e6ee;
  border-radius: 4px;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.services-grid article::before {
  content: "0" counter(service);
  position: absolute;
  top: 21px;
  right: 24px;
  color: #a7afc0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.services-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 52px;
  background: #ffe600;
}

.services-grid article:nth-child(even)::after { background: #3030c9; }
.services-grid article:hover { transform: translateY(-7px); border-color: #cbd2df; box-shadow: 0 18px 38px rgba(30, 42, 76, .12); }
.services-grid i { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid #dce1ea; border-radius: 50%; background: #fff; font-size: 25px; }
.services-grid i img { width: 39px; height: 39px; object-fit: contain; }
.services-grid h3 { max-width: 85%; margin: 25px 0 13px; font-size: 22px; line-height: 1.05; }
.services-grid p { margin: 0; max-width: 30ch; font-size: 14px; line-height: 1.65; }

@media (max-width: 800px) {
  .services-grid article { min-height: 235px; }
}

.services-grid-detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.services-grid-detailed article {
  min-height: 0;
}

.services-grid-detailed h4 {
  margin: 22px 0 9px;
  padding-top: 14px;
  border-top: 1px solid #e6e8ed;
  color: #1a1b65;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.services-grid-detailed p,
.services-grid-detailed li {
  max-width: none;
  color: #4d5363;
  font-size: 13px;
  line-height: 1.55;
}

.services-grid-detailed ol,
.services-grid-detailed ul {
  margin: 0;
  padding-left: 20px;
}

.services-grid-detailed li + li { margin-top: 5px; }
.services-grid-detailed details { margin-top: 23px; }
.services-grid-detailed summary {
  cursor: pointer;
  color: #1d246f;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.services-grid-detailed summary::after { content: " +"; color: #3030c9; }
.services-grid-detailed details[open] summary::after { content: " −"; }
.services-grid-detailed details > *:not(summary) { margin-top: 14px; }
.services-note { margin-top: 28px; color: #626a7b; font-size: 12px; }

@media (max-width: 800px) {
  .services-grid-detailed { grid-template-columns: 1fr; }
}
