/* =========================================================
   Services page
   ========================================================= */
section { max-width: 1240px; margin: 0 auto; }

/* Hero */
.hero {
  max-width: none;
  min-height: 74vh;
  margin-top: 24px;
  padding: 90px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(640px 360px at 50% 30%, rgba(79, 140, 255, 0.22), transparent 70%),
    linear-gradient(rgba(6, 8, 15, 0.6), rgba(6, 8, 15, 0.95)),
    url('../assests/hero/tech.jpg') center / cover no-repeat;
}
.hero h2 {
  max-width: 960px;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #b9ccff 55%, #a99bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p {
  max-width: 760px;
  margin-top: 24px;
  color: #c4cde0;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

/* Service blocks */
.services { padding: 90px 32px 30px; counter-reset: svc; }

.service-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.service-box:hover { border-color: rgba(79, 140, 255, 0.5); transform: translateY(-6px); }

.service-box img {
  width: 48%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  transition: transform 0.7s ease;
}
.service-box:hover img { transform: scale(1.025); }

.service-box .text { width: 52%; padding: 10px 24px; }
.service-box .text h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
}
.service-box .text h3::before {
  counter-increment: svc;
  content: "0" counter(svc);
  display: block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent);
}
.service-box .text p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}
.reverse { flex-direction: row-reverse; }

/* Feature strip */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 32px 60px;
}
.feature {
  padding: 30px 18px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(79, 140, 255, 0.5); background: var(--surface-2); }

/* Process */
.process { padding: 70px 32px; text-align: center; }
.process h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 50px; }
.process h2::after { content: ""; display: block; width: 56px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: var(--grad); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline div {
  position: relative;
  margin: 0;
  padding: 34px 22px 30px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.timeline div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad);
}
.timeline div:hover { transform: translateY(-7px); border-color: rgba(79, 140, 255, 0.5); }

/* CTA */
.cta {
  margin: 40px auto 20px;
  padding: 90px 40px;
  text-align: center;
  background:
    radial-gradient(560px 260px at 50% 0%, rgba(124, 92, 255, 0.3), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  background: linear-gradient(135deg, #ffffff 0%, #b9ccff 55%, #a99bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta p { max-width: 640px; margin: 18px auto 34px; color: var(--muted); font-size: 1.1rem; }

/* Responsive */
@media (max-width: 1000px) {
  .features, .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .service-box, .reverse { flex-direction: column; gap: 22px; padding: 20px; }
  .service-box img, .service-box .text { width: 100%; }
  .service-box img { height: 240px; }
  .service-box .text { padding: 6px 6px 10px; }
}
@media (max-width: 560px) {
  .services, .features, .process { padding-left: 18px; padding-right: 18px; }
  .features, .timeline { grid-template-columns: 1fr; }
  .cta { margin-inline: 14px; padding: 60px 22px; }
}
