/* ===========================================================================
   registrationscenter.com — site-v2.css
   20260518 Surgical refresh, GSA/government-contractor formal palette.
   Hand-rolled CSS (no build step) so a PHP-team can maintain it.
   =========================================================================== */

/* ---------- design tokens ---------- */
:root {
  /* palette */
  --navy:       #1a2a4f;
  --navy-dark:  #0c1830;
  --navy-soft:  #2c3e6b;
  --gold:       #b8924d;
  --gold-soft:  #d4b377;
  --paper:      #fbfaf6;
  --paper-warm: #f3efe4;
  --ink:        #1f2937;
  --ink-mute:   #6b7280;
  --line:       #e5e1d6;
  --white:      #ffffff;
  --success:    #156a3d;

  /* type */
  --serif: "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* layout */
  --max-w: 1180px;
  --gutter: 1.25rem;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(12, 24, 48, 0.06);
  --shadow-md: 0 6px 20px rgba(12, 24, 48, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 24, 48, 0.12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--paper-warm { background: var(--paper-warm); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.92); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--gold-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-align: center;
  transition: transform .1s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--gold-soft); color: var(--navy-dark); border-color: var(--gold-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--white); }
.btn--secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--secondary:hover { background: var(--navy-dark); color: var(--white); border-color: var(--navy-dark); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img.brand__logo { height: 60px; width: auto; }
.brand__name { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); font-weight: 600; line-height: 1.1; }
.brand__name small { display: block; font-family: var(--sans); font-size: .7rem; color: var(--ink-mute); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 540px) { .brand img.brand__logo { height: 48px; } }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 1.5rem; }
.nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav__link.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: .9rem;
}
.nav__phone:hover { background: var(--navy); color: var(--white); }
.nav__phone svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .5rem .65rem;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 0;
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 0; width: 100%; }
  .nav.is-open .nav__link { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__phone { margin-top: .75rem; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(184,146,77,.18), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: rgba(255,255,255,.95);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero__lede { font-size: 1.2rem; color: rgba(255,255,255,.85); margin-bottom: 1.75rem; max-width: 60ch; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.hero__badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__badges svg { width: 16px; height: 16px; color: var(--gold-soft); flex-shrink: 0; }

/* ---------- trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}
.trust-bar__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1;
}
.trust-bar__item span { font-size: .85rem; color: var(--ink-mute); }
@media (max-width: 640px) {
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}

/* ---------- services grid ---------- */
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--paper-warm);
  color: var(--gold);
  margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { color: var(--navy); margin-bottom: .35rem; }
.card p { color: var(--ink-mute); font-size: .95rem; margin: 0; }

/* ---------- three-step "how it works" ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { padding-top: 1rem; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { color: var(--white); margin-bottom: .35rem; }
.step p { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0; }
@media (max-width: 740px) { .steps { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner__text { flex: 1 1 360px; }
.cta-banner h2 { margin-bottom: .35rem; }
.cta-banner p { color: var(--ink-mute); margin: 0; }

/* ---------- contact info strip ---------- */
.contact-strip { background: var(--white); border-top: 1px solid var(--line); }
.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.25rem 0;
}
.contact-strip__item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-strip__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--paper-warm);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-strip__icon svg { width: 18px; height: 18px; }
.contact-strip__label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
.contact-strip__value { color: var(--ink); font-size: .95rem; line-height: 1.4; }
.contact-strip__value a { font-weight: 500; }
@media (max-width: 860px) { .contact-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .contact-strip__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 0;
  font-size: .92rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__brand img.site-footer__logo { height: 72px; width: auto; margin-bottom: 1rem; background: rgba(255,255,255,.06); border-radius: var(--radius); padding: .35rem .5rem; }
.site-footer__brand p { color: rgba(255,255,255,.65); max-width: 32ch; }
.site-footer__legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.site-footer__legal img { height: 22px; opacity: .8; }
.site-footer__disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  padding-bottom: 1.5rem;
  line-height: 1.55;
  max-width: 86ch;
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 540px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- prose (legal text, long-form content) ---------- */
.prose { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin: 2.25rem 0 .65rem; letter-spacing: -.01em; }
.prose h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin: 1.75rem 0 .5rem; letter-spacing: -.005em; }
.prose h4 { font-family: var(--sans); font-size: 1rem; color: var(--navy); margin: 1.5rem 0 .4rem; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.prose a:hover { color: var(--gold); }
.prose strong, .prose b { color: var(--navy); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose center { display: block; text-align: center; }   /* tolerate legacy <center> tags in legal text */
.prose blockquote { border-left: 3px solid var(--gold); padding: .25rem 0 .25rem 1rem; margin: 1.25em 0; color: var(--ink-mute); font-style: italic; }

/* ---------- skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: .75rem; color: var(--white); }

/* ---------- utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
