/*=================================================================
  Site-wide modern design system — loaded on every page after style.css (tools/site.js)
  Rules are scoped to .page-modern (set on every body by tools/site.js) or to h-, p- and f- prefixed classes.
==================================================================*/
.page-modern {
  --ink: #0a0f24;
  --ink-2: #131a3a;
  --text: #0f172a;
  --muted: #5b6478;
  --line: #e4e8f2;
  --soft: #f4f6fb;
  --cyan: #28abe3;
  --blue: #3b6cf6;
  --violet: #7c4dff;
  --orange: #ff8a3d;
  --grad: linear-gradient(120deg, #28abe3 0%, #3b6cf6 35%, #7c4dff 68%, #ff8a3d 100%);
  --grad-soft: linear-gradient(135deg, rgba(40, 171, 227, .14), rgba(124, 77, 255, .14));
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(15, 23, 42, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Plus Jakarta Sans", "Source Sans Pro", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

.page-modern p,
.page-modern h1,
.page-modern h2,
.page-modern h3,
.page-modern h4,
.page-modern h5,
.page-modern h6 {
  font-family: inherit;
}

.page-modern p {
  color: var(--muted);
}

.h-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-modern .ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.2em;
}

.h-grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------------------------------------------------------- buttons & links */
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .6s var(--ease), background-color .3s, color .3s;
}

.h-btn .ico {
  transition: transform .3s var(--ease);
}

.h-btn:hover .ico {
  transform: translateX(3px);
}

.h-btn:hover {
  transform: translateY(-2px);
}

.h-btn--primary {
  color: #fff;
  background: linear-gradient(110deg, #28abe3, #3b6cf6 35%, #7c4dff 65%, #ff8a3d 100%) 0 0 / 200% 100%;
  box-shadow: 0 12px 30px -10px rgba(91, 76, 255, .65);
}

.h-btn--primary:hover,
.h-btn--primary:focus {
  color: #fff;
  background-position: 100% 0;
  box-shadow: 0 18px 40px -12px rgba(124, 77, 255, .75);
}

.h-btn--primary:disabled {
  opacity: .6;
  cursor: progress;
}

.h-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.h-btn--ghost:hover,
.h-btn--ghost:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .12);
}

.h-btn--dark {
  color: #fff;
  background: var(--ink);
}

.h-btn--dark:hover,
.h-btn--dark:focus {
  color: #fff;
  background: var(--ink-2);
  box-shadow: 0 16px 34px -14px rgba(10, 15, 36, .7);
}

.h-btn--light {
  color: var(--ink);
  background: #fff;
}

.h-btn--light:hover,
.h-btn--light:focus {
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4);
}

.h-btn--block {
  width: 100%;
}

.h-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--blue);
}

.h-link .ico {
  transition: transform .3s var(--ease);
}

.h-link:hover,
.h-link:focus {
  color: var(--violet);
}

.h-link:hover .ico {
  transform: translateX(4px);
}

.page-modern a:focus-visible,
.page-modern button:focus-visible,
.page-modern summary:focus-visible {
  outline: 3px solid #7c4dff;
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- section scaffolding */
.h-section {
  position: relative;
  padding: 110px 0;
}

.h-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.h-head--left {
  margin: 0 0 36px;
  text-align: left;
}

.h-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue) !important;
}

.h-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.h-kicker--light {
  color: #8fd8ff !important;
}

.h-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 18px;
}

.h-title--light {
  color: #fff;
}

.h-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.h-text--light {
  color: rgba(255, 255, 255, .66) !important;
}

/* scroll reveal (only when JS is running; see js/home.js) */
.h-js .reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}

.h-js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* 3D tilt (js sets --tx / --ty) */
.h-tilt {
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .4s, background-color .4s;
  will-change: transform;
}

.h-tilt.is-tilting {
  transition: transform .1s linear, box-shadow .4s var(--ease), border-color .4s, background-color .4s;
}

/*=================================================================
  Navigation (floating glass pill on the home page)
==================================================================*/
.page-modern .navigation {
  padding: 14px 12px 0;
  background: transparent;
  box-shadow: none;
}

.page-modern .navigation>.container {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  box-shadow: 0 10px 40px -12px rgba(5, 10, 40, .35);
  padding: 0 10px 0 6px;
  transition: box-shadow .3s, background .3s;
}

.page-modern .navigation.sticky-header {
  background: transparent;
  box-shadow: none;
}

.page-modern .navigation.sticky-header>.container {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 40px -14px rgba(5, 10, 40, .3);
}

.page-modern .logo-size {
  height: 72px !important;
  width: 72px !important;
}

.page-modern .navbar-brand {
  padding: 4px 0;
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link {
  color: #1e2540;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding: 24px 12px;
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link:hover,
.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link:focus {
  color: var(--violet);
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item.active .nav-link {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-modern .navigation .dropdown-menu {
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  min-width: 230px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35);
  border: 1px solid var(--line);
}

.page-modern .navigation .dropdown-menu li:first-child,
.page-modern .navigation .dropdown-menu li:last-child {
  margin: 0;
}

.page-modern .navigation .dropdown-item {
  color: #334155;
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: 10px;
}

.page-modern .navigation .dropdown-item:hover,
.page-modern .navigation .dropdown-item:focus {
  color: var(--blue);
  background: #f1f5ff;
}

@media (max-width: 991px) {
  .page-modern .navigation {
    padding: 10px 10px 0;
    background: transparent;
    box-shadow: none;
  }

  .page-modern .logo-size {
    height: 60px !important;
    width: 60px !important;
  }

  .page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link {
    padding: 10px !important;
  }

  .page-modern .navigation .navbar-collapse.show,
  .page-modern .navigation .navbar-collapse.collapsing {
    padding-bottom: 12px;
  }

  .page-modern .navigation .dropdown-menu {
    box-shadow: none;
    border: 0;
    background: var(--soft);
  }
}

/*=================================================================
  Hero
==================================================================*/
.h-hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59, 108, 246, .35), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(124, 77, 255, .35), transparent 60%),
    linear-gradient(180deg, #070b1f 0%, #0a0f24 60%, #0d1230 100%);
}

.h-hero>.container {
  position: relative;
  z-index: 2;
}

.h-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.h-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 30px);
  transition: translate .8s var(--ease);
}

.h-blob--1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: 8%;
  background: #28abe3;
  animation: h-drift 18s ease-in-out infinite alternate;
}

.h-blob--2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  left: -60px;
  background: #7c4dff;
  animation: h-drift 22s ease-in-out infinite alternate-reverse;
}

.h-blob--3 {
  width: 280px;
  height: 280px;
  top: 40%;
  right: 30%;
  background: #ff8a3d;
  opacity: .28;
  animation: h-drift 26s ease-in-out infinite alternate;
}

@keyframes h-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.08);
  }

  100% {
    transform: translate(-30px, 40px) scale(.95);
  }
}

.h-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.h-hero__copy>* {
  animation: h-rise 1s var(--ease) both;
}

.h-hero__copy>*:nth-child(2) {
  animation-delay: .08s;
}

.h-hero__copy>*:nth-child(3) {
  animation-delay: .16s;
}

.h-hero__copy>*:nth-child(4) {
  animation-delay: .24s;
}

.h-hero__copy>*:nth-child(5) {
  animation-delay: .32s;
}

.h-hero__copy>*:nth-child(6) {
  animation-delay: .4s;
}

@keyframes h-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* The H1 and lead summary are the largest/most important content (LCP) and what
   answer engines quote: move them, but never hide them. An opacity-0 start kept
   the home H1 invisible for ~2s while fonts loaded and made it flash on inner pages. */
@keyframes h-lift {
  from {
    transform: translateY(18px);
  }

  to {
    transform: none;
  }
}

.h-hero__copy>.h-hero__title,
.h-hero__copy>.lead-summary,
.p-hero__copy>.p-hero__title,
.p-hero__copy>.lead-summary {
  animation-name: h-lift;
}

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85) !important;
  margin-bottom: 26px;
}

.h-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
}

.h-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #4ade80;
  animation: h-ping 1.8s ease-out infinite;
}

@keyframes h-ping {
  from {
    transform: scale(.6);
    opacity: 1;
  }

  to {
    transform: scale(2.2);
    opacity: 0;
  }
}

.h-hero__title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 24px;
}

.page-modern .h-hero .lead-summary {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .68);
  max-width: 560px;
  margin-bottom: 18px;
}

.page-modern .h-hero .lead-summary strong {
  color: #fff;
  font-weight: 600;
}

.h-rotator {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8) !important;
  margin-bottom: 32px;
}

