/* Qubha Infotech - site styles. One file, no framework: fast on a phone, readable by any crawler. */

@font-face { font-family: Poppins; font-style: normal; font-weight: 400 500; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/poppins-800.woff2) format("woff2"); }
/* Arial sized to Poppins, so nothing jumps while the web font loads. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112.5%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }

:root {
  --brand: #1e5bb8;
  --brand-600: #174a99;
  --brand-soft: #eaf1fd;
  --accent: #f58220;
  --accent-600: #dd6b0c;
  --navy: #070f2b;
  --navy-2: #0d1b4a;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f6f8fd;
  --r: 20px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 30px 70px rgba(7, 15, 43, .25);

  /* One colour per area, used for its icon tiles, page hero and highlights. */
  --vision: #7c3aed;
  --digital: #2563eb;
  --iot: #0d9488;
  --hardware: #ea580c;
  --retail: #db2777;
  --hr: #4f46e5;
  --vms: #059669;
  --ptw: #dc2626;
  --fourm: #0284c7;
  --ecn: #c026d3;
  --hh: #d97706;
  --mfi: #0f766e;
  --c: var(--brand);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: Poppins, "Poppins Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
/* Wide on big monitors (up to 1520px of content), with side gutters that grow with the screen. */
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left), min(4vw, 40px)); }
section { padding-block: 96px; position: relative; }
.alt { background: var(--bg-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 12px; font-weight: 800; }
.head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.head--left { margin-inline: 0; text-align: left; }
.grad { background: linear-gradient(90deg, var(--accent), #ffb15c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font: 600 15px/1.2 inherit;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(245, 130, 32, .35); }
.btn-accent:hover { background: var(--accent-600); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 12px 26px rgba(30, 91, 184, .3); }
.btn-brand:hover { background: var(--brand-600); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.16); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c); }
.link svg { width: 16px; height: 16px; transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15,23,42,.06); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 18px; }
.brand img { height: 42px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border-radius: 10px; border: 0; background: none;
  font: inherit; color: inherit; cursor: pointer; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.menu .chev { width: 14px; height: 14px; transition: transform .2s; }
.has-mega:hover .chev, .has-mega.open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 14px; padding: 12px; border-radius: 14px; color: var(--ink); }
.mega a:hover { background: var(--bg-2); }
.mega a b { display: block; font-size: 15px; }
.mega a small { display: block; color: var(--ink-3); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--bg-2); color: var(--ink); cursor: pointer; border-radius: 12px; }
.burger svg { width: 24px; height: 24px; margin: auto; }

/* Phone drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__shade { position: absolute; inset: 0; background: rgba(7,15,43,.55); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer__shade { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; gap: 6px; }
.drawer.open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer__top img { height: 36px; width: auto; }
.drawer a.item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; font-weight: 600; }
.drawer a.item:hover, .drawer a.item[aria-current="page"] { background: var(--bg-2); }
.drawer a.item small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.drawer .label { margin: 12px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.drawer .btns { display: grid; gap: 10px; margin-top: 14px; }

/* ---------- icon tiles ---------- */
.ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff); }
.ico svg { width: 24px; height: 24px; }
.ico--lg { width: 64px; height: 64px; border-radius: 18px; }
.ico--lg svg { width: 32px; height: 32px; }
.ico--solid { color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000)); box-shadow: 0 12px 24px color-mix(in srgb, var(--c) 35%, transparent); }
.c-vision { --c: var(--vision); } .c-digital { --c: var(--digital); } .c-iot { --c: var(--iot); } .c-hardware { --c: var(--hardware); } .c-retail { --c: var(--retail); }
.c-brand { --c: var(--brand); } .c-accent { --c: var(--accent); } .c-hr { --c: var(--hr); } .c-vms { --c: var(--vms); } .c-ptw { --c: var(--ptw); } .c-fourm { --c: var(--fourm); } .c-ecn { --c: var(--ecn); } .c-hh { --c: var(--hh); } .c-mfi { --c: var(--mfi); }

/* ---------- hero pieces shared with the inner pages ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); }
.pill b { background: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.85); }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks svg { width: 18px; height: 18px; color: #6ee7a0; flex: none; }

@keyframes bob { 50% { margin-top: -10px; } }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; overflow: hidden; color: #fff; padding-block: 72px 84px; isolation: isolate;
  background: radial-gradient(800px 460px at 90% -20%, color-mix(in srgb, var(--c) 70%, transparent), transparent 60%),
              radial-gradient(700px 500px at -10% 120%, rgba(30,91,184,.5), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, color-mix(in srgb, var(--c) 45%, var(--navy-2)) 100%); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse at 30% 30%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 15%, transparent 70%); }
.phero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.phero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin-top: 18px; letter-spacing: -.03em; }
.phero .lead { font-size: 18px; color: rgba(255,255,255,.82); margin-top: 18px; max-width: 620px; }
.crumbs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.phero-art { position: relative; aspect-ratio: 1.1; max-width: 460px; width: 100%; margin-inline: auto; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); }
.card { position: relative; padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.card h3 { font-size: 19px; font-weight: 700; margin-top: 18px; }
.card p { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.card .link { margin-top: 16px; }
.card--flat:hover { transform: none; box-shadow: none; }


/* ---------- checklist ---------- */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--c); }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split--rev > :first-child { order: 2; }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-top: 12px; }
.split p.lead2 { color: var(--ink-2); margin-top: 14px; font-size: 16.5px; }
.split .checks { margin-top: 24px; }

