/* =========================================================================
   APURVIT — Global Stylesheet
   Compliances | Investments | Automation
   Palette derived from brand logo (navy / gold / green)
   ========================================================================= */

/* ----------------------------- Design Tokens ---------------------------- */
:root {
  /* Brand colors */
  --navy: #1C2E88;
  --navy-deep: #141F5C;
  --navy-700: #24338f;
  --gold: #F6B31C;
  --gold-soft: #FFD35C;
  --gold-deep: #E09A00;
  --green: #7DB63A;
  --green-deep: #5F9426;

  /* Neutrals */
  --ink: #14162B;
  --slate: #5B6172;
  --slate-light: #8A90A2;
  --bg: #FBFBFD;
  --bg-alt: #F4F6FC;
  --surface: #FFFFFF;
  --border: #E8EAF2;
  --border-strong: #D7DBEA;

  /* Semantic */
  --danger: #E5484D;
  --success: var(--green);

  /* Typography */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing scale (8pt) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px;

  /* Radii */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,22,43,.06), 0 1px 3px rgba(20,22,43,.04);
  --shadow-md: 0 8px 24px rgba(20,22,43,.08);
  --shadow-lg: 0 24px 60px rgba(20,22,43,.14);
  --shadow-gold: 0 12px 30px rgba(246,179,28,.28);
  --shadow-navy: 0 18px 44px rgba(28,46,136,.24);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);
  --dur: .28s;
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------- Layout helpers ----------------------------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: var(--sp-10) 0; }
@media (max-width: 640px){ .section { padding: var(--sp-8) 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  background: rgba(28,46,136,.07);
  padding: 6px 14px; border-radius: var(--r-pill);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); }
.text-gold { color: var(--gold-deep); }
.text-navy { color: var(--navy); }
.text-green { color: var(--green-deep); }

/* Gradient text accent */
.grad {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy) 40%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: var(--shadow-navy); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(28,46,136,.04); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), height .3s var(--ease-out);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.site-header.scrolled {
  background: rgba(251,251,253,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; }
/* Logo art ships with an opaque white background — present it on a clean rounded
   tile so the white reads as an intentional logo chip rather than a stray box. */
.brand img { height: 46px; width: auto; border-radius: 9px; background: #fff; }
.site-header.scrolled .brand img { height: 42px; }
.site-footer .brand img { height: 46px; padding: 7px 11px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.brand .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.brand .brand-name b { color: var(--gold-deep); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; font-weight: 500; color: var(--ink);
  border-radius: var(--r-sm); transition: color var(--dur) var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--navy); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); }

.hamburger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; position: relative; }
.hamburger span + span { margin-top: 6px; }
body.menu-open .hamburger span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2){ opacity: 0; }
body.menu-open .hamburger span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4);
  padding: var(--sp-8) var(--sp-6);
  transform: translateY(-100%); transition: transform .45s var(--ease-io);
  visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 2.6rem); color: var(--ink); }
.mobile-menu a:hover { color: var(--navy); }
.mobile-menu .btn { margin-top: var(--sp-4); align-self: flex-start; }

/* ------------------------------- Custom cursor -------------------------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; mix-blend-mode: normal; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold); transform: translate(-50%,-50%); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(28,46,136,.5); transform: translate(-50%,-50%); transition: width .2s, height .2s, border-color .2s, background-color .2s; }
.cursor-ring.hovering { width: 58px; height: 58px; border-color: var(--gold); background: rgba(246,179,28,.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* --------------------------------- Hero --------------------------------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-mesh {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 15% 10%, rgba(28,46,136,.10), transparent 60%),
    radial-gradient(50% 55% at 90% 20%, rgba(246,179,28,.16), transparent 60%),
    radial-gradient(45% 50% at 75% 95%, rgba(125,182,58,.12), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--sp-8); align-items: center; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .word { display: inline-block; }
.hero .lead { max-width: 42ch; margin-bottom: var(--sp-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-5); color: var(--slate); font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--green-deep); }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: var(--sp-6);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.hero-card .hc-tag { font-size: .8rem; font-weight: 600; color: var(--slate); }
.hc-chip { font-size: .78rem; font-weight: 700; color: var(--green-deep); background: rgba(125,182,58,.14); padding: 5px 12px; border-radius: var(--r-pill); }
.hc-metric { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,5vw,3.4rem); color: var(--navy); line-height: 1; }
.hc-metric small { font-size: 1.4rem; color: var(--gold-deep); }
.hc-sub { color: var(--slate); font-size: .95rem; margin-top: 6px; }
.hc-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: var(--sp-5); }
.hc-bars .bar { flex: 1; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%); border-radius: 8px 8px 0 0; transform-origin: bottom; }
.hc-bars .bar:nth-child(3){ background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%); }
.hc-bars .bar:nth-child(5){ background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%); }
.hero-float {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md); border-radius: var(--r-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9rem;
}
.hero-float svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #fff; }
.hero-float.f1 { top: -22px; right: 24px; }
.hero-float.f1 svg { background: var(--green); }
.hero-float.f2 { bottom: -22px; left: -18px; }
.hero-float.f2 svg { background: var(--navy); }

/* ------------------------------ Trust strip ----------------------------- */
.trust { background: var(--surface); border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .num .suffix { color: var(--gold-deep); }
.stat .label { margin-top: 10px; color: var(--slate); font-weight: 500; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-6); margin-top: var(--sp-7); padding-top: var(--sp-6); border-top: 1px dashed var(--border-strong); color: var(--slate-light); font-weight: 600; letter-spacing: .04em; }