.h-rotator__word {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 8px;
  background: rgba(124, 77, 255, .22);
  border: 1px solid rgba(124, 77, 255, .45);
  color: #fff;
}

.h-rotator__word.is-swap {
  animation: h-swap .5s var(--ease);
}

@keyframes h-swap {
  from {
    opacity: 0;
    transform: translateY(10px) rotateX(-60deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.h-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.h-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.h-hero__trust li {
  display: flex;
  flex-direction: column;
}

.h-hero__trust strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.h-hero__trust span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

/* ---------- 3D service cube ---------- */
.h-stage {
  --s: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 0;
  animation: h-rise 1.2s .2s var(--ease) both;
}

.h-scene {
  width: var(--s);
  height: var(--s);
  perspective: 1100px;
  margin: 30px auto 70px;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.h-scene.is-dragging {
  cursor: grabbing;
}

.h-cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(-30deg);
  animation: h-spin 30s linear infinite;
}

.h-cube.is-live {
  animation: none;
}

@keyframes h-spin {
  from {
    transform: rotateX(-20deg) rotateY(0deg);
  }

  to {
    transform: rotateX(-20deg) rotateY(-360deg);
  }
}

.h-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(150deg, hsla(var(--hue), 95%, 64%, .42), hsla(calc(var(--hue) + 40), 90%, 48%, .16) 55%, rgba(10, 15, 36, .38));
  border: 1px solid hsla(var(--hue), 95%, 82%, .6);
  box-shadow:
    inset 0 0 50px hsla(var(--hue), 95%, 62%, .35),
    inset 0 1px 0 rgba(255, 255, 255, .45),
    0 0 36px hsla(var(--hue), 95%, 60%, .28);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* glare sweep across each glass face */
.h-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 48%, transparent 60%) 0 0 / 260% 100%;
  animation: h-sheen 7s linear infinite;
}

@keyframes h-sheen {
  from {
    background-position: 130% 0;
  }

  to {
    background-position: -130% 0;
  }
}

.h-face__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(var(--hue), 90%, 85%, .16) 1px, transparent 1px),
    linear-gradient(90deg, hsla(var(--hue), 90%, 85%, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 75%);
}

.h-face__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px;
  text-align: center;
}

.h-face__body .ico {
  width: 62px;
  height: 62px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 18px;
  stroke-width: 1.6;
  background: linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 30px -8px hsla(var(--hue), 95%, 50%, .9);
}

.h-face__body b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.h-face__body small {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
}

.h-face__body em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
}

.h-face__body em .ico {
  width: 13px;
  height: 13px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  stroke-width: 2.4;
}

.h-face:hover,
.h-face:focus {
  color: #fff;
}

/* glowing core visible through the glass */
.h-core {
  position: absolute;
  left: 30%;
  top: 30%;
  width: 40%;
  height: 40%;
  transform-style: preserve-3d;
  animation: h-core 10s linear infinite;
  pointer-events: none;
}

.h-core i {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(143, 216, 255, .85), rgba(124, 77, 255, .85) 60%, rgba(255, 138, 61, .8));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 0 40px rgba(124, 77, 255, .9);
}

.h-core i:nth-child(1) { transform: translateZ(calc(var(--s) * .2)); }
.h-core i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) * .2)); }
.h-core i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) * .2)); }
.h-core i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) * .2)); }
.h-core i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) * .2)); }
.h-core i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) * .2)); }

@keyframes h-core {
  to {
    transform: rotateX(360deg) rotateY(720deg);
  }
}

.h-face--front {
  transform: translateZ(calc(var(--s) / 2));
}

.h-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--s) / 2));
}

.h-face--right {
  transform: rotateY(90deg) translateZ(calc(var(--s) / 2));
}

.h-face--left {
  transform: rotateY(-90deg) translateZ(calc(var(--s) / 2));
}

.h-face--top {
  transform: rotateX(90deg) translateZ(calc(var(--s) / 2));
}

.h-face--bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--s) / 2));
}

.h-orbit {
  position: absolute;
  left: 50%;
  top: calc(40px + 30px + var(--s) + 10px);
  width: calc(var(--s) * 1.5);
  height: 60px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 77, 255, .55), rgba(40, 171, 227, .2) 60%, transparent);
  filter: blur(8px);
  animation: h-breathe 5s ease-in-out infinite;
}

@keyframes h-breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: .85;
  }

  50% {
    transform: scale(.85);
    opacity: .6;
  }
}

.h-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  font-size: 13.5px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .8);
  animation: h-bob 6s ease-in-out infinite;
  pointer-events: none;
}

.h-float b {
  display: block;
  color: #fff;
  font-size: 15px;
}

.h-float .ico {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 11px;
  color: #fff;
  background: var(--grad);
}

.h-float--a {
  top: 40px;
  left: -10px;
}

.h-float--b {
  top: calc(40px + var(--s) - 30px);
  right: -10px;
  animation-delay: -3s;
}

@keyframes h-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.h-cube-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}

.h-cube-nav button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font: 600 13px/1.2 inherit;
  font-family: inherit;
  cursor: pointer;
  transition: background .3s, color .3s;
}

.h-cube-nav button:hover {
  color: #fff;
}

.h-cube-nav button.is-active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 18px -6px rgba(124, 77, 255, .8);
}

.h-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45) !important;
}

.h-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: 26px;
  height: 42px;
  translate: -50% 0;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
}

.h-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: h-wheel 1.8s ease-in-out infinite;
}

@keyframes h-wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@media (max-width: 1199px) {
  .h-stage {
    --s: 260px;
  }
}

@media (max-width: 991px) {
  .h-hero {
    padding: 130px 0 90px;
    min-height: 0;
  }

  .h-stage {
    margin-top: 40px;
  }

  .h-scroll {
    display: none;
  }
}

@media (max-width: 575px) {
  .h-stage {
    --s: 210px;
  }

  .h-float {
    font-size: 12px;
    padding: 9px 12px;
  }

  .h-float b {
    font-size: 13px;
  }

  .h-float .ico {
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .h-float--a {
    left: 0;
    top: 10px;
  }

  .h-float--b {
    right: 0;
  }

  .h-face__body {
    padding: 12px;
  }

  .h-face__body b {
    font-size: 17px;
  }

  .h-face__body .ico {
    width: 46px;
    height: 46px;
    padding: 10px;
    margin-bottom: 8px;
  }

  .h-face__body small {
    display: none;
  }

  .h-hero__trust strong {
    font-size: 22px;
  }
}

/*=================================================================
  Bank marquee
==================================================================*/
.h-banks {
  padding: 70px 0 60px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.h-banks__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 34px;
}

.h-banks__title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0;
}

.h-marquee {
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.h-marquee__track {
  display: flex;
  width: max-content;
}

.h-marquee.is-ready .h-marquee__track {
  animation: h-marquee 55s linear infinite;
}

.h-marquee--reverse.is-ready .h-marquee__track {
  animation-direction: reverse;
  animation-duration: 60s;
}

.h-marquee:hover .h-marquee__track {
  animation-play-state: paused;
}

.h-marquee__set {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.h-marquee__set li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 92px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}

.h-marquee__set li:hover {
  border-color: #c9d3ff;
  box-shadow: 0 14px 30px -16px rgba(59, 108, 246, .5);
  transform: translateY(-3px);
}

.h-marquee__set img {
  max-width: 100%;
  max-height: 60px !important;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .3s, opacity .3s;
}

.h-marquee__set li:hover img {
  filter: none;
  opacity: 1;
}

@keyframes h-marquee {
  to {
    transform: translateX(-50%);
  }
}

/*=================================================================
  About (bento)
==================================================================*/
.h-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 34px;
}

.h-chips a {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #1e2a4a;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s var(--ease);
}

.h-chips a:hover,
.h-chips a:focus {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
  transform: translateY(-2px);
}

.h-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.h-bento__img {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.h-bento__img img {
  display: block;
  width: 100%;
  aspect-ratio: 1740 / 700;
  object-fit: cover;
}

.h-bento__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.h-bento__card .ico {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
}

.h-ico-grad {
  color: var(--violet);
}

.h-bento__big {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}

.h-bento__card--grad {
  color: rgba(255, 255, 255, .85);
  background: var(--grad);
  border: 0;
  justify-content: flex-end;
}

.h-bento__card--grad .h-bento__big,
.h-bento__card--dark .h-bento__big {
  color: #fff;
}

.h-bento__card--dark {
  color: rgba(255, 255, 255, .7);
  background: var(--ink);
  border: 0;
}

.h-bento__card--dark .ico {
  color: #8fd8ff;
}

@media (max-width: 575px) {
  .h-bento {
    grid-template-columns: 1fr;
  }
}

/*=================================================================
  Services (dark, spotlight cards)
==================================================================*/
.h-services {
  background: var(--ink);
  overflow: hidden;
}

.h-services__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(40, 171, 227, .18), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(124, 77, 255, .22), transparent 70%);
}

