/* =====================================================
   Madison Bond LLC — Rockefeller-Inspired Design System
   Palette: Dark Teal #002A3A & Gold #BBA984
   Layout: Asymmetric hero, top utility bar, gold accent strip
   Reference: rock-design-upd.md + rockefeller-design.png
   ===================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --mb-teal:         #002A3A;
  --mb-teal-dark:    #06262D;
  --mb-teal-mid:     #09272E;
  --mb-teal-light:   #08262A;
  --mb-teal-deep:    #001F28;
  --mb-gold:         #BBA984;
  --mb-gold-warm:    #806A4E;
  --mb-gold-light:   #CFAD7C;
  --mb-gold-pale:    #CAA979;
  --mb-cream:        #F4F1EC;
  --mb-cream-light:  #FAFAF6;
  --mb-charcoal:     #1A1A1A;
  --mb-soft-grey:    #6B7280;
  --mb-border:       #D1D5DB;
  --mb-white:        #FFFFFF;
  --mb-danger:       #8B3A3A;
  --font-heading:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--mb-charcoal);
  background: var(--mb-white);
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}
a { color: var(--mb-gold-warm); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--mb-gold); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: var(--font-heading); color: var(--mb-teal); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-top: 0; }
h3, h4, h5, h6 { font-family: var(--font-body); color: var(--mb-teal); font-weight: 700; line-height: 1.3; margin-top: 0; }
h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.3rem; color: var(--mb-teal-dark); }
h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mb-teal); }

.text-gold { color: var(--mb-gold) !important; }
.text-gold-light { color: var(--mb-gold-light) !important; }
.text-teal { color: var(--mb-teal) !important; }
.text-teal-dark { color: var(--mb-teal-dark) !important; }
.text-cream { color: var(--mb-cream) !important; }

/* ---------- Skip Link ---------- */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--mb-teal-dark); color: var(--mb-cream); padding: 8px 16px; z-index: 10000; transition: top 0.3s; font-family: var(--font-body); }
.skip-link:focus { top: 0; }

/* ---------- Top Utility Bar ---------- */
.mb-top-bar {
  background: var(--mb-cream);
  color: var(--mb-teal-dark);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(128,106,78,0.15);
}
.mb-top-bar a { color: var(--mb-gold-warm); font-weight: 600; }
.mb-top-bar a:hover { color: var(--mb-gold); }

/* ---------- Gold Accent Strip ---------- */
.mb-accent-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--mb-gold-warm), var(--mb-gold), var(--mb-gold-light), var(--mb-gold), var(--mb-gold-warm));
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-block; background: var(--mb-gold); color: var(--mb-teal-dark); border: none; border-radius: 4px;
  padding: 14px 32px; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.btn-gold:hover { background: var(--mb-gold-warm); transform: translateY(-2px); color: var(--mb-cream); text-decoration: none; }

