/* /services/ scoped styles.
   Layered on top of /style.css — values hardcoded to match the
   existing HI palette (no CSS variables, intentionally). */

/* ── Hero band — navy → royal blue gradient, matches existing .hero ── */
.svc-hero {
  background: linear-gradient(135deg, #0A1F44, #0047AB);
  color: #fff;
  padding: 80px 40px 60px;
  text-align: center;
}
.svc-hero h1 {
  font-size: 40px;
  margin: 0 0 14px;
  color: #fff;
}
.svc-hero .svc-tagline {
  font-size: 18px;
  margin: 0 auto;
  max-width: 640px;
  opacity: 0.92;
  line-height: 1.5;
}
.svc-hero .svc-crumbs {
  font-size: 14px;
  opacity: 0.7;
  margin: 0 0 14px;
}
.svc-hero .svc-crumbs a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.svc-hero .svc-crumbs a:hover { opacity: 1; border-bottom-color: #fff; }

/* ── Section helpers — extend existing .section primitive ── */
.svc-section h2 { margin: 0 0 14px; font-size: 28px; color: #0047AB; }
.svc-section h3 { margin: 24px 0 8px; font-size: 20px; color: #0a1f44; }
.svc-section p  { line-height: 1.65; margin: 0 0 14px; color: #0a1f44; }
.svc-section ul { line-height: 1.7; padding-left: 22px; color: #0a1f44; }

/* ── Case study card — emphasized .card variant ── */
.svc-case {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 4px solid #0047AB;
  margin-top: 8px;
}
.svc-case .svc-case-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0047AB;
  margin: 0 0 6px;
}
.svc-case h3 { margin: 0 0 8px; font-size: 22px; color: #0a1f44; }
.svc-case .svc-case-link {
  display: inline-block;
  margin-top: 10px;
  color: #0047AB;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #0047AB;
}

/* ── Hub cards (mirror existing .card) ── */
.svc-card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #0a1f44;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.svc-card h3 { margin: 0 0 8px; font-size: 20px; color: #0047AB; }
.svc-card p  { margin: 0 0 12px; color: #0a1f44; line-height: 1.5; }
.svc-card .svc-card-link {
  font-weight: 600;
  color: #0047AB;
}

/* ── Single CTA block (per-page, one CTA only) ── */
.svc-cta {
  background: #fff;
  padding: 32px 28px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  text-align: center;
  margin: 30px auto;
  max-width: 720px;
}
.svc-cta h2 { margin: 0 0 10px; font-size: 24px; color: #0a1f44; }
.svc-cta p  { margin: 0 0 20px; color: #0a1f44; }
.svc-cta a.svc-cta-btn {
  display: inline-block;
  background: #0047AB;
  color: #fff;
  padding: 14px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.svc-cta a.svc-cta-btn:hover { background: #003a8a; }

/* ── Subtle scroll-driven float-in ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Mobile tweaks ── */
@media (max-width: 720px) {
  .svc-hero { padding: 60px 24px 40px; }
  .svc-hero h1 { font-size: 30px; }
  .svc-section h2 { font-size: 24px; }
}