.h-services .container {
  position: relative;
}

.h-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.h-svc {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 250px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.h-svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(124, 77, 255, .28), rgba(40, 171, 227, .08) 45%, transparent 70%);
  transition: opacity .4s;
}

.h-svc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(143, 216, 255, .9), rgba(124, 77, 255, .6) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.h-svc:hover,
.h-svc:focus {
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(124, 77, 255, .6);
}

.h-svc:hover::before,
.h-svc:hover::after,
.h-svc:focus::before,
.h-svc:focus::after {
  opacity: 1;
}

.h-svc__no {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .3);
}

.h-svc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(40, 171, 227, .25), rgba(124, 77, 255, .3));
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .5s var(--ease);
}

.h-svc__icon .ico {
  width: 26px;
  height: 26px;
}

.h-svc:hover .h-svc__icon {
  transform: translateZ(0) rotate(-8deg) scale(1.08);
}

.h-svc h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 10px;
}

.h-svc p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .6) !important;
  margin-bottom: 18px;
}

.h-svc__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #8fd8ff;
}

.h-svc__more .ico {
  transition: transform .3s var(--ease);
}

.h-svc:hover .h-svc__more .ico {
  transform: translateX(5px);
}

.h-svc--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 40px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(124, 77, 255, .35), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(40, 171, 227, .3), transparent 70%),
    rgba(255, 255, 255, .04);
}

.h-svc--feature h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.h-svc--feature p {
  font-size: 16.5px;
  max-width: 420px;
}

.h-svc--feature .h-svc__icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--grad);
}

.h-svc--feature .h-svc__icon .ico {
  width: 32px;
  height: 32px;
}

.h-svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.h-svc__tags li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
}

.h-svc--cta {
  grid-column: span 2;
  min-height: 0;
  background: linear-gradient(120deg, #3b6cf6, #7c4dff 55%, #ff8a3d);
  border: 0;
}

.h-svc--cta p {
  color: rgba(255, 255, 255, .85) !important;
}

.h-svc--cta .h-svc__icon {
  background: rgba(255, 255, 255, .18);
}

.h-svc--cta .h-svc__more {
  color: #fff;
}

@media (max-width: 991px) {
  .h-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .h-svc--feature {
    grid-row: auto;
  }
}

@media (max-width: 575px) {
  .h-svc-grid {
    grid-template-columns: 1fr;
  }

  .h-svc--feature,
  .h-svc--cta {
    grid-column: auto;
  }

  .h-svc--feature {
    padding: 30px;
  }
}

/*=================================================================
  Valuation purposes (tabs)
==================================================================*/
.h-purpose {
  background: var(--soft);
}

.h-tabs {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.h-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.h-tabs__list button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}

.h-tabs__list button .ico {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  transition: all .3s;
}

.h-tabs__list button:hover {
  background: rgba(255, 255, 255, .7);
}

.h-tabs__list button[aria-selected="true"] {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, .35);
}

.h-tabs__list button[aria-selected="true"] .ico {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
}

.h-tabs__panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 300px;
}

.h-tabs__panel+.h-tabs__panel {
  margin-top: 16px;
}

.h-js .h-tabs__panel+.h-tabs__panel {
  margin-top: 0;
}

.h-tabs__panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 40px;
  background: var(--grad);
  opacity: .12;
  transform: rotate(25deg);
}

.h-tabs__panel:not([hidden]) {
  animation: h-panel .6s var(--ease);
}

@keyframes h-panel {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.h-tabs__panel h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.h-tabs__panel p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 26px;
}

@media (max-width: 991px) {
  .h-tabs {
    grid-template-columns: 1fr;
  }

  /* All purposes visible as a wrapping grid (a hidden-scrollbar strip hid 4 of 6 on phones) */
  .h-tabs__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .h-tabs__list button {
    gap: 10px;
    padding: 10px 12px;
    font-size: 14.5px;
    line-height: 1.25;
  }

  .h-tabs__list button .ico {
    flex: none;
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .h-tabs__panel {
    padding: 32px 26px;
  }
}

@media (max-width: 575px) {
  .h-tabs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h-tabs__list button {
    padding: 9px 10px;
    font-size: 13.5px;
  }
}

/*=================================================================
  Process timeline
==================================================================*/
.h-steps {
  --progress: 0;
  position: relative;
  counter-reset: step;
}

.h-steps::before,
.h-steps::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}

.h-steps::after {
  background: linear-gradient(180deg, #28abe3, #7c4dff, #ff8a3d);
  transform-origin: top;
  transform: scaleY(var(--progress));
}

.h-step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
  padding-bottom: 34px;
  counter-increment: step;
}

.h-step:last-child {
  padding-bottom: 0;
}

.h-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--line);
  color: #94a3b8;
  transition: all .6s var(--ease);
}

.h-step__icon .ico {
  width: 24px;
  height: 24px;
}

.h-step.is-in .h-step__icon {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 12px 26px -10px rgba(124, 77, 255, .7);
  transform: rotate(-6deg);
}

.h-step>div {
  padding: 4px 0 0;
}

.h-step h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.h-step h3::before {
  content: "Step " counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.h-step p {
  font-size: 16px;
  max-width: 520px;
  margin: 0;
}

.h-docs {
  position: sticky;
  top: 130px;
  padding: 32px;
  border-radius: 26px;
  color: #fff;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(124, 77, 255, .5), transparent 70%),
    var(--ink);
  box-shadow: var(--shadow);
}

.h-docs h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.h-checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}

.h-checklist .ico {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: #0a0f24;
  stroke-width: 3;
  background: linear-gradient(135deg, #8fd8ff, #b9a4ff);
}

.h-docs__note {
  margin: 16px 0 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55) !important;
}

/*=================================================================
  Numbers
==================================================================*/
.h-stats {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(40, 171, 227, .3), transparent 65%),
    radial-gradient(800px 500px at 100% 100%, rgba(255, 138, 61, .22), transparent 65%),
    linear-gradient(135deg, #0a0f24, #1b1150);
}

.h-stats__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.h-stats .container {
  position: relative;
}

.h-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.h-stat {
  padding: 34px 26px;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.h-stat:hover {
  border-color: rgba(143, 216, 255, .4);
  background: rgba(255, 255, 255, .08);
}

.h-stat__num {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(120deg, #8fd8ff, #b9a4ff 55%, #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.h-stat h3 {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}

@media (max-width: 991px) {
  .h-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*=================================================================
  Featured work
==================================================================*/
.h-work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.h-work__head .h-title {
  margin-bottom: 0;
}

.h-filter {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.h-filter button {
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
}

.h-filter button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(10, 15, 36, .7);
}

.h-work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}

.h-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
  animation: h-pop .6s var(--ease);
}

.h-shot[hidden] {
  display: none;
}

@keyframes h-pop {
  from {
    opacity: 0;
    transform: scale(.94);
  }
}

.h-shot--tall {
  grid-row: span 2;
}

.h-shot--wide {
  grid-column: span 2;
}

.h-shot img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.h-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 15, 36, .85));
  opacity: .6;
  transition: opacity .4s;
}

.h-shot__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  transform: translateY(8px);
  opacity: .9;
  transition: transform .4s var(--ease), opacity .4s;
}

.h-shot:hover img {
  transform: scale(1.08);
}

.h-shot:hover::after {
  opacity: 1;
}

.h-shot:hover .h-shot__cap {
  transform: none;
  opacity: 1;
}

@media (max-width: 991px) {
  .h-work__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 575px) {
  .h-work__grid {
    grid-auto-rows: 160px;
    gap: 10px;
  }
}

/*=================================================================
  Credentials
==================================================================*/
.h-trust {
  background: var(--soft);
}

.h-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.h-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}

.h-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.h-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.h-card:hover::before {
  transform: scaleX(1);
}

.h-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--violet);
  background: var(--grad-soft);
}

.h-card__icon .ico {
  width: 26px;
  height: 26px;
}

.h-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.h-card p {
  font-size: 15px;
  margin: 0;
}

.h-card a {
  color: var(--blue);
  font-weight: 600;
}

.h-members {
  margin-top: 26px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.h-members h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.h-members ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.h-members li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.h-members li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

@media (max-width: 991px) {
  .h-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .h-trust__grid {
    grid-template-columns: 1fr;
  }
}

/*=================================================================
  Offices & coverage
==================================================================*/
.h-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.h-towns li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  cursor: default;
  transition: all .3s var(--ease);
}

