/* ============================================================
   Global Billing Service — Premium Design System
   Palette: #0057FF #00C2FF #19D3AE #081120 #F8FAFC
   Fonts:   Space Grotesk (display) / Manrope (body) / Poppins (utility)
   ============================================================ */

:root {
  --primary: #13246B;
  --primary-2: #1B3A8F;
  --secondary: #C70824;
  --accent: #E11D3A;
  --dark: #0A1746;
  --dark-2: #12245F;
  --light: #F6F8FC;
  --ink: #0B1330;
  --muted: #5b6785;
  --line: rgba(19, 36, 107, .10);
  --glass: rgba(255, 255, 255, .65);
  --glass-brd: rgba(255, 255, 255, .55);
  --radius: 22px;
  --radius-lg: 30px;
  --shadow-sm: 0 4px 18px rgba(10, 23, 70, .07);
  --shadow: 0 18px 50px -18px rgba(10, 23, 70, .28);
  --shadow-glow: 0 20px 60px -20px rgba(19, 36, 107, .5);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-util: "Poppins", system-ui, sans-serif;
  --grad: linear-gradient(120deg, var(--primary), var(--primary-2) 42%, var(--secondary));
  --grad-red: linear-gradient(120deg, var(--secondary), var(--accent));
  --container: 1200px;
}

* {
  box-sizing: border-box
}

svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  display: inline-block
}

/* Remix icons */
i[class^="ri-"],
i[class*=" ri-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-style: normal;
  font-size: 1.15em;
  vertical-align: middle
}

.btn i,
.more i,
.navlink i,
.breadcrumb i,
.footer a i {
  font-size: 1.15em
}

.svc .ico i,
.rcx-step .ico i {
  font-size: 27px
}

.feat .ico i,
.ind .ico i,
.info-item .ico i {
  font-size: 23px
}

.mega-grid a i {
  font-size: 19px
}

.socials a i,
.faq-q .pm i {
  font-size: 19px
}

#backtop i {
  font-size: 22px
}

.logo-item i {
  font-size: 24px
}

.stars i {
  font-size: 18px
}

.float-card i {
  font-size: 19px
}

.orbit .node b i {
  font-size: 27px
}

.chev {
  font-size: 15px;
  transition: transform .3s
}

html {
  scroll-behavior: auto
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (max-width:900px) {
  body {
    cursor: auto
  }
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7
}

.pt-80 {
    padding-top: clamp(40px, 6vw, 80px) !important;
}

.pb-80 {
    padding-bottom: clamp(40px, 6vw, 80px) !important;
}

.py-80 {
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(40px, 6vw, 80px);
}

.mt-80 {
    margin-top: clamp(40px, 6vw, 80px);
}

.mb-80 {
    margin-bottom: clamp(40px, 6vw, 80px);
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

section {
  position: relative
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto
}

.eyebrow {
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
     color: transparent;
}

.sec-pad {
  padding: clamp(70px, 9vw, 80px) 0
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 60ch
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .95rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: var(--_bg);
  background-size: 180% 180%;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px -18px rgba(19, 36, 107, .6)
}

.btn:active {
  transform: translateY(-1px) scale(.99)
}

.btn .rip {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, .5);
  pointer-events: none;
  animation: ripple .7s ease-out
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line)
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm)
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm)
}

.btn-arrow svg {
  transition: transform .3s
}

.btn-arrow:hover svg {
  transform: translateX(4px)
}

