/* ================================================================
   Mercedes Auto Repair Simi Valley — Shared Stylesheet
   Palette: #0D0D0F black / #1A1A1C charcoal / #2A2A2C mid
            #9AAAB4 slate / #C8D2D8 silver / #F4F4F2 off-white
            #1B5299 steel-blue (accent)
   Type: Syne 700/800 (headings) / Inter 400/500/600/700 (body)
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --mb-black:    #0D0D0F;
  --mb-charcoal: #1A1A1C;
  --mb-mid:      #2A2A2C;
  --mb-slate:    #9AAAB4;
  --mb-silver:   #C8D2D8;
  --mb-off-white:#F4F4F2;
  --mb-white:    #FFFFFF;
  --mb-blue:     #1B5299;
  --mb-blue-dim: rgba(27,82,153,0.15);
  --font-head:   'Syne', sans-serif;
  --font-body:   'Inter', sans-serif;
  --max-w:       1200px;
  --pad-h:       24px;
}

body {
  font-family: var(--font-body);
  background: var(--mb-off-white);
  color: var(--mb-black);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p + p { margin-top: 1em; }

.mb-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

/* ================================================================
   HEADER
================================================================ */

.mb-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--mb-black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px; gap: 32px;
}
.mb-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mb-logo-text {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  color: var(--mb-white); letter-spacing: 0.5px;
}
.mb-logo-text span { color: var(--mb-slate); font-weight: 700; }

.mb-nav { display: flex; align-items: center; gap: 4px; }
.mb-nav a {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.65);
  padding: 6px 12px; border-radius: 4px; transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.mb-nav a:hover { color: var(--mb-white); background: rgba(255,255,255,0.06); }
.mb-nav .mb-nav-cta {
  background: var(--mb-blue); color: var(--mb-white);
  padding: 7px 16px; font-weight: 600; border-radius: 4px;
}
.mb-nav .mb-nav-cta:hover { background: #144080; }

.mb-mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.mb-mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.7); border-radius: 2px;
}
@media (max-width: 820px) {
  .mb-nav { display: none; }
  .mb-mobile-menu-btn { display: flex; }
}

/* ================================================================
   BREADCRUMB
================================================================ */

.mb-breadcrumb {
  background: var(--mb-white);
  border-bottom: 1px solid #e8e8e6;
  padding: 10px 0;
}
.mb-breadcrumb-inner {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--mb-slate); flex-wrap: wrap;
}
.mb-breadcrumb-inner a { color: var(--mb-slate); transition: color 0.15s; }
.mb-breadcrumb-inner a:hover { color: var(--mb-blue); }
.mb-breadcrumb-inner .sep { color: #ccc; }
.mb-breadcrumb-inner span:last-child { color: var(--mb-black); font-weight: 500; }

/* ================================================================
   BUTTONS
================================================================ */

.mb-btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; padding: 12px 24px;
  border-radius: 4px; transition: all 0.15s; cursor: pointer; border: none; line-height: 1;
}
.mb-btn-primary { background: var(--mb-blue); color: var(--mb-white); }
.mb-btn-primary:hover { background: #144080; }
.mb-btn-ghost {
  background: transparent; color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
}
.mb-btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* ================================================================
   SECTIONS
================================================================ */

.mb-section       { padding: 72px 0; }
.mb-section-sm    { padding: 48px 0; }
.mb-section-dark  { background: var(--mb-charcoal); }
.mb-section-mid   { background: var(--mb-mid); }
.mb-section-white { background: var(--mb-white); }
.mb-section-black { background: var(--mb-black); }

.mb-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--mb-blue);
  margin-bottom: 10px; display: block;
}
.mb-section-dark .mb-eyebrow,
.mb-section-mid .mb-eyebrow,
.mb-section-black .mb-eyebrow { color: var(--mb-slate); }

.mb-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px;
}
.mb-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800; color: var(--mb-black);
  margin-bottom: 16px; line-height: 1.15;
}
.mb-section-dark .mb-h2,
.mb-section-mid .mb-h2,
.mb-section-black .mb-h2 { color: var(--mb-white); }

.mb-lead {
  font-size: 1.05rem; color: #444; max-width: 700px;
  line-height: 1.8; margin-bottom: 40px;
}
.mb-section-dark .mb-lead,
.mb-section-mid .mb-lead { color: rgba(255,255,255,0.62); }

/* ================================================================
   PAGE HERO
================================================================ */