.h-towns li:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-2px) scale(1.04);
}

.h-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: 100%;
}

.h-office {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(380px 260px at 100% 0%, rgba(124, 77, 255, .45), transparent 70%),
    radial-gradient(300px 220px at 0% 100%, rgba(40, 171, 227, .35), transparent 70%),
    var(--ink);
  box-shadow: var(--shadow);
}

.h-office:nth-child(2) {
  background:
    radial-gradient(380px 260px at 100% 0%, rgba(255, 138, 61, .4), transparent 70%),
    radial-gradient(300px 220px at 0% 100%, rgba(124, 77, 255, .35), transparent 70%),
    var(--ink);
}

.h-office__ping {
  position: absolute;
  top: 34px;
  right: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4ade80;
}

.h-office__ping::before,
.h-office__ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #4ade80;
  animation: h-radar 2.4s ease-out infinite;
}

.h-office__ping::after {
  animation-delay: 1.2s;
}

@keyframes h-radar {
  from {
    transform: scale(1);
    opacity: .9;
  }

  to {
    transform: scale(4);
    opacity: 0;
  }
}

.h-office__tag {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fd8ff !important;
}

.h-office h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.h-office h3 a {
  color: #fff;
}

.h-office h3 a:hover {
  color: #8fd8ff;
}

.h-office address {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}

.h-office__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6) !important;
  margin-bottom: 24px;
}

.h-office__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.h-office__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
}

.h-office__links a:hover,
.h-office__links a:focus {
  color: var(--ink);
  background: #fff;
}

@media (max-width: 575px) {
  .h-offices {
    grid-template-columns: 1fr;
  }
}

/*=================================================================
  Team
==================================================================*/
.h-team {
  background: var(--soft);
}

.h-team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.h-member {
  padding: 30px 20px 26px;
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.h-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.h-member__avatar {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--grad);
}

.h-member:hover .h-member__avatar {
  animation: h-ring 3s linear infinite;
}

@keyframes h-ring {
  to {
    filter: hue-rotate(360deg);
  }
}

.h-member__avatar>span,
.h-member__avatar img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100% !important;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #0a0f24, #2a2366);
}

.h-member h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.h-member__role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue) !important;
  margin-bottom: 10px;
}

.h-member__bio {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1199px) {
  .h-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .h-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .h-team__grid {
    grid-template-columns: 1fr;
  }
}

/*=================================================================
  FAQ
==================================================================*/
.h-faq__card {
  padding: 30px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(140deg, #3b6cf6, #7c4dff 60%, #ff8a3d);
  box-shadow: 0 24px 50px -24px rgba(124, 77, 255, .8);
}

.h-faq__card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.h-faq__card p {
  color: rgba(255, 255, 255, .85) !important;
  margin-bottom: 20px;
}

.page-modern .faq-item {
  margin-bottom: 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--soft);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.page-modern .faq-item:hover {
  border-color: var(--line);
}

.page-modern .faq-item[open] {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 20px 44px -26px rgba(15, 23, 42, .35);
}

.page-modern .faq-item summary {
  padding: 22px 70px 22px 26px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-modern .faq-item summary::after {
  content: "+";
  right: 22px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), background .3s, color .3s;
}

.page-modern .faq-item[open] summary::after {
  content: "+";
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-50%) rotate(135deg);
}

.page-modern .faq-answer {
  padding: 0 26px 12px;
}

.page-modern .faq-item[open] .faq-answer {
  animation: h-panel .5s var(--ease);
}

.page-modern .faq-answer p {
  font-size: 16px;
  line-height: 1.75;
}

/*=================================================================
  Contact
==================================================================*/
.h-contact {
  padding: 0 0 110px;
}

.h-contact__panel {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 34px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(10, 15, 36, .8);
}

.h-contact__panel>.row {
  position: relative;
}

.h-contact__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(500px 340px at 0% 0%, rgba(40, 171, 227, .35), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(124, 77, 255, .4), transparent 70%),
    radial-gradient(300px 200px at 70% 0%, rgba(255, 138, 61, .22), transparent 70%);
}

.h-contact__list {
  margin: 30px 0;
}

.h-contact__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .8);
}

.h-contact__list .ico {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #8fd8ff;
}

.h-contact__list span {
  padding-top: 2px;
  line-height: 1.6;
}

.h-contact__list a {
  color: #fff;
  font-weight: 600;
}

.h-contact__list a:hover {
  color: #8fd8ff;
}

.h-social {
  display: flex;
  gap: 10px;
}

.h-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: all .3s var(--ease);
}

.h-social a:hover,
.h-social a:focus {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-3px);
}

.h-form {
  padding: 32px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.h-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.h-field {
  position: relative;
  margin-bottom: 14px;
}

.h-field input,
.h-field textarea {
  display: block;
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-family: inherit;
  font-size: 15.5px;
  outline: 0;
  resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s;
}

.h-field textarea {
  min-height: 140px;
}

.h-field label {
  position: absolute;
  left: 19px;
  top: 18px;
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .55);
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s var(--ease), color .25s;
}

.h-field input:focus,
.h-field textarea:focus {
  border-color: #7c9bff;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, .25);
}

.h-field input:focus+label,
.h-field input:not(:placeholder-shown)+label,
.h-field textarea:focus+label,
.h-field textarea:not(:placeholder-shown)+label {
  top: 8px;
  font-size: 12px;
  color: #8fd8ff;
}

.h-form .h-btn {
  margin-top: 6px;
}

.page-modern .h-form .form-status {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .75);
}

.page-modern .h-form .form-status.is-success {
  color: #4ade80;
}

.page-modern .h-form .form-status.is-error {
  color: #fca5a5;
}

@media (max-width: 991px) {
  .h-contact__panel {
    padding: 44px 30px;
  }
}

@media (max-width: 575px) {
  .h-contact__panel {
    padding: 36px 20px;
    border-radius: 26px;
  }

  .h-form {
    padding: 20px;
  }

  .h-form__row {
    grid-template-columns: 1fr;
  }
}

/*=================================================================
  Floating call button (mobile)
==================================================================*/
.h-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  display: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 30px -8px rgba(124, 77, 255, .8);
}

.h-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #7c4dff;
  animation: h-radar 2.2s ease-out infinite;
}

.h-fab .ico {
  width: 24px;
  height: 24px;
}

.h-fab:hover,
.h-fab:focus {
  color: #fff;
}

@media (max-width: 991px) {
  .h-fab {
    display: inline-flex;
  }
}

/*=================================================================
  Footer (home page skin)
==================================================================*/
.page-modern #footer {
  position: relative;
}

.page-modern #footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 1;
  background: var(--grad);
}

.page-modern .top-footer {
  background: #070b1f;
  border-top: 0;
  padding: 70px 0 50px;
}

.page-modern .top-footer h3 {
  font-family: inherit;
  font-weight: 800;
}

.page-modern .top-footer p,
.page-modern .top-footer li a,
.page-modern .footer-address {
  color: rgba(255, 255, 255, .6);
}

.page-modern .top-footer li a:hover {
  color: #8fd8ff;
}

.page-modern .top-footer address a,
.page-modern .top-footer .footer-contact a {
  color: #8fd8ff;
}

.page-modern .footer-bottom {
  background: #05081a;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

/*=================================================================
  Responsive section spacing & reduced motion
==================================================================*/
@media (max-width: 767px) {

  .h-section,
  .h-stats {
    padding: 76px 0;
  }

  .h-contact {
    padding-bottom: 76px;
  }

  .h-head {
    margin-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .page-modern *,
  .page-modern *::before,
  .page-modern *::after {
    animation: none !important;
    transition: none !important;
  }

  .h-js .reveal {
    opacity: 1;
    translate: none;
  }
}

/*=================================================================
  Upgrade layer: dark glass nav, particle hero, kinetic band, 3D report,
  wireframe cubes, radar office cards, profile team cards, cursor, progress
==================================================================*/
/* ---------- nav: dark glass, logo on a white tile ---------- */
.page-modern .navigation>.container {
  background: rgba(10, 15, 36, .5);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .55);
}

.page-modern .navigation.sticky-header>.container {
  background: rgba(10, 15, 36, .84);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .55);
}

.page-modern .navbar-brand {
  margin: 8px 0;
  padding: 3px;
  line-height: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5);
}

