/* ============================================
   COWHAM GROUP — Design System
   Enterprise clean, HashiCorp-inspired
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-black: #000000;
  --color-dark: #15181e;
  --color-darker: #0d0e12;
  --color-white: #ffffff;
  --color-off-white: #f8f9fa;
  --color-gray-100: #f1f2f3;
  --color-gray-200: #e5e7eb;
  --color-gray-400: #9ca3af;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-text: #111827;
  --color-navy: #1d3a6e;
  --color-navy-light: #2563eb;
  --color-accent: #1d3a6e;
  --max-width: 1120px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-whisper: rgba(97,104,117,0.05) 0px 1px 1px, rgba(97,104,117,0.05) 0px 2px 2px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-gray-200);
  z-index: 100; height: 64px;
  display: flex; align-items: center;
}
.nav .container {
  display: flex; align-items: center;
  justify-content: space-between; width: 100%;
}
.nav-logo {
  font-size: 18px; font-weight: 700;
  color: var(--color-black); letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-links {
  display: flex; gap: 40px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--color-gray-700);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-black); text-decoration: none; }
.nav-cta {
  background: var(--color-navy) !important;
  color: var(--color-white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--color-navy-light) !important; text-decoration: none !important; }
@media (max-width: 768px) {
  .nav-links { gap: 16px; }
  .nav-links li.hide-mobile { display: none; }
}

/* ── HERO (DARK) ── */
.hero {
  background: var(--color-dark);
  padding: calc(56px + 64px) 0 56px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(29,58,110,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #60a5fa;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 700; line-height: 1.08; letter-spacing: -1.5px;
  color: var(--color-white); max-width: 760px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 19px; font-weight: 400; line-height: 1.65;
  color: #9ca3af; max-width: 560px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d1d5db; font-size: 13px; font-weight: 500;
  padding: 5px 12px; border-radius: 20px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--color-white); color: var(--color-black);
  padding: 11px 22px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: background 0.15s;
  box-shadow: var(--shadow-whisper);
}
.btn-primary:hover { background: var(--color-gray-100); text-decoration: none; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2); color: var(--color-white);
  padding: 11px 22px; border-radius: var(--radius-md);
  font-weight: 500; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); text-decoration: none; }
.btn-navy {
  background: var(--color-navy); color: var(--color-white);
  padding: 12px 28px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: background 0.15s;
}
.btn-navy:hover { background: var(--color-navy-light); text-decoration: none; }

/* ── SECTIONS ── */
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-alt { background: var(--color-off-white); }
.section-dark { background: var(--color-dark); }
.section-navy { background: var(--color-navy); }

.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--color-navy-light);
  margin-bottom: 10px;
}
.section-dark .section-label,
.section-navy .section-label { color: #60a5fa; }

.section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; line-height: 1.13; letter-spacing: -0.8px;
  color: var(--color-text); margin-bottom: 16px;
}
.section-dark h2 { color: var(--color-white); }
.section-navy h2 { color: var(--color-white); }

p.lead {
  font-size: 18px; line-height: 1.65; color: var(--color-gray-600);
  max-width: 620px; margin-bottom: 40px;
}
.section-dark p.lead { color: #9ca3af; }
.section-navy p.lead { color: rgba(255,255,255,0.75); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-whisper);
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--color-text); }
.card p { font-size: 15px; color: var(--color-gray-600); line-height: 1.6; }
.card .naics-tag {
  display: inline-block; margin-top: 16px;
  background: var(--color-gray-100); color: var(--color-gray-600);
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 4px; font-family: monospace;
}

/* Dark cards */
.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-dark h3 { color: var(--color-white); }
.card-dark p { color: #9ca3af; }
.card-dark .card-icon { background: rgba(255,255,255,0.08); }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex; gap: 36px; flex-wrap: wrap;
  align-items: center; justify-content: center;
  padding: 40px 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--color-gray-600);
}
.trust-item strong { color: var(--color-text); }
@media (max-width: 600px) {
  .trust-bar { gap: 20px; }
  .trust-item { font-size: 13px; }
}

/* ── STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px; text-align: center;
  padding: 16px 0;
}
.stat-number {
  font-size: 44px; font-weight: 700; letter-spacing: -1px;
  color: var(--color-white); line-height: 1;
}
.stat-label { font-size: 14px; color: #9ca3af; margin-top: 6px; }

/* ── ARROW LIST ── */
.arrow-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.arrow-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; line-height: 1.6; color: var(--color-gray-700);
}
.arrow-list li::before {
  content: '→';
  color: var(--color-navy-light);
  font-weight: 700; font-size: 18px;
  flex-shrink: 0; margin-top: 1px;
}

/* ── CTA BAND ── */
.cta-band {
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p.lead { margin: 0 auto 32px; text-align: center; }

/* ── FOOTER ── */
.footer {
  background: var(--color-darker);
  padding: 48px 0 24px;
  color: #9ca3af;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; margin-bottom: 32px;
}
.footer-brand { font-size: 18px; font-weight: 700; color: var(--color-white); margin-bottom: 12px; }
.footer p { font-size: 14px; line-height: 1.7; color: #6b7280; max-width: 280px; }
.footer h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.2px; color: #d1d5db; margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #6b7280; font-size: 14px; text-decoration: none; transition: color 0.15s; }
.footer ul a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #4b5563;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── PAGE HERO (light pages) ── */
.page-hero {
  background: var(--color-dark);
  padding: calc(40px + 64px) 0 40px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(29,58,110,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; line-height: 1.1; letter-spacing: -1px;
  color: var(--color-white); margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px; color: #9ca3af; max-width: 540px; line-height: 1.6;
}

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--color-gray-700); margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font); font-size: 15px; color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-navy-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
