/* RSG Government & Emergency Management Page: page styles, moved from the old plugin template. Menu and footer rules removed (they live in base.css). */
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Red Hat Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  background: #F2F2F2;
  color: #000000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:root {
  --black:      #000000;
  --ink:        #1A1E2D;
  --paper:      #F2F2F2;
  --white:      #FFFFFF;
  --red:        #BE3431;
  --red-deep:   #8E2724;
  --red-soft:   #D55F5B;
  --grey-700:   #595959;
  --grey-400:   #999999;
  --grey-150:   #D8D8D8;
  --grey-100:   #E3E3E3;
}
h1, h2, h3, h4 {
  font-family: 'Red Hat Display', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem);  font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: 0; }
p { font-size: 1rem; line-height: 1.6; font-weight: 300; }
.overline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
}
.overline-white { color: var(--white); }
.rsg-rule {
  display: block;
  width: 56px; height: 4px;
  background: var(--red);
  margin: 12px 0 20px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }

/* ══ NAV ══ */

/* ══ HERO ══ */
.rsg-hero {
  min-height: 100vh;
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 40px 80px;
  position: relative; overflow: hidden;
}
.rsg-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}
.rsg-hero::after {
  content: ''; position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px; background: var(--red);
}
.rsg-hero-tactical {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 32px;
}
.rsg-hero-eyebrow {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.rsg-hero h1 { max-width: 820px; color: var(--white); margin-bottom: 28px; text-transform: uppercase; }
.rsg-hero h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.72); }
.rsg-hero-sub {
  max-width: 580px; font-size: 1.0625rem; line-height: 1.65;
  color: rgba(255,255,255,0.65); font-weight: 300; margin-bottom: 44px;
}
.rsg-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--red); color: var(--white);
  padding: 14px 36px; font-family: 'Red Hat Display', sans-serif;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.03em;
  border: 2px solid var(--red); transition: background 120ms ease, border-color 120ms ease;
  cursor: pointer; text-decoration: none;
}
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--white);
  padding: 14px 36px; font-family: 'Red Hat Display', sans-serif;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.03em;
  border: 2px solid rgba(255,255,255,0.35);
  transition: background 120ms ease, border-color 120ms ease;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* ══ PROOF BAND ══ */
.rsg-proof-band {
  background: var(--ink); color: var(--white);
  padding: 0; display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--red);
}
.rsg-proof-item {
  flex: 1; min-width: 220px; padding: 36px 40px;
  border-right: 1px solid rgba(255,255,255,0.07); text-align: center;
}
.rsg-proof-item:last-child { border-right: none; }
.rsg-proof-number {
  font-size: 2.25rem; font-weight: 900; color: var(--white);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em;
}
.rsg-proof-number span { color: var(--red); }
.rsg-proof-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); line-height: 1.5;
}

/* ══ BADGE BAND ══ */
.rsg-badge-band {
  background: var(--ink); padding: 20px 40px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rsg-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}

/* ══ SERVICES ══ */
.rsg-services { background: var(--paper); padding: 96px 40px; }
.rsg-section-header { max-width: 760px; margin-bottom: 64px; }
.rsg-section-header h2 { margin-bottom: 16px; }
.rsg-section-header p { font-size: 1.0625rem; color: var(--grey-700); max-width: 580px; }
.rsg-services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--grey-150);
  border: 1px solid var(--grey-150); max-width: 1200px;
}
.rsg-service-item {
  background: var(--white); padding: 44px 40px; transition: background 200ms ease;
}
.rsg-service-item:hover { background: var(--paper); }
.rsg-service-number {
  font-size: 2.5rem; font-weight: 900; color: var(--red);
  line-height: 1; margin-bottom: 20px; letter-spacing: -0.02em;
}
.rsg-service-item h3 {
  font-size: 1.1875rem; font-weight: 700; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.rsg-service-item p { font-size: 0.9375rem; color: var(--grey-700); line-height: 1.65; }
.rsg-service-tag {
  display: inline-block; margin-top: 16px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
}

/* ══ PROCESS ══ */
.rsg-process { background: var(--black); color: var(--white); padding: 96px 40px; }
.rsg-process .rsg-section-header h2 { color: var(--white); }
.rsg-process .rsg-section-header p { color: rgba(255,255,255,0.55); }
.rsg-process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07); max-width: 1200px;
}
.rsg-process-step {
  padding: 40px 32px; border-right: 1px solid rgba(255,255,255,0.07);
}
.rsg-process-step:last-child { border-right: none; }
.rsg-step-num {
  font-size: 3rem; font-weight: 900; color: rgba(190,52,49,0.35);
  line-height: 1; margin-bottom: 16px; letter-spacing: -0.03em;
}
.rsg-process-step h3 {
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--white); margin-bottom: 12px;
}
.rsg-process-step p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.rsg-optional-tag {
  display: inline-block; margin-top: 14px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(190,52,49,0.6);
  border: 1px solid rgba(190,52,49,0.25); padding: 3px 8px;
}

