/* =========================================================
   Aivexo Technologies — site styles
   Components adapted from Unlumen UI behaviour (Hover Feature Cards,
   Hover Expand, Cursor Image Trail, Tilt Card, Motion FAQs Accordion,
   Animate Digits) rebuilt in plain CSS/JS.
   ========================================================= */
:root {
  --ink: #0b0d11;
  --ink-2: #13161c;
  --ink-3: #1c2028;
  --paper: #f5f5f2;
  --paper-2: #ebebe6;
  --white: #ffffff;
  --text: #14171d;
  --muted: #5c626c;
  --line: #dadad3;
  --line-dark: #252a33;
  --accent: #74d0e2;       /* muted cyan */
  --accent-hover: #93dceb;
  --accent-ink: #06171c;
  --accent-deep: #1f7f93;
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --snav-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .hero :focus-visible, .snav :focus-visible, .snav-ctl :focus-visible { outline-color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; opacity: .6; }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; max-width: 22ch; }
.muted { color: var(--muted); font-size: .9rem; }
.note { color: var(--muted); font-size: .95rem; margin-top: 28px; max-width: 70ch; }
.note--dark { color: rgba(255,255,255,.5); }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* hover vs touch hints */
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--whatsapp { background: #25d366; color: #062b14; margin-top: 8px; }

/* =========================================================
   FLOATING NAVBAR
   ========================================================= */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex: none; }