.page-modern .logo-size {
  height: 56px !important;
  width: 56px !important;
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link {
  color: rgba(255, 255, 255, .78);
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link:hover,
.page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link:focus {
  color: #fff;
}

.page-modern .navigation .navbar-light .navbar-nav .nav-item.active .nav-link {
  background: linear-gradient(120deg, #8fd8ff, #b9a4ff 55%, #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-modern .navigation .dropdown-menu {
  background: rgba(14, 20, 46, .97);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

.page-modern .navigation .dropdown-item {
  color: rgba(255, 255, 255, .78);
}

.page-modern .navigation .dropdown-item:hover,
.page-modern .navigation .dropdown-item:focus {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.page-modern .navigation .navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, .25);
}

.page-modern .navigation .navbar-light .navbar-toggler-icon {
  filter: invert(1);
}

@media (max-width: 991px) {
  .page-modern .logo-size {
    height: 48px !important;
    width: 48px !important;
  }

  .page-modern .navigation>.container {
    background: rgba(10, 15, 36, .88);
  }

  .page-modern .navigation .dropdown-menu {
    background: rgba(255, 255, 255, .05);
  }
}

/* ---------- hero refinements ---------- */
.h-hero__title {
  font-size: clamp(2.5rem, 4.7vw, 4.1rem);
}

.page-modern .h-hero .lead-summary {
  font-size: 16.5px;
}

.page-modern .h-hero .lead-summary strong {
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}

.h-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.h-stage {
  --s: 270px;
}

.h-cube-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: min(100%, 390px);
  border-radius: 20px;
}

.h-cube-nav button {
  padding: 8px 10px;
  font-size: 12.5px;
  white-space: nowrap;
}

/* grain texture on dark surfaces */
.h-hero::after,
.h-services::after,
.h-stats::after,
.h-contact__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.h-services .container,
.h-stats .container,
.h-contact__panel>.row {
  position: relative;
  z-index: 2;
}

/* ---------- kinetic text band ---------- */
.h-band {
  position: relative;
  overflow: hidden;
  padding: 54px 0 50px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.h-band__row {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
  color: var(--ink);
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}

.h-band__row i {
  font-size: .45em;
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-band__row--outline {
  margin-left: -1400px;
  color: transparent;
  -webkit-text-stroke: 1.5px #b9c3dc;
}

/* ---------- services: floating 3D report mock ---------- */
.h-report {
  position: absolute;
  right: 36px;
  bottom: 40px;
  width: 240px;
  height: 236px;
  perspective: 900px;
  pointer-events: none;
}

.h-report__sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .75);
  animation: h-float3d 7s ease-in-out infinite;
}

.h-report__sheet--back {
  background: var(--grad);
  opacity: .75;
  box-shadow: none;
  animation-name: h-float3d-back;
}

@keyframes h-float3d {

  0%,
  100% {
    transform: rotateX(16deg) rotateY(-24deg) rotateZ(4deg) translateY(0);
  }

  50% {
    transform: rotateX(12deg) rotateY(-16deg) rotateZ(3deg) translateY(-12px);
  }
}

@keyframes h-float3d-back {

  0%,
  100% {
    transform: rotateX(16deg) rotateY(-24deg) rotateZ(10deg) translate3d(-22px, -14px, -50px);
  }

  50% {
    transform: rotateX(12deg) rotateY(-16deg) rotateZ(9deg) translate3d(-26px, -24px, -50px);
  }
}

.h-report__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.h-report__head b {
  font-size: 14px;
  font-weight: 800;
}

.h-report__head em {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
}

.h-report__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 8px;
  margin-bottom: 2px;
  border-radius: 12px;
  background: var(--soft);
}

.h-report__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #7c4dff, #28abe3);
  transform-origin: bottom;
}

.h-svc.is-in .h-report__bars i {
  animation: h-grow 1.2s var(--ease) both;
}

.h-report__bars i:nth-child(2) { animation-delay: .08s; }
.h-report__bars i:nth-child(3) { animation-delay: .16s; }
.h-report__bars i:nth-child(4) { animation-delay: .24s; }
.h-report__bars i:nth-child(5) { animation-delay: .32s; }
.h-report__bars i:nth-child(6) { animation-delay: .4s; }
.h-report__bars i:nth-child(7) { animation-delay: .48s; }

@keyframes h-grow {
  from {
    transform: scaleY(0);
  }
}

.h-report__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}

.h-report__row .ico {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 50%;
  stroke-width: 3;
  color: #fff;
  background: #22c55e;
}

@media (max-width: 991px) {
  .h-report {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    margin: 0 10px 28px auto;
  }
}

@media (max-width: 575px) {
  .h-report {
    align-self: center;
    margin: 0 auto 28px;
  }
}

/* ---------- wireframe cubes ---------- */
.h-stats__bg,
.h-contact__glow {
  perspective: 1000px;
}

.h-wire {
  --w: 220px;
  position: absolute;
  width: var(--w);
  height: var(--w);
  transform-style: preserve-3d;
  animation: h-wire 28s linear infinite;
}

.h-wire i {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(143, 216, 255, .4);
  border-radius: 6px;
  box-shadow: inset 0 0 40px rgba(124, 77, 255, .18), 0 0 20px rgba(124, 77, 255, .12);
}

.h-wire i:nth-child(1) { transform: translateZ(calc(var(--w) / 2)); }
.h-wire i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--w) / 2)); }
.h-wire i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.h-wire i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.h-wire i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--w) / 2)); }
.h-wire i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--w) / 2)); }

@keyframes h-wire {
  from {
    transform: rotateX(-24deg) rotateY(0deg) rotateZ(8deg);
  }

  to {
    transform: rotateX(-24deg) rotateY(360deg) rotateZ(8deg);
  }
}

.h-stats .h-wire {
  right: 5%;
  top: 60px;
}

.h-contact__glow .h-wire {
  --w: 150px;
  right: -20px;
  top: -30px;
  opacity: .7;
  animation-duration: 22s;
  animation-direction: reverse;
}

@media (max-width: 991px) {
  .h-wire {
    display: none;
  }
}

/* ---------- work grid ---------- */
.h-shot--big {
  grid-column: span 2;
  grid-row: span 2;
}

/* ---------- office cards: radar map ---------- */
.h-office>* {
  position: relative;
  z-index: 1;
}

.h-office>.h-office__map {
  position: absolute;
  z-index: 0;
  right: -70px;
  top: 68%;
  width: 280px;
  height: 280px;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(143, 216, 255, .16) 0 1px, transparent 1px 38px),
    radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.5px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 70%);
  mask-image: radial-gradient(circle, #000 45%, transparent 70%);
}

.h-office__map::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(143, 216, 255, .4), transparent 22%);
  animation: h-sweep 4s linear infinite;
}

@keyframes h-sweep {
  to {
    transform: rotate(360deg);
  }
}

.h-office__map .h-office__ping {
  top: 50%;
  left: 50%;
  right: auto;
  margin: -6px 0 0 -6px;
}

/* ---------- team: profile cards ---------- */
.h-member {
  position: relative;
  overflow: hidden;
  padding: 0 20px 26px;
}

.h-member::before {
  content: "";
  display: block;
  height: 84px;
  margin: 0 -20px;
  background:
    radial-gradient(160px 80px at 80% 0%, rgba(255, 138, 61, .55), transparent 70%),
    linear-gradient(120deg, #28abe3, #3b6cf6 45%, #7c4dff);
}

.h-member:nth-child(even)::before {
  background:
    radial-gradient(160px 80px at 20% 0%, rgba(40, 171, 227, .6), transparent 70%),
    linear-gradient(120deg, #7c4dff, #3b6cf6 55%, #ff8a3d);
}

.h-member__avatar {
  margin: -56px auto 16px;
  box-shadow: 0 14px 30px -12px rgba(15, 23, 42, .45);
}

/* ---------- footer typography ---------- */
.page-modern .top-footer li a,
.page-modern .top-footer p {
  font-family: inherit;
  font-size: 14.5px;
  letter-spacing: 0;
  text-transform: none;
}

.page-modern .top-footer h3 {
  font-size: 15px;
  letter-spacing: .12em;
}

/* ---------- scroll progress + custom cursor ---------- */
.h-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: 3px;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.h-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background-color .3s;
}

.h-cursor.is-on {
  opacity: 1;
}

.h-cursor.is-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: #fff;
}

@media (hover: none),
(pointer: coarse),
(prefers-reduced-motion: reduce) {
  .h-cursor {
    display: none;
  }
}

/* team bios reveal on hover where hover exists; always visible on touch */
@media (hover: hover) and (pointer: fine) {
  .h-member__bio {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease), opacity .4s;
  }

  .h-member:hover .h-member__bio,
  .h-member:focus-within .h-member__bio {
    max-height: 220px;
    opacity: 1;
  }

  .h-team__grid {
    align-items: start;
  }
}

