:root {
  --navy-900: #0d1b2a;
  --navy-800: #14263a;
  --navy-700: #1d3c5b;
  --blue-500: #2b6eea;
  --blue-100: #edf3ff;
  --teal-500: #17b8a6;
  --teal-100: #eafaf7;
  --gold-500: #d9a441;
  --gold-100: #fff3d6;
  --text: #1b2430;
  --muted: #5f6f7d;
  --surface: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(16, 36, 59, 0.02), rgba(16, 36, 59, 0.04)),
    linear-gradient(180deg, #f5f8fd 0%, #eef5ff 100%);
  line-height: 1.6;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 27, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 27, 42, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43, 110, 234, 0.08);
  color: var(--blue-500);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.eyebrow-dark {
  background: rgba(13, 27, 42, 0.06);
  color: var(--navy-800);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 18, 31, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  filter: brightness(1.08);
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: fit-content;
}

.hero-logo {
  display: block;
  width: min(290px, 82%);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
  margin: 6px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.92rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), #3d8df4);
  box-shadow: 0 14px 28px rgba(43, 110, 234, 0.25);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 30px rgba(43, 110, 234, 0.32);
}

.btn-secondary {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(43,110,234,0.35), transparent 25%),
    radial-gradient(circle at bottom left, rgba(23,184,166,0.18), transparent 28%),
    linear-gradient(135deg, #07151e 0%, #0f243a 34%, #16314d 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 48%, transparent 100%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.lead {
  margin: 0 0 18px;
  color: #dfeaff;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 600;
}

.hero-copy p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 30px 0 0;
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.trust-list li::before {
  content: "✓";
  color: var(--gold-500);
  margin-right: 8px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 12px 18px 0;
}

.hero-image-card {
  position: relative;
  width: min(100%, 760px);
  padding: 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.30);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.success-strip {
  background: var(--white);
  border-top: 1px solid rgba(13,27,42,0.05);
  border-bottom: 1px solid rgba(13,27,42,0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: 26px 0;
}

.stats-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-grid strong {
  font-size: 1.1rem;
}

.stats-grid span {
  color: var(--muted);
}

.about {
  background: rgba(255,255,255,0.55);
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-box h2,
.contact-copy h2 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.section-copy p,
.contact-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-panel {
  display: grid;
  gap: 18px;
}

.feature-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
  border: 1px solid rgba(13,27,42,0.05);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 12px 30px rgba(10, 18, 31, 0.05);
}

.feature-box span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-500);
  font-weight: 800;
}

.feature-box h3 {
  margin: 18px 0 10px;
  font-size: 1.25rem;
  color: var(--navy-900);
}

.feature-box p {
  margin: 0;
  color: var(--muted);
}

.services {
  background: linear-gradient(180deg, #f4f8ff 0%, #eef5ff 100%);
}

.section-heading.center {
  margin-bottom: 42px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(13,27,42,0.06);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 14px 32px rgba(12, 18, 27, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(12, 18, 27, 0.08);
}

.managed-service-card {
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
  border: 1px solid rgba(43, 110, 234, 0.12);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43,110,234,0.12), rgba(23,184,166,0.12));
  font-size: 1.6rem;
}

.service-card h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
  color: var(--navy-900);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  padding-top: 0;
}

.cta-box {
  background: linear-gradient(135deg, #0d1b2a 0%, #1d3d60 48%, #205aa8 100%);
  border-radius: 28px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(16, 36, 59, 0.18);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 0;
}

.contact {
  background: rgba(255,255,255,0.6);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  color: var(--text);
}

.contact-list a {
  color: var(--blue-500);
  font-weight: 600;
}

.contact-form {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(13,27,42,0.06);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(13,27,42,0.05);
}

.field-row {
  display: grid;
  gap: 18px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-weight: 600;
  color: var(--navy-900);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(13,27,42,0.12);
  border-radius: 14px;
  background: #f9fbff;
  padding: 0.95rem 1rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(43,110,234,0.55);
  box-shadow: 0 0 0 4px rgba(43,110,234,0.08);
}

.submit-btn {
  width: 100%;
  margin-top: 6px;
}

.site-footer {
  background: #0b1420;
  color: rgba(255,255,255,0.74);
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(12,20,29,0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