.mb-page-hero {
  background: var(--mb-black); padding: 64px 0 52px;
  position: relative; overflow: hidden;
}
.mb-page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(27,82,153,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.mb-page-hero-inner { position: relative; z-index: 2; }
.mb-page-hero .mb-h1 { color: var(--mb-white); max-width: 800px; }
.mb-page-hero p {
  color: rgba(255,255,255,0.6); font-size: 1.05rem;
  max-width: 640px; line-height: 1.8; margin-top: 12px;
}
.mb-page-hero .mb-eyebrow { color: var(--mb-slate); margin-bottom: 12px; }

/* ================================================================
   SPOKE GRID
================================================================ */

.mb-spoke-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: rgba(255,255,255,0.06); margin-top: 40px;
}
.mb-spoke {
  background: var(--mb-charcoal); padding: 32px 28px;
  display: block; transition: background 0.15s;
  border-left: 2px solid transparent;
}
.mb-spoke:hover { background: #212123; border-left-color: var(--mb-blue); }
.mb-spoke-type {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mb-slate); margin-bottom: 10px;
}
.mb-spoke h3 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800;
  color: var(--mb-white); margin-bottom: 10px; line-height: 1.25;
}
.mb-spoke p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; }
.mb-spoke .mb-spoke-arrow {
  display: inline-block; margin-top: 16px;
  font-size: 13px; color: var(--mb-slate); font-weight: 500;
}

/* ================================================================
   MODEL CARDS
================================================================ */

.mb-model-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 40px;
}
.mb-model-card {
  background: var(--mb-white); border: 1px solid #e0e0de;
  border-top: 3px solid var(--mb-black); padding: 28px;
  transition: border-top-color 0.15s; display: block;
}
.mb-model-card:hover { border-top-color: var(--mb-blue); }
.mb-model-card h3 {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 800;
  color: var(--mb-black); margin-bottom: 10px;
}
.mb-model-card .mb-model-gen {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--mb-slate); margin-bottom: 6px;
}
.mb-model-card p { font-size: 14px; color: #444; line-height: 1.7; }
.mb-model-link {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 600; color: var(--mb-blue);
}

/* ================================================================
   SERVICE LIST
================================================================ */

.mb-service-list {
  margin-top: 40px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; background: rgba(255,255,255,0.04);
}
.mb-service-item { background: var(--mb-mid); padding: 28px; display: block; }
.mb-service-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--mb-white); margin-bottom: 8px; }
.mb-service-item p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.mb-service-cta {
  display: inline-block; margin-top: 14px;
  font-size: 12px; font-weight: 600; color: var(--mb-slate); letter-spacing: 0.5px;
}

/* ================================================================
   ISSUE LIST
================================================================ */

.mb-issue-list { margin-top: 8px; }
.mb-issue {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 20px; padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07); align-items: start;
}
.mb-issue:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.mb-issue-num {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  color: rgba(154,170,180,0.2); line-height: 1.2; padding-top: 2px;
}
.mb-issue h4 { font-size: 0.95rem; font-weight: 700; color: var(--mb-white); margin-bottom: 8px; line-height: 1.4; }
.mb-issue p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.75; }
.mb-issue a { color: var(--mb-slate); }
.mb-issue a:hover { color: var(--mb-blue); }

/* ================================================================
   ARTICLE BODY
================================================================ */

.mb-article-body {
  max-width: 760px; font-size: 1.05rem; line-height: 1.85; color: #2a2a2a;
}
.mb-article-body h2 {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800;
  color: var(--mb-black); margin: 48px 0 16px; line-height: 1.2;
}
.mb-article-body h3 {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 800;
  color: var(--mb-black); margin: 32px 0 12px; line-height: 1.3;
}
.mb-article-body p { margin-bottom: 1.2em; }
.mb-article-body ul, .mb-article-body ol { margin: 1em 0 1.4em 1.6em; }
.mb-article-body li { margin-bottom: 0.5em; line-height: 1.75; }
.mb-article-body strong { font-weight: 700; color: var(--mb-black); }
.mb-article-body a { color: var(--mb-blue); text-decoration: underline; text-underline-offset: 3px; }