.btn-outline-gold {
  display: inline-block; background: transparent; color: var(--mb-gold-light); border: 2px solid var(--mb-gold-light); border-radius: 4px;
  padding: 12px 30px; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.btn-outline-gold:hover { background: rgba(207,173,124,0.12); border-color: var(--mb-gold-pale); color: var(--mb-gold-pale); text-decoration: none; }

.btn-teal {
  display: inline-block; background: var(--mb-teal-dark); color: var(--mb-cream); border: none; border-radius: 4px;
  padding: 14px 32px; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.btn-teal:hover { background: var(--mb-teal-mid); color: var(--mb-cream); text-decoration: none; }

/* ---------- Navbar (Light Background) ---------- */
.mb-navbar {
  background: var(--mb-cream); padding: 0.85rem 1.5rem; position: sticky; top: 0; z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-bottom: 5px solid var(--mb-gold);
}
.mb-navbar .navbar-brand {
  font-family: var(--font-heading); color: var(--mb-teal-dark) !important; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.75rem;
}
.mb-navbar .navbar-brand img { height: 48px; width: auto; display: inline-block; }
.mb-navbar .navbar-brand span { color: var(--mb-gold); }
.mb-navbar .nav-link {
  font-family: var(--font-body); color: var(--mb-teal-dark) !important; font-weight: 500; font-size: 0.9rem;
  padding: 0.5rem 1rem !important; transition: color 0.2s;
}
.mb-navbar .nav-link:hover, .mb-navbar .nav-link.active { color: var(--mb-gold) !important; }
.mb-navbar .nav-cta {
  display: inline-block; background: var(--mb-gold); color: var(--mb-teal-dark) !important; border: none; border-radius: 4px;
  font-weight: 700; padding: 0.5rem 1.1rem !important; font-size: 0.85rem; letter-spacing: 0.04em;
  transition: all 0.3s ease; cursor: pointer; text-decoration: none;
}
.mb-navbar .nav-cta:hover { background: var(--mb-gold-warm); color: var(--mb-cream) !important; transform: translateY(-2px); text-decoration: none; }
.mb-navbar .navbar-toggler {
  background: var(--mb-gold); border: none; border-radius: 4px;
  padding: 0.55rem 0.75rem; transition: all 0.3s ease;
}
.mb-navbar .navbar-toggler:hover { background: var(--mb-gold-warm); transform: translateY(-2px); }
.mb-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(187,169,132,0.5); }
.mb-navbar .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244,241,236,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---------- Logo ---------- */
.mb-logo-square {
  width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-dark));
  border: 2px solid var(--mb-gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mb-gold); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem;
  margin-right: 0.75rem; flex-shrink: 0;
}
.mb-logo-square-lg {
  width: 120px; height: 120px; border-radius: 16px;
  background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-dark));
  border: 3px solid var(--mb-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--mb-gold); font-family: var(--font-heading); font-weight: 700; font-size: 3rem;
  margin: 0 auto;
}

/* ---------- Hero — Centered Single Column ---------- */
.mb-hero {
  position: relative; min-height: 600px; display: flex; align-items: stretch;
  overflow: hidden; padding: 0;
  background: var(--mb-teal-dark);
}
.mb-hero-inner {
  display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 600px;
  position: relative;
}
.mb-hero-text {
  padding: 100px 60px;
  position: relative; z-index: 2;
  text-align: center;
}
.mb-hero-visual {
  position: absolute; inset: 0; z-index: 0;
}
.mb-hero-content {
  position: relative; z-index: 2; width: auto; max-width: 80%; margin: 0 auto;
}
.mb-hero-subtitle {
  font-family: var(--font-body); font-size: 0.85rem; color: var(--mb-gold-light);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.mb-hero-content h1 {
  font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800;
  color: var(--mb-cream); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 20px;
}
.mb-hero-content h1 .accent { color: var(--mb-gold-light); }
.mb-hero-content p {
  font-family: var(--font-body); font-size: 1.05rem; color: rgba(244,241,236,0.9);
  line-height: 1.6; margin: 0 0 32px;
}
.mb-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Hero Visual Watermark ---------- */
.mb-hero-visual-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1;
}
.mb-hero-visual-watermark img { max-height: 70%; width: auto; opacity: 0.12; filter: grayscale(0.3); }

/* ---------- Focus / Sector Cards ---------- */
.mb-focus-card { text-align: center; padding: 2rem 1.5rem; height: 100%; }
.mb-focus-card i { font-size: 2.5rem; color: var(--mb-gold); margin-bottom: 1rem; display: block; }
.mb-focus-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--mb-teal-dark); margin-bottom: 0.5rem; }
.mb-focus-card p { font-size: 0.9rem; color: var(--mb-soft-grey); line-height: 1.6; margin: 0; }