/*=================================================================
  Inner pages: page hero, content rows, media, related services, CTA
==================================================================*/
.p-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 96px;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -20%, rgba(59, 108, 246, .38), transparent 60%),
    radial-gradient(800px 500px at -10% 120%, rgba(124, 77, 255, .38), transparent 60%),
    linear-gradient(180deg, #070b1f 0%, #0a0f24 70%, #0d1230 100%);
}

.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.p-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  perspective: 1000px;
}

.p-hero .h-blob--1 {
  width: 420px;
  height: 420px;
}

.p-hero .h-wire {
  --w: 200px;
  right: 9%;
  top: 50%;
  margin-top: -60px;
  opacity: .9;
}

.p-hero>.container {
  position: relative;
  z-index: 2;
}

.p-hero__copy>* {
  animation: h-rise 1s var(--ease) both;
}

.p-hero__copy>*:nth-child(2) { animation-delay: .06s; }
.p-hero__copy>*:nth-child(3) { animation-delay: .12s; }
.p-hero__copy>*:nth-child(4) { animation-delay: .18s; }
.p-hero__copy>*:nth-child(5) { animation-delay: .24s; }
.p-hero__copy>*:nth-child(6) { animation-delay: .3s; }

.p-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
}

.p-crumbs li+li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .3);
}

.p-crumbs a {
  color: rgba(255, 255, 255, .75);
}

.p-crumbs a:hover {
  color: #fff;
}

.p-crumbs [aria-current] {
  color: #8fd8ff;
}

.p-hero__title {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #fff;
  margin-bottom: 22px;
}

.page-modern .p-hero .lead-summary {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 34px;
}

.page-modern .p-hero .lead-summary strong {
  font-weight: 600;
  color: rgba(255, 255, 255, .94);
}

.page-modern .p-hero .lead-summary a {
  color: #8fd8ff;
}

.p-hero .h-hero__cta {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .p-hero {
    padding: 130px 0 70px;
  }
}

/* ---------- body typography inside content sections ---------- */
:where(.page-modern main) h2,
:where(.page-modern main) h3,
:where(.page-modern main) h4,
:where(.page-modern main) h5 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-modern main h2.h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}

.page-modern main h2.h4 {
  font-size: clamp(1.35rem, 2.1vw, 1.65rem);
  margin-bottom: 14px;
}

.page-modern main h2.h5 {
  font-size: 1.15rem;
}

:where(.page-modern main) p {
  font-size: 16.5px;
  line-height: 1.75;
}

:where(.page-modern main) :where(p, li) a:where(:not(.h-btn):not(.btn)) {
  color: var(--blue);
  font-weight: 600;
}

:where(.page-modern main) :where(p, li) a:where(:not(.h-btn):not(.btn)):hover {
  color: var(--violet);
}

.page-modern .section-sm {
  padding: 96px 0;
}

.page-modern .section {
  padding: 110px 0;
}

.page-modern .bg-gray {
  background: var(--soft);
}

.page-modern .title {
  padding-bottom: 46px;
  overflow: visible;
}

.page-modern .title h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--ink);
}

.page-modern .title h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin: 0 auto 20px;
  border-radius: 4px;
  background: var(--grad);
}

.page-modern .title p {
  font-size: 17px;
  color: var(--muted);
}

/* alternating image / text rows */
.p-split {
  row-gap: 28px;
}

.p-split+.p-split,
.page-modern .row.mt-40+.row.mt-40 {
  margin-top: 96px !important;
}

@media (max-width: 991px) {

  .p-split+.p-split,
  .page-modern .row.mt-40+.row.mt-40 {
    margin-top: 64px !important;
  }
}

.p-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--soft);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45);
}

.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

.p-media img {
  display: block;
  width: 100%;
  transition: transform 1.1s var(--ease);
}

.p-media:hover img {
  transform: scale(1.05);
}

.page-modern main section:not(.portfolio) img.img-fluid:not(.bank-logo):not(.portfolio-img) {
  border-radius: 22px;
}

/* check lists */
.page-modern .feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
}

.page-modern .feature-list li {
  position: relative;
  display: block;
  padding-left: 46px !important;
  width: auto;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #1e2a4a;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}

.page-modern .feature-list li:hover {
  border-color: #c9d3ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -16px rgba(59, 108, 246, .5);
}

.page-modern .feature-list .ico,
.page-modern .feature-list li>i {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  stroke-width: 3;
  color: #fff;
  background: var(--grad);
}

@media (max-width: 575px) {
  .page-modern .feature-list {
    grid-template-columns: 1fr;
  }
}

/* numbered process (valuation) */
.page-modern .process-steps {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  counter-reset: pstep;
}

.page-modern .process-steps li {
  position: relative;
  padding: 0 0 26px 70px;
  margin: 0;
  counter-increment: pstep;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.page-modern .process-steps li::before {
  content: counter(pstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 24px -10px rgba(124, 77, 255, .7);
}

.page-modern .process-steps li::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(124, 77, 255, .4), transparent);
}

.page-modern .process-steps li:last-child::after {
  display: none;
}

.page-modern .process-steps strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

/* town chips */
.page-modern .area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.page-modern .area-list li,
.page-modern .area-list-col li {
  display: inline-flex;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  transition: all .3s var(--ease);
}

.page-modern .area-list li:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-2px);
}

/* office / contact detail lists */
.page-modern .contact-short-info {
  margin: 18px 0 26px;
}

.page-modern .contact-short-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px !important;
  font-size: 15.5px;
  line-height: 1.6;
  color: #334155;
}

.page-modern .contact-short-info li>i {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 20px;
  color: var(--violet);
  background: var(--grad-soft);
}

.page-modern .contact-short-info li>span,
.page-modern .contact-short-info li>address {
  padding-top: 9px;
  margin: 0;
}

/* legacy buttons inside page bodies */
.page-modern .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: linear-gradient(110deg, #28abe3, #3b6cf6 35%, #7c4dff 65%, #ff8a3d 100%) 0 0 / 200% 100%;
  box-shadow: 0 12px 30px -10px rgba(91, 76, 255, .65);
  transition: transform .3s var(--ease), background-position .6s var(--ease);
}

.page-modern .btn-main:hover,
.page-modern .btn-main:focus {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-2px);
}

/* ---------- related services ---------- */
.p-related {
  background: var(--soft);
}

.p-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.p-rel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.p-rel:hover,
.p-rel:focus {
  color: var(--ink);
  border-color: #c9d3ff;
  box-shadow: 0 24px 44px -26px rgba(59, 108, 246, .55);
}

.p-rel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--violet);
  background: var(--grad-soft);
  transition: all .4s var(--ease);
}

.p-rel__icon .ico {
  width: 24px;
  height: 24px;
}

.p-rel:hover .p-rel__icon {
  color: #fff;
  background: var(--grad);
  transform: rotate(-8deg);
}

.p-rel__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.p-rel__body b {
  font-size: 16.5px;
  font-weight: 800;
}

.p-rel__body small {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.p-rel__arrow {
  margin-left: auto;
  color: var(--blue);
  transition: transform .3s var(--ease);
}

.p-rel:hover .p-rel__arrow {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .p-rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .p-rel-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA panel ---------- */
.p-cta {
  padding: 0 0 110px;
}

.p-cta__panel {
  position: relative;
  overflow: hidden;
  padding: 72px 64px;
  border-radius: 34px;
  background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(10, 15, 36, .8);
}

.p-cta__body {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.p-cta .h-hero__cta {
  margin: 30px 0 0;
}

.h-faq+.p-cta,
.p-related+.p-cta {
  padding-top: 0;
}

.page-modern section.bg-gray+.p-cta,
.p-related+.p-cta {
  padding-top: 110px;
}

@media (max-width: 767px) {
  .p-cta__panel {
    padding: 48px 26px;
    border-radius: 26px;
  }

  .p-cta {
    padding-bottom: 76px;
  }
}

/* ---------- reusable white card ---------- */
.p-card {
  height: 100%;
  padding: 34px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.p-card .p-media {
  margin-top: 24px;
}

/*=================================================================
  Page specifics: empanelment, gallery, career, 404
==================================================================*/
.page-modern .bank-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 46px 0 22px;
  padding: 0;
  border: 0;
  font-size: 1.4rem;
}

.page-modern .bank-group::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--grad);
  transform: rotate(45deg);
}

.page-modern .bank-card {
  padding: 22px 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}

.page-modern .bank-card:hover {
  transform: translateY(-5px);
  border-color: #c9d3ff;
  box-shadow: 0 24px 44px -26px rgba(59, 108, 246, .55);
}

.page-modern .bank-card .bank-logo {
  width: 100%;
  height: 110px;
  object-fit: contain;
  filter: grayscale(.4);
  transition: filter .3s;
}

.page-modern .bank-card:hover .bank-logo {
  filter: none;
}

.page-modern .bank-card figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* gallery */
.page-modern .portfolio-filter {
  display: flex;
  justify-content: center;
  margin: 0 auto 36px;
}

.page-modern .portfolio-filter-inner,
.page-modern .portfolio-filter {
  gap: 4px;
}

.page-modern .portfolio-filter button {
  margin: 0;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  transition: all .3s;
}

.page-modern .portfolio-filter button:hover {
  color: var(--ink);
}

.page-modern .portfolio-filter button.active,
.page-modern .portfolio-filter button[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(10, 15, 36, .7);
}

.page-modern .portfolio .filtr-item {
  padding: 8px;
}

.page-modern .portfolio .portfolio-block {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft);
}

