/* ===================== Brand Palette ===================== */
:root {
  /* Brand colors */
  --brand-navy:   #0f2a5f;   /* BWGC navy */
  --brand-emerald:#2e8b57;   /* BWGC emerald */
  --brand-teal:   #14b8a6;   /* teal accent */

  /* Theme tokens (light) */
  --bg: #f7f9fc;
  --fg: #101828;
  --muted: #667085;
  --primary: var(--brand-navy);
  --accent:  var(--brand-emerald);
  --accent-2:var(--brand-teal);
  --card: #ffffff;
  --shadow: rgba(15,42,95,0.08);
  --radius: 14px;

  /* Logo size — tweak these two to resize globally */
  --logo-w: 150px;
  --logo-h: 40px;
}
[data-theme="dark"] {
  --bg: #0b0f17;
  --fg: #e5e7eb;
  --muted: #9aa4b2;
  --primary: #5c7bbf;          /* lighter navy for contrast */
  --accent:  #34d399;          /* emerald 400 */
  --accent-2:#2dd4bf;          /* teal 400 */
  --card: #121826;
  --shadow: rgba(0,0,0,0.5);
}

/* ===================== Base ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background: var(--bg); color: var(--fg); }
a { color: var(--primary); text-decoration: none; }
.muted { color: var(--muted); }

/* ===================== Navbar ===================== */
.navbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid color-mix(in oklab, var(--muted) 20%, transparent);
}

/* Brand + logo */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.brand-text { font-weight: 800; letter-spacing: 0.2px; }
.logo-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width: var(--logo-w); height: var(--logo-h);
  padding: 4px 8px; background:#fff; border-radius:12px;
  border:1px solid color-mix(in oklab, var(--muted) 18%, transparent);
  box-shadow: 0 6px 14px var(--shadow); overflow:hidden;
}
.logo-img{ width:100%; height:100%; object-fit:contain; display:block; }

.navbar ul { list-style: none; display: flex; gap: 16px; justify-content: center; margin: 0; padding: 0; }
#theme-toggle { justify-self: end; background: transparent; border: none; font-size: 1.1rem; cursor: pointer; color: var(--fg); }

/* ===================== Sections ===================== */
.section { padding: 72px 0; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 18px; }
.reveal { opacity: 0; transform: translateY(16px); transition: all .6s ease; }
.reveal.active { opacity: 1; transform: none; }

/* ===================== Hero ===================== */
.hero-wrap { text-align: center; }
.hero-title { font-size: clamp(1.8rem, 2.2rem + 1vw, 3rem); font-weight: 850; margin-bottom: 10px; }
.hl { background: linear-gradient(90deg, var(--primary), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); margin-bottom: 18px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; border: 0; cursor: pointer; font-weight: 700; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 10px 20px var(--shadow); }
.btn-primary:hover { transform: translateY(-1px); }

/* ===================== Cards & grids ===================== */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 20px var(--shadow);
  border: 1px solid color-mix(in oklab, var(--muted) 12%, transparent); transition: transform .2s ease, border .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }

.cards-facts .card { cursor: pointer; position: relative; }
.cards-facts .card.active { outline: 2px solid var(--primary); }
.fact-title { font-weight: 800; margin-bottom: 6px; }
.fact-detail { color: var(--muted); font-size: .95rem; }
.tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: color-mix(in oklab, var(--accent-2) 16%, transparent); color: var(--accent-2); padding: 5px 8px; border-radius: 999px; font-size: .75rem; }

/* ===================== Section heads ===================== */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.chipbar { display: flex; align-items: center; gap: 10px; }
.chip, .chip-ghost {
  padding: 8px 12px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--muted) 25%, transparent);
  background: var(--card); color: var(--fg); cursor: pointer; font-weight: 700; font-size: .9rem;
}
.chip-ghost { opacity: .7; cursor: default; }
.chip-active { border-color: var(--primary); color: var(--primary); }

/* ===================== Service card ===================== */
.service-title { font-weight: 800; margin-bottom: 6px; }
.service-blurb { color: var(--muted); font-size: .95rem; }
.service-tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.service-card .tag { background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); }

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.contact-card { background: var(--card); border: 1px solid color-mix(in oklab, var(--muted) 12%, transparent); border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 20px var(--shadow); }
.contact-links { list-style: none; padding: 0; margin: 12px 0 0 0; display: grid; gap: 8px; }
.calendly-embed { background: var(--card); border: 1px solid color-mix(in oklab, var(--muted) 12%, transparent); border-radius: var(--radius); padding: 8px; box-shadow: 0 8px 20px var(--shadow); }

/* ===================== Footer ===================== */
.footer { padding: 28px 0; border-top: 1px solid color-mix(in oklab, var(--muted) 20%, transparent); margin-top: 24px; }
.foot-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.foot-col small a { color: var(--muted); }

/* ===================== Reveal fallback ===================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .logo-badge { width: 128px; height: 34px; }
}

/* ===================== Services buckets ===================== */
.service-buckets { display: grid; gap: 28px; }
.bucket-title { margin: 0 0 10px 0; font-weight: 900; letter-spacing: .2px; }
.bucket .cards { margin-top: 6px; }
.service-card { position: relative; overflow: hidden; }
.service-card .service-title { font-weight: 800; margin-bottom: 6px; }
.service-card .service-blurb { color: var(--muted); }

/* subtle left accent bar on hover */
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .2s ease;
}
.service-card:hover::before { opacity: 1; }
.inline-points{
  list-style:none; padding:0; margin:10px 0 0 0;
  display:flex; gap:12px; flex-wrap:wrap;
}
.inline-points li{
  display:flex; align-items:center; gap:6px;
}
.inline-points li::before{
  content:"✓";
  font-weight:900;
  color: var(--accent);
}


