/* Carbon Confido — Services page
   Builds on pages.css (.split, .split-media, .frame, .pill, .tick-list).
   Breakpoints: desktop ≥1100 · iPad 768–1099 · mobile <768 */

/* ---------- Three alternating rows ---------- */
.svc-rows { display: grid; gap: calc(var(--sy) * 2); padding: var(--sy) 0; }   /* each row spaced like a homepage section (--sy above + --sy below) */
.svc-row, .svc-row.is-reverse { grid-template-columns: 1fr 1fr; gap: 56px; }   /* same columns and gap as the About page */

/* Text column */
.svc-title { color: var(--green); font-size: 35px; font-weight: 600; letter-spacing: -.01em; line-height: var(--lh-heading); margin-bottom: 24px; }   /* desktop 35px (iPad/mobile --fs-h3 below); 24px under every big heading site-wide */
.svc-text > p:not(.pill) { font-size: var(--fs-body); }
.svc-text .pill { margin-top: 18px; font-size: var(--fs-xs); padding: 2px 11px; }   /* smaller label: 12px text, tighter box (pill is 14px / 3px 14px elsewhere) */
.svc-text .tick-list { margin-top: 18px; gap: 2px; }   /* same 18px as every other block gap */
.svc-text .tick-list li { font-size: 15px; }   /* bullet points: smaller than the paragraphs (iPad/mobile below) */
.svc-note { margin-top: 18px; }

/* Photo: near-square with the offset green outline from .frame (right + below, as in the design) */
.svc-row .split-media img { height: auto; aspect-ratio: 506 / 513; }   /* height:auto lets aspect-ratio win over the height attribute */

/* =========================================================
   iPad (768 – 1099)
   ========================================================= */
@media (max-width: 1099px) {
  .svc-title { font-size: var(--fs-h3); }   /* iPad 28px, mobile 24px */
  .svc-text .tick-list li { font-size: var(--fs-sm); }   /* 14px on iPad and mobile */
  /* .svc-rows spacing follows --sy */
  .svc-row, .svc-row.is-reverse { grid-template-columns: 1fr 1fr; gap: 44px; }
  .svc-row .split-media img { aspect-ratio: 1 / 1; }
}

/* =========================================================
   Mobile (< 768) — stacked, photo always above its text
   ========================================================= */
@media (max-width: 767px) {
  /* .svc-rows spacing follows --sy */
  .svc-row, .svc-row.is-reverse { grid-template-columns: 1fr; gap: 32px; }
  .svc-row .split-media { order: -1; margin-right: 8px; }   /* room for the outline offset */
  .svc-row .split-media img { aspect-ratio: 4 / 3; }
}
