#services {
  background: #edf3f9;
}
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 24px;
  overflow: hidden;
  margin-bottom: 16px;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 18px;
  background: radial-gradient(ellipse at 100% 0%, #285b8d, transparent 65%), #102b4b;
  color: #e4eef8;
}
#services .services-intro h2 {
  margin: 0 0 12px;
  color: #fff;
}
.services-intro p {
  max-width: 42ch;
  margin: 0;
}
.services-intro img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}
#services .services-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
#services .service-card {
  padding: clamp(16px, 3vw, 28px);
  border-top: 3px solid var(--service-edge);
}
.service-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.service-card:nth-child(1) { --service-edge: #548ab5; }
.service-card:nth-child(2) { --service-edge: #3b69a9; }
.service-card:nth-child(3) { --service-edge: #187d83; }
.service-card:nth-child(4) { --service-edge: #9a7044; }
.service-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #edf4fa;
  color: #15395d;
}
.service-symbol svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#services .service-card h3 { margin: 0 0 5px; }
.service-details {
  margin-top: 15px;
  border-top: 1px solid #dce6ef;
}
.service-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  color: #154d82;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.service-details[open] summary::after { transform: rotate(225deg); }
.service-details summary:focus-visible { outline: 2px solid #0758bd; outline-offset: 2px; }
#services .service-details p { margin-top: 2px; }
.services-contact { margin: 24px 0 0; }
@media (max-width: 680px) {
  #services .services-list, .services-intro { grid-template-columns: minmax(0, 1fr); }
  .services-intro { gap: 16px; }
  .services-intro img { max-width: 420px; }
  #services .service-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #services .service-card, .service-details summary::after { transition: none; }
}