/* ---------- Glass cards ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, border-color .5s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s
}

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

.card:hover::after {
  opacity: 1
}

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: grid;
  place-items: center;
  transition: opacity .6s, visibility .6s
}

#loader.done {
  opacity: 0;
  visibility: hidden
}

.loader-mark {
  width: 74px;
  height: 74px;
  position: relative
}

.loader-mark span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--secondary);
  animation: spin 1s linear infinite
}

.loader-mark span:nth-child(2) {
  inset: 10px;
  border-top-color: var(--accent);
  animation-duration: 1.4s;
  animation-direction: reverse
}

.loader-mark::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.loader-txt {
  position: absolute;
  bottom: 16%;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-util);
  letter-spacing: .35em;
  font-size: .7rem;
  text-transform: uppercase
}

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: normal
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  transform: translate(-50%, -50%)
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(19, 36, 107, .45);
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s, border-color .25s
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  background: rgba(19, 36, 107, .08);
  border-color: var(--accent)
}

@media (max-width:900px) {

  .cursor-dot,
  .cursor-ring {
    display: none
  }
}

/* ---------- Scroll progress + back to top ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1000;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(199, 8, 36, .6)
}

#backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  box-shadow: var(--shadow-glow)
}

#backtop.show {
  opacity: 1;
  transform: translateY(0)
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  transition: padding .4s, background .4s, box-shadow .4s;
  padding: 18px 0
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  transition: all .4s;
  background-color: #f6f8fc;
  border: 1px solid #e4e6ef;
}

.site-header.scrolled {
  padding: 10px 0
}

.site-header.scrolled .bar {
    background: rgb(255 255 255);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-sm)
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em
}

.brand-img {
    height: 50px;
  width: auto;
  display: block
}

.site-header.scrolled .brand-img {
height: 50px;
}

.footer .brand-img {
  height: 46px
}

.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden
}

.brand .logo svg {
  width: 22px;
  height: 22px
}

.brand .logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: spin 4s linear infinite
}

.brand small {
  display: block;
  font-family: var(--font-util);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase
}

.nav {
  display: flex;
  align-items: center;
  gap: .3rem
}

.nav a.navlink,
.nav .has-mega>button {
  font-family: var(--font-util);
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  padding: .6rem .95rem;
  border-radius: 999px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.nav a.navlink::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .35rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s
}

.nav a.navlink:hover::after,
.nav a.navlink.active::after {
  transform: scaleX(1)
}

.nav a.navlink:hover,
.nav .has-mega>button:hover {
  color: var(--primary)
}

.has-mega {
  position: static;
  padding-bottom: 14px;
  margin-bottom: -14px
}

.chev {
  transition: transform .3s
}

.has-mega:hover .chev {
  transform: rotate(180deg)
}

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(920px, 94vw);
  background: rgb(255 255 255);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, transform .3s;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 1.2rem;
}

.has-mega:hover .mega,
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0)
}

.has-mega.open .chev {
  transform: rotate(180deg)
}

.has-mega>button[aria-expanded="true"] {
  color: var(--primary)
}

.mega-side {
  background: var(--grad);
  border-radius: 18px;
  padding: 1.4rem;
  color: #fff;
  position: relative;
  overflow: hidden
}

.mega-side h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .5rem
}

.mega-side p {
  color: rgba(255, 255, 255, .85);
  font-size: .85rem
}

.mega-side .glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  filter: blur(30px);
  right: -40px;
  bottom: -40px
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem
}

.mega-grid a {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding: .6rem .7rem;
  border-radius: 14px;
  transition: background .25s, transform .25s;
  font-family: var(--font-util);
  font-size: .86rem;
  font-weight: 500
}

.mega-grid a:hover {
  background: rgba(19, 36, 107, .07);
  transform: translateX(3px)
}

.mega-grid a i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(19, 36, 107, .12), rgba(225, 29, 58, .12));
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: 0 0 auto
}

.mega-grid a i svg {
  width: 17px;
  height: 17px
}

.header-cta {
  display: flex;
  align-items: center;
  gap: .7rem
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: .3s
}

.burger span:nth-child(1) {
  top: 15px
}

.burger span:nth-child(2) {
  top: 21px
}

.burger span:nth-child(3) {
  top: 27px
}

.burger.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg)
}

.burger.open span:nth-child(2) {
  opacity: 0
}

.burger.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg)
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(8, 17, 32, .6);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: .4s
}

.drawer.open {
  opacity: 1;
  visibility: visible
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: #fff;
  padding: 1.6rem;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto
}

.drawer.open .drawer-panel {
  transform: translateX(0)
}

.drawer-panel a {
  display: block;
  padding: .85rem .4rem;
  font-family: var(--font-util);
  font-weight: 500;
  border-bottom: 1px solid var(--line)
}

.drawer-panel details summary {
  padding: .85rem .4rem;
  font-family: var(--font-util);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid var(--line)
}

.drawer-panel details a {
  padding-left: 1.2rem;
  font-size: .9rem;
  color: var(--muted)
}

@media (max-width:980px) {

  .nav,
  .header-cta .btn {
    display: none
  }

  .burger {
    display: block
  }

  .site-header .bar {
    background: var(--glass);
    border: 1px solid var(--glass-brd);
    backdrop-filter: blur(14px)
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(140px, 16vw, 190px) 0 clamp(70px, 9vw, 110px);
  overflow: hidden
}

.mesh {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform
}

.blob.b1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, var(--primary), transparent 70%);
  top: -140px;
  left: -80px
}

.blob.b2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 30% 30%, var(--secondary), transparent 70%);
  top: 10%;
  right: -120px
}

.blob.b3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
  bottom: -120px;
  left: 30%
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.35rem);
  letter-spacing: -.03em
}

.hero .lead {
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem)
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-util);
  font-size: .8rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm)
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 29, 58, .18)
}

.hero-actions {
  display: flex;
  gap: .9rem;
  margin-top: 2rem;
  flex-wrap: wrap
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: rgba(19, 36, 107, .08);
  color: var(--primary);
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .8rem;
  margin-bottom: 1.4rem
}

.pill-badge .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s infinite
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 58, .5)
  }

  50% {
    box-shadow: 0 0 0 7px rgba(225, 29, 58, 0)
  }
}

.scroll-ind {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-family: var(--font-util);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase
}

.scroll-ind .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  position: relative
}

.scroll-ind .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: var(--primary);
  border-radius: 2px;
  animation: scrolldot 1.6s infinite
}

@keyframes scrolldot {
  0% {
    opacity: 0;
    top: 6px
  }

  40% {
    opacity: 1
  }

  100% {
    opacity: 0;
    top: 18px
  }
}

/* Hero visual — revenue cycle orbit (signature) */
.orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%
}

