/* ==========================================================================
   EXA ERP — Corporate one-page website
   Author stylesheet. Bootstrap 5 provides the grid, accordion and form base;
   everything below is the EXA visual layer.

   Contents
   01. Design Tokens
   02. Preloader
   03. Base & Typography
   04. Reusable UI
   05. Header / Navigation
   06. Hero + Product Mock-up
   07. About
   08. Features
   09. Modules
   10. Services
   11. Clients Marquee
   12. FAQ
   13. Contact & Request
   14. Demo Request
   15. Footer
   16. Error Page
   17. Floating WhatsApp
   18. Trust Strip
   19. Videos & Walkthroughs
   20. Live Dashboard
   21. Systems Tabs
   22. Scope Calculator
   23. Downloads
   24. Responsive
   ========================================================================== */


/* ---------- Start 01 - Design Tokens ---------- */
:root {
  /* Brand */
  --exa-orange:       #F97316;
  --exa-orange-dark:  #E2590A;
  --exa-tint:         #FFF3EA;

  /* Neutrals */
  --ink:              #101828;
  --ink-2:            #1B2537;
  --slate:            #5C6779;
  --line:             #ECEEF3;
  --surface:          #FFFFFF;
  --soft:             #F8F9FB;
  --warm:             #FFFCFA;

  /* Type */
  --font-ar:          "Readex Pro", system-ui, sans-serif;
  --font-en:          "Plus Jakarta Sans", system-ui, sans-serif;

  /* Metrics */
  --radius:           22px;
  --radius-sm:        14px;
  --shadow-sm:        0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -16px rgba(16, 24, 40, .14);
  --shadow-md:        0 2px 4px rgba(16, 24, 40, .04), 0 26px 50px -28px rgba(16, 24, 40, .24);
  --shadow-orange:    0 10px 22px -12px rgba(249, 115, 22, .42);
  --header-h:         72px;
  --ease:             cubic-bezier(.22, .61, .36, 1);
}
/* ---------- End 01 - Design Tokens ---------- */


/* ---------- Start 02 - Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--warm);
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-inner img { animation: preFloat 1.6s var(--ease) infinite alternate; }
@keyframes preFloat { to { transform: translateY(-8px); } }

.preloader-name {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--ink);
}
.preloader-bar {
  display: block;
  width: 132px;
  height: 2px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--exa-orange);
  border-radius: 99px;
  animation: preSlide 1.1s var(--ease) infinite;
}
@keyframes preSlide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}
/* ---------- End 02 - Preloader ---------- */


/* ---------- Start 03 - Base & Typography ---------- */
* { box-sizing: border-box; }

html {
  font-size: 14px;   /* two steps down from the browser default — a calmer overall scale */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* clip, not hidden: avoids the RTL scroll-origin offset */
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-wrap: pretty; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.38; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--exa-orange); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--exa-orange-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1220px; padding-inline: 24px; }

.section { padding: 120px 0; position: relative; }
.section--tight { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: #fff; overflow: hidden; }
.section--ink .section-text { color: rgba(255, 255, 255, .68); }
/* ---------- End 03 - Base & Typography ---------- */


/* ---------- Start 04 - Reusable UI ---------- */

/* -- Pill label -- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 18px;
  background: var(--exa-tint);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--exa-orange-dark);
}
.pill i { font-size: .95rem; }
.pill > span { white-space: nowrap; }
.pill--soft { background: var(--surface); border: 1px solid var(--line); color: var(--slate); }
.pill--soft i { color: var(--exa-orange); }
.pill--ink { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .86); }
.pill--ink i { color: var(--exa-orange); }
.section--soft .pill--soft { background: var(--surface); }

/* -- Headings -- */
.section-title {
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  line-height: 1.34;
  max-width: 34ch;
  text-wrap: balance;
}
.section-head--center .section-title { max-width: 30ch; }
.section-title--sm { font-size: clamp(1.3rem, 2.1vw, 1.72rem); }

.section-text {
  max-width: 54ch;
  margin-top: 18px;
  font-size: .98rem;
  color: var(--slate);
  text-wrap: pretty;
}
.section-text--end { margin-top: 0; }
.section-text--center { margin-inline: auto; }

.section-head { margin-bottom: 62px; }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .section-text { margin-inline: auto; }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 48px;
  justify-content: space-between;
  align-items: flex-end;
}

/* -- Buttons -- */
.btn-exa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-exa:hover { transform: translateY(-2px); }
.btn-exa--lg { padding: 17px 34px; font-size: 1rem; }

