
:root {
  /* Brand Colors */
  --mb-orange: #f26322;
  --mb-orange-hover: #d6531d;
  --mb-cta-orange: #df450f;
  --mb-teal-dark: #113534;
  --mb-teal-mid: #357076;
  --mb-teal-accent: #2DAA9B;
  --mb-light-bg: #e7f1ef;
  --mb-off-white: #f8fafe;
  --mb-text-dark: #1e1e1e;
  --mb-text-mid: #4b5563;
  --mb-text-light: #6b7280;
  --mb-border: #e5e7eb;
  --mb-white: #ffffff;

  /* Spacing Scale (8px grid) */
  --mb-space-1: 8px;
  --mb-space-2: 16px;
  --mb-space-3: 24px;
  --mb-space-4: 32px;
  --mb-space-5: 40px;
  --mb-space-6: 48px;
  --mb-space-8: 64px;
  --mb-space-10: 80px;
  --mb-space-12: 96px;
  --mb-space-15: 120px;

  /* Border Radius — sharp edges to match global site design */
  --mb-radius-sm: 0;
  --mb-radius-md: 0;
  --mb-radius-lg: 0;

  /* Transitions */
  --mb-transition: 200ms ease;
}


/* ===========================================
   B. SECTION FOUNDATIONS
   =========================================== */

.mb-section {
  padding: var(--mb-space-10) 0;
}

.mb-section-white {
  background-color: var(--mb-white);
}

.mb-section-light {
  background-color: var(--mb-off-white);
}

.mb-section-teal {
  background-color: var(--mb-teal-dark);
  color: var(--mb-white);
}

.mb-section-gradient {
  background: linear-gradient(135deg, #f8fffe 0%, var(--mb-light-bg) 100%);
}

/* Narrow readable column */
.mb-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section heading */
.mb-section-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--mb-text-dark);
  line-height: 1.2;
  margin-bottom: var(--mb-space-2);
}

.mb-section-subheading {
  font-size: 1.1rem;
  color: var(--mb-text-mid);
  line-height: 1.6;
  max-width: 640px;
}

.mb-text-center {
  text-align: center;
}

.mb-mx-auto {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767.98px) {
  .mb-section {
    padding: var(--mb-space-6) 0;
  }
}


/* ===========================================
   C. HERO
   =========================================== */

.mb-hero {
  position: relative;
  overflow: hidden;
  padding: var(--mb-space-12) 0 var(--mb-space-10);
  background-size: cover;
  background-position: center;
}

.mb-hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,53,52,0.92) 0%, rgba(53,112,118,0.8) 50%, rgba(17,53,52,0.88) 100%);
  z-index: 1;
}

.mb-hero .container {
  position: relative;
  z-index: 2;
}

/* Hero split layout: text left, media right */
.mb-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mb-space-5);
  align-items: center;
}

.mb-hero-media {
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

@media (max-width: 991.98px) {
  .mb-hero-split {
    grid-template-columns: 1fr;
    gap: var(--mb-space-3);
  }
}

.mb-hero h1 {
  color: var(--mb-white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: var(--mb-space-2);
}

.mb-hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: var(--mb-space-4);
}

.mb-hero-cta {
  display: inline-block;
  background-color: var(--mb-cta-orange);
  color: var(--mb-white);
  padding: 14px 32px;
  border-radius: var(--mb-radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--mb-transition), transform var(--mb-transition);
  border: none;
  cursor: pointer;
}

.mb-hero-cta:hover {
  background-color: #c53d0d;
  color: var(--mb-white);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .mb-hero {
    padding: var(--mb-space-8) 0 var(--mb-space-6);
  }
}


/* ===========================================
   D. TRUST BAR
   =========================================== */

.mb-trust-bar {
  background-color: var(--mb-teal-dark);
  padding: var(--mb-space-2) 0;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.mb-trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--mb-space-5);
  flex-wrap: wrap;
}

.mb-trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--mb-space-1);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  white-space: nowrap;
}

.mb-trust-bar-stat {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--mb-orange);
}

.mb-trust-bar-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .mb-trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mb-space-2);
    justify-items: center;
  }

  .mb-trust-bar-item {
    font-size: 0.8rem;
  }
}


/* ===========================================
   E. ZIGZAG CONTENT BLOCKS
   =========================================== */

.mb-zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mb-space-5);
  align-items: center;
  margin-bottom: var(--mb-space-5);
}

.mb-zigzag-reverse {
  direction: rtl;
}

.mb-zigzag-reverse > * {
  direction: ltr;
}

.mb-zigzag-content {
  max-width: 540px;
}

.mb-zigzag-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--mb-text-dark);
  line-height: 1.25;
  margin-bottom: var(--mb-space-2);
}

.mb-zigzag-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mb-text-dark);
  margin-top: var(--mb-space-3);
  margin-bottom: var(--mb-space-1);
}

.mb-zigzag-content p {
  color: var(--mb-text-mid);
  line-height: 1.7;
  margin-bottom: var(--mb-space-2);
}

.mb-zigzag-content ul {
  padding-left: 20px;
  margin-bottom: var(--mb-space-2);
}

