/* =========================================================
   Ivorovi — public website styles
   ========================================================= */
:root {
  --ink: #0b1a4a;
  --ink-2: #2f3a5e;
  --muted: #5f6b85;
  --line: #dde5f0;
  --ivory: #f6f8fc;
  --ivory-2: #eaf0f8;
  --paper: #ffffff;
  --violet: #1d4ed8;
  --violet-2: #3b82f6;
  --violet-soft: #e5edff;
  --coral: #14b8f0;
  --health: #0fa58f;
  --health-soft: #dcf5ef;
  --education: #e08a00;
  --education-soft: #fdf0d8;
  --software: #1d4ed8;
  --software-soft: #e5edff;
  --enterprise: #6d4fd8;
  --enterprise-soft: #efeaff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 26, 74, .04), 0 12px 32px -12px rgba(11, 26, 74, .16);
  --shadow-lg: 0 30px 60px -20px rgba(11, 26, 74, .28);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 78, 216, .7); }
.btn-primary:hover { background: #1740b0; transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--violet); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.tag {
  display: inline-flex; align-items: center; gap: .4em; padding: .3em .75em; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: var(--ivory-2); color: var(--ink-2);
}
.tag[data-cat="health"] { background: var(--health-soft); color: var(--health); }
.tag[data-cat="education"] { background: var(--education-soft); color: #a86600; }
.tag[data-cat="software"] { background: var(--software-soft); color: var(--software); }
.tag[data-cat="enterprise"] { background: var(--enterprise-soft); color: var(--enterprise); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 252, .85); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 26, 74, .4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
/* Logo + tagline: the tagline is stretched to exactly the logo width. */
.brand { display: inline-grid; gap: 5px; flex: none; }
.brand img { height: 48px; width: auto; }
.brand-motto { width: 0; min-width: 100%; font-size: .56rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; text-align: justify; text-align-last: justify; color: var(--violet); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2); background: none; border: 0;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--ivory-2); }
.nav-links button svg { width: 14px; height: 14px; transition: transform .2s; }
.has-menu:hover > button svg, .has-menu.open > button svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-menu:hover .mega, .has-menu.open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; }
.mega a:hover { background: var(--ivory); }
.mega .ico { flex: none; width: 40px; height: 40px; }
.mega strong { display: block; font-size: .95rem; }
.mega small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }
.mega .mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 12px 4px; display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--muted); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Icons ---------- */
.ico {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  background: var(--violet-soft); color: var(--violet);
}
.ico svg { width: 55%; height: 55%; }
.ico[data-cat="health"] { background: var(--health-soft); color: var(--health); }
.ico[data-cat="education"] { background: var(--education-soft); color: var(--education); }
.ico[data-cat="software"] { background: var(--software-soft); color: var(--software); }
.ico[data-cat="enterprise"] { background: var(--enterprise-soft); color: var(--enterprise); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .section-head p, .bg-ink p { color: rgba(255,255,255,.72); }
.bg-ink .eyebrow { color: #8fc1ff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(59, 130, 246, .22), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px;
  background: radial-gradient(circle, rgba(20, 184, 240, .16), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--health); }

/* Console mockup */
.console {
  background: var(--paper); border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.console-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dfec; }
.console-bar i:first-child { background: #ff8c7a; }
.console-bar i:nth-child(2) { background: #ffc35c; }
.console-bar i:nth-child(3) { background: #48d39b; }
.console-bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); font-weight: 500; }
.console-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.console-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.console-side button {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; border: 0; background: none;
  font-size: .8rem; font-weight: 500; color: var(--muted); text-align: left;
}
.console-side button i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.console-side button[aria-selected="true"] { background: var(--ivory); color: var(--ink); }
.console-side button[data-cat="health"] i { color: var(--health); }
.console-side button[data-cat="education"] i { color: var(--education); }
.console-side button[data-cat="software"] i { color: var(--software); }
.console-side button[data-cat="enterprise"] i { color: var(--enterprise); }
.console-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.console-title { display: flex; justify-content: space-between; align-items: center; }
.console-title strong { font-family: var(--font-display); font-size: 1rem; }
.live { font-size: .72rem; font-weight: 600; color: var(--health); display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--ivory); border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: .7rem; color: var(--muted); }
.kpi b { font-family: var(--font-display); font-size: 1.25rem; }
.kpi em { font-style: normal; font-size: .7rem; color: var(--health); font-weight: 600; margin-left: 4px; }
.chart { background: var(--ivory); border-radius: 12px; padding: 12px; flex: 1; display: flex; flex-direction: column; }
.chart small { font-size: .72rem; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: 10px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--accent, var(--violet)); opacity: .85; transform-origin: bottom; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.bars span:nth-child(odd) { opacity: .45; }
.console-float {
  position: absolute; right: -18px; bottom: 26px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: .8rem; display: flex; align-items: center; gap: 10px;
}
.console-float b { display: block; font-size: .95rem; }
.console-wrap { position: relative; padding: 0 18px 0 0; }

/* ---------- Highlights (under hero) ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; position: relative; z-index: 1; }
.highlight { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; }
.highlight .ico { width: 44px; height: 44px; flex: none; }
.highlight h3 { font-size: 1.02rem; margin-bottom: .3em; }
.highlight p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Industry cards ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.industry-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--c, var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.industry-card:hover::after { transform: scaleX(1); }
.industry-card .ico { width: 52px; height: 52px; border-radius: 14px; }
.industry-card h3 { margin: 4px 0 0; }
.industry-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.industry-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.industry-card li { display: flex; gap: 8px; align-items: center; }
.industry-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--violet)); flex: none; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .mock { margin: 14px 14px 0; }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { margin: 4px 0 0; }
.product-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.product-card .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.product-card .actions a:last-child { font-size: .88rem; color: var(--muted); font-weight: 500; }
.product-card .actions a:last-child:hover { color: var(--ink); }

/* Mini mock used on cards */
.mock { background: var(--ivory); border-radius: 12px; padding: 14px; --accent: var(--violet); }
.mock[data-cat="health"] { --accent: var(--health); background: linear-gradient(160deg, var(--health-soft), var(--ivory) 70%); }
.mock[data-cat="education"] { --accent: var(--education); background: linear-gradient(160deg, var(--education-soft), var(--ivory) 70%); }
.mock[data-cat="software"] { --accent: var(--software); background: linear-gradient(160deg, var(--software-soft), var(--ivory) 70%); }
.mock[data-cat="enterprise"] { --accent: var(--enterprise); background: linear-gradient(160deg, var(--enterprise-soft), var(--ivory) 70%); }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mock-top b { font-size: .75rem; font-family: var(--font-display); }
.mock-top i { display: flex; gap: 4px; }
.mock-top i::before, .mock-top i::after { content: ""; width: 18px; height: 6px; border-radius: 4px; background: rgba(11, 26, 74, .1); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.mock-kpis div { background: rgba(255,255,255,.8); border-radius: 8px; padding: 7px 8px; }
.mock-kpis small { display: block; font-size: .6rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpis b { font-size: .85rem; font-family: var(--font-display); }
.mock-chart { background: rgba(255,255,255,.8); border-radius: 8px; padding: 8px; }
.mock-chart svg { width: 100%; height: 54px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 22px; border-left: 2px solid rgba(255,255,255,.18); }
.stat b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); display: block; line-height: 1.1; }
.stat span { color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote svg.q { width: 30px; height: 30px; color: var(--violet-2); opacity: .5; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); color: #fff; background: var(--c, var(--violet)); flex: none; }
.quote footer b { display: block; font-size: .92rem; }
.quote footer small { color: var(--muted); font-size: .82rem; }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-cover { height: 150px; position: relative; overflow: hidden; background: var(--c, var(--violet)); }
.case-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-cover .big { position: absolute; left: 22px; bottom: 16px; color: #fff; font-family: var(--font-display); }
.case-cover .big b { font-size: 2.2rem; display: block; line-height: 1; }
.case-cover .big small { font-size: .8rem; opacity: .85; }
.case-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-card h3 { margin: 6px 0 0; font-size: 1.12rem; }
.case-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }

/* ---------- Services list ---------- */
.service-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.service-list { display: flex; flex-direction: column; }
.service-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .25s; }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row:hover { padding-left: 10px; }
.service-row .ico { width: 48px; height: 48px; }
.service-row h3 { margin: 0 0 2px; font-size: 1.05rem; }
.service-row p { margin: 0; color: var(--muted); font-size: .92rem; }
.service-row > svg { width: 20px; height: 20px; color: var(--muted); transition: transform .2s, color .2s; }
.service-row:hover > svg { transform: translateX(4px); color: var(--violet); }
.sticky { position: sticky; top: 110px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 64px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(20, 184, 240, .45), transparent 40%), linear-gradient(120deg, #0b1f5e, var(--violet) 55%, #3b82f6);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; font-size: 1.05rem; }
.cta-band .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border: 50px solid rgba(255,255,255,.06); border-radius: 50%; left: -90px; bottom: -170px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.site-footer .brand { margin-bottom: 16px; gap: 7px; }
.site-footer .brand img { height: 56px; }
.site-footer .brand-motto { font-size: .64rem; color: #8fc1ff; }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #8fc1ff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(59, 130, 246, .2), transparent 62%);
}
.page-hero .container { position: relative; }
.page-hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 680px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--violet); }
.crumbs svg { width: 14px; height: 14px; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: .6em 1.15em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-weight: 500; font-size: .92rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.filter:hover { border-color: var(--ink-2); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter .count { font-size: .75rem; opacity: .7; }
.search { position: relative; margin-left: auto; }
.search input { padding: .65em 1em .65em 2.5em; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: .92rem; width: 240px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.empty { text-align: center; padding: 48px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Product detail ---------- */
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pd-hero .mock { padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.pd-hero .mock-chart svg { height: 120px; }
.pd-hero .mock-kpis b { font-size: 1.1rem; }
.pd-hero .mock-kpis small { font-size: .7rem; }
.pd-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico { width: 44px; height: 44px; margin-bottom: 16px; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.modules { display: flex; flex-wrap: wrap; gap: 10px; }
.modules span { padding: .55em 1em; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.modules svg { width: 16px; height: 16px; color: var(--health); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--violet); background: var(--violet-soft); border-radius: 50%; padding: 4px; }
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deploy { border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 24px; }
.deploy svg { width: 28px; height: 28px; color: #8fc1ff; margin-bottom: 14px; }
.deploy h3 { font-size: 1.05rem; color: #fff; }
.deploy p { font-size: .92rem; margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; transition: transform .2s; flex: none; color: var(--violet); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--violet); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

.tech { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tech span { padding: .6em 1.1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: rgba(255,255,255,.85); }

.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 100px; }
.service-card .ico { width: 52px; height: 52px; }
.service-card p { color: var(--muted); margin: 0; }
.service-card ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: .9rem; }
.service-card li { display: flex; gap: 8px; align-items: center; }
.service-card li svg { width: 16px; height: 16px; color: var(--health); flex: none; }

/* ---------- Case study detail (expandable) ---------- */
.case-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.case-detail div { background: var(--ivory); border-radius: 12px; padding: 14px; font-size: .88rem; }
.case-detail b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
dialog.case-modal { border: 0; border-radius: 22px; padding: 0; max-width: 720px; width: calc(100% - 32px); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.case-modal::backdrop { background: rgba(11, 26, 74, .55); backdrop-filter: blur(4px); }
.case-modal .case-cover { height: 180px; }
.case-modal .inner { padding: 28px 32px 32px; }
.case-modal .close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; z-index: 2; }
.case-modal .close svg { width: 18px; height: 18px; }
.case-modal h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--violet); margin: 20px 0 6px; }
.case-modal p { color: var(--ink-2); margin: 0; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.results div { background: var(--ivory); border-radius: 12px; padding: 14px; }
.results b { font-family: var(--font-display); font-size: 1.5rem; display: block; color: var(--violet); }
.results small { color: var(--muted); font-size: .82rem; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value .ico { width: 44px; height: 44px; margin-bottom: 16px; }
.value p { color: var(--muted); font-size: .92rem; margin: 0; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-art { aspect-ratio: 1 / 1; border-radius: 28px; background: var(--ink); position: relative; overflow: hidden; }
.story-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mission { border-radius: var(--radius); padding: 36px; border: 1px solid rgba(255,255,255,.15); }
.mission h3 { color: #fff; font-size: 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: start; }
.contact-grid > *, .form-row > * { min-width: 0; }
.field select { width: 100%; text-overflow: ellipsis; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field label span { color: var(--coral); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #d63d2e; font-size: .8rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d63d2e; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; background: var(--ivory); }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--violet-2); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #a8281c; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 0 0 16px; }
.form-error a { text-decoration: underline; font-weight: 600; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success svg { width: 64px; height: 64px; color: var(--health); margin: 0 auto 16px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.info-stack { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; }
.info-card .ico { width: 44px; height: 44px; flex: none; }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p, .info-card a { color: var(--muted); font-size: .93rem; margin: 0; }
.info-card a:hover { color: var(--violet); }

/* ---------- Floating help ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab-btn:hover { transform: scale(1.06); }
.fab-btn svg { width: 24px; height: 24px; }
.fab-panel { width: 320px; max-width: calc(100vw - 40px); background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; display: none; }
.fab.open .fab-panel { display: block; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fab-head { background: linear-gradient(120deg, #0b1f5e, var(--violet)); color: #fff; padding: 20px; }
.fab-head b { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.fab-head small { opacity: .8; }
.fab-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.fab-body a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--ivory); font-size: .9rem; font-weight: 500; }
.fab-body a:hover { background: var(--violet-soft); }
.fab-body .ico { width: 34px; height: 34px; border-radius: 10px; flex: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 76px;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .site-header.menu-open .nav-links > li > a, .site-header.menu-open .nav-links > li > button { width: 100%; justify-content: space-between; padding: 14px; font-size: 1rem; }
  .mega { position: static; transform: none; width: auto; display: none; opacity: 1; visibility: visible; box-shadow: none; grid-template-columns: 1fr; margin: 4px 0 8px; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { transform: none; }
  .has-menu.open .mega { display: grid; }
  .mega .mega-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-grid, .pd-hero, .service-split, .story, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .case-grid, .quote-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-band .actions { justify-content: flex-start; }
  .sticky { position: static; }
  .deploy-grid, .mission-grid { grid-template-columns: 1fr; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .nav-cta .btn-primary { display: none; }
  .industry-grid, .product-grid, .case-grid, .quote-grid, .feature-grid, .service-cards, .values, .process { grid-template-columns: 1fr; }
  .console-body { grid-template-columns: 1fr; }
  .console-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .console-side button { white-space: nowrap; }
  .console-float { display: none; }
  .console-wrap { padding: 0; }
  .form-row, .service-card ul, .case-detail, .results { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .case-modal .inner { padding: 22px; }
}

/* ---------- Enquiry pop-up ---------- */
.field-label { font-size: .85rem; font-weight: 600; }
dialog.enquiry-modal {
  border: 0; border-radius: 24px; padding: 0; width: calc(100% - 32px); max-width: 680px; max-height: calc(100vh - 32px);
  box-shadow: var(--shadow-lg); color: var(--ink); background: var(--paper); overflow-y: auto;
}
dialog.enquiry-modal[open] { animation: rise .25s ease; }
dialog.enquiry-modal::backdrop { background: rgba(11, 26, 74, .55); backdrop-filter: blur(4px); }
.enquiry-modal .close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ivory); display: grid; place-items: center; z-index: 2; }
.enquiry-modal .close:hover { background: var(--ivory-2); }
.enquiry-modal .close svg { width: 18px; height: 18px; }
.enquiry-head { padding: 30px 36px 0; }
.enquiry-head h2 { font-size: 1.7rem; margin-bottom: .25em; }
.enquiry-head p { color: var(--muted); margin: 0; }
.enquiry-modal .form-card { border: 0; box-shadow: none; border-radius: 0; padding: 22px 36px 32px; }
@media (max-width: 640px) {
  .enquiry-head { padding: 26px 20px 0; }
  .enquiry-modal .form-card { padding: 18px 20px 24px; }
}
@media (max-width: 640px) { .brand img { height: 40px; } .brand-motto { font-size: .47rem; } }