.btn-exa--solid { background: var(--exa-orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-exa--solid:hover { background: var(--exa-orange-dark); color: #fff; }

.btn-exa--light { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-exa--light:hover { border-color: var(--exa-orange); color: var(--exa-orange-dark); }
.btn-exa--light i { color: var(--exa-orange); }
/* ---------- End 04 - Reusable UI ---------- */


/* ---------- Start 05 - Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(16, 24, 40, .5); }

.header-inner { display: flex; align-items: center; gap: 26px; width: 100%; }

/* -- Brand -- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.brand-text b {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-text i { font-style: normal; font-size: .7rem; font-weight: 500; color: var(--exa-orange); }

/* -- Links -- */
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-links a {
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: .93rem;
  color: var(--slate);
  white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-links a.is-active { color: var(--exa-orange-dark); background: var(--exa-tint); }

/* -- Actions -- */
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.lang-switch i { color: var(--slate); font-size: 1rem; }
.lang-switch:hover { border-color: var(--exa-orange); color: var(--exa-orange-dark); }
.lang-switch:hover i { color: var(--exa-orange); }

/* -- Burger -- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.7px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.7px) rotate(-45deg); }
/* -- Reading progress line -- */
.scroll-progress {
  position: absolute;
  inset-block-end: -1px;
  inset-inline-start: 0;
  height: 2px;
  width: 0;
  background: var(--exa-orange);
  transition: width .12s linear;
}
/* ---------- End 05 - Header / Navigation ---------- */


/* ---------- Start 06 - Hero + Product Mock-up ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) 0 104px;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  max-width: 32ch;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.32;
  font-weight: 600;
  text-wrap: balance;
}
.hero-title em {  font-style: normal; color: var(--exa-orange); }

.hero-lead { max-width:58ch; margin-top: 20px; font-size:12px; color: var(--slate); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-trust {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust b { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.hero-trust span { font-size:14px; color: var(--slate); }

/* -- Product mock-up -- */
.hero-visual { position: relative; }

.app-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: #DDE1E8; }
.app-dots i:first-child { background: var(--exa-orange); }
.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  color: #9AA3B2;
}
.app-search em { font-style: normal; white-space: nowrap; overflow: hidden; }
.app-caret {
  width: 1.5px; height: 13px;
  background: var(--exa-orange);
  animation: caretBlink 1s steps(2, start) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.app-avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  background: var(--ink);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: .68rem;
  font-weight: 600;
  color: #fff;
}

.app-body { display: grid; grid-template-columns: 60px 1fr; }

.app-rail {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px 0;
  border-inline-end: 1px solid var(--line);
  justify-items: center;
}
.app-rail i {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  color: #B4BCC9;
  font-size: 1rem;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.app-rail i.is-on { background: var(--exa-tint); color: var(--exa-orange); }

.app-main { padding: 22px; display: grid; gap: 16px; }

.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px 15px; background: var(--soft); border-radius: var(--radius-sm); }
.kpi-label { display: block; font-size: .68rem; color: var(--slate); }
.kpi-value { display: block; margin-top: 5px; font-family: var(--font-en); font-size: 1.02rem; font-weight: 700; }
.kpi-delta { display: inline-flex; align-items: center; font-family: var(--font-en); font-size: .68rem; font-weight: 600; }
.kpi-delta--up { color: #17945B; }
.kpi-delta--flat { color: #98A2B3; }

.app-chart { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .76rem; }
.chart-head em { font-style: normal; color: #9AA3B2; font-size: .68rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 14px; }
.chart-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: var(--exa-orange);
  transition: height .9s var(--ease), background-color .5s var(--ease);
}
.chart-bars i.is-peak { background: var(--ink); }

.app-table { display: grid; gap: 8px; }
.row-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .78rem;
}
.row-line .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--exa-orange);
  flex: 0 0 auto;
  animation: dotPulse 2.6s var(--ease) infinite;
}
.row-line:nth-child(2) .dot { animation-delay: .5s; }
.row-line:nth-child(3) .dot { animation-delay: 1s; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, .5); }
  55%      { box-shadow: 0 0 0 5px rgba(249, 115, 22, 0); }
}
.row-line .tag {
  margin-inline-start: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .68rem;
  white-space: nowrap;
}
.tag--ok { background: #E7F6EE; color: #17945B; }
.tag--wait { background: #FFF3EA; color: var(--exa-orange-dark); }

/* -- Floating accent cards -- */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  animation: floatY 6s var(--ease) infinite alternate;
}
@keyframes floatY { to { transform: translateY(-12px); } }
.float-card b { display: block; font-size: .84rem; }
.float-card em { font-style: normal; font-size: .72rem; color: var(--slate); }
.float-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--exa-orange);
  border-radius: 11px;
  color: #fff;
  font-size: .95rem;
}
.float-icon--soft { background: var(--exa-tint); color: var(--exa-orange); }

