:root {
  --navy: #031326;
  --navy-2: #071d34;
  --blue: #16bde7;
  --blue-light: #63dcf4;
  --ink: #081a2b;
  --muted: #617183;
  --line: #dbe3e9;
  --paper: #f4f7f9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.shell {
  width: min(1380px, calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding: 124px 0;
}

.hero {
  position: relative;
  min-height: max(900px, 100svh);
  overflow: hidden;
  background: var(--navy);
  color: white;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 16, 31, .98) 0%, rgba(2, 16, 31, .83) 32%, rgba(2, 16, 31, .18) 68%, rgba(2, 16, 31, .12) 100%),
    linear-gradient(0deg, rgba(2, 15, 29, .92) 0%, rgba(2, 15, 29, .08) 38%);
  pointer-events: none;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 80px));
  height: 112px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-size: 16px;
  letter-spacing: .06em;
}

.brand small {
  margin-top: 5px;
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .45em;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  transition: color .2s ease;
}

.desktop-nav a:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -22px;
  width: 1px;
  height: 16px;
  background: rgba(28, 194, 232, .65);
  content: "";
  transform: translateY(-50%);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue-light);
}

.nav-contact {
  padding: 11px 18px;
  border: 1px solid rgba(89, 217, 245, .55);
}

.mobile-nav {
  display: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    url("../images/hero-mendoza.png") center center / cover no-repeat;
  transform: scale(1.012);
}

.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: max(900px, 100svh);
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 142px;
  padding-bottom: 48px;
}

.hero-copy {
  width: min(650px, 54%);
}

