/* ============================================================
   MBM Management Solutions — style.css
   Single-file styles. Mobile-first. No external dependencies.
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --gold: #c9a449;
  --gold-soft: #f4e9c8;
  --ink: #1a1a1a;
  --ink-soft: #4a5568;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e5e7eb;
  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 30px rgba(10,37,64,0.12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

p { margin: 0 0 1em 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- NAV ----- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.brand-name {
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ----- HERO ----- */
.hero {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 25%, rgba(201,164,73,0.18), transparent 45%);
  pointer-events: none;
}
.hero .eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: 3.4rem;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.hero .btn-primary:hover {
  background: #d9b65a;
  color: var(--navy-deep);
}
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: #fff;
}
.industry-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.industry-badges span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

/* ----- GENERIC SECTION ----- */
.section {
  padding: 90px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-light {
  color: var(--gold);
}
.section-title {
  max-width: 780px;
  margin-bottom: 18px;
}
.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ----- SERVICE GRID ----- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s ease;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  margin-bottom: 12px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ----- INDUSTRY GRID ----- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.industry-card {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.industry-card h3 {
  margin-bottom: 10px;
}
.industry-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

/* ----- INSIGHT / WORK GRID ----- */
.insight-grid, .work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card, .work-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insight-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
}
.work-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e9ecf2 0%, #d6dbe6 100%);
}
.insight-card h3, .work-card h3 {
  margin: 18px 24px 10px;
  font-size: 1.2rem;
}
.insight-card p, .work-card p {
  margin: 0 24px 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex-grow: 1;
}
.tag {
  display: inline-block;
  margin: 18px 24px 0;
  padding: 4px 10px;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  width: fit-content;
}
.link-arrow {
  margin: 0 24px 24px;
  font-weight: 600;
  color: var(--navy);
}

/* ----- ABOUT GRID ----- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.about-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.about-card h3 {
  margin-bottom: 12px;
}
.about-card p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ----- CONTACT ----- */
.section-contact {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.section-contact .section-title,
.section-contact .section-lede {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}
.section-contact .section-lede {
  color: rgba(255,255,255,0.85);
}
.section-contact .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.section-contact .btn-primary:hover {
  background: #d9b65a;
  color: var(--navy-deep);
}
.contact-block {
  margin-top: 24px;
}
.contact-meta {
  margin-top: 32px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.9;
}
.contact-meta a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.contact-meta a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ----- FOOTER ----- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-mark {
  color: #fff;
}
.footer-brand .brand-name {
  color: rgba(255,255,255,0.7);
}
.footer-tag {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 0.85rem;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  padding: 4px 0;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.7);
}
.footer-bottom a:hover { color: #fff; }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  h1, .hero h1 { font-size: 2.2rem; }
  h2, .section-title { font-size: 1.7rem; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }

  .nav-links a:not(.btn) { display: none; }

  .service-grid,
  .industry-grid,
  .insight-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 1.9rem; }
  .btn { width: 100%; text-align: center; }
  .hero-cta { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}