:root {
  --ink: #0d1726;
  --muted: #5b6676;
  --navy: #071d38;
  --navy-2: #0b2b4f;
  --blue: #1769e8;
  --cyan: #24bfd2;
  --green: #35b779;
  --gold: #f4b44d;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: #dce5ef;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --header-bg: rgba(255, 255, 255, 0.94);
  --card-shadow: 0 14px 36px rgba(11, 34, 61, 0.08);
  --shadow: 0 24px 70px rgba(7, 24, 45, 0.16);
}

:root[data-theme="dark"] {
  --ink: #eef5ff;
  --muted: #b6c4d6;
  --navy: #d9ecff;
  --navy-2: #8fc8ff;
  --paper: #07111f;
  --line: #21344d;
  --surface: #0f2035;
  --surface-soft: #0a1728;
  --header-bg: rgba(7, 17, 31, 0.94);
  --card-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  transition: background 180ms ease, color 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(220, 229, 239, 0.9);
  backdrop-filter: blur(18px);
}

:root[data-theme="dark"] .site-header {
  border-bottom-color: rgba(33, 52, 77, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 105, 232, 0.38);
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset -5px -5px 0 rgba(255, 255, 255, 0.55);
}

:root[data-theme="dark"] .theme-toggle-icon {
  background: var(--cyan);
  box-shadow: inset 5px -4px 0 #07111f;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 7px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action,
.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 232, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.button.secondary.dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.header-action:hover,
.button:hover,
.service-card:hover,
.why-card:hover,
.client-card:hover {
  transform: translateY(-3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(88vh - 78px);
  padding: clamp(38px, 5vw, 68px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 29, 56, 0.97) 0%, rgba(9, 45, 83, 0.93) 48%, rgba(23, 105, 232, 0.78) 100%),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80") center/cover;
  overflow: hidden;
}

.hero-content {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.15vw, 4.1rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-status,
.hero-metrics,
.hero-checklist {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-status {
  position: relative;
  padding: 22px;
}

.hero-status strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.hero-status p,
.hero-checklist p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(53, 183, 121, 0.72);
  animation: pulse 2.2s infinite;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics span {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  font-weight: 900;
}

.hero-metrics p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.hero-checklist {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.hero-checklist p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--navy);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trust-strip span,
.pill-grid span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--surface);
}

.section,
.split-section,
.contact-section,
.cta-band {
  padding: clamp(72px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading p,
.service-card p,
.why-card p,
.client-card p,
.step p,
.contact-section p {
  color: var(--muted);
}

.section-heading h2,
.split-section h2,
.clients-section h2 {
  color: var(--navy);
}

.why-section {
  background: var(--surface);
}

.why-grid,
.service-grid,
.client-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.why-card,
.service-card,
.client-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.why-card:hover,
.service-card:hover,
.client-card:hover {
  border-color: rgba(23, 105, 232, 0.28);
  box-shadow: 0 20px 50px rgba(11, 34, 61, 0.12);
}

.why-card {
  min-height: 250px;
  padding: 28px;
}

.service-card {
  min-height: 330px;
  padding: 28px;
}

.client-card {
  min-height: 220px;
  padding: 26px;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 7px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.icon::before {
  font-size: 1.12rem;
}

.location::before { content: "MI"; }
.remote::before { content: "US"; }
.language::before { content: "4L"; }
.speed::before { content: "FR"; }
.shield::before { content: "CS"; }
.partner::before { content: "LP"; }
.managed::before { content: "IT"; }
.network::before { content: "NW"; }
.cloud::before { content: "365"; font-size: 0.92rem; }
.backup::before { content: "DR"; }
.camera::before { content: "CAM"; font-size: 0.8rem; }
.home::before { content: "HM"; }
.business::before { content: "BZ"; }

.services-section {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 95%, transparent), color-mix(in srgb, var(--paper) 95%, transparent)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(32px, 6vw, 88px);
  background: var(--surface);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--blue);
}

.step span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.clients-section {
  background: var(--paper);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 29, 56, 0.98), rgba(11, 43, 79, 0.96)),
    radial-gradient(circle at top right, rgba(36, 191, 210, 0.24), transparent 34%);
}

.cta-band h2 {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--white);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: var(--white);
  background: var(--navy);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card a,
.contact-card span {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--surface);
}

.reveal {
  animation: riseIn 680ms ease both;
}

.reveal:nth-child(2) { animation-delay: 70ms; }
.reveal:nth-child(3) { animation-delay: 120ms; }
.reveal:nth-child(4) { animation-delay: 170ms; }
.reveal:nth-child(5) { animation-delay: 220ms; }
.reveal:nth-child(6) { animation-delay: 270ms; }
.reveal:nth-child(7) { animation-delay: 320ms; }
.reveal:nth-child(8) { animation-delay: 370ms; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(53, 183, 121, 0.72);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(53, 183, 121, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(53, 183, 121, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .why-grid,
  .service-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-action {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .theme-toggle {
    width: 100%;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .button,
  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-panel,
  .hero-status,
  .why-card,
  .service-card,
  .client-card,
  .contact-card {
    padding: 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}