.eyebrow,
.kicker {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(43px, 3.65vw, 58px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.065;
}

.hero h1 em {
  color: white;
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .77);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 680;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.primary:hover {
  background: var(--blue-light);
}

.button.secondary {
  border-color: rgba(31, 196, 232, .85);
  color: var(--blue-light);
  background: rgba(2, 20, 36, .42);
}

.metrics {
  display: flex;
  width: min(760px, 66%);
  align-items: flex-end;
  margin-top: 48px;
}

.metrics div {
  min-width: 31%;
  padding: 0 44px;
  border-right: 1px solid rgba(37, 204, 239, .7);
}

.metrics div:first-child {
  padding-left: 0;
}

.metrics div:last-child {
  border: 0;
}

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

.metrics strong {
  font-size: clamp(34px, 3.6vw, 56px);
  letter-spacing: -.055em;
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 650;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  right: 37px;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  width: 1px;
  height: 38px;
  background: var(--blue);
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 120px;
}

.section h2 {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 620;
  letter-spacing: -.052em;
  line-height: 1.05;
}

.section-intro h2 {
  max-width: 560px;
}

.group-copy {
  padding-top: 34px;
}

.group-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.group-copy .large-copy {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.55;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.principles span {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.principles strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.capabilities {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cad5dd;
  border-left: 1px solid #cad5dd;
}

.capability-card {
  min-height: 284px;
  padding: 34px;
  border-right: 1px solid #cad5dd;
  border-bottom: 1px solid #cad5dd;
  background: rgba(255, 255, 255, .45);
  transition: background .2s ease, transform .2s ease;
}

.capability-card:hover {
  z-index: 1;
  background: white;
  box-shadow: 0 20px 48px rgba(6, 35, 55, .08);
  transform: translateY(-3px);
}

.capability-card h3 {
  margin: 50px 0 15px;
  font-size: 22px;
  font-weight: 660;
  letter-spacing: -.025em;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.units {
  background: var(--navy);
  color: white;
}

.units .section-heading > p {
  color: rgba(255, 255, 255, .58);
}

.unit-list {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.unit-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px 260px 1fr 40px;
  gap: 36px;
  align-items: center;
  min-height: 148px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background .22s ease, padding .22s ease;
}

.unit-westnet { --unit-accent: #24c4e8; }
.unit-redwork { --unit-accent: #36d0cf; }
.unit-nexmetra { --unit-accent: #57d8a7; }
.unit-visionfor { --unit-accent: #7ea7ff; }
.unit-plusground { --unit-accent: #f1b55f; }
.unit-napear { --unit-accent: #c58cff; }

.unit-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--unit-accent) 14%, transparent), transparent 75%);
  content: "";
  opacity: 0;
  transition: opacity .22s ease;
}

.unit-card:hover {
  padding-inline: 20px;
}

.unit-card:hover::before {
  opacity: 1;
}

.unit-card > * {
  position: relative;
  z-index: 1;
}

.unit-number {
  color: var(--unit-accent);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.unit-title small {
  color: var(--unit-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.unit-title h3 {
  margin: 8px 0 0;
  font-size: 34px;
  letter-spacing: -.04em;
}

.unit-card > p {
  max-width: 630px;
  margin: 0;
  color: rgba(255, 255, 255, .61);
  font-size: 15px;
  line-height: 1.65;
}

.unit-arrow {
  color: var(--unit-accent);
  font-size: 24px;
  transition: transform .2s ease;
}

.unit-card:hover .unit-arrow {
  transform: translate(4px, -4px);
}

.infrastructure {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: #07192a;
}

.infra-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 32, .82) 0%, rgba(3, 18, 32, .46) 43%, rgba(3, 18, 32, .08) 76%),
    url("../images/datacenter-infrastructure.png") center / cover no-repeat;
  opacity: .9;
}

.infra-content {
  position: relative;
  z-index: 1;
}

.infra-panel {
  max-width: 690px;
  padding: 100px 0;
  color: white;
}

.infra-panel > p:not(.kicker) {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 18px;
  line-height: 1.75;
}

.infra-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.infra-stats span {
  padding-top: 22px;
  border-top: 1px solid rgba(58, 207, 239, .5);
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  line-height: 1.45;
}

.infra-stats strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-size: 29px;
}

.project-section {
  background: white;
}

.project-grid {
  display: grid;
  grid-template-columns: .5fr 1fr 1.15fr;
  gap: 70px;
}

.project-title p {
  max-width: 470px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.process {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.process li:first-child {
  padding-top: 0;
}

.process span {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.process strong {
  font-size: 18px;
}

.process p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact {
  background: #eaf3f6;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 120px;
  align-items: end;
}

.contact-copy p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

footer {
  padding: 70px 0 26px;
  background: var(--navy);
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 56px;
}

.footer-main > p {
  margin: 0;
  color: rgba(255, 255, 255, .54);
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  justify-content: flex-end;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .shell { width: min(100% - 52px, 920px); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .28);
    cursor: pointer;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 18px; height: 1px; background: white; }
  .mobile-nav > div {
    position: absolute;
    top: 54px;
    right: 0;
    display: flex;
    width: 220px;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(3, 19, 38, .97);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  }
  .mobile-nav > div a { padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hero-copy { width: 72%; }
  .metrics { width: 88%; }
  .split, .contact-inner { grid-template-columns: 1fr; gap: 52px; }
  .group-copy { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-grid > .kicker { grid-column: 1 / -1; }
  .unit-card { grid-template-columns: 54px 210px 1fr 30px; gap: 22px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 38px); }
  .section { padding: 86px 0; }
  .site-header { width: calc(100% - 36px); height: 84px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 40px; height: 40px; }
  .footer-brand .brand-mark { width: 38px; height: 38px; }
  .hero, .hero-content { min-height: 0; }
  .hero-content { justify-content: flex-start; padding-top: 136px; padding-bottom: 44px; }
  .hero-copy { width: 100%; }
  .hero-visual {
    background-position: 64% center;
  }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(2, 16, 31, .96) 0%, rgba(2, 16, 31, .74) 68%, rgba(2, 16, 31, .38) 100%),
      linear-gradient(0deg, rgba(2, 15, 29, .94) 0%, rgba(2, 15, 29, .08) 45%);
  }
  .hero h1 { font-size: clamp(38px, 11.2vw, 52px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .metrics { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .metrics div { min-width: 0; padding: 0 11px; }
  .metrics div:first-child { padding-left: 0; }
  .metrics strong { font-size: 27px; }
  .metrics span { font-size: 11px; }
  .scroll-cue { display: none; }
  .section h2 { font-size: 40px; }
  .eyebrow, .kicker { font-size: 10px; line-height: 1.6; }
  .principles { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: 240px; }
  .unit-card { grid-template-columns: 34px 1fr 28px; gap: 15px; padding: 28px 0; }
  .unit-card > p { grid-column: 2 / -1; }
  .unit-title h3 { font-size: 29px; }
  .infrastructure { min-height: 760px; }
  .infra-stats { grid-template-columns: 1fr; }
  .infra-stats span { display: grid; grid-template-columns: 90px 1fr; align-items: center; }
  .infra-stats strong { margin: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-grid > .kicker { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

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