.orbit .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(19, 36, 107, .25)
}

.orbit .ring.r2 {
  inset: 14%;
  border-color: rgba(199, 8, 36, .25)
}

.orbit .ring.r3 {
  inset: 28%;
  border-style: solid;
  border-color: rgba(225, 29, 58, .2)
}

.orbit .core {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-glow);
  padding: 1rem
}

.orbit .core strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  display: block;
  line-height: 1
}

.orbit .core span {
  font-family: var(--font-util);
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .9
}

.orbit .node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0
}

.orbit .node b {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--primary)
}

.orbit .node b svg {
  width: 26px;
  height: 26px
}

.float-card {
  position: absolute;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: .7rem .9rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: .6rem;
  align-items: center;
  font-family: var(--font-util);
  font-size: .78rem;
  font-weight: 600
}

.float-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff
}

.float-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .68rem
}

.float-card.fc1 {
  top: 2%;
  left: -6%
}

.float-card.fc2 {
  bottom: 6%;
  right: -8%
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem
}

.stat {
  padding: 1.8rem;
  text-align: center
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1
}

.stat .lbl {
  font-family: var(--font-util);
  font-size: .85rem;
  color: var(--muted);
  margin-top: .4rem
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)
}

.marquee-track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: marq 26s linear infinite
}

.marquee:hover .marquee-track {
  animation-play-state: paused
}

@keyframes marq {
  to {
    transform: translateX(-50%)
  }
}

.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #8a99ad;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
  opacity: .8
}

.logo-item svg {
  width: 26px;
  height: 26px
}

/* ---------- Section head ---------- */
.sec-head {
  max-width: 640px;
  margin-bottom: 3.2rem
}

.sec-head.center {
  margin-inline: auto;
  text-align: center
}

.sec-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin: 1rem 0 .9rem
}

/* ---------- Services grid ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.svc .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 36, 107, .1), rgba(225, 29, 58, .12));
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: transform .5s
}

.svc:hover .ico {
  transform: rotate(-6deg) scale(1.05)
}

.svc .ico svg {
  width: 26px;
  height: 26px
}

.svc h3 {
  font-size: 1.2rem
}

.svc p {
  font-size: .92rem
}

.svc .more {
  margin-top: auto;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .4rem
}

.svc .more i {
  transition: transform .3s
}

.svc:hover .more i {
  transform: translateX(4px)
}

/* ---------- Feature / why ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem
}

.feat {
  padding: 1.8rem
}

.feat .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1rem
}

.feat h4 {
  font-size: 1.05rem;
  margin-bottom: .5rem
}

.feat p {
  font-size: .88rem
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 1.6rem
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--accent))
}

.tl-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.3rem;
  align-items: start;
  position: relative
}

.tl-item .tl-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1
}

.tl-item h4 {
  font-size: 1.15rem;
  margin-bottom: .4rem
}

.tl-body {
  padding-top: .4rem
}

/* ---------- Industries ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem
}

.ind {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  text-align: center;
  align-items: center
}

.ind .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(199, 8, 36, .12), rgba(19, 36, 107, .1));
  display: grid;
  place-items: center;
  color: var(--primary)
}

.ind h4 {
  font-size: 1rem
}

.ind p {
  font-size: .82rem
}

/* ---------- Testimonials ---------- */
.tst-wrap {
  position: relative
}

.swiper {
  padding-bottom: 10px
}

.tst {
  padding: 2.2rem
}

.tst .quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.4rem
}

.tst .who {
  display: flex;
  align-items: center;
  gap: .9rem
}

.tst .av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700
}

.tst .who b {
  font-family: var(--font-util)
}

.tst .who small {
  display: block;
  color: var(--muted);
  font-size: .8rem
}

.stars {
  display: flex;
  gap: 2px;
  color: #ffb02e;
  margin-bottom: 1rem
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  gap: .9rem
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s
}

.faq-item.open {
  border-color: rgba(19, 36, 107, .35);
  box-shadow: var(--shadow-sm)
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink)
}

.faq-q .pm {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(19, 36, 107, .08);
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: transform .3s
}

.faq-item.open .faq-q .pm {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease
}

.faq-a p {
  padding: 0 1.4rem 1.3rem;
  font-size: .94rem
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem
}

.post {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden
}

.post .thumb {
  aspect-ratio: 14/10;
  background: var(--grad);
  position: relative;
  overflow: hidden
}

.post .thumb .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .4), transparent 60%)
}

.post .thumb .tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(255, 255, 255, .9);
  color: var(--primary);
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .72rem;
  padding: .35rem .8rem;
  border-radius: 999px
}

.post .thumb svg {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, .5)
}

.post-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1
}

.post-body .meta {
  font-family: var(--font-util);
  font-size: .76rem;
  color: var(--muted);
  display: flex;
  gap: .8rem
}

