/* ==========================================================================
   Inovion Technologies — main stylesheet
   Modern, light, flat design. Solid colours from the logo (blue + violet),
   no gradients. No framework, no build step. Mobile-first.
   1. Tokens   2. Base   3. Layout   4. Buttons & chips   5. Header
   6. Hero     7. Sections           8. Forms             9. Footer & cookie
   10. Motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --blue: #2563EB;         /* primary (AA with white text) */
  --blue-600: #1D4ED8;
  --blue-50: #EFF4FF;
  --blue-100: #DBE5FF;
  --blue-light: #8DB0FF;   /* accent on dark */
  --violet: #6D4AFF;       /* secondary accent, sparingly */

  --ink: #0A0F1F;          /* headings, dark surfaces */
  --ink-2: #141A2E;
  --text: #2E3546;
  --muted: #5B6476;        /* AA on white */
  --line: #E6E8EE;
  --line-strong: #D5D9E2;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A9B1C4;
  --line-dark: rgba(255, 255, 255, .1);
  --success: #0F9D6E;
  --danger: #D92D4B;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 15, 31, .05);
  --shadow: 0 1px 2px rgba(10, 15, 31, .04), 0 12px 32px -12px rgba(10, 15, 31, .12);
  --shadow-lg: 0 2px 4px rgba(10, 15, 31, .04), 0 32px 64px -24px rgba(10, 15, 31, .22);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; } /* config.js hides empty links; component display rules must not undo that */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 48px, 1200px); } }
