/* ── Service page heroes (light theme) ── */
.service-hero {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  min-height: 480px;
  border-bottom: 1px solid #E2E8F0;
}
.service-hero .page-banner-ambient { z-index: 0; }
.service-hero .relative.max-w-7xl { position: relative; z-index: 1; }
.service-hero-glow {
  display: block;
  position: absolute;
  width: 40rem;
  height: 40rem;
  top: -20%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.service-hero--hub {
  min-height: auto;
}
.service-hero-glow--2 {
  top: auto;
  bottom: -25%;
  left: -15%;
  right: auto;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.15) 0%, transparent 70%);
}
.service-hero-trust {
  margin-top: 0.25rem;
}
.svc-visual-wrap--hub {
  width: 100%;
}
.svc-hub-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .svc-hub-visual {
    margin: 0 0 0 auto;
  }
}
.svc-hub-visual-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.svc-hub-visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108%;
  max-width: 520px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(37, 99, 235, 0.14);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: svcHubRingSpin 48s linear infinite;
}
@keyframes svcHubRingSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.svc-hub-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .svc-hub-mosaic {
    gap: 0.75rem;
  }
}
.svc-hub-tile {
  position: relative;
  display: block;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px -10px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  animation: svcHubTileIn 0.7s ease backwards;
}
.svc-hub-tile--delay-0 { animation-delay: 0.05s; }
.svc-hub-tile--delay-1 { animation-delay: 0.12s; }
.svc-hub-tile--delay-2 { animation-delay: 0.19s; }
.svc-hub-tile--delay-3 { animation-delay: 0.26s; }
.svc-hub-tile--delay-4 { animation-delay: 0.33s; }
.svc-hub-tile--delay-5 { animation-delay: 0.4s; }
@keyframes svcHubTileIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.svc-hub-tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #bfdbfe;
  box-shadow: 0 20px 48px -12px rgba(37, 99, 235, 0.22);
  z-index: 2;
}
.svc-hub-tile--wide {
  grid-column: span 2;
}
.svc-hub-tile-shot {
  overflow: hidden;
  line-height: 0;
  background: #f1f5f9;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-hub-tile--dark .svc-hub-tile-shot {
  background: #0f172a;
}
.svc-hub-tile-shot img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}
.svc-hub-tile--wide .svc-hub-tile-shot img {
  max-height: none;
}
@media (min-width: 1024px) {
  .svc-hub-tile-shot img {
    max-height: none;
  }
  .svc-hub-tile--wide .svc-hub-tile-shot img {
    max-height: none;
  }
}
.svc-hub-tile:hover .svc-hub-tile-shot img {
  transform: scale(1.02);
}
.svc-hub-tile-label {
  display: block;
  padding: 0.5rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #f1f5f9;
}
.svc-hub-tile--dark .svc-hub-tile-label {
  background: #f8fafc;
}
.svc-hub-tile-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.svc-hub-tile:hover .svc-hub-tile-shine {
  transform: translateX(120%);
}
.svc-hub-visual-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
}
.svc-hub-visual-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.svc-hub-visual-pill svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #2563eb;
}
.svc-hub-visual-pill:hover {
  border-color: #bfdbfe;
  color: #2563eb;
  transform: translateY(-1px);
}
.svc-hub-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px -2px rgba(37, 99, 235, 0.45);
}
.svc-hub-visual-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86efac;
  animation: svcHubPulse 2s ease-in-out infinite;
}
@keyframes svcHubPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hub-visual-ring,
  .svc-hub-tile {
    animation: none !important;
  }
  .svc-hub-tile:hover .svc-hub-tile-shot img {
    transform: none;
  }
}
.service-hero-fade {
  display: none;
}
.svc-stat-pill {
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.svc-stat-pill strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.375;
}
.svc-stat-pill span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
}
.svc-visual-frame {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.svc-visual-wrap:hover .svc-visual-frame,
.svc-visual-wrap:hover .svc-photo-hero {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.1);
}
.svc-photo-hero {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.svc-photo-hero-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
.svc-browser-bar {
  background: #F8FAFC;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #E2E8F0;
}
.svc-browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.svc-browser-url {
  flex: 1;
  margin: 0 8px;
  height: 22px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  color: #64748B;
  font-family: ui-monospace, monospace;
}
.svc-float { display: none; }
.svc-phone {
  width: 220px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 2rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
}
.svc-phone-notch {
  width: 80px;
  height: 6px;
  background: #334155;
  border-radius: 9999px;
  margin: 0 auto 10px;
}
.svc-phone-screen {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #0f172a;
}
.svc-phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.svc-code-block {
  padding: 1.25rem;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.7rem;
  line-height: 1.7;
  color: #94a3b8;
}
.svc-code-block .kw { color: #c084fc; }
.svc-code-block .fn { color: #60a5fa; }
.svc-code-block .str { color: #34d399; }
.svc-code-block .cm { color: #475569; }
.svc-orbit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.5rem;
}
.svc-orbit-item {
  aspect-ratio: 1;
  border-radius: 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: #64748B;
  text-align: center;
  transition: all 0.3s ease;
}
.svc-orbit-item:hover {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.25);
  color: #0F172A;
  transform: translateY(-2px);
}
.svc-orbit-item svg { width: 22px; height: 22px; color: #2563EB; }

/* Enhanced services dropdown */
#services-dropdown > div {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
  padding: 0.5rem !important;
  min-width: 320px !important;
}
#services-dropdown a[role="menuitem"],
#services-dropdown a.block {
  border-radius: 0.625rem !important;
  margin: 2px 0;
  transition: all 0.2s ease !important;
}
#services-dropdown a[role="menuitem"]:hover,
#services-dropdown a.block:hover {
  transform: translateX(4px);
}

/* Service page sections */
.svc-section-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
  line-height: 1.625;
}
.svc-process-step {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: white;
  transition: all 0.35s ease;
}
.svc-process-step:hover {
  border-color: #2563EB;
  box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}
