/* ── Services page extras ─────────────────────────────────── */

/* Hero */
.services-hero .hero-content { max-width: 680px; }

/* Service cards grid — 3-col on desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px)  { .services-grid { grid-template-columns: 1fr; } }

/* Reuse erp-module-card style but with a cyan top-bar accent */
.service-card {
  background: var(--bg2);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), #77ecff);
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,212,255,.08);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: 13px; font-weight: 800;
  color: var(--cyan);
  letter-spacing: .5px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-h);
  font-size: 17px; font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14px; line-height: 1.75;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.service-card ul li {
  color: var(--text-muted);
  font-size: 13px;
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: '›';
  position: absolute; left: 0;
  color: var(--cyan);
  font-size: 15px; line-height: 1.3;
}
body.ar .service-card ul li { padding-left: 0; padding-right: 18px; }
body.ar .service-card ul li::before { left: auto; right: 0; }

/* "How it works" process strip */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 700px) { .process-strip { grid-template-columns: 1fr 1fr; } }
.process-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border-dim);
  background: var(--bg2);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-h);
  font-size: 36px; font-weight: 800;
  color: var(--cyan-dim);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h4 {
  font-family: var(--font-h);
  font-size: 14px; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.process-step p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* Stack comparison: Products vs Services */
.stack-section { margin-top: 96px; }
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 700px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-card {
  background: var(--bg2);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 32px;
}
.stack-card.highlight { border-color: var(--border); }
.stack-badge {
  display: inline-block;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: var(--font-h);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.stack-card h3 {
  font-family: var(--font-h);
  font-size: 20px; font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.stack-card p { color: var(--text-muted); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.stack-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.stack-list li {
  color: var(--text-muted); font-size: 14px;
  padding-left: 20px; position: relative;
}
.stack-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--cyan); font-size: 13px;
}
body.ar .stack-list li { padding-left: 0; padding-right: 20px; }
body.ar .stack-list li::before { left: auto; right: 0; }

/* CTA band */
.services-cta-band {
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(0,212,255,.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  margin-top: 80px;
}
.services-cta-band h2 {
  font-family: var(--font-h);
  font-size: clamp(20px,3vw,28px);
  font-weight: 800; color: var(--text);
  margin-bottom: 8px;
}
.services-cta-band p { color: var(--text-muted); font-size: 15px; max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