.post-body h3 {
  font-size: 1.2rem;
  line-height: 1.25
}

.post-body p {
  font-size: .9rem
}

.post-body .more {
  margin-top: auto;
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .85rem;
  color: var(--primary)
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.4rem
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.filter {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-util);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: .3s
}

.filter.active,
.filter:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent
}

.search-ui {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem
}

.search-ui input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .9rem;
  background: none;
  width: 180px
}

.pagination {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 3rem
}

.pagination button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-util);
  font-weight: 600;
  transition: .3s
}

.pagination button.active,
.pagination button:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent
}

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
  align-items: start
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem
}

.field label {
  font-family: var(--font-util);
  font-weight: 500;
  font-size: .82rem;
  color: var(--ink)
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  color: var(--ink)
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(19, 36, 107, .1)
}

.field textarea {
  resize: vertical;
  min-height: 120px
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.3rem
}

.info-item .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto
}

.info-item b {
  font-family: var(--font-util);
  display: block;
  margin-bottom: .2rem
}

.info-item span {
  color: var(--muted);
  font-size: .92rem
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  text-align: center
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(19, 36, 107, .5), transparent 55%), radial-gradient(circle at 80% 80%, rgba(225, 29, 58, .4), transparent 55%)
}

.cta-band>* {
  position: relative;
  z-index: 1
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 1rem
}

.cta-band p {
  color: rgba(255, 255, 255, .8);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 1.8rem
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #cdd7e6;
  padding: clamp(60px, 8vw, 90px) 0 2rem;
  position: relative;
  overflow: hidden
}

.footer .fglow {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(19, 36, 107, .4), transparent 70%);
  filter: blur(50px)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2rem;
  position: relative
}

.footer h5 {
  color: #fff;
  font-family: var(--font-util);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem
}

.footer a {
  color: #9fb0c6;
  font-size: .92rem;
  display: block;
  padding: .35rem 0;
  transition: color .25s, transform .25s
}

.footer a:hover {
  color: #fff;
  transform: translateX(3px)
}

.footer .brand {
  color: #fff;
  margin-bottom: 1rem
}

.footer .brand small {
  color: #7f92ab
}

.footer .desc {
  font-size: .92rem;
  color: #9fb0c6;
  max-width: 34ch
}

.newsletter {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: .35rem .35rem .35rem 1rem
}

.newsletter input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: .88rem;
  flex: 1
}

.newsletter input::placeholder {
  color: #7f92ab
}

.newsletter button {
  border: none;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  padding: .6rem 1.1rem;
  font-family: var(--font-util);
  font-weight: 600;
  cursor: pointer;
  font-size: .85rem
}

.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  color: #cdd7e6
}

.socials a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-3px)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #8194ac
}

/* ---------- Page hero (inner) ---------- */
/* .page-hero {
  padding: clamp(140px, 15vw, 180px) 0 clamp(50px, 7vw, 80px);
  text-align: center;
  overflow: hidden
} */

.page-hero {
    position: relative;
    overflow: hidden;

    background-image:
        url("../images/breadcrumb.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  padding: clamp(140px, 15vw, 180px) 0 clamp(50px, 7vw, 80px);
  text-align: center;
  overflow: hidden
}

.page-hero .container {
    position: relative;
    z-index: 2;
}
/* Keep content above background */
.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: left;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem)
}

.page-hero .lead {
  margin: 1.2rem auto 0
}

.breadcrumb {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  font-family: var(--font-util);
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 1.2rem
}

.breadcrumb a:hover {
  color: var(--primary)
}

.breadcrumb .sep {
  opacity: .5
}

/* reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(30px)
}

/* magnetic */
.mag {
  display: inline-block
}

/* ---------- Revenue Cycle (redesigned) ---------- */
.rcx {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden
}

.rcx::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(19, 36, 107, .35), transparent 60%),
    radial-gradient(55% 55% at 100% 100%, rgba(225, 29, 58, .28), transparent 60%);
  pointer-events: none
}

.rcx .container {
  position: relative;
  z-index: 1
}

.rcx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: .5rem
}

.rcx-step {
  position: relative;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 1.7rem 1.5rem 1.6rem;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .5s, background .5s;
}

.rcx-step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .5s
}

.rcx-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .07);
  border-color: transparent
}

.rcx-step:hover::after {
  opacity: 1
}

.rcx-step .wm {
  position: absolute;
  top: -.4rem;
  right: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 5.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  letter-spacing: -.04em;
  pointer-events: none
}

.rcx-step .ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-glow)
}

.rcx-step .ico svg {
  width: 24px;
  height: 24px
}

.rcx-step h4 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: .5rem
}

.rcx-step p {
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.6
}

.rcx-step .tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-util);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9DB0E8;
  margin-bottom: .9rem
}

.rcx-step .tag::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent))
}

.rcx-foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  padding: 1.8rem 2rem
}
.rcx .num{
  color: #fff;
}
.rcx-foot h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: .5rem
}

