/* ================= Services page ================= */

.svc-hero h1, .svc-hero .lead { margin-inline: auto; }
.hero-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-icons span {
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fbcff; font-size: 1.3rem;
  backdrop-filter: blur(8px);
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease-back);
}
.hero-icons span:hover { background: var(--primary); color: #fff; transform: translateY(-6px) rotate(-8deg); }
.hero-icons span.revealed { animation: iconBob 4s ease-in-out infinite; }
.hero-icons span:nth-child(2n).revealed { animation-delay: -2s; }
@keyframes iconBob { 50% { translate: 0 -8px; } }

/* Sticky switcher */
.svc-nav-wrap {
  position: sticky; top: 76px; z-index: 50;
  padding: 18px 0;
  pointer-events: none;
}
.svc-nav {
  position: relative;
  display: flex; gap: 4px;
  width: max-content; max-width: 100%;
  margin: 0 auto;
  padding: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow-x: auto;
  scrollbar-width: none;
  pointer-events: auto;
}
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem;
  color: var(--ink-2); white-space: nowrap;
  transition: color 0.3s;
}
.svc-nav a i { font-size: 0.85rem; color: var(--primary); transition: color 0.3s; }
.svc-nav a.active, .svc-nav a.active i { color: #fff; }
.svc-ink {
  position: absolute; top: 6px; bottom: 6px; left: 0;
  border-radius: 100px;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), opacity 0.3s;
  opacity: 0;
}

/* Service blocks */
.svc-block { padding: 90px 0; scroll-margin-top: 150px; }
.svc-block.alt { background: var(--bg-soft); }
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.svc-row.reverse .svc-visual { order: 2; }
.svc-copy > p { color: var(--muted); font-size: 1.05rem; }
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 26px 0 30px; }
.check-list li { color: var(--ink-2); font-weight: 500; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.svc-visual { position: relative; aspect-ratio: 1.1; max-width: 480px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.sv-blob {
  position: absolute; inset: 8%;
  background: var(--grad);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  opacity: 0.12;
  animation: blob 12s ease-in-out infinite;
}
.sv-blob::after {
  content: ""; position: absolute; inset: -10%;
  border-radius: inherit;
  border: 2px dashed var(--primary-200);
  animation: spin 40s linear infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; }
  66% { border-radius: 38% 62% 35% 65% / 62% 38% 62% 38%; }
}
.sv-main {
  position: relative;
  width: 46%; aspect-ratio: 1;
  border-radius: 36px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff; font-size: clamp(3rem, 6vw, 4.6rem);
  box-shadow: 0 30px 60px -20px rgba(0, 67, 209, 0.65), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.sv-main i { filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)); animation: corePulse 4s ease-in-out infinite; }
@keyframes corePulse { 50% { transform: scale(1.08); } }
.sv-num {
  position: absolute; right: -18px; top: -18px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--primary);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.sv-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 14px;
  background: #fff; box-shadow: var(--shadow-lg);
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink);
  white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.sv-chip i { color: var(--primary); }
.sv-chip .fa-whatsapp, .sv-chip .fa-android { color: #25d366; }
.sv-chip.c1 { top: 10%; left: 2%; }
.sv-chip.c2 { top: 44%; right: -2%; animation-delay: -2s; }
.sv-chip.c3 { bottom: 8%; left: 12%; animation-delay: -4s; }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Engagement */
.engage { overflow: hidden; isolation: isolate; }
.engage .bg-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(110, 155, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 155, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.engage-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(110, 155, 255, 0.15);
  transition: transform 0.45s var(--ease), background 0.4s, border-color 0.4s;
}
.engage-card:hover { transform: translateY(-8px); background: rgba(47, 107, 255, 0.1); border-color: rgba(110, 155, 255, 0.4); }
.engage-card i { font-size: 1.8rem; color: #7fa6ff; margin-bottom: 20px; display: block; }
.engage-card p { color: #a9b6dc; margin: 0; }
.engage-card.featured { background: var(--grad); border: 0; box-shadow: var(--shadow-glow); }
.engage-card.featured i { color: #fff; }
.engage-card.featured p { color: #e1e9ff; }
.engage-card .pill { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 0.75rem; font-weight: 600; }

@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 1fr; gap: 50px; }
  .svc-row.reverse .svc-visual { order: 0; }
  .svc-visual { max-width: 400px; }
}
@media (max-width: 680px) {
  .svc-nav-wrap { top: 66px; padding: 12px 0; }
  .svc-nav { justify-content: flex-start; }
  .svc-block { padding: 70px 0; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .sv-chip { font-size: 0.78rem; padding: 8px 12px; }
  .sv-chip.c2 { right: 0; }
  .hero-icons span { width: 50px; height: 50px; font-size: 1.1rem; }
}
