/* ================================================================
   ABAX Consulting, 2025 Enterprise Design System
   Shared across all pages. Self-contained (only Google Fonts external).
   ================================================================ */

:root {
  --blue: #0091ff;
  --blue-dark: #0078d3;
  --blue-deep: #005bb0;
  --pink: #f20e56;
  --pink-soft: #ff6a93;
  --grey: #a3aec1;
  --ink: #0a1120;
  --ink-2: #0f1a2e;
  --ink-soft: #45526b;
  --muted: #7d8aa0;
  --bg: #ffffff;
  --bg-soft: #f2f5fc;
  --line: rgba(11, 21, 36, 0.08);
  --line-2: rgba(11, 21, 36, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 6px 20px rgba(11, 21, 36, 0.06);
  --shadow-md: 0 18px 50px rgba(11, 21, 36, 0.10);
  --shadow-lg: 0 40px 90px rgba(11, 21, 36, 0.16);
  --radius: 16px;
  --radius-lg: 22px;
  --grad: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 55%, #3aa5ff 120%);
  --grad-2: linear-gradient(135deg, var(--blue-deep), var(--blue));
  --grad-text: linear-gradient(100deg, var(--blue-deep), var(--blue) 70%, #2a9bff);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-back: cubic-bezier(0.34, 1.2, 0.64, 1);
  --header-h: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

/* ===== Animated abacus background (canvas injected by JS) ===== */

html {
  background: #fff;
}

#abacus-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: blur(1.5px);
  opacity: .9;
}

/* Content sits above the canvas; loader stays on top separately. */

body > *:not(#abacus-bg):not(#loader):not(.progress):not(.gotop):not(.nav) {
  position: relative;
  z-index: 1;
}

/* Light surfaces become translucent so the beads whisper through them.
   Dark sections keep their solid backdrop (beads fade out there for contrast). */

/* Hero stays clean: opaque backdrop hides the abacus behind it entirely. */

.hero-bg {
  background: var(--bg-soft) !important;
}

.hero {
  isolation: isolate;
}

.marquee {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

footer.site {
  background: rgba(242, 245, 252, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.section[style*="bg-soft"] {
  background-color: rgba(242, 245, 252, 0.72) !important;
}

/* keep the hero grid off, the abacus is the sole backdrop motif now */

.hero-grid {
  display: none;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-soft);
  background: transparent;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

/* When the mobile drawer locks scroll, JS pins the body via top:-scrollY so the
   page never jumps. Only fix position on small screens (drawer context). */

@media (max-width: 940px) {
  body.no-scroll {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
  }
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Sora', sans-serif;
  color: var(--ink);
  line-height: 1.12;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
  transition: color .2s var(--ease);
}

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

::selection {
  background: rgba(0, 145, 255, .22);
}

.wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.wrap-narrow {
  width: min(880px, 92vw);
  margin-inline: auto;
}

/* accessible focus */

a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(0, 145, 255, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Shared atoms ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: 600 .78rem/1 'Inter', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-dark);
  padding: .5rem .9rem;
  border-radius: 100px;
  background: rgba(0, 145, 255, .08);
  border: 1px solid rgba(0, 145, 255, .16);
}

.eyebrow.pink {
  color: var(--blue-deep);
  background: rgba(0, 91, 176, .07);
  border-color: rgba(0, 91, 176, .18);
}

.eyebrow.light {
  color: #6fd0ff;
  background: rgba(0,145,255,.14);
  border-color: rgba(0,145,255,.3);
}

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

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
}

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  margin: 1rem 0 .8rem;
  letter-spacing: -.02em;
}

.section-head p {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  --pull-x: 0px;
  --pull-y: 0px;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  font: 600 1rem 'Inter', sans-serif;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  border: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  transform: translate(var(--pull-x), var(--pull-y));
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform .3s var(--ease);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  background-size: 180% 180%;
  box-shadow: 0 14px 34px rgba(0, 120, 211, .32);
}

.btn-primary:hover {
  box-shadow: 0 20px 46px rgba(0, 120, 211, .45);
  color: #fff;
}

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

.btn-ghost {
  background: rgba(255,255,255,.7);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: var(--blue-dark);
  border-color: rgba(0,145,255,.4);
  transform: translate(var(--pull-x), calc(var(--pull-y) - 2px));
}

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

.btn-dark:hover {
  color: #fff;
  background: var(--ink-2);
  transform: translate(var(--pull-x), calc(var(--pull-y) - 2px));
}

.btn-lg {
  padding: 1.1rem 2rem;
  font-size: 1.06rem;
}

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  color: var(--blue-dark);
  transform: translate(var(--pull-x), calc(var(--pull-y) - 2px));
}

/* ================= LOADER (unique) ================= */

#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .4s var(--ease), visibility .4s;
}

