/*
 * PrimeBridge Solutions LLC — Enterprise Stylesheet v2.0
 * Brand: Navy #1A3B6B | Green #63B32E | Cyan #29ABE2
 * Google Fonts: Montserrat (headings) + Inter (body) — loaded via <link> in HTML
 * Cloudflare Pages Ready
 */

/* ============ VARIABLES ============ */
:root {
  --navy:        #1A3B6B;
  --navy-dark:   #0F2744;
  --navy-light:  #254E8A;
  --navy-muted:  #1e4a82;
  --green:       #63B32E;
  --green-dark:  #4e8e23;
  --green-light: #7ac940;
  --cyan:        #29ABE2;
  --cyan-dark:   #1a8dbf;
  --cyan-light:  #4bbff0;

  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-300:   #cbd5e1;
  --gray-400:   #94a3b8;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-width: 1200px;
  --radius:      8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --transition:  220ms ease;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:   0 12px 36px rgba(0,0,0,0.13), 0 4px 12px rgba(0,0,0,0.07);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.15);
  --shadow-navy: 0 8px 24px rgba(26,59,107,0.30);
  --shadow-cyan: 0 8px 24px rgba(41,171,226,0.35);
  --shadow-green:0 8px 24px rgba(99,179,46,0.32);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ============ LAYOUT ============ */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section--gray  { background: var(--gray-50); }
.section--navy  { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p  { color: rgba(255,255,255,0.85); }

/* ============ TYPOGRAPHY ============ */
h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.12; color: var(--navy); letter-spacing: -0.025em; }
h2 { font-family: var(--font-heading); font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -0.015em; }
h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--navy); }
h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--navy); }
p  { color: var(--gray-600); line-height: 1.8; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.0625rem; color: var(--gray-500); line-height: 1.8; }

/* Section accent line */
.section-header::before {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 2px;
  margin: 0 auto 22px;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute; top: -60px; left: 0;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 9999;
  border-radius: 0 0 var(--radius) 0; font-weight: 700;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left  { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar a     { color: rgba(255,255,255,0.82); transition: color var(--transition); }
.topbar a:hover { color: var(--cyan-light); }
.topbar-item  { display: flex; align-items: center; gap: 6px; font-family: var(--font-body); }
.topbar-sep   { color: rgba(255,255,255,0.2); }
.topbar-badge {
  background: var(--green); color: var(--white);
  font-size: 0.675rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.07em; text-transform: uppercase;
}

/* ============ HEADER ============ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 900;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); border-bottom-color: var(--gray-300); }
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 56px; width: auto; transition: opacity var(--transition); }
.logo:hover img { opacity: 0.88; }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-700); padding: 8px 13px;
  border-radius: var(--radius); transition: all var(--transition);
  white-space: nowrap; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 13px; right: 13px;
  height: 2px; background: var(--cyan);
  border-radius: 1px; transform: scaleX(0);
  transition: transform var(--transition); transform-origin: center;
}
.nav-link:hover { color: var(--navy); background: var(--gray-50); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--navy); background: var(--gray-50); }

.nav-cta {
  background: var(--cyan) !important; color: var(--white) !important;
  margin-left: 10px; padding: 9px 20px !important; font-weight: 700 !important;
  border-radius: var(--radius); transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(41,171,226,0.20);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--cyan-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-cyan);
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: 1.5px solid var(--gray-300);
  padding: 9px 10px; border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition);
}
.nav-toggle:hover { border-color: var(--navy); background: var(--gray-50); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all 0.3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(8px); }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none; background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 4px solid var(--cyan);
  padding: 8px 0 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.is-open { display: block; }
.mobile-nav-link {
  display: flex; align-items: center;
  padding: 13px 28px;
  font-size: 0.9375rem; font-weight: 600; color: var(--gray-700);
  border-left: 3px solid transparent; transition: all var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.is-active { color: var(--navy); background: var(--gray-50); border-left-color: var(--cyan); }

/* ============ HERO (Home) ============ */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white); padding: 108px 0 92px;
  position: relative; overflow: hidden;
}

/* Geometric grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Colour glow blobs */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 35%, rgba(41,171,226,0.18) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 80%, rgba(99,179,46,0.12) 0%, transparent 48%),
    radial-gradient(ellipse at 50% -10%, rgba(26,59,107,0.4) 0%, transparent 50%);
}

/* Decorative accent line at bottom of hero */
.hero-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green) 0%, var(--cyan) 50%, var(--green) 100%);
}

.hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.92); font-size: 0.75rem; font-weight: 700;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 24px; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: var(--font-body);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(99,179,46,0.6);
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(99,179,46,0.6); }
  50%  { box-shadow: 0 0 0 6px rgba(99,179,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(99,179,46,0); }
}

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .text-accent { color: var(--cyan-light); }

.hero-subtitle { font-size: 1.0625rem; color: rgba(255,255,255,0.80); line-height: 1.85; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 44px; }
.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88); font-size: 0.78rem; font-weight: 600;
  padding: 6px 13px; border-radius: 100px; font-family: var(--font-body);
  transition: background var(--transition), border-color var(--transition);
}
.hero-badge-pill:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); }
.hero-badge-pill::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: 0.65rem; font-weight: 800; flex-shrink: 0;
}

