/* ============================================================
   WebUp Growth — post-launch services
   Homepage only. Extends the shared design system without
   changing any niche-page styles.
   ============================================================ */

.services{
  padding:var(--s10) 0;
  border-top:1px solid var(--hair);
  background:var(--bg);
  scroll-margin-top:76px;
}

.services-head{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
  align-items:end;
  gap:clamp(36px,7vw,96px);
  margin-bottom:var(--s7);
}
.services-head h2{
  max-width:17ch;
  margin-top:16px;
  font-size:var(--t-4xl);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.04em;
}
.services-head h2 span{ color:var(--muted); }
.services-intro p{
  margin:0;
  max-width:52ch;
  color:var(--ink-2);
  font-size:var(--t-lg);
  line-height:1.55;
}
.services-intro .services-note{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--hair);
  color:var(--muted);
  font-size:var(--t-sm);
}

.service-feature{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);
  align-items:end;
  gap:var(--s8);
  padding:clamp(32px,5vw,64px);
  border-radius:var(--radius-lg);
  background:var(--ink);
  color:#fff;
  overflow:hidden;
}
.service-feature-copy{ max-width:700px; }
.service-overline{
  display:block;
  margin-bottom:var(--s5);
  color:rgba(255,255,255,.62);
  font-size:var(--t-xs);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.service-feature h3{
  max-width:18ch;
  font-size:var(--t-3xl);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.035em;
}
.service-feature p{
  max-width:60ch;
  margin:var(--s5) 0 0;
  color:rgba(255,255,255,.72);
  font-size:var(--t-base);
  line-height:1.65;
}
.service-feature-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}
.service-feature-tags span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:9px 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.88);
  font-size:var(--t-sm);
  white-space:nowrap;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--s4);
  margin-top:var(--s4);
}
.service-card{
  min-height:260px;
  padding:var(--s6);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:var(--s7);
  border:1px solid var(--hair);
  border-radius:var(--radius);
  background:var(--card);
  transition:transform .35s var(--ease-2), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{
  transform:translateY(var(--lift));
  border-color:var(--hair-2);
  box-shadow:var(--shadow);
}
.service-number{
  align-self:flex-start;
  color:var(--faint);
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:.06em;
}
.service-card h3{
  margin-bottom:10px;
  font-size:var(--t-xl);
  line-height:1.2;
  letter-spacing:-.025em;
}
.service-card p{
  margin:0;
  color:var(--muted);
  font-size:var(--t-sm);
  line-height:1.6;
}

.services-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--s7);
  margin-top:var(--s4);
  padding:clamp(28px,4vw,48px);
  border:1px solid #dfe4ed;
  border-radius:var(--radius-lg);
  background:var(--accent-soft);
}
.services-cta h3{
  margin-top:10px;
  font-size:var(--t-2xl);
  line-height:1.15;
}
.services-cta p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:var(--t-sm);
}
.services-cta .btn{ flex:0 0 auto; }

@media (max-width:1050px){
  .service-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-card{ min-height:230px; }
}

@media (max-width:820px){
  .services{ padding:var(--s9) 0; }
  .services-head,
  .service-feature{ grid-template-columns:1fr; }
  .services-head{ align-items:start; gap:var(--s6); }
  .service-feature{ gap:var(--s7); }
  .service-feature-tags{ justify-content:flex-start; }
  .services-cta{ align-items:flex-start; flex-direction:column; }
}

@media (max-width:560px){
  .services{ padding:var(--s8) 0; }
  .services-head{ margin-bottom:var(--s6); }
  .services-head h2{ font-size:var(--t-3xl); }
  .services-intro p{ font-size:var(--t-base); }
  .service-feature{ padding:var(--s6); border-radius:var(--radius); }
  .service-feature h3{ font-size:var(--t-2xl); }
  .service-grid{ grid-template-columns:1fr; }
  .service-card{ min-height:0; gap:var(--s6); }
  .services-cta{ padding:var(--s6); border-radius:var(--radius); }
  .services-cta .btn{ width:100%; white-space:normal; text-align:center; }
}

@media (prefers-reduced-motion:reduce){
  .service-card{ transition:none; }
}
