.bs-hero-headline { color: #ffffff !important; }

/* ── Header & Navigation ──────────────────────────────── */
#site-header {
  position: sticky;
  top: 32px; /* below WP admin bar */
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  gap: 32px;
}

/* Logo */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #1f3a68;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 8px;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #1f3a68;
  letter-spacing: -0.3px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.logo-text span {
  color: #b8860b;
}

/* Nav links */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

#primary-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#primary-nav a:hover,
#primary-nav a.current-menu-item {
  background: #f3f4f6;
  color: #1f3a68;
}

#primary-nav a.nav-cta {
  background: #b8860b;
  color: #ffffff !important;
  font-weight: 600;
  padding: 9px 18px;
  margin-left: 8px;
}

#primary-nav a.nav-cta:hover {
  background: #a07609;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #1f3a68;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  #primary-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    gap: 2px;
  }
  #primary-nav.is-open { display: flex; }
  #primary-nav a { width: 100%; }
  #site-header { position: sticky; top: 46px; }
}

/* ── Footer ──────────────────────────────────────────── */
#site-footer {
  background: #1a2e52;
  color: #d1d9e6;
  padding: 56px 0 0;
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top section: brand + 3 columns */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  align-items: start;
}

/* Brand column */
.footer-brand .site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand .logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #b8860b;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.footer-brand .logo-text span {
  color: #b8860b;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #8fa3bf;
  margin: 0;
  max-width: 260px;
}

/* Link columns */
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #8fa3bf;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: #6b82a0;
  margin: 0;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-badge {
  font-size: 12px;
  color: #6b82a0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ── Polish: CTA Buttons ────────────────────────────── */

/* Primary button — gold with navy text, consistent everywhere */
.bs-btn-primary,
a.bs-btn-primary {
  background: #C9A24B !important;
  color: #1F3A68 !important;
  border-color: #C9A24B !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 8px rgba(201,162,75,0.35) !important;
  text-decoration: none !important;
}
.bs-btn-primary:hover,
a.bs-btn-primary:hover {
  background: #b8922e !important;
  border-color: #b8922e !important;
  color: #1F3A68 !important;
  box-shadow: 0 4px 14px rgba(201,162,75,0.45) !important;
  transform: translateY(-1px);
}

/* Ghost button — white outline on dark backgrounds */
.bs-btn-ghost,
a.bs-btn-ghost {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  text-decoration: none !important;
}
.bs-btn-ghost:hover,
a.bs-btn-ghost:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ── Polish: Hero section ─────────────────────────────── */
/* Ensure hero sub-text is bright */
.bs-hero-sub {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Social-proof checkmarks row */
.bs-hero-proof {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ── Polish: Trust bar ────────────────────────────────── */
[class*="bs-trust"],
[class*="bs-ticker"],
[class*="trust-bar"],
.bs-social-proof {
  color: #1F3A68 !important;
}

/* ── Polish: Feature cards ────────────────────────────── */
.bs-feature-card,
[class*="feature-card"],
[class*="bs-card"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bs-feature-card:hover,
[class*="feature-card"]:hover,
[class*="bs-card"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,58,104,0.12) !important;
}

/* ── Polish: Section headings ─────────────────────────── */
h2[class*="bs-"],
.bs-section-title {
  letter-spacing: -0.02em;
}

/* ── Polish: Steps arrows ──────────────────────────────── */
.bs-step-arrow {
  color: #C9A24B;
}

/* ── Polish: Testimonial cards ─────────────────────────── */
[class*="testimonial"],
[class*="bs-quote"] {
  border-left: 3px solid #C9A24B !important;
}

/* ── Polish: CTA section button (navy bg section) ─────── */
[class*="bs-cta"] .bs-btn-primary,
[class*="cta-section"] .bs-btn-primary,
[class*="cta-block"] .bs-btn-primary {
  background: #C9A24B !important;
  color: #1F3A68 !important;
}

/* ── Polish: Smooth scroll & transitions ──────────────── */
html { scroll-behavior: smooth; }
a { transition: color 0.15s ease, opacity 0.15s ease; }

/* ── Polish: Focus states for accessibility ───────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C9A24B;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Mobile nav: hamburger button ────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.menu-toggle:hover { background: #f3f4f6; }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  #primary-nav.is-open {
    display: flex !important;
  }
  #primary-nav a {
    width: 100%;
    padding: 10px 12px;
  }
}

/* Campaign hero – show full robot family (heads + kids) */
.ccb-hero {
  background-position: center 30% !important;
  min-height: 680px !important;
}

/* Hero layout: small oval on left, text pushed down */
.ccb-hero-inner {
  align-items: flex-start !important;
  gap: 32px !important;
}
.ccb-hero-photo {
  order: -1 !important;
  width: 150px !important;
  flex: 0 0 150px !important;
}
.ccb-hero-text {
  padding-top: 100px !important;
}

/* Candidate name – white on hero */
.ccb-hero-name {
  color: #ffffff !important;
}