/* Hero Services only — 2026-11-16 | restrained three-card parity
   Retains the preferred colored top edge, neutral sides, and faint wash.
   Never applies to the global design, FAQs, legal notices, or other pages. */
body .service-quick-grid > .service-quick-card {
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #dce6e9;
  border-top: 3px solid var(--hero-service-accent);
  border-radius: 15px;
  background: linear-gradient(150deg, var(--hero-service-wash), #fff 84%);
  box-shadow: 0 4px 14px rgba(15, 48, 78, .06);
  color: #123b61;
}
body .service-quick-grid > .service-quick-card:nth-child(1) {
  --hero-service-accent: var(--hero-brand-rose);
  --hero-service-wash: #fff2f7;
}
body .service-quick-grid > .service-quick-card:nth-child(2) {
  --hero-service-accent: var(--hero-brand-green);
  --hero-service-wash: #f1f9f0;
}
body .service-quick-grid > .service-quick-card:nth-child(3) {
  --hero-service-accent: var(--hero-brand-purple);
  --hero-service-wash: #f8f2fc;
}
body .service-quick-card > strong {
  color: #123b61;
  line-height: 1.35;
}
body .service-quick-card .service-quick-action { margin-top: auto; }
body .service-quick-card:hover {
  border-color: #c9d9df;
  border-top-color: var(--hero-service-accent);
}
body .hero-services-next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  padding: .95rem 0 1.3rem;
  max-width: 1040px;
  color: #34556b;
  line-height: 1.5;
}
body .hero-services-next p { margin: 0; }
body .hero-services-next a {
  color: #123b61;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .19em;
}
body .hero-services-next a:hover { text-decoration-thickness: 2px; }
body .prose-page > :is(
  #person-centered-planning,
  #transition-into-self-determination,
  #independent-facilitation-after-enrollment,
  #planificacion-centrada-en-la-persona,
  #transicion-al-programa-de-autodeterminacion,
  #facilitacion-independiente-despues-de-la-inscripcion
){
  padding-top: clamp(1.6rem, 3vw, 2.35rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.35rem);
  scroll-margin-top: 105px;
}
body .prose-page > :is(
  #person-centered-planning,
  #transition-into-self-determination,
  #independent-facilitation-after-enrollment,
  #planificacion-centrada-en-la-persona,
  #transicion-al-programa-de-autodeterminacion,
  #facilitacion-independiente-despues-de-la-inscripcion
) > h2 {
  margin-bottom: .85rem;
  line-height: 1.35;
}
@media (max-width: 760px) {
  body .service-quick-grid { grid-template-columns: minmax(0, 1fr); }
  body .service-quick-grid > .service-quick-card { padding: 1.1rem; }
}
@media (forced-colors: active) {
  body .service-quick-grid > .service-quick-card {
    border: 1px solid CanvasText;
    border-top-width: 3px;
    background: Canvas;
    box-shadow: none;
    color: CanvasText;
  }
  body .service-quick-card > strong,
  body .hero-services-next a { color: LinkText; }
}
@media print {
  body .service-quick-grid > .service-quick-card {
    background: #fff;
    box-shadow: none;
  }
}