.float-card--invoice  { inset-block-start: -26px; inset-inline-start: -22px; }
.float-card--branches { inset-block-end: -28px; inset-inline-end: -18px; animation-delay: -3s; }
/* ---------- End 06 - Hero + Product Mock-up ---------- */


/* ---------- Start 07 - About ---------- */
.check-list { display: grid; gap: 14px; margin: 30px 0 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate); }
.check-list i {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  flex: 0 0 24px;
  margin-top: 4px;
  background: var(--exa-tint);
  border-radius: 50%;
  color: var(--exa-orange);
  font-size: .8rem;
}

.stat-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-card--wide { grid-column: 1 / -1; }
.stat-card b { display: block; font-size: 1.05rem; }
.stat-card p { margin-top: 6px; font-size: .93rem; color: var(--slate); }
.stat-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.stat-card--dark p { color: rgba(255, 255, 255, .66); }

.stat-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  background: var(--exa-tint);
  border-radius: 14px;
  color: var(--exa-orange);
  font-size: 1.2rem;
}
.stat-icon--light { background: rgba(255, 255, 255, .1); color: var(--exa-orange); }

.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--exa-orange);
}
.stat-card > .stat-num + p { margin-top: 10px; }
/* ---------- End 07 - About ---------- */


/* ---------- Start 08 - Features ---------- */
.card-exa {
  height: 100%;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card-exa:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(249, 115, 22, .35); }
.card-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 24px;
  background: var(--exa-tint);
  border-radius: 16px;
  color: var(--exa-orange);
  font-size: 1.35rem;
}
.card-exa h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card-exa p { font-size: .94rem; color: var(--slate); }
/* ---------- End 08 - Features ---------- */


/* ---------- Start 09 - Modules ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

/* A row per module : icon chip, name, index — long Arabic names sit on one line */
.module-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.module-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--exa-orange);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, .35);
  box-shadow: var(--shadow-sm);
}
.module-card:hover::before { transform: scaleY(1); }

