/* 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;
  --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; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
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); }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding-block: 88px 110px; isolation: isolate;
  background: radial-gradient(900px 520px at 85% -10%, rgba(124,58,237,.38), transparent 60%),
              radial-gradient(800px 560px at -5% 105%, rgba(30,91,184,.55), transparent 60%),
              radial-gradient(500px 360px at 60% 110%, rgba(245,130,32,.28), transparent 65%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #13307a 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; 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 40% 35%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 40% 35%, #000 15%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.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 h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; margin-top: 22px; letter-spacing: -.03em; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.8); margin-top: 20px; max-width: 580px; }
.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; }

/* The orbit: five areas around the Qubha mark - the hero's picture of what the company does. */
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin-inline: auto; width: 100%; }
.orbit__ring { position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); animation: spin 60s linear infinite; }
.orbit__ring--2 { inset: 24%; border-style: solid; border-color: rgba(255,255,255,.1); animation-duration: 90s; animation-direction: reverse; }
.orbit__core { position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff, #e9effa); box-shadow: 0 0 0 14px rgba(255,255,255,.06), 0 0 80px rgba(96,165,250,.55); }
.orbit__core img { width: 58%; }
.node { position: absolute; width: 27%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  color: #fff; font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.node .ico { width: 62px; height: 62px; border-radius: 20px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.node .ico svg { width: 30px; height: 30px; }
.node:nth-child(4) { animation-delay: -1.2s; } .node:nth-child(5) { animation-delay: -2.4s; } .node:nth-child(6) { animation-delay: -3.6s; } .node:nth-child(7) { animation-delay: -4.8s; }
.node > span:not(.ico) { padding: 3px 10px; border-radius: 999px; background: rgba(7,15,43,.55); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }
@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; }

/* The five areas on the home page: tall cards with a coloured glow. */
.pillar { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 24px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.pillar::after { content: ""; position: absolute; inset: auto -40% -55% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); transition: transform .35s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 26px 50px color-mix(in srgb, var(--c) 18%, transparent); }
.pillar:hover::after { transform: scale(1.25); }
.pillar h3 { font-size: 21px; font-weight: 800; margin-top: 20px; }
.pillar p { color: var(--ink-2); margin-top: 10px; font-size: 14.5px; flex: 1; }
.pillar ul { margin-top: 14px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.pillar li { display: flex; gap: 8px; }
.pillar li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--c); }
.pillar .link { margin-top: 18px; }

/* ---------- 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 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.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; }
.band { color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #13307a 60%, var(--brand) 100%); }
.band .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.band .stat b { color: #fff; } .band .stat span { color: rgba(255,255,255,.75); }

/* ---------- 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 .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; }
  .orbit__ring, .node, .chip { 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; }
  .hero { padding-block: 56px 72px; }
  .hero .wrap, .phero .wrap, .split, .contact-grid, .cta { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split--rev > :first-child { order: 0; }
  .split + .split { margin-top: 72px; }
  .orbit { max-width: 420px; }
  .phero-art { max-width: 360px; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { 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 h1 { font-size: 34px; }
  .hero-cta .btn, .phero .hero-cta .btn { flex: 1 1 100%; }
  .node .ico { width: 50px; height: 50px; border-radius: 16px; }
  .node .ico svg { width: 24px; height: 24px; }
  .node { font-size: 11.5px; }
  .card, .pillar { 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: 1040px; 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; }
