/* Photos for the Shopify Plus, SFCC migration and Fractional CTO service pages. */
.svc-method-photo { margin: 28px 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #edf1e8; }
.svc-method-photo--portrait { aspect-ratio: 4 / 5; max-width: 300px; }
.svc-method-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.svc-proof { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: 36px; }
.svc-proof__photo { display: block; width: 100%; height: auto; aspect-ratio: 900 / 994; object-fit: cover; border-radius: 14px; }
.svc-proof__text p { font-size: 1.08rem; line-height: 1.65; margin: 0 0 24px; max-width: 60ch; }
.svc-proof__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-proof__stats li { border-top: 2px solid #c29648; padding-top: 12px; }
.svc-proof__stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; color: #16392e; }
.svc-proof__stats span { display: block; font-size: .88rem; color: #4f5e57; margin-top: 4px; }

.svc-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.svc-case { display: flex; flex-direction: column; background: #fffefa; border: 1px solid #cbd6ca; border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.svc-case:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 57, 46, .12); }
.svc-case img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.svc-case__body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.svc-case__body h3 { margin: 0; }
.svc-case__body p { margin: 0; }
.svc-case__body .link-arrow { margin-top: 6px; }

.svc-case:only-child { flex-direction: row; }
.svc-case:only-child img { width: 48%; height: auto; aspect-ratio: auto; align-self: stretch; object-fit: cover; }
.svc-case:only-child .svc-case__body { align-content: center; padding: 28px 32px; }

.svc-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .svc-proof { grid-template-columns: 1fr; }
  .svc-proof__photo { max-width: 320px; }
  .svc-guides { grid-template-columns: 1fr; }
  .svc-case:only-child { flex-direction: column; }
  .svc-case:only-child img { width: 100%; height: auto; aspect-ratio: 2 / 1; align-self: auto; }
}
@media (max-width: 560px) {
  .svc-proof__stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .svc-case { transition: none; } .svc-case:hover { transform: none; } }
