/* ===== (05) Services — Figma 3280:21642 ===== */

.services { padding: 140px 0 70px; }
.services__head .btn-cta { margin-top: 24px; }

.service-list { display: flex; flex-direction: column; gap: 72px; margin-top: 72px; }

.service-card {
  display: flex; gap: 20px; align-items: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink-navy);
  transform-origin: 50% 0;
  will-change: transform;
}
.service-card--mint   { background: linear-gradient(180deg, #c6f4d9 0%, #b0f0cb 68%, #baf2d1 100%); }
.service-card--yellow { background: linear-gradient(180deg, #efdb78 0%, #ffe45c 68%, #ffe76c 100%); }
.service-card--lilac  { background: linear-gradient(180deg, #d8c6fa 0%, #cab1f7 68%, #d0baf8 100%); }
.service-card--rose   { background: linear-gradient(180deg, #f9bfbe 0%, #ffb4b3 68%, #fec4c3 100%); }

/* Cards stack on scroll: each sticks below the header and the next slides over it. */
@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
  .service-card { position: sticky; top: calc(48px + var(--i) * 18px); }
}

.service-card__body {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  align-self: stretch;
  min-height: 560px;
  padding: 20px 20px 150px;
}
.service-card__num { font-weight: 500; font-size: 15px; line-height: 18px; }
.service-card__copy { display: flex; flex-direction: column; gap: 16px; max-width: 569px; }
.service-card__title {
  font-weight: 400;
  font-size: clamp(40px, 3.334vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 504px;
  text-wrap: balance;
}
.service-card__text { max-width: 504px; font-size: clamp(18px, 1.146vw, 22px); line-height: 1.5; letter-spacing: -0.01em; color: rgba(11, 11, 40, 0.6); }
.service-card__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.service-card__chips li {
  padding: 6px 12px;
  border-radius: 99px;
  background: #fff;
  font-size: 14px;
  color: rgba(11, 13, 12, 0.8);
  transition: transform 0.3s var(--ease-out);
}
.service-card__chips li:hover { transform: translateY(-2px); }

/* Illustrations are transparent PNG/WebP (2x) sitting straight on the card
   gradient — no box, no crop (Figma 3391:656). */
.service-card__media { flex: 0 0 auto; width: calc((100% - 20px) * 0.5863); height: 560px; } /* 1027 of 1752 */
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom;
  transition: transform 1.2s var(--ease-expo, cubic-bezier(0.16, 1, 0.3, 1));
  transform-origin: 50% 90%;
}
.service-card:hover .service-card__media img { transform: scale(1.03) translateY(-6px); }

@media (max-width: 1280px) { .service-card__body { padding-bottom: 60px; } }
@media (max-width: 1024px) {
  .services { padding-top: 96px; }
  .service-list { gap: 32px; margin-top: 48px; }
  .service-card { flex-direction: column; align-items: stretch; }
  .service-card__body { flex: none; min-height: 0; padding: 12px 12px 8px; gap: 48px; } /* flex-basis 0 collapsed the text in column mode */
  .service-card__media { flex: none; width: 100%; height: auto; aspect-ratio: 1027 / 560; }
}
@media (max-width: 640px) {
  .service-card { padding: 12px; border-radius: 24px; }
}