.rcx-foot p {
  color: rgba(255, 255, 255, .75);
  font-size: .94rem
}

.rcx-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem
}

.rcx-kpi {
  text-align: center;
  padding: 1rem .6rem;
  background: rgba(255, 255, 255, .05);
  border-radius: 16px
}

.rcx-kpi .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1
}

.rcx-kpi .lbl {
  font-family: var(--font-util);
  font-size: .72rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .35rem;
  letter-spacing: .02em
}

/* ---------- Service page extras ---------- */
.svc-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.6rem
}

.check-list {
  display: grid;
  gap: .2rem
}

.check-list .ck {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line)
}

.check-list .ck:last-child {
  border-bottom: none
}

.check-list .ck .tick {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(19, 36, 107, .12), rgba(225, 29, 58, .14));
  display: grid;
  place-items: center;
  color: var(--primary)
}

.check-list .ck .tick svg {
  width: 16px;
  height: 16px
}

.check-list .ck b {
  font-family: var(--font-util);
  font-weight: 600;
  color: var(--ink);
  display: block;
  font-size: 1rem
}

.check-list .ck span {
  color: var(--muted);
  font-size: .9rem
}

/* ---------- Responsive ---------- */
@media (max-width:1024px) {

  .svc-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .feat-grid,
  .ind-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .orbit {
    max-width: 380px
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .rcx-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .rcx-foot {
    grid-template-columns: 1fr;
    gap: 1.5rem
  }

  .ov-grid {
    grid-template-columns: 1fr !important
  }
}

@media (max-width:640px) {

  .svc-grid,
  .blog-grid,
  .feat-grid,
  .ind-grid,
  .stats,
  .two,
  .footer-grid,
  .rcx-grid,
  .rcx-kpis {
    grid-template-columns: 1fr
  }

  /* Keep inputs at 16px on small screens only, so iOS Safari doesn't
     auto-zoom the page when a field is focused. Purely a mobile
     zoom-behavior fix — desktop sizing/design is untouched. */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px
  }

  .float-card {
    display: none
  }

  .cta-band {
    border-radius: 24px
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch
  }

  .search-ui input {
    width: 100%
  }

  .rcx-kpis {
    grid-template-columns: repeat(3, 1fr)
  }

  .rcx-foot {
    padding: 1.5rem
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }
}

/* ============================================================
   Extra polish — more attractive, centralized (no inline CSS)
   ============================================================ */
/* Button: subtle animated gradient + hover sheen sweep */
.btn {
  background-size: 200% 200%
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35), transparent 80%);
  transform: translateX(-130%);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none
}

.btn:hover::before {
  transform: translateX(130%)
}

.btn-ghost::before,
.btn-light::before {
  opacity: .4
}

/* Icon tiles pop to brand gradient on hover */
.svc .ico,
.ind .ico {
  transition: background .4s, color .4s, transform .5s, box-shadow .4s
}

.svc:hover .ico,
.ind:hover .ico {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow)
}

.svc:hover .ico {
  transform: rotate(-6deg) scale(1.06)
}

/* Cards get a faint brand wash on hover */
.svc.card::before,
.ind.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0, rgba(199, 8, 36, .06), transparent 55%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none
}

.svc.card:hover::before,
.ind.card:hover::before {
  opacity: 1
}

/* Section eyebrow line gets the red accent */
.eyebrow::before {
  background: var(--grad-red)
}

/* Heading gradient underline accent for centered section heads */
.sec-head.center h2 {
  position: relative;
  display: inline-block
}

.sec-head.center h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad);
  opacity: .9
}

/* Chips + pills a touch richer */
.chip {
  transition: transform .3s, box-shadow .3s, border-color .3s
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgba(19, 36, 107, .25);
  box-shadow: var(--shadow-sm)
}

/* Header hairline when scrolled */
.site-header.scrolled .bar {
  position: relative
}

.site-header.scrolled .bar::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  /* background: var(--grad); */
  opacity: .5
}

/* Float cards + KPI numbers a bit bolder */
.rcx-kpi {
  transition: transform .4s, background .4s
}

.rcx-kpi:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .09)
}

/* ---------- Service page split hero (image + copy) ---------- */
.page-hero--split {
  text-align: left;
  padding-top: clamp(120px, 15vh, 175px)
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
      padding-top: 50px;
}

.page-hero--split .breadcrumb {
  justify-content: flex-start
}

.page-hero--split h1 {
  margin-left: 0
}

.page-hero--split .pill-badge {
  margin-inline: 0
}

.page-hero--split .lead {
  margin: 1.2rem 0 0;
  max-width: 34rem
}

.page-hero--split .hero-actions {
  justify-content: flex-start;
  margin-top: 1.6rem
}

.hero-art {
  position: relative
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: auto -6% -8% -6%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(199, 8, 36, .16), transparent 70%);
  filter: blur(10px);
  z-index: -1
}

.hero-art-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(19, 36, 107, .20));
  animation: heroFloat 6s ease-in-out infinite
}