/* Held invisible until JS decides to reveal it. On fast returning loads it is
   dismissed while still in this state, so it never flashes. */

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

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

/* Returning visitors (flagged pre-paint by an inline script): the loader is
   invisible from the very first frame, so a fast load shows nothing at all. JS
   reveals it only if loading drags on. */

html.returning #loader {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

html.returning #loader.revealing {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s var(--ease), visibility .3s;
}

.loader-core {
  text-align: center;
}

.loader-ring {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.4rem;
}

.loader-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.loader-ring .track {
  fill: none;
  stroke: rgba(255,255,255,.1);
  stroke-width: 4;
}

.loader-ring .bar {
  fill: none;
  stroke: url(#lgrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset .2s linear;
}

.loader-ring .mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.loader-ring .mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,145,255,.35));
  animation: markPulse 2.4s var(--ease) infinite;
}

@keyframes markPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.06);
    opacity: .88;
  }
}

.loader-pct {
  font: 600 .82rem/1 'Inter';
  letter-spacing: .3em;
  color: #6f7d94;
  text-transform: uppercase;
}

.loader-word {
  overflow: hidden;
  height: 1.2em;
  margin-top: .5rem;
}

.loader-word span {
  display: block;
  font: 600 .9rem 'Sora';
  color: #9fb0c9;
  animation: loaderRoll 1.5s steps(1) infinite;
}

@keyframes loaderRoll {
  0%, 25% {
    transform: translateY(0);
  }
  33%, 58% {
    transform: translateY(-1.2em);
  }
  66%, 91% {
    transform: translateY(-2.4em);
  }
  100% {
    transform: translateY(-3.6em);
  }
}

/* ================= NAV ================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
  transform: translateZ(0);
  will-change: height;
}

.nav.scrolled {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 6px 30px rgba(11,21,36,.07);
  height: 64px;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 94vw);
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .85rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .3rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--ink);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links .btn {
  padding: .6rem 1.2rem;
  font-size: .92rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* dropdown */

.has-drop .drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .5rem;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: .28s var(--ease);
}

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

.drop a {
  display: flex !important;
  gap: .7rem;
  padding: .7rem .8rem !important;
  border-radius: 10px;
  color: var(--ink) !important;
  font-weight: 500;
}

.drop a::after {
  display: none;
}

.drop a:hover {
  background: rgba(0,145,255,.08);
}

.drop a small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: .8rem;
}

.drop .di {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.drop .di svg {
  width: 17px;
  height: 17px;
}

/* dimmed backdrop behind the mobile menu */

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11,21,36,.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ---- Drawer header (logo + close), injected by JS; desktop-hidden ---- */

.nav-drawer-head {
  display: none;
}

.nav-close {
  display: none;
}

/* On mobile the nav is always solid & visible so it never disappears on scroll. */

@media (max-width: 940px) {
  .nav {
    height: 62px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(11,21,36,.06), 0 6px 22px rgba(11,21,36,.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-top: env(safe-area-inset-top);
    height: calc(62px + env(safe-area-inset-top));
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 940px) {
  .nav.scrolled {
    height: calc(56px + env(safe-area-inset-top));
    background: rgba(255,255,255,.97);
    box-shadow: 0 2px 20px rgba(11,21,36,.1);
  }
}

@media (max-width: 940px) {
  .nav .wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, 100vw);
    padding-inline: max(1.1rem, env(safe-area-inset-left)) max(1.1rem, env(safe-area-inset-right));
  }
}

@media (max-width: 940px) {
  .nav-logo img {
    height: 30px;
  }
}

/* Hamburger button */

@media (max-width: 940px) {
  .nav-toggle {
    display: grid;
    place-content: center;
    width: 46px;
    height: 46px;
    margin-right: -.35rem;
    border-radius: 12px;
    position: relative;
    z-index: 103;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s var(--ease);
  }
}

@media (max-width: 940px) {
  .nav-toggle:active {
    background: rgba(11,21,36,.05);
  }
}

@media (max-width: 940px) {
  .nav-toggle span {
    width: 22px;
  }
}

/* When the drawer is open, the drawer's own close (X) takes over — hide the
       hamburger so the two icons never overlap in the top-right corner. */

@media (max-width: 940px) {
  .nav-toggle.open {
    opacity: 0;
    pointer-events: none;
  }
}

/* ============ Mobile menu drawer ============ */

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(360px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: -14px 0 44px rgba(11,21,36,.22);
    transform: translateX(105%);
    transition: transform .4s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 102;
    padding: 0 0 max(1.4rem, env(safe-area-inset-bottom));
    margin: 0;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
  }
}