/* ---------- Quote Band ---------- */
.mb-quote-band { padding: 60px 0; background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-dark)); color: var(--mb-cream); text-align: center; }
.mb-quote-band blockquote { font-family: var(--font-heading); font-size: 1.8rem; font-style: italic; margin: 0 auto 1rem; max-width: 800px; line-height: 1.4; }
.mb-quote-band cite { display: block; font-family: var(--font-body); font-size: 0.9rem; font-style: normal; color: var(--mb-gold-light); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Glass Cards (for dark sections) ---------- */
.mb-card-glass {
  background: rgba(244,241,236,0.06);
  border: 1px solid rgba(187,169,132,0.25);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}
.mb-card-glass:hover { background: rgba(244,241,236,0.1); border-color: rgba(187,169,132,0.4); transform: translateY(-3px); }
.mb-card-glass i { font-size: 2.5rem; color: var(--mb-gold); margin-bottom: 1rem; display: block; }
.mb-card-glass h4 { font-size: 1.1rem; font-weight: 700; color: var(--mb-cream); margin-bottom: 0.5rem; }
.mb-card-glass p { font-size: 0.9rem; color: rgba(244,241,236,0.75); line-height: 1.6; margin: 0; }


/* Hero — simple centered variant (inner pages) */
.mb-hero-simple {
  position: relative; min-height: 320px; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--mb-teal) 0%, var(--mb-teal-dark) 60%, var(--mb-teal-mid) 100%);
  overflow: hidden; padding: 80px 0;
}
.mb-hero-simple .mb-hero-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/images/hero-bg.jpg'); background-size: cover; background-position: center bottom; opacity: 0.15;
}
.mb-hero-simple .mb-hero-content {
  position: relative; z-index: 2; max-width: 600px;
}

/* ---------- Sections ---------- */
.mb-section { padding: 90px 0; }
.mb-section-light { background: var(--mb-cream); }
.mb-section-white { background: var(--mb-white); }
.mb-section-dark { background: var(--mb-teal-dark); color: var(--mb-cream); }
.mb-section-dark .mb-section-title h2 { color: var(--mb-cream); }
.mb-section-dark .mb-section-title p { color: rgba(244,241,236,0.85); }
.mb-section-title { text-align: center; margin-bottom: 50px; }
.mb-section-title h2 { font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 0.5rem; color: var(--mb-teal); }
.mb-section-title p { color: var(--mb-soft-grey); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.mb-divider { width: 56px; height: 3px; background: var(--mb-gold); margin: 0.75rem auto 0; border-radius: 2px; }

/* ---------- Approach Cards ---------- */
.mb-approach-card { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: 8px; padding: 30px; height: 100%; transition: all 0.3s ease; }
.mb-approach-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,42,58,0.12); border-color: var(--mb-teal); }
.mb-approach-num { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--mb-teal); line-height: 1; margin-bottom: 16px; }
.mb-approach-card h3 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; color: var(--mb-teal); margin: 0 0 12px; }
.mb-approach-card p { font-size: 0.95rem; color: var(--mb-soft-grey); line-height: 1.7; }

/* ---------- News Cards ---------- */
.mb-news-card { background: var(--mb-white); border: 1px solid var(--mb-border); border-radius: 8px; overflow: hidden; height: 100%; transition: all 0.3s ease; }
.mb-news-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.10); border-color: var(--mb-teal); }
.mb-news-card .card-img-placeholder { height: 160px; background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-dark)); display: flex; align-items: center; justify-content: center; color: var(--mb-gold-light); font-size: 2.5rem; }
.mb-news-card .card-body { padding: 1.25rem; }
.mb-news-card .card-meta { font-size: 0.78rem; font-weight: 500; color: var(--mb-soft-grey); margin-bottom: 0.5rem; }
.mb-news-card .card-title { font-size: 1.05rem; font-weight: 700; color: var(--mb-teal); margin-bottom: 0.5rem; font-family: var(--font-body); }
.mb-news-card .card-text { font-size: 0.88rem; color: var(--mb-soft-grey); line-height: 1.6; }

