/* active nav on services page */
.nav-link.active { color: var(--heading); }
.nav-link.active::after { width: 100%; }
.services-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 24px 70px;
  position: relative;
}
.services-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(0,135,237,0.18), transparent),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(0,135,237,0.08), transparent),
    radial-gradient(ellipse 45% 35% at 15% 80%, rgba(0,135,237,0.05), transparent);
}
.services-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--hero-grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
.services-hero .hero-badge { margin-bottom: 1.2rem; }
.services-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--heading);
}
.services-hero .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 1.6rem;
  line-height: 1.8;
}
.services-hero .hero-actions { justify-content: center; }
.hero-illustration {
  margin: 2.5rem auto 0;
  max-width: 520px;
  opacity: 0.9;
}
.hero-illustration svg { width: 100%; height: auto; }

.jump-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.jump-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
}
.jump-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.jump-card .jump-icon {
  width: 44px; height: 44px;
  color: #0087ed;
  margin: 0 auto 0.8rem;
}
.jump-card .jump-icon svg { width: 100%; height: 100%; }
.jump-card h3 { font-size: 0.95rem; color: var(--heading); margin-bottom: 0.3rem; }
.jump-card p { font-size: 0.8rem; color: var(--text-dim); }

.service-detail {
  padding: 90px 0;
  position: relative;
}
.service-detail.alt { background: var(--bg-alt); }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.service-detail.reverse .service-detail-inner { grid-template-columns: 1.15fr 1fr; }
.service-detail.reverse .service-visual { order: 2; }
.service-detail.reverse .service-body { order: 1; }
.service-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual .visual-blob {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,135,237,0.25), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.service-visual .visual-icon {
  position: relative;
  z-index: 1;
  width: 150px; height: 150px;
  color: #0087ed;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,135,237,0.15);
  transition: transform 0.4s ease;
}
.service-visual .visual-icon svg { width: 72px; height: 72px; }
.service-detail:hover .visual-icon { transform: scale(1.05) rotate(-3deg); }
.service-body .service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0087ed;
  background: rgba(0,135,237,0.1);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.service-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
  color: var(--heading);
}
.service-body .service-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.service-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 0.98rem;
}
.service-bullets {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  display: grid;
  gap: 0.6rem;
}
.service-bullets li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
  font-size: 0.95rem;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0087ed;
  box-shadow: 0 0 0 3px rgba(0,135,237,0.15);
}
.service-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.approach-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}
.approach-step {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all 0.35s ease;
}
.approach-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
}
.approach-step .step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0087ed;
  margin-bottom: 0.6rem;
  opacity: 0.9;
}
.approach-step h3 { font-size: 1.05rem; color: var(--heading); margin-bottom: 0.5rem; }
.approach-step p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  transition: all 0.35s ease;
}
.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
}
.why-card .why-icon {
  width: 40px; height: 40px;
  color: #0087ed;
  margin-bottom: 1rem;
}
.why-card .why-icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1rem; color: var(--heading); margin-bottom: 0.4rem; }
.why-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }

.cta-banner {
  background: linear-gradient(135deg, #0087ed 0%, #005bb5 100%);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin: 2rem auto 0;
  max-width: 900px;
  box-shadow: 0 20px 60px rgba(0,135,237,0.25);
}
.cta-banner h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 1.8rem; line-height: 1.7; }
.cta-banner .btn { background: #fff; color: #0087ed; }
.cta-banner .btn:hover { background: #f0f0f0; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
  justify-content: center;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.3s; }
.breadcrumb a:hover { color: #0087ed; }
.breadcrumb span { color: var(--text-faint); }

/* embed variant (bottom sheet iframe) */
body.services-embed .services-hero {
  min-height: auto;
  padding: 56px 24px 40px;
}
body.services-embed .breadcrumb { display: none; }
body.services-embed .section { padding: 72px 0; }
body.services-embed .service-detail { padding: 72px 0; }
body.services-embed .cta-banner { margin-top: 0; }

@media (max-width: 900px) {
  .jump-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail.reverse .service-visual { order: 0; }
  .service-detail.reverse .service-body { order: 1; }
  .approach-timeline { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .jump-grid { grid-template-columns: 1fr; }
  .approach-timeline { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
}
@media (max-width: 768px) {
  .services-hero { min-height: auto; padding: 110px 24px 60px; }
}