@media (max-width: 940px) {
  .nav-links.open {
    transform: translateX(0);
  }
}

/* Drawer header: brand + close button (built in JS) */

@media (max-width: 940px) {
  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: max(1.1rem, env(safe-area-inset-top)) 1.3rem 1rem;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    flex-shrink: 0;
  }
}

@media (max-width: 940px) {
  .nav-drawer-head .dh-label {
    font: 700 .72rem/1 'Inter', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

@media (max-width: 940px) {
  .nav-close {
    display: grid;
    place-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    flex: none;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  }
}

@media (max-width: 940px) {
  .nav-close:active {
    background: var(--bg-soft);
    transform: scale(.94);
  }
}

@media (max-width: 940px) {
  .nav-close svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 940px) {
  .nav-links > li {
    flex-shrink: 0;
    border-bottom: 1px solid #f0f5fa;
  }
}

@media (max-width: 940px) {
  .nav-links a:not(.btn) {
    padding: 1rem 1.4rem !important;
    font-size: 1.02rem;
    font-weight: 500;
    border-radius: 0;
    color: var(--ink);
    width: 100%;
    display: block;
    min-height: 52px;
    transition: background .18s ease, color .18s ease;
  }
}

@media (max-width: 940px) {
  .nav-links a:not(.btn):active {
    background: #f2f6fb;
  }
}

@media (max-width: 940px) {
  .nav-links a:not(.btn)::after {
    display: none;
  }
}

@media (max-width: 940px) {
  .nav-links a[aria-current="page"] {
    color: var(--blue);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--blue);
  }
}

@media (max-width: 940px) {
  .nav-links .btn {
    display: flex;
    width: auto;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 1.4rem .4rem;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
  }
}

/* the last <li> holds the CTA — drop its divider */

@media (max-width: 940px) {
  .nav-links > li:has(.btn) {
    border-bottom: none;
  }
}

/* ---- Specialties accordion ---- */

/* Stack the parent link and its drop panel vertically so the panel follows
       directly under the link (not floating). The li is already position:relative. */

@media (max-width: 940px) {
  .nav-links > li.has-drop {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 940px) {
  .has-drop > a {
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.4rem !important;
  }
}

@media (max-width: 940px) {
  .has-drop > a svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform .25s var(--ease), color .25s var(--ease);
    flex-shrink: 0;
  }
}

@media (max-width: 940px) {
  .has-drop.open-sub > a {
    color: var(--blue);
    font-weight: 600;
  }
}

@media (max-width: 940px) {
  .has-drop.open-sub > a svg {
    transform: rotate(180deg);
    color: var(--blue);
  }
}

/* In the drawer the drop is NOT a floating popover — it flows in-line right
       under its parent link. Every desktop popover property is explicitly reset
       (position/left/top/transform/min-width) so it can never drift left or
       overlay the page behind the drawer. */

@media (max-width: 940px) {
  .has-drop .drop {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #f7fafd;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .25s ease;
  }
}

@media (max-width: 940px) {
  .has-drop.open-sub .drop {
    max-height: 600px;
    opacity: 1;
    padding: 0.3rem 0;
  }
}

@media (max-width: 940px) {
  .drop a {
    padding: 0.85rem 1.4rem 0.85rem 1.5rem !important;
    min-height: 52px;
    border-left: 3px solid transparent;
    margin: 0;
    border-radius: 0 !important;
    gap: 0.75rem;
    align-items: center;
    display: flex !important;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--ink);
    width: 100%;
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease;
  }
}

