/* ==========================================================================
   EIS — Egyptian Innovation Systems
   Light, editorial, enterprise design system  (Apple / Stripe / Linear class)
   Palette: ink #071B3B · accent #2F6BFF · bg #FFFFFF · soft #F7F9FC · text #111827
   ========================================================================== */

:root {
  /* Brand */
  --ink: #071B3B;          /* primary navy */
  --ink-2: #0E2A52;
  --accent: #2F6BFF;
  --accent-700: #1E50D6;
  --accent-200: #C9D9FF;
  --accent-tint: #EEF3FF;
  --bg: #FFFFFF;
  --soft: #F7F9FC;
  --text: #111827;
  --muted: #5A6679;
  --muted-2: #8A94A6;
  --line: #E7ECF3;

  /* Aliases kept for existing inner-page markup */
  --primary: var(--ink);
  --primary-light: var(--ink-2);
  --secondary: var(--accent);
  --accent-light: #6F97FF;
  --light: var(--soft);
  --bg-light: var(--soft);
  --white: #FFFFFF;
  --text-light: var(--muted);
  --text-muted: var(--muted);
  --border: var(--line);

  /* Type */
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --radius-sm: var(--r-sm);
  --radius: var(--r);
  --radius-lg: var(--r-lg);
  --radius-xl: var(--r-xl);

  /* Shadows — soft, premium */
  --shadow-sm: 0 1px 2px rgba(7, 27, 59, .06);
  --shadow: 0 8px 24px rgba(7, 27, 59, .07);
  --shadow-lg: 0 24px 60px rgba(7, 27, 59, .10);
  --shadow-xl: 0 40px 90px rgba(7, 27, 59, .14);

  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: 1200px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
}

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01", "kern";
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { color: var(--muted); }

.display {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--ink);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.lede { font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-accent { color: var(--accent); }
.label { /* legacy */
  display: inline-block; color: var(--accent); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.container-wide { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .kicker { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.15rem; }

.section-header { max-width: 720px; margin: 0 auto 3rem; text-align: center; } /* legacy alias */
.section-header .label { margin-bottom: .75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.125rem; }

/* legacy grid utils */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-4 { gap: 1rem; } .gap-8 { gap: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font-family: var(--sans); font-size: .98rem; font-weight: 600;
  border-radius: 100px; border: 1.5px solid transparent;
  letter-spacing: -.01em; transition: var(--transition); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-700); border-color: var(--accent-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47,107,255,.32); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.btn-on-dark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-on-dark-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
/* legacy */
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent); font-weight: 600; letter-spacing: -.01em;
}
.textlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.textlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(7,27,59,.04); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1.5rem; }
.logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--ink); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .3s var(--ease-out); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-social { display: flex; align-items: center; gap: .5rem; }
.nav-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); background: var(--soft); transition: var(--transition);
}
.nav-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.nav-social svg { width: 16px; height: 16px; }

