:root {
  --ink: #183247;
  --muted: #526878;
  --blue: #087fbd;
  --blue-dark: #075d8d;
  --green: #3e9a59;
  --green-dark: #277745;
  --teal: #168b98;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --soft-blue: #edf6fa;
  --line: #d7e2e8;
  --max: 1180px;
  --shadow: 0 12px 30px rgba(24, 50, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
  background: var(--paper);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 3.35rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.3rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 14px rgba(24, 50, 71, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 44px), var(--max));
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 186px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: #34434b;
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
}

.site-nav a {
  padding: 28px 0 24px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  border-bottom-color: var(--green);
}

.site-nav .nav-cta {
  padding: 10px 15px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 4px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero-home,
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background-position: center;
  background-size: cover;
}

.hero-home::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.78);
}

.hero-home::before {
  background: linear-gradient(
    90deg,
    rgba(226, 237, 243, 0.88) 0%,
    rgba(226, 237, 243, 0.72) 46%,
    rgba(226, 237, 243, 0.46) 100%
  );
}

.hero-home {
  min-height: 520px;
  background-image: url("../images/hero-it-calgary.jpg?v=20260727-team2");
  background-position: center;
}

.hero-inner,
.page-hero-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.hero-inner {
  min-height: 520px;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: #3e5667;
  font-size: 1.12rem;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow,
.proof-band .eyebrow {
  color: var(--green-dark);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  color: #fff;
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.light {
  color: #fff;
  background: var(--blue);
}

.trust-strip {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

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

.trust-grid div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 2px;
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 68px 22px;
}

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

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.path-grid,
.service-grid,
.case-grid,
.detail-grid,
.value-grid {
  display: grid;
  gap: 20px;
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card,
.service-card,
.case-card,
.detail-card,
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.path-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 28px;
  border-top: 5px solid var(--blue);
}

.path-card:nth-child(2) {
  border-top-color: var(--green);
}

.path-card:nth-child(3) {
  border-top-color: var(--teal);
}

.path-card p,
.service-card p,
.case-card p,
.detail-card p,
.value-card p {
  color: var(--muted);
}

.path-card .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.feature-split.reverse {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.feature-split.reverse .feature-image {
  order: -1;
}

.feature-image {
  width: 100%;
  min-height: 430px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-copy {
  max-width: 600px;
}

.check-list,
.plain-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 18px;
  height: 18px;
  color: #fff;
  border-radius: 50%;
  background: var(--green);
  content: "\2713";
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.plain-list li {
  padding-left: 18px;
}

.plain-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.detail-card,
.value-card {
  padding: 26px;
}

.service-card .service-number {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.proof-band {
  padding: 62px 22px;
  color: var(--ink);
  border-top: 1px solid #d4e8f1;
  border-bottom: 1px solid #d4e8f1;
  background: var(--soft-blue);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.proof-intro,
.proof-item {
  padding: 28px;
}

.proof-item {
  border-left: 1px solid #cbdfe8;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 2.1rem;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
  padding: 24px;
}

.case-card .case-sector {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.cta-band {
  padding: 58px 22px;
  color: var(--ink);
  border-top: 1px solid #d4e8f1;
  background: var(--soft-blue);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 10px;
}

.cta-inner p {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  min-height: 370px;
  background-image: url("../images/managed-it-network.jpg?v=20260727-team1");
}

.page-hero.software {
  background-image: url("../images/software-team.jpg?v=20260727-team1");
}

.page-hero.industrial {
  background-image: url("../images/industrial-field.jpg?v=20260727-team1");
}

.page-hero-inner {
  min-height: 370px;
}

.page-hero-copy {
  max-width: 760px;
}

.page-hero h1 {
  font-size: 3rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  color: #3e5667;
  font-size: 1.1rem;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--blue-dark);
}

.detail-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  min-height: 220px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 70px 26px 24px;
  border-top: 3px solid var(--blue);
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: 20px;
  left: 26px;
  color: var(--green-dark);
  content: "0" counter(process);
  font-size: 1.5rem;
  font-weight: 850;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-details a {
  color: var(--blue-dark);
  font-size: 1.16rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #aebdc4;
  border-radius: 3px;
  background: #fff;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 58px 22px 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.7fr));
  gap: 42px;
  width: min(100%, var(--max));
  margin: 0 auto 42px;
}

.footer-brand img {
  width: 175px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 340px;
  color: var(--muted);
}

.footer-column h2 {
  margin-bottom: 15px;
  color: var(--ink);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--blue-dark);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  padding-top: 22px;
  margin: 0 auto;
  color: #71838f;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid #f4c34d;
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 22px;
    left: 22px;
    display: none;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a,
  .site-nav .nav-cta {
    padding: 12px;
    border: 0;
  }

  .feature-split,
  .feature-split.reverse {
    grid-template-columns: 1fr;
  }

  .feature-split.reverse .feature-image {
    order: 0;
  }

  .feature-copy {
    max-width: 760px;
  }

  .case-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-intro {
    grid-column: 1 / -1;
  }

  .proof-item:first-of-type {
    border-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .header-inner {
    width: min(calc(100% - 32px), var(--max));
    min-height: 72px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 158px;
  }

  .hero-home,
  .hero-inner {
    min-height: 560px;
  }

  .hero-home {
    background-position: 67% center;
  }

  .hero-home::before {
    background: rgba(232, 241, 246, 0.76);
  }

  .hero-inner,
  .page-hero-inner {
    width: min(calc(100% - 36px), var(--max));
  }

  .hero-copy p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .path-grid,
  .service-grid,
  .case-grid,
  .detail-grid,
  .value-grid,
  .process-list,
  .proof-grid,
  .contact-layout,
  .contact-form,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:first-child {
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

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

  .section {
    padding: 60px 18px;
  }

  .feature-split {
    gap: 34px;
  }

  .feature-image {
    min-height: 280px;
  }

  .proof-item,
  .proof-item:first-of-type {
    border-top: 1px solid #cbdfe8;
    border-left: 0;
  }

  .proof-intro,
  .proof-item {
    padding: 22px 0;
  }

  .page-hero,
  .page-hero-inner {
    min-height: 360px;
  }

  .page-hero {
    background-position: 62% center;
  }

  .process-list li {
    padding-right: 0;
    padding-left: 0;
  }

  .process-list li::before {
    left: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .field.full,
  .form-actions,
  .form-note {
    grid-column: auto;
  }

  .cta-inner {
    text-align: left;
  }

  .footer-grid {
    gap: 28px;
  }

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