/* A styled panel standing in for a photo: gradient, grid, and floating stat chips. */
.visual { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(500px 300px at 80% 0%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
              linear-gradient(150deg, var(--navy), color-mix(in srgb, var(--c) 40%, var(--navy-2)));
  box-shadow: var(--shadow-lg); color: #fff; }
.visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  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: 34px 34px; }
.visual > svg { position: absolute; inset: 12% 10%; width: 80%; height: 76%; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 13px; color: var(--ink);
  background: rgba(255,255,255,.95); box-shadow: 0 16px 30px rgba(0,0,0,.25); animation: bob 7s ease-in-out infinite; }
.chip b { display: block; font-size: 16px; line-height: 1.1; }
.chip small { color: var(--ink-3); font-size: 11.5px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.chip--a { top: 8%; left: 6%; } .chip--b { bottom: 9%; right: 6%; animation-delay: -3s; } .chip--c { top: 44%; right: 4%; animation-delay: -5s; }

/* ---------- stats ---------- */

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 40px; font-weight: 800; color: color-mix(in srgb, var(--c) 18%, #fff);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 45%, transparent); }
.step h3 { font-size: 17px; margin-top: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

/* ---------- logos ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 54px; }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos img:hover { filter: none; opacity: 1; }
.logos span { font-weight: 800; font-size: 20px; letter-spacing: .02em; color: #94a3b8; }

/* ---------- product cards (retail) ---------- */
.product { --c: var(--retail); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-5px); box-shadow: 0 26px 50px color-mix(in srgb, var(--c) 16%, transparent); }
.product__top { position: relative; padding: 26px 26px 22px; color: #fff; isolation: isolate;
  background: radial-gradient(300px 180px at 90% 0%, rgba(255,255,255,.25), transparent 70%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b1437)); }
.product__top .ico { color: var(--c); background: #fff; }
.product__top h3 { font-size: 21px; font-weight: 800; margin-top: 16px; }
.product__top p { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; }
.product__tag { position: absolute; top: 22px; right: 22px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.18); }
.product__body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product__body ul { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); flex: 1; }
.product__body li { display: flex; gap: 8px; }
.product__body li svg { flex: none; width: 18px; height: 18px; color: var(--c); margin-top: 2px; }
.product__body .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.product__body .actions .btn { padding: 11px 16px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 30px; padding: 56px; color: #fff; isolation: isolate; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center;
  background: radial-gradient(500px 300px at 100% 0%, rgba(245,130,32,.45), transparent 70%), radial-gradient(500px 340px at 0% 100%, rgba(124,58,237,.4), transparent 70%),
              linear-gradient(130deg, var(--navy), #13307a); box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
.cta p { color: rgba(255,255,255,.8); margin-top: 12px; }
.cta .btns { display: flex; flex-direction: column; gap: 12px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.contact-card b { display: block; } .contact-card a, .contact-card span { color: var(--ink-2); font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2);
  transition: border-color .15s, background .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--brand); background: #fff; }
.form .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(255,255,255,.75); padding-block: 72px 30px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.foot ul { display: grid; gap: 9px; }
.foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.foot-brand img { width: 44px; height: auto; }
.foot-brand b { font-size: 20px; letter-spacing: .08em; } .foot-brand small { display: block; font-size: 11px; letter-spacing: .4em; color: var(--accent); }
.foot .about { margin-top: 16px; max-width: 360px; }
.foot .certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot .certs li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.foot .certs svg { width: 15px; height: 15px; color: var(--accent); }
.foot .social { display: flex; gap: 10px; margin-top: 18px; }
.foot .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); }
.foot .social a:hover { background: var(--accent); }
.foot .social svg { width: 18px; height: 18px; }
.foot .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: 13px; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 70; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px rgba(37,211,102,.45); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .hs__bg { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .menu { gap: 0; font-size: 14px; }
  .menu > li > a, .menu > li > button { padding: 10px 9px; }
}
@media (max-width: 960px) {
  section { padding-block: 72px; }
  .menu, .nav-cta .btn-line { display: none; }
  .burger { display: grid; }
  .phero .wrap, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split--rev > :first-child { order: 0; }
  .split + .split { margin-top: 72px; }
  .phero-art { max-width: 360px; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 28px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  section { padding-block: 60px; }
  .nav .wrap { height: 68px; }
  .brand img { height: 36px; }
  .nav-cta .btn-accent { padding: 10px 14px; font-size: 13.5px; }
  .head { margin-bottom: 38px; }
  .g2, .g3, .g4, .g5, .steps { grid-template-columns: 1fr; }
  .hero-cta .btn, .phero .hero-cta .btn { flex: 1 1 100%; }
  .card { padding: 24px 22px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .foot .cols { grid-template-columns: 1fr; gap: 30px; }
  .cta { border-radius: 24px; padding: 32px 22px; }
  .visual { border-radius: 22px; }
}

/* ======================= product pages ======================= */
.phero-shot { position: relative; }
.device { position: relative; padding-bottom: 30px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.15); }
.phero .browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 10px; flex: 1; max-width: 260px; font-size: 11px; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 3px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.phone { position: absolute; width: 28%; max-width: 170px; left: -5%; bottom: 0; border-radius: 26px; padding: 7px; background: #0b1020; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 20px; }

/* Drawn app window (products without screenshots yet) */
.appmock { --c: var(--brand); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.15); color: var(--ink);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.appmock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1f6; font-size: 11px; color: var(--ink-3); }
.appmock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .appmock__bar i:nth-child(2) { background: #febc2e; } .appmock__bar i:nth-child(3) { background: #28c840; }
.appmock__bar span { margin-left: 8px; }
.appmock__body { display: grid; grid-template-columns: 34% 1fr; min-height: 300px; }
.appmock__side { padding: 12px 10px; background: color-mix(in srgb, var(--c) 6%, #f8fafc); border-right: 1px solid var(--line); display: grid; align-content: start; gap: 4px; font-size: 11.5px; }
.appmock__side li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; color: var(--ink-2); }
.appmock__side li svg { width: 15px; height: 15px; flex: none; }
.appmock__side li.on { color: #fff; background: var(--c); }
.appmock__side .appmock__logo { color: var(--c); font-size: 12.5px; margin-bottom: 6px; }
.appmock__side .appmock__logo svg { width: 20px; height: 20px; }
.appmock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.appmock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.appmock__tiles span { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); }
.appmock__tiles small { display: block; font-size: 9.5px; color: var(--ink-3); }
.appmock__tiles b { font-size: 16px; color: var(--c); }
.appmock__chart { display: flex; align-items: flex-end; gap: 5px; height: 92px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.appmock__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }
.appmock__rows { display: grid; gap: 7px; }
.appmock__rows span { display: flex; align-items: center; gap: 8px; }
.appmock__rows i { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--c) 15%, #fff); flex: none; }
.appmock__rows em { height: 8px; border-radius: 99px; background: #e8edf5; }

.who-band { padding-block: 22px; background: #fff; border-bottom: 1px solid var(--line); }
.who-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.who-band span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.who-band b { padding: 7px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c) 20%, transparent); }

.tour { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.tour__item { margin: 0; }
.tour__item:first-child { grid-column: 1 / -1; }
.tour__item:first-child .browser { max-width: 940px; margin-inline: auto; }
.tour figcaption { text-align: center; margin-top: 12px; font-weight: 600; color: var(--ink-2); }
.tour .browser { box-shadow: var(--shadow); border: 1px solid var(--line); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.plan--hot { border: 2px solid var(--c); box-shadow: 0 26px 50px color-mix(in srgb, var(--c) 18%, transparent); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); white-space: nowrap; }
.plan h3 { font-size: 20px; }
.plan__who { color: var(--ink-2); font-size: 14px; margin-top: 4px; min-height: 42px; }
.plan__price { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan__price span { color: var(--ink-3); }
.plan small { color: var(--ink-3); }
.plan .btn { margin-top: 22px; }
.plan-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px; border-radius: 26px;
  background: color-mix(in srgb, var(--c) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c) 20%, transparent); }
.plan-ask h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 10px; }
.plan-ask p { color: var(--ink-2); margin-top: 8px; max-width: 640px; }

/* Catalogue lists (digitalization products) */
.cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat__item { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.cat__item h3 { font-size: 16px; }
.cat__item p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.cat-group + .cat-group { margin-top: 56px; }
.cat-group > h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.cat-group > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 8px; }

@media (max-width: 960px) {
  .tour, .cat { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .phero .browser, .appmock { transform: none; }
  .phone { left: auto; right: -2%; }
}
@media (max-width: 640px) {
  .tour, .cat { grid-template-columns: 1fr; }
  .tour__item:first-child { grid-column: auto; }
  .appmock__body { grid-template-columns: 1fr; }
  .appmock__side { display: none; }
  .plan-ask { padding: 26px 22px; }
  .phone { width: 30%; }
}

/* phone refinements */
.pill b { white-space: nowrap; }
@media (max-width: 640px) {
  .pill { font-size: 12px; }
  .logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; justify-items: center; }
  .logos img { height: 30px; max-width: 100%; object-fit: contain; }
  .logos img:last-child { grid-column: 1 / -1; }
}

/* long-form text (privacy) */
.prose h2 { font-size: 22px; margin: 34px 0 10px; }
.prose p { color: var(--ink-2); margin-top: 10px; }
.prose a { color: var(--brand); font-weight: 600; }

/* ---------- technology stack (home) ---------- */
.stack { display: grid; gap: 14px; max-width: 1240px; margin: 0 auto; }
.layer { position: relative; display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); transition: transform .2s, box-shadow .2s; }
.layer:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.layer__n { font-size: 28px; font-weight: 800; color: color-mix(in srgb, var(--c) 30%, #fff); -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 55%, transparent); }
.layer h3 { font-size: 18px; }
.layer p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 300px; }
.tags li { padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); white-space: nowrap; }
.techs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.techs li { padding: 10px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px; color: var(--ink); background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(15,23,42,.04); transition: transform .15s, border-color .15s, color .15s; }
.techs li:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
@media (max-width: 960px) {
  .layer { grid-template-columns: auto 1fr; }
  .layer__n { display: none; }
  .tags { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}
@media (max-width: 640px) {
  .layer { padding: 18px; gap: 12px 14px; }
  .techs li { padding: 8px 13px; font-size: 13px; }
}

/* enquiry form */
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-status { font-weight: 600; font-size: 14.5px; min-height: 1px; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.form button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) { .form .btns .btn { flex: 1 1 100%; } }

/* ======================= photos ======================= */
.photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; aspect-ratio: 4 / 3; background: var(--navy-2); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.photo:hover > img { transform: scale(1.04); }
.photo::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(7,15,43,.55) 100%); }
.photo .chip { z-index: 2; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.phero .photo { box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); }

/* A photo with a product screen floating over its corner. */
.combo { position: relative; padding: 0 0 40px 0; }
.combo > .photo { width: 88%; }
.combo > .ui, .combo > .uiphone, .combo > .uilabel { position: absolute; right: 0; bottom: 0; width: 62%; }
.combo > .uiphone { width: 36%; max-width: 230px; }
.combo > .uilabel { width: 46%; max-width: 300px; }

/* Full-width photo banner */
.photo-band { position: relative; overflow: hidden; color: #fff; padding-block: 120px; isolation: isolate; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,15,43,.94) 0%, rgba(7,15,43,.8) 45%, rgba(19,48,122,.35) 100%); }
.photo-band h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; max-width: 760px; }
.photo-band p { color: rgba(255,255,255,.82); max-width: 640px; margin-top: 16px; font-size: 17px; }
.photo-band .hero-cta { margin-top: 30px; }

/* Industry cards with photos */
.icard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 26px; border-radius: 24px;
  color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.icard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.icard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,43,.05) 20%, rgba(7,15,43,.92) 100%); }
