/* ============================================================
   PREVAIL FEDERAL LLC — Design System
   Professional Government Contracting & Services Firm
   Color palette: Deep Navy | Gold | White | Slate
   ============================================================ */

:root {
  --navy:        #0A1628;
  --navy-mid:    #102040;
  --navy-light:  #162B50;
  --navy-card:   #1A3360;
  --gold:        #C9A84C;
  --gold-light:  #E0C070;
  --gold-dark:   #A87C2A;
  --white:       #FFFFFF;
  --off-white:   #F4F6FA;
  --slate:       #8A9BB5;
  --slate-dark:  #607090;
  --text-dark:   #1A2540;
  --text-body:   #334466;
  --border:      rgba(201,168,76,0.2);
  --border-light:rgba(201,168,76,0.10);
  --shadow:      0 4px 32px rgba(10,22,40,0.18);
  --shadow-card: 0 2px 20px rgba(10,22,40,0.12);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  all 0.22s ease;
  --max-width:   1180px;
  --font-sans:   'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utility ────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.section { padding: 88px 0; }
.section-alt { padding: 88px 0; background: var(--off-white); }
.section-dark { padding: 88px 0; background: var(--navy); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 18px;
  color: var(--text-dark);
}
.section-title-white {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 18px;
  color: var(--white);
}
.section-sub {
  font-size: 1.07rem;
  color: var(--slate-dark);
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.75;
}
.section-sub-white {
  font-size: 1.07rem;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto 52px;
  line-height: 1.75;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,168,76,0.35); }
.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-gold-outline:hover { background: rgba(201,168,76,0.1); }
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-white:hover { background: var(--off-white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ─── Top Banner ─────────────────────────────────────────── */
.top-banner {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.top-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-banner a { color: var(--gold); }
.top-banner a:hover { color: var(--gold-light); }
.top-banner-right { display: flex; gap: 24px; align-items: center; }

/* ─── Navigation ─────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e8ecf4;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(10,22,40,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text span { color: var(--gold); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after { width: 100%; }
.header-cta { margin-left: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 108px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 1.12rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.hero-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.hero-card p {
  font-size: 0.9rem;
  color: var(--slate-dark);
  margin-bottom: 24px;
}
.hero-card form { display: flex; flex-direction: column; gap: 12px; }
.hero-card input, .hero-card select, .hero-card textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d4dae8;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.18s;
  background: var(--white);
}
.hero-card input:focus, .hero-card select:focus, .hero-card textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.hero-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 0.78rem; color: var(--slate); text-align: center; margin-top: 8px; }

/* ─── Trust Bar ──────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.trust-icon {
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--white); }
.trust-item span { display: block; font-size: 0.78rem; color: var(--slate); }

/* ─── Services Grid ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid #e4e9f2;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(10,22,40,0.10);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 52px; height: 52px;
  background: rgba(10,22,40,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--slate-dark);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card .card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link:hover { color: var(--gold); }

/* ─── Why Us / Feature Grid ──────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.feature-item { text-align: left; }
.feature-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.feature-item h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-item p { font-size: 0.9rem; color: var(--slate-dark); line-height: 1.65; }

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 48px;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ─── NAICS / Certifications Badges ─────────────────────── */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.03em;
}
.badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── Capabilities Section ───────────────────────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.capability-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.capability-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.capability-card h3 .cap-icon {
  color: var(--gold);
  font-size: 1.2rem;
}
.capability-card ul { display: flex; flex-direction: column; gap: 8px; }
.capability-card li {
  font-size: 0.875rem;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.capability-card li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Accreditation/Logo Strip ───────────────────────────── */
.accred-strip {
  background: var(--off-white);
  border-top: 1px solid #e0e6f0;
  border-bottom: 1px solid #e0e6f0;
  padding: 36px 0;
}
.accred-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.accred-item .accred-icon {
  font-size: 1.4rem;
}

/* ─── Contact Form ───────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1.5px solid #e4e9f2;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-card);
}
.contact-form-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form-card p {
  font-size: 0.9rem;
  color: var(--slate-dark);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d4dae8;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.18s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.contact-info-item span, .contact-info-item a {
  font-size: 0.9rem;
  color: var(--slate-dark);
}
.contact-info-item a:hover { color: var(--gold-dark); }

/* ─── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--gold); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.page-hero p {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1.5px solid #e4e9f2;
  border-radius: var(--radius);
  padding: 22px 28px;
  cursor: pointer;
}
.faq-item summary {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.7;
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--slate);
  transition: var(--transition);
}
.social-link:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 0.88rem;
  color: var(--slate);
  transition: color 0.18s;
}
.footer-col li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--slate);
}
.footer-contact-item a { color: var(--slate); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--slate-dark);
}
.footer-bottom-inner a { color: var(--slate-dark); }
.footer-bottom-inner a:hover { color: var(--gold); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 28px 28px; border-bottom: 1px solid #e8ecf4; box-shadow: 0 8px 24px rgba(10,22,40,0.08); }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .site-header { position: relative; }
  .hero { padding: 72px 0 64px; }
  .section, .section-alt, .section-dark { padding: 64px 0; }
  .trust-bar-inner { gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .accred-inner { gap: 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .cta-buttons { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 2.2rem; }
  .top-banner-right { display: none; }
}
