/* ============================================================
   BVR Advisory — The Shared Services Center
   Shared stylesheet for all pages
   ============================================================ */

:root {
  --navy: #1E2761;
  --navy-dark: #141B33;
  --navy-darker: #0F1526;
  --gold: #D4AF37;
  --gold-deep: #B8952E;
  --ice: #CADCFC;
  --light-bg: #F5F6FA;
  --border: #E3E6F0;
  --gray-text: #4A4A4A;
  --white: #FFFFFF;
  --footer-text: #CADCFC;
  --footer-muted: #8B94C0;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #222222;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 50;
  background: var(--white);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  padding-top: 16px;
  padding-bottom: 16px;
  max-width: 1440px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 11px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--gold-deep);
}

.main-nav a.current { font-weight: 700; color: var(--navy); }

/* Services mega-dropdown, built on <details> so it works with click/tap, no JS required */
.mega-dropdown { position: relative; }
.mega-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #222222;
}
.mega-dropdown summary::-webkit-details-marker { display: none; }
.mega-dropdown summary:hover { color: var(--gold-deep); }
.mega-dropdown .chevron { transition: transform 0.15s ease; }
.mega-dropdown[open] .chevron { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  top: 34px;
  left: -260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(30, 39, 97, 0.16);
  padding: 32px;
  width: 920px;
  max-width: calc(100vw - 32px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  z-index: 60;
}

.mega-panel h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px 0;
}

.mega-panel a {
  display: block;
  font-size: 13px;
  color: var(--gray-text);
  padding: 5px 0;
}

.mega-panel a:hover { color: var(--navy); }

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 6px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.cta-button:hover { opacity: 0.9; }

.cta-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--ice);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 6px;
}

.cta-outline:hover { background: rgba(255, 255, 255, 0.08); }

.cta-large {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 6px;
}

.cta-large:hover { opacity: 0.9; }

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  padding: 90px 0 90px 0;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.eyebrow-sm {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.18;
  color: var(--white);
  max-width: 820px;
  margin: 0 0 22px 0;
}

.hero p.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ice);
  max-width: 680px;
  margin: 0 0 34px 0;
}

.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (secondary pages) */
.page-hero {
  background: var(--light-bg);
  padding: 64px 0;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 12px 0;
}

.page-hero p {
  font-size: 14.5px;
  color: var(--gray-text);
  max-width: 760px;
  margin: 0;
}

/* ---------- Stat band ---------- */

.stat-band {
  background: var(--light-bg);
  padding: 56px 0;
}

.stat-band .inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: #D9D9D9;
  flex-shrink: 0;
}

.stat-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-text);
  max-width: 760px;
}

.stat-source {
  font-size: 11.5px;
  color: #8B94A0;
  margin-top: 6px;
}

/* ---------- Sections ---------- */

section.block { padding: 80px 0; }
section.block.alt { background: var(--light-bg); }
section.block.navy { background: var(--navy); }

h2.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 0 0;
}

p.section-sub {
  font-size: 14px;
  font-style: italic;
  color: var(--gray-text);
  margin: 12px 0 0 0;
  max-width: 820px;
}

.section-head { margin-bottom: 28px; }

/* ---------- Card grids ---------- */

.card-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.card-row > * { flex: 1 1 260px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.card.on-light { background: var(--light-bg); }

.card-bar { height: 5px; background: var(--gold-deep); }

.card-body { padding: 26px 24px; }

.card-body h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.card-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-text);
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-deep);
}

.proof-line {
  margin: 24px 0 0 0;
  font-size: 13.5px;
  font-style: italic;
  color: var(--navy);
}

/* ---------- DRIVE rows ---------- */

.drive-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.drive-row:last-child { border-bottom: none; }

.drive-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-deep);
}

.drive-name {
  width: 170px;
  flex-shrink: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
}

.drive-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-text);
  flex: 1 1 300px;
}

.drive-mini-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.drive-mini {
  flex: 1 1 100px;
  background: var(--light-bg);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
}

.drive-mini.elevate { background: var(--navy); }

.drive-mini .letter {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.drive-mini.elevate .letter { color: var(--gold-deep); }

.drive-mini .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: 6px;
}

.drive-mini.elevate .label { color: var(--white); }

/* ---------- Tier cards ---------- */

.tier-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: stretch; }

.tier-card {
  flex: 1 1 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-card.highlight { background: var(--navy); border: none; }

.tier-card .tier-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.tier-card.highlight .tier-name { color: var(--white); }

.tier-card .tier-sub {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-deep);
}

.pillar-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.pillar-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
}

.pillar-badge.inactive {
  background: var(--white);
  color: #9AA3C4;
  border: 1px solid #D9D9D9;
}

.pillar-badge.on-navy { background: var(--gold-deep); color: var(--navy); }

.tier-adds {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.tier-card ul {
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--gray-text);
  margin: 0;
}

.tier-card.highlight ul { color: var(--ice); }

.tier-outcome {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 600;
  flex-grow: 1;
  margin: 4px 0 0 0;
}

.tier-card.highlight .tier-outcome { color: var(--white); }

.tier-timeline {
  font-size: 11.5px;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.tier-card.highlight .tier-timeline {
  color: var(--gold-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------- Expert Bench ---------- */

.pillar-group { margin-bottom: 36px; }

.pillar-group h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px 0;
}

.bench-row { display: flex; gap: 20px; flex-wrap: wrap; }

.bench-card {
  flex: 1 1 220px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
}

.bench-card .line-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
}

.bench-card .line-lead {
  font-size: 12.5px;
  font-style: italic;
  color: var(--gray-text);
  margin-top: 6px;
}

/* ---------- Steps ---------- */

.step-row { display: flex; gap: 26px; flex-wrap: wrap; }

.step {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-deep);
}

.step h4 { margin: 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.step p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--gray-text); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy);
  padding: 80px 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 14px 0;
}

.cta-band .tagline {
  font-size: 16px;
  font-style: italic;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 14px;
}

.cta-band p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ice);
  max-width: 620px;
  margin: 0 0 22px 0;
}

/* ---------- Contact form ---------- */

.contact-split { display: flex; gap: 56px; flex-wrap: wrap; }
.contact-split > * { flex: 1 1 340px; }

.contact-details { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.contact-details span { font-size: 13.5px; color: var(--ice); }
.contact-details a { color: var(--ice); }
.contact-details a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label { font-size: 12.5px; font-weight: 600; color: var(--navy); }

.field input,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  width: 100%;
}

.field textarea { resize: vertical; min-height: 90px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  padding: 56px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--footer-muted); }
.footer-brand .addr { font-size: 12.5px; color: var(--footer-muted); margin-top: 6px; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .heading { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-deep); text-transform: uppercase; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--footer-text); }
.footer-col a:hover { color: var(--gold-deep); }

.copyright-bar { background: var(--navy-darker); padding: 18px 0; }
.copyright-bar span { font-size: 12px; color: #6B7391; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-header .container { flex-wrap: wrap; row-gap: 14px; }
  .main-nav { flex-wrap: wrap; }
}

@media (max-width: 980px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .mega-panel { grid-template-columns: repeat(2, 1fr); left: -160px; width: 560px; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 30px; }
  .drive-name { width: 100%; }
  .tier-row { flex-direction: column; }
  .stat-number { font-size: 44px; }
}

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-nav { gap: 16px 22px; width: 100%; }
  .mega-panel { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 16px 0 0 0; margin-top: 8px; }
  .hero, .page-hero, section.block, .cta-band, .stat-band { padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 30px; }
  .footer-grid { flex-direction: column; gap: 32px; }
}