.module-ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: 0 0 46px;
  background: var(--exa-tint);
  border-radius: 14px;
  color: var(--exa-orange);
  font-size: 1.2rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.module-card:hover .module-ic { background: var(--exa-orange); color: #fff; }

.module-name {
  flex: 1;
  min-width: 0;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.5;
}

.module-num {
  font-size: .78rem;
  font-weight: 600;
  color: #C6CCD6;
  font-variant-numeric: tabular-nums;
}
/* ---------- End 09 - Modules ---------- */


/* ---------- Start 10 - Services ---------- */
.ink-blush {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* A connected timeline : one line behind five centred nodes */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.steps::before {
  content: "";
  position: absolute;
  inset-inline: 10%;
  inset-block-start: 38px;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.step { position: relative; text-align: center; }

.step-node {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 26px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.65rem;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.step:hover .step-node {
  border-color: var(--exa-orange);
  color: var(--exa-orange);
  transform: translateY(-5px);
}

.step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--exa-orange);
}
.step h3 { font-size: 1.06rem; margin-bottom: 10px; }
.step p {
  max-width: 22ch;
  margin-inline: auto;
  font-size: .92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .66);
  text-wrap: balance;
}
/* ---------- End 10 - Services ---------- */


/* ---------- Start 11 - Clients Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 6px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
html[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }

/* Placeholder slot — swap for a real client logo <img> */
.client-slot {
  display: grid;
  place-items: center;
  width: 208px; height: 104px;
  flex: 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.client-slot:hover { border-color: #DDE1E8; transform: translateY(-3px); }
.client-slot img { max-height: 56px; width: auto; }

.client-slot--empty { gap: 8px; }
.client-slot--empty img { width: 26px; max-height: none; opacity: .16; }
.client-slot--empty span {
  font-family: var(--font-en);
  font-size: .62rem;
  letter-spacing: .12em;
  color: #C3C9D4;
}

/* ---------- End 11 - Clients Marquee ---------- */




/* ---------- Start 12 - FAQ ---------- */
.faq-side {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 6px;
}
.faq-anim { width: 100%; max-width: 340px; }
.faq-anim dotlottie-wc {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.faq-side .btn-exa { margin-top: 10px; }

.accordion-exa .accordion-item {
  margin-bottom: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.accordion-exa .accordion-button {
  padding: 24px 26px;
  background: var(--surface);
  border: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.accordion-exa .accordion-button:not(.collapsed) { color: var(--exa-orange-dark); }
.accordion-exa .accordion-button::after { width: 1.05rem; height: 1.05rem; background-size: 1.05rem; filter: grayscale(1) opacity(.45); }
.accordion-exa .accordion-button:not(.collapsed)::after { filter: none; }
.accordion-exa .accordion-body { padding: 0 26px 26px; color: var(--slate); font-size: .96rem; }
/* ---------- End 12 - FAQ ---------- */


/* ---------- Start 13 - Contact & Request ---------- */
.anchor { display: block; height: 0; visibility: hidden; }

.map-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 52px;
}
.contact-map { display: grid; place-items: center; }
.contact-map dotlottie-wc {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.map-aside h3 { font-size: 1.24rem; line-height: 1.4; }
.map-aside .check-list { margin: 24px 0 26px; }
.map-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--exa-tint);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--exa-orange-dark);
}
.map-note i { font-size: 1rem; }

.demo-title { font-size: 1.32rem; line-height: 1.4; margin-bottom: 4px; }

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: 0 0 40px;
  background: rgba(255, 255, 255, .07);
  border-radius: 13px;
  color: var(--exa-orange);
  font-size: .98rem;
}
.contact-list b { display: block; font-size: .9rem; color: #fff; }
.contact-list em,
.contact-list a { font-style: normal; font-size: .88rem; color: rgba(255, 255, 255, .66); }
.contact-list a:hover { color: var(--exa-orange); }
/* ---------- End 13 - Contact & Request ---------- */


/* ---------- Start 14 - Demo Request ---------- */
.demo-section { padding-bottom: 130px; }

.demo-card {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  background: var(--ink);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.demo-copy { padding: 60px 48px; color: #fff; }
.demo-copy .section-text { color: rgba(255, 255, 255, .66); }

.demo-contact {
  display: grid;
  gap: 13px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .93rem;
  color: rgba(255, 255, 255, .82);
}
.demo-contact li { display: flex; align-items: center; gap: 12px; }
.demo-contact i { color: var(--exa-orange); }
.demo-contact a { color: rgba(255, 255, 255, .82); }
.demo-contact a:hover { color: var(--exa-orange); }

.demo-form { padding: 54px 48px; background: var(--surface); }
.demo-form .form-label { margin-bottom: 8px; font-size: .84rem; font-weight: 500; color: var(--slate); }
.demo-form .form-control,
.demo-form .form-select {
  padding: 13px 16px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.demo-form .form-control:focus,
.demo-form .form-select:focus {
  background: var(--surface);
  border-color: var(--exa-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12);
}
.demo-form .form-control::placeholder { color: #A8B0BD; }

.form-status { font-size: .9rem; color: var(--exa-orange-dark); }
/* ---------- End 14 - Demo Request ---------- */


/* ---------- Start 15 - Footer ---------- */
.site-footer { padding: 86px 0 30px; background: var(--ink); color: rgba(255, 255, 255, .7); }
.footer-top { padding-bottom: 54px; }

.brand--footer { margin-bottom: 20px; }
.brand--footer .brand-text b { color: #fff; font-size: 1.14rem; }

.footer-about { max-width: 34ch; font-size: .94rem; }

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: .50rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}
.footer-badge i { color: var(--exa-orange); font-size: .95rem; }

.footer-title {
  margin-bottom: 20px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
}
.footer-links, .footer-contact { display: grid; gap: 12px; font-size: .94rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover, .footer-contact a:hover { color: var(--exa-orange); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--exa-orange); font-size: .95rem; }
.footer-address { font-size: .94rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
}
.to-top { color: rgba(255, 255, 255, .7); }
.to-top:hover { color: var(--exa-orange); }
/* ---------- End 15 - Footer ---------- */


/* ---------- Start 16 - Error Page ---------- */
.error-body { background: var(--soft); }
.error-page { display: grid; place-items: center; min-height: 100vh; padding: 44px 0; }
.error-inner { display: grid; justify-items: center; text-align: center; max-width: 720px; }

.error-anim { width: 100%; max-width: 440px; margin: 16px 0 2px; }
.error-anim dotlottie-wc { display: block; width: 100%; aspect-ratio: 1; }

.error-title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.4; max-width: 22ch; }
.error-text { margin-top: 14px; font-size: 1rem; color: var(--slate); max-width: 46ch; }

.error-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  width: 100%;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.error-links a { font-size: .9rem; color: var(--slate); }
.error-links a:hover { color: var(--exa-orange); }
/* ---------- End 16 - Error Page ---------- */


/* ---------- Start 17 - Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 58px;
  height: 58px;
  padding: 0 15px;
  background: #25D366;
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(37, 211, 102, .7);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width .45s var(--ease), gap .45s var(--ease);
}
.wa-float:hover { max-width: 230px; gap: 10px; color: #fff; }
.wa-float i { flex: 0 0 auto; font-size: 1.6rem; line-height: 1; }
.wa-float span { opacity: 0; transition: opacity .25s var(--ease); }
.wa-float:hover span { opacity: 1; }
/* -- Back to top -- */
.to-top-fab {
  position: fixed;
  inset-block-end: 96px;
  inset-inline-end: 26px;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s,
              border-color .25s var(--ease), color .25s var(--ease);
}
.to-top-fab.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top-fab:hover { border-color: var(--exa-orange); color: var(--exa-orange); }
/* ---------- End 17 - Floating WhatsApp ---------- */


/* ---------- Start 18 - Trust Strip ---------- */
.strip { padding: 26px 0; background: var(--ink); }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 32px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .78);
}
.strip-item i { color: var(--exa-orange); font-size: 1.15rem; }
/* ---------- End 18 - Trust Strip ---------- */


/* ---------- Start 19 - Videos & Walkthroughs ---------- */
.video-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 52px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  align-self: center;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  cursor: pointer;
}
.video-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s var(--ease);
}
.video-frame:hover img { transform: scale(1.06); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Softens the busy poster so the play button and badge stay readable. */
.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, .58) 0%, rgba(15, 23, 42, .1) 45%, rgba(15, 23, 42, .22) 100%);
  transition: opacity .4s var(--ease);
}
.video-frame:hover .video-scrim { opacity: .8; }

