/* BayBoost site shell — tokens, base, nav, footer, shared utilities */

:root {
  --deep-navy: #1C2B3A;
  --dark-navy: #0F1C2D;
  --mid-navy: #243447;
  --signal-orange: #FF6B1A;
  --orange-hover: #E05A0D;
  --orange-soft: #FFE5D2;
  --light-grey: #F5F6F8;
  --soft-grey: #EAEDF2;
  --mid-grey: #5A6A7A;
  --line-grey: #DDE3EC;
  --white: #FFFFFF;
  --green: #27864A;
  --green-soft: #E8F3EC;
  --shadow-sm: 0 2px 6px rgba(15,28,45,0.06);
  --shadow-md: 0 6px 18px rgba(15,28,45,0.10);
  --shadow-lg: 0 14px 40px rgba(15,28,45,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep-navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, .heading {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--deep-navy);
}

/* ───── Nav ───── */
.bb-nav {
  background: var(--dark-navy);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.bb-nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.bb-nav-logo .tagline { white-space: nowrap; }
.bb-nav-logo .accent { color: var(--signal-orange); }
.bb-nav-logo .tagline {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.bb-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.bb-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color 0.15s;
  position: relative;
}
.bb-nav-links a:hover { color: var(--signal-orange); }
.bb-nav-links a.active { color: var(--signal-orange); }
.bb-nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 3px;
  background: var(--signal-orange);
}
.bb-nav-cta {
  background: var(--signal-orange);
  white-space: nowrap;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.15s, transform 0.15s;
}
.bb-nav-cta:hover { background: var(--orange-hover) !important; transform: translateY(-1px); }

/* ───── Footer ───── */
.bb-footer {
  background: var(--dark-navy);
  padding: 64px 40px 32px;
  color: rgba(255,255,255,0.7);
}
.bb-footer-row {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.bb-footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}
.bb-footer-brand .accent { color: var(--signal-orange); }
.bb-footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin: 4px 0 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.bb-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.bb-footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bb-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bb-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.bb-footer-links a:hover { color: var(--signal-orange); }
.bb-footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.bb-footer-bottom a { color: var(--signal-orange); }
.bb-footer-bottom a:hover { text-decoration: underline; }

/* ───── Shared bits ───── */
.bb-section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  white-space: nowrap;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--signal-orange);
  margin-bottom: 14px;
  display: inline-block;
}
.bb-section-title {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.bb-section-title .accent { color: var(--signal-orange); }
.bb-section-sub {
  font-size: 17px;
  color: var(--mid-grey);
  max-width: 660px;
  line-height: 1.6;
}
.bb-center { text-align: center; }
.bb-center .bb-section-sub { margin-left: auto; margin-right: auto; }

.bb-inner { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

/* Buttons */
.bb-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.bb-btn-primary { background: var(--signal-orange); color: #fff; box-shadow: 0 4px 14px rgba(255,107,26,0.25); }
.bb-btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,26,0.35); }
.bb-btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.bb-btn-secondary:hover { border-color: rgba(255,255,255,0.7); }
.bb-btn-outline { background: transparent; color: var(--deep-navy); border: 2px solid var(--line-grey); }
.bb-btn-outline:hover { border-color: var(--signal-orange); color: var(--signal-orange); transform: translateY(-2px); }
.bb-btn-white { background: #fff; color: var(--signal-orange); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.bb-btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.24); }

/* Page hero (compact, used on interior pages) */
.bb-page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,107,26,0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--dark-navy) 0%, var(--deep-navy) 55%, var(--mid-navy) 100%);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bb-page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,107,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bb-page-hero .bb-section-eyebrow {
  background: rgba(255,107,26,0.15);
  border: 1px solid rgba(255,107,26,0.4);
  border-radius: 4px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.bb-page-hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  color: #fff;
  max-width: 900px;
  margin: 0 auto 18px;
}
.bb-page-hero h1 .accent { color: var(--signal-orange); }
.bb-page-hero .lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Final CTA strip */
.bb-cta-strip {
  background: linear-gradient(135deg, var(--signal-orange) 0%, var(--orange-hover) 100%);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bb-cta-strip::before,
.bb-cta-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
}
.bb-cta-strip::before { top: -150px; left: -150px; width: 400px; height: 400px; }
.bb-cta-strip::after { bottom: -200px; right: -200px; width: 500px; height: 500px; }
.bb-cta-strip-inner { position: relative; max-width: 760px; margin: 0 auto; }
.bb-cta-strip h2 { font-size: clamp(32px, 4vw, 46px); color: #fff; margin-bottom: 14px; }
.bb-cta-strip p { font-size: 17px; color: rgba(255,255,255,0.92); margin-bottom: 28px; }
.bb-cta-strip .secondary {
  display: inline-block;
  margin-left: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .bb-nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .bb-nav-links { gap: 18px; font-size: 13px; }
  .bb-nav-links a.active::after { display: none; }
  .bb-footer { padding: 48px 20px 28px; }
  .bb-footer-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bb-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .bb-inner { padding: 0 20px; }
  .bb-page-hero { padding: 60px 20px; }
}
@media (max-width: 560px) {
  .bb-nav { padding: 12px 16px; }
  .bb-nav-logo { font-size: 20px; }
  .bb-nav-logo .tagline { display: none; }
  .bb-nav-links { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .bb-nav-cta { padding: 8px 14px; font-size: 12px !important; }
  .bb-footer-row { grid-template-columns: 1fr; }
  .bb-cta-strip { padding: 56px 20px; }
  .bb-cta-strip .secondary { display: block; margin: 16px auto 0; }
}

/* Fade-in */
.bb-fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.bb-fade-in.bb-visible { opacity: 1; transform: translateY(0); }