/* ----------------------------- Bento pillars ---------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-5); }
.pillar {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: var(--sp-6);
  color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar.p-compliance { grid-column: span 3; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); }
.pillar.p-investment { grid-column: span 3; background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--ink); }
.pillar.p-automation { grid-column: span 6; background: linear-gradient(120deg, var(--green) 0%, var(--green-deep) 100%); }
.pillar .p-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; opacity: .55; }
.pillar .p-icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.pillar.p-investment .p-icon { background: rgba(20,22,43,.12); }
.pillar .p-icon svg { width: 30px; height: 30px; }
.pillar h3 { color: inherit; margin-bottom: 10px; }
.pillar p { opacity: .9; max-width: 46ch; }
.pillar .p-foot { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-top: var(--sp-5); }
.pillar .p-foot svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.pillar:hover .p-foot svg { transform: translateX(5px); }
.pillar .p-orb { position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -60px; background: rgba(255,255,255,.08); }

/* -------------------------------- Why us -------------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.feature-list { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.feature { display: flex; gap: var(--sp-4); }
.feature .fi { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(28,46,136,.08); color: var(--navy); }
.feature .fi svg { width: 24px; height: 24px; }
.feature h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--slate); }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.why-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-sm); }
.why-tile.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.why-tile .wt-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1; }
.why-tile .wt-lbl { color: var(--slate); margin-top: 6px; }
.why-tile.accent { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border: none; }
.why-tile.accent .wt-num { color: var(--gold-soft); }
.why-tile.accent .wt-lbl { color: rgba(255,255,255,.8); }

/* ------------------------------ Timeline (pin) -------------------------- */
.timeline { background: var(--navy); color: #fff; overflow: hidden; }
.timeline .section-head h2, .timeline .section-head { color: #fff; }
.timeline .lead { color: rgba(255,255,255,.75); }
.timeline .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.timeline-track { display: flex; gap: var(--sp-5); will-change: transform; padding-bottom: var(--sp-4); }
.tl-card {
  flex: 0 0 340px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: var(--sp-6); backdrop-filter: blur(6px);
}
.tl-card .tl-step { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 800; margin-bottom: var(--sp-4); }
.tl-card h3 { color: #fff; margin-bottom: 8px; }
.tl-card p { color: rgba(255,255,255,.72); }
.timeline-hint { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .9rem; margin-top: var(--sp-5); }
.timeline-hint svg { width: 18px; height: 18px; }
/* Fallback when not pinned (mobile / reduced-motion) */
.timeline-track.static { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.timeline-track.static .tl-card { scroll-snap-align: start; }

/* ----------------------------- Testimonials ----------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: var(--sp-5); width: max-content; }
.marquee-row.animate { animation: marquee 40s linear infinite; }
.marquee:hover .marquee-row.animate { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote {
  flex: 0 0 380px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm);
}
.quote .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: var(--sp-4); }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: var(--sp-5); }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--gold-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.quote .who b { display: block; font-family: var(--font-display); }
.quote .who span { color: var(--slate); font-size: .88rem; }
@media (prefers-reduced-motion: reduce){ .marquee-row.animate { animation: none; } .marquee { overflow-x: auto; } }

/* -------------------------------- CTA band ------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  position: relative; z-index: 1; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.3fr auto; gap: var(--sp-6); align-items: center;
  box-shadow: var(--shadow-navy); color: #fff; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; right: -80px; top: -120px; background: radial-gradient(circle, rgba(246,179,28,.4), transparent 65%); }
.cta-inner h2 { color: #fff; position: relative; }
.cta-inner p { color: rgba(255,255,255,.8); margin-top: 10px; max-width: 52ch; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); position: relative; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-top: var(--sp-9); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-bottom: var(--sp-8); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name b { color: var(--gold-soft); }
.footer-tag { margin-top: var(--sp-4); max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: var(--sp-5); }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color var(--dur), transform var(--dur); }
.footer-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--gold-soft); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: var(--sp-5) 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
.slot { color: var(--gold-soft); font-style: italic; }

/* ------------------------------ Page hero ------------------------------- */
.page-hero { padding-top: calc(var(--header-h) + var(--sp-8)); padding-bottom: var(--sp-8); background: var(--bg-alt); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { display: flex; gap: 8px; color: var(--slate); font-size: .9rem; margin-bottom: var(--sp-4); }
.page-hero .breadcrumb a:hover { color: var(--navy); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: var(--sp-4); }
.page-hero .lead { max-width: 60ch; }
.page-hero .hero-mesh { opacity: .8; }

/* ------------------------- Services detail sections --------------------- */
.svc-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-8); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 6px; }
.svc-nav a { padding: 12px 16px; border-radius: var(--r-sm); color: var(--slate); font-weight: 600; border-left: 3px solid transparent; transition: all var(--dur) var(--ease-out); }
.svc-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.svc-nav a.active { color: var(--navy); border-left-color: var(--gold); background: var(--bg-alt); }
.svc-block { padding-bottom: var(--sp-9); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-block .svc-badge { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: var(--sp-5); box-shadow: var(--shadow-md); }
.svc-block .svc-badge svg { width: 34px; height: 34px; }
.svc-block.compliance .svc-badge { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); }
.svc-block.investment .svc-badge { background: linear-gradient(150deg, var(--gold), var(--gold-deep)); }
.svc-block.automation .svc-badge { background: linear-gradient(150deg, var(--green), var(--green-deep)); }
.svc-block h2 { margin-bottom: var(--sp-4); }
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.svc-feature { display: flex; gap: 12px; padding: var(--sp-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.svc-feature svg { width: 22px; height: 22px; color: var(--green-deep); flex: none; }
.svc-feature b { font-family: var(--font-display); display: block; margin-bottom: 2px; }
.svc-feature span { color: var(--slate); font-size: .92rem; }
.svc-outcomes { margin-top: var(--sp-6); padding: var(--sp-5); border-radius: var(--r-md); background: var(--bg-alt); display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.svc-outcomes .o { }
.svc-outcomes .o b { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); display: block; }
.svc-outcomes .o span { color: var(--slate); font-size: .9rem; }

/* ------------------------------- About ---------------------------------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.story-media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); min-height: 420px; display: grid; place-items: center; color: #fff; padding: var(--sp-6); }
.story-media .sm-badge { text-align: center; }
.story-media .sm-badge .big { font-family: var(--font-display); font-weight: 800; font-size: 4rem; color: var(--gold-soft); line-height: 1; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .vc-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(246,179,28,.14); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: var(--sp-4); }
.value-card .vc-icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { color: var(--slate); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 4/3; background: linear-gradient(150deg, var(--bg-alt), #E7EAF6); display: grid; place-items: center; color: var(--navy); }
.team-photo .initials { font-family: var(--font-display); font-weight: 800; font-size: 3rem; opacity: .35; }
.team-body { padding: var(--sp-5); }
.team-body b { font-family: var(--font-display); font-size: 1.15rem; }
.team-body .role { color: var(--gold-deep); font-weight: 600; font-size: .92rem; margin: 2px 0 10px; }
.team-body p { color: var(--slate); font-size: .92rem; }

/* ------------------------------- Contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-8); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--sp-7); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; min-height: 52px;
  background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--r-md);
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(28,46,136,.1); }
.field .error-msg { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }
.form-note { color: var(--slate-light); font-size: .82rem; margin-top: var(--sp-4); }
.form-success { display: none; align-items: center; gap: 14px; padding: var(--sp-5); background: rgba(125,182,58,.1); border: 1px solid rgba(125,182,58,.4); border-radius: var(--r-md); color: var(--green-deep); font-weight: 600; margin-bottom: var(--sp-5); }
.form-success.show { display: flex; }
.form-success svg { width: 26px; height: 26px; flex: none; }

.contact-cards { display: grid; gap: var(--sp-4); }
.contact-card { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.contact-card .ci { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(28,46,136,.08); color: var(--navy); }
.contact-card .ci svg { width: 26px; height: 26px; }
.contact-card b { font-family: var(--font-display); display: block; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--slate); }
.contact-card a:hover { color: var(--navy); }
.map-placeholder { margin-top: var(--sp-4); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background:
  repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 14px, #EDEFF8 14px, #EDEFF8 28px);
  min-height: 220px; display: grid; place-items: center; color: var(--slate); font-weight: 600; }
.map-placeholder svg { width: 34px; height: 34px; margin-bottom: 8px; color: var(--navy); }

/* ------------------------------ Reveal anim ----------------------------- */
.reveal { opacity: 0; transform: translateY(28px); }
.js-ready .reveal { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
/* No-JS safety: if JS never runs, show content */
html:not(.js-ready) .reveal { opacity: 1; transform: none; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero-visual { max-width: 460px; }
  .why-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .svc-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .svc-nav a.active { border-left: none; border-bottom-color: var(--gold); }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-4); }
  .bento { grid-template-columns: 1fr; }
  .pillar.p-compliance, .pillar.p-investment, .pillar.p-automation { grid-column: 1 / -1; }
  .why-visual { grid-template-columns: 1fr 1fr; }
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .svc-features, .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 32px, var(--container)); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
}
