/* =============================================
   PivotWorks Group LLC — Procurement Website
   Navy · White · Gray · Gold
   ============================================= */

:root {
  --navy:        #1b3a5c;
  --navy-dark:   #0f2540;
  --navy-mid:    #254a73;
  --navy-light:  #e8f0f8;
  --gold:        #c8923a;
  --gold-light:  #fdf6ee;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-900:    #0f172a;
  --text:        #1e293b;
  --text-mid:    #475569;
  --text-light:  #64748b;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:      0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:   0 8px 28px rgba(0,0,0,0.1);
  --radius:      6px;
  --max-w:       1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── TYPE ── */
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { line-height: 1.8; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s ease;
  white-space: nowrap; font-family: inherit; text-decoration: none;
}
.btn-primary   { background: var(--navy);  color: white; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: white; transform: translateY(-1px); }
.btn-gold      { background: var(--gold);  color: white; border-color: var(--gold); }
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-white     { background: white; color: var(--navy); border-color: white; }
.btn-white:hover { background: var(--gray-100); }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── NAVIGATION ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: white; border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { text-decoration: none; line-height: 1.2; }
.nav-brand-name { font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.nav-brand-sub  { font-size: 0.62rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.09em; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  font-size: 0.855rem; font-weight: 500; color: var(--text-mid);
  padding: 7px 13px; border-radius: var(--radius);
  transition: all 0.15s; white-space: nowrap;
}
.nav-links a:hover  { color: var(--navy); background: var(--gray-100); }
.nav-links a.active { color: var(--navy); font-weight: 700; }
.nav-cta { background: var(--navy) !important; color: white !important; margin-left: 0.4rem; padding: 8px 20px !important; }
.nav-cta:hover { background: var(--navy-dark) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 201;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO (home) ── */
.hero {
  background: var(--navy-dark); padding: 140px 0 90px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 85% 40%, rgba(200,146,58,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 35% 55% at 5% 90%,  rgba(37,74,115,0.6)  0%, transparent 60%);
}
.hero-inner    { position: relative; z-index: 1; }
.hero-content  { max-width: 700px; }
.hero h1       { color: white; margin-bottom: 1.25rem; }
.hero h1 em    { color: var(--gold); font-style: normal; }
.hero-sub      { font-size: 1.08rem; color: rgba(255,255,255,0.68); line-height: 1.85; margin-bottom: 2.5rem; max-width: 580px; font-weight: 300; }
.hero-ctas     { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.trust-bar     { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.trust-item    { padding-right: 2rem; margin-right: 2rem; border-right: 1px solid rgba(255,255,255,0.1); }
.trust-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.trust-label   { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.38); margin-bottom: 3px; }
.trust-value   { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.82); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--navy); padding: 120px 0 60px; }
.page-hero h1  { color: white; margin-bottom: 0.75rem; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero p   { color: rgba(255,255,255,0.62); max-width: 540px; font-size: 1rem; font-weight: 300; line-height: 1.8; }

/* ── SECTION HEADER ── */
.section-header        { margin-bottom: 3rem; }
.section-header h2     { color: var(--navy); margin-bottom: 0.75rem; }
.section-header p      { color: var(--text-mid); font-size: 0.97rem; max-width: 560px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* ── HIGHLIGHT CARDS (home) ── */
.highlights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.highlight-card  {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 2rem; border-top: 3px solid var(--navy); transition: all 0.2s;
}
.highlight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hi-icon { width: 48px; height: 48px; background: var(--navy-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.hi-icon svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.highlight-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.highlight-card p  { font-size: 0.875rem; color: var(--text-mid); }
.highlight-card .card-link { display: inline-block; margin-top: 1.25rem; font-size: 0.82rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* ── WHY SECTION ── */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; margin-top: 3rem; }
.why-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-num  { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; flex-shrink: 0; width: 44px; }
.why-item h4 { color: var(--navy); margin-bottom: 0.35rem; font-size: 1.02rem; }
.why-item p  { font-size: 0.875rem; color: var(--text-mid); }

/* ── SERVICES GRID ── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.service-card  {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 2rem; transition: all 0.22s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.service-card:hover::after { transform: scaleX(1); }
.svc-icon { width: 52px; height: 52px; background: var(--navy-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.svc-icon svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.service-card p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.78; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text h2    { color: var(--navy); margin-bottom: 1.25rem; }
.about-text p     { color: var(--text-mid); margin-bottom: 1rem; font-size: 0.95rem; }
.mission-box {
  background: var(--navy-dark); border-radius: var(--radius);
  padding: 2.5rem; border-left: 4px solid var(--gold); position: relative; overflow: hidden;
}
.mission-box::after { content: '"'; position: absolute; bottom: -1.5rem; right: 1.5rem; font-size: 9rem; color: rgba(255,255,255,0.04); font-family: Georgia, serif; line-height: 1; }
.mission-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1rem; }
.mission-quote { font-size: 1.5rem; font-weight: 700; color: white; line-height: 1.4; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.mission-body  { font-size: 0.875rem; color: rgba(255,255,255,0.58); line-height: 1.8; }
.founder-line  { display: flex; align-items: center; gap: 10px; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.founder-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-top: 3rem; }
.value-card  { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; text-align: center; transition: all 0.2s; }
.value-card:hover { background: white; box-shadow: var(--shadow); border-color: var(--navy-light); }
.value-num   { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; margin-bottom: 0.6rem; }
.value-card h4 { color: var(--navy); margin-bottom: 0.4rem; }
.value-card p  { font-size: 0.78rem; color: var(--text-light); line-height: 1.7; }

/* ── GOVERNMENT PAGE ── */
.creds-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem; }
.cred-cell  { background: white; padding: 2rem; text-align: center; transition: background 0.15s; }
.cred-cell:hover { background: var(--gray-50); }
.cred-value { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 0.3rem; line-height: 1.2; }
.cred-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }

.naics-table  { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.naics-header { display: grid; grid-template-columns: 110px 1fr; background: var(--navy); }
.naics-header span { padding: 0.75rem 1.25rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.naics-row   { display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--gray-200); transition: background 0.15s; }
.naics-row:hover { background: var(--gray-50); }
.naics-code  { padding: 1rem 1.25rem; font-weight: 700; font-size: 0.9rem; color: var(--navy); border-right: 1px solid var(--gray-200); }
.naics-desc  { padding: 1rem 1.25rem; font-size: 0.875rem; color: var(--text-mid); }

.looking-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin: 2.5rem 0; }
.looking-item { background: white; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem; border-left: 3px solid var(--gold); }
.looking-item h4 { color: var(--navy); margin-bottom: 0.5rem; }
.looking-item p  { font-size: 0.85rem; color: var(--text-mid); }

/* ── DOWNLOAD BANNER ── */
.download-banner {
  background: var(--navy-light); border: 1px solid rgba(27,58,92,0.15);
  border-radius: var(--radius); padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-top: 3rem;
}
.download-banner h4 { color: var(--navy); margin-bottom: 0.2rem; }
.download-banner p  { font-size: 0.85rem; color: var(--text-mid); }

/* ── CTA BAND ── */
.cta-band { background: var(--navy-dark); padding: 5rem 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 0.9rem; }
.cta-band p  { color: rgba(255,255,255,0.62); margin-bottom: 2.5rem; max-width: 460px; margin-left: auto; margin-right: auto; font-size: 0.97rem; }
.cta-band-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.contact-info-stack { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem; border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: white; transition: border-color 0.2s;
}
.contact-row:hover { border-color: var(--navy); }
.ci-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--navy-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 3px; }
.ci-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.ci-value a { color: var(--navy); }
.ci-value a:hover { text-decoration: underline; }

.contact-form-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2.5rem; }
.contact-form-box h3 { color: var(--navy); margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--gray-200); }
.form-group { margin-bottom: 1.2rem; }
.form-row2  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-mid); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  background: white; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,92,0.09); }
.form-group textarea { height: 110px; resize: vertical; }
.form-success { text-align: center; padding: 3rem 1rem; }
.form-success .success-check { font-size: 3rem; color: var(--navy); margin-bottom: 1rem; }
.form-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.form-success p  { color: var(--text-mid); font-size: 0.9rem; }

