/* ============================================================
 * BlueBay Brokers — shared stylesheet
 * Loaded from every public page via <link rel="stylesheet" href="/bbb.css">
 * before each page's inline <style>, so page-specific rules can still
 * override these defaults via specificity / cascade order.
 *
 * Page-specific layouts (hero variants, building-card grids, simulator
 * forms, etc.) stay in each file's <style> block.
 * ============================================================ */

/* ---- Brand colour vars (mirror the inline :root so pages that
 *      forget to set them still work) -------------------------- */
:root {
  --navy: #0c1c35;
  --navy2: #142444;
  --navy3: #1c2f55;
  --gold: #c9943a;
  --gold2: #e8b55a;
  --teal: #1a7a8a;
  --teal2: #2a9aae;
  --white: #ffffff;
  --off: #f7f6f2;
  --off2: #eeecea;
  --text: #1a1a18;
  --text2: #4a4845;
  --text3: #888780;
  --border: rgba(0,0,0,.1);
  --green: #0F6E56;
  --gbg: #E1F5EE;
  --r: 8px;
  --rl: 14px;
  --sh: 0 4px 24px rgba(12,28,53,.1);
  --shh: 0 12px 48px rgba(12,28,53,.22);
}

/* ---- Two-funnel nav buttons (Buy = gold / Manage = teal) ---- */
.nav-cta-pair { display: flex; gap: 8px; }
.nav-btn {
  padding: 9px 18px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s;
  border: 0;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.nav-btn-buy { background: var(--gold); color: var(--navy); }
.nav-btn-buy:hover { opacity: .85; }
.nav-btn-manage { background: var(--teal); color: #fff; }
.nav-btn-manage:hover { opacity: .85; }
.nav-btn.active { outline: 2px solid rgba(255,255,255,.25); outline-offset: 1px; }
.nav-drawer ul li a.teal { color: var(--teal2); }
@media (max-width: 900px) { .nav-cta-pair { display: none; } }

/* ---- Homepage hero split (Buy / Manage cards) --------------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 880px;
  margin-top: 1.5rem;
}
@media (max-width: 768px) { .hero-split { grid-template-columns: 1fr; } }
.hero-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 1.7rem;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  transition: transform .25s, background .25s, border-color .25s;
  color: #fff;
}
.hero-card:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }
.hero-card-buy { border-left: 3px solid var(--gold); }
.hero-card-buy:hover { border-color: var(--gold); }
.hero-card-manage { border-left: 3px solid var(--teal); }
.hero-card-manage:hover { border-color: var(--teal2); }
.hero-card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.hero-card-buy .hero-card-label { color: var(--gold2); }
.hero-card-manage .hero-card-label { color: var(--teal2); }
.hero-card-h {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.15;
}
.hero-card-h strong { font-weight: 600; }
.hero-card-buy .hero-card-h strong { color: var(--gold2); }
.hero-card-manage .hero-card-h strong { color: var(--teal2); }
.hero-card-sub { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.55; }
.hero-card-cta {
  margin-top: .35rem;
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 500;
}
.hero-card-buy .hero-card-cta { color: var(--gold2); }
.hero-card-manage .hero-card-cta { color: var(--teal2); }

/* ---- Photo hover reveal across the site --------------------- *
 * Applies to any card-style container with box-shadow whose child
 * <img> has the brand grayscale inline filter. On hover, the photo
 * pops to a warm, slightly desaturated look + a subtle zoom. */
img[style*="grayscale(100%)"] {
  transition: filter .4s, transform .4s !important;
}
div[style*="box-shadow"]:hover img[style*="grayscale(100%)"] {
  filter: grayscale(40%) sepia(15%) !important;
  transform: scale(1.04);
}
