/* ==========================================================================
   Algenturo — "Related services" section (service pages only)
   Sits between the process section and the green call-to-action box.
   ========================================================================== */

.related-services { padding: 90px 0; border-top: 1px solid #222126; }

.related-heading { margin-bottom: 34px; }
.related-heading .eyebrow { margin-bottom: 18px; }
.related-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -2.6px; line-height: 1.1; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px 20px 24px;
  border: 1px solid #27262b;
  border-radius: 4px;
  background: #101013;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.related-card:hover,
.related-card:focus-visible { border-color: rgb(189 255 99 / 45%); background: #131316; transform: translateY(-3px); }
.related-card:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.related-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.related-card .service-icon svg,
.related-card .service-icon img { display: block; width: 20px; height: 20px; object-fit: contain; }

.related-arrow { color: #77747e; font-size: 16px; transition: color .25s ease, transform .25s ease; }
.related-card:hover .related-arrow,
.related-card:focus-visible .related-arrow { color: var(--lime); transform: translate(3px, -3px); }

.related-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.4px; transition: color .25s ease; }
.related-card:hover h3 { color: var(--lime); }
.related-card p { margin: 0; color: #96939c; font-size: 15px; line-height: 1.6; }

/* Tablets: still three across, slightly tighter */
@media (max-width: 900px) {
  .related-services { padding: 70px 0; }
  .related-card { min-height: 0; padding: 20px 18px 22px; }
  .related-card h3 { font-size: 17px; }
  .related-card p { font-size: 14px; }
}

/* Phones: one card per row */
@media (max-width: 600px) {
  .related-services { padding: 60px 0; }
  .related-heading { margin-bottom: 26px; }
  .related-heading h2 { font-size: 34px; letter-spacing: -2px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-top { margin-bottom: 18px; }
  .related-card h3 { font-size: 18px; }
  .related-card p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .related-card, .related-arrow, .related-card h3 { transition: none; }
  .related-card:hover, .related-card:focus-visible { transform: none; }
}
