/* ==========================================================================
   Athelpe — custom styles layered on top of Tailwind (CDN)
   ========================================================================== */

:root {
  --navy: #000f29;
  --navy-deep: #000c1d;
  --navy-2: #001021;
  --sky: #5eb3f6;
  --sky-soft: #dfeffb;
  --green: #3bc65e;
  --green-light: #72e387;
  --muted: #858695;
  --slate: #46586a;
  --light: #f6f9fc;
}

html { scroll-behavior: smooth; }
body { font-family: "Muli", "Mulish", "Poppins", system-ui, sans-serif; color: var(--navy); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, .font-display { font-family: "Montserrat", system-ui, sans-serif; }

/* ---------- Header ---------- */
.site-header { transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { background: rgba(0, 15, 41, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--green-light); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.dropdown { opacity: 0; visibility: hidden; transform: translateY(10px) rotateX(-12deg); transform-origin: top; transition: all .25s ease; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0) rotateX(0); }
.mobile-menu { transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.mobile-menu.is-open { transform: translateX(0); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 80% 30%, rgba(94,179,246,.18), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(59,198,94,.10), transparent 60%),
    linear-gradient(180deg, #000f29 0%, #00132f 100%);
}
.hero-curve { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.pill-dark { background: rgba(59,198,94,.12); color: #fff; border: 1px solid rgba(114,227,135,.25); }
.pill-light { background: var(--sky-soft); color: var(--sky); }

/* 3D scene ------------------------------------------------ */
.scene { perspective: 1400px; }
.scene-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .2s ease-out; }
.floor {
  position: absolute; inset: 10% -20% -10% -20%;
  transform: rotateX(62deg) rotateZ(-38deg) translateZ(-80px);
  background-image:
    linear-gradient(rgba(94,179,246,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,179,246,.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
}
@keyframes dash { to { stroke-dashoffset: -160; } }
@keyframes pulse { 50% { opacity: .35; } }


.tile {
  position: absolute; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, #4c8de8, #1e4fa8); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 10px 16px 24px -8px rgba(0,0,0,.7), 0 0 30px rgba(94,179,246,.25);
  transform-style: preserve-3d; animation: float 5s ease-in-out infinite;
}
.tile::after { content: ""; position: absolute; inset: 0; border-radius: 16px; background: #173f86; transform: translateZ(-10px); }
.tile svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.coin {
  position: absolute; width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c4, #f1c232 45%, #b8860b 100%);
  box-shadow: 6px 10px 20px -6px rgba(0,0,0,.7), inset 0 0 0 4px rgba(255,255,255,.25);
  display: grid; place-items: center; font: 700 22px Montserrat, sans-serif; color: #8a6200;
  animation: spinY 5s linear infinite;
}
@keyframes spinY { to { transform: translateZ(60px) rotateY(360deg); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- Tilt cards ---------- */
.tilt { transform-style: preserve-3d; transition: transform .15s ease-out, box-shadow .3s ease; will-change: transform; }
.tilt-inner { transform: translateZ(40px); }
.tilt .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx,50%) var(--gy,50%), rgba(255,255,255,.55), transparent 55%); }
.tilt:hover .glare { opacity: 1; }
.service-card:hover { box-shadow: 0 30px 60px -25px rgba(0,15,41,.35); }
.service-icon { background: linear-gradient(145deg, var(--sky-soft), #fff); box-shadow: 6px 8px 18px -8px rgba(94,179,246,.7), inset 0 0 0 1px rgba(94,179,246,.25); }

/* ---------- Stats / map ---------- */
.map-section { background: radial-gradient(700px 400px at 70% 50%, rgba(94,179,246,.14), transparent 70%), var(--navy-deep); }
.dot-map { background-image: radial-gradient(rgba(94,179,246,.55) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.stat-card { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(6px); }

/* ---------- Partners marquee ---------- */
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Partners: 3D ring ---------- */
.partners-3d { background: linear-gradient(180deg, #fff 0%, #eef6fe 55%, #fff 100%); }
.partners-glow { position: absolute; left: 50%; top: 55%; width: 900px; height: 420px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(94,179,246,.28), transparent); filter: blur(10px); pointer-events: none; }
.ring-stage { height: 280px; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 45%; width: 0; height: 0; transform-style: preserve-3d; }
.ring-card { position: absolute; width: 150px; height: 180px; margin: -90px 0 0 -75px; transition: opacity .2s; }
.ring-face {
  height: 100%; border-radius: 24px; background: linear-gradient(160deg, #fff 0%, #f5faff 100%);
  border: 1px solid #e3eef9; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px;
  box-shadow: 0 1px 0 #fff inset, 0 20px 40px -24px rgba(0,15,41,.45), 0 8px 0 -2px #dbe7f3;
  transition: box-shadow .4s, border-color .4s, transform .4s;
}
.ring-card.is-front .ring-face { border-color: var(--sky); transform: scale(1.06); box-shadow: 0 30px 60px -20px rgba(94,179,246,.65), 0 8px 0 -2px #b9dbf8; }
.ring-floor { position: absolute; left: 50%; bottom: 0; width: min(80%, 720px); height: 70px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,15,41,.18), transparent); }
.ring-btn { width: 46px; height: 46px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700;
  box-shadow: 0 5px 0 #dbe7f3, 0 12px 24px -12px rgba(0,15,41,.4); transition: transform .15s, box-shadow .15s, background .2s, color .2s; }
.ring-btn:hover { background: var(--sky); color: #fff; }
.ring-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #dbe7f3; }
@media (min-width: 640px) {
  .ring-stage { height: 340px; }
  .ring-card { width: 200px; height: 220px; margin: -110px 0 0 -100px; }
}

.marquee-3d { perspective: 900px; }
.marquee-3d .marquee { transform: rotateX(28deg); transform-origin: center top; padding: 12px 0 24px; }
.marquee-chip { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; padding: .8rem 1.4rem; border-radius: 999px;
  background: #fff; color: var(--navy); border: 1px solid #e3eef9; box-shadow: 0 6px 0 #dbe7f3, 0 16px 30px -18px rgba(0,15,41,.4); }

/* ---------- Journey: 3D timeline ---------- */
.journey-3d {
  background:
    radial-gradient(700px 400px at 15% 10%, rgba(94,179,246,.18), transparent 70%),
    radial-gradient(600px 400px at 90% 60%, rgba(59,198,94,.12), transparent 70%),
    linear-gradient(180deg, #000f29 0%, #001021 100%);
}
.journey-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%;
  background-image: linear-gradient(rgba(94,179,246,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(94,179,246,.22) 1px, transparent 1px);
  background-size: 60px 60px; transform: perspective(500px) rotateX(62deg); transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 60%); -webkit-mask-image: linear-gradient(transparent, #000 60%);
  animation: grid-move 4s linear infinite; pointer-events: none;
}
@keyframes grid-move { to { background-position: 0 60px; } }

.timeline-3d { --x: 24px; }
.tl-track { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; border-radius: 4px; background: rgba(255,255,255,.08); }
.tl-fill { position: relative; width: 100%; height: 0; border-radius: 4px; background: linear-gradient(var(--sky), var(--green-light));
  box-shadow: 0 0 16px rgba(94,179,246,.7); transition: height .15s linear; }
.tl-fill::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 5px rgba(114,227,135,.35), 0 0 24px 6px rgba(114,227,135,.8); }

.tl-item { position: relative; display: flex; padding-left: 64px; margin-bottom: 3.5rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-node { position: absolute; left: var(--x); top: 34px; width: 30px; height: 30px; margin-left: -15px; perspective: 400px; z-index: 2; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cube-spin 8s linear infinite; }
.cube .f { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(135deg, rgba(94,179,246,.85), rgba(59,198,94,.75)); box-shadow: 0 0 14px rgba(94,179,246,.6) inset; }
.cube .front { transform: translateZ(15px); } .cube .back { transform: rotateY(180deg) translateZ(15px); }
.cube .right { transform: rotateY(90deg) translateZ(15px); } .cube .left { transform: rotateY(-90deg) translateZ(15px); }
.cube .top { transform: rotateX(90deg) translateZ(15px); } .cube .bottom { transform: rotateX(-90deg) translateZ(15px); }
.tl-item:nth-child(odd) .cube { animation-direction: reverse; }
@keyframes cube-spin { from { transform: rotateX(-25deg) rotateY(0); } to { transform: rotateX(-25deg) rotateY(360deg); } }

.tl-card3d { width: 100%; perspective: 1100px; transform-style: preserve-3d; opacity: 0;
  transform: rotateY(-55deg) translateX(60px) scale(.9);
  transition: opacity .8s ease, transform 1s cubic-bezier(.2,.9,.25,1.15); }
.tl-item.is-in .tl-card3d { opacity: 1; transform: none; }
.tl-plate {
  position: relative; border-radius: 24px; padding: 30px 28px 28px; transform-style: preserve-3d; transition: transform .25s ease-out;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.12);
}
.tl-plate::before { /* glowing back layer for depth */
  content: ""; position: absolute; inset: 10px; border-radius: 24px; transform: translateZ(-30px);
  background: linear-gradient(135deg, rgba(94,179,246,.55), rgba(59,198,94,.45)); filter: blur(22px); opacity: .55;
}
.tl-plate::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--green-light), transparent); }
.tl-watermark { position: absolute; right: 18px; bottom: 6px; font: 800 4.2rem/1 Montserrat, sans-serif; color: transparent;
  -webkit-text-stroke: 1px rgba(94,179,246,.22); transform: translateZ(-12px); pointer-events: none; white-space: nowrap; }
.tl-icon { position: absolute; top: -22px; right: 24px; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--sky), #2c6fd6); transform: translateZ(50px);
  box-shadow: 0 14px 26px -8px rgba(44,111,214,.8), inset 0 0 0 1px rgba(255,255,255,.3); }
.tl-year { position: relative; font: 800 2rem/1 Montserrat, sans-serif; transform: translateZ(30px); display: inline-block;
  background: linear-gradient(90deg, var(--sky), var(--green-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-plate h3, .tl-plate p { position: relative; transform: translateZ(20px); }

@media (min-width: 768px) {
  .timeline-3d { --x: 50%; }
  .tl-item { padding-left: 0; }
  .tl-item .tl-card3d { width: calc(50% - 56px); }
  .tl-item.is-right { justify-content: flex-end; }
  .tl-item.is-left .tl-card3d { transform: rotateY(55deg) translateX(-60px) scale(.9); }
  .tl-item.is-in .tl-card3d { transform: none; }
  .tl-item.is-left .tl-plate { text-align: right; }
  .tl-item.is-left .tl-icon { right: auto; left: 24px; }
  .tl-item.is-left .tl-watermark { right: auto; left: 18px; }
  .tl-item { margin-bottom: 1rem; }
  .tl-item.is-right { margin-top: -3rem; }
}

/* ---------- Contact ---------- */
.contact-section { background: radial-gradient(600px 300px at 0% 0%, rgba(94,179,246,.15), transparent 70%), var(--navy-2); }
.field { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; border-radius: .75rem; padding: .8rem 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #94a3b8; }
.field:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(94,179,246,.18); }
select.field option { color: var(--navy); }

/* ---------- Buttons ---------- */
.btn-3d { position: relative; transform: translateY(0); box-shadow: 0 6px 0 #259043, 0 12px 24px -8px rgba(59,198,94,.6); transition: transform .15s, box-shadow .15s; }
.btn-3d:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #259043, 0 16px 28px -8px rgba(59,198,94,.7); }
.btn-3d:active { transform: translateY(5px); box-shadow: 0 1px 0 #259043, 0 4px 10px -4px rgba(59,198,94,.6); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { background: radial-gradient(800px 400px at 85% 20%, rgba(94,179,246,.2), transparent 60%), var(--navy); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px) rotateX(10deg); transform-origin: bottom; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- Hero orbit ---------- */
.orbit-scene { --R: 130px; position: relative; height: 380px; perspective: 1200px; }
.orbit-scene .scene-inner { position: absolute; inset: 0; }
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%;
  display: grid; place-items: center; font: 800 44px Montserrat, sans-serif; color: #fff;
  background: radial-gradient(circle at 32% 28%, #ffffff, #f2f8ff 45%, #cfe3f8);
  box-shadow: 0 0 60px 10px rgba(94,179,246,.45), inset -10px -14px 30px rgba(11,42,102,.18), inset 8px 10px 20px rgba(255,255,255,.8);
  animation: float 6s ease-in-out infinite;
}
.orbit-core span { text-shadow: 0 4px 12px rgba(0,0,0,.4); }
.orbit-core img { width: 78%; height: 78%; object-fit: contain; }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--R) * 2); height: calc(var(--R) * 2);
  margin: calc(var(--R) * -1) 0 0 calc(var(--R) * -1); border-radius: 50%;
  border: 2px dashed rgba(94,179,246,.35); box-shadow: 0 0 30px rgba(94,179,246,.25), inset 0 0 30px rgba(94,179,246,.2);
  transform: rotateX(74deg); }
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: orbit-spin 26s linear infinite; }
.orbit-item { position: absolute; transform-style: preserve-3d; transform: rotateY(var(--a)) translateZ(var(--R)); }
.orbit-tile {
  width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #4c8de8, #1e4fa8);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 14px 26px -10px rgba(0,0,0,.8), 0 0 24px rgba(94,179,246,.35);
  animation: orbit-counter 26s linear infinite;
}
.orbit-item:nth-child(even) .orbit-tile { background: linear-gradient(145deg, #58d67a, #1f9a44); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 14px 26px -10px rgba(0,0,0,.8), 0 0 24px rgba(114,227,135,.35); }
@keyframes orbit-spin { from { transform: rotateX(-16deg) rotateY(0); } to { transform: rotateX(-16deg) rotateY(360deg); } }
@keyframes orbit-counter { from { transform: rotateY(calc(var(--a) * -1)) rotateX(16deg); } to { transform: rotateY(calc(var(--a) * -1 - 360deg)) rotateX(16deg); } }
@media (min-width: 640px) { .orbit-scene { --R: 190px; height: 480px; } .orbit-core { width: 140px; height: 140px; margin: -70px 0 0 -70px; font-size: 56px; } .orbit-tile { width: 70px; height: 70px; margin: -35px 0 0 -35px; } }


/* ---------- Service sections ---------- */
.svc-watermark { position: absolute; top: 1.5rem; font: 800 7rem/1 Montserrat, sans-serif; color: transparent; pointer-events: none;
  -webkit-text-stroke: 2px rgba(94,179,246,.14); user-select: none; }
@media (min-width: 1024px) { .svc-watermark { font-size: 15rem; top: 2rem; } }
.svc-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--sky), #2c6fd6); box-shadow: 0 5px 0 #1d4fa5, 0 14px 24px -10px rgba(44,111,214,.8); transform: rotate(-6deg); }
.feature-num { font: 800 1.35rem/1 Montserrat, sans-serif; background: linear-gradient(90deg, var(--sky), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Isometric 3D art (assets/art3d.js) ---------- */
.art-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.art-scene { position: relative; height: 340px; perspective: 1200px; display: grid; place-items: center; }
.art-rig { position: relative; width: min(100%, 460px); aspect-ratio: 37 / 30; transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-12deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.art-rig.is-alt { transform: rotateX(10deg) rotateY(12deg); }
.art-body { position: absolute; inset: 0; transform: translateZ(0); animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 26px 24px rgba(0,15,41,.22)); }
.art-glow { position: absolute; inset: 0 8%; border-radius: 50%; transform: translateZ(-140px);
  background: radial-gradient(closest-side, rgba(94,179,246,.5), rgba(114,227,135,.18) 55%, transparent); filter: blur(14px); }
.art-shadow { position: absolute; left: 14%; right: 14%; bottom: -2%; height: 20%; border-radius: 50%; transform: translateZ(-70px);
  background: radial-gradient(closest-side, rgba(0,15,41,.25), transparent); filter: blur(6px); }
.art-chip { transform: translateZ(var(--z, 80px)); }
.art-chip.k1 { top: 4%; left: -4%; --z: 100px; }
.art-chip.k2 { bottom: 18%; right: -6%; --z: 70px; animation-delay: -2.5s; }
.art-chip.k2 span { background: rgba(59,198,94,.15); color: var(--green); }
@media (min-width: 640px) { .art-scene { height: 440px; } }
.a3-sig { animation: sig 1.8s ease-in-out infinite; }
@keyframes sig { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
.a3-dash { animation: dash 3s linear infinite; }

/* home: 3D art on service cards */
.card-art { height: 108px; margin: 0; border-radius: 14px; display: grid; place-items: center; overflow: hidden; padding: 10px;
  background: radial-gradient(120% 90% at 50% 100%, #dcecfc, #f4f9ff 60%, #fff); box-shadow: inset 0 0 0 1px #e6eef7; }
.card-art .art-svg { height: 100%; width: auto; max-width: 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 14px 12px rgba(0,15,41,.18)); }
.service-card:hover .card-art .art-svg { transform: translateY(-6px) scale(1.06); }

/* home hero: isometric "town" */
.hero-town { position: absolute; inset: 4% -4% 0; transform: translateZ(30px); filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); }

.float-chip { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px 9px 9px; border-radius: 14px;
  background: rgba(255,255,255,.96); color: var(--navy); font: 700 12px Montserrat, sans-serif;
  box-shadow: 0 20px 36px -14px rgba(0,15,41,.5), inset 0 0 0 1px #e3eef9; animation: float 5s ease-in-out infinite; }
.float-chip span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky); font-size: 13px; }

/* services: eligibility / documents lists and FAQs */
.info-list { margin-top: 16px; display: grid; gap: 10px; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.info-list li { position: relative; padding-left: 26px; }
.info-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 6px;
  background: rgba(59,198,94,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%233bc65e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.faq { border-top: 1px solid #edf2f8; padding: 12px 0; }
.faq:first-of-type { margin-top: 10px; border-top: 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .92rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 8px; font-size: .88rem; color: var(--slate); line-height: 1.55; }

/* ---------- 3D steps ---------- */
.step-block { position: relative; border-radius: 24px; background: #fff; padding: 30px 28px;
  box-shadow: 1px 1px 0 #d9e9f8, 2px 2px 0 #d3e5f6, 3px 3px 0 #cde1f5, 4px 4px 0 #c7ddf4, 5px 5px 0 #c1d9f2, 6px 6px 0 #bbd5f1,
    7px 7px 0 #b5d1ef, 8px 8px 0 #afcdee, 9px 9px 0 #a9c9ec, 10px 10px 0 #a3c5eb, 0 40px 60px -24px rgba(0,15,41,.35); }
.step-block.is-top { background: var(--navy); color: #fff; box-shadow: 1px 1px 0 #0f2448, 2px 2px 0 #0e2243, 3px 3px 0 #0d203f, 4px 4px 0 #0c1e3b,
    5px 5px 0 #0b1c37, 6px 6px 0 #0a1a33, 7px 7px 0 #09182f, 8px 8px 0 #08162b, 9px 9px 0 #071427, 10px 10px 0 #061223, 0 40px 60px -20px rgba(94,179,246,.45); }
.step-block.is-top p { color: #cbd5e1; }
.step-num { font: 800 2.6rem/1 Montserrat, sans-serif; background: linear-gradient(90deg, var(--sky), var(--green-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 768px) { .step { margin-bottom: calc(var(--h) * 3rem); } }

/* ---------- CTA ---------- */
.cta-3d { background: radial-gradient(700px 300px at 50% 0%, rgba(94,179,246,.25), transparent 70%), linear-gradient(180deg, #000f29, #001021); }
@media (max-width: 639px) {
  .float-chip { font-size: 11px; padding: 7px 11px 7px 7px; }
  .float-chip span { width: 24px; height: 24px; }
  .art-chip.k1 { left: 0; }
  .art-chip.k2 { right: 0; }
}

/* ==========================================================================
   About page
   ========================================================================== */

/* ---------- Hero: rotating 3D cube ---------- */
.cube-scene { --s: 170px; position: relative; height: 380px; perspective: 1400px; }
.cube-scene .scene-inner { position: absolute; inset: 0; }
.big-cube { position: absolute; left: 50%; top: 46%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; animation: big-cube-rot 20s linear infinite; }
@keyframes big-cube-rot { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(-360deg); } }
.bc-face { position: absolute; inset: 0; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px;
  color: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: inset 0 0 40px rgba(255,255,255,.12); }
.bc-front, .bc-back { background: linear-gradient(145deg, #5eb3f6, #1d4fa5); }
.bc-right, .bc-left { background: linear-gradient(145deg, #3bc65e, #17773a); }
.bc-top { background: radial-gradient(circle at 50% 50%, #ffffff, #dcecfc); }
.bc-top img { width: 80%; height: 80%; object-fit: contain; }
.bc-bottom { background: #061634; }
.bc-front  { transform: translateZ(calc(var(--s) / 2)); }
.bc-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.bc-right  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.bc-left   { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.bc-top    { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.bc-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.bc-top span { font: 800 64px Montserrat, sans-serif; color: #fff; text-shadow: 0 0 24px rgba(94,179,246,.9); }
.bc-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.bc-title { margin-top: 12px; font: 700 17px Montserrat, sans-serif; }
.bc-sub { margin-top: 2px; font-size: 12px; opacity: .85; }
.cube-shadow { position: absolute; left: 50%; bottom: 8%; width: 70%; height: 60px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(94,179,246,.45), transparent); filter: blur(6px); }
@media (min-width: 640px) { .cube-scene { --s: 230px; height: 480px; } .bc-title { font-size: 20px; } .bc-sub { font-size: 13px; } .bc-ic { width: 70px; height: 70px; } }

/* ---------- Who we are: isometric network stack ---------- */
@property --gap { syntax: "<length>"; inherits: true; initial-value: 46px; }
.iso-scene { height: 380px; display: grid; place-items: center; }
.iso-stack { --gap: 46px; position: relative; width: 170px; height: 170px; transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-45deg) translateZ(-60px); animation: iso-breathe 4s ease-in-out infinite; }
@keyframes iso-breathe { 50% { --gap: 60px; } }
.iso-layer { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc((3 - var(--i)) * var(--gap))); }
.iso-slab { position: absolute; inset: 0; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.25), transparent 60%), var(--c);
  box-shadow: 1px 1px 0 rgba(0,0,0,.18), 2px 2px 0 rgba(0,0,0,.18), 3px 3px 0 rgba(0,0,0,.18), 4px 4px 0 rgba(0,0,0,.18),
    5px 5px 0 rgba(0,0,0,.18), 6px 6px 0 rgba(0,0,0,.18), 7px 7px 0 rgba(0,0,0,.2), 8px 8px 0 rgba(0,0,0,.2),
    30px 30px 40px rgba(0,15,41,.25), inset 0 0 0 1px rgba(255,255,255,.3); }
.iso-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.iso-label { font: 800 13px Montserrat, sans-serif; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.iso-packet { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 12px 4px rgba(114,227,135,.9); animation: packet 3s ease-in-out infinite; }
.iso-packet.p2 { box-shadow: 0 0 12px 4px rgba(94,179,246,.9); animation-delay: -1.5s; animation-direction: reverse; }
@keyframes packet { 0% { transform: translateZ(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateZ(calc(3 * var(--gap) + 10px)); opacity: 0; } }
.legend-dot { flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 800 13px Montserrat, sans-serif;
  background: var(--c); box-shadow: 0 4px 0 rgba(0,15,41,.25); }
@media (min-width: 640px) { .iso-scene { height: 460px; } .iso-stack { width: 220px; height: 220px; --gap: 56px; } @keyframes iso-breathe { 50% { --gap: 72px; } } .iso-label { font-size: 15px; } }

/* ---------- Mission & Vision: angled portals ---------- */
.portal { perspective: 1200px; }
.portal-card { position: relative; height: 100%; border-radius: 28px; padding: 44px 36px 40px; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.portal-card::before { content: ""; position: absolute; inset: 20px; border-radius: 28px; transform: translateZ(-50px); filter: blur(30px); opacity: .5; }
.portal.is-left .portal-card::before { background: var(--sky); }
.portal.is-right .portal-card::before { background: var(--green); }
.portal-card h3, .portal-card p { position: relative; transform: translateZ(30px); }
.portal-icon { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; color: #fff; margin-bottom: 24px; transform: translateZ(70px); }
.portal-icon.sky { background: linear-gradient(145deg, var(--sky), #2c6fd6); box-shadow: 0 6px 0 #1d4fa5, 0 20px 30px -10px rgba(44,111,214,.8); }
.portal-icon.green { background: linear-gradient(145deg, var(--green-light), #1f9a44); box-shadow: 0 6px 0 #17773a, 0 20px 30px -10px rgba(37,144,67,.8); }
.portal-word { position: absolute; right: 24px; top: 20px; font: 800 4.5rem/1 Montserrat, sans-serif; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); transform: translateZ(-20px); pointer-events: none; }
@media (min-width: 768px) {
  .portal.is-left .portal-card { transform: rotateY(16deg); }
  .portal.is-right .portal-card { transform: rotateY(-16deg); }
  .portal:hover .portal-card { transform: rotateY(0) translateZ(30px); }
}

/* ---------- Values: flip cards ---------- */
.flip { height: 290px; perspective: 1200px; outline: none; cursor: pointer; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,.9,.3,1.1); }
.flip.is-flipped .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip-face { position: absolute; inset: 0; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-front { background: #fff; border: 1px solid #e6eef7; box-shadow: 0 8px 0 #e3eef9, 0 28px 50px -28px rgba(0,15,41,.45); }
.flip-back { transform: rotateY(180deg); background: radial-gradient(300px 200px at 100% 0%, rgba(94,179,246,.45), transparent 70%), linear-gradient(160deg, #0b2a66, #000f29);
  box-shadow: 0 8px 0 #000a1c, 0 28px 50px -24px rgba(94,179,246,.5); }
.flip:focus-visible .flip-face { outline: 3px solid var(--sky); outline-offset: 3px; }
.flip-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--sky);
  background: linear-gradient(145deg, var(--sky-soft), #fff); box-shadow: 0 5px 0 #cfe3f6, 0 14px 24px -10px rgba(94,179,246,.7); }


/* ==========================================================================
   Services explorer (one service at a time)
   ========================================================================== */
.section-mesh { background: radial-gradient(700px 360px at 0% 0%, rgba(94,179,246,.14), transparent 70%),
  radial-gradient(600px 360px at 100% 100%, rgba(114,227,135,.14), transparent 70%), var(--light); }
.svc-nav { position: sticky; top: 80px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px;
  background: rgba(246,249,252,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
.svc-nav::-webkit-scrollbar { display: none; }
.svc-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font: 700 13px Montserrat, sans-serif; color: var(--navy); background: #fff; border: 1px solid #e3edf7; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.svc-tab-ic { color: var(--sky); display: inline-flex; }
.svc-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 0 #000, 0 10px 20px -8px rgba(0,15,41,.5); }
.svc-tab.is-active .svc-tab-ic { color: var(--green-light); }
@media (min-width: 1024px) {
  /* compact so it stays pinned for most of the service card; scrolls itself on short screens */
  .svc-nav { top: 96px; max-height: calc(100vh - 112px); flex-direction: column; gap: 1px; overflow-x: hidden; overflow-y: auto; padding: 8px;
    border-radius: 20px; background: #fff; border: 1px solid #e6eef7; box-shadow: 0 8px 0 #e3eef9, 0 30px 50px -30px rgba(0,15,41,.35);
    scrollbar-width: thin; }
  .svc-tab { border: 0; background: transparent; border-radius: 12px; padding: 5px 8px; font-size: 13px; gap: 9px; }
  .svc-tab:hover:not(.is-active) { background: var(--sky-soft); }
  .svc-tab.is-active { box-shadow: 0 4px 0 #000, 0 12px 20px -10px rgba(0,15,41,.5); }
  .svc-tab-ic { width: 24px; height: 24px; border-radius: 8px; background: var(--sky-soft); display: grid; place-items: center; flex-shrink: 0; }
  .svc-tab.is-active .svc-tab-ic { background: rgba(255,255,255,.12); }
}
.svc-card { position: relative; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid #e6eef7; padding: 20px 16px;
  box-shadow: 0 10px 0 #e3eef9, 0 40px 60px -36px rgba(0,15,41,.45); }
@media (min-width: 640px) { .svc-card { padding: 28px 30px; } }
.svc-card .svc-watermark { font-size: 6rem; top: .5rem; }
@media (min-width: 1024px) { .svc-card .svc-watermark { font-size: 9rem; } }
.svc-panel.is-in .svc-card { animation: panel-in .55s cubic-bezier(.2,.8,.2,1); }
@keyframes panel-in { from { opacity: 0; transform: perspective(1200px) rotateX(8deg) translateY(24px); } }
.art-scene.is-compact { height: 230px; }
@media (min-width: 640px) { .art-scene.is-compact { height: 270px; } }
.feat { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--light); border: 1px solid #edf2f8;
  transition: transform .25s, box-shadow .25s, background .25s; }
.feat:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 5px 0 #e3eef9, 0 16px 30px -18px rgba(0,15,41,.35); }
.feat .feature-num { font-size: 1.1rem; padding-top: 1px; }
.seg { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 4px; border-radius: 14px; background: var(--light); border: 1px solid #e6eef7; overflow-x: auto; scrollbar-width: none; }
.seg-btn { white-space: nowrap; padding: 8px 14px; border-radius: 10px; font: 700 13px Montserrat, sans-serif; color: var(--slate); transition: background .2s, color .2s; }
.seg-btn.is-active { background: #fff; color: var(--navy); box-shadow: 0 3px 0 #dbe7f3, 0 6px 14px -8px rgba(0,15,41,.35); }
.seg-panel { margin-top: 14px; }
.seg-panel .info-list { margin-top: 0; }
@media (min-width: 640px) { .seg-panel .info-list { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.svc-step { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--navy);
  border: 1px solid #e3edf7; box-shadow: 0 4px 0 #e3edf7; transition: background .2s, color .2s, box-shadow .2s; }
.svc-step:hover { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #000; }

/* ---------- Compact / responsive refinements ---------- */
@media (min-width: 640px) { .card-art { height: 138px; border-radius: 18px; } }
@media (max-width: 639px) {
  .tile { width: 46px; height: 46px; border-radius: 12px; }
  .tile svg { width: 22px; height: 22px; }
  .tile::after { border-radius: 12px; }
  .coin { width: 42px; height: 42px; font-size: 16px; }
  .hero-town { inset: 0 -8% 0; }
  .tl-item { margin-bottom: 2rem; }
  .ring-stage { height: 230px; }
  .flip { height: 240px; }
  .cube-scene { --s: 140px; height: 300px; }
  .iso-scene { height: 300px; }
  .art-scene { height: 280px; }
}
.card-copy { display: none; }
@media (min-width: 640px) { .card-copy { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }

/* ==========================================================================
   Team page
   ========================================================================== */
/* 3D avatar: glowing ring + shaded sphere; colours come from --a1 (light) / --a2 / --a3 (dark) */
.avatar-3d { --a1: #9fd2ff; --a2: #2c6fd6; --a3: #0b2a66; --size: 84px;
  position: relative; flex-shrink: 0; width: var(--size); height: var(--size); margin: 0 auto; transform: translateZ(40px); }
.avatar-ring { position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--a1), var(--a2), var(--a1), var(--a3), var(--a1)); animation: avatar-spin 8s linear infinite; }
.avatar-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ring-gap, #fff); }
.avatar-face { position: absolute; inset: 0; z-index: 1; border-radius: 50%; display: grid; place-items: center; object-fit: cover;
  font: 800 calc(var(--size) * .34) Montserrat, sans-serif; color: #fff; letter-spacing: .02em; text-shadow: 0 3px 8px rgba(0,0,0,.35);
  background: radial-gradient(circle at 32% 28%, var(--a1), var(--a2) 55%, var(--a3));
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.25), inset 6px 8px 14px rgba(255,255,255,.4), 0 18px 28px -12px var(--a3); }
.avatar-glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, var(--a2), transparent); opacity: .35; filter: blur(10px); z-index: -1; }
@keyframes avatar-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .avatar-ring { animation: none; } }

/* leadership: dark section with glass cards */
.team-lead { background: radial-gradient(700px 360px at 15% 0%, rgba(94,179,246,.22), transparent 65%),
  radial-gradient(600px 360px at 90% 100%, rgba(59,198,94,.18), transparent 65%), linear-gradient(180deg, #000f29, #001a3d); }
.lead-card { position: relative; overflow: hidden; border-radius: 26px; padding: 26px 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.15); backdrop-filter: blur(8px); }
.lead-card .avatar-3d { --a1: #b6f5c6; --a2: #3bc65e; --a3: #145f2e; --size: 80px; --ring-gap: #0b2248; margin: 0 6px; }
.lead-watermark { position: absolute; right: -24px; bottom: -30px; width: 170px; opacity: .08; pointer-events: none; filter: grayscale(1) brightness(3); }
.lead-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font: 700 12px Montserrat, sans-serif;
  color: #0b2a14; background: linear-gradient(90deg, var(--green-light), #b6f5c6); box-shadow: 0 4px 14px -4px rgba(114,227,135,.7); }
.lead-chip { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #cfe3f8; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
@media (min-width: 640px) { .lead-card { padding: 30px 30px; } .lead-card .avatar-3d { --size: 124px; margin: 0 4px; } }
@media (max-width: 639px) { .lead-card { padding: 20px 16px; } .lead-badge { font-size: 11px; padding: 4px 10px; } }

/* management: small org chart (lines on large screens only) */
.org { position: relative; }
.org-hub, .org-stem, .org-bus, .mgr-tick { display: none; }
@media (min-width: 1024px) {
  .org { padding-top: 96px; }
  .org-hub { display: grid; place-items: center; position: absolute; top: 0; left: 50%; width: 56px; height: 56px; margin-left: -28px; border-radius: 18px;
    background: #fff; border: 1px solid #e6eef7; box-shadow: 0 6px 0 #e3eef9, 0 16px 30px -14px rgba(0,15,41,.4); }
  .org-hub img { width: 40px; height: 40px; object-fit: contain; }
  .org-stem { display: block; position: absolute; top: 56px; left: 50%; width: 2px; height: 16px; margin-left: -1px; background: #b9d6f2; }
  .org-bus { display: block; position: absolute; top: 72px; left: 10%; right: 10%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #5eb3f6, #72e387, #5eb3f6); }
  .mgr-tick { display: block; position: absolute; top: -24px; left: 50%; width: 2px; height: 24px; margin-left: -1px; background: #b9d6f2; }
  .mgr-tick::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 0 3px #fff; }
}
.mgr-card { --c1: #9fd2ff; --c2: #2c6fd6; --c3: #0b2a66; position: relative; border-radius: 22px; background: #fff; border: 1px solid #e6eef7;
  padding: 22px 12px 18px; box-shadow: 0 8px 0 #e3eef9, 0 26px 44px -28px rgba(0,15,41,.45); transition: box-shadow .3s; }
.mgr-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.mgr-card:hover { box-shadow: 0 10px 0 #d6e8f8, 0 36px 56px -26px color-mix(in srgb, var(--c2) 55%, transparent); }
.mgr-card .avatar-3d { --a1: var(--c1); --a2: var(--c2); --a3: var(--c3); --size: 68px; }
.mgr-dept { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  color: var(--c3); background: color-mix(in srgb, var(--c1) 30%, #fff); }
@media (min-width: 640px) { .mgr-card { padding: 26px 16px 22px; } .mgr-card .avatar-3d { --size: 84px; } }
/* an odd card left over on a 2-column row sits centred */
@media (max-width: 1023px) { .mgr-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .375rem); } }

/* partner badges (lettered, no third-party logos) */
.partner-badge { display: inline-grid; place-items: center; flex-shrink: 0; color: #fff; font-family: Montserrat, sans-serif; font-weight: 800;
  letter-spacing: .02em; text-shadow: 0 2px 6px rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.partner-badge.is-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 18px; }
.partner-badge.is-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 10px; }
@media (min-width: 640px) { .partner-badge.is-lg { width: 66px; height: 66px; font-size: 20px; } }

/* services: "coming soon" block under the service card */
.soon-wrap { position: relative; border-radius: 26px; padding: 22px 16px; overflow: hidden;
  background: radial-gradient(500px 240px at 100% 0%, rgba(114,227,135,.16), transparent 70%), linear-gradient(160deg, #ffffff, #f3f8fe);
  border: 1px solid #e6eef7; box-shadow: 0 10px 0 #e3eef9, 0 40px 60px -36px rgba(0,15,41,.4); }
@media (min-width: 640px) { .soon-wrap { padding: 28px 30px; } }
.soon-card { position: relative; border-radius: 18px; padding: 16px 14px 14px; background: rgba(255,255,255,.75);
  border: 1.5px dashed #bcd7f1; box-shadow: 0 6px 0 #e6eff8; }
.soon-card .tilt-inner { transform: translateZ(16px); }
.soon-card:hover { border-style: solid; border-color: var(--sky); box-shadow: 0 8px 0 #d6e8f8, 0 24px 40px -22px rgba(94,179,246,.6); }
.soon-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #9fb3c8, #5d7390); box-shadow: 0 4px 0 #4a5d76; animation: float 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.soon-card:hover .soon-ic { background: linear-gradient(145deg, var(--sky), #2c6fd6); box-shadow: 0 4px 0 #1d4fa5; }
.soon-badge { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; font: 700 10.5px Montserrat, sans-serif; letter-spacing: .03em;
  color: #1f7a3a; background: linear-gradient(90deg, #e3faea 0%, #c8f3d4 40%, #e3faea 80%); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.svc-tab .soon-dot { margin-left: auto; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; color: #fff; background: var(--green); }
@media (max-width: 1023px) { .svc-tab .soon-dot { margin-left: 2px; } }
@media (min-width: 1024px) {
  .svc-tab.is-soon { margin-top: 6px; padding-top: 9px; border-top: 1px dashed #dbe7f3; border-radius: 0 0 12px 12px; color: var(--slate); }
}
/* short laptop windows: tighter list so all services fit without the list scrolling */
@media (min-width: 1024px) and (max-height: 820px) {
  .svc-nav { top: 90px; max-height: calc(100vh - 100px); padding: 6px; }
  .svc-tab { padding: 3px 8px; font-size: 12.5px; }
  .svc-tab-ic { width: 22px; height: 22px; border-radius: 7px; }
  .svc-tab-ic svg { width: 14px; height: 14px; }
  .svc-tab.is-soon { margin-top: 4px; padding-top: 6px; }
}
