/* 02 · Services — Schreyer Data & Automation
   Cream canvas. Each row = white pill card + large paper-cut scene sitting
   directly on the cream beside it, alternating sides, art overlapping the
   card edge so the two interlock. Coral CTA pill is the service action. */

.svc-section {
  position: relative;
  padding: 110px 40px 100px;
}

.svc-inner {
  max-width: var(--page-max-width); /* 1200px */
  margin: 0 auto;
}

/* ---------- Header ---------- */

.svc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: var(--spacing-60);
}

.svc-header-art {
  flex: none;
  margin-right: 56px;
}

.svc-chip {
  display: inline-block;
  border: 1.5px solid var(--color-coral-pop);
  border-radius: var(--radius-small); /* 10px — tiny chip */
  color: var(--color-ink-black);
  font-size: var(--text-body-sm); /* 15px */
  font-weight: var(--font-weight-medium);
  line-height: 1;
  padding: 8px 14px;
  margin-bottom: var(--spacing-20);
}

.svc-heading {
  font-size: 96px;
  font-weight: var(--font-weight-medium);
  line-height: 1.02;
  letter-spacing: var(--tracking-heading-lg); /* -4.86px = -0.06em at 81px */
  word-spacing: 0.02em;
  color: var(--color-ink-black);
}

/* ---------- Card + illustration split rows ---------- */

.svc-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-60); /* 60px row rhythm */
}

.svc-row {
  display: flex;
  align-items: center;
}

.svc-row:nth-child(even) {
  flex-direction: row-reverse;
}

.svc-card {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(720px, 100%);
  background: var(--color-pure-white);
  border-radius: var(--radius-cards); /* 50px */
  padding: 30px 40px;
  position: relative;
  z-index: 1;
}

/* Art interlocks with its card: odd rows the figure stands ON the card edge,
   even rows the pipe/stack tucks BEHIND it and the card clips the shape */
.svc-art {
  flex: 1;
  display: flex;
  position: relative;
}

.svc-row:nth-child(odd) .svc-art {
  justify-content: flex-start;
  margin-left: -110px;
  z-index: 2;
}

.svc-row:nth-child(even) .svc-art {
  justify-content: flex-end;
  margin-right: -120px;
  z-index: 0;
}

.svc-art svg {
  flex: none;
}

.svc-card-title {
  font-size: 46px;
  letter-spacing: -0.03em;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-heading-sm); /* 1.2 */
  color: var(--color-ink-black);
  margin-bottom: 10px;
}

.svc-card-body {
  font-size: var(--text-body-lg);
  font-weight: var(--font-weight-regular);
  line-height: 1.5;
  color: var(--color-ink-black);
  max-width: 50ch;
  margin-bottom: 18px;
}

/* ---------- Coral CTA pill — the service-level action ---------- */

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-coral-pop);
  border-radius: var(--radius-buttons); /* 50px */
  color: var(--color-pure-white);
  font-size: var(--text-body-sm); /* 15px */
  font-weight: var(--font-weight-medium);
  line-height: 1;
  padding: 12px 36px 12px 22px;    /* right pad holds the dot */
  --btn-pad: 14px;
  --btn-shift: 14px;
}

.svc-btn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pure-white);
  flex: none;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 1060px) {
  .svc-row,
  .svc-row:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .svc-row:nth-child(odd) .svc-art { margin-left: 0; justify-content: center; width: 100%; }
  .svc-row:nth-child(even) .svc-art { margin-right: 0; justify-content: center; width: 100%; }
}

@media (max-width: 760px) {
  .svc-section { padding: 96px 24px 90px; }
  .svc-heading { font-size: var(--text-heading); letter-spacing: var(--tracking-heading); line-height: var(--leading-heading); }
  .svc-card { padding: 28px; }
  .svc-art svg { width: 240px; height: 240px; }
  .svc-header-art { margin-right: 0; }
  .svc-header-art svg { width: 110px; height: 110px; }
}

/* keyed character animation slots */
.svc-art video { display: block; height: auto; flex: none; }
.svc-video-agents { width: 540px; }
.svc-video-automation { width: 680px; }
.svc-video-software { width: 540px; }

.svc-video-data { width: 510px; }


/* ---------- header animation + scattered atmosphere ---------- */

.svc-build-video { display: block; width: 105px; height: auto; max-width: none; }




@media (max-width: 1180px) {
  .svc-build-video { width: 76px; }
}

.svc-cluster { right: 9%; top: 57%; }

/* left-margin trios beside Workflow automation and Custom software
   (both bands measured empty: 3% and 0% content) */
.svc-cluster-2 { left: 54px; top: 941px;  }
.svc-cluster-3 { left: 46px; top: 1961px; }