@keyframes heroFloat {

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

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

@media (prefers-reduced-motion:reduce) {
  .hero-art-img {
    animation: none
  }
}

@media (max-width:900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.2rem
  }

  .page-hero--split {
    text-align: center
  }

  .page-hero--split .breadcrumb,
  .page-hero--split .hero-actions {
    justify-content: center
  }

  .page-hero--split .pill-badge {
    margin-inline: auto
  }

  .page-hero--split .lead {
    margin: 1.2rem auto 0
  }

  .hero-art {
    max-width: 440px;
    margin: 0 auto;
    order: -1
  }
}

.hero-media {
  position: relative
}

/* ---------- Demo photo frames (hero + sections) ---------- */
.art-frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(19, 36, 107, .45);
  border: 1px solid rgba(255, 255, 255, .6);
  background: var(--light)
}

.art-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(19, 36, 107, .30), transparent 46%, rgba(199, 8, 36, .24));
  pointer-events: none
}

.art-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block
}

.art-frame--hero .art-photo {
  aspect-ratio: 5/4
}

.art-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  padding: .65rem .95rem;
  box-shadow: var(--shadow);
  font-family: var(--font-util);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink)
}

.art-chip i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px
}

.art-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .68rem;
  margin-top: 1px
}

.hero-art .art-frame {
  animation: heroFloat 7s ease-in-out infinite;
      margin-top: 50px;
      display: none;
}

@media (prefers-reduced-motion:reduce) {
  .hero-art .art-frame {
    animation: none
  }
}

@media (max-width:900px) {
  .art-chip {
    font-size: .88rem
  }
}

/* ============================================================
   EDITORIAL THEME (ADM-inspired) — homepage
   ============================================================ */
.eyebrow-ed {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-util);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--secondary)
}

.eyebrow-ed::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--secondary);
  display: inline-block
}

.ed-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: var(--ink)
}

/* Hero */
.ed-hero {
  padding: clamp(130px, 17vh, 196px) 0 3.5rem;
  position: relative;
  overflow: hidden
}

.ed-hero .container {
  position: relative;
  z-index: 1
}

.ed-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2.5rem;
  align-items: end
}

.ed-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .96;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  color: var(--ink);
  margin: 1.3rem 0 0
}

.ed-hero-lead {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.06rem;
  line-height: 1.7
}

.ed-hero-actions {
  display: flex;
  gap: .9rem;
  margin-top: 2rem;
  flex-wrap: wrap
}

.ed-hero-media {
  position: relative;
  margin-top: 2.8rem;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16/6.5;
  box-shadow: var(--shadow)
}

.ed-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.ed-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 23, 70, .42), transparent 55%)
}

.ed-hero-chip {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  padding: .7rem 1rem;
  font-family: var(--font-util);
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow)
}

.ed-hero-chip i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px
}

.ed-hero-chip small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .68rem
}

/* Stat strip */
.ed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.6rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.ed-stats>div {
  padding: 1.5rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.ed-stats b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary);
  display: block;
  line-height: 1
}

.ed-stats span {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-util)
}

/* Section header row */
.ed-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem
}

.ed-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.04;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--ink);
  max-width: 20ch
}

.ed-link {
  font-family: var(--font-util);
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 2px
}

.ed-link i {
  transition: transform .3s
}

.ed-link:hover i {
  transform: translateX(4px)
}

/* Who we are — image collage */
.ed-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center
}

.ed-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  aspect-ratio: 1/1
}

.ed-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block
}

.ed-collage .tall {
  grid-row: span 2
}

.ed-about-stats {
  display: flex;
  gap: 2.4rem;
  margin: 1.8rem 0;
  flex-wrap: wrap
}

.ed-about-stats b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--secondary);
  display: block;
  line-height: 1
}

.ed-about-stats span {
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-util)
}

/* Services — editorial cards */
.ed-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem
}

.svc-ed {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .5s, box-shadow .5s
}

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

.svc-ed .ph {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden
}

.svc-ed .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1)
}

.svc-ed:hover .ph img {
  transform: scale(1.07)
}

.svc-ed .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 23, 70, .55))
}

.svc-ed .num {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .05em
}

.svc-ed .meta {
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.svc-ed .meta h3 {
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0
}

.svc-ed .meta i {
  color: var(--secondary);
  font-size: 1.2rem;
  transition: transform .3s
}

.svc-ed:hover .meta i {
  transform: translateX(4px)
}

/* Process — editorial numbered */
.ed-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 2.6rem
}

.step-ed {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem
}

.step-ed .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  letter-spacing: .04em
}

.step-ed h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin: .5rem 0 .5rem
}

.step-ed p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65
}

/* Why — 3 columns */
.ed-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem
}

.why-ed .ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-glow)
}

.why-ed h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: .6rem
}

.why-ed p {
  color: var(--muted);
  line-height: 1.7
}

/* Testimonials */
.ed-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem
}

.quote-ed {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem
}

.quote-ed .mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: .6;
  color: var(--secondary)
}

.quote-ed p {
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.65;
  flex: 1
}