.video-play {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  background: var(--exa-orange);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 2.05rem;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(249, 115, 22, .45);
  animation: playPulse 2.4s var(--ease) infinite;
}
html[dir="ltr"] .video-play { transform: translate(-50%, -50%); }
@keyframes playPulse { 70% { box-shadow: 0 0 0 22px rgba(249, 115, 22, 0); } }

.video-tag {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
}
.video-tag i { color: var(--exa-orange); font-size: .95rem; }

.video-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--exa-orange-dark);
}
.video-side h3 { font-size: 1.42rem; line-height: 1.42; margin-bottom: 14px; }
.video-side p { font-size: .95rem; color: var(--slate); }

.video-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 28px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-facts li {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  background: var(--surface);
}
.video-facts b { font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.video-facts span { font-size: .82rem; color: var(--slate); }

.video-side-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.video-export {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--slate);
}
/* ---------- End 19 - Videos & Walkthroughs ---------- */


/* ---------- Start 20 - Live Dashboard ---------- */
.dash {
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.dash-rail {
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  background: var(--soft);
  border-inline-end: 1px solid var(--line);
}
.dash-rail-foot {
  margin-top: auto;
  padding: 18px 6px 4px;
  text-align: center;
}
.dash-rail-anim { display: grid; place-items: center; margin-bottom: 6px; overflow: hidden; }
.dash-rail-anim dotlottie-wc {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  transform: scale(1.35);   /* the file carries wide internal padding */
}
.dash-rail-foot b { display: block; font-size: .86rem; line-height: 1.5; }
.dash-rail-foot span { display: block; margin-top: 5px; font-size: .78rem; line-height: 1.6; color: var(--slate); }
.dash-main { padding: 30px 32px 34px; min-width: 0; }

.dash-rail-title {
  display: block;
  padding: 0 12px 16px;
  font-size: .8rem;
  color: var(--slate);
}
.dash-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 6px;
  background: transparent;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate);
  text-align: start;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.dash-tab i { font-size: 1.05rem; }
