:root {
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dfe7ef;
  --paper: #f7fbfc;
  --white: #ffffff;
  --emerald: #16a36c;
  --cyan: #11a8d8;
  --gold: #d7a441;
  --coral: #f06f55;
  --navy: #101a2a;
  --shadow: 0 24px 70px rgba(19, 36, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px clamp(16px, 3vw, 44px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  min-height: 68px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 14, 24, 0.72);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan) 58%, var(--gold));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  flex: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 178px clamp(18px, 5vw, 80px) 84px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.92) 0%, rgba(7, 14, 24, 0.78) 42%, rgba(6, 14, 24, 0.18) 78%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.2) 0%, rgba(5, 9, 16, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: var(--white);
  box-shadow: 0 18px 36px rgba(17, 168, 216, 0.28);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(8, 14, 24, 0.42);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 4px;
  font-size: 26px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 clamp(18px, 3vw, 0px);
}

.trust-strip span {
  min-height: 76px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: #334155;
  font-weight: 800;
  text-align: center;
}

.section,
.erp-section,
.process,
.contact-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px clamp(18px, 3vw, 0px);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding-bottom: 44px;
}

.section-heading h2,
.erp-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-lead,
.erp-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.services-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 0px) 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.work-grid article {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(19, 36, 55, 0.06);
}

.service-card.featured {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #eaf8f4;
  color: var(--emerald);
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-card h3,
.work-grid h3 {
  font-size: 23px;
  line-height: 1.15;
}

.service-card p,
.work-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.68;
}

.service-card a {
  color: var(--gold);
  font-weight: 800;
}

.erp-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #eefaf5 0%, #f8fbfd 45%, #fff4ed 100%);
}

.erp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.erp-list span {
  padding: 10px 13px;
  border: 1px solid #cfe5de;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #23443a;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-card {
  min-height: 458px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: #111827;
  color: var(--white);
  box-shadow: var(--shadow);
}

.dash-top {
  display: flex;
  gap: 8px;
  padding: 8px 0 20px;
}

.dash-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.dash-top span:nth-child(2) {
  background: var(--gold);
}

.dash-top span:nth-child(3) {
  background: var(--emerald);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dash-stat,
.chart-lines,
.workflow {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.dash-stat {
  padding: 22px;
}

.dash-stat small,
.dash-stat strong,
.dash-stat em {
  display: block;
}

.dash-stat small {
  color: rgba(255, 255, 255, 0.64);
}

.dash-stat strong {
  margin: 14px 0 8px;
  font-size: clamp(24px, 4vw, 38px);
}

.dash-stat em {
  color: #77e4b7;
  font-style: normal;
  font-weight: 800;
}

.chart-lines {
  grid-column: 1 / -1;
  height: 160px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 22px;
}

.chart-lines span {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--emerald));
}

.workflow {
  grid-column: 1 / -1;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
}

.workflow b {
  flex: 1;
  padding: 14px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  text-align: center;
  font-size: 14px;
}

.workflow i {
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.work-grid article {
  min-height: 255px;
}

.work-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 34px;
  font-weight: 800;
}

.process {
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline div {
  min-height: 210px;
  padding: 28px;
  background: #f8fbfc;
}

.timeline strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ced9e5;
  border-radius: 8px;
  background: #f8fbfc;
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-section .btn.secondary {
  border-color: #d7e2eb;
  background: var(--white);
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px max(18px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: var(--white);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px;
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-shell.menu-open .nav-links,
  .nav-shell.menu-open .nav-cta {
    display: flex;
    width: 100%;
  }

  .nav-shell.menu-open .nav-links {
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
  }

  .nav-shell.menu-open .nav-links a {
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-shell.menu-open .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: 720px;
    padding-top: 150px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 8, 14, 0.95) 0%, rgba(7, 14, 24, 0.82) 60%, rgba(5, 9, 16, 0.78) 100%);
  }

  .trust-strip,
  .services-grid,
  .work-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .erp-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 720px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-metrics,
  .trust-strip,
  .services-grid,
  .work-grid,
  .timeline,
  .dash-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 18px;
  }

  .trust-strip {
    margin-top: 0;
    padding: 18px;
  }

  .section,
  .erp-section,
  .process,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .chart-lines,
  .workflow {
    grid-column: auto;
  }

  .workflow {
    flex-direction: column;
  }

  .workflow b,
  .workflow i {
    width: 100%;
  }

  .workflow i {
    height: 2px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