.brand__mark { width: 28px; height: 28px; color: var(--white); display: inline-flex; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand__text span { font-weight: 500; opacity: .55; }

/* ---------- App shell: dark frame + inset rounded page (Unlumen layout) ---------- */
body { background: #111214; }
.frame {
  position: relative; background: var(--paper);
  margin: 12px 12px 12px calc(var(--snav-w) + 12px);
  border-radius: 22px; overflow: clip; min-height: calc(100vh - 24px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06);
  transition: margin-left .55s var(--ease-out);
}
body.snav-collapsed .frame { margin-left: 12px; }

/* ---------- Toggle + breadcrumb ---------- */
.snav-ctl {
  position: fixed; top: 14px; left: 14px; z-index: 80; height: 40px;
  display: flex; align-items: center; gap: 8px; padding: 0 14px 0 4px;
  border-radius: 12px; border: 1px solid transparent; color: var(--white); font-size: .9rem;
  transition: background .35s, border-color .35s;
}
body.snav-collapsed .snav-ctl {
  background: rgba(17,18,20,.72); border-color: rgba(255,255,255,.08);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.snav-ctl__btn {
  width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: none; color: rgba(255,255,255,.85); cursor: pointer; transition: background .2s, color .2s;
}
.snav-ctl__btn:hover { background: rgba(255,255,255,.08); color: var(--white); }
.snav-ctl__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.snav-ctl__pane { fill: currentColor; stroke: none; transition: opacity .3s; }
body.snav-collapsed .snav-ctl__pane { opacity: 0; }
.snav-ctl__brand { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.snav-ctl__brand:hover { color: var(--white); }
.snav-ctl__brand svg { width: 18px; height: 18px; color: var(--white); }
.snav-ctl__sep { color: rgba(255,255,255,.3); }
.snav-ctl__crumb { font-weight: 600; white-space: nowrap; }
.snav-ctl__crumb.is-swap { animation: crumb .35s var(--ease-out); }
@keyframes crumb { from { opacity: 0; transform: translateY(4px); filter: blur(2px); } }
.mcta { display: none; }

/* ---------- Sidebar ---------- */
.snav {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: var(--snav-w);
  display: flex; flex-direction: column; padding: 64px 0 18px; color: var(--white);
  transition: opacity .35s, transform .55s var(--ease-out), visibility 0s;
}
body.snav-collapsed .snav { opacity: 0; transform: translateX(-24px); visibility: hidden; transition: opacity .25s, transform .45s var(--ease-out), visibility 0s linear .45s; }
.snav__nav {
  flex: 1; min-height: 0; overflow-y: auto; padding: 32px 24px 56px; scrollbar-width: none;
  mask-image: linear-gradient(to bottom, transparent 0, #000 3rem, #000 calc(100% - 4rem), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 3rem, #000 calc(100% - 4rem), transparent 100%);
}
.snav__nav::-webkit-scrollbar { display: none; }
.snav__group { margin-bottom: 8px; }
.snav__glabel {
  display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 14px 0 12px;
  font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.35);
}
.snav__glabel span { font-size: .68rem; font-weight: 400; color: rgba(255,255,255,.25); font-variant-numeric: tabular-nums; }
.snav__row { position: relative; }
.snav__row .t { position: absolute; left: 0; height: 1px; background: rgba(255,255,255,.3); pointer-events: none; }
.snav__row .t1 { top: 0; width: 16px; }
.snav__row .t2 { top: 25%; width: 13px; }
.snav__row .t3 { top: 50%; width: 18px; margin-top: -.5px; background: rgba(255,255,255,.5); transition: background-color .3s; }
.snav__row .t4 { top: 75%; width: 13px; }
.snav__row.is-active .t3 { background: var(--accent); }
.snav__link {
  display: flex; align-items: center; padding: 3px 12px 3px 32px;
  color: var(--white); font-size: 1rem; text-decoration: none; white-space: nowrap;
  opacity: .3; transform-origin: left center; will-change: transform, opacity;
}
.snav__link:focus-visible { outline-offset: 0; }
.snav__foot { padding: 14px 24px 0; display: grid; gap: 10px; }
.snav__foot .btn { padding: 11px 14px; font-size: .86rem; }
.snav__foot p { margin: 0; font-size: .76rem; color: rgba(255,255,255,.35); text-align: center; }
.snav__foot p a { text-decoration: none; color: rgba(255,255,255,.55); transition: color .2s; }
.snav__foot p a:hover { color: var(--white); }
.snav-overlay { display: none; }

/* ---------- Tablet / mobile: drawer ---------- */
@media (max-width: 1100px) {
  .frame, body.snav-collapsed .frame { margin: 0; border-radius: 0; min-height: 0; }
  .snav-ctl, body.snav-collapsed .snav-ctl {
    background: rgba(17,18,20,.72); border-color: rgba(255,255,255,.08);
    backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  }
  .snav-ctl { top: 10px; left: 10px; }
  .snav-ctl__pane { opacity: 0; }
  .mcta { display: inline-flex; position: fixed; top: 12px; right: 12px; z-index: 75; }
  .snav, body.snav-collapsed .snav {
    width: min(300px, 86vw); padding-top: 64px;
    background: rgba(17,18,20,.97); border-right: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 1; transform: translateX(-100%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
    box-shadow: 30px 0 60px -24px rgba(0,0,0,.6);
  }
  .snav.is-open, body.snav-collapsed .snav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .snav.is-open ~ .snav-ctl, .snav-ctl.is-drawer { z-index: 90; }
  .snav-overlay {
    display: block; position: fixed; inset: 0; z-index: 68; background: rgba(5,6,8,.55);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .snav-overlay.is-on { opacity: 1; pointer-events: auto; }
  .snav__link { padding-top: 5px; padding-bottom: 5px; font-size: 1.05rem; }
}
@media (max-width: 420px) {
  .snav-ctl__brand { font-size: 0; gap: 0; }
  .mcta { padding: 8px 12px; font-size: .8rem; }
}

/* =========================================================
   HERO + CURSOR IMAGE TRAIL + ANIMATE DIGITS
   ========================================================= */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 120px 0 72px; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  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 80% 70% at 70% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; width: 720px; height: 720px; right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(116,208,226,.13), transparent 62%); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero .eyebrow { color: var(--accent); }
.hero__title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 700; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.7); max-width: 60ch; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 48px; }
.hero__stats li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.hero__stats p { flex-basis: 100%; margin: 4px 0 0; font-size: .86rem; color: rgba(255,255,255,.55); }
.hero__unit, .hero__word { font-family: var(--font-display); font-weight: 600; }
.hero__unit { font-size: 1.1rem; color: rgba(255,255,255,.7); }
.hero__word { font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }

/* Animate Digits */
.digits { display: inline-flex; font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.digits__col { display: inline-block; height: 1em; overflow: hidden; }
.digits__strip { display: flex; flex-direction: column; will-change: transform; }
.digits__strip span { height: 1em; display: block; }

/* Cursor Image Trail */
.trail { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.trail__item {
  position: absolute; left: 0; top: 0; width: 168px; aspect-ratio: 3 / 2;
  border-radius: 14px; overflow: hidden; background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s, 1));
  opacity: var(--o, 1);
  transition: opacity .35s ease, transform .5s var(--ease-out);
  animation: trailIn .45s var(--ease-out) both;
}
.trail__item svg { width: 100%; height: 100%; display: block; padding: 6px; }
.trail__item.is-out { opacity: 0; --s: .7; }
@keyframes trailIn { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }

.pillars { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 72px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: rgba(19,22,28,.92); padding: 28px; }
.pillar__num { font-family: var(--font-display); color: var(--accent); font-size: .85rem; font-weight: 600; display: block; margin-bottom: 18px; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: rgba(255,255,255,.58); font-size: .93rem; margin: 0; }
@media (max-width: 860px) {
  .hero { padding: 128px 0 48px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pillars { grid-template-columns: 1fr; margin-top: 48px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .section__sub { color: rgba(255,255,255,.6); }
.section__head { margin-bottom: 52px; }
.section__sub { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin: 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section__head { margin-bottom: 36px; } }

.intro { padding: 88px 0; border-bottom: 1px solid var(--line); }
.intro__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.intro__inner p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 860px) { .intro__inner { grid-template-columns: 1fr; gap: 20px; } .intro { padding: 64px 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: #3a3f48; }

/* Illustration palette (shared by service cards, trail, project placeholders) */
.i-s1 { fill: #1b2029; stroke: rgba(255,255,255,.07); }
.i-s2 { fill: #272d38; }
.i-l { fill: rgba(255,255,255,.22); }
.i-a { fill: var(--accent); }
.i-al { fill: rgba(6,23,28,.45); }
.i-ring { fill: none; stroke: var(--accent); stroke-width: 2; }
.i-stroke { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 2; }
.i-stroke-a { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   HOVER FEATURE CARDS (Services)
   ========================================================= */
.hfc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hfc {
  position: relative; height: 440px; border-radius: 24px; overflow: hidden;
  background: var(--ink); color: var(--white); border: 1px solid var(--line-dark);
  outline: none; cursor: default; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.hfc:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent-deep); }
.hfc__art { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 26px; }
.hfc__art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hfc__head { display: flex; gap: 14px; align-items: baseline; position: relative; z-index: 1; }
.hfc__num { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--accent); }
.hfc__head h3 { font-size: 1.35rem; margin: 0; max-width: 16ch; }
.hfc__illo { flex: 1; display: grid; place-items: center; padding: 8px 0 24px; transition: transform .6s var(--ease-out), opacity .4s; }
.hfc__illo svg { width: 100%; max-width: 280px; height: auto; }
.hfc__panel {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: var(--white); color: var(--text); border-radius: 16px; padding: 20px;
  transform: translateY(calc(100% + 14px));
  transition: transform .55s cubic-bezier(.2, 1.15, .35, 1);
}
.hfc__panel p { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.hfc__panel .chips li { font-size: .76rem; padding: 4px 9px; }
@media (hover: hover) {
  .hfc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,13,17,.6); }
  .hfc:hover .hfc__panel, .hfc:focus-within .hfc__panel { transform: translateY(0); }
  .hfc:hover .hfc__illo, .hfc:focus-within .hfc__illo { transform: translateY(-34px) scale(.9); opacity: .5; }
}
/* keyboard users on any device */
.hfc:focus-visible .hfc__panel { transform: translateY(0); }
/* touch: description always visible below illustration */
@media (hover: none) {
  .hfc { height: auto; }
  .hfc__art { position: relative; height: 250px; }
  .hfc__panel { position: relative; left: auto; right: auto; bottom: auto; margin: 0 10px 10px; transform: none; }
}
/* 2 columns whenever the content area is narrow (sidebar takes 252px above 1100px) */
@media (max-width: 1360px) { .hfc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .hfc-grid { grid-template-columns: 1fr; } }

/* ---------- Who we serve ---------- */
.serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.serve__item { background: var(--paper-2); padding: 28px 24px; }
.serve__item p { color: var(--muted); font-size: .93rem; margin: 0; }
.serve__item--accent { background: var(--accent); }
.serve__item--accent p { color: var(--accent-ink); margin-bottom: 14px; }
@media (max-width: 1000px) { .serve { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .serve { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.industries button {
  background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .2s;
}
.industries button:hover { border-color: var(--ink); }
.industries button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ind-panel { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: center; min-height: 200px; }
.ind-panel h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0; }
.ind-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ind-list li { padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); font-weight: 500; display: flex; gap: 12px; align-items: center; animation: fadeUp .35s ease both; }
.ind-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) { .ind-panel { grid-template-columns: 1fr; padding: 28px 20px; } }
@media (max-width: 480px) { .ind-list { grid-template-columns: 1fr; } .industries { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .industries button { flex: none; } }

/* =========================================================
   HOVER EXPAND (Work)
   ========================================================= */
.hx { display: flex; flex-direction: column; gap: 10px; }
.hx__row {
  --p: 0; /* expansion progress 0..1, set by JS */
  position: relative; height: 76px; overflow: hidden; border-radius: 18px;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  transition: opacity .35s ease, border-color .3s;
}
.hx.has-active .hx__row:not(.is-active) { opacity: .38; }
.hx__row.is-active { border-color: rgba(116,208,226,.35); }
.hx__media {
  position: absolute; inset: 0; opacity: var(--p);
  transform: scale(calc(1.06 - .06 * var(--p))); transform-origin: center;
}
.hx__media img { width: 100%; height: 100%; object-fit: cover; }
.hx__ph {
  position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 6%;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px; background-color: #0f1217;
}
.hx__ph svg { width: min(46%, 440px); height: auto; opacity: .9; }
.hx__ph-label { position: absolute; right: 16px; top: 88px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hx__shade {
  position: absolute; inset: 0; opacity: var(--p); pointer-events: none;
  background: linear-gradient(90deg, rgba(11,13,17,.94) 0%, rgba(11,13,17,.75) 45%, rgba(11,13,17,.15) 100%),
              linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.1) 60%);
}
.hx__head {
  position: relative; z-index: 2; width: 100%; height: 76px; padding: 0 22px;
  display: flex; align-items: center; gap: 18px; text-align: left;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.hx__idx { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--accent); width: 22px; flex: none; }
.hx__label { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx__sub { color: rgba(255,255,255,.45); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.hx__plus { position: relative; width: 14px; height: 14px; flex: none; }
.hx__plus::before, .hx__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: transform .4s var(--ease-out); }
.hx__plus::after { transform: rotate(90deg); }
.hx__row.is-active .hx__plus::after { transform: rotate(0deg); }
.hx__detail {
  position: absolute; z-index: 2; left: 62px; right: 22px; bottom: 26px; max-width: 620px;
  opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .45s var(--ease-out);
}
.hx__row.is-active .hx__detail { opacity: 1; transform: none; transition-delay: .12s; }
.hx__detail p { color: rgba(255,255,255,.82); font-size: .97rem; margin-bottom: 14px; }
.hx__caps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.hx__caps li { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.hx__links { display: flex; gap: 18px; flex-wrap: wrap; }
.hx__links .muted { color: rgba(255,255,255,.45); }
.hx__links .link { color: var(--accent); }

.status { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--done { background: rgba(116,208,226,.12); color: var(--accent); }
.status--wip { background: rgba(245,181,61,.12); color: #f5b53d; }
.status--wip::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

@media (max-width: 760px) {
  .hx__head { flex-wrap: wrap; height: auto; min-height: 76px; padding: 16px 18px; gap: 4px 12px; align-content: center; }
  .hx__label { flex: 1 1 calc(100% - 60px); white-space: normal; }
  .hx__sub { order: 5; flex-basis: 100%; padding-left: 34px; white-space: normal; }
  .hx__head .status { order: 4; margin-left: 34px; }
  .hx__plus { order: 2; }
  .hx__detail { left: 18px; right: 18px; bottom: 20px; }
  .hx__ph svg { display: none; }
  .hx__ph-label { display: none; }
}

/* =========================================================
   TILT CARDS (Why)
   ========================================================= */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1000px; }
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt__inner {
  position: relative; height: 100%; min-height: 220px; padding: 30px; border-radius: 22px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .4s var(--ease-out);
}
.tilt.is-hover .tilt__inner { border-color: #c9d8dc; box-shadow: 0 30px 60px -32px rgba(11,13,17,.45); }
.tilt__shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(116,208,226,.22), transparent 55%);
}
.tilt.is-hover .tilt__shine { opacity: 1; }
.tilt__badge {
  position: relative; display: inline-block; margin-bottom: 40px; font-size: .74rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; background: var(--ink); color: var(--accent); letter-spacing: .02em;
}
.tilt h3 { position: relative; font-size: 1.3rem; }
.tilt p { position: relative; color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .tilt__inner { min-height: 0; } .tilt__badge { margin-bottom: 24px; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.process li { position: relative; padding-top: 28px; }
.process li::before { content: ""; position: absolute; top: 0; left: 0; right: -16px; height: 2px; background: var(--line); }
.process li:last-child::before { right: 0; }
.process li::after { content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--paper-2); }
.process__n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: #c9c9c1; display: block; line-height: 1; margin-bottom: 14px; }
.process p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 0 32px 36px; }
  .process li::before { top: 6px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .process li:last-child::before { display: none; }
  .process li::after { top: 0; }
  .process__n { font-size: 1.6rem; margin-bottom: 6px; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about > div > p { color: var(--muted); font-size: 1.04rem; }
.about__sign { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text) !important; margin-top: 28px; }
.about__sign span { display: block; color: var(--muted); font-weight: 500; }
.about__cards { display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.card p:last-child { margin: 0; font-size: 1rem; }
.card .eyebrow { margin-bottom: 10px; color: var(--text); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 36px; } }

/* =========================================================
   TECH LOGO MARQUEE
   ========================================================= */
.tech .section__head { margin-bottom: 40px; }
.marquee {
  overflow: hidden; padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track li { margin-right: 12px; }
.marquee[data-dir="right"] .marquee__track { animation-direction: reverse; animation-duration: 28s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 14px;
  border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-dark);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; white-space: nowrap;
}
.marquee__track small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; color: rgba(255,255,255,.42); margin-left: 4px; text-transform: uppercase; letter-spacing: .08em; }
.mq__mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ink-3); color: var(--accent); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Engagement ---------- */
.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.engage__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.engage__card > p { color: var(--muted); font-size: .95rem; }
.engage__card--accent { background: var(--accent); border-color: var(--accent); }
.engage__card--accent > p { color: var(--accent-ink); }
.engage__card--accent .btn { margin-top: auto; align-self: flex-start; }
.ticks { display: grid; grid-template-columns: 1fr; gap: 6px 16px; margin: 6px 0 0; }
.ticks li { font-size: .9rem; padding-left: 22px; position: relative; color: #3a3f48; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep); transform: rotate(-45deg); }
.support { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; padding: 30px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.support p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .engage { grid-template-columns: 1fr; } .support { grid-template-columns: 1fr; gap: 18px; padding: 24px; } }

/* =========================================================
   MOTION FAQ ACCORDION
   ========================================================= */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item.is-open { border-color: #c4d3d7; box-shadow: 0 16px 36px -26px rgba(11,13,17,.4); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em;
}
.faq__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); flex: none; transition: transform .45s cubic-bezier(.3, 1.4, .4, 1), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--text); border-radius: 2px; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--ink); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--accent); }
.faq__a { height: 0; overflow: hidden; }
.faq__a-inner { padding: 0 22px 22px; transform: translateY(-6px); opacity: 0; transition: opacity .3s, transform .45s var(--ease-out); }
.faq__item.is-open .faq__a-inner { opacity: 1; transform: none; transition-delay: .06s; }
.faq__a p { color: var(--muted); margin: 0; font-size: .98rem; max-width: 62ch; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 480px) { .faq__q { padding: 18px; font-size: 1rem; } .faq__a-inner { padding: 0 18px 18px; } }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.book__info > p { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.facts { margin: 32px 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--ink-2); display: grid; grid-template-columns: 110px 1fr; padding: 16px 20px; gap: 12px; }
.facts dt { color: rgba(255,255,255,.5); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 500; }
.muted-on-dark { color: rgba(255,255,255,.5) !important; font-size: .9rem !important; }
.calendly-embed { min-width: 280px; height: 700px; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 420px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Forms ---------- */
.form { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 16px; }
.form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.7); }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--ink); border: 1.5px solid var(--line-dark); color: var(--white); font-size: .96rem; transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form input[type="date"], .form input[type="time"] { color-scheme: dark; }
.form .is-invalid { border-color: #ff6b6b !important; }
.form__status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-err { color: #ff8a8a; }
.form--light { background: var(--white); border-color: var(--line); }
.form--light label { color: var(--muted); }
.form--light input, .form--light select, .form--light textarea { background: var(--paper); border-color: var(--line); color: var(--text); }
.form--light input:focus, .form--light select:focus, .form--light textarea:focus { border-color: var(--ink); }
.form--light .form__status.is-ok { color: var(--accent-deep); }
.form--light .form__status.is-err { color: #c0392b; }
@media (max-width: 560px) { .form { padding: 22px; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.05rem; }
.contact__list { margin: 28px 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__list span { color: var(--muted); font-size: .86rem; }
.contact__list a, .contact__list p { margin: 0; font-weight: 500; text-decoration: none; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: 64px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0; max-width: 20ch; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 72px 0 28px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin-top: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.footer__col a { text-decoration: none; word-break: break-word; }
.footer__col a:hover { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; }
.footer__base a { text-decoration: none; }
@media (max-width: 860px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
  .trail { display: none; }
}