/* Hero info card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl); padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.hero-card-title {
  color: var(--white); font-size: 1.0625rem; font-weight: 700;
  font-family: var(--font-heading); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.hero-card-title::before {
  content: ''; display: block; width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--green), var(--cyan));
  border-radius: 2px; flex-shrink: 0;
}
.hero-card-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; color: rgba(255,255,255,0.80);
  font-size: 0.9rem; line-height: 1.55;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-dot {
  width: 26px; height: 26px; min-width: 26px;
  background: linear-gradient(135deg, rgba(41,171,226,0.35), rgba(99,179,46,0.25));
  border: 1px solid rgba(41,171,226,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; margin-top: 1px; color: var(--cyan-light);
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 64px 0 52px; border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--green), var(--cyan)) 1;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(41,171,226,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.0625rem; margin-bottom: 0; }
.page-hero-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: rgba(255,255,255,0.5);
  margin-bottom: 18px; font-family: var(--font-body);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--cyan-light); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.9375rem; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap; line-height: 1;
  font-family: var(--font-body); letter-spacing: 0.01em;
}
.btn-primary { background: var(--cyan); color: var(--white); border-color: var(--cyan); }
.btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); transform: translateY(-2px); box-shadow: var(--shadow-cyan); color: var(--white); }

.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-green); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.40); }
.btn-outline-white:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.65); color: var(--white); transform: translateY(-2px); }

.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-navy); color: var(--white); }

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 52px 0;
  position: relative;
}
.stats-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--cyan) 50%, var(--green) 100%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--gray-200);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem; font-weight: 800; color: var(--navy);
  line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8125rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); }

/* ============ SERVICE CARDS ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 34px;
  transition: all 300ms cubic-bezier(0.22,1,0.36,1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--card-accent-a, var(--cyan)), var(--card-accent-b, var(--green)));
  transform: scaleX(0); transition: transform 300ms ease; transform-origin: left;
}
.service-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }

/* Per-card accent colors */
.service-card:nth-child(1) { --card-accent-a: var(--navy); --card-accent-b: var(--cyan); }
.service-card:nth-child(2) { --card-accent-a: var(--cyan); --card-accent-b: var(--cyan-dark); }
.service-card:nth-child(3) { --card-accent-a: var(--green); --card-accent-b: var(--cyan); }
.service-card:nth-child(4) { --card-accent-a: var(--navy-light); --card-accent-b: var(--green); }
.service-card:nth-child(5) { --card-accent-a: var(--green); --card-accent-b: var(--green-dark); }
.service-card:nth-child(6) { --card-accent-a: var(--cyan); --card-accent-b: var(--navy); }

.service-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(26,59,107,0.28);
}
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, var(--cyan-dark), var(--cyan)); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, var(--navy-light), var(--navy-muted)); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #2d6a1e, var(--green-dark)); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }

.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.service-card p  { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 0; line-height: 1.7; }

/* ============ DIFFERENTIATORS ============ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.diff-card {
  padding: 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.diff-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transform: scaleX(0); transition: transform var(--transition);
}
.diff-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); transform: translateY(-3px); }
.diff-card:hover::after { transform: scaleX(1); }
.diff-icon-wrap {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
  font-size: 1.5rem; transition: all var(--transition);
}
.diff-card:hover .diff-icon-wrap {
  background: linear-gradient(135deg, rgba(41,171,226,0.1), rgba(99,179,46,0.08));
  border-color: var(--cyan);
}
.diff-icon { font-size: 1.5rem; display: block; line-height: 1; }
.diff-card h4 { margin-bottom: 10px; font-size: 1.0625rem; }
.diff-card p  { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 0; line-height: 1.7; }

/* ============ NAICS ============ */
.naics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.naics-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green); border-radius: var(--radius);
  padding: 26px; transition: all var(--transition);
}
.naics-card:hover { box-shadow: var(--shadow-md); border-left-color: var(--cyan); transform: translateY(-2px); }
.naics-code {
  display: inline-block; background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 800; padding: 5px 13px;
  border-radius: 6px; letter-spacing: 0.06em; margin-bottom: 12px;
}
.naics-card h4 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.naics-card p  { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0; }

/* ============ GOVERNMENT SECTORS ============ */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector-card {
  text-align: center; padding: 44px 28px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.sector-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
}
.sector-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-300); transform: translateY(-4px); }
.sector-icon { font-size: 2.75rem; margin-bottom: 18px; display: block; }
.sector-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.sector-card p  { font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 0; }

/* ============ CAPABILITIES ============ */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cap-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 38px;
  transition: all var(--transition);
}
.cap-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.cap-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.cap-card-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cap-card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cap-card h3 { font-size: 1.125rem; margin-bottom: 0; }
.cap-card > p { font-size: 0.9375rem; margin-bottom: 20px; }
.cap-list { list-style: none; }
.cap-list li {
  padding: 10px 0 10px 28px; position: relative;
  color: var(--gray-600); font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100); line-height: 1.55;
}
.cap-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cap-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; background: var(--green); border-radius: 50%;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain; mask-repeat: no-repeat; mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}