.quote-ed .who {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem
}

.quote-ed .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700
}

.quote-ed .who b {
  display: block;
  color: var(--ink);
  font-size: .92rem
}

.quote-ed .who span {
  color: var(--muted);
  font-size: .78rem
}

/* Clients marquee */
.clients-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0;
  overflow: hidden
}

.mq {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  width: max-content;
  animation: mqScroll 28s linear infinite
}

.mq span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  opacity: .35;
  letter-spacing: -.01em
}

@keyframes mqScroll {
  to {
    transform: translateX(-50%)
  }
}

@media (prefers-reduced-motion:reduce) {
  .mq {
    animation: none
  }
}

/* Big CTA */
.ed-cta {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--dark)
}

.ed-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 15% 10%, rgba(0, 87, 255, .28), transparent 60%), radial-gradient(50% 70% at 100% 100%, rgba(199, 8, 36, .30), transparent 60%)
}

.ed-cta .container {
  position: relative;
  z-index: 1
}

.ed-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center
}

.ed-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: #fff;
  margin-bottom: 1.4rem
}

.ed-cta p {
  color: rgba(255, 255, 255, .75);
  max-width: 44ch;
  margin-bottom: 2rem
}

.ed-cta-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem
}

.ed-cta-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  aspect-ratio: 3/4
}

.ed-cta-collage img:nth-child(2) {
  margin-top: 2rem
}

@media (max-width:960px) {

  .ed-hero-grid,
  .ed-about,
  .ed-cta-grid {
    grid-template-columns: 1fr
  }

  .ed-svc-grid,
  .ed-steps,
  .ed-why-grid,
  .ed-quotes {
    grid-template-columns: 1fr 1fr
  }

  .ed-stats {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:600px) {

  .ed-svc-grid,
  .ed-steps,
  .ed-why-grid,
  .ed-quotes,
  .ed-stats {
    grid-template-columns: 1fr
  }

  .ed-collage {
    aspect-ratio: 4/3
  }

  .ed-head {
    flex-direction: column;
    align-items: flex-start
  }
}
@media (min-width: 1536px) {
    .container {
        max-width: 1386px !important;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px !important;
    }
}

.svc-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.6rem;
  margin-top: 2.75rem;
}

.svc-index {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line, #e8e8ee);
  border-radius: 16px 16px 4px 16px;
  padding: 1.6rem 1.6rem 1.7rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), box-shadow .42s ease, border-color .42s ease;
}

.svc-index:hover,
.svc-index:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow, 0 22px 44px rgba(10,23,70,.13));
  border-color: transparent;
}