.mb-callout {
  background: #fff; border-left: 4px solid var(--mb-blue);
  padding: 20px 24px; margin: 28px 0; border-radius: 0 4px 4px 0;
}
.mb-callout p { margin: 0; font-size: 0.97rem; color: #333; line-height: 1.75; }
.mb-callout strong { color: var(--mb-blue); }

.mb-spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.mb-spec-table th {
  background: var(--mb-black); color: var(--mb-white); text-align: left;
  padding: 10px 14px; font-weight: 600; font-size: 12px; letter-spacing: 0.5px;
}
.mb-spec-table td { padding: 10px 14px; border-bottom: 1px solid #e8e8e6; vertical-align: top; }
.mb-spec-table tr:nth-child(even) td { background: rgba(0,0,0,0.02); }
.mb-spec-table td:first-child { font-weight: 500; color: var(--mb-black); }

/* ================================================================
   SIDEBAR LAYOUT
================================================================ */

.mb-content-sidebar {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start;
}
@media (max-width: 900px) { .mb-content-sidebar { grid-template-columns: 1fr; } }

.mb-sidebar-card {
  background: var(--mb-white); border: 1px solid #e5e5e3;
  padding: 24px; margin-bottom: 20px;
}
.mb-sidebar-card h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  color: var(--mb-black); margin-bottom: 12px;
}
.mb-sidebar-card p { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 12px; }
.mb-sidebar-card ul { margin: 0 0 0 1.2em; }
.mb-sidebar-card li { font-size: 13px; color: #444; margin-bottom: 6px; line-height: 1.6; }

.mb-sidebar-cta { background: var(--mb-blue); padding: 24px; margin-bottom: 20px; }
.mb-sidebar-cta h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  color: var(--mb-white); margin-bottom: 8px;
}
.mb-sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.65; margin-bottom: 14px; }
.mb-sidebar-cta .mb-btn { width: 100%; text-align: center; background: #fff; color: var(--mb-blue); display: block; }
.mb-sidebar-cta .mb-btn:hover { background: rgba(255,255,255,0.9); }

.mb-sidebar-links a {
  display: block; font-size: 13px; color: #444;
  padding: 8px 0; border-bottom: 1px solid #eee; line-height: 1.4;
}
.mb-sidebar-links a:hover { color: var(--mb-blue); }
.mb-sidebar-links a:last-child { border-bottom: none; }

/* ================================================================
   ARTICLE CARDS
================================================================ */

.mb-article-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 40px;
}
.mb-article-card {
  background: var(--mb-white); border: 1px solid #e5e5e3;
  padding: 28px; display: flex; flex-direction: column;
}
.mb-article-card .mb-eyebrow { margin-bottom: 8px; }
.mb-article-card h3 {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 800;
  color: var(--mb-black); margin-bottom: 10px; line-height: 1.3; flex: 1;
}
.mb-article-card p { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 16px; }
.mb-read-more { font-size: 13px; font-weight: 600; color: var(--mb-blue); align-self: flex-start; }

/* ================================================================
   SPOKE CARDS (light bg variant)
================================================================ */

.mb-spoke-card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-top: 36px;
}
.mb-spoke-card {
  background: var(--mb-white); border: 1px solid #e5e5e3;
  border-top: 3px solid var(--mb-blue); padding: 28px;
}
.mb-spoke-card h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
  color: var(--mb-black); margin-bottom: 10px;
}
.mb-spoke-card p { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 12px; }
.mb-spoke-link { font-size: 13px; font-weight: 600; color: var(--mb-blue); }

/* ================================================================
   REFERRAL CTA
================================================================ */

.mb-referral {
  background: var(--mb-black); padding: 72px 0;
  position: relative; overflow: hidden;
}
.mb-referral::before {
  content: ''; position: absolute; bottom: -80px; left: 50%;
  transform: translateX(-50%); width: 800px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,82,153,0.12) 0%, transparent 70%);
}
.mb-referral-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 620px; margin: 0 auto;
}
.mb-referral h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--mb-white); margin-bottom: 16px; line-height: 1.15;
}
.mb-referral p { font-size: 1.02rem; color: rgba(255,255,255,0.62); line-height: 1.8; margin-bottom: 32px; }
.mb-referral-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.mb-referral-attr { margin-top: 28px; font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.5px; }
.mb-referral-attr a { color: rgba(255,255,255,0.38); }
.mb-referral-attr a:hover { color: rgba(255,255,255,0.65); }

/* ================================================================
   FOOTER
================================================================ */

.mb-footer {
  background: var(--mb-charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 32px;
}
.mb-footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
@media (max-width: 700px) { .mb-footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.mb-footer-brand p {
  margin-top: 14px; font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 280px;
}
.mb-footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mb-slate); margin-bottom: 16px;
}
.mb-footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.5); margin-bottom: 10px; transition: color 0.15s;
}
.mb-footer-col a:hover { color: var(--mb-white); }
.mb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.mb-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.22); }
.mb-footer-service-link { font-size: 12px; color: rgba(255,255,255,0.3); }
.mb-footer-service-link a { color: rgba(255,255,255,0.4); text-decoration: underline; }
.mb-footer-service-link a:hover { color: rgba(255,255,255,0.7); }

/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 600px) {
  .mb-section { padding: 48px 0; }
  .mb-page-hero { padding: 48px 0 36px; }
}