.icard:hover > img { transform: scale(1.06); }
.icard h3 { font-size: 20px; }
.icard p { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 6px; }
.icard .ico { margin-bottom: 14px; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }

/* Project stories */
.story { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__tag { position: absolute; left: 16px; top: 16px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); }
.story__body { padding: 22px 24px 26px; display: grid; gap: 12px; }
.story__body h3 { font-size: 19px; }
.story__body dl { margin: 0; display: grid; gap: 10px; }
.story__body dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.story__body dd { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; }

/* Trust points */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.trust > div { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust > div:nth-child(3n) { border-right: 0; }
.trust > div:nth-last-child(-n+3) { border-bottom: 0; }
.trust h3 { font-size: 17px; margin-top: 14px; }
.trust p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

/* ======================= product-screen mock-ups ======================= */
.ui { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(15,23,42,.08); box-shadow: 0 30px 60px rgba(7,15,43,.28); font-size: 12px; color: var(--ink); }
.ui__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f6; font-size: 11px; color: var(--ink-3); }
.ui__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; } .ui__bar i:nth-child(2) { background: #febc2e; } .ui__bar i:nth-child(3) { background: #28c840; }
.ui__bar span { margin-left: 8px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui__live { color: #16a34a; font-size: 10.5px; letter-spacing: .05em; }
.ui--dark { background: #0b1222; border-color: rgba(255,255,255,.08); color: #e2e8f0; }
.ui--dark .ui__bar { background: #111a30; color: #94a3b8; }

.uiv { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; padding: 10px; }
.uiv__cam { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid #1e293b; }
.uiv__part { display: block; width: 100%; height: auto; }
.uiv__verdict { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 11px; color: #fff; background: #dc2626; }
.uiv__side { display: grid; gap: 7px; align-content: start; }
.uiv__stat { padding: 7px 10px; border-radius: 9px; background: #111a30; }
.uiv__stat small { display: block; color: #94a3b8; font-size: 10px; } .uiv__stat b { font-size: 16px; }
.uiv__stat.ok b { color: #4ade80; } .uiv__stat.ng b { color: #f87171; }
.uiv__checks { display: grid; gap: 3px; font-size: 10.5px; }
.uiv__checks li { display: flex; justify-content: space-between; padding: 3px 8px; border-radius: 6px; background: #111a30; }
.uiv__checks .ok b { color: #4ade80; } .uiv__checks .ng { background: rgba(220,38,38,.18); } .uiv__checks .ng b { color: #f87171; }
.uiv__t { color: #64748b; font-size: 10px; }

.uio { padding: 12px; display: grid; gap: 10px; }
.uio__gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.uio__g { position: relative; display: grid; justify-items: center; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line); }
.uio__g svg { width: 62px; height: 62px; }
.uio__g b { position: absolute; top: 28px; font-size: 13px; }
.uio__g small { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.uio__machines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.uio__m { display: grid; padding: 6px 8px; border-radius: 9px; border-left: 4px solid #16a34a; background: #f0fdf4; }
.uio__m b { font-size: 11px; } .uio__m small { font-size: 9.5px; color: var(--ink-3); } .uio__m em { font-style: normal; font-weight: 800; font-size: 13px; }
.uio__m--idle { border-color: #d97706; background: #fffbeb; } .uio__m--down { border-color: #dc2626; background: #fef2f2; } .uio__m--setup { border-color: #2563eb; background: #eff6ff; }
.uio__chart { position: relative; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.uio__chart small { font-size: 10px; color: var(--ink-3); }
.uio__bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: 6px; }
.uio__bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #2563eb, #93c5fd); }
.uio__target { position: absolute; left: 10px; right: 10px; bottom: 58px; border-top: 2px dashed #f58220; }

.ui--tv { border-radius: 14px; border: 8px solid #0f172a; }
.uia { padding: 12px; display: grid; gap: 8px; }
.uia__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #111a30; border-left: 5px solid #22c55e; }
.uia__row small { display: block; color: #94a3b8; font-size: 9.5px; }
.uia__row b { font-size: 15px; }
.uia__row--warn { border-color: #f59e0b; }
.uia__pct { font-size: 20px; font-weight: 800; color: #4ade80; text-align: right; }
.uia__row--warn .uia__pct { color: #fbbf24; }
.uia__alert { padding: 8px 12px; border-radius: 9px; font-size: 11px; font-weight: 600; color: #fde68a; background: rgba(245,158,11,.15); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .55; } }

.uiphone { padding: 14px 12px; border-radius: 30px; background: #fff; border: 8px solid #0f172a; box-shadow: 0 30px 60px rgba(7,15,43,.35); font-size: 11.5px; display: grid; gap: 6px; }
.uiphone__top { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 6px; }
.uiphone__top b { font-size: 14px; } .uiphone__top small { color: var(--ink-3); font-size: 10px; }
.uiphone__row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: #f8fafc; }
.uiphone__row > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.uiphone__row b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .uiphone__row small { font-size: 9.5px; color: var(--ink-3); }
.uiphone__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.uiphone__dot--ok { background: #2563eb; } .uiphone__dot--warn { background: #f59e0b; } .uiphone__dot--bad { background: #dc2626; } .uiphone__dot--done { background: #16a34a; }
.uiphone__tag { font-style: normal; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.uiphone__tag--ok { color: #1d4ed8; background: #dbeafe; } .uiphone__tag--warn { color: #b45309; background: #fef3c7; } .uiphone__tag--bad { color: #b91c1c; background: #fee2e2; } .uiphone__tag--done { color: #15803d; background: #dcfce7; }
.uiphone__btn { margin-top: 4px; padding: 9px; border-radius: 10px; text-align: center; font-weight: 700; color: #fff; background: var(--digital); }

.uilabel { padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 24px 50px rgba(7,15,43,.3); font-family: ui-monospace, Consolas, monospace; color: #0f172a; transform: rotate(-3deg); }
.uilabel__head { display: flex; justify-content: space-between; border-bottom: 2px solid #0f172a; padding-bottom: 6px; font-size: 11px; }
.uilabel__head span { padding: 0 6px; background: #0f172a; color: #fff; }
.uilabel__body { display: grid; grid-template-columns: 34% 1fr; gap: 10px; padding: 10px 0; align-items: center; }
.uilabel__dm svg { width: 100%; height: auto; }
.uilabel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; font-size: 10.5px; }
.uilabel dt { color: #64748b; } .uilabel dd { margin: 0; font-weight: 700; }
.uilabel__bc svg { width: 100%; height: 38px; display: block; }
.uilabel__bc small { display: block; text-align: center; font-size: 9px; margin-top: 3px; }

@media (max-width: 960px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .trust > div:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 640px) {
  .photo, .icard { border-radius: 20px; }
  .combo > .photo { width: 100%; }
  .combo > .ui { position: relative; width: 100%; margin-top: -40px; }
  .combo > .uiphone { width: 46%; right: 4%; }
  .combo > .uilabel { width: 62%; right: 2%; }
  .photo-band { padding-block: 80px; }
  .trust { grid-template-columns: 1fr; }
  .trust > div { border-right: 0 !important; }
  .uio__machines { grid-template-columns: repeat(2, 1fr); }
  .uio__gauges { grid-template-columns: repeat(2, 1fr); }
  .uiv { grid-template-columns: 1fr; }
  .icard { min-height: 280px; }
}

/* combo proportions */
.combo { padding-bottom: 110px; }
.combo > .photo { width: 90%; }
.combo > .ui { width: 58%; right: -2%; }
.phero .combo > .ui { width: 60%; }
@media (max-width: 960px) { .combo > .ui { right: 0; } }
@media (max-width: 640px) { .combo { padding-bottom: 0; } .combo > .ui { width: 100%; right: 0; } }
/* vision HMI: camera on top, counters beneath */
.uiv { grid-template-columns: 1fr; }
.uiv__side { grid-template-columns: repeat(3, 1fr); }
.uiv__checks { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
.uiv__t { grid-column: 1 / -1; }
.phero .combo > .ui--dark { width: 64%; }
.uiphone, .uilabel { color: var(--ink); }
.phero .combo > .uiphone { width: 40%; max-width: 250px; top: -6%; bottom: auto; }
.uiphone__row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .phero .combo > .uiphone { position: relative; width: 70%; top: auto; margin: -60px 0 0 auto; } }
.uiphone__row b { white-space: normal; line-height: 1.25; }
.uiphone__top { flex-direction: column; align-items: flex-start; gap: 2px; }

.stat { padding: 26px; border-radius: 20px; text-align: center; background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(30px, 4vw, 42px); font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.stat span { color: var(--ink-2); font-size: 14px; }

/* ================= Home page: editorial, photo-led layout ================= */

/* Headings with an accent phrase (<em>), as in the company profile deck: same font, brand orange. */
.h-ed { font-weight: 800; letter-spacing: -.025em; }
.h-ed em, .hs h1 em, .hs__title em { font-style: normal; color: var(--accent); }
.hs h1 em, .hs__title em, .photo-band .h-ed em, .dark .h-ed em, .cta .h-ed em { color: #ff9a3d; }

/* Hero carousel: full-bleed photos, copy on a navy fade, process strip underneath. */
.hs { position: relative; overflow: hidden; color: #fff; padding: 0; background: var(--navy); isolation: isolate; }
.hs__slides { display: grid; }
.hs__slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: clamp(600px, calc(100svh - 78px), 780px); padding-block: 64px 170px;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; isolation: isolate; }
.hs__slide > .wrap { width: 100%; }
.hs__slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.hs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.hs__slide.is-on .hs__bg { animation: kenburns 9s ease-out forwards; }
.hs__slide::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,15,43,.96) 0%, rgba(7,15,43,.86) 38%, rgba(7,15,43,.35) 72%, rgba(7,15,43,.15) 100%),
              linear-gradient(0deg, rgba(7,15,43,.95) 0%, rgba(7,15,43,0) 42%); }
.hs__copy { max-width: 660px; }
.hs__copy > * { transform: translateY(18px); opacity: 0; transition: transform .8s ease, opacity .8s ease; }
.is-on .hs__copy > * { transform: none; opacity: 1; }
.is-on .hs__copy > :nth-child(2) { transition-delay: .12s; } .is-on .hs__copy > :nth-child(3) { transition-delay: .24s; } .is-on .hs__copy > :nth-child(4) { transition-delay: .36s; }
.hs h1, .hs__title { font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; margin-top: 22px; letter-spacing: -.03em; line-height: 1.08; }
.hs .lead { font-size: 18px; color: rgba(255,255,255,.82); margin-top: 20px; max-width: 580px; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }

.hs__foot { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.flow { display: flex; align-items: flex-start; margin: 0; padding: 16px 18px; list-style: none; border-radius: 20px;
  background: rgba(7,15,43,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.25; color: rgba(255,255,255,.88); }
.flow li + li::before { content: ""; position: absolute; top: 23px; right: calc(50% + 32px); width: calc(100% - 64px); height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), var(--accent)); }
.flow li + li::after { content: ""; position: absolute; top: 19px; right: calc(50% + 28px); border: 5px solid transparent; border-left: 7px solid var(--accent); border-right: 0; }
.flow__i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #1e5bb8, #0d1b4a);
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.flow__i svg { width: 22px; height: 22px; }
.hs__ctrl { display: flex; align-items: center; gap: 14px; flex: none; }
.hs__arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); transition: background .2s; }
.hs__arrow:hover { background: rgba(255,255,255,.2); }
.hs__arrow svg { width: 20px; height: 20px; }
.hs__arrow--prev svg { transform: rotate(180deg); }
.hs__dots { display: flex; gap: 8px; }
.hs__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; cursor: pointer; background: rgba(255,255,255,.4); transition: width .3s, background .3s; }
.hs__dots button[aria-current="true"] { width: 30px; background: var(--accent); }

/* Numbers strip right under the hero. */
.kpis { padding: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.kpis__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.kpis__row > div { padding: 34px 16px; text-align: center; border-right: 1px solid var(--line); }
.kpis__row > div:last-child { border-right: 0; }
.kpis b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy-2); }
.kpis span { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.clients { border-bottom: 1px solid var(--line); }
.clients__t { text-align: center; color: var(--ink-3); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; }

/* About split with a photo and a floating badge. */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-split h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; line-height: 1.12; }
.about-split .lead2 { color: var(--ink-2); margin-top: 16px; font-size: 16.5px; }
.about-split .checks { margin-top: 24px; }
.about__media { position: relative; padding: 0 0 34px 34px; isolation: isolate; }
.about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 62%; border-radius: 26px; z-index: -1;
  background: radial-gradient(var(--brand) 1.6px, transparent 1.8px) 0 0 / 16px 16px; opacity: .3; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow-lg); }
.about__badge { position: absolute; right: -18px; bottom: 64px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 18px;
  background: #fff; box-shadow: 0 20px 40px rgba(7,15,43,.18); }
.about__badge b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.about__badge span { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }

/* Solution cards with a photo on top. */
.mcard { display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s; }
.mcard:hover { transform: translateY(-6px); box-shadow: 0 26px 50px color-mix(in srgb, var(--c) 20%, transparent); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); }
.mcard__img { position: relative; aspect-ratio: 16 / 11; }
.mcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 21px 21px 0 0; }
.mcard__img .ico { position: absolute; left: 22px; bottom: -24px; z-index: 1; width: 52px; height: 52px; border-radius: 16px; border: 3px solid #fff; }
.mcard__body { display: flex; flex-direction: column; flex: 1; padding: 38px 22px 24px; }
.mcard__k { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.mcard h3 { font-size: 19px; font-weight: 700; margin-top: 6px; }
.mcard p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.mcard ul { display: grid; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); flex: 1; align-content: start; }
.mcard li { display: flex; gap: 8px; }
.mcard li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--c); }
.mcard .link { margin-top: 18px; }

/* Dark band for the deployments, as Larch does for its case studies. */
.dark { color: #fff; background: radial-gradient(900px 500px at 100% 0%, rgba(30,91,184,.35), transparent 60%), var(--navy); }
.dark .eyebrow { color: #93b4ff; }
.dark .head p { color: rgba(255,255,255,.72); }
.dark .story { border-color: transparent; color: var(--ink); }

@media (max-width: 1100px) {
  .flow li { width: 80px; font-size: 11px; }
  .flow li + li::before { right: calc(50% + 30px); width: calc(100% - 60px); }
}
@media (max-width: 960px) {
  .hs__slide { min-height: 0; padding-block: 64px 230px; }
  .hs__foot { flex-direction: column; align-items: stretch; gap: 16px; bottom: 22px; }
  .flow { overflow-x: auto; scrollbar-width: none; }
  .flow::-webkit-scrollbar { display: none; }
  .flow li { flex: none; }
  .hs__ctrl { justify-content: center; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 560px; }
  .about__badge { right: 12px; }
  .kpis__row { grid-template-columns: repeat(2, 1fr); }
  .kpis__row > div:nth-child(2) { border-right: 0; }
  .kpis__row > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hs__slide { padding-block: 44px 220px; }
  .hs h1, .hs__title { font-size: 34px; }
  .hs .lead { font-size: 16px; }
  .hs__slide::before { background: linear-gradient(180deg, rgba(7,15,43,.8) 0%, rgba(7,15,43,.88) 60%, rgba(7,15,43,.97) 100%); }
  .flow { padding: 12px; border-radius: 16px; }
  .kpis__row > div { padding: 24px 10px; }
  .about__media { padding: 0 0 22px 22px; }
  .about__badge { padding: 12px 14px; bottom: 40px; }
  .about__badge b { font-size: 32px; }
}

/* Client logo wall (16 logos from the company profile). */
.logowall { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.logowall > div { display: grid; place-items: center; height: 104px; padding: 18px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logowall img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s, transform .25s; }
.logowall > div:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.clients__note { margin-top: 14px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* Three solution families with their modules. */
.fam { display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); padding: 26px 24px; }
.fam__top { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fam__top .ico { flex: none; }
.fam h3 { font-size: 20px; font-weight: 800; }
.fam__top p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.fam ul { display: grid; gap: 0; margin-top: 6px; }
.fam li { display: grid; gap: 1px; padding: 11px 0 11px 18px; position: relative; border-bottom: 1px dashed var(--line); }
.fam li:last-child { border-bottom: 0; }
.fam li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.fam li b { font-size: 14.5px; font-weight: 600; }
.fam li span { font-size: 13px; color: var(--ink-3); }
.fam-cta { display: flex; justify-content: center; margin-top: 36px; }

.techs--brands li { font-weight: 700; color: var(--navy-2); }

/* Industries: six tiles; the last has no photo. */
.inds .icard { min-height: 300px; }
.icard--plain { background: linear-gradient(150deg, var(--brand), var(--navy-2)); }
.icard--plain::before { background: radial-gradient(400px 260px at 100% 0%, rgba(245,130,32,.35), transparent 60%); }

/* Why Qubha: eight numbered points. */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.why > div { position: relative; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.why > div:nth-child(4n) { border-right: 0; }
.why > div:nth-last-child(-n+4) { border-bottom: 0; }
.why > div:hover { background: var(--bg-2); }
.why__n { position: absolute; right: 22px; top: 22px; font-size: 26px; font-weight: 800; color: var(--line); letter-spacing: -.02em; }
.why .ico { color: var(--accent); background: #fff1e6; }
.why h3 { font-size: 16.5px; margin-top: 16px; }
.why p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

/* Five-stage delivery model + handover list. */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.stages li { position: relative; padding: 24px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.stages li::after { content: ""; position: absolute; right: -13px; top: 34px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.stages li:last-child::after { display: none; }
.stages span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.stages h3 { font-size: 19px; margin-top: 6px; }
.stages p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.handover { margin-top: 24px; padding: 26px 28px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, var(--navy), var(--navy-2) 60%, #13307a); }
.handover h3 { font-size: 17px; }
.handover ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.handover li { display: flex; gap: 8px; align-items: flex-start; }
.handover svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #6ee7a0; }

@media (max-width: 1100px) {
  .logowall { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .why > div:nth-child(2n) { border-right: 0; }
  .why > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .why > div:nth-last-child(-n+2) { border-bottom: 0; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .stages li::after { display: none; }
  .handover ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .logowall { grid-template-columns: repeat(2, 1fr); }
  .logowall > div { height: 84px; }
  .why { grid-template-columns: 1fr; }
  .why > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .why > div:last-child { border-bottom: 0 !important; }
  .stages { grid-template-columns: 1fr; }
  .handover ul { grid-template-columns: 1fr; }
}

/* Workforce360 HRMS page: HR screen mock-ups, hero composite, definition box, before/after, comparison table. */
.uih { padding: 12px; display: grid; gap: 10px; }
.uih__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.uih__t { display: grid; padding: 8px 10px; border-radius: 10px; border-left: 4px solid #16a34a; background: #f0fdf4; }
.uih__t small { font-size: 9.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .uih__t b { font-size: 17px; letter-spacing: -.02em; }
.uih__t--warn { border-color: #d97706; background: #fffbeb; } .uih__t--bad { border-color: #dc2626; background: #fef2f2; }
.uih__mid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.uih__chart { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.uih__chart > small { font-size: 10px; color: var(--ink-3); }
.uih__bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin-top: 8px; }
.uih__bars span { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 2px; padding-bottom: 14px; }
.uih__bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--c); }
.uih__bars i + i { background: color-mix(in srgb, var(--c) 40%, #fff); }
.uih__bars em { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-style: normal; font-size: 9px; color: var(--ink-3); }
.uih__legend { display: flex; gap: 12px; font-size: 9.5px; color: var(--ink-3); margin-top: 4px; }
.uih__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; background: var(--c); }
.uih__legend span + span i { background: color-mix(in srgb, var(--c) 40%, #fff); }
.uih__list { display: grid; gap: 5px; align-content: start; }
.uih__lh { font-size: 10px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.uih__list li:not(.uih__lh) { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 9px; background: #f8fafc; }
.uih__list li > span:nth-child(2) { display: grid; min-width: 0; }
.uih__list b { font-size: 10.5px; } .uih__list small { font-size: 9px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-hr .uiphone__btn { background: var(--hr); }
.uih__bars--one i { max-width: 22px; margin-inline: auto; }
.uih__meter { display: grid !important; gap: 5px; }
.uih__meter > span { display: flex; justify-content: space-between; }
.uih__meter > i { display: block; height: 6px; border-radius: 9px; background: var(--line); }
.uih__meter em { display: block; height: 100%; border-radius: 9px; background: var(--c); }

/* Visitor management screens. */
.uiv2 { display: grid; gap: 4px; }
.uiv2__row { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr auto; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 9px; background: #f8fafc; }
.uiv2__row--h { font-size: 9.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; background: none; padding-block: 2px; }
.uiv2__row > span { display: grid; min-width: 0; }
.uiv2__row b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uiv2__row small { font-size: 9.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uiv2__row small i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; }
.uiv2__s { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; justify-self: start; white-space: nowrap; color: #15803d; background: #dcfce7; }
.uiv2__s--done { color: #1d4ed8; background: #dbeafe; } .uiv2__s--wait { color: #b45309; background: #fef3c7; } .uiv2__s--bad { color: #b91c1c; background: #fee2e2; }
.uiv2__btn { padding: 4px 9px; border-radius: 7px; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--c); white-space: nowrap; }

.uipass { gap: 8px; text-align: center; }
.uipass__head { display: grid; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.uipass__head small { font-size: 9px; letter-spacing: .15em; opacity: .8; } .uipass__head b { font-size: 15px; } .uipass__head span { font-size: 10px; opacity: .85; }
.uipass__qr { width: 58%; margin: 2px auto 0; padding: 7px; border-radius: 10px; border: 1px solid var(--line); }
.uipass__qr svg { display: block; width: 100%; height: auto; }
.uipass__code small { display: block; font-size: 9px; color: var(--ink-3); } .uipass__code b { font-family: ui-monospace, Consolas, monospace; font-size: 16px; letter-spacing: .08em; }
.uipass__dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; text-align: left; font-size: 10.5px; padding: 8px 10px; border-radius: 10px; background: #f8fafc; }
.uipass__dl dt { color: var(--ink-3); } .uipass__dl dd { font-weight: 600; text-align: right; }
.uipass__ok { padding: 7px; border-radius: 10px; font-size: 10.5px; font-weight: 700; color: #15803d; background: #dcfce7; }

.uihh__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.uihh__photos span { display: grid; place-items: center; aspect-ratio: 60 / 44; border-radius: 8px; overflow: hidden; }
.uihh__photos svg { width: 100%; height: 100%; display: block; }
.uihh__add { border: 1.5px dashed var(--line); color: var(--ink-3); font-size: 18px; }
.uihh__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uihh__ba span { display: grid; gap: 4px; }
.uihh__ba svg { width: 100%; height: auto; display: block; }
.uihh__ba small { font-size: 9.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.uihh__rw { padding: 6px; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 700; color: #b91c1c; border: 1px solid #fecaca; }
.uic { display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 12px; padding: 12px; align-items: start; }
.uic__photo { display: grid; justify-items: center; gap: 4px; width: 76px; }
.uic__photo svg { width: 100%; height: auto; } .uic__photo small { font-size: 9px; color: #15803d; font-weight: 700; }
.uic__dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 10.5px; }
.uic__dl dt { color: var(--ink-3); } .uic__dl dd { font-weight: 600; } .uic__dl dd.ok { color: #15803d; }
.uic__gate { display: grid; gap: 5px; padding: 9px; border-radius: 10px; border: 1px solid var(--line); }
.uic__gate > small { font-size: 9.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.uic__gate > span:not(.uic__btn):not(.uic__chk) { display: grid; padding: 5px 8px; border-radius: 7px; background: #f8fafc; }
.uic__gate b { font-size: 9px; color: var(--ink-3); font-weight: 600; } .uic__gate em { font-style: normal; font-size: 11px; font-weight: 700; }
.uic__chk { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; }
.uic__chk i { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; font-style: normal; font-size: 9px; color: #fff; background: var(--c); }
.uic__btn { margin-top: 2px; padding: 7px; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--c); }
@media (max-width: 640px) {
  .uiv2__row { grid-template-columns: 1.2fr 1fr auto; } .uiv2__row > :nth-child(2) { display: none; }
  .uic { grid-template-columns: auto 1fr; } .uic__gate { grid-column: 1 / -1; }
}

/* Six-stage journey (the default .stages holds five). */
@media (min-width: 1101px) { .stages--6 { grid-template-columns: repeat(6, 1fr); } }

.uid { padding: 12px; display: grid; gap: 6px; }
.uid__row { display: grid; grid-template-columns: auto 1.5fr 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #111a30; }
.uid__row > span:nth-child(2), .uid__row > span:nth-child(3) { display: grid; }
.uid__row small { color: #94a3b8; font-size: 9.5px; } .uid__row b { font-size: 12px; }
.uid__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.uid__row em { font-style: normal; font-size: 10px; font-weight: 700; color: #4ade80; }
.uid__row--off .uid__dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.2); } .uid__row--off em { color: #fbbf24; }
.uid__alert { padding: 8px 12px; border-radius: 9px; font-size: 11px; font-weight: 600; color: #fde68a; background: rgba(245,158,11,.15); }

.uim { padding: 10px 12px 12px; display: grid; gap: 4px; }
.uim__row { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr .6fr; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 11.5px; }
.uim__row:nth-child(even) { background: #f8fafc; }
.uim__row--h { font-size: 10px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; background: none !important; }
.uim__row > span:nth-child(3) { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.uim__row i { height: 7px; border-radius: 9px; background: #16a34a; max-width: 70%; }
.uim__row i.mid { background: #d97706; } .uim__row i.low { background: #dc2626; }
.uim__row .neg { color: #dc2626; font-weight: 800; } .uim__row .ok { color: #16a34a; font-weight: 800; }
.uim__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 4px; padding: 8px 10px; border-radius: 9px; font-size: 10.5px; background: color-mix(in srgb, var(--hr) 8%, #fff); }
.uim__foot span { color: var(--ink-3); } .uim__foot b { color: var(--hr); }

/* Dashboard with the phone tucked over its lower-right corner; the phone shows three requests here. */
.hrshot { position: relative; padding: 0 0 150px 0; }
.hrshot > .ui { width: 94%; }
.phero .hrshot > .ui { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.hrshot > .uiphone { position: absolute; right: 0; bottom: 0; width: 36%; max-width: 220px; }
.hrshot > .uiphone .uiphone__row:nth-of-type(n+4) { display: none; }
.hrshot > .uipass { width: 30%; max-width: 190px; }
.hrshot > .uipass .uipass__dl { display: none; }
@media (max-width: 640px) {
  .uih__tiles { grid-template-columns: repeat(2, 1fr); }
  .uih__mid { grid-template-columns: 1fr; }
  .hrshot { padding-bottom: 0; }
  .hrshot > .ui { width: 100%; }
  .hrshot > .uiphone { position: relative; right: auto; width: 72%; max-width: 260px; margin: -40px 0 0 auto; }
  .uid__row { grid-template-columns: auto 1fr auto; } .uid__row > span:nth-child(3) { display: none; }
}

/* A short, quotable definition near the top - what search snippets and AI assistants lift. */
.answer { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; max-width: 1080px; margin: 0 auto; padding: 32px 34px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--c); box-shadow: var(--shadow); }
.answer h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.answer p { color: var(--ink-2); margin-top: 10px; font-size: 16.5px; }
.answer p b { color: var(--ink); }
@media (max-width: 640px) { .answer { grid-template-columns: 1fr; padding: 24px 20px; } }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ba > div { padding: 30px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.ba h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.ba h3 svg { flex: none; width: 26px; height: 26px; }
.ba ul { display: grid; gap: 12px; margin-top: 18px; }
.ba li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.ba li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.ba > .ba__before { background: #fff7f7; border-color: #fde2e2; }
.ba__before h3 { color: #b91c1c; } .ba__before li svg { color: #dc2626; }
.ba > .ba__after { color: #fff; border-color: transparent; background: linear-gradient(150deg, var(--navy), color-mix(in srgb, var(--c) 55%, var(--navy-2))); }
.ba__after li { color: rgba(255,255,255,.88); } .ba__after li b { color: #fff; } .ba__after li svg { color: #6ee7a0; }
@media (max-width: 960px) { .ba { grid-template-columns: 1fr; } }

.cmp-wrap { max-width: 1080px; margin: 0 auto; overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-2); }
.cmp thead th:nth-child(2) { color: #fff; background: var(--c); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.cmp td { color: var(--ink-2); }
.cmp td:nth-child(2) { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--c) 5%, #fff); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* Digitalization catalogue: a tile that opens its own product page. */
a.cat__item { color: inherit; }
.cat__item--feature { grid-column: span 2; border: 2px solid color-mix(in srgb, var(--c) 45%, var(--line)); background: linear-gradient(120deg, #fff 55%, color-mix(in srgb, var(--c) 8%, #fff)); }
.cat__item--feature .ico { color: #fff; background: var(--c); }
.cat__item--feature .link { margin-top: 10px; color: var(--c); }
.cat__new { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; vertical-align: 2px; color: #fff; background: var(--accent); }
/* Groups with featured apps: two even columns, an odd last card takes the full row. */
.cat--2 { grid-template-columns: 1fr 1fr; }
.cat--2 > .cat__item--feature { grid-column: auto; }
.cat--2 > .cat__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .cat__item--feature, .cat--2 > .cat__item:last-child:nth-child(odd) { grid-column: auto; } .cat--2 { grid-template-columns: 1fr; } }

/* ================= NexMFI: collection frequencies and EMI calculator ================= */

.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.freq > div { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.freq > div::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, #fff)); }
.freq__k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.freq h3 { font-size: 22px; font-weight: 800; margin-top: 6px; }
.freq p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.freq__cal { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin: 20px 0 6px; }
.freq__cal i { aspect-ratio: 1; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); }
.freq__cal i.on { background: var(--c); border-color: var(--c); }
.freq__cal + small { font-size: 12px; color: var(--ink-3); }
.freq ul { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.freq li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.freq li svg { flex: none; width: 19px; height: 19px; margin-top: 3px; color: var(--c); }
.freq li b { color: var(--ink); }

.emi { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; max-width: 1180px; margin: 0 auto; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.emi__in { display: grid; gap: 16px; padding: 30px; align-content: start; }
.emi__in label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.emi__in input, .emi__in select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2); }
.emi__in input:focus, .emi__in select:focus { outline: 2px solid var(--c); outline-offset: 1px; background: #fff; }
.emi__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.emi__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.emi__seg--2 { grid-template-columns: 1fr 1fr; }
.emi__seg button { padding: 9px 6px; border: 0; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: transparent; cursor: pointer; }
.emi__seg button[aria-pressed="true"] { color: #fff; background: var(--c); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.emi__out { display: grid; gap: 18px; align-content: start; padding: 30px; color: #fff; background: linear-gradient(150deg, var(--navy), color-mix(in srgb, var(--c) 60%, var(--navy-2))); }
.emi__big small { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.emi__big b { display: block; font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.emi__sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emi__sum span { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.08); }
.emi__sum small { display: block; font-size: 11.5px; opacity: .75; } .emi__sum b { font-size: 17px; }
.emi__tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.emi__tbl th, .emi__tbl td { padding: 7px 8px; text-align: right; border-bottom: 1px solid rgba(255,255,255,.12); }
.emi__tbl th:first-child, .emi__tbl td:first-child { text-align: left; }
.emi__tbl th { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.emi__note { font-size: 12.5px; opacity: .72; }
@media (max-width: 960px) {
  .freq { grid-template-columns: 1fr; }
  .emi { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .emi__in, .emi__out { padding: 22px 18px; }
  .emi__row { grid-template-columns: 1fr; }
  .emi__sum { grid-template-columns: 1fr 1fr; } .emi__sum span:last-child { grid-column: 1 / -1; }
}
.emi__grp { display: grid; gap: 6px; } .emi__grp > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.gloss { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.gloss > div { padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); }
.gloss dt { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.gloss dd { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .gloss { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gloss { grid-template-columns: 1fr; } }
/* Phone shown on the right of a browser screenshot, or on its own. */
.device--r .phone { left: auto; right: -4%; }
.phone--solo { position: relative; left: auto; bottom: auto; width: 100%; max-width: 300px; margin-inline: auto; }
@media (max-width: 640px) { .device--r .phone { right: 0; width: 34%; } }

/* Key facts under an answer box: label / value pairs that read cleanly to people and to AI assistants. */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin-top: 18px; font-size: 15px; }
.facts dt { color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-2); }
.facts a { color: var(--c); font-weight: 600; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
