/* =========================================================
   Nexa Technology — main stylesheet
   ========================================================= */

:root {
  --primary: #5b5bf7;
  --primary-dark: #4343d8;
  --accent: #00c2ff;
  --grad: linear-gradient(135deg, #5b5bf7 0%, #00c2ff 100%);

  --dark: #0a0e1f;
  --dark-2: #121833;
  --ink: #0f172a;
  --text: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f7ff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .15);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .25);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 25px -8px rgba(91, 91, 247, .6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(91, 91, 247, .7); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn--outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--primary-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
}
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would
   become the containing block for the fixed mobile nav. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 14, 31, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transition: opacity .3s;
}
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff; flex-shrink: 0; }
.logo__img { height: 44px; width: auto; }
.footer .logo__img { height: 52px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(91, 91, 247, .8);
}
.logo__mark svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1; }
.logo__text span { font-weight: 500; opacity: .7; margin-left: .25rem; font-size: .95rem; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .85rem; border-radius: 10px;
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .94rem;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }

.nav__item--drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 260px; padding: .6rem;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown a { display: block; padding: .6rem .85rem; border-radius: 9px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.dropdown a:hover { background: var(--tint); color: var(--primary); }
.nav__item--drop:hover .dropdown,
.nav__item--drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item--drop:hover .chev { transform: rotate(180deg); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 75% 35%, rgba(0, 194, 255, .14), transparent 70%),
    radial-gradient(ellipse 70% 60% at 30% 0%, rgba(91, 91, 247, .3), transparent 70%),
    var(--dark);
  color: rgba(255, 255, 255, .75);
  padding: calc(var(--header-h) + 70px) 0 110px;
}
/* Soft fade at the bottom so the banner blends into the technology strip below (no hard edge) */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 31, 0), var(--dark) 90%);
}
.hero__inner { z-index: 1; }
.hero .net-canvas { -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
/* Dark halo behind the headline so the animated network never competes with the text */
.hero__halo {
  position: absolute; left: 0; top: 50%; width: min(820px, 70%); height: 640px; transform: translateY(-45%);
  background: radial-gradient(closest-side, rgba(10, 14, 31, .88), transparent); pointer-events: none;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 560px; height: 560px; background: rgba(91, 91, 247, .45); top: -180px; left: -160px; }
.hero__glow--2 { width: 500px; height: 500px; background: rgba(0, 194, 255, .28); bottom: -220px; right: -120px; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #fff; font-size: .85rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }

.hero__title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__trust { display: flex; align-items: center; gap: 1rem; }
.hero__trust small { color: rgba(255, 255, 255, .6); }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c); color: #fff; font-size: .75rem; font-weight: 700;
  border: 3px solid var(--dark); margin-left: -12px;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: .95rem; }