.svc-process-num {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #2563EB, #1d4ed8);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}
.svc-include-card {
  position: relative;
  overflow: hidden;
}
.svc-include-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #60a5fa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-include-card:hover::before { transform: scaleX(1); }

/* ── Services hub grid (index) ── */
.svc-hub-section {
  position: relative;
  overflow: hidden;
}
.svc-hub-section::before {
  display: none;
}
.svc-hub-grid {
  align-items: stretch;
}
.svc-hub-grid .svc-hub-card {
  height: 100%;
}
.svc-hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 20px -6px rgba(15, 23, 41, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.svc-hub-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.25);
}
.svc-hub-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(37, 99, 235, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.svc-hub-card:hover::after { opacity: 1; }
.svc-hub-thumb {
  position: relative;
  height: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2ff, #f1f5f9);
}
.svc-hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.svc-hub-card:hover .svc-hub-thumb img { transform: scale(1.06); }
.svc-hub-thumb--grad {
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-hub-thumb--grad::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.svc-hub-thumb--code::before { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); }
.svc-hub-thumb--brand::before { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%); }
.svc-hub-thumb--video::before { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%); }
.svc-hub-thumb-icon {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.svc-hub-num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.svc-hub-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
}
.svc-hub-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  transition: transform 0.3s ease;
}
.svc-hub-card:hover .svc-hub-icon { transform: scale(1.08); }
.svc-hub-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.svc-hub-body p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #64748b;
  flex: 1;
  margin-bottom: 1.125rem;
}
.svc-hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0F172A;
  transition: all 0.25s ease;
}
.svc-hub-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}
.svc-hub-card:hover .svc-hub-btn {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4);
}
.svc-hub-card:hover .svc-hub-btn svg { transform: translateX(3px); }
.svc-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}
.svc-hub-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.12);
}
