:root {
  --navy: #08276a;
  --deep: #071a3d;
  --blue: #0e63ce;
  --cyan: #19b5d8;
  --orange: #ff7a1a;
  --amber: #ffb02e;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e1ef;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --green: #2e7d5b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(8, 39, 106, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 239, 0.9);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-brand img,
.custom-logo-link img {
  width: min(250px, 52vw);
  height: auto;
}

.site-nav {
  justify-self: end;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--deep);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: #eef5ff;
  color: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 12px 26px rgba(14, 99, 206, 0.24);
}

.button--secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
}

.button:hover,
.header-cta:hover,
.button:focus-visible,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  padding: 92px max(24px, calc((100vw - 1180px) / 2)) 54px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 47%, rgba(255, 255, 255, 0.22) 100%),
    url("../images/erp-hero-background.png") center / cover no-repeat;
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero__logo {
  width: min(390px, 78vw);
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #334155;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__metrics {
  width: min(720px, calc(100% - 48px));
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero__metrics div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.hero__metrics div:last-child {
  border-right: 0;
}

.hero__metrics strong {
  display: block;
  color: var(--orange);
  font-size: 1.35rem;
  line-height: 1;
}

.hero__metrics span {
  display: block;
  margin-top: 6px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero--consulting h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5.7vw, 5rem);
  line-height: 1;
}

.section {
  padding: 92px 0;
}

.section__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section--intro {
  padding: 48px 0 76px;
  background: #ffffff;
}

.section--soft {
  background: var(--soft);
}

.callout-strip {
  padding: 28px 0;
  background: var(--deep);
  color: #ffffff;
}

.callout-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.callout-strip .eyebrow {
  color: var(--amber);
}

.callout-strip h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.split-copy h2,
.contact-copy h2,
.entry h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.section-heading p,
.split-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading--left {
  max-width: 470px;
  margin: 0;
  text-align: left;
}

.section-heading--left p:last-child {
  margin-top: 20px;
}

.section--split {
  padding: 86px 0;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.split-layout--reversed {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
}

.split-layout--reversed .split-copy {
  grid-column: 2;
}

.split-layout--reversed .capability-stack {
  grid-column: 1;
  grid-row: 1;
}

.split-copy p {
  margin-top: 20px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--deep);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 4px #e9f7fb;
}

.insight-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.92)),
    url("../images/erp-hero-background.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.insight-panel span,
.resource-grid span,
.platform-grid span {
  display: inline-flex;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-panel h3 {
  margin: 18px 0 14px;
  color: var(--deep);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.06;
}

.insight-panel p {
  margin: 0;
  color: var(--muted);
}

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

.capability-stack span {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--deep);
  background: #ffffff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.platform-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
}

.platform-grid article:nth-child(3n + 2) span {
  color: var(--blue);
}

.platform-grid article:nth-child(3n) span {
  color: var(--green);
}

.platform-grid h3 {
  margin: 28px 0 0;
  color: var(--deep);
  font-size: 1.25rem;
  line-height: 1.18;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.service-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: #e9f7fb;
  font-weight: 900;
}

.service-card:nth-child(even) .service-card__icon {
  color: #7a3d00;
  background: #fff2df;
}

.service-card h3,
.model-steps h3 {
  margin: 22px 0 10px;
  color: var(--deep);
  font-size: 1.24rem;
  line-height: 1.2;
}

.service-card p,
.model-steps p {
  margin: 0;
  color: var(--muted);
}

.section--band {
  background:
    linear-gradient(135deg, rgba(8, 39, 106, 0.95), rgba(7, 26, 61, 0.98)),
    linear-gradient(90deg, rgba(25, 181, 216, 0.18), rgba(255, 122, 26, 0.16));
  color: #ffffff;
}

.section--band .eyebrow,
.section--band h2,
.section--band h3 {
  color: #ffffff;
}

.section--band p {
  color: rgba(255, 255, 255, 0.78);
}

.model-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
}

.model-steps {
  display: grid;
  gap: 16px;
}

.model-steps article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.model-steps span {
  display: inline-flex;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.industry-list span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--deep);
  background: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.06);
}

.outcome-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.outcome-grid article,
.resource-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 32, 51, 0.06);
}

.outcome-grid article {
  border-top: 4px solid var(--orange);
}

.outcome-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.outcome-grid article:nth-child(3) {
  border-top-color: var(--cyan);
}

.outcome-grid h3,
.resource-grid h3 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 1.3rem;
  line-height: 1.18;
}

.outcome-grid p {
  margin: 0;
  color: var(--muted);
}

.resource-grid h3 {
  margin-top: 18px;
}

.resource-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.section--contact {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.contact-copy {
  padding-top: 8px;
}

.contact-copy p {
  margin-top: 22px;
}

.contact-route {
  display: block;
  margin-top: 24px;
  color: var(--deep);
  font-weight: 900;
}

.support-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.support-form label {
  display: block;
  margin-bottom: 16px;
}

.support-form label span {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.support-form textarea {
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: 3px solid rgba(25, 181, 216, 0.22);
  border-color: var(--cyan);
}

.support-form .button {
  width: 100%;
  border: 0;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  margin-bottom: 18px;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 800;
}

.form-notice--success {
  color: #0f5132;
  background: #dff4e7;
}

.form-notice--error {
  color: #842029;
  background: #f8d7da;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  width: 210px;
}

.footer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-copy p + p {
  margin-top: 4px;
}

.footer-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.section--content {
  min-height: 55vh;
}

.content-area {
  max-width: 850px;
}

.entry__content {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-menu {
    display: none;
    padding: 10px 0 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

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

  .hero__metrics {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .callout-strip__inner,
  .intro-grid,
  .service-grid,
  .platform-grid,
  .outcome-grid,
  .resource-grid,
  .split-layout,
  .split-layout--reversed,
  .model-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-layout--reversed .split-copy,
  .split-layout--reversed .capability-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .model-layout,
  .contact-layout,
  .intro-grid,
  .split-layout {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .site-header__inner {
    min-height: 70px;
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: 780px;
    padding: 42px 16px 210px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 62%, rgba(255, 255, 255, 0.52) 100%),
      url("../images/erp-hero-background.png") center / cover no-repeat;
  }

  .hero__logo {
    width: min(310px, 86vw);
    margin-bottom: 26px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    bottom: 18px;
  }

  .hero__metrics div {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__metrics div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 0;
  }

  .callout-strip__inner .button {
    width: 100%;
  }

  .section--intro {
    padding-top: 38px;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .support-form {
    padding: 20px;
  }

  .capability-stack {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 30px 0;
    text-align: left;
  }
}