.stars strong { color: #fff; letter-spacing: 0; margin-left: .3rem; }

/* Hero visual */
.hero__visual { position: relative; height: 480px; }
.mock-dash {
  position: absolute; top: 20px; left: 0; right: 40px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  animation: float 7s ease-in-out infinite;
}
.mock-dash__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock-dash__bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-dash__bar i:nth-child(2) { background: #fbbf24; }
.mock-dash__bar i:nth-child(3) { background: #34d399; }
.mock-dash__bar span { margin-left: 12px; font-size: .72rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; }
.mock-dash__body { display: flex; height: 300px; }
.mock-dash__side { width: 60px; background: var(--dark-2); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.mock-dash__side b { height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.mock-dash__side b:first-child { height: 24px; background: var(--grad); border-radius: 7px; }
.mock-dash__main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; font-size: .65rem; color: var(--muted); }
.kpi strong { display: block; color: var(--ink); font-size: 1rem; }
.kpi em { font-style: normal; font-size: .65rem; font-weight: 700; color: #10b981; }
.chart { flex: 1; display: flex; align-items: flex-end; gap: 8%; padding: 10px 6px 0; border-radius: 10px; background: linear-gradient(180deg, #f8faff, #fff); border: 1px solid var(--line); }
.chart span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: var(--grad); opacity: .85; transform-origin: bottom; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.chart span:nth-child(odd) { opacity: .45; }
@keyframes grow { from { transform: scaleY(0); } }

.mock-phone {
  position: absolute; right: 0; bottom: 0;
  width: 200px; height: 400px;
  background: #0b0f1e; border-radius: 34px; padding: 10px;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .7), 0 0 0 2px rgba(255, 255, 255, .08);
  animation: float 6s ease-in-out infinite reverse;
}
.mock-phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 10px; background: #0b0f1e; z-index: 2; }
.mock-phone__screen { height: 100%; border-radius: 26px; background: linear-gradient(180deg, #f5f7ff, #fff); padding: 44px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.mp-head { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--ink); }
.mp-head span { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); }
.mp-card { background: var(--grad); color: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 10px 20px -8px rgba(91, 91, 247, .6); }
.mp-card small { font-size: .65rem; opacity: .85; display: block; }
.mp-card strong { font-size: 1.1rem; }
.mp-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.mp-row i { width: 22px; height: 22px; border-radius: 7px; background: #e0e7ff; }
.mp-row span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.mp-btn { margin-top: auto; text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px; font-size: .75rem; font-weight: 700; }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .96); border-radius: 14px; padding: .7rem 1rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  animation: float 5s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: .85rem; color: var(--ink); line-height: 1.2; }
.float-badge small { font-size: .72rem; color: var(--muted); }
.float-badge--1 { left: -30px; bottom: 60px; animation-delay: -1.5s; }
.float-badge--2 { right: 150px; top: -10px; animation-delay: -3s; }
.fb-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #dcfce7; color: #16a34a; font-weight: 800; }
.fb-icon--alt { background: #e0e7ff; color: var(--primary); }

@keyframes float { 50% { translate: 0 -12px; } }

/* Banner slideshow — slides cross-fade every 5s (see main.js) */
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(28px) scale(.97);
  transition: opacity .9s ease, transform .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease, transform .9s ease, visibility 0s; }
.hero-slide.is-leaving { transform: translateX(-28px) scale(.97); }
.hero-slide img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
  transform: scale(1.2);
  animation: float 6s ease-in-out infinite;
}
.hero-dots { position: absolute; left: 0; right: 0; top: calc(100% + 22px); display: flex; justify-content: center; flex-wrap: wrap; gap: .45rem; z-index: 2; }
.hero-dots button {
  font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer;
  padding: .35rem .8rem; border-radius: 999px;
  color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  position: relative; overflow: hidden; transition: color .25s, border-color .25s;
}
.hero-dots button:hover { color: #fff; }
.hero-dots button[aria-selected="true"] { color: #fff; border-color: rgba(91, 91, 247, .7); }
/* progress bar fills while a slide is showing */
.hero-dots button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform-origin: left; animation: slide-progress 5s linear forwards;
}
.hero__visual.is-paused .hero-dots button[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--dark); padding: 0 0 50px; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.marquee__label { text-align: center; color: rgba(255, 255, 255, .45); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; margin-bottom: 1.3rem; }
.marquee__track {
  display: flex; width: max-content;
  animation: scroll 40s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; gap: 1rem; padding-right: 1rem; }
.marquee__row span {
  padding: .6rem 1.3rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -1px; padding: 0; background: linear-gradient(var(--dark) 50%, var(--bg) 50%); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: translateY(0);
}
.stat { padding: 2.2rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.stat > span { font-weight: 600; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: rgba(91, 91, 247, .25); filter: blur(120px); top: -200px; right: -200px;
}
.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; position: relative; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section__head p { font-size: 1.06rem; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255, 255, 255, .65); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; text-align: left; }
.section__head--row h2 { margin: 0; }

.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  color: var(--primary);
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--grad); vertical-align: middle; margin-right: .6rem; }
.eyebrow--light { color: var(--accent); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.services .service { padding: 1.7rem; }
.services .service h3 { font-size: 1.15rem; }
.services .service p { font-size: .93rem; }
@media (max-width: 1180px) { .services { grid-template-columns: repeat(2, 1fr); } }
.service {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.service::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 12px 24px -10px var(--c1);
}
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.service p { font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .3rem 0 1.5rem; }
.tags li { font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--tint); color: var(--primary-dark); }
.service__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--primary); font-size: .95rem; }
.service__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.service__link:hover svg { transform: translateX(4px); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.why__intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.why__intro p { font-size: 1.06rem; margin-bottom: 2rem; }
.why__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* 3D icons (Microsoft Fluent 3D, MIT licence) — images/icons/*.png */
.feature__icon, .industry > span, .sector__icon { display: block; width: 56px; height: 56px; margin-bottom: 1rem; }
.feature__icon img, .industry > span img, .sector__icon img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .18));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.industry > span img { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.feature:hover .feature__icon img, .plan:hover .feature__icon img, .mv:hover .feature__icon img,
.industry:hover > span img, .sector:hover .sector__icon img { transform: translateY(-5px) rotate(-6deg) scale(1.08); }
.feature h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature p { font-size: .92rem; margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step { position: relative; padding: 2rem; border-radius: var(--radius); background: var(--tint); overflow: hidden; transition: background .3s, transform .3s; }
.step:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.step__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1.2rem;
}
.step h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- Industries ---------- */
.industries { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.industry {
  padding: 1.8rem 1.5rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, border-color .3s, transform .3s;
}
.industry:hover { background: rgba(91, 91, 247, .14); border-color: rgba(91, 91, 247, .5); transform: translateY(-4px); }
.industry h4 { color: #fff; font-size: 1.1rem; margin-bottom: .3rem; }
.industry p { color: rgba(255, 255, 255, .55); font-size: .9rem; margin: 0; }

/* ---------- Work ---------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.case { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case__cover { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--dark); }
.case__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case:hover .case__cover img { transform: scale(1.04); }
.case__body { padding: 1.6rem; }
.case__tag { font-size: .78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.case h3 { font-size: 1.2rem; margin: .5rem 0; }
.case p { font-size: .94rem; }
.case__result { padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.case__result strong { font-size: 1.4rem; margin-right: .3rem; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote { margin: 0; padding: 2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; position: relative; }
.quote::before { content: "\201C"; position: absolute; right: 1.5rem; top: .2rem; font-size: 5rem; line-height: 1; font-family: Georgia, serif; color: var(--tint); }
.quote blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption small { color: var(--muted); }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.faq__intro a { color: var(--primary); font-weight: 700; }
.faq__list { display: flex; flex-direction: column; gap: .9rem; }
.faq__list details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq__list details[open] { border-color: rgba(91, 91, 247, .35); box-shadow: var(--shadow); }
.faq__list summary {
  list-style: none; cursor: pointer;
  padding: 1.2rem 3.5rem 1.2rem 1.4rem; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--primary); font-size: 1.3rem; font-weight: 600; transition: transform .25s, background .25s, color .25s;
}
.faq__list details[open] summary::after { content: "−"; background: var(--grad); color: #fff; }
.faq__list details p { padding: 0 1.4rem 1.3rem; margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 20px; }
.cta__box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3.5rem 4rem; border-radius: 28px;
  background: var(--grad);
  box-shadow: 0 30px 60px -20px rgba(91, 91, 247, .6);
}
.cta__box::before, .cta__box::after { content: ""; position: absolute; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.cta__box::before { width: 320px; height: 320px; right: -80px; top: -160px; }
.cta__box::after { width: 220px; height: 220px; left: 30%; bottom: -170px; }
.cta__box > * { position: relative; z-index: 1; }
/* Flowing gradient, rotating rings and a light sweeping across the button */
.cta__box { background: linear-gradient(120deg, #5b5bf7, #00c2ff, #7c3aed, #5b5bf7); background-size: 300% 300%; animation: cta-flow 10s ease-in-out infinite; }
.cta__box::before { border-style: dashed; animation: cta-spin 18s linear infinite; }
.cta__box::after { animation: cta-drift 7s ease-in-out infinite; }
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(91, 91, 247, .35), transparent);
  transform: skewX(-20deg); animation: btn-shine 3.2s ease-in-out infinite;
}
@keyframes cta-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes cta-spin { to { transform: rotate(360deg); } }
@keyframes cta-drift { 50% { transform: translate(40px, -20px); } }
@keyframes btn-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

/* Banner spotlight (follows the mouse — see main.js) and pulsing primary button */
.spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(91, 91, 247, .4), rgba(0, 194, 255, .14) 45%, transparent 70%);
}
[data-spotlight].is-lit .spot { opacity: 1; }
/* Main call-to-action buttons: colours flow continuously and the arrow nudges forward */
.btn--flow {
  background: linear-gradient(90deg, #5b5bf7, #00c2ff, #7c3aed, #5b5bf7);
  background-size: 300% 100%; animation: btn-flow 4s linear infinite;
}
.btn--flow svg { animation: btn-nudge 1.6s ease-in-out infinite; }
.btn--flow:hover svg { transform: translateX(5px); }
@keyframes btn-flow { to { background-position: -300% 0; } }
@keyframes btn-nudge { 50% { transform: translateX(5px); } }
.cta__box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.cta__box p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.06rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact__info > p { font-size: 1.06rem; margin-bottom: 2rem; }
.contact__list { display: flex; flex-direction: column; gap: 1.2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__list a, .contact__list span:not(.ci) { color: var(--ink); font-weight: 700; }
.contact__list a:hover { color: var(--primary); }
.ci { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.ci svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.4rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: .45rem; font-weight: 700; font-size: .88rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 500; font-size: .95rem; color: var(--ink);
  padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcff;
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(91, 91, 247, .12); }
.form .is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .1); }
.form .check { flex-direction: row; align-items: flex-start; gap: .7rem; font-weight: 500; font-size: .85rem; color: var(--text); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); }
.form .check a { color: var(--primary); font-weight: 700; }
.form__status { margin: 0; font-weight: 600; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form__status.is-success { color: #16a34a; }
.form__status.is-error { color: #dc2626; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--dark); color: rgba(255, 255, 255, .6); padding-top: 80px; margin-top: 30px; }
.footer > .container { position: relative; }
.footer .net-canvas { opacity: .35; }
.footer .spot { background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(91, 91, 247, .22), rgba(0, 194, 255, .06) 45%, transparent 70%); }
/* Flowing gradient line along the top edge */
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), #7c3aed, var(--primary), transparent);
  background-size: 200% 100%; animation: footer-line 6s linear infinite;
}
@keyframes footer-line { to { background-position: -200% 0; } }
/* Link hover: slide + gradient underline */
.footer ul a {
  display: inline-block; padding-bottom: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent)) no-repeat 0 100% / 0 2px;
  transition: color .25s, transform .25s, background-size .3s;
}
.footer ul a:hover { color: #fff; transform: translateX(4px); background-size: 100% 2px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 60px; }
.footer__brand p { margin: 1.3rem 0 1.5rem; max-width: 340px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer ul { display: flex; flex-direction: column; gap: .7rem; }
.footer ul a:hover { color: #fff; }
.footer__contact li { overflow-wrap: anywhere; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .25s, transform .25s, box-shadow .25s; }
.socials a:hover { background: var(--grad); transform: translateY(-4px); box-shadow: 0 10px 22px -8px rgba(91, 91, 247, .8); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer__bottom div { display: flex; gap: 1.5rem; }
.footer__bottom a:hover { color: #fff; }

/* =========================================================
   Inner pages
   ========================================================= */
.nav__link.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.dropdown__all { margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px !important; color: var(--primary) !important; }

/* Page hero */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(91, 91, 247, .28), transparent 70%), #070b1a;
  color: rgba(255, 255, 255, .72);
  padding: calc(var(--header-h) + 60px) 0 90px;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent); }
.page-hero .container { position: relative; }
/* Animated network (js/hero-network.js) with a soft dark halo so the heading stays readable */
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero__glow {
  position: absolute; left: 50%; top: 55%; width: min(680px, 100%); height: 300px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(7, 11, 26, .85), transparent); pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; max-width: 880px; margin: 0 auto 1rem; }
.page-hero__lead { font-size: 1.12rem; max-width: 720px; margin: 0 auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.page-hero .service__icon.page-hero__icon { margin: 0 auto 1.4rem; width: 68px; height: 68px; border-radius: 20px; }
.page-hero .service__icon.page-hero__icon svg { width: 32px; height: 32px; }
.page-hero--full { min-height: 100vh; display: grid; place-items: center; }
.error-code { font-size: clamp(6rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin: 0 0 .5rem; letter-spacing: -.05em; }

.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; font-size: .88rem; font-weight: 600; margin-bottom: 1.6rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .35; }
.breadcrumb a { color: rgba(255, 255, 255, .65); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--accent); }

/* Grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.section--tint .step { background: #fff; }

/* Split intro + side card */
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.lead-p { font-size: 1.05rem; }

.checklist { display: grid; gap: .8rem; margin-top: 1.6rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: .15rem;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800;
}
.checklist--sm { margin-top: 1.2rem; gap: .55rem; }
.checklist--sm li { font-size: .93rem; }

.info-card {
  position: sticky; top: calc(var(--header-h) + 30px);
  background: var(--dark); color: rgba(255, 255, 255, .7);
  border-radius: 24px; padding: 2.2rem; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.info-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(91, 91, 247, .35); filter: blur(70px); top: -120px; right: -100px; }
.info-card > * { position: relative; }
.info-card h3 { color: #fff; font-size: 1.3rem; }
.info-card dl { margin: 1.2rem 0 1.8rem; }
.info-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.info-card dt { font-size: .9rem; }
.info-card dd { margin: 0; color: #fff; font-weight: 700; text-align: right; font-size: .92rem; }
.info-card__note { font-size: .82rem; text-align: center; margin: 1rem 0 0; }

/* Tech chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 960px; margin: 0 auto; }
.chips li {
  padding: .7rem 1.3rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; color: var(--ink); font-size: .95rem; transition: border-color .2s, color .2s, transform .2s;
}
.chips li:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* Related services */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.related__item {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-weight: 700; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related__item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--primary); }
.related__item span { flex: 1; line-height: 1.3; }
.related__item > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.service__icon--sm { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.service__icon--sm svg { width: 21px; height: 21px; }

/* Engagement plans */
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 1.3rem; margin-top: 1rem; }
.plan--featured { border: 2px solid var(--primary); box-shadow: 0 20px 50px -20px rgba(91, 91, 247, .45); }
.plan__badge { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 800; padding: .3rem .75rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }

/* About */
.about-visual { position: relative; height: 440px; border-radius: 28px; background: var(--dark); overflow: hidden; }
.about-visual::before, .about-visual::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.about-visual::before { width: 320px; height: 320px; background: rgba(91, 91, 247, .55); top: -80px; left: -60px; }
.about-visual::after { width: 280px; height: 280px; background: rgba(0, 194, 255, .4); bottom: -80px; right: -60px; }
.about-visual__logo {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 32px;
  box-shadow: 0 30px 60px -15px rgba(91, 91, 247, .8);
}
.about-visual__logo img { width: 100%; height: 100%; }
.about-visual__card {
  position: absolute; z-index: 2; background: rgba(255, 255, 255, .95); border-radius: 16px; padding: .9rem 1.2rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite;
}
.about-visual__card strong { display: block; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.about-visual__card span { font-size: .8rem; font-weight: 600; }
.about-visual__card--1 { top: 12%; left: 8%; }
.about-visual__card--2 { top: 20%; right: 8%; animation-delay: -2s; }
.about-visual__card--3 { bottom: 12%; left: 30%; animation-delay: -4s; }

.mv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; }
.mv h3 { font-size: 1.5rem; margin-top: 1rem; }
.mv p { font-size: 1.05rem; margin: 0; }
.stats--plain { background: none; padding-top: 90px; }

.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem; transition: transform .3s, box-shadow .3s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 1.5rem; font-weight: 800; box-shadow: 0 0 0 6px var(--tint); }
.member h4 { margin-bottom: .2rem; }
.member p { margin: 0; color: var(--primary); font-weight: 600; font-size: .92rem; }

/* Portfolio filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 3rem; }
.filters button {
  font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  padding: .65rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.filters button:hover { border-color: var(--primary); color: var(--primary); }
.filters button.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.filters__empty { text-align: center; font-weight: 600; }
.filters__empty a { color: var(--primary); }
.case.is-hidden { display: none; }

/* Industries */
.industry { display: block; }
.sector { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; scroll-margin-top: calc(var(--header-h) + 20px); transition: transform .3s, box-shadow .3s, border-color .3s; }
.sector:hover, .sector:target { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sector:target { outline: 2px solid var(--primary); }
.sector .sector__icon { width: 64px; height: 64px; margin-bottom: 1.2rem; }
.sector h3 { font-size: 1.35rem; }
.sector .tags { margin-bottom: 0; }

/* Careers */
.jobs { display: grid; gap: 1rem; max-width: 900px; margin: 0 auto; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.8rem; transition: box-shadow .2s, border-color .2s; }
.job:hover { box-shadow: var(--shadow); border-color: rgba(91, 91, 247, .35); }
.job h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.job__meta li { font-size: .8rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; background: var(--tint); color: var(--primary-dark); }
.jobs__note { text-align: center; margin: 2rem 0 0; }
.jobs__note a { color: var(--primary); font-weight: 700; }

/* Contact page */
.hours { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius); background: var(--tint); }
.hours h4 { margin-bottom: .8rem; }
.hours dl { margin: 0; }
.hours dl div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hours dl div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink); font-weight: 700; }
.map { padding: 0 0 110px; background: var(--tint); }
.map__box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 300px; border-radius: 28px; padding: 2rem;
  background:
    linear-gradient(rgba(91, 91, 247, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(91, 91, 247, .06) 1px, transparent 1px) 0 0 / 40px 40px,
    #fff;
  border: 1px solid var(--line);
}
.map__box .ci { margin-bottom: 1rem; }
.map__box h3 { margin-bottom: .3rem; }
.map__box p { margin: 0; }
.map__link { margin-top: 1.2rem; }