.page-modern .portfolio .portfolio-block img {
  transition: transform 1s var(--ease);
}

.page-modern .portfolio .portfolio-block::before {
  width: auto;
  height: auto;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 15, 36, .05), rgba(10, 15, 36, .7));
}

.page-modern .portfolio .portfolio-block:hover img {
  transform: scale(1.08);
}

.page-modern .portfolio .portfolio-block .caption {
  inset: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
}

.page-modern .portfolio .portfolio-block:hover .caption {
  top: 0;
}

.page-modern .portfolio .portfolio-block .caption .search-icon {
  width: 54px;
  height: 54px;
  margin: 0;
  line-height: 56px;
  font-size: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5);
  transform: scale(.8);
  transition: transform .4s var(--ease);
}

.page-modern .portfolio .portfolio-block:hover .caption .search-icon {
  transform: scale(1);
}

.page-modern .portfolio .portfolio-block .caption .search-icon::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* career */
.page-modern .opportunity-info {
  margin-bottom: 22px;
}

.page-modern .oppotunity-detals {
  margin: 0;
  padding: 36px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}

.page-modern .oppotunity-detals:hover {
  border-color: #c9d3ff;
  box-shadow: var(--shadow);
}

.page-modern .oppotunity-detals>h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.page-modern .oppotunity-detals>h3::before {
  content: "";
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--grad) center / 100% no-repeat;
  -webkit-mask: none;
}

.page-modern .fst-detl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.page-modern .fst-detl>* {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--soft);
}

.page-modern .fst-detl h4 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-modern .fst-detl p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 600;
}

.page-modern .jobdesp h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.page-modern .jobdesp ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin-top: 12px;
}

.page-modern .jobdesp li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.page-modern .jobdesp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

@media (max-width: 767px) {

  .page-modern .fst-detl,
  .page-modern .jobdesp ul {
    grid-template-columns: 1fr;
  }

  .page-modern .oppotunity-detals {
    padding: 26px 22px;
  }
}

/* image marquee (about page) */
.p-strip {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.p-strip+.p-strip {
  margin-top: 16px;
}

.p-strip .h-marquee__set li {
  width: auto;
  height: 240px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--soft);
}

.p-strip .h-marquee__set img {
  height: 240px !important;
  max-height: none !important;
  width: auto;
  filter: none;
  opacity: 1;
  transition: transform 1s var(--ease);
}

.p-strip .h-marquee__set li:hover img {
  transform: scale(1.06);
}

.p-strip.is-ready .h-marquee__track {
  animation-duration: 70s;
}

@media (max-width: 575px) {

  .p-strip .h-marquee__set li,
  .p-strip .h-marquee__set img {
    height: 170px !important;
  }
}

/* 404 */
.p-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.p-404 .container>* {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.p-404__code {
  display: block;
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  background: linear-gradient(120deg, #8fd8ff, #b9a4ff 55%, #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.p-404 .h-hero__cta {
  justify-content: center;
}

.p-404__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.p-404__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .16);
}

.p-404__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

/*=================================================================
  Nav CTA + modern footer (all pages)
==================================================================*/
.page-modern .nav-cta {
  margin-left: 14px;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .page-modern .nav-cta {
    display: none;
  }

  .page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link {
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 991px) {
  .page-modern .nav-cta {
    display: flex;
    margin: 10px 0 4px;
  }
}


.page-modern #footer::before {
  z-index: 2;
}

.f-brand {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
}

.f-brand img {
  width: 64px;
  height: 64px !important;
}

.f-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.page-modern .top-footer .f-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: all .3s var(--ease);
}

.page-modern .top-footer .f-social li a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-3px);
}

.page-modern .top-footer ul li {
  margin-bottom: 8px;
}

.f-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.page-modern .footer-bottom p {
  margin: 0;
  letter-spacing: .08em;
}

@media (max-width: 767px) {
  .f-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- contact page, maps, 404 details ---------- */
.h-contact.h-section {
  padding-top: 96px;
}

.page-modern .h-form__title {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.p-address {
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.p-map {
  position: relative;
  display: block;
}

.p-map__pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}

.p-map:hover .p-map__pill {
  transform: translateY(-3px);
}

.page-modern main .p-card h3 a {
  color: var(--ink);
}

.page-modern main .p-card h3 a:hover {
  color: var(--violet);
}

.p-404 {
  padding-bottom: 120px;
}

.p-404 .lead-summary a {
  color: #8fd8ff;
}

.page-modern .p-404 .h-hero__cta {
  margin-top: 6px;
}

.page-modern .p-404 .p-hero__title,
.page-modern .p-404 .lead-summary {
  margin-left: auto;
  margin-right: auto;
}

/* about page: offices inside a half-width column */
.col-lg-6 .h-offices {
  height: auto;
}

.col-lg-6 .h-office {
  padding: 28px 24px;
}

.col-lg-6 .h-office h3 {
  font-size: 1.6rem;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .col-lg-6 .h-offices {
    grid-template-columns: 1fr;
  }
}

/* office location pages: map image in a card */
.page-modern .about-shot-info .contact-short-info+.btn-main,
.page-modern .about-shot-info .btn-main {
  margin-top: 6px;
}

/* ---------- polish: heading weights, about radar, service-area office cards ---------- */
.page-modern main .h3,
.page-modern main .h4,
.page-modern main .h5 {
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-modern main h2.h3 a,
.page-modern main h3.h3 a {
  color: var(--ink);
}

.page-modern main h2.h3 a:hover,
.page-modern main h3.h3 a:hover {
  color: var(--violet);
}

.col-lg-6 .h-office>.h-office__map {
  top: auto;
  bottom: -150px;
  right: -110px;
  translate: none;
  opacity: .7;
}

.page-modern .area-list-col+h2,
.page-modern main .col-sm-6>h2.h5 {
  margin-bottom: 4px;
}

/*=================================================================
  Inner-page hero v2: facts strip + page visual (photo, stack, glass card)
==================================================================*/
.p-hero {
  padding: 160px 0 100px;
}

.p-hero__copy {
  position: relative;
  z-index: 2;
}

.p-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.p-hero__facts li {
  display: flex;
  flex-direction: column;
}

.p-hero__facts b {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.p-hero__facts span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
}

.p-visual {
  position: relative;
  z-index: 2;
  perspective: 1200px;
  animation: h-rise 1.1s .15s var(--ease) both;
}

.p-visual__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #111833;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .03);
}

.p-visual__frame img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.p-visual__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), transparent 35%, transparent 65%, rgba(124, 77, 255, .25));
}

/* single photo, tilted in 3D */
.p-visual--photo .p-visual__frame {
  aspect-ratio: 4 / 3.4;
  transform: rotateY(-14deg) rotateX(6deg);
  transform-origin: center;
  transition: transform .8s var(--ease);
}

.p-visual--photo:hover .p-visual__frame {
  transform: rotateY(-6deg) rotateX(3deg);
}

/* three-image 3D stack */
.p-visual--stack {
  height: 440px;
}

.p-visual--stack .p-visual__frame {
  position: absolute;
  transition: transform .8s var(--ease);
}

.p-visual__frame--1 {
  top: 0;
  right: 0;
  width: 78%;
  height: 62%;
  z-index: 3;
  transform: rotateY(-12deg) rotateX(4deg);
}

.p-visual__frame--2 {
  bottom: 0;
  left: 0;
  width: 62%;
  height: 48%;
  z-index: 2;
  transform: rotateY(10deg) rotateX(-4deg);
}