.dash-tab:hover { background: var(--surface); color: var(--ink); }
.dash-tab.is-active { background: var(--exa-orange); color: #fff; box-shadow: var(--shadow-orange); }

.dash-head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dash-head h3 { font-size: 1.2rem; }
.dash-head p { margin-top: 6px; font-size: .88rem; color: var(--slate); }

.dash-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dash-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .84rem;
  color: var(--ink);
  white-space: nowrap;
}
.dash-filter i { font-size: .7rem; color: #A8B0BD; }
.dash-export {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--exa-orange);
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.dash-export:hover { background: var(--exa-orange-dark); }

.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.dash-kpi {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.dash-kpi:hover { border-color: rgba(249, 115, 22, .35); box-shadow: var(--shadow-sm); }
.dash-kpi-top { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--slate); }
.dash-kpi-top i { color: var(--exa-orange); font-size: .92rem; }
.dash-kpi-top em { font-style: normal; }
.dash-kpi b { display: block; margin-top: 10px; font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-kpi b small { font-size: .72rem; font-weight: 500; color: var(--slate); }
.dash-kpi-delta { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 600; color: #17945B; }
.dash-kpi-delta.is-down { color: #C0432F; }

.dash-chart {
  padding: 20px 18px 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.dash-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: .82rem;
  color: var(--slate);
}
.dash-chart-head em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 500; color: var(--ink); }
.dash-chart-head em i { width: 9px; height: 9px; border-radius: 50%; background: var(--exa-orange); }
.dash-chart svg { display: block; width: 100%; height: auto; }
.dash-axis { font-family: var(--font-en); font-size: 11px; fill: #98A2B3; }

.dash-grid { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dash-table th {
  padding: 15px 18px;
  background: var(--soft);
  font-size: .78rem;
  font-weight: 600;
  color: var(--slate);
  text-align: start;
  white-space: nowrap;
}
.dash-table td { padding: 15px 18px; border-top: 1px solid var(--line); white-space: nowrap; }
.dash-table tbody tr:hover { background: var(--soft); }
.dash-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 500; }
.dash-tag--ok { background: #E7F6EE; color: #17945B; }
.dash-tag--wait { background: var(--exa-tint); color: var(--exa-orange-dark); }
/* ---------- End 20 - Live Dashboard ---------- */


/* ---------- Start 21 - Systems Tabs ---------- */
.tab-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.tab {
  padding: 11px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.tab:hover { color: var(--ink); border-color: #DDE1E8; }
.tab.is-active { background: var(--exa-orange); border-color: var(--exa-orange); color: #fff; }

.tab-panel {
  display: none;
  grid-template-columns: 1.42fr .58fr;
  gap: 52px;
  padding: 46px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tab-panel.is-active { display: grid; animation: panelIn .45s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

/* Panel head : the system's own artwork + its index in the suite */
/* Shared marks used by the panel head and the orbit animation : the PNG is
   painted as a single-tone mask, or a glyph sits inside the cloud silhouette. */
.mod-mono {
  display: block;
  background: var(--exa-orange);
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.module-cloud {
  display: grid;
  place-items: center;
  width: 54px; height: 48px;
  background: var(--exa-orange);
  -webkit-mask: url("../img/modules/cloud-mask.png") center / contain no-repeat;
          mask: url("../img/modules/cloud-mask.png") center / contain no-repeat;
}
.module-cloud i { font-size: 1.02rem; color: #fff; transform: translateY(-2px); }

.sys-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.sys-art {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  flex: 0 0 76px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.sys-art .mod-mono { width: 46px; height: 41px; }
.sys-index {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--exa-orange);
}

.panel-copy h3 { font-size: 1.32rem; line-height: 1.4; }
.panel-copy > p { max-width: 62ch; font-size: .98rem; color: var(--slate); }

/* Bullets sit in two columns so the panel stays compact and balanced */
.panel-copy .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 28px 0 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.panel-copy .check-list li { font-size: .94rem; }
.panel-copy .check-list i { width: 22px; height: 22px; flex: 0 0 22px; font-size: .72rem; }

/* Side column : figures card + motion slot */
.panel-side { display: grid; gap: 18px; align-content: start; }

/* Key figures : a spec sheet — label on the start edge, value on the end edge,
   so every row lines up whatever the value length is. */
.panel-facts {
  display: grid;
  padding: 4px 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.panel-facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.panel-facts li:last-child { border-bottom: 0; }
.panel-facts span {
  order: 1;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--slate);
}
.panel-facts b {
  order: 2;
  flex: 0 0 auto;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--exa-orange);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* -- Motion slot : an animated ring around the system's own mark.
      Replaced by a Lottie animation when one is supplied. -- */
.sys-anim {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 214px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.sys-anim-ring {
  position: absolute;
  width: 112px; height: 112px;
  border: 1px solid rgba(249, 115, 22, .35);
  border-radius: 50%;
  animation: ringOut 3.2s var(--ease) infinite;
}
.sys-anim-ring:nth-of-type(2) { animation-delay: 1.6s; }
@keyframes ringOut {
  0%   { transform: scale(.6); opacity: 0; }
  35%  { opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.sys-anim-orbit {
  position: absolute;
  width: 148px; height: 148px;
  border: 1.5px dashed rgba(16, 24, 40, .14);
  border-radius: 50%;
  animation: orbitSpin 22s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.sys-anim-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  animation: coreBob 4.5s var(--ease) infinite alternate;
}
.sys-anim-core .mod-mono { width: 48px; height: 43px; }
.sys-anim-core i { font-size: 1.9rem; color: var(--exa-orange); }
@keyframes coreBob { to { transform: translateY(-8px); } }

.sys-anim-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--exa-orange);
  border-radius: 50%;
  opacity: .55;
  animation: dotFloat 5s var(--ease) infinite alternate;
}
.sys-anim-dot:nth-of-type(5) { inset-block-start: 34px; inset-inline-start: 44px; }
.sys-anim-dot:nth-of-type(6) { inset-block-end: 40px; inset-inline-end: 52px; animation-delay: -1.6s; }
.sys-anim-dot:nth-of-type(7) { inset-block-start: 58px; inset-inline-end: 38px; width: 5px; height: 5px; animation-delay: -3.2s; }
@keyframes dotFloat { to { transform: translateY(-14px); opacity: .9; } }

/* A supplied Lottie fills the slot and hides the CSS fallback */
.sys-anim.has-lottie > span { display: none; }
.sys-anim svg { max-width: 100%; height: auto; }
/* ---------- End 21 - Systems Tabs ---------- */


/* ---------- Start 22 - Scope Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.calc-controls { padding: 44px; display: grid; gap: 36px; align-content: start; }
.calc-label { font-size: 1rem; margin-bottom: 16px; }

.seg-row { display: flex; flex-wrap: wrap; gap: 10px; }
.seg {
  padding: 11px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--slate);
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease);
}
.seg:hover { border-color: #DDE1E8; color: var(--ink); }
.seg.is-active { background: var(--exa-tint); border-color: var(--exa-orange); color: var(--exa-orange-dark); font-weight: 600; }

.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.pick:hover { border-color: #DDE1E8; }
.pick input {
  width: 19px; height: 19px;
  accent-color: var(--exa-orange);
  cursor: pointer;
  flex: 0 0 auto;
}
.pick:has(input:checked) { background: var(--exa-tint); border-color: rgba(249, 115, 22, .4); }

.calc-result { padding: 44px; background: var(--ink); color: #fff; }
.calc-result-label { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.calc-tier { font-size: 1.3rem; margin: 10px 0 8px; }
.calc-note { font-size: .9rem; color: rgba(255, 255, 255, .66); }

.calc-list { display: grid; gap: 11px; margin: 26px 0; font-size: .89rem; color: rgba(255, 255, 255, .78); }
.calc-list li { display: flex; align-items: flex-start; gap: 10px; }
.calc-list i { color: var(--exa-orange); margin-top: 4px; }

.calc-roi {
  display: grid;
  gap: 4px;
  padding: 22px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-sm);
}
.calc-roi > span { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.calc-roi b { font-family: var(--font-en); font-size: 2.1rem; font-weight: 700; color: var(--exa-orange); line-height: 1.1; }
.calc-roi em { font-style: normal; font-size: .82rem; color: rgba(255, 255, 255, .6); }
/* ---------- End 22 - Scope Calculator ---------- */


/* ---------- Start 23 - Downloads ---------- */
.dl-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dl-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  background: var(--exa-tint);
  border-radius: 16px;
  color: var(--exa-orange);
  font-size: 1.4rem;
}
.dl-body { min-width: 0; }
.dl-body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.dl-body p { font-size: .93rem; color: var(--slate); margin-bottom: 20px; }

/* Brochure sheets shown as a paper thumbnail, same card shape as the PDFs */
.dl-thumb {
  position: relative;
  display: block;
  width: 188px;
  flex: 0 1 188px;
  min-width: 120px;
  aspect-ratio: 16 / 11;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.dl-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}
.dl-card:hover .dl-thumb img { transform: scale(1.06); }
.dl-thumb-tag {
  position: absolute;
  inset-block-end: 8px;
  inset-inline-start: 8px;
  padding: 3px 9px;
  background: rgba(16, 24, 40, .82);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 600;
  color: #fff;
}
/* ---------- End 23 - Downloads ---------- */


/* ---------- Start 24 - Responsive ---------- */

/* -- Laptop screens : scale the whole page down a step so sections
      fit the viewport without feeling cramped -- */
@media (max-width: 1440px) {
  html { font-size: 13.5px; }
  .container { max-width: 1080px; }
  .section { padding: 100px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 88px; }
}

@media (max-width: 1200px) {
  html { font-size: 13px; }
  .section { padding: 88px 0; }
}


/* -- Large tablet : services in two rows -- */
@media (max-width: 1199.98px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .steps::before { display: none; }
}

/* -- Below 1064px : the seven links no longer fit beside the brand and actions -- */
@media (max-width: 1063.98px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 46px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px 24px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 14px; white-space: normal; }

  .hero { padding: calc(var(--header-h) + 56px) 0 92px; }
  .hero-inner { grid-template-columns: 1fr; gap: 66px; }
  .hero-visual { margin-inline: 22px; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .video-layout { grid-template-columns: 1fr; gap: 30px; }
  .dl-card { flex-direction: column; gap: 18px; }
  .dl-thumb { width: 100%; flex: 0 0 auto; }

  .map-band { grid-template-columns: 1fr; gap: 32px; margin-bottom: 34px; }
  .contact-map dotlottie-wc { max-width: 480px; }

  /* The side rail is kept — only its width and padding tighten. */
  .dash { grid-template-columns: 200px 1fr; }
  .dash-rail { padding: 20px 12px; }
  .dash-tab { padding: 12px 13px; font-size: .86rem; }
  .dash-main { padding: 24px 22px 28px; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel.is-active { grid-template-columns: 1fr; gap: 30px; padding: 34px 30px; }
  .panel-copy .check-list { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-controls, .calc-result { padding: 34px 28px; }

  .demo-card { grid-template-columns: 1fr; }
  .demo-copy { padding: 46px 32px; }
  .demo-form { padding: 40px 32px; }
}

/* -- Phone -- */
@media (max-width: 575.98px) {
  .container { padding-inline: 18px; }
  .section { padding: 68px 0; }

  .hero { padding: calc(var(--header-h) + 40px) 0 76px; }
  .hero-trust { gap: 16px 30px; margin-top: 40px; }
  .hero-trust b { font-size: 1.35rem; }
  .hero-visual { margin-inline: 6px; }

  .app-body { grid-template-columns: 1fr; }
  .app-rail { grid-auto-flow: column; justify-content: start; gap: 6px; padding: 12px 14px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .app-kpis { grid-template-columns: 1fr; }
  .app-main { padding: 16px; }

  .float-card--invoice { inset-block-start: -20px; inset-inline-start: -6px; }
  .float-card--branches { inset-block-end: -20px; inset-inline-end: -6px; }

  .stat-stack { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; gap: 10px; }
  .module-card { padding: 15px 16px; gap: 13px; }
  .module-ic { width: 42px; height: 42px; flex-basis: 42px; font-size: 1.08rem; }

  .card-exa { padding: 28px 24px; }
  .demo-copy, .demo-form { padding: 34px 22px; }
  .faq-anim { max-width: 250px; margin-inline: auto; }

  .strip-inner { grid-template-columns: 1fr; }
  .video-play { width: 58px; height: 58px; font-size: 1.55rem; }
  .video-facts { grid-template-columns: 1fr; }
  .video-facts li { padding: 15px 18px; }
  .tab-rail { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .tab { flex: 0 0 auto; }
  .tab-panel.is-active { padding: 26px 22px; }
  .sys-head { gap: 14px; }
  .sys-art { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 20px; }
  .sys-art .mod-mono { width: 36px; height: 32px; }
  .pick-grid { grid-template-columns: 1fr; }
  .calc-controls, .calc-result { padding: 28px 22px; }
  .dash { grid-template-columns: 1fr; }
  .dash-rail {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding: 14px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
  .dash-rail-title { display: none; }
  .dash-rail-list { display: contents; }
  .dash-rail-foot { display: none; }
  .dash-tab { width: auto; flex: 0 0 auto; margin: 0; white-space: nowrap; }
  .dash-kpis { grid-template-columns: 1fr; }
  .dash-main { padding: 20px 16px 24px; }
  .dl-card { flex-direction: column; gap: 18px; }
  .dl-thumb { width: 100%; flex: 0 0 auto; }

  .map-band { grid-template-columns: 1fr; gap: 32px; margin-bottom: 34px; }
  .contact-map dotlottie-wc { max-width: 480px; }


  .wa-float { inset-block-end: 18px; inset-inline-end: 18px; }
  .to-top-fab { inset-block-end: 86px; inset-inline-end: 18px; }
}

/* -- Reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader-inner img, .preloader-bar i,
  .marquee-track, .float-card, .row-line .dot, .app-caret,
  .sys-anim-ring, .sys-anim-orbit, .sys-anim-core, .sys-anim-dot, .video-play { animation: none; }
  .chart-bars i { transition: none; }
}
/* ---------- End 24 - Responsive ---------- */
