/* ============================================================
   FIRST SERGEANT SKILLBRIDGE CONSULTING — DESIGN SYSTEM
   Color: Navy authority, gold achievement, cream calm, green ROI
   Type: Georgia display (military plaque gravitas) + system sans body
   Signature: bridge-cable divider motif + live ROI calculator
   ============================================================ */

:root {
  --navy: #1B2A4A;
  --navy-light: #2A4070;
  --navy-deep: #0F1B30;
  --gold: #B8962E;
  --gold-light: #D4AF37;
  --gold-pale: #FDF3DC;
  --cream: #F8F7F4;
  --white: #FFFFFF;
  --charcoal: #333333;
  --gray: #666666;
  --gray-light: #999999;
  --green: #1A6B2A;
  --green-deep: #145220;
  --green-pale: #E8F5E9;
  --border: #E2DFD6;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Bridge cable divider — the signature structural motif ---------- */
.cable-divider {
  position: relative;
  height: 28px;
  width: 100%;
  overflow: hidden;
}
.cable-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand img { height: 46px; width: 46px; }
.brand-text { line-height: 1.15; }
.brand-text .name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.brand-text .tag {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav.main-nav { display: flex; align-items: center; gap: 2.1rem; }
nav.main-nav a {
  color: #C9D4E8;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  position: relative;
}
nav.main-nav a:hover { color: var(--gold-light); }
nav.main-nav a.current { color: var(--white); }
nav.main-nav a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -28px;
  height: 2px;
  background: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
}
.nav-cta:hover { background: var(--gold-light); }

.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -8%;
  width: 560px; height: 560px;
  border: 1px solid rgba(184,150,46,0.18);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  top: -5%; right: 4%;
  width: 380px; height: 380px;
  border: 1px solid rgba(184,150,46,0.12);
  border-radius: 50%;
}
.hero .wrap { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: "\2605"; font-size: 0.9rem; }
.hero h1 {
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: 1.12;
  font-weight: 700;
  max-width: 760px;
  margin-bottom: 0.4rem;
}
.hero h1 .accent { color: var(--gold-light); }
.hero .lede {
  font-size: 1.18rem;
  color: #C9D4E8;
  max-width: 600px;
  margin: 1.3rem 0 2.2rem;
  font-weight: 400;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: all 0.18s ease;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }

.hero-proof {
  margin-top: 3.2rem;
  display: flex;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.proof-item { }
.proof-item .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.proof-item .lbl {
  font-size: 0.82rem;
  color: #A8B8D4;
  margin-top: 0.3rem;
  max-width: 160px;
}

/* ---------- Section scaffolding ---------- */
section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: block;
}
.section-navy .kicker { color: var(--gold-light); }
h2.section-title {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.section-navy h2.section-title, .section-navy .section-head p { color: var(--white); }
.section-head p { color: var(--gray); font-size: 1.05rem; margin-top: 0.8rem; }

/* ---------- ROI Calculator — the signature interactive element ---------- */
.calc-wrap {
  background: var(--navy-deep);
  border-radius: 6px;
  padding: 2.6rem 2.8rem;
  border: 1px solid rgba(184,150,46,0.25);
  position: relative;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.calc-label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #A8B8D4;
  margin-bottom: 0.6rem;
}
.calc-rate-display {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  outline: none;
  margin-bottom: 0.6rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-deep);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(184,150,46,0.25);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-deep);
  cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: #7A8BAA; }

.calc-results { display: flex; flex-direction: column; gap: 1.1rem; }
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.result-row:last-child { border-bottom: none; padding-bottom: 0; }
.result-row .rlabel { font-size: 0.95rem; color: #C9D4E8; }
.result-row .rvalue {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}
.result-row.highlight .rvalue { color: var(--gold-light); font-size: 1.9rem; }
.result-row.net .rvalue { color: #6FCF8E; font-size: 2.1rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.1rem;
  border-top: 3px solid var(--gold);
}
.fact-card .icon-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.fact-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 0.5rem; font-weight: 700; }
.fact-card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Process timeline ---------- */
.process-row { display: flex; gap: 0; position: relative; margin-top: 2rem; }
.process-step {
  flex: 1;
  position: relative;
  padding: 0 1.2rem;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  position: relative; z-index: 2;
}
.process-step h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: 0.4rem; }
.process-step .timing { font-size: 0.78rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; display: block; }
.process-step p { font-size: 0.9rem; color: var(--gray); }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.price-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--gold); box-shadow: 0 8px 28px rgba(184,150,46,0.18); transform: translateY(-6px); }
.price-head { padding: 1.6rem 1.8rem; background: var(--navy); }
.price-card.featured .price-head { background: var(--gold); }
.price-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; display: block; }
.price-card.featured .price-badge { color: var(--navy-deep); }
.price-head h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
.price-card.featured .price-head h3 { color: var(--navy-deep); }
.price-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.price-amount { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--navy); }
.price-period { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.4rem; }
.price-list { list-style: none; flex: 1; }
.price-list li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.4rem;
  position: relative;
}
.price-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-list li:last-child { border-bottom: none; }
.price-foot { padding-top: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #A8B8D4; padding: 3.2rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.4rem; }
.footer-brand .brand-text .name { color: var(--white); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 280px; color: #8595B0; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.88rem; color: #A8B8D4; margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.4rem; font-size: 0.82rem; color: #6E7E9C; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.badge-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.badge {
  font-size: 0.78rem;
  color: #C9D4E8;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}

/* ---------- Page header (non-home pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.6rem 0 3rem;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { font-family: var(--serif); font-size: 2.5rem; margin-bottom: 0.6rem; }
.page-hero p { color: #C9D4E8; font-size: 1.05rem; max-width: 620px; }
.breadcrumb { font-size: 0.85rem; color: var(--gold-light); margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-q { font-weight: 700; color: var(--navy); font-size: 1.02rem; margin-bottom: 0.5rem; }
.faq-a { color: var(--gray); font-size: 0.95rem; }

/* ---------- Form ---------- */
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Quote block ---------- */
.quote-block {
  border-left: 4px solid var(--gold);
  padding: 0.3rem 0 0.3rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  font-style: italic;
  margin: 2rem 0;
}
.quote-attr { font-family: var(--sans); font-style: normal; font-size: 0.85rem; color: var(--gray); margin-top: 0.5rem; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.2rem; }
  .calc-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-row { flex-direction: column; gap: 2rem; }
  section { padding: 3rem 0; }
}