.p-visual__frame--3 {
  bottom: 6%;
  right: 4%;
  width: 34%;
  height: 46%;
  z-index: 4;
  transform: rotateY(-16deg) translateZ(40px);
}

.p-visual--stack:hover .p-visual__frame--1 {
  transform: rotateY(-6deg) rotateX(2deg) translateY(-6px);
}

.p-visual--stack:hover .p-visual__frame--2 {
  transform: rotateY(4deg) translateX(-6px);
}

.p-visual--stack:hover .p-visual__frame--3 {
  transform: rotateY(-8deg) translateZ(60px) translateY(6px);
}

/* glass information card */
.p-glass {
  position: relative;
  padding: 30px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}

.p-visual--card:hover .p-glass {
  transform: rotateY(-4deg) rotateX(2deg);
}

.p-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(300px 160px at 100% 0%, rgba(124, 77, 255, .35), transparent 70%);
}

.p-glass>* {
  position: relative;
}

.page-modern .p-glass__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8fd8ff;
}

.page-modern .p-glass__addr {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

.page-modern .p-glass__big {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
}

.p-glass__big .h-grad-text {
  margin-right: 6px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(120deg, #8fd8ff, #b9a4ff 55%, #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
}

.p-glass__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
}

.p-glass__list .ico {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 10px;
  color: #8fd8ff;
  background: rgba(255, 255, 255, .08);
}

.p-glass__list a {
  color: #fff;
  font-weight: 600;
}

.p-glass__list a:hover {
  color: #8fd8ff;
}

.p-glass__list--big li {
  font-size: 16.5px;
}

.p-glass__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.p-glass__btns .h-btn {
  padding: 11px 18px;
  font-size: 14px;
}

.p-regions li,
.p-jobs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, transform .3s var(--ease);
}

.p-regions li:hover,
.p-jobs li:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateX(4px);
}

.p-regions b,
.p-jobs b {
  font-size: 15px;
  color: #fff;
}

.p-regions span {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #0a0f24;
  background: linear-gradient(120deg, #8fd8ff, #b9a4ff);
}

.p-jobs li {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.p-jobs span {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.p-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.p-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
}

.p-logos img {
  max-width: 100%;
  max-height: 54px !important;
  width: auto;
  object-fit: contain;
}

/* floating chips over visuals */
.p-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(14, 20, 46, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .75);
  animation: h-bob 6s ease-in-out infinite;
  pointer-events: none;
}

.p-chip b {
  display: block;
  font-size: 15px;
  color: #fff;
}

.p-chip .ico {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 11px;
  color: #fff;
  background: var(--grad);
}

.p-chip--a {
  left: -22px;
  bottom: 14%;
}

.p-chip--b {
  right: -14px;
  top: 8%;
  animation-delay: -3s;
}

.p-visual--stack .p-chip--a {
  left: -10px;
  bottom: auto;
  top: 42%;
}

.p-visual--card .p-chip--a {
  left: auto;
  right: -14px;
  bottom: -22px;
}

@media (max-width: 1199px) {
  .p-chip--a {
    left: -8px;
  }

  .p-chip--b {
    right: -6px;
  }
}

@media (max-width: 991px) {
  .p-hero {
    padding: 130px 0 70px;
  }

  .p-visual {
    max-width: 560px;
    margin: 56px auto 0;
  }

  .p-visual--photo .p-visual__frame,
  .p-glass {
    transform: none;
  }

  .p-visual--stack {
    height: 380px;
  }
}

@media (max-width: 575px) {
  .p-hero__facts {
    gap: 12px 22px;
  }

  .p-hero__facts b {
    font-size: 20px;
  }

  .p-visual {
    margin-top: 44px;
  }

  .p-visual--stack {
    height: 290px;
  }

  .p-glass {
    padding: 22px 18px;
  }

  .page-modern .p-glass__addr {
    font-size: 16px;
  }

  .p-chip {
    padding: 9px 12px;
    font-size: 11.5px;
  }

  .p-chip b {
    font-size: 13px;
  }

  .p-chip .ico {
    width: 30px;
    height: 30px;
    padding: 6px;
  }

  .p-chip--a,
  .p-visual--stack .p-chip--a {
    left: 8px;
  }

  .p-chip--b {
    right: 8px;
  }

  .p-visual--card .p-chip--a {
    right: 8px;
  }
}

/*=================================================================
  Mobile polish (all pages)
==================================================================*/
@media (max-width: 575px) {

  .h-hero__cta .h-btn,
  .p-cta .h-hero__cta .h-btn {
    flex: 1 1 100%;
  }

  .h-hero__title,
  .p-hero__title {
    letter-spacing: -.03em;
  }

  .h-title {
    font-size: clamp(1.75rem, 7.4vw, 2.2rem);
  }

  .page-modern .section-sm,
  .page-modern .section {
    padding: 72px 0;
  }

  .p-split+.p-split,
  .page-modern .row.mt-40+.row.mt-40 {
    margin-top: 52px !important;
  }

  .p-card {
    padding: 24px 20px;
  }

  .page-modern .faq-item summary {
    padding: 18px 58px 18px 18px;
    font-size: 16px;
  }

  .page-modern .faq-item summary::after {
    right: 14px;
  }

  .page-modern .faq-answer {
    padding: 0 18px 10px;
  }

  .h-faq__card,
  .h-docs {
    padding: 24px 20px;
  }

  .page-modern .bank-card .bank-logo {
    height: 80px;
  }

  .page-modern .top-footer {
    padding: 56px 0 30px;
  }
}

/* mobile menu: full panel inside the glass pill */
@media (max-width: 991px) {
  .page-modern .navigation .navbar-collapse {
    margin: 0 -4px;
  }

  .page-modern .navigation .navbar-nav {
    padding: 6px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: left !important;
  }

  .page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link {
    padding: 12px 10px !important;
    font-size: 16px;
    border-radius: 12px;
  }

  .page-modern .navigation .navbar-light .navbar-nav .nav-item .nav-link:hover {
    background: rgba(255, 255, 255, .06);
  }

  .page-modern .navigation .dropdown-menu {
    float: none;
    margin: 0 0 6px;
    padding: 4px;
    text-align: left;
  }

  .page-modern .navigation .dropdown-item {
    padding: 10px 14px;
  }

  .page-modern .nav-cta {
    justify-content: center;
    margin: 8px 4px 6px;
  }
}

/* respect reduced motion for the new hero pieces too */
@media (prefers-reduced-motion: reduce) {

  .p-visual--photo .p-visual__frame,
  .p-glass,
  .p-visual__frame {
    transform: none !important;
  }
}

/*=================================================================
  Facts table (about), form note, legal pages, mobile facts grid
==================================================================*/
.p-facts {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.p-facts th,
.p-facts td {
  padding: 16px 22px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.6;
}

.p-facts tr:last-child th,
.p-facts tr:last-child td {
  border-bottom: 0;
}

.p-facts th {
  width: 30%;
  font-weight: 800;
  color: var(--ink);
  background: var(--soft);
}

.p-facts td {
  color: #334155;
}

@media (max-width: 575px) {

  .p-facts th,
  .p-facts td {
    display: block;
    width: 100%;
    padding: 12px 18px;
  }

  .p-facts th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}

.page-modern .h-form__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.page-modern .h-form__note a {
  color: #8fd8ff;
}

.p-legal h2.h3 {
  margin-top: 42px;
}

.p-legal h2.h3:first-child {
  margin-top: 0;
}

.p-legal .feature-list {
  grid-template-columns: 1fr;
}

.page-modern .footer-bottom a {
  color: rgba(255, 255, 255, .75);
}

.page-modern .footer-bottom a:hover {
  color: #8fd8ff;
}

@media (max-width: 575px) {
  .p-hero__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .p-hero__facts span {
    font-size: 12px;
    line-height: 1.35;
  }

  .h-hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .h-hero__trust span {
    font-size: 12px;
    line-height: 1.35;
  }
}

/* cube size per breakpoint (must follow the .h-stage --s override above) */
@media (max-width: 1199px) {
  .h-stage {
    --s: 250px;
  }
}

@media (max-width: 575px) {
  .h-stage {
    --s: 200px;
  }

  .h-scene {
    margin: 26px auto 60px;
  }
}

/* ---------- HTML sitemap (sitemap.html) ---------- */
.p-sitemap h2 {
  margin-bottom: 14px;
  color: var(--ink);
}

.p-sitemap__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-sitemap__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.p-sitemap__list a {
  display: inline-block;
  font-weight: 700;
  color: var(--ink);
}

.p-sitemap__list a:hover,
.p-sitemap__list a:focus-visible {
  color: var(--blue);
}

.p-sitemap__list span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
