:root {
  --navy-950: #01051b;
  --navy-900: #041044;
  --navy-850: #071445;
  --navy-800: #0b1a52;
  --ink: #0b1530;
  --ink-2: #263554;
  --muted: #667085;
  --line: #dfe6f0;
  --line-dark: rgba(255,255,255,.12);
  --paper: #ffffff;
  --mist: #f5f7fc;
  --mist-2: #edf2fb;
  --violet: #6b2df8;
  --violet-2: #955ff6;
  --blue: #276cfa;
  --blue-2: #04a0fb;
  --cyan: #00c3fb;
  --cyan-2: #48dcff;
  --green: #20b486;
  --gradient: linear-gradient(112deg, #6b2df8 0%, #276cfa 52%, #00c3fb 100%);
  --gradient-deep: linear-gradient(135deg, #041044 0%, #241b89 50%, #087db9 100%);
  --shadow-sm: 0 12px 36px rgba(4, 16, 68, .09);
  --shadow-md: 0 30px 88px rgba(4, 16, 68, .16);
  --shadow-glow: 0 20px 60px rgba(39, 108, 250, .25);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --max: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(109,74,255,.18); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--navy-900);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.container.narrow { width: min(calc(100% - 40px), 860px); }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-dark { color: #fff; background: radial-gradient(circle at 85% 0, rgba(39,108,250,.16), transparent 32%), linear-gradient(145deg,var(--navy-950),var(--navy-900)); overflow: hidden; }
.section-dark > .container { position: relative; z-index: 1; }
.section-mist { background: radial-gradient(circle at 92% 8%, rgba(0,195,251,.08), transparent 26%), linear-gradient(145deg,#f8faff,var(--mist)); }
.section-line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #4d3ed3; font-size: .78rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 999px; background: var(--gradient); }
.section-dark .eyebrow { color: #b8c5df; }
.kicker { color: var(--violet); font-weight: 750; letter-spacing: -.01em; }

h1, h2, h3, h4 { margin: 0; color: inherit; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5.65rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #526078; max-width: 760px; }
.section-dark .lead { color: #bdc8de; }
.section-head { display: grid; gap: 18px; margin-bottom: 48px; max-width: 840px; }
.section-head.row { grid-template-columns: 1.15fr .85fr; max-width: none; align-items: end; }
.section-head.row .lead { justify-self: end; max-width: 520px; }
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 800; font-size: .94rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: var(--gradient); box-shadow: 0 12px 30px rgba(75, 89, 246, .25); }
.btn-primary:hover { box-shadow: 0 18px 38px rgba(75, 89, 246, .32); }
.btn-dark { color: #fff; background: var(--navy-900); }
.btn-light { color: var(--navy-900); background: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }
.btn-whatsapp { color: #fff; background: #159b68; border-color: rgba(255,255,255,.22); box-shadow: 0 12px 30px rgba(21,155,104,.22); }
.btn-whatsapp:hover { background: #11865a; box-shadow: 0 18px 38px rgba(21,155,104,.28); }
.btn-whatsapp img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }
.btn-outline { color: var(--navy-900); border-color: #ccd6e6; background: #fff; }
.btn-link { padding: 0; min-height: auto; border-radius: 0; color: var(--navy-900); }
.btn-link::after { content: "→"; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(3px); }

/* Header */
.site-header {
  height: var(--header-h); position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(39,108,250,.12);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(8,20,49,.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo-frame { display: block; width: 210px; line-height: 0; background: transparent; }
.brand-logo-frame img { position: static; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.desktop-nav > a, .nav-service-trigger {
  font-size: .9rem; font-weight: 720; color: #2a3954; padding: 10px 0; position: relative;
}
.desktop-nav > a::after, .nav-service-trigger::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; border-radius: 99px; background: var(--gradient); transition: right .2s ease;
}
.desktop-nav > a:hover::after, .desktop-nav > a.active::after, .nav-services:hover .nav-service-trigger::after, .nav-services:focus-within .nav-service-trigger::after, .nav-services.mega-open .nav-service-trigger::after { right: 0; }
.desktop-nav > a.active { color: var(--navy-900); }
.header-cta { margin-left: 4px; padding-inline: 18px; border-radius: 13px; box-shadow: 0 12px 28px rgba(62,77,236,.24), inset 0 1px 0 rgba(255,255,255,.3); }
.header-cta span { font-size: .98rem; transition: transform .2s ease; }
.header-cta:hover span { transform: translate(2px,-2px); }
.nav-services { position: relative; }
.nav-service-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-service-trigger svg { width: 12px; transition: transform .2s ease; }
.nav-services:hover .nav-service-trigger svg, .nav-services:focus-within .nav-service-trigger svg, .nav-services.mega-open .nav-service-trigger svg { transform: rotate(180deg); }
.mega-menu {
  position: fixed; top: calc(var(--header-h) - 4px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(1160px, calc(100vw - 32px)); max-height: calc(100vh - var(--header-h) - 20px); overflow: auto; padding: 22px; border: 1px solid rgba(39,108,250,.16); border-radius: 22px; background: rgba(255,255,255,.985); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-services:hover .mega-menu, .nav-services:focus-within .mega-menu, .nav-services.mega-open .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-group { padding: 19px 17px; border: 1px solid #e3e9f3; border-radius: 17px; background: linear-gradient(150deg,#fff,#f7f9fe); }
.mega-group strong { display: flex; align-items: center; gap: 10px; min-height: 36px; margin-bottom: 8px; font-size: .76rem; line-height: 1.35; letter-spacing: .075em; text-transform: uppercase; color: #31415f; }
.mega-group-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--gradient); box-shadow: 0 8px 20px rgba(39,108,250,.18); }
.mega-group-icon svg { width: 15px; height: 15px; }
.mega-group a { display: block; padding: 7px 4px 4px 40px; font-size: .82rem; line-height: 1.42; font-weight: 700; color: #394965; border-radius: 8px; }
.mega-group a:hover, .mega-group a:focus-visible { background: #f0f3fb; }
.mega-group a:hover, .mega-group a:focus-visible { color: var(--violet); }
.mobile-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--mist); color: var(--navy-900); }
.mobile-toggle span { display: block; width: 19px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 999px; transition: .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
.mobile-nav-brand, .mobile-services { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(circle at 78% 18%, rgba(0,195,251,.2), transparent 24%),
    radial-gradient(circle at 68% 60%, rgba(107,45,248,.25), transparent 34%),
    linear-gradient(135deg, #01051b 0%, #041044 48%, #0b1a52 100%);
  padding: 92px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 88%);
}
.hero::after { content:""; position:absolute; width:640px; height:640px; right:-210px; bottom:-250px; background:url('/assets/brand/TajirNova_Emblem_Transparent.png') center/contain no-repeat; opacity:.055; pointer-events:none; transform:rotate(-7deg); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-copy { max-width: 720px; min-width: 0; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .gradient-text { display: inline-block; }
.hero .lead { color: #c6d1e7; max-width: 670px; font-size: 1.16rem; }
.hero .btn-row { margin-top: 32px; }
.trust-strip { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.055); color: #d9e2f5; font-size: .78rem; font-weight: 700; }
.trust-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(32,180,134,.1); }
.hero-market-note { margin-top: 12px; color: #91a4c4; font-size: .76rem; font-weight: 650; }

.hero-visual { position: relative; min-width:0; min-height: 570px; display: flex; align-items: center; justify-content: center; }
.visual-orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(83,87,255,.26), rgba(83,87,255,0) 66%); filter: blur(2px); }
.dashboard {
  width: min(100%, 520px); position: relative; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; padding: 16px; background: rgba(8,19,48,.78); box-shadow: 0 40px 90px rgba(0,0,0,.36); backdrop-filter: blur(18px); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 16px; }
.dash-brand { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 800; color: #eef4ff; }
.dash-brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.dash-pills { display: flex; gap: 5px; }
.dash-pills i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.dashboard-body { display: grid; grid-template-columns: 132px 1fr; gap: 12px; }
.dash-side { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.05); }
.dash-side span { display: block; padding: 8px 10px; margin-bottom: 6px; border-radius: 9px; font-size: .68rem; color: #9fb0cf; }
.dash-side span.active { color: #fff; background: linear-gradient(90deg, rgba(109,74,255,.35), rgba(18,200,244,.12)); }
.dash-main { display: grid; min-width:0; gap: 12px; }
.dash-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric { min-height: 84px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.metric small { display: block; color: #93a5c3; font-size: .62rem; margin-bottom: 13px; }
.metric strong { font-size: .77rem; font-weight: 800; color: #eef4ff; }
.metric .bar { margin-top: 10px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.metric .bar::after { content: ""; display: block; height: 100%; width: var(--w,65%); border-radius: 99px; background: var(--gradient); }
.workflow-panel { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.workflow-title { display: flex; align-items: center; justify-content: space-between; color: #e9f1ff; font-size: .72rem; font-weight: 800; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; align-items: center; }
.flow-step { position: relative; padding: 10px 6px; text-align: center; border-radius: 10px; background: rgba(255,255,255,.05); font-size: .58rem; color: #aebbd2; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); color: #5f7294; }
.floating-card { position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(13,28,63,.88); box-shadow: 0 24px 55px rgba(0,0,0,.26); backdrop-filter: blur(14px); color: #fff; }
.floating-card.a { right: -8px; top: 58px; width: 176px; padding: 14px; }
.floating-card.b { left: -18px; bottom: 70px; width: 190px; padding: 14px; }
.floating-card small { display: block; color: #91a5c7; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.floating-card strong { display: block; margin-top: 6px; font-size: .78rem; }
.floating-card .status { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; color: #bfeadf; font-size: .66rem; }
.floating-card .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ad39f; }
.floating-card.light-brand-card { width: 228px; display: flex; align-items: center; gap: 11px; color: var(--ink); background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.9); }
.floating-card.light-brand-card > img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; box-shadow: 0 8px 22px rgba(4,16,68,.13); }
.floating-card.light-brand-card small { color: #61708a; }
.floating-card.light-brand-card strong { color: var(--navy-900); }
.floating-card.light-brand-card .status { color: #26745f; }

/* General cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid rgba(185,200,224,.55); border-radius: var(--radius); background: linear-gradient(155deg,#fff 0%,#fbfcff 100%); padding: 28px; box-shadow: 0 8px 28px rgba(4,16,68,.045), inset 0 1px 0 #fff; }
.card.soft { background: #f8fafd; }
.card.dark { color: #fff; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.1); }
.card.hover { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #cbd6e7; }
.card.dark.hover:hover { box-shadow: 0 20px 50px rgba(0,0,0,.2); border-color: rgba(255,255,255,.18); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(91,76,255,.18); margin-bottom: 22px; }
.icon-box svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: #66758d; }
.card.dark p { color: #bac7dd; }
.card .btn-link { margin-top: 22px; display: inline-flex; }

.pillar-card { position: relative; overflow: hidden; min-height: 350px; display: flex; flex-direction: column; }
.pillar-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -60px; top: -65px; background: radial-gradient(circle, rgba(18,200,244,.16), transparent 66%); }
.pillar-card .eyebrow { margin-bottom: 26px; }
.pillar-card h3 { font-size: 1.65rem; }
.pillar-card p { margin-top: 14px; }
.pillar-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.pillar-points span { padding: 7px 9px; border-radius: 999px; background: #f0f4fa; color: #45546d; font-size: .72rem; font-weight: 750; }
.pillar-card .btn-link { margin-top: auto; }

/* Software spotlight */
.software-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.software-copy { padding: 38px; border-radius: 28px; background: linear-gradient(145deg, #07122e, #0c214c); color: #fff; position: relative; overflow: hidden; }
.software-copy::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(18,200,244,.22), transparent 64%); }
.software-copy h2 { margin-bottom: 20px; }
.software-copy p { color: #bdc9df; position: relative; z-index: 1; }
.software-copy blockquote { margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.13); font-size: 1.1rem; font-weight: 800; line-height: 1.4; position: relative; z-index: 1; }
.software-detail-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 24px 0 28px; }
.software-detail-list span { padding: 10px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; background: rgba(255,255,255,.045); color: #d5e0f3; font-size: .76rem; font-weight: 700; }
.solution-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.solution-mini { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: .2s ease; }
.solution-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.solution-mini .num { color: var(--violet); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.solution-mini h3 { margin: 18px 0 12px; font-size: 1.18rem; }
.solution-mini p { color: #66758d; font-size: .9rem; }

/* Platform pills */
.logo-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.platform-section { background: radial-gradient(circle at 10% 0,rgba(107,45,248,.08),transparent 30%),radial-gradient(circle at 95% 100%,rgba(0,195,251,.09),transparent 28%),#fff; }
.platform-cloud { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.logo-pill { min-height: 60px; display: inline-flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid rgba(185,200,224,.6); border-radius: 15px; background: rgba(255,255,255,.9); color: #34425a; font-weight: 780; font-size: .84rem; box-shadow: 0 7px 22px rgba(4,16,68,.035); }
.logo-pill::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gradient); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.process-step { min-height: 230px; padding: 26px 23px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.process-step .n { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; color: #fff; background: var(--navy-900); font-size: .7rem; font-weight: 850; }
.process-step h3 { margin: 28px 0 12px; font-size: 1.12rem; }
.process-step p { font-size: .9rem; color: #637189; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 58px; border: 1px solid rgba(0,195,251,.14); border-radius: 30px; background: linear-gradient(125deg, #050c25 0%, #151b68 52%, #075f93 100%); color: #fff; box-shadow: 0 28px 80px rgba(4,16,68,.18); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 86% 30%, rgba(67,215,255,.2), transparent 28%), radial-gradient(circle at 60% 100%, rgba(120,65,255,.23), transparent 34%); pointer-events: none; }
.cta-band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 12px; }
.cta-band p { color: #bdc9df; max-width: 720px; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 72px; color: #fff; background: linear-gradient(135deg, #050b1c, #0a193c 66%, #102e5a); }
.page-hero::before { content:""; position:absolute; width:430px; height:430px; right:6%; bottom:-270px; background:url('/assets/brand/TajirNova_Emblem_Transparent.png') center/contain no-repeat; opacity:.065; pointer-events:none; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -130px; top: -220px; background: radial-gradient(circle, rgba(18,200,244,.18), rgba(109,74,255,.08) 42%, transparent 67%); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; color: #9fb0cd; font-size: .77rem; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span.sep { opacity: .5; }
.page-hero h1 { max-width: 920px; font-size: clamp(2.7rem, 5vw, 4.9rem); }
.page-hero .lead { margin-top: 22px; max-width: 760px; color: #c2cde2; }
.page-hero .btn-row { margin-top: 28px; }
.market-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.market-row span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.055); padding: 7px 10px; color: #c9d4e7; font-size: .74rem; font-weight: 720; }
.market-row span::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(32,180,134,.1); }
.market-note { margin-top: 12px; max-width: 760px; color: #91a4c4; font-size: .75rem; }

/* Service detail */
.service-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.service-intro .big-quote { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.14; letter-spacing: -.04em; font-weight: 820; color: var(--navy-900); }
.service-intro .copy { display: grid; gap: 20px; color: #5e6c83; font-size: 1.03rem; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.capability { min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: #32425c; font-size: .87rem; font-weight: 750; }
.capability::before { content: "✓"; width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--gradient); font-size: .68rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.outcome { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.outcome h3 { margin-bottom: 10px; }
.outcome p { color: #66758d; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 86px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font-weight: 800; color: #273853; }
.related-link:hover { border-color: #bfcce0; box-shadow: var(--shadow-sm); }
.related-link::after { content: "↗"; color: var(--violet); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-card { min-height: 188px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.industry-card .industry-icon { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #f0ecff, #e7faff); margin-bottom: 24px; position: relative; }
.industry-card .industry-icon::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 4px; background: var(--gradient); top: 12px; left: 12px; }
.industry-card h3 { margin-bottom: 9px; font-size: 1.13rem; }
.industry-card p { color: #6b7890; font-size: .9rem; }

/* Portfolio */
.portfolio-card { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.portfolio-visual { min-height: 390px; background: linear-gradient(145deg, #07142f, #102c5b); padding: 36px; position: relative; overflow: hidden; }
.portfolio-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(18,200,244,.23), transparent 30%), radial-gradient(circle at 30% 80%, rgba(109,74,255,.26), transparent 35%); }
.portfolio-ui { position: relative; z-index: 1; height: 100%; min-height: 315px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(4,12,31,.64); padding: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.portfolio-ui .ui-top { height: 34px; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 6px; }
.portfolio-ui .ui-top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.portfolio-ui .ui-body { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding-top: 14px; }
.portfolio-ui .ui-nav, .portfolio-ui .ui-panel { border-radius: 12px; background: rgba(255,255,255,.055); }
.portfolio-ui .ui-nav { min-height: 230px; }
.portfolio-ui .ui-panel { min-height: 230px; padding: 14px; }
.portfolio-ui .ui-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.portfolio-ui .ui-cards b { height: 54px; border-radius: 9px; display: block; background: rgba(255,255,255,.065); }
.portfolio-ui .ui-chart { height: 112px; margin-top: 10px; border-radius: 10px; background: linear-gradient(180deg, rgba(109,74,255,.16), rgba(18,200,244,.04)); position: relative; overflow: hidden; }
.portfolio-ui .ui-chart::after { content: ""; position: absolute; left: 10%; right: 8%; bottom: 24px; height: 2px; background: var(--gradient); transform: rotate(-7deg); box-shadow: 40px -15px 0 rgba(18,200,244,.5), 90px 2px 0 rgba(109,74,255,.6); }
.portfolio-copy { padding: 42px; display: flex; flex-direction: column; justify-content: center; }
.portfolio-copy .tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0 26px; }
.tag { padding: 6px 9px; border-radius: 999px; background: #eef3f9; color: #4d5c74; font-size: .72rem; font-weight: 760; }
.portfolio-copy p { color: #65738b; margin-top: 14px; }
.note-box { margin-top: 28px; padding: 18px; border-radius: 15px; background: #f8fafd; border: 1px solid var(--line); color: #52617a; font-size: .86rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { min-height: 320px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; }
.blog-card .category { color: var(--violet); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 850; }
.blog-card h3 { margin: 20px 0 13px; font-size: 1.35rem; }
.blog-card p { color: #65738b; font-size: .91rem; }
.blog-card .meta { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; align-items: center; color: #8a96a9; font-size: .74rem; }
.article { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.article-header { padding: 70px 0 46px; }
.article-header .category { color: var(--violet); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; font-size: .76rem; }
.article-header h1 { margin: 16px 0 20px; font-size: clamp(2.5rem, 5vw, 4.6rem); color: var(--navy-900); }
.article-header .lead { max-width: 760px; }
.article-body { padding-bottom: 100px; }
.article-body h2 { font-size: 1.75rem; margin: 46px 0 14px; color: var(--navy-900); }
.article-body p { color: #526179; font-size: 1.04rem; line-height: 1.78; }
.article-note { margin: 38px 0; padding: 22px; border-left: 3px solid var(--violet); background: #f7f9fc; color: #46556e; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-mark { min-height: 490px; border-radius: 28px; background: linear-gradient(145deg, #06112d, #0f2a58); display: grid; place-items: center; position: relative; overflow: hidden; }
.about-mark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 40%, rgba(18,200,244,.18), transparent 28%), radial-gradient(circle at 35% 70%, rgba(109,74,255,.22), transparent 35%); }
.about-mark img { position: relative; z-index: 1; width: 58%; filter: drop-shadow(0 25px 50px rgba(0,0,0,.25)); }
.about-copy { display: grid; gap: 20px; }
.about-copy p { color: #5f6d83; }
.principles { display: grid; gap: 11px; margin-top: 12px; }
.principle { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.principle b { color: var(--navy-900); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 28px; align-items: start; }
.contact-panel { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #07132f, #102b59); overflow: hidden; }
.contact-panel::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(18,200,244,.2), transparent 65%); }
.contact-panel p { color: #bdc9dd; margin: 16px 0 28px; position: relative; z-index: 1; }
.contact-method { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-method span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); }
.contact-method span svg { width: 18px; height: 18px; }
.contact-method small { display: block; color: #8fa3c2; }
.contact-method strong { display: block; font-size: .9rem; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #34435b; font-size: .82rem; font-weight: 780; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d4deeb; border-radius: 12px; background: #fbfcfe; color: var(--ink); min-height: 48px; padding: 11px 13px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #7d67ff; box-shadow: 0 0 0 4px rgba(109,74,255,.09); }
.form-note { margin-top: 14px; color: #7b879a; font-size: .78rem; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #edf9f5; color: #19795c; font-size: .84rem; }
.form-status.show { display: block; }

/* Careers */
.career-empty { max-width: 780px; padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.role-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.role-pills span { padding: 9px 11px; border-radius: 999px; background: #eef3f9; color: #46556d; font-size: .78rem; font-weight: 750; }

/* Footer */
.site-footer { position: relative; color: #fff; background: radial-gradient(circle at 92% 8%,rgba(0,195,251,.13),transparent 30%),linear-gradient(145deg,#01051b,#041044 66%,#09164a); overflow:hidden; }
.footer-top { position:relative; padding: 72px 0 54px; }
.footer-top::before { content:""; position:absolute; width:520px; height:520px; right:-170px; bottom:-250px; background:url('/assets/brand/TajirNova_Emblem_Transparent.png') center/contain no-repeat; opacity:.045; pointer-events:none; }
.footer-top > .container { position:relative; z-index:1; }
.footer-brand { display: grid; grid-template-columns: 1fr; gap: 44px; margin-bottom: 48px; }
.footer-identity { display:flex; align-items:center; gap:26px; }
.footer-identity .brand-logo-frame {
  width: 245px;
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  background: linear-gradient(180deg,#fff 0%,#f7f9ff 100%);
  box-shadow: 0 16px 38px rgba(0,0,0,.24), inset 0 0 0 1px rgba(7,18,66,.04);
}
.footer-identity .brand-logo-frame img { width:100%; opacity:1; filter:none; }
.footer-identity p { color: #aebbd2; font-size: .9rem; max-width: 700px; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px 28px; }
.footer-col h4 { color: #e6edfa; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; color: #98a7c1; padding: 5px 0; font-size: .83rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-contact a, .social-placeholder, .footer-worldwide { display: inline-flex; align-items: center; gap:8px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); color: #b9c6dc; font-size: .78rem; background:rgba(255,255,255,.025); }
.footer-contact svg { width:17px; height:17px; color:var(--cyan); }
.footer-contact img { width:17px; height:17px; }
.footer-contact a:hover { color:#fff; border-color:rgba(0,195,251,.3); background:rgba(0,195,251,.06); }
.social-placeholder { opacity: .65; cursor: default; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; color: #7787a3; font-size: .75rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* 404 */
.not-found { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 70px 0; background: var(--mist); }
.not-found-box { text-align: center; max-width: 650px; }
.not-found-box .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 900; line-height: 1; letter-spacing: -.07em; background: var(--gradient); color: transparent; -webkit-background-clip: text; background-clip: text; }
.not-found-box h1 { font-size: 2.2rem; margin: 14px 0; }
.not-found-box p { color: #65738b; margin-bottom: 24px; }

.whatsapp-fab { position:fixed; z-index:90; right:20px; bottom:20px; display:inline-flex; align-items:center; gap:9px; min-height:48px; padding:0 16px; border:1px solid rgba(255,255,255,.3); border-radius:999px; color:#fff; background:#159b68; box-shadow:0 18px 48px rgba(11,118,76,.28); font-size:.8rem; font-weight:820; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.whatsapp-fab img { width:21px; height:21px; object-fit:contain; filter:brightness(0) invert(1); }
.whatsapp-fab:hover { transform:translateY(-3px); background:#11865a; box-shadow:0 23px 58px rgba(11,118,76,.32); }
.portfolio-continuity { margin: 28px auto 0; max-width: 820px; color: #607087; text-align: center; font-weight: 700; }

.portfolio-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.portfolio-category { min-height:190px; padding:23px; border:1px solid rgba(185,200,224,.65); border-radius:19px; background:linear-gradient(150deg,#fff,#f8faff); }
.portfolio-category > span { width:42px; height:42px; display:grid; place-items:center; margin-bottom:30px; border-radius:12px; color:#fff; background:var(--gradient); box-shadow:0 10px 24px rgba(39,108,250,.18); }
.portfolio-category svg { width:20px; height:20px; }
.portfolio-category h3 { font-size:1.08rem; color:var(--navy-900); margin-bottom:9px; }
.portfolio-category p { color:#66758d; font-size:.84rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* === TajirNova UI refinement v2: icons, motion and contrast fixes === */
:focus-visible { outline: 3px solid rgba(18,200,244,.55); outline-offset: 3px; border-radius: 8px; }

.icon-box { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease; }
.icon-box-soft { color: var(--violet); background: linear-gradient(145deg,#f1edff,#e9faff); box-shadow: none; }
.icon-box-dark { color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.card.hover:hover .icon-box, .service-card:hover .icon-box, .feature-card:hover .icon-box { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 14px 34px rgba(91,76,255,.22); }

.pillar-top { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:20px; }
.pillar-top .eyebrow { margin:0; }
.pillar-top .icon-box { margin:0; flex:0 0 auto; }
.pillar-card { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(8,20,49,.11); }

.solution-mini { position:relative; overflow:hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.solution-mini::after { content:""; position:absolute; width:110px; height:110px; border-radius:50%; right:-55px; top:-55px; background:radial-gradient(circle,rgba(18,200,244,.13),transparent 68%); pointer-events:none; }
.solution-mini-top { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.mini-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; color:var(--violet); background:linear-gradient(145deg,#f0ecff,#e7faff); }
.mini-icon svg { width:19px; height:19px; }
.solution-mini h3 { margin-top:14px; }
.solution-mini:hover { transform:translateY(-5px); box-shadow:0 22px 50px rgba(8,20,49,.10); border-color:#cad6e8; }
.solution-mini:hover .mini-icon { color:#fff; background:var(--gradient); }

.logo-pill { transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.logo-pill::before { display:none; }
.logo-pill-icon { width:36px; height:36px; display:grid; place-items:center; flex:0 0 auto; border-radius:10px; color:var(--violet); background:#f4f6fb; border:1px solid #e7ebf3; }
.logo-pill-icon img { width:22px; height:22px; object-fit:contain; }
.logo-pill:hover { transform:translateY(-2px); border-color:#c7d2e5; box-shadow:var(--shadow-sm); }

.process-step { position:relative; overflow:hidden; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.process-step::after { content:""; position:absolute; height:3px; left:0; right:100%; bottom:0; background:var(--gradient); transition:right .3s ease; }
.process-step:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:#cad5e5; }
.process-step:hover::after { right:0; }
.process-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.process-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:10px; color:var(--violet); background:#f0edff; }
.process-icon svg { width:18px; height:18px; }
.process-step h3 { margin-top:24px; }

/* Critical contrast fix: white industry cards inside dark sections must use dark text. */
.industry-card { color:var(--ink); position:relative; overflow:hidden; transition:transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.industry-card h3 { color:var(--navy-900); }
.section-dark .industry-card { color:var(--ink); border-color:rgba(255,255,255,.15); box-shadow:0 16px 38px rgba(0,0,0,.10); }
.section-dark .industry-card h3 { color:var(--navy-900); }
.industry-card .industry-icon { display:grid; place-items:center; color:var(--violet); transition:transform .28s ease, color .28s ease, background .28s ease; }
.industry-card .industry-icon::after { display:none; }
.industry-card .industry-icon svg { width:20px; height:20px; }
.industry-card::after { content:""; position:absolute; inset:auto 0 0; height:3px; background:var(--gradient); transform:scaleX(0); transform-origin:left; transition:transform .3s ease; }
.industry-card:hover { transform:translateY(-5px); box-shadow:0 24px 56px rgba(8,20,49,.12); border-color:#c5d2e5; }
.industry-card:hover::after { transform:scaleX(1); }
.industry-card:hover .industry-icon { transform:translateY(-2px) rotate(-3deg); color:#fff; background:var(--gradient); }
.industry-card:nth-child(3n+2) .industry-icon { color:var(--blue); background:#eaf1ff; }
.industry-card:nth-child(3n+3) .industry-icon { color:#008bb8; background:#e7faff; }

.feature-card { position:relative; overflow:hidden; }
.feature-card::after { content:""; position:absolute; width:120px; height:120px; border-radius:50%; right:-65px; bottom:-65px; background:radial-gradient(circle,rgba(109,74,255,.12),transparent 70%); pointer-events:none; }
.market-card { min-height:220px; }

.capability, .outcome, .related-link { transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.capability:hover, .outcome:hover { transform:translateY(-3px); box-shadow:var(--shadow-sm); border-color:#c8d4e6; }
.capability::before { transition:transform .2s ease; }
.capability:hover::before { transform:scale(1.08) rotate(-5deg); }

/* Scroll reveal with lightweight stagger timing. */
.reveal { opacity:0; transform:translateY(22px) scale(.985); transition:opacity .62s cubic-bezier(.2,.8,.2,1), transform .62s cubic-bezier(.2,.8,.2,1); transition-delay:var(--reveal-delay,0ms); }
.reveal.visible { opacity:1; transform:none; }

/* Premium ambient hero motion — uses translate so existing dashboard perspective stays intact. */
.dashboard { animation:dashboardFloat 7s ease-in-out infinite; }
.floating-card.a { animation:floatCard 5.8s ease-in-out infinite .2s; }
.floating-card.b { animation:floatCard 6.6s ease-in-out infinite 1s; }
.visual-orb { animation:orbPulse 7s ease-in-out infinite; }
.page-hero::after { animation:heroGlow 9s ease-in-out infinite; }
.hero .gradient-text { background-size:180% 180%; animation:gradientShift 6s ease-in-out infinite; }
.metric .bar::after { transform-origin:left; animation:barGrow 1.1s .35s both cubic-bezier(.2,.8,.2,1); }

@keyframes dashboardFloat { 0%,100%{translate:0 0} 50%{translate:0 -9px} }
@keyframes floatCard { 0%,100%{translate:0 0} 50%{translate:0 -8px} }
@keyframes orbPulse { 0%,100%{scale:1; opacity:.78} 50%{scale:1.08; opacity:1} }
@keyframes heroGlow { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(-24px,18px,0)} }
@keyframes gradientShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes barGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }

/* Mobile polish */
@media (max-width: 640px) {
  .industry-card { min-height:165px; }
  .industry-card .industry-icon { margin-bottom:18px; }
  .pillar-top { align-items:flex-start; }
  .logo-pill { min-height:44px; padding:0 12px; font-size:.82rem; }
  .process-top { align-items:flex-start; }
}


/* Stable hover corridor between Services trigger and mega menu. */
.nav-services::after { content:""; position:absolute; left:-34px; right:-34px; top:calc(100% - 2px); height:22px; }
.mega-menu::before { content:""; position:absolute; left:0; right:0; top:-14px; height:14px; }
.mega-group { min-width:0; }

/* Product extension cards */
.product-extension-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.product-extension { display:flex; flex-direction:column; min-height:100%; padding:26px; border:1px solid var(--line); border-radius:20px; background:#fff; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-extension:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:#c9d4e5; }
.product-extension .icon-box { margin-bottom:20px; }
.product-extension h3 { margin-bottom:10px; color:var(--navy-900); }
.product-extension p { color:#65738a; }
.product-extension .tag-row { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.product-extension .tag-row span { padding:7px 10px; border-radius:999px; background:#f2f5fa; color:#41516d; font-size:.76rem; font-weight:760; }
.product-extension .btn-link { align-self:flex-start; margin-top:auto; padding-top:22px; }
.icon-box-whatsapp { background: #eaf8f1; color: #159b68; box-shadow: none; }
.icon-box-whatsapp img { width: 25px; height: 25px; }

/* Testimonials remain absent in production until verified feedback is configured. */
.testimonial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.testimonial-card { padding:28px; border:1px solid var(--line); border-radius:22px; background:#fff; box-shadow:0 12px 32px rgba(4,16,68,.06); }
.testimonial-stars { color:#f0a52a; letter-spacing:.12em; }
.testimonial-card blockquote { margin:18px 0 24px; color:#44536b; font-size:1rem; line-height:1.68; }
.testimonial-card footer { display:grid; gap:4px; }
.testimonial-card footer strong { color:var(--navy-900); }
.testimonial-card footer span { color:#77859b; font-size:.8rem; }
.testimonial-card { position:relative; }
.demo-data-badge { position:absolute; top:16px; right:16px; padding:6px 9px; border-radius:999px; color:#5b43e8; background:#f0ecff; font-size:.64rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.testimonial-avatar { width:48px; height:48px; margin-bottom:16px; border-radius:50%; object-fit:cover; }
.testimonial-demo { background:#fffaf0; }
.availability-dot { display:inline-block; width:8px; height:8px; margin-right:9px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px rgba(32,180,134,.11); vertical-align:middle; }

/* Service packages */
.pricing-section { scroll-margin-top:calc(var(--header-h) + 20px); overflow:hidden; }
.package-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; align-items:stretch; }
.package-card { position:relative; display:flex; flex-direction:column; min-width:0; min-height:100%; padding:28px; border:1px solid var(--line); border-radius:26px; background:#fff; box-shadow:0 12px 34px rgba(8,20,49,.055); transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; overflow:hidden; }
.package-card::before { content:""; position:absolute; inset:0 0 auto; height:4px; background:linear-gradient(90deg,#6d4aff,#12c8f4); opacity:.2; }
.package-card:hover { transform:translateY(-6px); border-color:#bfcae0; box-shadow:0 26px 60px rgba(8,20,49,.12); }
.package-card.featured { border-color:rgba(109,74,255,.48); box-shadow:0 24px 60px rgba(72,57,196,.13); }
.package-card.featured::before { opacity:1; }
.package-card.custom-package { background:linear-gradient(155deg,#ffffff,#f6f3ff); border-color:#cfc4ff; }
.package-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:20px; }
.package-badge { align-self:flex-start; padding:7px 10px; border-radius:999px; color:#5b43e8; background:#f0ecff; font-size:.66rem; font-weight:850; text-transform:uppercase; letter-spacing:.08em; }
.package-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 auto; border-radius:12px; color:#fff; background:var(--gradient); box-shadow:0 10px 24px rgba(73,78,237,.2); }
.package-icon svg { width:19px; height:19px; }
.package-card h3 { min-height:2.2em; font-size:1.38rem; color:var(--navy-900); }
.package-best { min-height:5.2em; margin-top:12px; color:#66758c; font-size:.84rem; line-height:1.5; }
.package-best strong { color:#34435b; }
.package-price { display:grid; align-content:start; min-height:82px; margin:22px 0 18px; color:var(--navy-900); }
.package-price span { font-size:1.22rem; line-height:1.25; font-weight:900; letter-spacing:-.025em; }
.package-price small { margin-top:5px; color:#6b7890; font-size:.76rem; font-weight:780; }
.package-list { display:grid; gap:11px; margin:0 0 22px; padding:0; list-style:none; }
.package-list li { display:grid; grid-template-columns:20px 1fr; gap:10px; color:#4f5f78; font-size:.91rem; line-height:1.45; }
.package-list li::before { content:"✓"; width:20px; height:20px; display:grid; place-items:center; border-radius:6px; color:#fff; background:linear-gradient(145deg,#6d4aff,#12c8f4); font-size:.7rem; font-weight:900; }
.package-details { margin:-2px 0 20px; border-top:1px solid #e6ebf3; border-bottom:1px solid #e6ebf3; }
.package-details summary { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 0; color:#4e40cf; font-size:.82rem; font-weight:850; cursor:pointer; list-style:none; }
.package-details summary::-webkit-details-marker { display:none; }
.package-details summary::after { content:"+"; font-size:1.1rem; }
.package-details[open] summary::after { content:"−"; }
.package-details .package-list { padding:2px 0 16px; margin:0; }
.package-note { margin-top:auto; padding-top:4px; color:#6b7890; font-size:.82rem; line-height:1.5; }
.package-card .btn { margin-top:22px; width:100%; }
.package-card .package-details + .btn, .package-card .package-list + .btn { margin-top:auto; }
.package-disclaimer { max-width:1020px; margin:26px auto 0; padding:17px 20px; border:1px solid #dce4ef; border-radius:16px; background:rgba(248,250,253,.9); color:#607087; text-align:center; font-size:.84rem; line-height:1.6; }
.package-disclaimer strong { color:#34435b; }
.package-disclaimer span { display:inline; }

.custom-scope-section { padding:76px 0; color:#fff; background:radial-gradient(circle at 84% 10%,rgba(0,195,251,.2),transparent 30%),linear-gradient(135deg,var(--navy-950),#11145f 55%,#064970); }
.custom-scope-panel { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:26px; align-items:center; }
.custom-scope-panel .eyebrow { color:#c7d4ef; margin-bottom:12px; }
.custom-scope-panel h2 { font-size:clamp(1.8rem,3vw,2.8rem); }
.custom-scope-panel p { max-width:760px; margin-top:12px; color:#c3cee3; }
.custom-scope-icon { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; background:var(--gradient); box-shadow:var(--shadow-glow); }
.custom-scope-icon svg { width:30px; height:30px; }

.commerce-ecosystem-section { background:linear-gradient(180deg,#fff,#f4f7ff); }
.commerce-ecosystem-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.ecosystem-card { display:flex; flex-direction:column; padding:34px; border:1px solid #d9e2f0; border-radius:28px; background:#fff; box-shadow:var(--shadow-sm); }
.ecosystem-card-dark { color:#fff; border-color:rgba(255,255,255,.12); background:radial-gradient(circle at 90% 0,rgba(0,195,251,.18),transparent 34%),linear-gradient(145deg,var(--navy-950),var(--navy-800)); box-shadow:var(--shadow-md); }
.ecosystem-card .eyebrow { margin:22px 0 12px; }
.ecosystem-card-dark .eyebrow { color:#b9c7e1; }
.ecosystem-card h3 { font-size:clamp(1.7rem,2.8vw,2.35rem); color:var(--navy-900); }
.ecosystem-card-dark h3 { color:#fff; }
.ecosystem-card > p { margin-top:14px; color:#5c6b82; }
.ecosystem-card-dark > p { color:#c4cfe3; }
.ecosystem-card .tag-row { display:flex; flex-wrap:wrap; gap:8px; margin:22px 0; }
.ecosystem-card .tag-row span { padding:7px 10px; border-radius:999px; color:#41516d; background:#eef3fa; font-size:.73rem; font-weight:780; }
.ecosystem-card-dark .tag-row span { color:#dce8ff; background:rgba(255,255,255,.08); }
.ecosystem-note { margin-top:auto; padding:15px 16px; border-radius:15px; color:#596980; background:#f6f8fc; font-size:.82rem; line-height:1.55; }
.ecosystem-card-dark .ecosystem-note { color:#c7d3e9; background:rgba(255,255,255,.07); }
.ecosystem-card .btn { align-self:flex-start; margin-top:22px; }

.form-prefill-note { margin-bottom:24px; padding:15px 17px; border:1px solid #cfc4ff; border-radius:15px; color:#4d3ed3; background:#f5f2ff; font-size:.88rem; }
.package-selection input[readonly] { color:#251b78; border-color:#cfc4ff; background:#f7f5ff; font-weight:800; }
.online-only-note { margin-top:18px; padding:14px 16px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(255,255,255,.07); color:#dce7fb; font-size:.88rem; line-height:1.55; }

/* Responsive */
@media (max-width: 1080px) {
  .brand-logo-frame { width:190px; }
  .desktop-nav { gap: 13px; }
  .desktop-nav > a, .nav-service-trigger { font-size: .84rem; }
  .header-cta { display: none; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .product-extension-grid { grid-template-columns: repeat(2,1fr); }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: inline-block; }
  .mobile-nav { position: fixed; z-index: 99; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior:contain; padding: 16px 20px 26px; border-bottom: 1px solid rgba(255,255,255,.1); background:radial-gradient(circle at 100% 0,rgba(0,195,251,.14),transparent 30%),linear-gradient(145deg,#01051b,#071445); box-shadow: var(--shadow-md); transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .24s ease,opacity .24s ease; display: block; }
  .mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-nav a { display: flex; min-height: 46px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); color: #dbe5f7; font-weight: 740; }
  .mobile-nav .mobile-cta { margin-top: 14px; justify-content: center; border-bottom: 0; color: #fff; }
  .mobile-nav-brand { display:flex; align-items:center; gap:12px; padding:0 0 14px; margin-bottom:4px; border-bottom:1px solid rgba(255,255,255,.1); }
  .mobile-nav-brand img { width:42px; height:42px; border-radius:11px; }
  .mobile-nav-brand strong,.mobile-nav-brand small { display:block; }
  .mobile-nav-brand strong { color:#fff; }
  .mobile-nav-brand small { color:#93a6c8; font-size:.68rem; }
  .mobile-services { display:block; color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
  .mobile-services summary { display:flex; min-height:48px; align-items:center; justify-content:space-between; color:#fff; font-weight:780; cursor:pointer; list-style:none; }
  .mobile-services summary::-webkit-details-marker { display:none; }
  .mobile-services summary span { color:var(--cyan); font-size:1.4rem; transition:transform .2s ease; }
  .mobile-services[open] summary span { transform:rotate(45deg); }
  .mobile-services-panel { padding:0 0 10px 12px; }
  .mobile-services-panel .mobile-all-services { color:#fff; }
  .mobile-service-group { padding:12px 0 5px; }
  .mobile-service-group strong { display:block; margin-bottom:4px; color:#83dfff; font-size:.68rem; letter-spacing:.11em; text-transform:uppercase; }
  .mobile-service-group a { min-height:38px; color:#aebbd2; font-size:.78rem; border-bottom-color:rgba(255,255,255,.055); }
  .hero { padding: 76px 0 70px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { min-height: 500px; }
  .dashboard { max-width: 540px; transform: none; }
  .floating-card.a { right: 2%; }
  .floating-card.b { left: 2%; }
  .section { padding: 82px 0; }
  .section-head.row { grid-template-columns: 1fr; }
  .section-head.row .lead { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .software-showcase, .service-intro, .about-split, .contact-layout { grid-template-columns: 1fr; }
  .package-grid, .product-extension-grid, .testimonial-grid { grid-template-columns:1fr 1fr; }
  .contact-panel { position: relative; top: auto; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .platform-cloud { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .portfolio-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .custom-scope-panel { grid-template-columns:auto minmax(0,1fr); }
  .custom-scope-panel .btn { grid-column:1 / -1; justify-self:start; }
  .commerce-ecosystem-grid { grid-template-columns:1fr; }
}

@media (max-width: 640px) {
  .container, .container.narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand-logo-frame { width:174px; }
  h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .hero { padding-top: 60px; }
  .hero .lead { font-size: 1rem; }
  .hero-visual { min-height: 410px; }
  .dashboard { padding: 12px; border-radius: 20px; }
  .dashboard-body { grid-template-columns: 88px 1fr; gap: 8px; }
  .dash-side { padding: 8px; }
  .dash-side span { padding: 7px 5px; font-size: .55rem; }
  .dash-metrics { gap: 5px; }
  .metric { min-height: 70px; padding: 8px; }
  .metric small { font-size: .51rem; margin-bottom: 8px; }
  .metric strong { font-size: .6rem; }
  .workflow-panel { padding: 10px; }
  .flow-step { font-size: .48rem; padding: 8px 2px; }
  .floating-card.a { width: 145px; top: 25px; right: -5px; }
  .floating-card.b { width: 155px; bottom: 25px; left: -3px; }
  .floating-card.light-brand-card { width:190px; }
  .floating-card.light-brand-card > img { width:34px; height:34px; }
  .grid-2, .grid-3, .grid-4, .solution-stack, .outcome-grid, .industry-grid, .blog-grid, .package-grid, .product-extension-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-sm { padding: 54px 0; }
  .section-head { margin-bottom: 34px; }
  .card, .software-copy, .contact-form, .contact-panel { padding: 22px; }
  .page-hero { padding: 60px 0 54px; }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 3.8rem); }
  .portfolio-visual { padding: 18px; min-height: 320px; }
  .portfolio-copy { padding: 28px 22px; }
  .cta-band { padding: 30px 22px; border-radius: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-top { padding-top: 58px; }
  .footer-identity { align-items:flex-start; flex-direction:column; gap:18px; }
  .footer-identity .brand-logo-frame { width:220px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .platform-cloud { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .logo-pill { min-height:58px; padding:0 12px; font-size:.77rem; }
  .portfolio-category-grid { grid-template-columns:1fr; }
  .whatsapp-fab { right:14px; bottom:14px; min-width:48px; padding:0 13px; }
  .whatsapp-fab span { display:none; }
  .package-card { padding:24px; }
  .package-card h3, .package-best, .package-price { min-height:auto; }
  .package-price { margin:18px 0; }
  .custom-scope-panel { grid-template-columns:1fr; }
  .custom-scope-panel .btn { grid-column:auto; width:100%; }
  .ecosystem-card { padding:26px 22px; }
}

@media (max-width: 390px) {
  .brand-logo-frame { width:158px; }
  .platform-cloud { grid-template-columns:1fr; }
  .footer-links { grid-template-columns:1fr; }
  .process-grid { grid-template-columns:1fr; }
  .floating-card.light-brand-card { width:176px; }
  .hero h1 { font-size:2.3rem; }
  .page-hero h1 { font-size:clamp(2.15rem,11vw,2.6rem); }
  .eyebrow { max-width:100%; line-height:1.45; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
