/* ============ TOKENS ============ */
:root {
  --navy: #1E3A5F;
  --navy-ink: #14283F;
  --emerald: #2BB673;
  --emerald-dark: #219a5f;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --border: #E5E8EC;
  --text: #16233A;
  --text-muted: #5B6B82;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1160px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 40, 63, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover { background: var(--navy-ink); }
.btn--ghost {
  background: transparent;
  color: var(--navy-ink);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--navy); }
.btn--lg { padding: 15px 32px; font-size: 1.02rem; }
.btn--nav { padding: 10px 18px; font-size: 0.9rem; }

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 26px;
  width: auto;
}
.footer__logo-img {
  height: 24px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav__links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--navy-ink); }
.nav__toggle { display: none; }

/* ============ HERO ============ */
.hero { padding: 96px 0 80px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  margin-bottom: 16px;
}
.eyebrow--center { text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 800;
}
.hero__sub {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 520px;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual: abstract operations dashboard */
.hero__visual { position: relative; }
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.panel--main { padding: 24px; }
.panel__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--accent { background: var(--emerald); }
.panel__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-ink);
}
.panel__tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-dark);
  background: rgba(43, 182, 115, 0.1);
  padding: 3px 9px;
  border-radius: 20px;
}
.bar-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-bottom: 24px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: var(--navy);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}
.bar:nth-child(6) { background: var(--emerald); opacity: 1; }
.panel__stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.stat {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-ink);
}
.stat__label {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.panel--float {
  position: absolute;
  bottom: -22px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.panel--float .panel__label { font-size: 0.8rem; }

/* ============ TRUSTED BY ============ */
.trusted { padding: 40px 0 64px; }
.trusted__label {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.trusted__marks {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.mark {
  width: 96px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

/* ============ SECTION GENERIC ============ */
section { padding: 88px 0; }
.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 56px;
}
.services, .industries { background: var(--bg-soft); }

/* ============ GRIDS ============ */
.grid { display: grid; gap: 24px; }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(3, 1fr); }
.grid--tight { gap: 16px; }

/* ============ SERVICE CARDS ============ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 40px;
  height: 40px;
  color: var(--emerald-dark);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p { font-size: 0.92rem; }

/* ============ WHY / PILLARS ============ */
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--border);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.pillar h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 0.9rem; }

/* ============ HOW WE WORK ============ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.step {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 56px;
  bottom: -8px;
  width: 1px;
  background: var(--border);
}
.step__num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.step p { font-size: 0.92rem; }

/* ============ INDUSTRIES ============ */
.tag-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-ink);
}

/* ============ CTA ============ */
.cta {
  background: var(--navy);
  border-radius: var(--radius);
  margin: 0 24px;
  padding: 0;
}
.cta__inner {
  padding: 88px 24px;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
}
.cta p {
  color: rgba(255, 255, 255, 0.72);
  margin: 16px auto 32px;
  max-width: 440px;
}
.cta .btn--primary { background: var(--emerald); }
.cta .btn--primary:hover { background: var(--emerald-dark); }

/* ============ FOOTER ============ */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand p {
  font-size: 0.84rem;
  margin-top: 6px;
  color: var(--text-muted);
}
.footer__links, .footer__social {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__links a:hover, .footer__social a:hover { color: var(--navy-ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav__links { 
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
  }
  .nav__toggle span {
    width: 20px; height: 2px; background: var(--navy-ink);
  }
  .btn--nav { display: none; }
  .grid--5 { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: 1fr; }
  .panel--float { display: none; }
  .cta { margin: 0 16px; }
}
