/* ============================================================
   General Management Services LLC — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #0f1f3d;
  --navy-mid:    #1a3060;
  --navy-light:  #233d73;
  --gold:        #c8963e;
  --gold-light:  #e3b86a;
  --white:       #ffffff;
  --off-white:   #f5f7fb;
  --gray-100:    #eef1f7;
  --gray-200:    #dde3ee;
  --gray-500:    #7a89a3;
  --gray-700:    #3c4b66;
  --text:        #1c2840;
  --text-light:  #5a6a85;
  --green:       #2e7d32;
  --green-bg:    #e8f5e9;
  --shadow-sm:   0 1px 3px rgba(15,31,61,0.10);
  --shadow-md:   0 4px 16px rgba(15,31,61,0.12);
  --shadow-lg:   0 8px 32px rgba(15,31,61,0.16);
  --radius:      8px;
  --radius-lg:   14px;
  --transition:  0.2s ease;
  --max-width:   1140px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,150,62,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  padding: 9px 20px;
  font-size: 0.88rem;
}
.btn-outline-light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  background: var(--gold);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-mark-sm { font-size: 0.85rem; padding: 5px 8px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}
.logo-text span {
  color: var(--gray-500);
  font-size: 0.78rem;
  font-weight: 400;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav ul li a {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #0d2a5a 100%);
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,150,62,0.08) 0%, transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(200,150,62,0.15);
  border-color: rgba(200,150,62,0.4);
  color: var(--gold-light);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 24px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 32px;
  text-align: center;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-500);
}
.trust-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
  font-family: 'Courier New', monospace;
}
.trust-active {
  color: var(--green);
  font-family: 'Inter', sans-serif;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-200);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--off-white); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy-mid);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags li {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}
.differentiator {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.diff-icon {
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.differentiator strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.differentiator p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.about-exp h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.exp-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.exp-item:last-child { border-bottom: none; }
.exp-role {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}
.exp-org {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin: 3px 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.exp-desc {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---------- Credentials ---------- */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cred-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.cred-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cred-active { border-top: 3px solid var(--green); }
.cred-status {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.cred-pursuing {
  background: #fff3e0;
  color: #e65100;
}
.cred-title {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 6px;
}
.cred-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.5px;
}
.cred-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 8px;
}

/* ---------- NAICS ---------- */
.naics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.naics-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.naics-table { width: 100%; }
.naics-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}
.naics-row:last-child { border-bottom: none; }
.naics-code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-mid);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.naics-desc {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy-mid);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
}
.contact-item a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.required { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26,48,96,0.10);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  padding: 52px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 10px;
}
.footer-links ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--gold); }
.footer-bottom {
  padding: 18px 0;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .naics-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-inner { gap: 8px; }
  .trust-divider { display: none; }
  .trust-item { padding: 8px 16px; }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
  }
  .nav.nav-open ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    gap: 2px;
  }
  .nav.nav-open ul li a {
    display: block;
    padding: 10px 12px;
    width: 100%;
  }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; top: 0; }

  .hero { padding: 68px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .creds-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links ul { flex-direction: column; gap: 12px; }

  .contact-form { padding: 24px 20px; }
}

@media (max-width: 420px) {
  .creds-grid { grid-template-columns: 1fr; }
}