/* ── FOOTER ── */
.site-footer { background: var(--gray-900); color: white; padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem;
}
.footer-brand-name    { font-size: 1.05rem; font-weight: 800; color: white; margin-bottom: 4px; }
.footer-brand-tagline { font-size: 0.78rem; color: rgba(255,255,255,0.38); margin-bottom: 1.25rem; line-height: 1.7; max-width: 260px; }
.footer-meta { font-size: 0.73rem; color: rgba(255,255,255,0.28); line-height: 1.9; }
.footer-col h5 { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.footer-col a  { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.52); margin-bottom: 0.65rem; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.76rem; color: rgba(255,255,255,0.28); }
.footer-bottom a { color: rgba(255,255,255,0.28); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── UTILITY ── */
.bg-gray   { background: var(--gray-50); }
.bg-navy   { background: var(--navy); }
.text-center { text-align: center; }
.divider   { height: 1px; background: var(--gray-200); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .highlights-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid   { grid-template-columns: repeat(2,1fr); }
  .creds-grid    { grid-template-columns: repeat(2,1fr); }
  .looking-grid  { grid-template-columns: repeat(2,1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: white; flex-direction: column; padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
    z-index: 199; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { padding: 0.875rem 1rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; font-size: 0.95rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta        { margin: 0.5rem 0 0 !important; border-radius: var(--radius) !important; text-align: center; }
  .highlights-grid, .services-grid, .values-grid, .creds-grid, .looking-grid { grid-template-columns: 1fr; }
  .form-row2      { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .hero           { padding: 110px 0 60px; }
  .page-hero      { padding: 100px 0 50px; }
  .section        { padding: 3.5rem 0; }
  .trust-bar      { flex-direction: column; gap: 1rem; }
  .trust-item     { border-right: none; padding-right: 0; margin-right: 0; }
  .download-banner { flex-direction: column; text-align: center; }
  .cta-band       { padding: 3.5rem 0; }
  .footer-bottom  { flex-direction: column; }
  .container      { padding: 0 1.25rem; }
}
