:root {
  --midnight: #0f2240;
  --steel: #2c3e50;
  --cyan: #1cade4;
  --coral: #e85d4a;
  --fuchsia: #a63d7c;
  --paper: #ffffff;
  --soft: #eef4f8;
  --ink: #102039;
  --muted: #5d6b7d;
  --line: #dce6ee;
  --shadow: 0 20px 55px rgba(15, 34, 64, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: #e9f0f5;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 50;
  padding: .75rem 1rem;
  background: var(--cyan);
  color: var(--midnight);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #062740;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.nav {
  width: min(1460px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 178px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a {
  position: relative;
  opacity: .94;
}
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: #fff;
}
.nav-cta {
  padding: 14px 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff765f, var(--coral));
  box-shadow: 0 10px 20px rgba(232,93,74,.25);
}
.nav-links .nav-cta::after { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  background: transparent;
  color: #fff;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: 560px;
  padding: 78px 0 26px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(6, 21, 36, .96) 0%, rgba(7, 30, 49, .82) 46%, rgba(7, 30, 49, .35) 100%),
    url("../images/hero-landscape.png");
  background-size: cover;
  background-position: center;
}
.hero-inner {
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto;
}
.hero-copy {
  max-width: 650px;
  color: #fff;
  padding-top: 20px;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 800;
}
.hero h1 span,
.phone-hero span { color: var(--cyan); }
.hero-copy p {
  max-width: 650px;
  margin: 0 0 30px;
  font-size: 23px;
  line-height: 1.45;
  color: #fff;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary {
  background: linear-gradient(135deg, #ff7864, var(--coral));
  color: #fff;
}
.button.ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(15,34,64,.35);
}

.support-strip {
  width: min(1340px, calc(100% - 56px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: rgba(6, 26, 42, .76);
  color: #fff;
  backdrop-filter: blur(10px);
}
.support-strip article {
  min-height: 136px;
  padding: 24px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.2);
}
.support-strip article:first-child { border-left: 0; }
.support-strip span,
.service-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b80b7, var(--cyan));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}
.support-strip strong { display: block; font-size: 18px; }
.support-strip p { margin: 8px 0 0; color: #fff; font-size: 14px; }

.section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}
.section-head.compact { max-width: none; }
.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
h2 {
  margin: 0 0 10px;
  color: var(--midnight);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
}
h3 { margin: 0 0 8px; color: var(--midnight); }
p { margin-top: 0; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-grid article,
.resource-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15,34,64,.08);
}
.service-grid article { min-height: 188px; }
.service-grid span { margin-left: 0; }

.resources-section {
  border-top: 1px solid var(--line);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.resource-grid article { padding: 0; overflow: hidden; }
.resource-image {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #f4f8fb;
}
.resource-grid span {
  display: inline-flex;
  margin: 18px 18px 10px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--cyan);
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}
.resource-grid h3,
.resource-grid p,
.resource-grid a { margin-left: 18px; margin-right: 18px; }
.resource-grid a {
  display: inline-flex;
  margin-bottom: 22px;
  color: #0b7fbb;
  font-weight: 800;
}

.erp-section {
  padding: 64px 0;
  background: #e7eef4;
}
.portal-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .55fr);
  gap: 36px;
  align-items: center;
}
.portal-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.portal-copy {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.platform-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.platform-list span {
  padding: 12px 14px;
  border-left: 5px solid var(--cyan);
  border-radius: 6px;
  background: #f1f6fa;
  font-weight: 800;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .7fr);
  gap: 38px;
}
.palette-card {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.swatches span {
  display: grid;
  place-items: end center;
  min-height: 92px;
  padding: 10px;
  border-radius: 999px 999px 8px 8px;
  background: var(--c);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  font-weight: 700;
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd8e3;
  border-radius: 6px;
  padding: 12px 14px;
}

.site-footer {
  padding: 34px 16px;
  text-align: center;
  color: #fff;
  background: #062740;
}
.site-footer img {
  width: 180px;
  margin: 0 auto 10px;
}
.site-footer p { margin: 0; color: rgba(255,255,255,.75); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 8px;
    background: #062740;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; }
  .support-strip,
  .service-grid,
  .resource-grid,
  .portal-shell,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .support-strip article {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.2);
  }
  .support-strip article:first-child { border-top: 0; }
}

@media (max-width: 620px) {
  .brand img { width: 142px; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 39px; }
  .hero-copy p { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .support-strip { width: calc(100% - 24px); }
  .section { width: calc(100% - 24px); padding: 42px 0; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
}