/* ══ SCOPE TABLE ══ */
.rsg-scope { background: var(--paper); padding: 96px 40px; }
.rsg-scope-table-wrap {
  max-width: 900px; border: 1px solid var(--grey-150); background: var(--white);
}
.rsg-scope-table { width: 100%; border-collapse: collapse; }
.rsg-scope-table thead tr { background: var(--black); color: var(--white); }
.rsg-scope-table th {
  padding: 20px 28px; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; text-align: left;
}
.rsg-scope-table td {
  padding: 14px 28px; font-size: 0.9rem; font-weight: 300;
  border-top: 1px solid var(--grey-150); color: var(--grey-700); vertical-align: top;
}
.rsg-scope-table tr:hover td { background: var(--paper); }
.scope-yes { color: var(--red); font-weight: 700; margin-right: 8px; }
.scope-no { color: var(--grey-400); font-weight: 700; margin-right: 8px; }
.rsg-scope-note {
  margin-top: 20px; font-size: 0.875rem; color: var(--grey-700);
  font-style: italic; border-left: 3px solid var(--red);
  padding: 12px 16px; background: var(--white); max-width: 900px;
}

/* ══ CREDENTIALS ══ */
.rsg-credentials { background: var(--ink); color: var(--white); padding: 96px 40px; }
.rsg-credentials .rsg-section-header h2 { color: var(--white); }
.rsg-credentials .rsg-section-header p { color: rgba(255,255,255,0.55); }
.rsg-cred-groups {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; max-width: 1000px;
}
.rsg-cred-group h4 {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rsg-cred-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rsg-cred-list li {
  font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.72);
  line-height: 1.5; padding-left: 16px; position: relative;
}
.rsg-cred-list li::before {
  content: '///'; position: absolute; left: 0; top: 0;
  font-size: 0.55rem; font-weight: 700; color: var(--red);
  letter-spacing: 0; line-height: 1.9;
}

/* ══ TEAM STATS ══ */
.rsg-team-stats {
  display: flex; flex-wrap: wrap; gap: 0; max-width: 1000px;
  margin-bottom: 56px; border: 1px solid rgba(255,255,255,0.07);
}
.rsg-team-stat {
  flex: 1; min-width: 200px; padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.07); text-align: center;
}
.rsg-team-stat:last-child { border-right: none; }
.rsg-team-stat-num {
  font-size: 2.5rem; font-weight: 900; color: var(--white);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 6px;
}
.rsg-team-stat-num span { color: var(--red); }
.rsg-team-stat-label {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* ══ TEAM BIOS ══ */
.rsg-team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.07);
  max-width: 1000px; margin-bottom: 56px;
}
.rsg-team-member { background: rgba(255,255,255,0.03); padding: 36px 32px; }
.rsg-team-member h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: 0;
}
.rsg-team-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px; display: block;
}
.rsg-team-rule { width: 32px; height: 2px; background: var(--red); margin-bottom: 20px; }
.rsg-team-bio {
  font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.7;
}

/* ══ CLOSING CTA ══ */
.rsg-closing {
  background: var(--black); color: var(--white);
  padding: 112px 40px; position: relative; overflow: hidden;
}
.rsg-closing::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
}
.rsg-closing-inner { max-width: 740px; }
.rsg-closing h2 {
  color: var(--white); font-size: clamp(2rem, 4.5vw, 3.75rem);
  margin-bottom: 20px; text-transform: uppercase;
}
.rsg-closing p {
  font-size: 1.0625rem; color: rgba(255,255,255,0.62);
  max-width: 560px; margin-bottom: 40px; line-height: 1.65;
}

/* ══ FOOTER ══ */

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .rsg-services-grid { grid-template-columns: 1fr; }
  .rsg-process-steps { grid-template-columns: 1fr 1fr; }
  .rsg-cred-groups { grid-template-columns: 1fr; }
  .rsg-team-grid { grid-template-columns: 1fr; }}
@media (max-width: 600px) {
  .rsg-hero, .rsg-services, .rsg-process, .rsg-scope,
  .rsg-credentials, .rsg-closing { padding-left: 24px; padding-right: 24px; }
  .rsg-proof-band { flex-direction: column; }
  .rsg-proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .rsg-process-steps { grid-template-columns: 1fr; }
  .rsg-process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }}