@media (max-width: 940px) {
  .drop a:active {
    background: rgba(0, 145, 255, .08);
    border-left-color: var(--blue);
  }
}

/* the text column: allow it to shrink and wrap instead of overflowing the panel */

@media (max-width: 940px) {
  .drop a > span:not(.di) {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 940px) {
  .drop a small {
    display: block;
    font-size: 0.79rem;
    margin-top: 2px;
    line-height: 1.25;
    color: var(--muted);
    white-space: normal;
  }
}

@media (max-width: 940px) {
  .drop .di {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 940px) {
  .drop .di svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    width: 100vw;
    max-width: 100vw;
  }
}

/* ================= SCROLL PROGRESS + GO TOP (unique) ================= */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0,145,255,.6);
  transition: width .1s linear;
}

.gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  z-index: 150;
  cursor: pointer;
  border: 0;
  background: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.8);
  transition: opacity .4s var(--ease), transform .4s var(--ease-back);
}

.gotop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.gotop .ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.gotop .ring .t {
  fill: rgba(255,255,255,.85);
  stroke: var(--line);
  stroke-width: 2.5;
}

.gotop .ring .p {
  fill: none;
  stroke: url(#gtgrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset .1s linear;
}

.gotop .arrow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  transition: transform .3s var(--ease-back);
}

.gotop:hover .arrow {
  transform: translateY(-3px);
}

.gotop::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  background: #fff;
  z-index: -1;
}

/* ================= REVEAL ================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-reveal].d1 {
  transition-delay: .08s;
}

[data-reveal].d2 {
  transition-delay: .16s;
}

[data-reveal].d3 {
  transition-delay: .24s;
}

[data-reveal].d4 {
  transition-delay: .32s;
}

[data-reveal="scale"] {
  transform: scale(.94);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg-soft);
}

.hero-bg::before, .hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .8;
  animation: floatB 20s ease-in-out infinite;
}

.hero-bg::before {
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(0,145,255,.16), transparent 65%);
  top: -12vw;
  right: -8vw;
}

.hero-bg::after {
  width: 42vw;
  height: 42vw;
  background: radial-gradient(circle, rgba(0,91,176,.12), transparent 65%);
  bottom: -14vw;
  left: -6vw;
  animation-delay: -10s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 75%);
}

@keyframes floatB {
  0%, 100% {
    transform: translate(0,0);
  }
  50% {
    transform: translate(2rem,-1.5rem);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* two-column hero (original layout) */

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

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 1.2rem 0 1.2rem;
}

.hero-copy p.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2rem;
}

.hero-copy .hero-cta {
  justify-content: flex-start;
}

.hero-copy .hero-trust {
  margin-top: 2.2rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,91,176,.22));
}

.hero-visual img.floating {
  animation: bob 6s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .8rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: .78rem;
}

.hero-badge .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.hero-badge.b1 {
  top: 8%;
  left: -4%;
  animation: bob 6s ease-in-out infinite;
}

.hero-badge.b2 {
  bottom: 6%;
  right: -3%;
  animation: bob 7s ease-in-out .8s infinite;
}

@media (max-width: 860px) {
  .hero {
    padding-top: clamp(7rem, 20vw, 9rem);
  }
}

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

@media (max-width: 860px) {
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
  }
}