/* ============ PAST PERFORMANCE ============ */
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perf-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition);
}
.perf-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.perf-label {
  display: inline-block; background: rgba(41,171,226,0.10); color: var(--cyan-dark);
  font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
  border-radius: 100px; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px; border: 1px solid rgba(41,171,226,0.2);
  font-family: var(--font-body);
}
.perf-card h4 { margin-bottom: 16px; }
.perf-list li { padding: 7px 0 7px 20px; position: relative; font-size: 0.9rem; color: var(--gray-600); line-height: 1.5; }
.perf-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

/* ============ TRUST / CREDENTIAL BAR ============ */
.trust-bar {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.80);
}
.trust-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.trust-label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.trust-sub { font-size: 0.75rem; color: rgba(255,255,255,0.50); margin-top: 2px; }

/* ============ CONTACT ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 52px; align-items: start; }
.contact-info-block {
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-lg); padding: 44px;
  position: relative; overflow: hidden;
}
.contact-info-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}
.contact-info-block h3 { color: var(--white); margin-bottom: 32px; font-size: 1.375rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-label { font-size: 0.7rem; font-weight: 700; color: var(--cyan-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px; font-family: var(--font-body); }
.contact-info-value { color: var(--white); font-size: 0.9375rem; margin-bottom: 0; line-height: 1.55; }
.contact-info-value a { color: rgba(255,255,255,0.9); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--cyan-light); }

.contact-form-block {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form-block h3 { margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--gray-700); margin-bottom: 7px; font-family: var(--font-body); }
.form-required { color: var(--cyan); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray-800);
  background: var(--white); transition: all var(--transition); appearance: none;
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover { border-color: var(--gray-300); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.13);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 38px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.65; }
.form-submit { width: 100%; padding: 15px; font-size: 1rem; margin-top: 8px; }
.form-note { font-size: 0.8125rem; color: var(--gray-400); margin-top: 14px; text-align: center; font-family: var(--font-body); }

#form-error {
  color: #c0392b; background: #fdf0ee;
  border: 1px solid #f5c6c0; border-left: 4px solid #c0392b;
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 18px; font-weight: 600;
  display: none;
}
#form-error.visible { display: block; }

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-section::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--green));
}
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 { color: var(--white); margin-bottom: 18px; }
.cta-inner p  { color: rgba(255,255,255,0.80); font-size: 1.0625rem; margin-bottom: 40px; line-height: 1.8; }
.cta-actions  { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ INFO NOTE ============ */
.info-note {
  border-left: 4px solid var(--cyan); background: rgba(41,171,226,0.05);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem; color: var(--gray-600);
}
.info-note strong { color: var(--navy); }

/* ============ FOOTER ============ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.72); padding: 72px 0 0; position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--cyan) 40%, var(--green) 70%, var(--cyan));
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.52); line-height: 1.75; margin-bottom: 22px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-badge {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.62); font-size: 0.675rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-body);
}
.footer-col h4 {
  color: var(--white); font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.58); transition: color var(--transition); padding-left: 0; }
.footer-links a:hover { color: var(--cyan-light); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer-contact-row:last-child { margin-bottom: 0; }
.footer-contact-icon {
  font-size: 0.9rem; color: var(--cyan); flex-shrink: 0; margin-top: 3px;
}
.footer-contact-row p { font-size: 0.875rem; color: rgba(255,255,255,0.58); margin-bottom: 0; line-height: 1.55; }
.footer-contact-row a { color: rgba(255,255,255,0.62); transition: color var(--transition); }
.footer-contact-row a:hover { color: var(--cyan-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); margin-top: 52px; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.38); margin-bottom: 0; }

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 800;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(26,59,107,0.35);
  transition: all var(--transition);
  opacity: 0; visibility: hidden; transform: translateY(12px);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: linear-gradient(135deg, var(--cyan-dark), var(--cyan)); box-shadow: var(--shadow-cyan); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-card    { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid    { grid-template-columns: repeat(2, 1fr); }
  .cap-grid     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-bar-inner { gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar  { display: none; }
  .nav     { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .perf-grid { grid-template-columns: 1fr; }
  .naics-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 340px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .trust-bar-inner { gap: 22px; }
  .trust-item { flex: 1 1 calc(50% - 22px); min-width: 140px; }
  .back-to-top { right: 18px; bottom: 18px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding: 64px 0 52px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-header { margin-bottom: 44px; }
  .trust-item { flex: 1 1 100%; }
  .hero-card { display: none; }
}

/* ============ ACCESSIBILITY ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ============ PRINT ============ */
@media print {
  .topbar, .header, .footer, .btn, .mobile-nav, .nav-toggle, .cta-section, .back-to-top, .trust-bar { display: none !important; }
  body { font-size: 11pt; color: #000; font-family: Georgia, serif; }
  h1, h2, h3, h4 { color: #000 !important; font-family: Georgia, serif; page-break-after: avoid; }
  .hero, .page-hero { background: #eee !important; padding: 20pt 0; }
  .hero *, .page-hero * { color: #000 !important; }
  .section { padding: 20pt 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