.mb-zigzag-content li {
  color: var(--mb-text-mid);
  line-height: 1.6;
  margin-bottom: 6px;
}

.mb-zigzag-media {
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mb-zigzag-media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767.98px) {
  .mb-zigzag,
  .mb-zigzag-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--mb-space-3);
  }

  .mb-zigzag-content {
    max-width: 100%;
  }
}


/* ===========================================
   F. BENEFIT / FEATURE CARDS
   =========================================== */

.mb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mb-space-3);
}

.mb-card {
  background: var(--mb-white);
  border-radius: var(--mb-radius-lg);
  padding: var(--mb-space-4) var(--mb-space-3);
  border: 1px solid var(--mb-border);
  text-align: center;
  transition: transform var(--mb-transition), box-shadow var(--mb-transition);
}

.mb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.mb-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--mb-space-2);
  background: var(--mb-light-bg);
  border-radius: var(--mb-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mb-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mb-text-dark);
  margin-bottom: var(--mb-space-1);
}

.mb-card p {
  color: var(--mb-text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .mb-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .mb-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   G. PROCESS TIMELINE
   =========================================== */

.mb-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--mb-space-4);
  position: relative;
  padding-top: var(--mb-space-2);
}

/* Connecting line (desktop only) */
.mb-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--mb-light-bg);
  z-index: 0;
}

.mb-timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.mb-timeline-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mb-orange);
  color: var(--mb-white);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-space-2);
  box-shadow: 0 2px 8px rgba(242,99,34,0.25);
}

.mb-timeline-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mb-text-dark);
  margin-bottom: 6px;
}

.mb-timeline-step p {
  color: var(--mb-text-mid);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .mb-timeline {
    grid-template-columns: 1fr;
    gap: var(--mb-space-3);
    padding-left: 40px;
  }

  .mb-timeline::before {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .mb-timeline-step {
    text-align: left;
    display: flex;
    gap: var(--mb-space-2);
    align-items: flex-start;
  }

  .mb-timeline-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    flex-shrink: 0;
    margin: 0;
  }

  .mb-timeline-step p {
    max-width: 100%;
  }
}


/* ===========================================
   H. INLINE TESTIMONIAL
   =========================================== */

.mb-testimonial {
  background: var(--mb-off-white);
  border-radius: var(--mb-radius-lg);
  padding: var(--mb-space-4);
  position: relative;
  max-width: 700px;
  margin: var(--mb-space-5) auto;
  border-left: 4px solid var(--mb-orange);
}

.mb-testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--mb-orange);
  position: absolute;
  top: -8px;
  left: 20px;
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.mb-testimonial blockquote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--mb-text-dark);
  font-style: italic;
  margin: 0 0 var(--mb-space-2);
  padding-left: var(--mb-space-1);
}

.mb-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--mb-space-2);
}

.mb-testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mb-testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mb-text-dark);
}

.mb-testimonial-role {
  font-size: 0.85rem;
  color: var(--mb-text-light);
}

.mb-testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}


/* ===========================================
   I. CTA VARIANTS
   =========================================== */

/* Inline CTA (replaces old alert-warning) */
.mb-cta-inline {
  border: 2px solid var(--mb-orange);
  border-radius: var(--mb-radius-lg);
  padding: var(--mb-space-3) var(--mb-space-4);
  background: #fffaf6;
  margin: var(--mb-space-5) 0;
}

.mb-cta-inline h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mb-text-dark);
  margin-bottom: var(--mb-space-1);
}

.mb-cta-inline p {
  color: var(--mb-text-mid);
  margin-bottom: var(--mb-space-2);
}

/* Full-width CTA banner */
.mb-cta-banner {
  background: linear-gradient(135deg, var(--mb-teal-dark) 0%, var(--mb-teal-mid) 100%);
  padding: var(--mb-space-8) 0;
  text-align: center;
  color: var(--mb-white);
}

.mb-cta-banner h2 {
  color: var(--mb-white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--mb-space-2);
}

.mb-cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto var(--mb-space-3);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Closing CTA section */
.mb-cta-closing {
  background: var(--mb-teal-dark);
  padding: var(--mb-space-10) 0;
  color: var(--mb-white);
}

.mb-cta-closing h2,
.mb-cta-closing h3 {
  color: var(--mb-white);
}

.mb-cta-closing p {
  color: rgba(255,255,255,0.85);
}


/* ===========================================
   J. EXPERT ADVICE QUOTE (replaces DYK callout)
   =========================================== */

/* Expert quote with inspector photo — builds E-E-A-T */
.mb-expert-quote {
  background: var(--mb-teal-dark);
  border-radius: var(--mb-radius-lg);
  padding: var(--mb-space-4) var(--mb-space-5);
  display: flex;
  align-items: center;
  gap: var(--mb-space-4);
  color: var(--mb-white);
  margin: var(--mb-space-5) 0;
}

.mb-expert-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.2);
}

.mb-expert-body {
  flex: 1;
}