.section { padding: clamp(80px, 11vw, 136px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; } .section-head--split .lead { margin: 0; } }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }
.text-accent { color: var(--blue); }
.section--dark .text-accent { color: var(--blue-light); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Placeholder marker — replace anything in this style before launch */
.ph { display: inline-block; background: #FFF4C2; color: #6B5300; border: 1px dashed #D9B400; border-radius: 6px; padding: 0 6px; font-size: .85em; font-weight: 600; }
.section--dark .ph, .footer .ph { background: rgba(141, 176, 255, .12); color: var(--blue-light); border-color: rgba(141, 176, 255, .45); }

/* 4. BUTTONS & CHIPS -------------------------------------------------------- */
.btn {
  --_bg: var(--blue); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary:hover { --_bg: var(--blue-600); box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .8); }
.btn--dark { --_bg: var(--ink); }
.btn--dark:hover { --_bg: #1E2640; }
.btn--outline { --_bg: #fff; --_fg: var(--ink); --_bd: var(--line-strong); }
.btn--outline:hover { --_bd: var(--ink); }
.btn--white { --_bg: #fff; --_fg: var(--ink); }
.btn--white:hover { --_bg: var(--blue-50); }
.btn--ghost { --_bg: transparent; --_fg: #fff; --_bd: rgba(255, 255, 255, .35); }
.btn--ghost:hover { --_bd: #fff; }
.btn--wa { --_bg: #1FAF5A; }
.btn--wa:hover { --_bg: #178C48; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--blue); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow { color: var(--blue-light); }

.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 500; color: var(--text); }
.badge b { padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: .78rem; font-weight: 600; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(4px); }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--blue); margin-top: 3px; }

.tile-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; color: var(--blue); background: var(--blue-50); }
.tile-icon .icon { width: 24px; height: 24px; }
.section--dark .tile-icon { background: rgba(141, 176, 255, .1); color: var(--blue-light); }

/* 5. HEADER (full-width bar) ---------------------------------------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand__logo { width: auto; height: 44px; }
@media (max-width: 379px) { .brand__logo { height: 38px; } }

.nav { display: none; }
.nav__list { list-style: none; display: flex; gap: 2px; }
.nav__link { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; transition: color .2s, background-color .2s; }
.nav__link:hover { color: var(--ink); background: var(--bg-soft); }
.nav__link.is-active, .header.is-open .nav__link.is-active { color: var(--blue); background: var(--blue-50); }
.header__cta { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--bg-soft); color: var(--ink); }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.header.is-open .nav-toggle .icon--menu { display: none; }
.header.is-open .nav-toggle .icon--close { display: block; }

/* Mobile dropdown */
.header.is-open .nav {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  max-height: calc(100svh - 80px); overflow-y: auto;
}
.header.is-open .nav__list { flex-direction: column; }
.header.is-open .nav__link { padding: 14px 16px; font-size: 1.08rem; border-radius: 14px; color: var(--ink); }
.nav__cta-mobile { margin-top: 8px; }

@media (min-width: 1000px) {
  .nav, .header.is-open .nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; }
  .header.is-open .nav__list { flex-direction: row; }
  .header.is-open .nav__link { padding: 8px 14px; font-size: .98rem; color: var(--text); }
  .nav__cta-mobile, .nav-toggle { display: none; }
  .header__cta { display: inline-flex; }
}

/* 6. HERO ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 8vw, 104px); text-align: center; overflow: hidden; }
/* subtle dot pattern (SVG dots, no colour gradients) */
.hero::before {
  content: ""; position: absolute; inset: 0 0 35% 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23D5D9E2'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
}
.hero .badge { margin-bottom: 28px; }
.hero h1 { max-width: 980px; margin: 0 auto 24px; }
.hero__lead { max-width: 620px; margin: 0 auto 36px; font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 32px; font-size: .92rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--blue); width: 18px; height: 18px; }

/* Showcase: product-style frame under the hero */
.showcase { position: relative; margin: clamp(56px, 8vw, 88px) auto 0; max-width: 1080px; text-align: left; }
.showcase__frame { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px; }
.showcase__grid { display: grid; gap: 10px; }
@media (min-width: 860px) { .showcase__grid { grid-template-columns: 1.25fr 1fr; } }

.win { border-radius: 20px; overflow: hidden; background: var(--ink); }
.win__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.win__dot { width: 10px; height: 10px; border-radius: 50%; background: #3A4258; }
.win__title { margin-left: 8px; font: 500 .78rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--on-dark-muted); }
.code { margin: 0; padding: 20px 22px 24px; font: 500 clamp(.74rem, 1.5vw, .88rem)/1.95 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #DCE3F5; overflow-x: auto; }
.code .ln { display: inline-block; width: 1.9em; color: rgba(255, 255, 255, .25); user-select: none; }
.c-k { color: #B4A3FF; } .c-f { color: var(--blue-light); } .c-s { color: #7DD3A8; } .c-c { color: #6F7894; font-style: italic; } .c-y { color: #F5C26B; }
.code__cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--blue-light); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.panel { border-radius: 20px; background: var(--bg-soft); padding: 18px; display: grid; gap: 10px; align-content: start; }
.panel__head { display: flex; justify-content: space-between; align-items: center; font: 600 .92rem var(--font-display); color: var(--ink); }
.panel__head span { font: 500 .75rem var(--font-body); color: var(--muted); padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini__card { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini__card small { display: block; font-size: .74rem; color: var(--muted); }
.mini__card b { font: 600 1.35rem var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); border-radius: 5px; background: var(--blue-100); transform-origin: bottom; animation: grow 1.1s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.bars span:last-child { background: var(--blue); }
@keyframes grow { from { transform: scaleY(0); } }
.task { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--text); }
.task .icon { width: 18px; height: 18px; color: var(--success); }
.task em { margin-left: auto; font-style: normal; font-size: .74rem; color: var(--muted); }

/* Tech logo strip */
.logos { padding: 0 0 clamp(64px, 8vw, 96px); }
.logos__title { text-align: center; font-size: .9rem; color: var(--muted); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 12px; width: max-content; list-style: none; animation: marquee 44s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.tech { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .94rem; color: var(--text); white-space: nowrap; }
.tech img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.tech:hover img { filter: none; opacity: 1; }

/* 7. SECTIONS ------------------------------------------------------------- */

/* Approach: Idea / Code / Impact */
.approach { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .approach { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 36px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .step { padding: 40px 36px 8px; border-bottom: 0; border-left: 1px solid var(--line); } .step:first-child { border-left: 0; padding-left: 0; } }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.step__num { font: 500 .85rem ui-monospace, Menlo, monospace; color: var(--muted); }
.step__word { font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-display); letter-spacing: -.045em; color: var(--ink); margin: 0 0 14px; }
.step__word::after { content: "."; color: var(--blue); }
.step p { color: var(--muted); margin: 0; max-width: 360px; }
.step strong { color: var(--ink); font-weight: 600; }

/* Cards */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

/* Services bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 28px; }
}
.bento__text { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bento__art { flex: 1; display: grid; gap: 8px; align-content: center; padding: 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--text); }
.chips span.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.bento__cta { background: var(--ink); border-color: var(--ink); justify-content: space-between; }
.bento__cta h3 { color: #fff; font-size: 1.4rem; }
.bento__cta p { color: var(--on-dark-muted); }
.bento__cta:hover { border-color: var(--ink); }
/* Two-column tablets: 7 cards leave the CTA alone in a row, so make it a full-width banner */
@media (min-width: 720px) and (max-width: 999px) {
  .bento__cta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; row-gap: 6px; }
  .bento__cta h3, .bento__cta p { grid-column: 1; }
  .bento__cta .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* Process: sticky intro + steps */
.process { display: grid; gap: 48px; }
@media (min-width: 980px) { .process { grid-template-columns: .9fr 1.1fr; gap: 80px; } .process__intro { position: sticky; top: 120px; align-self: start; } }
.process__intro .section-head { margin-bottom: 24px; }
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 500 .9rem ui-monospace, Menlo, monospace; color: var(--blue); padding-top: 4px; }
.steps h3 { margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.steps h3 .icon { width: 20px; height: 20px; color: var(--muted); }
.steps p { margin: 0; color: var(--muted); }

/* Projects — featured case study with a product mockup */
.project-featured { display: grid; overflow: hidden; padding: 0; gap: 0; }
@media (min-width: 980px) { .project-featured { grid-template-columns: .85fr 1.15fr; } }
.project__body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.project__tag { font-size: .82rem; font-weight: 600; color: var(--blue); }
.project-featured h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.project__intro { font-size: 1.05rem; }
.project dl { margin: 0; display: grid; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project dt { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.project dd { margin: 4px 0 0; color: var(--muted); font-size: .97rem; }
.project__stack { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.project__stack li { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--text); }

.project__media { position: relative; overflow: hidden; background: var(--blue-50); padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 64px) clamp(20px, 4vw, 48px); display: flex; align-items: center; }
.project__media::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23C5D3F5'/%3E%3C/svg%3E"); }
.project__media img { position: relative; width: 100%; height: auto; border-radius: 14px 0 0 14px; box-shadow: var(--shadow-lg); }

/* Mockup window (bleeds off the bottom-right edge) */
.mock { position: relative; width: 100%; min-width: 0; background: #fff; border: 1px solid var(--line-strong); border-right: 0; border-radius: 14px 0 0 14px; box-shadow: var(--shadow-lg); font-size: 12px; color: var(--text); overflow: hidden; transition: transform .6s var(--ease); }
.project-featured:hover .mock { transform: translate(-6px, -6px); }
.mock .icon { width: 14px; height: 14px; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__bar em { margin-left: 10px; font: 500 11px ui-monospace, Menlo, monospace; font-style: normal; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 48px 1fr; }
@media (min-width: 640px) { .mock__body { grid-template-columns: 138px 1fr; } }
.mock__side { display: grid; align-content: start; gap: 4px; padding: 12px 8px; border-right: 1px solid var(--line); }
.mock__logo { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 0 10px 3px; border-radius: 8px; background: var(--blue); color: #fff; font: 700 13px var(--font-display); }
.mock__side i { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-style: normal; color: var(--muted); white-space: nowrap; }
.mock__side i.on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.mock__side i span { display: none; }
@media (min-width: 640px) { .mock__side i span { display: inline; } }
.mock__main { padding: 16px; display: grid; gap: 12px; min-width: 0; }
.mock__top { display: flex; justify-content: space-between; align-items: center; }
.mock__top small { display: block; font-size: 10.5px; color: var(--muted); }
.mock__top strong { font: 600 15px var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.mock__pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; color: var(--text); }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__kpis div { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); }
.mock__kpis small { display: block; font-size: 10.5px; color: var(--muted); }
.mock__kpis b { display: block; font: 600 20px/1.2 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.mock__kpis em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.mock__kpis em.up { color: var(--success); font-weight: 600; }
.mock__table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock__row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .mock__row { grid-template-columns: 1.3fr 1.1fr .9fr auto; } }
.mock__row--head { border-top: 0; background: var(--bg-soft); font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mock__row span { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__row .hide-sm { display: none; }
@media (min-width: 640px) { .mock__row .hide-sm { display: flex; } }
.av { display: none; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font: 600 9px var(--font-body); font-style: normal; }
.chip { justify-self: end; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.chip--ok { background: #E6F7EF; color: #0B7A53; }
.chip--run { background: var(--blue-50); color: var(--blue-600); }
.chip--wait { background: #FFF4DB; color: #8A5A00; }
.mock-wrap { position: relative; width: 100%; min-width: 0; }
.mock__toast { position: absolute; right: 28px; top: -26px; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.mock__toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #1FAF5A; color: #fff; }
.mock__toast-icon .icon { width: 18px; height: 18px; }
.mock__toast strong { display: block; font-size: 12.5px; color: var(--ink); }
.mock__toast small { font-size: 11px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-6px); } }
@media (min-width: 640px) { .av { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font: 600 9px var(--font-body); font-style: normal; } }
@media (max-width: 639px) { .mock__toast { left: 12px; right: auto; top: -30px; padding: 8px 12px 8px 8px; } .mock__toast-icon { width: 26px; height: 26px; } }

/* Why Inovion — dark band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); margin-bottom: 56px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 32px 20px 32px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
@media (max-width: 899px) { .stat:nth-child(odd) { padding-left: 0; border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); } }
.stat__num { display: block; font: 600 clamp(2.2rem, 4.5vw, 3.4rem)/1 var(--font-display); letter-spacing: -.04em; color: #fff; margin-bottom: 10px; }
.stat__label { font-size: .92rem; }
.diff { padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 12px; align-content: start; transition: border-color .3s; }
.diff:hover { border-color: rgba(141, 176, 255, .4); }
.diff h3 { margin: 6px 0 0; }
.diff p { margin: 0; font-size: .96rem; }

/* Testimonials */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 20px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .carousel__track { grid-auto-columns: calc(50% - 8px); } }
@media (min-width: 1080px) { .carousel__track { grid-auto-columns: calc(33.333% - 11px); } }
.quote { scroll-snap-align: start; margin: 0; }
.quote__mark { width: 30px; height: 30px; color: var(--blue); }
.card.quote blockquote p { color: var(--ink); }
.quote blockquote { margin: 0; font: 500 clamp(1.1rem, 1.8vw, 1.35rem)/1.5 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font: 600 1rem var(--font-display); }
.quote figcaption b { display: block; color: var(--ink); font-weight: 600; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }
.carousel__nav { display: flex; gap: 8px; }
/* All three reviews are visible from 1080px, so the arrows are only needed below that */
@media (min-width: 1080px) { .carousel__nav { display: none; } }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-wrap > div:first-child { position: sticky; top: 120px; align-self: start; } }
.faq-wrap .section-head { margin-bottom: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 600 1.08rem/1.4 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__a { padding: 0 52px 24px 0; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

/* Final CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px); background: var(--blue); color: #DCE6FF; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta p { max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta .text-accent { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: rgba(255, 255, 255, .45); }

/* 8. FORMS / CONTACT ------------------------------------------------------- */
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact__info .section-head { margin-bottom: 28px; }
.contact-list { display: grid; border-top: 1px solid var(--line); margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
a.info-item:hover b { color: var(--blue); }
.info-item small { display: block; color: var(--muted); font-size: .82rem; }
.info-item b { color: var(--ink); font-weight: 600; word-break: break-word; transition: color .2s; }

.form-card { align-self: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 500; font-size: .9rem; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field ::placeholder { color: #8A93A6; opacity: 1; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6476' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9BFCC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field [aria-invalid="true"] { border-color: var(--danger); background-color: #FFF7F8; }
.field [aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 4px #FBD5DC; }
.field__error { font-size: .84rem; line-height: 1.4; color: var(--danger); }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form__status { display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.form__status.is-success { display: flex; background: #E8F8F1; color: #0B6B4B; border: 1px solid #A7E3C9; }
.form__status.is-error { display: flex; background: #FDECEF; color: #A31B36; border: 1px solid #F5B8C4; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 9. FOOTER & COOKIE ------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 80px 0 28px; font-size: .95rem; overflow: hidden; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; } }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: -.01em; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; position: relative; }
/* Colour "N" over the white logo: the two files share one layout, so clip the colour one to the mark */
.footer .brand::after { content: ""; position: absolute; inset: 0; background: url(../logo-horizontal.webp) left center / auto 100% no-repeat; clip-path: inset(0 72% 0 0); pointer-events: none; }
.footer__about p { margin: 18px 0 20px; max-width: 340px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--blue-light); margin-top: 3px; width: 18px; height: 18px; }
.socials, .footer .socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials .icon { width: 18px; height: 18px; }
.footer__tagline { margin: 72px 0 0; font: 600 clamp(2.4rem, 8.6vw, 6.6rem)/.95 var(--font-display); letter-spacing: -.055em; color: #fff; }
.footer__tagline span { color: var(--blue-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.footer__bottom ul { display: flex; gap: 20px; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  max-width: 520px; padding: 18px 20px; border-radius: var(--radius); background: #fff; color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .9rem;
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; flex: 1 1 260px; }
.cookie__actions { display: flex; gap: 8px; }
@media (min-width: 640px) { .cookie { left: 24px; bottom: 24px; right: auto; } }

/* Simple content pages (privacy / terms / 404) */
.page-hero { padding: calc(var(--header-h) + 64px) 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; }
.page-hero p { color: var(--muted); margin: 12px 0 0; }
.page-hero + .section { padding-top: 48px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 16px); padding-top: 8px; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.prose li { margin-bottom: .4em; }
.prose__meta { font-size: .92rem; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.toc { margin: 32px 0 8px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.toc__title { font: 600 .95rem var(--font-display); color: var(--ink); margin-bottom: 12px; }
.toc ol { padding-left: 1.3em; columns: 2 220px; column-gap: 32px; font-size: .94rem; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.callout { padding: 20px 24px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); margin-bottom: 1em; }
.callout p { margin: 0; }

/* Short pages (404): footer sits at the bottom of the screen, not mid-page */
.page-fill { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.page-fill main { flex: 1; display: flex; align-items: center; }
.page-fill main > * { width: 100%; }
.footer--compact { padding: 28px 0; }
.footer--compact .footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; align-items: center; }
.footer--compact .footer__bottom ul { flex-wrap: wrap; gap: 8px 20px; }

.notfound { padding: calc(var(--header-h) + 56px) 0 72px; text-align: center; }
.notfound__code { margin: 0 0 8px; font: 700 clamp(6rem, 24vw, 11rem)/.9 var(--font-display); letter-spacing: -.06em; color: var(--ink); }
.notfound__code span { color: var(--blue); }
.notfound h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.notfound .lead { max-width: 520px; margin: 0 auto 32px; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.notfound__links { max-width: 560px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.notfound__links p { margin-bottom: 12px; color: var(--muted); font-size: .92rem; }
.notfound__links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.notfound__links a { font-weight: 600; color: var(--ink); text-decoration: none; }
.notfound__links a:hover { color: var(--blue); }
@media (max-width: 479px) { .notfound__actions .btn { width: 100%; } }

/* 10. MOTION --------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="zoom"] { transform: translateY(32px) scale(.97); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .mock__toast { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}