/* ---------- CTA Band ---------- */
.mb-cta-band { padding: 90px 0; background: linear-gradient(135deg, var(--mb-teal) 0%, var(--mb-teal-dark) 60%, var(--mb-teal-mid) 100%); text-align: center; color: var(--mb-cream); }
.mb-cta-band h2 { font-family: var(--font-heading); color: var(--mb-cream); font-size: 2.2rem; margin-bottom: 1rem; }
.mb-cta-band p { color: rgba(244,241,236,0.85); margin-bottom: 1.75rem; font-size: 1.05rem; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }

/* ---------- Footer ---------- */
.mb-footer-top-accent { height: 4px; background: linear-gradient(90deg, var(--mb-gold-warm), var(--mb-gold)); margin-bottom: 10px; }
.mb-footer { background: var(--mb-teal-dark); color: rgba(244,241,236,0.8); padding: 45px 0 20px; font-family: var(--font-body); }
.mb-footer h5 { font-family: var(--font-body); color: var(--mb-cream); font-size: 0.85rem; font-weight: 700; margin-bottom: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.mb-footer a { color: rgba(244,241,236,0.8); font-size: 0.875rem; display: block; margin-bottom: 8px; transition: color 0.2s; text-decoration: none; }
.mb-footer a:hover { color: var(--mb-gold-light); text-decoration: none; }
.mb-footer p { font-size: 0.875rem; line-height: 1.6; color: rgba(244,241,236,0.75); margin-bottom: 5px; }
.mb-footer-bottom { border-top: 1px solid rgba(244,241,236,0.12); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.8rem; color: rgba(244,241,236,0.55); }

/* ---------- About Page ---------- */
.mb-team-card { text-align: center; padding: 1.5rem; }
.mb-team-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mb-gold); margin: 0 auto 1rem; display: block; background: var(--mb-cream); }
.mb-team-avatar-placeholder { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--mb-teal), var(--mb-teal-dark)); border: 3px solid var(--mb-gold); margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; color: var(--mb-gold-light); font-size: 2.5rem; }
.mb-keyfact-card { background: var(--mb-cream); border-radius: 8px; padding: 2rem 1.5rem; text-align: center; }
.mb-keyfact-card .fact-num { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 900; color: var(--mb-teal); line-height: 1; }
.mb-keyfact-card .fact-label { font-size: 0.9rem; color: var(--mb-soft-grey); margin-top: 0.4rem; font-weight: 500; }

/* ---------- Contact Page ---------- */
.mb-contact-section { background: var(--mb-cream); }
.mb-contact-card { background: var(--mb-white); border-radius: 12px; padding: 2.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.08); border: 1px solid var(--mb-border); }
.mb-contact-info h4 { color: var(--mb-teal); margin-bottom: 1rem; font-family: var(--font-body); }
.mb-contact-info p { color: var(--mb-soft-grey); font-size: 0.95rem; line-height: 1.7; }
.mb-contact-info-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; }
.mb-contact-info-item i { color: var(--mb-teal); margin-top: 3px; }

/* ---------- Toasts ---------- */
.mb-toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 9999; }
.toast-notification { padding: 1rem 1.5rem; border-radius: 8px; color: white; font-weight: 500; margin-bottom: 0.5rem; animation: slideIn 0.3s ease; max-width: 320px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-family: var(--font-body); }
.toast-notification.success { background: var(--mb-teal); }
.toast-notification.error { background: var(--mb-danger); }
.toast-notification.info { background: var(--mb-teal-dark); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------- Form Validation ---------- */
.form-control.is-invalid { border-color: var(--mb-danger); }
.invalid-feedback { color: var(--mb-danger); font-size: 0.875rem; margin-top: 0.25rem; font-family: var(--font-body); }
.form-control:focus { border-color: var(--mb-teal); box-shadow: 0 0 0 3px rgba(0,42,58,0.15); }

/* ---------- Honeypot ---------- */
.honeypot { display: none !important; }