.mb-expert-label {
  display: inline-block;
  background: var(--mb-orange);
  color: var(--mb-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 0;
  margin-bottom: var(--mb-space-1);
}

.mb-expert-body blockquote {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 var(--mb-space-2);
  padding: 0;
  border: none;
}

.mb-expert-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mb-white);
}

.mb-expert-title {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.mb-expert-body a {
  color: var(--mb-white);
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .mb-expert-quote {
    flex-direction: column;
    text-align: center;
    padding: var(--mb-space-3);
  }

  .mb-expert-photo {
    width: 80px;
    height: 80px;
  }
}


/* ===========================================
   J2. LEGACY DYK CALLOUT (kept for backward compat)
   =========================================== */

.mb-callout-dyk {
  background: var(--mb-teal-mid);
  border-radius: var(--mb-radius-lg);
  padding: var(--mb-space-4);
  display: flex;
  align-items: center;
  gap: var(--mb-space-3);
  color: var(--mb-white);
  margin: var(--mb-space-5) 0;
}

.mb-callout-dyk img { width: 100px; flex-shrink: 0; }
.mb-callout-dyk h4 { color: var(--mb-white); font-size: 1.1rem; margin-bottom: var(--mb-space-1); padding-bottom: var(--mb-space-1); border-bottom: 1px solid rgba(255,255,255,0.2); }
.mb-callout-dyk p { color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
.mb-callout-dyk a { color: var(--mb-white); text-decoration: underline; }
@media (max-width: 575.98px) { .mb-callout-dyk { flex-direction: column; text-align: center; } }


/* ===========================================
   K. FAQ ACCORDION (custom, no Bootstrap JS)
   =========================================== */

.mb-faq {
  max-width: 800px;
  margin: 0 auto;
}

.mb-faq-item {
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-md);
  margin-bottom: var(--mb-space-2);
  overflow: hidden;
  background: var(--mb-white);
}

.mb-faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--mb-text-dark);
  background: var(--mb-white);
  border: none;
  width: 100%;
  text-align: left;
  transition: background var(--mb-transition);
}

.mb-faq-question:hover {
  background: var(--mb-off-white);
}

.mb-faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 300ms ease;
  color: var(--mb-text-light);
}

.mb-faq-item.active .mb-faq-chevron {
  transform: rotate(180deg);
}

.mb-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}

.mb-faq-item.active .mb-faq-answer {
  max-height: 600px;
}

.mb-faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--mb-text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ===========================================
   L. SCROLL REVEAL ANIMATIONS
   =========================================== */

.mb-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mb-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mb-reveal-delay-1 { transition-delay: 0.1s; }
.mb-reveal-delay-2 { transition-delay: 0.2s; }
.mb-reveal-delay-3 { transition-delay: 0.3s; }

/* Progressive enhancement: native scroll-driven animations */
@supports (animation-timeline: view()) {
  .mb-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: mb-fadeUp both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
    transition: none;
  }

  @keyframes mb-fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


/* ===========================================
   M. LOCATION GRID
   =========================================== */

.mb-locations {
  margin-bottom: var(--mb-space-5);
}

.mb-locations h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mb-text-dark);
  margin-bottom: var(--mb-space-2);
  padding-bottom: var(--mb-space-1);
  border-bottom: 2px solid var(--mb-light-bg);
}

.mb-location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mb-location-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--mb-off-white);
  border-radius: var(--mb-radius-sm);
  color: var(--mb-teal-dark);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--mb-transition), color var(--mb-transition);
}

.mb-location-link:hover {
  background: var(--mb-light-bg);
  color: var(--mb-orange);
  text-decoration: none;
}

.mb-location-link::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mb-teal-accent);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .mb-location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .mb-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================================
   N. UTILITY COMPONENTS (kept from v1)
   =========================================== */

/* Pricing notice */
.pricing-notice {
  background-color: var(--mb-off-white);
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius-md);
  padding: var(--mb-space-3);
  margin: var(--mb-space-3) 0;
  font-size: 0.95rem;
  color: var(--mb-text-mid);
}

.pricing-notice strong {
  color: var(--mb-text-dark);
}

/* Content highlight border */
.content-highlight {
  border-left: 4px solid var(--mb-teal-accent);
  padding-left: var(--mb-space-3);
  margin: var(--mb-space-3) 0;
}

/* Infographic container */
.infographic-container {
  max-width: 720px;
  margin: var(--mb-space-4) auto;
}

.infographic-container img {
  border-radius: var(--mb-radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Stat highlight */
.stat-highlight {
  display: inline-block;
  background-color: var(--mb-light-bg);
  border-radius: var(--mb-radius-sm);
  padding: 4px 12px;
  font-weight: 600;
  color: var(--mb-teal-dark);
}

/* Styled comparison table */
.content-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--mb-radius-md);
  overflow: hidden;
  margin: var(--mb-space-3) 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.content-table thead th {
  background-color: var(--mb-teal-dark);
  color: var(--mb-white);
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
  font-size: 0.95rem;
}

.content-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mb-border);
  font-size: 0.95rem;
}

.content-table tbody tr:last-child td {
  border-bottom: none;
}

.content-table tbody tr:nth-child(even) {
  background-color: var(--mb-off-white);
}