@media (max-width: 860px) {
  .hero-copy p.lead {
    max-width: 40ch;
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  .hero-copy .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .hero-copy .hero-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .hero-copy .hero-trust {
    justify-content: center;
    gap: .5rem 1.2rem;
  }
}

@media (max-width: 860px) {
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .hero-badge.b1 {
    left: 2%;
  }
}

@media (max-width: 860px) {
  .hero-badge.b2 {
    right: 2%;
  }
}

/* reveal transforms must never create horizontal scroll on small screens */

@media (max-width: 860px) {
  [data-reveal="right"], [data-reveal="left"] {
    transform: translateY(24px);
  }
}

/* Tighter, cleaner hero on phones — no cramped CTAs, no overflowing badges. */

@media (max-width: 560px) {
  .hero {
    padding-top: clamp(6rem, 24vw, 8rem);
    padding-bottom: 3.2rem;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    line-height: 1.08;
    margin: 1rem 0;
  }
}

@media (max-width: 560px) {
  .hero-copy p.lead {
    font-size: 1.02rem;
  }
}

@media (max-width: 560px) {
  .hero-copy .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
  }
}

@media (max-width: 560px) {
  .hero-copy .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-copy .hero-trust {
    margin-top: 1.8rem;
    justify-content: center;
    gap: .4rem 1rem;
    font-size: .85rem;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    max-width: 340px;
  }
}

/* Keep floating badges from spilling off-screen on the smallest devices. */

@media (max-width: 560px) {
  .hero-badge {
    font-size: .82rem;
    padding: .6rem .8rem;
  }
}

@media (max-width: 560px) {
  .hero-badge .dot {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 560px) {
  .hero-badge.b1 {
    left: -1%;
    top: 4%;
  }
}

@media (max-width: 560px) {
  .hero-badge.b2 {
    right: -1%;
    bottom: 2%;
  }
}

/* global guard: nothing overflows the viewport width */

.wrap, .wrap-narrow {
  max-width: 100%;
}

/* ================= MARQUEE (seamless, JS-cloned) ================= */

.marquee {
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 1.4rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
  animation: scrollX 48s linear infinite;
}

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

.marquee-item {
  font: 600 .98rem 'Sora';
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 0 1.9rem;
}

.marquee-item b {
  color: var(--ink-soft);
  font-weight: 600;
}

.marquee-item .dotsep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grey);
}

/* translate by exactly one copy's width; JS sets --half so two identical copies loop seamlessly */

@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--half, 50%)));
  }
}

/* ================= CARDS ================= */

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

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.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);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
}

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

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

.card .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1.3rem;
  background: var(--grad);
  box-shadow: 0 12px 26px rgba(0,120,211,.28);
}

.card h3 {
  font-size: 1.3rem;
  margin: 0 0 .6rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .6rem;
}

.card li {
  display: flex;
  gap: .6rem;
  font-size: .96rem;
}

.card li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .cards, .cards.two {
    grid-template-columns: 1fr;
  }
}

/* checkmark helper */

.chk {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--blue);
}

/* ================= STATS ================= */

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