/* Legal / long-form text */
.prose { max-width: 820px; }
.prose__updated { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: var(--tint); color: var(--primary-dark); font-weight: 700; font-size: .85rem; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin: 0 0 1em; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__list { gap: 0; }
  .nav__link { padding: .5rem .6rem; font-size: .9rem; }
  .nav { gap: 1rem; }
}

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem 20px 2rem; background: var(--dark);
    overflow-y: auto;
    /* Fade/slide down rather than parking the panel off-screen to the right,
       which would widen the layout viewport on mobile browsers. */
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .header.menu-open::before { opacity: 1; background: var(--dark); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link { padding: .9rem 1rem; font-size: 1.05rem; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .04); margin: .2rem 0 .6rem; display: none; }
  .dropdown a { color: rgba(255, 255, 255, .75); }
  .dropdown a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .nav__item--drop.is-expanded .dropdown { display: block; }
  .nav__item--drop.is-expanded .chev { transform: rotate(180deg); }
  .nav__item--drop:hover .chev { transform: none; }
  .nav__cta { width: 100%; }

  .hero { padding: calc(var(--header-h) + 50px) 0 80px; }
  .hero__visual { margin-bottom: 72px; } /* room for the slideshow labels */
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__halo { width: 100%; left: 0; top: 0; height: 60%; transform: none; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; height: 440px; }

  .services, .work { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .why, .faq, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .faq__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__box { flex-direction: column; text-align: center; padding: 3rem 2rem; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--even { grid-template-columns: 1fr; gap: 3rem; }
  .info-card { position: static; }
  .about-visual { height: 380px; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .container { width: calc(100% - 32px); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services, .work, .testimonials, .process, .why__grid, .form__row { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__visual { height: 380px; }
  .mock-dash { right: 20px; }
  .mock-dash__body { height: 230px; }
  .mock-phone { width: 150px; height: 300px; border-radius: 28px; }
  .mock-phone__screen { border-radius: 20px; padding-top: 38px; gap: 7px; }
  .mp-row:nth-of-type(4) { display: none; }
  .mp-card strong { font-size: .9rem; }
  .float-badge--1 { left: 0; bottom: 20px; }
  .float-badge--2 { display: none; }
  .form { padding: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { flex-direction: column; text-align: center; }
  .logo__img { height: 38px; }
  .hero-slide img { transform: scale(1.04); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 70px; }
  .page-hero__actions .btn { width: 100%; }
  .job { flex-direction: column; align-items: flex-start; }
  .job .btn { width: 100%; }
  .about-visual__card { padding: .7rem .9rem; }
  .about-visual__card strong { font-size: 1.2rem; }
  .about-visual__card--3 { left: 18%; }
  .info-card, .mv, .sector { padding: 1.6rem; }
  .map { padding-bottom: 80px; }
}