.svc-index:focus-visible {
  outline: 2px solid var(--secondary, #c70824);
  outline-offset: 3px;
}

/* dog-ear corner, referencing a filed claim record */
.svc-index-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 34px 34px;
  border-color: transparent transparent var(--secondary, #c70824) transparent;
  opacity: .12;
  transition: opacity .42s ease, transform .42s ease;
}

.svc-index:hover .svc-index-fold,
.svc-index:focus-visible .svc-index-fold {
  opacity: .9;
  transform: translate(1px, -1px);
}

/* --- icon header --- */
.svc-index-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.svc-index-ring {
  flex: none;
  width: 54px;
  height: 54px;
  padding: 3px;
  border-radius: 50%;
  display: inline-flex;
  background: conic-gradient(from 200deg, var(--secondary, #c70824), var(--ink, #0a1746), var(--secondary, #c70824));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.svc-index:hover .svc-index-ring,
.svc-index:focus-visible .svc-index-ring {
  transform: rotate(28deg);
}

.svc-index-ring i {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
    font-size: 25px;
  background: #fff;
  color: var(--ink, #0a1746);
  transition: background .4s ease, color .4s ease;
}

.svc-index:hover .svc-index-ring i,
.svc-index:focus-visible .svc-index-ring i {
  background: var(--ink, #0a1746);
  color: #fff;
}

/* rotate the ring gradient per card so eleven tiles don't repeat identically */
.svc-index:nth-child(3n+2) .svc-index-ring {
  background: conic-gradient(from 60deg, var(--ink, #0a1746), var(--secondary, #c70824), var(--ink, #0a1746));
}

.svc-index:nth-child(3n+3) .svc-index-ring {
  background: conic-gradient(from 320deg, var(--secondary, #c70824), var(--ink, #0a1746), var(--secondary, #c70824));
}

.svc-index-code {
  font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Consolas, monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  color: var(--secondary, #c70824);
  background: rgba(199, 8, 36, .07);
  padding: .3rem .55rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* --- perforation divider with punch holes at each edge --- */
.svc-index-perf {
  position: relative;
  margin: 1.15rem -1.6rem 1.05rem;
  border-top: 1.5px dashed var(--line, #dcdce3);
}

.svc-index-perf::before,
.svc-index-perf::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--light, #f5f6fa);
  box-shadow: inset 0 0 0 1px var(--line, #e2e2ea);
}

.svc-index-perf::before { left: -7px; }
.svc-index-perf::after  { right: -7px; }

/* --- body copy --- */
.svc-index-body h3 {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink, #0a1746);
  margin: 0 0 .5rem;
}

.svc-index-body p {
  font-size: .92rem;
  line-height: 1.55;
  color: #5b6072;
  margin: 0 0 1.05rem;
}

.svc-index-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
     color: #162d79;
}

.svc-index-more i {
  font-size: 1.05rem;
  transition: transform .3s ease;
}

.svc-index:hover .svc-index-more i,
.svc-index:focus-visible .svc-index-more i {
  transform: translateX(4px);
}

/* --- responsive --- */
@media (max-width: 1024px) {
  .svc-index-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .svc-index-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .svc-index,
  .svc-index-ring,
  .svc-index-fold,
  .svc-index-more i {
    transition: none;
  }
  .svc-index:hover { transform: none; }
  .svc-index:hover .svc-index-ring { transform: none; }
}
.tst-swiper .swiper-wrapper {
  padding-bottom: 20px;
}
.voyage-section{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% -10%, #14226b 0%, var(--dark, #0a1746) 55%, var(--dark-2, #12245f) 100%);
  color: #fff;
  isolation: isolate;
}

.voyage-section .eyebrow { color: #ff8fa3; }
.voyage-section .sec-head h2 { color: #fff; }
.voyage-section .sec-head.center { text-align: center; max-width: 620px; margin: 0 auto 4rem; }

/* floating ambient color blobs */
.voyage-blob {
  position: absolute;
  z-index: 0;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.voyage-blob-a {
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(199, 8, 36, .38), transparent 70%);
  animation: voyage-float-a 14s ease-in-out infinite;
}

.voyage-blob-b {
  bottom: -11rem;
  right: -7rem;
  background: radial-gradient(circle, rgba(27, 58, 143, .55), transparent 70%);
  animation: voyage-float-b 16s ease-in-out infinite;
}

@keyframes voyage-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(2rem, 1.4rem) scale(1.08); }
}

@keyframes voyage-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-1.6rem, -1.2rem) scale(1.06); }
}

/* --- track: zigzag row --- */
.voyage-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem 1.75rem;
}

.voyage-item {
  position: relative;
  flex: 1 1 230px;
  max-width: 260px;
  padding-top: 2.6rem;
}

@media (min-width: 993px) {
  .voyage-item:nth-child(2n) { transform: translateY(2.4rem); }

  /* chevron connector between adjacent items */
  .voyage-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.85rem;
    top: calc(2.6rem + 1.7rem);
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(255, 255, 255, .32);
    border-right: 2px solid rgba(255, 255, 255, .32);
    transform: translateY(-50%) rotate(45deg);
  }

  .voyage-item:nth-child(2n):not(:last-child)::after {
    top: calc(2.6rem + 1.7rem + 2.4rem);
  }
}

/* --- oversized outline numeral --- */
.voyage-num {
  position: absolute;
  top: -0.6rem;
  left: -0.3rem;
  z-index: 0;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-weight: 800;
  font-size: 5.75rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
  user-select: none;
  transition: -webkit-text-stroke-color .45s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}

.voyage-item:hover .voyage-num,
.voyage-item:focus-within .voyage-num {
  -webkit-text-stroke-color: rgba(225, 29, 58, .65);
  transform: translateY(-4px);
}

/* --- card --- */
.voyage-card {
  position: relative;
  z-index: 1;
  padding: 1.9rem 1.5rem 1.7rem;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, border-color .5s ease;
}

.voyage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--grad-red, linear-gradient(120deg, #c70824, #e11d3a));
  transform: scaleX(.22);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.voyage-item:hover .voyage-card,
.voyage-item:focus-within .voyage-card {
  transform: translateY(-9px);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 28px 54px -22px rgba(0, 0, 0, .55), 0 0 42px -12px rgba(199, 8, 36, .4);
}

.voyage-item:hover .voyage-card::before,
.voyage-item:focus-within .voyage-card::before {
  transform: scaleX(1);
}

.voyage-card h4 {
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.12rem;
  color: #fff;
  margin: 0 0 .55rem;
}

.voyage-card p {
  font-family: var(--font-body, "Manrope", sans-serif);
  font-size: .89rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  margin: 0;
}

/* --- responsive --- */
@media (max-width: 992px) {
  .voyage-track { gap: 2.75rem 1.5rem; }
  .voyage-item { flex: 1 1 45%; max-width: 320px; }
}

@media (max-width: 640px) {
  .voyage-section { padding: 4.5rem 0; }
  .voyage-track { flex-direction: column; align-items: stretch; gap: 2.5rem; }
  .voyage-item { max-width: 100%; padding-top: 2rem; }
  .voyage-num { font-size: 4rem; }
}

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .voyage-blob-a, .voyage-blob-b { animation: none; }
  .voyage-card, .voyage-num, .voyage-card::before { transition: none; }
  .voyage-item:hover .voyage-card { transform: none; }
}