.stat {
  text-align: center;
  padding: 2.2rem 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

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

.stat .num {
  font: 800 clamp(2.3rem, 5vw, 3.1rem) 'Sora';
  letter-spacing: -.02em;
  display: inline-block;
}

.stat p {
  margin: .4rem 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
}

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

/* ================= INDUSTRIES ================= */

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

.ind {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1.6rem 1.4rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative;
  overflow: hidden;
}

.ind::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

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

.ind:hover::before {
  transform: scaleX(1);
}

.ind .ii {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: rgba(0,145,255,.09);
}

.ind .ii svg {
  width: 24px;
  height: 24px;
}

.ind h4 {
  margin: 0;
  font-size: 1.02rem;
}

.ind p {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
}

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

@media (max-width: 520px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= SPECIALTIES (3 pillars) ================= */

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

.pillar {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  overflow: hidden;
  color: #fff;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.pillar:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .95;
}

.pillar.p1::before {
  background: linear-gradient(155deg, #0a1120, #16324f);
}

.pillar.p2::before {
  background: linear-gradient(155deg, #0a1120, var(--blue-deep));
}

.pillar.p3::before {
  background: linear-gradient(155deg, #0a1120, #0b6ba8);
}

.pillar .pnum {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font: 800 4rem 'Sora';
  color: rgba(255,255,255,.12);
  line-height: 1;
}

.pillar .pico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  margin-bottom: auto;
}

.pillar .pico svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.pillar h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 1.6rem 0 .6rem;
}

.pillar p {
  color: rgba(255,255,255,.82);
  margin: 0 0 1.2rem;
  font-size: .98rem;
}

.pillar .plink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}

.pillar .plink svg {
  width: 16px;
  transition: transform .3s var(--ease);
}

.pillar:hover .plink svg {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* ================= DARK SECTION ================= */

.dark {
  background: var(--ink);
  color: #e7edf7;
  position: relative;
  overflow: hidden;
}

.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background: radial-gradient(60vw 50vw at 80% 0%, rgba(0,145,255,.26), transparent 60%), radial-gradient(50vw 50vw at 10% 100%, rgba(242,14,86,.2), transparent 60%);
}

.dark .wrap, .dark .wrap-narrow {
  position: relative;
}

.dark h1, .dark h2, .dark h3 {
  color: #fff;
}

.dark .section-head p {
  color: #9fb0c9;
}

/* migration flow */

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.flow-card {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.1);
}

.flow-card.old {
  background: rgba(255,255,255,.03);
}

.flow-card.new {
  background: linear-gradient(160deg, rgba(0,145,255,.16), rgba(242,14,86,.1));
  border-color: rgba(0,145,255,.35);
  box-shadow: 0 30px 70px rgba(0,145,255,.15);
}

.flow-card h3 {
  font-size: 1.35rem;
  margin: 0 0 .3rem;
}

.flow-card .tag {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.flow-card.old .tag {
  color: var(--pink-soft);
}

.flow-card.new .tag {
  color: #6fd0ff;
}

.flow-card ul {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  gap: .8rem;
}

.flow-card li {
  display: flex;
  gap: .7rem;
  font-size: .98rem;
  color: #c3cede;
}

.flow-card.old li {
  color: #8b97ab;
}

.flow-card li svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
}

.flow-arrow {
  display: grid;
  place-items: center;
}

.flow-arrow .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 34px rgba(0,145,255,.5);
  animation: pulseC 2.6s var(--ease) infinite;
}

@keyframes pulseC {
  0%, 100% {
    box-shadow: 0 12px 34px rgba(0,145,255,.5);
  }
  50% {
    box-shadow: 0 12px 44px rgba(242,14,86,.55);
  }
}

@media (max-width: 860px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .flow-arrow .circle {
    transform: rotate(90deg);
  }
}

.no-license {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font: 700 1.15rem 'Sora';
  color: #fff;
  margin-bottom: 1.4rem;
}

.no-license s {
  color: var(--pink-soft);
  text-decoration-thickness: 2px;
}

/* ================= TIMELINE ================= */

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--pink));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding-bottom: 2.6rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item .dot {
  position: absolute;
  left: -3rem;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  font: 700 .8rem 'Sora';
  color: var(--blue-dark);
  box-shadow: 0 0 0 6px rgba(0,145,255,.08);
}

.tl-item h3 {
  font-size: 1.25rem;
  margin: 0 0 .2rem;
}

.tl-item .step-tag {
  color: var(--pink);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tl-item p {
  margin: .5rem 0 0;
  color: var(--muted);
}

/* ================= FEATURE SPLIT ================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.rev .split-media {
  order: -1;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
}

.split-media img {
  border-radius: inherit;
}

.split-media img {
  width: 100%;
}

.split h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -.02em;
  margin: 1rem 0 1rem;
}

.split ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: .9rem;
}

.split li {
  display: flex;
  gap: .8rem;
}

.split li b {
  color: var(--ink);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .split.rev .split-media {
    order: 0;
  }
}

/* ================= ADDONS ================= */

.addons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.addon {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.addon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s var(--ease);
}

.addon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11,21,36,.92) 8%, rgba(11,21,36,.25) 60%, transparent);
}

.addon:hover img {
  transform: scale(1.07);
}

.addon .body {
  padding: 1.8rem;
  color: #fff;
}

.addon .body .step-tag {
  color: #6fd0ff;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.addon h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: .3rem 0 .4rem;
}

.addon p {
  margin: 0 0 .8rem;
  color: #c3cede;
  font-size: .95rem;
}

.addon .more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
}

.addon .more svg {
  width: 16px;
  transition: transform .3s var(--ease);
}