.lang-switch {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .85rem; color: var(--ink);
  padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 100px;
  white-space: nowrap;
}
.lang-switch::before {
  content: ""; width: 15px; height: 15px; background: currentColor; opacity: .7; flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 010 20M12 2a15 15 0 000 20'/%3E%3C/svg%3E") center/contain no-repeat;
}
.lang-switch:hover { border-color: var(--accent); color: var(--accent); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: .4rem; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* ==========================================================================
   HOMEPAGE — HERO
   ========================================================================== */
.home-hero { position: relative; padding: clamp(8rem, 16vh, 12rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.home-hero::before {
  content: ""; position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
  width: 920px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(47,107,255,.07), transparent 62%);
  z-index: -1;
}
.home-hero__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .9rem .45rem .6rem; margin-bottom: 1.8rem;
  background: var(--accent-tint); color: var(--accent-700);
  border-radius: 100px; font-size: .85rem; font-weight: 600; letter-spacing: -.01em;
}
.hero-eyebrow .pill { background: var(--accent); color: #fff; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 100px; font-weight: 700; }
.home-hero h1 { margin-bottom: 1.6rem; }
.home-hero h1 .grad {
  background: linear-gradient(105deg, var(--accent) 0%, #6f97ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-hero__sub { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--muted); max-width: 680px; margin: 0 auto 2.4rem; line-height: 1.55; }
.home-hero__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero-visual {
  position: relative; margin: clamp(3rem, 7vw, 6rem) auto 0; max-width: 1080px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #fff, var(--soft));
  border: 1px solid var(--line); box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hero-visual__bar { display: flex; gap: .5rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.hero-visual__bar span { width: 11px; height: 11px; border-radius: 50%; background: #d7deea; }
.hero-visual__body { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); }
.hero-visual__body img { width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(7,27,59,.18)); }
.hero-visual__copy h3 { margin-bottom: .75rem; }
.hero-visual__copy p { margin-bottom: 1.25rem; }
.hero-visual__metrics { display: flex; gap: 2rem; }
.hero-visual__metrics b { display: block; font-family: var(--display); font-size: 1.8rem; color: var(--ink); letter-spacing: -.02em; }
.hero-visual__metrics span { font-size: .85rem; color: var(--muted); }

/* trust bar */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 6vw, 5rem); padding: 1.75rem 0; }
.trust-bar__item { text-align: center; }
.trust-bar__item b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.trust-bar__item span { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* ==========================================================================
   INNER-PAGE HERO (about / services / contact) — light
   ========================================================================== */
.hero { position: relative; padding: clamp(8rem, 14vh, 11rem) 0 clamp(3rem, 6vw, 5rem); background: var(--soft); overflow: hidden; }
.hero-compact { }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 75% 10%, rgba(47,107,255,.10), transparent 55%); }
.hero .container { position: relative; z-index: 1; }
.hero-content .label, .hero-content .kicker { margin-bottom: 1.1rem; }
.hero-content h1 { color: var(--ink); margin-bottom: 1.25rem; }
.hero-content p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-image img { width: 100%; max-height: 460px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(7,27,59,.16)); }
.hero-brands { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-brands p { color: var(--muted-2); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.brand-logos { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.brand-logos img { height: 34px; width: auto; opacity: .85; }

/* ==========================================================================
   INDUSTRY CHALLENGE
   ========================================================================== */
.challenge__statement { max-width: 980px; margin: 0 auto; text-align: center; }
.challenge__statement h2 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.03em; }
.challenge__statement h2 em { font-style: normal; color: var(--accent); }
.challenge__body { max-width: 720px; margin: 1.75rem auto 0; text-align: center; font-size: 1.2rem; line-height: 1.6; }
.challenge__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
.point { padding: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.point b { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--ink); letter-spacing: -.03em; margin-bottom: .4rem; }
.point span { color: var(--muted); }

/* ==========================================================================
   TRANSFORMATION JOURNEY (stepper)
   ========================================================================== */
.steps { max-width: 920px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 120px 1fr; gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.step__title { margin-bottom: .6rem; }
.step__text { color: var(--muted); font-size: 1.1rem; max-width: 560px; }

/* ==========================================================================
   WHY EIS
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.feature {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: var(--transition);
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.feature__no { font-family: var(--display); color: var(--accent-200); font-size: 1rem; font-weight: 700; letter-spacing: .1em; }
.feature h3 { margin: .9rem 0 .7rem; font-size: 1.4rem; }
.feature p { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.stat__num { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-weight: 500; margin-top: .25rem; }

/* legacy stats markup */
.stats-section { background: var(--soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin-bottom: .35rem; }
.stat-item p { color: var(--muted); font-weight: 500; }

/* ==========================================================================
   CORE SERVICES — alternating editorial rows
   ========================================================================== */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__index { font-family: var(--display); font-size: 1rem; font-weight: 700; color: var(--accent); letter-spacing: .12em; margin-bottom: 1rem; }
.svc-row__body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.svc-row__body p { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.5rem; }
.svc-row__media {
  aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--soft), #eef2f9);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
}
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.svc-row:hover .svc-row__media img { transform: scale(1.04); }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tag { background: var(--soft); border: 1px solid var(--line); color: var(--muted); padding: .35rem .85rem; border-radius: 100px; font-size: .85rem; font-weight: 500; }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  display: flex; flex-direction: column; padding: 2.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: var(--transition); min-height: 320px;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.case-card__sector { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.case-card__metric { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin: 1.25rem 0 .25rem; }
.case-card__metric small { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; font-family: var(--sans); margin-top: .35rem; }
.case-card__text { color: var(--muted); margin-top: auto; padding-top: 1.25rem; }
.cases__note { text-align: center; margin-top: 2rem; font-size: .9rem; color: var(--muted-2); }

/* ==========================================================================
   TECHNOLOGY PARTNERS
   ========================================================================== */
.partners__lead { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.partner-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-tint); color: var(--accent-700); padding: .5rem 1rem; border-radius: 100px; font-weight: 600; font-size: .9rem; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.partner { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 600; color: var(--ink); opacity: .55; letter-spacing: -.02em; transition: var(--transition); }
.partner:hover { opacity: 1; }

/* ==========================================================================
   TESTIMONIALS / VOICES
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote-card { padding: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.quote-card__text { font-size: 1.18rem; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; margin-bottom: 2rem; }
.quote-card__author { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.quote-card__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card__author b { display: block; color: var(--ink); font-weight: 600; }
.quote-card__author span { font-size: .88rem; color: var(--muted); }

/* legacy testimonial markup */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.5rem; }
.testimonial-card .quote { font-size: 1.15rem; color: var(--ink); font-weight: 500; margin-bottom: 1.75rem; line-height: 1.5; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author h5 { font-size: 1rem; margin-bottom: .15rem; color: var(--ink); }
.testimonial-author span { font-size: .85rem; color: var(--muted); }

/* ==========================================================================
   FINAL CTA  +  legacy .cta-section  (navy)
   ========================================================================== */
.final-cta { background: var(--ink); color: #fff; border-radius: 0; overflow: hidden; position: relative; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(47,107,255,.35), transparent 55%); }
.final-cta__inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; }
.final-cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 1.2rem; }
.final-cta p { color: rgba(255,255,255,.78); font-size: 1.2rem; margin-bottom: 2.25rem; }
.final-cta__actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.cta-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(47,107,255,.3), transparent 55%); }
.cta-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.cta-section .cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-section .cta-content p { color: rgba(255,255,255,.8); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
/* When .cta-content is used on a light section, keep readable colors */
.cta-content h2 { margin-bottom: 1rem; }
.cta-content p { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }

/* ==========================================================================
   SPLIT / FEATURE CARDS / CARDS  (inner pages)
   ========================================================================== */
.split-section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.split-grid.reverse .split-image { order: 2; }
.split-image img { border-radius: var(--r-lg); width: 100%; max-height: 460px; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-content .label, .split-content .kicker { margin-bottom: 1rem; }
.split-content h2 { margin-bottom: 1.1rem; }
.split-content p { color: var(--muted); font-size: 1.08rem; }
.check-list { margin-top: 1.5rem; }
.check-list li { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; color: var(--ink); font-weight: 500; }
.check-icon { width: 24px; height: 24px; flex-shrink: 0; background: var(--accent-tint); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.check-icon svg { width: 13px; height: 13px; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card { padding: 2.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.feature-card h4 { margin-bottom: .6rem; font-size: 1.2rem; }
.feature-card p { color: var(--muted); font-size: .98rem; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body { padding: 2rem; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card-icon svg { width: 24px; height: 24px; }

/* services page cards (legacy alternating) */
.service-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items: center; margin-bottom: 3rem; padding: clamp(1.75rem,3vw,3rem); background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-xl); }
.service-card:nth-child(even) .service-image { order: 2; }
.service-image img { border-radius: var(--r); width: 100%; height: 320px; object-fit: cover; box-shadow: var(--shadow); }
.service-content h3 { margin-bottom: 1rem; font-size: clamp(1.5rem,2.6vw,2rem); }
.service-content p { color: var(--muted); margin-bottom: 1.5rem; }

/* about values + team */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.value-item { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); }
.value-item h4 { margin-bottom: .5rem; font-size: 1.1rem; }
.value-item p { color: var(--muted); font-size: .96rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.team-card { text-align: center; }
.team-card img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.team-card h4 { margin-bottom: .2rem; }
.team-card span { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   CONTACT + FORMS
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,4.5rem); }
.contact-info-list { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1.1rem; }
.contact-info-item .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { margin-bottom: .25rem; font-size: 1.1rem; }
.contact-info-item p { color: var(--muted); }

.contact-form { background: #fff; padding: clamp(1.75rem,3vw,2.5rem); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: .5rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: .98rem; color: var(--text); background: var(--bg); transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.map-container { width: 100%; height: 420px; border-radius: var(--r-xl); overflow: hidden; margin-top: 2rem; border: 1px solid var(--line); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FOOTER  (navy)
   ========================================================================== */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding-top: clamp(3.5rem,7vw,5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo img { height: 52px; margin-bottom: 1.25rem; }
.footer-logo p { color: rgba(255,255,255,.6); font-size: .94rem; line-height: 1.7; max-width: 320px; }
.footer-column h4 { color: #fff; font-size: .95rem; margin-bottom: 1.25rem; letter-spacing: .02em; }
.footer-column ul li { margin-bottom: .7rem; }
.footer-column ul li a { color: rgba(255,255,255,.62); font-size: .94rem; }
.footer-column ul li a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { padding: 1.5rem 0; font-size: .85rem; color: rgba(255,255,255,.45); display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-credit { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.5); white-space: nowrap; }
.footer-credit .credit-logo { height: 17px; width: auto; opacity: .85; vertical-align: middle; transition: var(--transition); }
.footer-credit:hover .credit-logo { opacity: 1; }
@media (max-width: 620px) { .footer-bottom { flex-direction: column; text-align: center; gap: .85rem; } }

/* ==========================================================================
   FLOATING UI
   ========================================================================== */
.whatsapp-fab { position: fixed; bottom: 1.75rem; right: 1.75rem; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #25D366; color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,.45); z-index: 999; transition: var(--transition); }
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { background: #2bdc6e; transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 44px rgba(37,211,102,.6); }
@keyframes waPulse { 0% { box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0);} }
.whatsapp-fab.pulse { animation: waPulse 2.2s ease-out 2; }

.back-to-top { display: none !important; }

/* ==========================================================================
   ACCESSIBILITY + ANIMATION
   ========================================================================== */
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2000; background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r); font-weight: 600; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.form-group input:focus-visible, .form-group select:focus-visible, .form-group textarea:focus-visible { outline: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
/* legacy reveal */
.animate { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.animate.visible { opacity: 1; transform: none; }
html:not(.js) .reveal, html:not(.js) .animate { opacity: 1 !important; transform: none !important; }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .split-grid, .contact-grid, .service-card,
  .service-card:nth-child(even) .service-image { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-grid.reverse .split-image, .service-card:nth-child(even) .service-image { order: unset; }
  .svc-row, .svc-row:nth-child(even) .svc-row__media { grid-template-columns: 1fr; order: unset; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .stats, .stats-grid, .team-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual__body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .nav-links, .nav-social { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: #fff; padding: 1rem var(--gut) 2rem; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line); gap: .4rem; align-items: stretch; max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .nav-links.mobile-open > li > a { display: block; padding: 1.2rem .25rem; font-size: 1.2rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
  .nav-links.mobile-open > li:not(.nav-cta) { border-bottom: 1px solid var(--line); }
  .nav-links.mobile-open a::after { display: none; }
  .nav-cta { display: block; margin-top: 1.4rem; }
  .challenge__points, .case-grid, .quote-grid, .testimonials-grid, .features-grid, .values-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; gap: 1.25rem; }
  .stats, .stats-grid, .team-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-visual__metrics { gap: 1.5rem; }
  .home-hero__actions, .hero-buttons, .final-cta__actions, .cta-actions { flex-direction: column; }
  .home-hero__actions .btn, .hero-buttons .btn, .final-cta__actions .btn, .cta-actions .btn { width: 100%; }
  .footer-grid { text-align: center; }
  .footer-logo { display: flex; flex-direction: column; align-items: center; }
  .footer-column { display: flex; flex-direction: column; align-items: center; }
  .footer-social { justify-content: center; }
  .whatsapp-fab { right: 1rem; bottom: 1.25rem; width: 52px; height: 52px; }
}
@media (max-width: 480px) {
  .stats, .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .team-grid, .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .header, .footer, .back-to-top, .whatsapp-fab, .skip-link, .nav-social, .mobile-menu-btn, .final-cta, .cta-section { display: none !important; }
  body { color: #000; }
  .reveal, .animate { opacity: 1 !important; transform: none !important; }
}

/* ---------- Clients roster wall ---------- */
.client-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.client-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.client-col ul li { padding: .5rem 0; color: var(--ink); font-weight: 500; font-size: .96rem; border-bottom: 1px solid var(--line); }
.client-col ul li:last-child { border-bottom: none; }
.scale-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: clamp(2.5rem,5vw,4rem); }
.scale-band .stat__num { font-size: clamp(2.4rem,4.4vw,3.6rem); }
@media (max-width: 1024px){ .client-cols { grid-template-columns: repeat(2, 1fr); } .scale-band { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .client-cols { grid-template-columns: 1fr; } .scale-band { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   v4 — PREMIUM PRESENTATION & MOTION LAYER  (presentation only, no content change)
   ========================================================================== */

/* --- Footer logo: locked aspect ratio, tasteful size (was stretched/huge) --- */
.footer-logo img { height: 40px !important; width: auto !important; max-width: 230px; margin-bottom: 1.5rem; object-fit: contain; }
.logo img { height: 40px; width: auto; }

/* --- Generous (not excessive) whitespace --- */
.section { padding: clamp(3.5rem, 8vw, 7.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-head { max-width: 820px; margin: 0 auto clamp(2.5rem, 4.5vw, 4rem); }
.section-head h2 { margin-bottom: 1.4rem; }
.home-hero { padding: clamp(9rem, 17vh, 14rem) 0 clamp(3rem, 6vw, 5rem); }
.why-grid { gap: clamp(2rem, 3.4vw, 3rem); }
.case-grid, .quote-grid { gap: 1.9rem; }
.stats { margin-top: clamp(4rem, 7vw, 6rem); gap: 2.5rem; }
.challenge__points { margin-top: clamp(4rem, 7vw, 6rem); gap: 1.9rem; }
.trust-bar__inner { padding: 2.4rem 0; }

/* --- Typography: larger & bolder --- */
h1, h2 { font-weight: 700; }
h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); letter-spacing: -0.038em; line-height: 1.0; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -0.032em; line-height: 1.04; }
h3 { font-weight: 650; }
.home-hero__sub { font-size: clamp(1.25rem, 2vw, 1.6rem); max-width: 720px; }
.section-head p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.challenge__statement h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.svc-row__body h3 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.svc-row__body p { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.feature h3 { font-size: 1.55rem; }
.step__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.step__text { font-size: 1.18rem; }

/* --- Cinematic reveal: fade + rise + slight scale + blur-in --- */
.reveal { opacity: 0; transform: translateY(42px) scale(.986); filter: blur(7px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); will-change: opacity, transform, filter; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-d="1"]{transition-delay:.1s}.reveal[data-d="2"]{transition-delay:.2s}.reveal[data-d="3"]{transition-delay:.3s}.reveal[data-d="4"]{transition-delay:.4s}
[data-parallax]{will-change:transform}

/* --- HERO: floating card, scanning sweep, archive→digital cells --- */
.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(47,107,255,.10) 45%, rgba(47,107,255,.16) 55%, transparent);
  transform: translateX(-130%); pointer-events: none; z-index: 4;
  animation: scanSweep 5.2s cubic-bezier(.6,0,.3,1) infinite;
}
@keyframes scanSweep { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(330%); } }
/* hero image gets scroll parallax via JS (data-parallax); no idle transform to avoid conflict */
.home-hero { position: relative; }
.hero-orb { position: absolute; top: 9%; right: 7%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.09), transparent 70%); filter: blur(16px); pointer-events: none; z-index: -1; }

.digi { display: flex; gap: 6px; margin-top: 1.5rem; }
.digi span { width: 16px; height: 16px; border-radius: 5px; background: var(--accent-tint); animation: digiFill 2.6s ease-in-out infinite; }
.digi span:nth-child(1){animation-delay:0s}.digi span:nth-child(2){animation-delay:.18s}.digi span:nth-child(3){animation-delay:.36s}.digi span:nth-child(4){animation-delay:.54s}.digi span:nth-child(5){animation-delay:.72s}.digi span:nth-child(6){animation-delay:.9s}.digi span:nth-child(7){animation-delay:1.08s}.digi span:nth-child(8){animation-delay:1.26s}
@keyframes digiFill { 0%,100% { background: var(--accent-tint); transform: scaleY(1); } 50% { background: var(--accent); transform: scaleY(1.15); } }

/* --- Apple-style services feature rows --- */
.svc-row { padding: clamp(3.5rem, 7vw, 7rem) 0; gap: clamp(3rem, 6vw, 7rem); }
.svc-row__media { aspect-ratio: 5 / 4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.svc-row__index { font-size: 1.05rem; margin-bottom: 1.25rem; }
.svc-row:hover .svc-row__media img { transform: scale(1.06); }
.svc-row__media img { transition: transform 1.1s var(--ease-out); }

/* --- Premium animated TIMELINE (journey) --- */
.steps { position: relative; max-width: 980px; }
.steps::before { content: ""; position: absolute; top: 1.5rem; bottom: 1.5rem; left: 120px; width: 2px; background: var(--line); transform: translateX(-1px); }
.timeline-fill { position: absolute; left: 120px; top: 1.5rem; width: 2px; height: 0; transform: translateX(-1px); background: linear-gradient(var(--accent), var(--accent-700)); z-index: 1; border-radius: 2px; }
.step { position: relative; }
.step::after { content: ""; position: absolute; left: 120px; top: 3.4rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transform: translate(-50%,-50%); z-index: 2; transition: border-color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.step.in::after { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(47,107,255,.12); }
.step__num { transition: color .5s var(--ease-out); }
.step.in .step__num { color: var(--accent); }

/* --- Enterprise logo-wall (client roster presented as logo tiles) --- */
.client-cols { gap: 2rem 2.5rem; }
.client-col ul { display: flex; flex-direction: column; gap: .65rem; }
.client-col ul li {
  border: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 12px; background: #fff; padding: .85rem 1rem;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  display: flex; align-items: center; min-height: 52px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.client-col ul li:hover { border-color: var(--accent-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--accent-700); }

/* --- Counter pop when it lands --- */
.stat__num.counted { animation: counterPop .6s var(--ease-out); }
@keyframes counterPop { 0% { transform: scale(1); } 35% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* --- Section entrance: gentle accent glow behind headers --- */
.section-head { position: relative; }

/* --- Reduced motion: disable all the new motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-visual::after, .hero-visual__body img, .digi span { animation: none !important; }
  .reveal { filter: none !important; transform: none !important; opacity: 1 !important; }
  [data-parallax] { transform: none !important; }
}

/* --- RESPONSIVE tweaks for the new timeline/type --- */
@media (max-width: 768px) {
  .steps::before, .timeline-fill { left: 64px; }
  .step::after { left: 64px; top: 2.4rem; }
  .digi span { width: 13px; height: 13px; }
}

/* ==========================================================================
   v5 — DOCUMENT TECHNOLOGY POSITIONING  (lifecycle, divisions, SME, future)
   ========================================================================== */

/* Hero: four-verb lockup strip */
.lifecycle-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; margin-top: 1.5rem; }
.lifecycle-strip span { font-family: var(--display); font-weight: 700; font-size: clamp(1rem,1.5vw,1.2rem); color: var(--muted-2); letter-spacing: -.01em; }
.lifecycle-strip span.on { color: var(--accent); }

/* The Document Lifecycle — 4-stage connected flow */
.lifecycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; }
.lc-stage { position: relative; padding: 2.25rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: var(--transition); }
.lc-stage:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.lc-stage__verb { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: .9rem; display: flex; align-items: center; gap: .7rem; }
.lc-stage__n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-700); font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.lc-stage p { color: var(--muted); font-size: 1rem; margin-bottom: 1.1rem; }
.lc-stage__div { font-size: .82rem; font-weight: 600; color: var(--accent); letter-spacing: .01em; line-height: 1.5; }
.lc-stage:not(:last-child)::after { content: "→"; position: absolute; right: -1.05rem; top: 3.1rem; color: var(--accent-200); font-size: 1.5rem; font-weight: 700; z-index: 3; }

/* Six divisions — card grid with index + link */
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.division-card { display: flex; flex-direction: column; padding: 2.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: var(--transition); }
.division-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.division-card .feature__no { color: var(--accent-200); }
.division-card h3 { font-size: 1.45rem; margin: .8rem 0 .6rem; }
.division-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.25rem; flex-grow: 1; }

/* EIS for Business — SME doorway band */
.sme-band { background: linear-gradient(135deg, var(--accent-tint), #fff 70%); border: 1px solid var(--accent-200); border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.sme-band h2 { margin-bottom: 1rem; }
.sme-band p { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.75rem; }
.sme-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sme-chips span { background: #fff; border: 1px solid var(--accent-200); color: var(--accent-700); padding: .45rem .9rem; border-radius: 100px; font-size: .88rem; font-weight: 600; }
.sme-band__cta { text-align: center; }
.sme-band__cta .big { font-family: var(--display); font-size: clamp(2.4rem,4vw,3.4rem); font-weight: 700; color: var(--accent); letter-spacing: -.03em; line-height: 1; margin-bottom: 1.25rem; }

/* What's next — coming-soon teasers */
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.soon-card { padding: 2.25rem; border: 1px dashed #cbd5e6; border-radius: var(--r-lg); background: var(--soft); }
.soon-badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: .32rem .75rem; margin-bottom: 1.1rem; }
.soon-card h4 { margin-bottom: .45rem; font-size: 1.2rem; }
.soon-card p { color: var(--muted); font-size: .96rem; }

@media (max-width: 1024px) {
  .lifecycle { grid-template-columns: repeat(2, 1fr); }
  .lc-stage:nth-child(2)::after, .lc-stage:not(:last-child)::after { content: none; }
  .division-grid, .soon-grid { grid-template-columns: 1fr 1fr; }
  .sme-band { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .sme-chips { justify-content: center; }
}
@media (max-width: 640px) {
  .lifecycle, .division-grid, .soon-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v6 — HOMEPAGE REBALANCE (six divisions equal weight; maintenance + DMS prominent)
   ========================================================================== */

/* 6-stage lifecycle strip */
.lifecycle6 { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
.lc6 { flex: 1 1 150px; max-width: 190px; text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: var(--transition); }
.lc6:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.lc6 .n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent-tint); color: var(--accent-700); font-weight: 700; font-family: var(--display); }
.lc6 b { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--ink); margin-top: .7rem; letter-spacing: -.01em; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.industry-card { padding: 1.9rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: var(--transition); }
.industry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.industry-card h4 { font-size: 1.25rem; margin-bottom: .4rem; }
.industry-card p { color: var(--muted); font-size: .95rem; }

/* Maintenance Leadership — prominent navy band */
.maint { background: var(--ink); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.maint::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 0%, rgba(47,107,255,.38), transparent 55%); pointer-events: none; }
.maint__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); padding: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.maint h2 { color: #fff; margin-bottom: 1.1rem; }
.maint p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 1.75rem; }
.maint .kicker { color: var(--accent-light); }
.maint .kicker::before { background: var(--accent-light); }
.maint__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.75rem; }
.maint__item { border-left: 2px solid rgba(255,255,255,.22); padding-left: 1.1rem; }
.maint__item b { display: block; color: #fff; font-family: var(--display); font-size: 1.1rem; margin-bottom: .15rem; letter-spacing: -.01em; }
.maint__item span { color: rgba(255,255,255,.65); font-size: .9rem; }

/* DMS platforms */
.dms-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-bottom: 3rem; }
.dms-platform { padding: .9rem 1.6rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; font-weight: 700; font-family: var(--display); color: var(--ink); box-shadow: var(--shadow-sm); letter-spacing: -.01em; }
.dms-platform.own { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Compact trusted-by strip */
.trusted-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.trusted-strip span { color: var(--ink); font-weight: 600; opacity: .55; font-size: 1rem; transition: var(--transition); }
.trusted-strip span:hover { opacity: 1; }
.trusted-strip .lbl { width: 100%; text-align: center; opacity: 1; color: var(--muted-2); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }

@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .maint__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .industry-grid { grid-template-columns: 1fr; }
  .maint__list { grid-template-columns: 1fr; }
  .lc6 { max-width: none; }
}

/* ==========================================================================
   v7 — DIVISION PAGES (Phase 2)
   ========================================================================== */
.page-hero { padding: clamp(8.5rem, 16vh, 12rem) 0 clamp(3rem, 6vw, 5rem); background: var(--soft); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(47,107,255,.10), transparent 55%); pointer-events: none; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 56ch; margin-bottom: 2rem; }
.page-hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-top: 1.5rem; }
.spec-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.spec-list li::before { content: "✓"; color: var(--accent); font-weight: 800; }
@media (max-width:600px){ .spec-list { grid-template-columns: 1fr; } .page-hero__actions { flex-direction: column; } .page-hero__actions .btn { width: 100%; } }

/* ==========================================================================
   v8 — Mega-menu · Logo wall · EIS Nexus
   ========================================================================== */
/* Solutions mega-menu */
.has-mega { position: relative; }
.has-mega::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 18px; }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(680px, 92vw); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl); padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity .26s var(--ease-out), transform .26s var(--ease-out); z-index: 1001;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.mega__item { display: block; padding: .85rem 1rem; border-radius: var(--r); transition: var(--transition); }
.mega__item:hover { background: var(--soft); }
.mega__item b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; }
.mega__item span { display: block; color: var(--muted); font-size: .84rem; margin-top: .1rem; }
/* WhatsApp CTA inside the mobile menu (hidden on desktop) */
.nav-cta { display: none; }
.menu-wa { display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #25D366; color: #fff; font-weight: 700; font-size: 1.05rem; font-family: var(--display);
  padding: 1rem 1.25rem; border-radius: 100px; box-shadow: 0 12px 28px rgba(37,211,102,.32); }
.menu-wa svg { width: 22px; height: 22px; }
.menu-wa:hover { background: #2bdc6e; }

/* Logo wall — equal cells, Apple-style grayscale */
.trusted-label { text-align: center; color: var(--muted-2); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 3rem 0 1.25rem; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.logo-cell { background: #fff; min-height: 116px; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1.25rem; text-align: center; }
.logo-cell span { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; color: #9aa6b6; transition: var(--transition); line-height: 1.25; }
.logo-cell img { max-height: 46px; max-width: 130px; width: auto; filter: grayscale(1); opacity: .55; transition: var(--transition); }
.logo-cell:hover span { color: var(--ink); }
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }

/* EIS Nexus tagline under platforms */
.dms-tagline { text-align: center; color: var(--muted); font-size: 1.05rem; margin: -1.5rem 0 2.5rem; }
.dms-tagline b { color: var(--ink); font-family: var(--display); }

@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) {
  /* Solutions sub-menu shown as a clean indented group — pure CSS, NO JS
     dependency, and !important so the desktop absolute .mega can never
     leak through and push items off-screen. */
  .has-mega::after { display: none; }
  .nav-links.mobile-open .has-mega > a::after { display: none !important; }
  .nav-links.mobile-open .mega {
    position: static !important; top: auto !important; left: auto !important; right: auto !important;
    transform: none !important; opacity: 1 !important; visibility: visible !important;
    width: auto !important; max-width: none !important; background: transparent !important;
    box-shadow: none !important; border: none !important; border-radius: 0 !important;
    padding: 0 !important; margin: .25rem 0 .35rem !important; z-index: auto !important;
    max-height: none !important; overflow: visible !important;
  }
  .nav-links.mobile-open .mega__grid {
    display: block !important; grid-template-columns: none !important; gap: 0 !important; padding: 0 !important;
    border-left: 2px solid var(--accent-200); margin-left: .4rem; padding-left: .85rem;
  }
  .nav-links.mobile-open .mega__item { display: block !important; padding: .7rem .25rem !important; border-radius: 0; background: transparent; }
  .nav-links.mobile-open .mega__item:active { background: var(--soft); }
  .nav-links.mobile-open .mega__item b { display: block; font-size: 1rem; color: var(--ink); font-weight: 600; }
  .nav-links.mobile-open .mega__item span { display: block; font-size: .82rem; color: var(--muted); margin-top: .12rem; }
}
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } .logo-cell { min-height: 92px; padding: 1rem .75rem; } .logo-cell img { max-height: 38px; max-width: 96px; } }

/* ==========================================================================
   v9 — Four-layer story · EIS Nexus product spotlight
   ========================================================================== */
/* Four layers we own */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.layer { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; text-align: center; transition: var(--transition); }
.layer:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.layer .layer__k { font-family: var(--display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.layer h4 { margin: .6rem 0 .35rem; font-size: 1.18rem; letter-spacing: -.02em; }
.layer p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 860px) { .layers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .layers { grid-template-columns: 1fr; } }

/* EIS Nexus product spotlight */
.nexus { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center;
  background: linear-gradient(160deg, #0A1E40 0%, #071B3B 100%); color: #fff;
  border-radius: var(--r-xl); padding: 3.5rem; overflow: hidden; }
.nexus__badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -.01em; color: #fff; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; background: rgba(47,107,255,.18); }
.nexus h2 { color: #fff; margin: 1.2rem 0 .5rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.nexus__tag { color: var(--accent-200); font-family: var(--display); font-weight: 600; letter-spacing: .01em; margin: 0 0 1rem; }
.nexus__copy > p { color: rgba(255,255,255,.78); font-size: 1.02rem; line-height: 1.7; }
.nexus__points { list-style: none; padding: 0; margin: 1.4rem 0 1.9rem; display: grid; gap: .7rem; }
.nexus__points li { position: relative; padding-left: 1.6rem; color: rgba(255,255,255,.88); font-size: .96rem; }
.nexus__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .55rem; height: .55rem;
  border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 4px rgba(47,107,255,.18); }
.nexus__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.nexus__actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.nexus__actions .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
/* product mock */
.nexus__visual { position: relative; }
.nexus__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  padding: 1.25rem; backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.nexus__card .row { display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: var(--r);
  background: rgba(255,255,255,.05); margin-bottom: .55rem; }
.nexus__card .row:last-child { margin-bottom: 0; }
.nexus__card .dot { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(140deg, var(--accent), #6f9bff); flex: 0 0 auto; }
.nexus__card .bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.22); }
.nexus__card .bar.s { width: 55%; }
.nexus__card .bar.m { width: 78%; }
.nexus__card .meta { height: 6px; width: 38%; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: .4rem; }
.nexus__card .tag { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-200); background: rgba(47,107,255,.16); padding: .2rem .5rem; border-radius: 999px; flex: 0 0 auto; }
@media (max-width: 860px) { .nexus { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 1.75rem; } .nexus__visual { order: -1; } }
