:root {
  --navy: #0a1628;
  --navy-light: #121f36;
  --navy-mid: #1a2a45;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --radius: 8px;
  --radius-lg: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.8; }

.logo-llc {
  font-weight: 400;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav a:hover,
.nav a.nav-active { color: var(--white); }

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:not(.btn):hover::after,
.nav a:not(.btn).nav-active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 30px var(--accent-glow), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ---- HERO ---- */

.hero,
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.page-hero { padding: 140px 0 80px; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  animation: glowFloat 6s ease-in-out infinite;
}

.hero-glow-alt {
  left: 30%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.hero-glow-right {
  left: 70%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
}

@keyframes glowFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-30px); }
}

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

.hero h1,
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: all 0.3s;
}

.badge:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

/* ---- REVEAL ANIMATIONS ---- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }
.reveal-delay-3 { animation-delay: 0.45s; }

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CAPABILITIES (HOME) ---- */

.capabilities {
  padding: 100px 0;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cap-card {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.cap-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.05);
}

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

.cap-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform 0.4s;
}

.cap-card:hover .cap-icon { transform: scale(1.1); }

.cap-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.cap-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.cap-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.65;
}

.cap-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: letter-spacing 0.3s;
}

.cap-card:hover .cap-link { letter-spacing: 0.04em; }

/* ---- STATS ---- */

.stats {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat { padding: 24px; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- ABOUT ---- */

.about {
  padding: 100px 0;
  background: var(--navy-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-details {
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s;
}

.about-details:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.about-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  text-align: left;
}

.details-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
}

.details-list dt {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 500;
}

.details-list dd {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.status-active {
  color: #22c55e;
  font-weight: 600;
}

/* ---- CTA ---- */

.cta { padding: 100px 0; }

.cta-box {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

/* ---- SERVICE DETAIL (SERVICES PAGE) ---- */

.service-detail {
  padding: 80px 0;
}

.service-detail-alt {
  background: var(--navy-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  max-width: 64px;
  min-height: 64px;
  max-height: 64px;
  color: var(--accent);
  padding: 14px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: transform 0.4s, box-shadow 0.4s;
}

.service-detail-grid:hover .service-detail-icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.service-detail-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.service-detail-content h2 {
  text-align: left;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-detail-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 640px;
}

.service-offerings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.offering {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.offering:hover {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.03);
  transform: translateY(-2px);
}

.offering h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.offering p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.naics-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.naics-tag {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  font-family: 'Inter', monospace;
  letter-spacing: 0.03em;
}

/* ---- CONTACT PAGE ---- */

.contact-section {
  padding: 80px 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.contact-info-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  max-height: 44px;
  color: var(--accent);
}

.contact-info-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.contact-info-card h3 {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info-card a:hover { color: var(--accent); }

.contact-cta-wrap {
  display: flex;
  align-items: center;
}

.contact-cta-box {
  background: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  width: 100%;
}

.contact-cta-box h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 28px;
}

.contact-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.footer p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-open { display: flex; }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .cap-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero, .page-hero { padding: 130px 0 80px; }

  .service-detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-offerings { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-number { font-size: 2rem; }
}
