/* Service pages (site/services/<slug>/). Built on styles.css and work/case.css.
   --tint is set per service on <body>, from site/services/services.json. */

.svc-hero .case-cta-actions { margin-top: 32px; }

.svc-section { padding: clamp(40px, 5vw, 72px) 0; }
.svc-section h2,
.svc-h2 { margin: 0 0 clamp(24px, 3vw, 40px); font: 700 clamp(1.6rem, 1rem + 2vw, 2.6rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.svc-h2::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 14px; border-radius: 3px; background: var(--tint); vertical-align: .15em; }

/* Heading on the left, content on the right */
.svc-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px; align-items: start; }
.svc-split h2 { margin: 0; }
@media (max-width: 760px) { .svc-split { grid-template-columns: 1fr; } }

.svc-fit { margin: 0; gap: 14px; }
.svc-fit li { font-size: var(--step-1); line-height: 1.5; color: #d7d6cf; }

/* What you get */
/* Six cards: 3 across on desktop, 2 on tablets, 1 on phones, so no row is left half empty */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } }
.svc-card { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: #1b1b1a; transition: border-color .25s var(--ease); }
.svc-card:hover { border-color: var(--line-strong); }
.svc-card-top { display: flex; align-items: center; justify-content: space-between; }
.svc-card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 28%, transparent);
}
.svc-card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.svc-card:hover .svc-card-icon svg { transform: scale(1.1) rotate(-4deg); }
.svc-card-n { color: #6f6e68; font: 600 .875rem/1 var(--font-display); }
.svc-card h3 { margin: 20px 0 8px; font: 600 1.125rem/1.3 var(--font-display); letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) { .svc-card-icon svg { transition: none; } }
.svc-card p { margin: 0; color: var(--ash); line-height: 1.55; }

/* How it works */
.svc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.svc-step { position: relative; padding-top: 22px; border-top: 2px solid var(--line-strong); }
.svc-step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--carbon); font: 700 .9375rem/1 var(--font-display); }
.svc-step h3 { margin: 16px 0 8px; font: 600 1.125rem/1.3 var(--font-display); }
.svc-step p { margin: 0; color: var(--ash); line-height: 1.55; }
@media (max-width: 900px) { .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .svc-steps { grid-template-columns: 1fr; } }

/* Related work */
.svc-work { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0; list-style: none; }
.svc-work-card { display: grid; gap: 6px; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 20px; color: var(--paper); text-decoration: none; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 14%, #1b1b1a), #1b1b1a 60%); transition: border-color .25s var(--ease), translate .25s var(--ease); }
.svc-work-card:hover { border-color: var(--line-strong); translate: 0 -3px; }
.svc-work-thumb { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; border-radius: 12px; }
.svc-work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.svc-work-type { padding: 0 6px; color: var(--ash); font-size: var(--step--1); font-weight: 600; }
.svc-work-title { padding: 0 6px; font: 600 1.0625rem/1.3 var(--font-display); }

/* Other services */
.svc-others { padding-bottom: clamp(56px, 7vw, 112px); }
.svc-other-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.svc-other { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--paper); font-weight: 600; text-decoration: none; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.svc-other:hover { border-color: var(--tint); background: rgba(255, 255, 255, .04); }
.svc-other svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