.addon:hover .more svg {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .addons {
    grid-template-columns: 1fr;
  }
}

/* ================= PRICING ================= */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.price {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

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

.price.featured {
  background: var(--ink);
  color: #d7e0ee;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.price.featured h3, .price.featured .price-tag {
  color: #fff;
}

.price.featured .price-li {
  color: #c3cede;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-2);
  color: #fff;
  font: 700 .72rem 'Inter';
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(242,14,86,.35);
}

.price h3 {
  font-size: 1.35rem;
  margin: 0 0 .4rem;
}

.price .price-sub {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 1.4rem;
  min-height: 2.6em;
}

.price.featured .price-sub {
  color: #9fb0c9;
}

.price-tag {
  font: 800 2.2rem 'Sora';
  color: var(--ink);
  letter-spacing: -.02em;
}

.price-tag small {
  display: block;
  font: 500 .82rem 'Inter';
  color: var(--muted);
  letter-spacing: 0;
}

.price ul {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: .8rem;
}

.price-li {
  display: flex;
  gap: .7rem;
  font-size: .95rem;
}

.price-li svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--blue);
}

.price.featured .price-li svg {
  color: #6fd0ff;
}

.price .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* ================= CTA BAND ================= */

.cta-band {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue) 45%, var(--pink));
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background: radial-gradient(40vw 40vw at 20% 20%, rgba(255,255,255,.3), transparent 60%);
}

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

.cta-band p {
  color: rgba(255,255,255,.9);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 auto 2rem;
}

.cta-band .btn-white {
  color: var(--blue-deep);
}

/* ================= FAQ ================= */

.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.5rem;
  font: 600 1.08rem 'Sora';
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary .plus {
  width: 26px;
  height: 26px;
  flex: none;
  position: relative;
}

.qa summary .plus::before, .qa summary .plus::after {
  content: '';
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}

.qa summary .plus::before {
  top: 12px;
  left: 3px;
  right: 3px;
  height: 2px;
}

.qa summary .plus::after {
  left: 12px;
  top: 3px;
  bottom: 3px;
  width: 2px;
}

.qa[open] summary .plus::after {
  transform: scaleY(0);
}

.qa .qa-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
}

/* ================= CONTACT ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: .9rem;
  margin-bottom: .4rem;
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font: 400 1rem 'Inter';
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,145,255,.12);
}

.contact-side h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.02em;
}

.contact-side .lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.contact-info {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-info a {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--ink);
  font-weight: 600;
}

.contact-info .ci {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,145,255,.1);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-info small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ================= PAGE HERO (sub pages) ================= */

.phero {
  position: relative;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  text-align: center;
}

.phero .wrap {
  position: relative;
}

.phero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 1.2rem auto 1.1rem;
  max-width: 16ch;
}

.phero p.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.phero .hero-cta {
  justify-content: center;
}

.breadcrumb {
  display: inline-flex;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  align-items: center;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue-dark);
}

.hero-cta {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: .9rem;
  flex-wrap: wrap;
}

.hero-trust b {
  color: var(--ink);
  font-family: 'Sora';
}

/* ================= LEGAL DOC ================= */

.legal {
  max-width: 820px;
  margin: 0 auto;
}

.legal .updated {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 2.5rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2.4rem 0 .8rem;
  scroll-margin-top: 90px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: .5rem;
}

.legal .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.4rem;
  box-shadow: var(--shadow-sm);
  font-size: .96rem;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ================= FOOTER ================= */

footer.site {
  background: var(--bg-soft);
  padding: 4rem 0 2rem;
}

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

.foot-grid img {
  height: 34px;
  margin-bottom: 1rem;
}

.foot-grid p {
  color: var(--muted);
  font-size: .95rem;
  max-width: 32ch;
}

.foot-grid h4 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.foot-grid a {
  color: var(--muted);
  font-size: .95rem;
}

.foot-grid a:hover {
  color: var(--blue-dark);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.foot-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.socials {
  display: flex;
  gap: .6rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

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

.socials svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 820px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before, .hero-bg::after, .marquee-track, .flow-arrow .circle, .loader-word span {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

