/*
Theme Name: MarketersPage
Theme URI: https://marketerspage.com
Author: MarketersPage
Author URI: https://marketerspage.com
Description: Custom premium theme for MarketersPage digital marketing agency. Built for speed, SEO, and conversions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marketerspage
Tags: custom-theme, agency, marketing, performance
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:            #ffffff;
  --bg-deep:       #2D0A36;
  --bg-surface:    #f9fafb;
  --accent:        #BF0036;
  --accent-hover:  #99002B;
  --accent-light:  #fce8ee;
  --heading:       #BF0063;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --border:        #e5e7eb;
  --white:         #ffffff;

  --font-display:  'Tai Heritage Pro', serif;
  --font-body:     'Inter', sans-serif;

  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:     0 16px 64px rgba(0,0,0,0.12);
  --transition:    all 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width:     1200px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }
textarea, input, select { font-family: var(--font-body); }

/* ============================================================
   LAYOUT
   ============================================================ */
.mp-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.mp-section   { padding: 100px 0; }
.mp-section-sm{ padding: 64px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; color: var(--heading); }
.display-xl  { font-size: clamp(2.6rem, 5.5vw, 4.8rem); letter-spacing: -.03em; color: var(--text); }
.display-lg  { font-size: clamp(2rem,   4vw,   3.4rem); letter-spacing: -.02em; }
.display-md  { font-size: clamp(1.7rem, 3vw,   2.4rem); letter-spacing: -.01em; }
.display-sm  { font-size: clamp(1.3rem, 2vw,   1.8rem); }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-white  { color: #fff; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.mp-section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.mp-section-header p { font-size: 18px; color: var(--text-muted); margin-top: 16px; line-height: 1.7; }
.mp-section-header.dark   { color: #fff; }
.mp-section-header.dark p { color: rgba(255,255,255,.6); }

/* ============================================================
   EYEBROW TAG
   ============================================================ */
.mp-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-light); color: var(--accent); margin-bottom: 20px;
}
.mp-tag.dark { background: rgba(191,0,54,.2); color: #f093b0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.mp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-weight: 600; font-size: 15px; transition: var(--transition);
  letter-spacing: .01em; white-space: nowrap;
}
.mp-btn-primary { background: var(--accent); color: #fff; }
.mp-btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(191,0,54,.3); }
.mp-btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.mp-btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.mp-btn-ghost   { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.mp-btn-ghost:hover { background: rgba(255,255,255,.1); }
.mp-btn-lg { padding: 16px 36px; font-size: 17px; }
.mp-btn-sm { padding: 10px 20px; font-size: 13px; }

/* ============================================================
   GRID
   ============================================================ */
.mp-grid { display: grid; gap: 24px; }
.mp-grid-2 { grid-template-columns: repeat(2,1fr); }
.mp-grid-3 { grid-template-columns: repeat(3,1fr); }
.mp-grid-4 { grid-template-columns: repeat(4,1fr); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.mp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.mp-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.mp-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mp-nav-logo  { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--bg-deep); display: flex; align-items: center; }
.mp-nav-logo span { color: var(--accent); }
.mp-nav-logo img,
.mp-nav-logo .custom-logo {
  height: 52px; width: auto; display: block;
  max-width: 220px; object-fit: contain;
  /* Sharp rendering across all displays */
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
/* Desktop nav list resets */
.mp-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.mp-nav-links > li { display: flex; align-items: center; position: relative; }
.mp-nav-links > li.mp-simple-dropdown { position: relative; }
.mp-nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: var(--transition); position: relative; text-decoration: none; }
.mp-nav-links > li > a:hover,
.mp-nav-links > li > a.current-menu-item { color: var(--text); }
.mp-nav-links > li > a.current-menu-item::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.mp-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.mp-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
/* Mobile menu wrapper */
.mp-mobile-menu {
  display: none; flex-direction: column;
  position: absolute; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 999;
  overflow-y: auto; max-height: calc(100vh - 72px);
}
.mp-mobile-menu.open { display: flex; }
/* Mobile list resets — scoped so mega walker styles take over */
.mp-mobile-menu .mp-mobile-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.mp-mobile-menu .mp-mobile-list > li { display: block; }
.mp-mobile-menu .mp-mobile-cta { padding: 16px 24px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.mp-page-hero {
  background: var(--bg-deep); padding: 140px 0 80px; color: #fff;
  position: relative; overflow: hidden;
}
.mp-page-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%);
}
.mp-page-hero h1 { color: #fff; max-width: 720px; margin-bottom: 20px; }
.mp-page-hero p  { font-size: 18px; color: rgba(255,255,255,.7); max-width: 580px; line-height: 1.7; }

/* The hero's curved bottom edge reveals white (var(--bg)) — whatever
   section comes immediately after it must also be white, or the curve
   creates a visible white-then-grey seam if that section happens to use
   a tinted background (e.g. Benefits on a landing page with no Overview
   content). This keeps the transition clean regardless of page content. */
.mp-page-hero + section { background: var(--bg) !important; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.mp-service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.mp-service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transition: transform .3s ease; transform-origin: left;
}
.mp-service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.mp-service-card:hover::before { transform: scaleX(1); }
.mp-service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.mp-service-card h3 { font-size: 17px; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.mp-service-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.mp-service-link    { font-size: 13px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.mp-service-link:hover { gap: 8px; }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.mp-testimonial {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; position: relative; transition: var(--transition);
}
.mp-testimonial:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mp-testimonial::before {
  content: '"'; font-family: var(--font-display); font-size: 80px;
  color: var(--accent); opacity: .2;
  position: absolute; top: 16px; left: 24px; line-height: 1;
}
.mp-stars { display: flex; gap: 4px; margin-bottom: 20px; color: #f59e0b; font-size: 16px; }
.mp-testimonial-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; position: relative; z-index: 1; }
.mp-testimonial-author { display: flex; align-items: center; gap: 12px; }
.mp-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0;
}
.mp-author-name { font-weight: 700; font-size: 15px; }
.mp-author-role { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   CASE STUDY CARDS (dark bg)
   ============================================================ */
.mp-case-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 32px; transition: var(--transition);
}
.mp-case-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.mp-case-badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: rgba(191,0,54,.25); color: #f093b0;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 20px;
}
.mp-case-card h3  { font-size: 20px; color: #fff; margin-bottom: 12px; }
.mp-case-card > p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 24px; }
.mp-case-results { display: flex; gap: 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.mp-case-num   { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; }
.mp-case-label { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.mp-faq-list { display: grid; gap: 0; }
.mp-faq-item { border-bottom: 1px solid var(--border); }
.mp-faq-question {
  width: 100%; background: none; text-align: left;
  padding: 22px 0; font-size: 16px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; transition: var(--transition);
}
.mp-faq-question:hover { color: var(--accent); }
.mp-faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; transition: var(--transition); color: var(--text);
}
.mp-faq-item.open .mp-faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.mp-faq-answer { padding: 0 0 22px; font-size: 15px; color: var(--text-muted); line-height: 1.7; display: none; }
.mp-faq-item.open .mp-faq-answer { display: block; }

/* ============================================================
   FORMS
   ============================================================ */
.mp-form-group { margin-bottom: 16px; }
.mp-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mp-form-group input,
.mp-form-group select,
.mp-form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text); background: #fff;
  transition: var(--transition); appearance: none;
}
.mp-form-group input:focus,
.mp-form-group select:focus,
.mp-form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(191,0,54,.1);
}
.mp-form-group textarea { resize: vertical; min-height: 120px; }
.mp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-form-submit {
  width: 100%; padding: 16px; background: var(--accent);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: var(--transition); margin-top: 8px;
}
.mp-form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(191,0,54,.3); }
.mp-form-privacy { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ============================================================
   AUDIT / LEAD MAGNET SECTION
   ============================================================ */
.mp-audit-section {
  background: linear-gradient(135deg, var(--bg-deep) 0%, #4a0d5e 100%);
  position: relative; overflow: hidden;
}
.mp-audit-section::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%; background: rgba(191,0,54,.15);
}
.mp-audit-section::after {
  content: ''; position: absolute; bottom: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%; background: rgba(191,0,54,.1);
}
.mp-audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.mp-audit-content { color: #fff; }
.mp-audit-content h2 { color: #fff; margin-bottom: 16px; }
.mp-audit-content p  { color: rgba(255,255,255,.7); font-size: 17px; margin-bottom: 32px; line-height: 1.7; }
.mp-audit-benefits { display: grid; gap: 12px; }
.mp-audit-benefit  { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: 15px; }
.mp-audit-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(191,0,54,.3); display: flex; align-items: center;
  justify-content: center; font-size: 12px; flex-shrink: 0; color: #f093b0;
}
.mp-audit-form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
.mp-audit-form h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.mp-audit-form .mp-form-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.mp-trust-strip { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.mp-trust-inner { display: flex; align-items: center; gap: 48px; }
.mp-trust-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; flex-shrink: 0; }
.mp-trust-logos { display: flex; align-items: center; gap: 40px; flex: 1; flex-wrap: wrap; }
.mp-trust-item  { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-light); white-space: nowrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.mp-footer { background: var(--bg-deep); color: #fff; padding: 80px 0 40px; }
.mp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.mp-footer-logo { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.mp-footer-logo span { color: var(--accent); }
.mp-footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 280px; margin-bottom: 28px; }
.mp-footer-socials { display: flex; gap: 12px; }
.mp-footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,.6); transition: var(--transition);
}
.mp-footer-social:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mp-footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.mp-footer-links { display: grid; gap: 12px; }
.mp-footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--transition); }
.mp-footer-links a:hover { color: #fff; }
.mp-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; }
.mp-footer-copy { font-size: 13px; color: rgba(255,255,255,.4); }
.mp-footer-legal { display: flex; gap: 24px; }
.mp-footer-legal a { font-size: 13px; color: rgba(255,255,255,.4); transition: var(--transition); }
.mp-footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.mp-whatsapp {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: var(--transition); font-size: 28px; text-decoration: none;
}
.mp-whatsapp:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,.5); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse    { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .7; } }

.mp-reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.mp-reveal.visible { opacity: 1; transform: translateY(0); }
.mp-animate { animation: fadeInUp .6s ease forwards; }
.mp-delay-1 { animation-delay: .1s; opacity: 0; }
.mp-delay-2 { animation-delay: .2s; opacity: 0; }
.mp-delay-3 { animation-delay: .3s; opacity: 0; }
.mp-delay-4 { animation-delay: .4s; opacity: 0; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.mp-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.mp-steps::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.mp-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.mp-step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent);
  margin: 0 auto 16px;
}
.mp-step-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mp-step-desc  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .mp-grid-4 { grid-template-columns: repeat(2,1fr); }
  .mp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mp-audit-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .mp-nav-links, .mp-nav-links + .mp-btn { display: none; }
  .mp-hamburger { display: flex; }
  .mp-section { padding: 64px 0; }
  .mp-section-header { margin-bottom: 40px; }
  .mp-grid-2, .mp-grid-3 { grid-template-columns: 1fr; }
  .mp-grid-4 { grid-template-columns: 1fr 1fr; }
  .mp-audit-grid { grid-template-columns: 1fr; gap: 40px; }
  .mp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .mp-footer-legal { flex-wrap: wrap; justify-content: center; }
  .mp-trust-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
  .mp-form-row { grid-template-columns: 1fr; }
  .mp-steps { grid-template-columns: repeat(2,1fr); }
  .mp-steps::before { display: none; }
  .mp-whatsapp { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }
  .mp-page-hero { padding: 120px 0 80px; }
}

@media (max-width: 480px) {
  .mp-grid-4 { grid-template-columns: 1fr; }
  .mp-steps  { grid-template-columns: 1fr; }
  .mp-btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* ============================================================
   WORDPRESS CORE CLASSES (keep these)
   ============================================================ */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; }
.wp-caption { max-width: 100%; }
.alignleft  { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.aligncenter{ display: block; margin: 0 auto; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mp-about-founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mp-founder-img { border-radius: 20px; height: 480px; background: var(--bg-deep); display: flex; align-items: center; justify-content: center; font-size: 100px; }
.mp-founder-quote { background: var(--bg-surface); border-left: 4px solid var(--accent); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 28px; font-size: 17px; font-style: italic; color: var(--text-muted); line-height: 1.7; }
.mp-mission-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.mp-mission-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); }
.mp-timeline { position: relative; padding: 0; }
.mp-timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.mp-timeline-item { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 40px; position: relative; }
.mp-timeline-dot { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; background: var(--accent-light); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--accent); z-index: 1; }
.mp-timeline-year  { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.mp-timeline-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mp-timeline-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.mp-stats-panel { background: var(--bg-deep); border-radius: 20px; padding: 48px; position: relative; overflow: hidden; }
.mp-stats-panel::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(191,0,54,.2); }
.mp-value-card { text-align: center; padding: 40px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: var(--transition); }
.mp-value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mp-value-icon { font-size: 40px; margin-bottom: 16px; display: block; }
.mp-value-card h3 { font-size: 18px; margin-bottom: 8px; }
.mp-value-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.mp-team-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.mp-team-card   { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--bg-surface); border: 1px solid var(--border); transition: var(--transition); }
.mp-team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.mp-team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: #fff; }
.mp-team-name   { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.mp-team-role   { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.mp-team-bio    { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.mp-cert-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.mp-cert-item   { text-align: center; padding: 28px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.mp-cert-item:hover { box-shadow: var(--shadow); }
.mp-cert-icon   { font-size: 32px; margin-bottom: 10px; }
.mp-cert-name   { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.mp-cert-desc   { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.mp-services-subnav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 72px; z-index: 100; }
.mp-services-subnav-inner { display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mp-services-subnav-inner::-webkit-scrollbar { display: none; }
.mp-snav-link { padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 3px solid transparent; white-space: nowrap; transition: var(--transition); flex-shrink: 0; text-decoration: none; }
.mp-snav-link:hover, .mp-snav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.mp-service-detail { padding: 96px 0; border-bottom: 1px solid var(--border); }
.mp-service-detail.alt { background: var(--bg-surface); }
.mp-service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.mp-deliverables { display: grid; gap: 12px; }
.mp-deliverable { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.mp-deliverable-check { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.mp-service-results-panel { background: var(--bg-deep); border-radius: 16px; padding: 36px; margin-bottom: 24px; }
.mp-results-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: rgba(191,0,54,.2); color: #f093b0; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.mp-results-main-stat { margin-bottom: 8px; }
.mp-results-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: #fff; line-height: 1; }
.mp-results-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.mp-results-divider { height: 1px; background: rgba(255,255,255,.1); margin: 24px 0; }
.mp-service-faq-panel { background: var(--bg-surface); border-radius: 16px; padding: 32px; border: 1px solid var(--border); }

/* ============================================================
   CASE STUDIES PAGE
   ============================================================ */
.mp-agg-stat { text-align: center; padding: 32px 20px; background: var(--bg-surface); border-radius: var(--radius); border: 1px solid var(--border); }
.mp-cs-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.mp-cs-filter { padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-muted); background: #fff; transition: var(--transition); }
.mp-cs-filter:hover, .mp-cs-filter.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.mp-cs-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 32px; transition: var(--transition); }
.mp-cs-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mp-cs-card-header { display: grid; grid-template-columns: 280px 1fr; }
.mp-cs-sidebar { padding: 36px; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.mp-cs-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; background: rgba(191,0,54,.25); color: #f093b0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.mp-cs-client { font-family: var(--font-display); font-size: 18px; color: #fff; line-height: 1.3; }
.mp-cs-headline-stats { display: flex; gap: 20px; }
.mp-cs-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.mp-cs-stat-label { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }
.mp-cs-body { padding: 36px; }
.mp-cs-sections { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 28px; }
.mp-cs-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; }
.mp-cs-section-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.mp-cs-results-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; background: var(--bg-surface); border-radius: 12px; padding: 20px; border: 1px solid var(--border); }
.mp-cs-result-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }
.mp-cs-result-label { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.mp-cs-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mp-cs-tag { padding: 4px 12px; border-radius: 100px; background: var(--accent-light); color: var(--accent); font-size: 12px; font-weight: 600; }

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.mp-industry-block { padding: 96px 0; border-bottom: 1px solid var(--border); }
.mp-industry-block:nth-child(even) { background: var(--bg-surface); }
.mp-industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mp-industry-flip { direction: rtl; }
.mp-industry-flip > * { direction: ltr; }
.mp-industry-visual { height: 380px; border-radius: 20px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.mp-industry-visual-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; }
.mp-industry-stats-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; display: flex; gap: 16px; }
.mp-ind-stat { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border-radius: 10px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); }
.mp-ind-stat-num   { font-weight: 700; font-size: 20px; color: #fff; font-family: var(--font-display); }
.mp-ind-stat-label { font-size: 11px; color: rgba(255,255,255,.7); }
.mp-industry-desc  { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.mp-industry-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.mp-ind-point { font-size: 14px; color: var(--text-muted); padding-left: 20px; position: relative; }
.mp-ind-point::before { content: '✓'; color: var(--accent); font-weight: 700; position: absolute; left: 0; }
.mp-industry-note { font-size: 14px; background: var(--accent-light); padding: 14px; border-radius: 8px; border-left: 3px solid var(--accent); color: var(--text); line-height: 1.6; }
.mp-more-industry { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.mp-more-industry:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.mp-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.mp-contact-info  { display: grid; gap: 16px; }
.mp-contact-card  { background: var(--bg-surface); border-radius: 14px; padding: 22px; border: 1px solid var(--border); display: flex; gap: 16px; align-items: flex-start; transition: var(--transition); }
.mp-contact-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.mp-contact-icon  { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.mp-contact-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.mp-contact-value { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.mp-contact-value a { color: inherit; }
.mp-contact-value a:hover { color: var(--accent); }
.mp-contact-sub   { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.mp-map-placeholder { background: var(--bg-surface); border-radius: 14px; border: 1px solid var(--border); height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-top: 16px; }
.mp-calendly-placeholder { background: var(--bg-deep); border-radius: 14px; padding: 28px; text-align: center; margin-top: 16px; }
.mp-calendly-placeholder h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.mp-calendly-placeholder p  { color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 20px; line-height: 1.5; }
.mp-whatsapp-strip { background: #25D366; border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.mp-wa-strip-btn  { background: #fff; color: #25D366; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: var(--transition); }
.mp-wa-strip-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.mp-contact-form-card { background: #fff; border-radius: 20px; padding: 48px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mp-promise-card  { background: var(--bg-surface); border-radius: 12px; padding: 24px; border: 1px solid var(--border); text-align: center; }

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.mp-filter-btn { padding: 8px 20px; border-radius: 24px; border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-muted); background: #fff; transition: var(--transition); text-decoration: none; display: inline-block; }
.mp-filter-btn:hover, .mp-filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mp-blog-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.mp-blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mp-blog-card-img img { width: 100%; height: 200px; object-fit: cover; }
.mp-blog-card-img-placeholder { height: 200px; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.mp-blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.mp-blog-cat   { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: var(--accent-light); color: var(--accent); margin-bottom: 14px; }
.mp-blog-card-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; font-family: var(--font-display); }
.mp-blog-card-title a { color: var(--heading); }
.mp-blog-card-title a:hover { color: var(--accent); }
.mp-blog-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.mp-blog-card-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.mp-blog-author { display: flex; align-items: center; gap: 8px; }
.mp-blog-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.mp-blog-date   { font-size: 12px; color: var(--text-muted); }
.mp-blog-read-link { font-size: 13px; font-weight: 600; color: var(--accent); display: inline-block; margin-top: 16px; }
.mp-blog-read-link:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE — PAGE-SPECIFIC
   ============================================================ */
@media (max-width: 1024px) {
  .mp-team-grid { grid-template-columns: repeat(2,1fr); }
  .mp-cert-grid { grid-template-columns: repeat(2,1fr); }
  .mp-cs-card-header { grid-template-columns: 220px 1fr; }
  .mp-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mp-about-founder-grid { grid-template-columns: 1fr; }
  .mp-founder-img { height: 220px; font-size: 64px; }
  .mp-industry-grid, .mp-industry-flip { grid-template-columns: 1fr; direction: ltr; }
  .mp-industry-visual { height: 220px; font-size: 64px; }
  .mp-industry-block { padding: 64px 0; }
  .mp-industry-points { grid-template-columns: 1fr; }
  .mp-cs-card-header { grid-template-columns: 1fr; }
  .mp-cs-sections { grid-template-columns: 1fr; }
  .mp-cs-results-bar { grid-template-columns: repeat(2,1fr); }
  .mp-service-detail-grid { grid-template-columns: 1fr; }
  .mp-service-detail { padding: 64px 0; }
  .mp-contact-form-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .mp-team-grid { grid-template-columns: 1fr; }
  .mp-cert-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE CONTENT — Universal (page.php)
   ============================================================ */
.mp-page-main { padding-top: 40px; }
.mp-page-content-wrap { max-width: 860px; }
.mp-page-content-wrap p  { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }
.mp-page-content-wrap h2 { font-size: 1.8rem; margin: 48px 0 16px; font-family: var(--font-display); }
.mp-page-content-wrap h3 { font-size: 1.3rem; margin: 32px 0 12px; font-family: var(--font-display); }
.mp-page-content-wrap ul,
.mp-page-content-wrap ol { padding-left: 24px; margin-bottom: 20px; }
.mp-page-content-wrap li { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.mp-page-content-wrap a  { color: var(--accent); text-decoration: underline; }
.mp-page-content-wrap img { border-radius: var(--radius); margin: 24px 0; }
.mp-page-pagination { margin-top: 40px; display: flex; gap: 8px; }
.mp-page-pagination a { padding: 8px 16px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.mp-page-pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   LANDING PAGE TEMPLATE
   ============================================================ */
.mp-landing-body { margin: 0; padding: 0; }

/* ============================================================
   WP PAGINATION (archive.php)
   ============================================================ */
.mp-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.mp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-muted); transition: var(--transition); text-decoration: none; }
.mp-pagination .page-numbers:hover,
.mp-pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.mp-pagination .prev.page-numbers,
.mp-pagination .next.page-numbers { width: auto; padding: 0 16px; }

/* ============================================================
   MEGA MENU  (added — 3-level header navigation)
   ============================================================ */

/* ---------- DESKTOP ---------- */
/* .mp-nav is position:fixed already, which anchors the absolute panels. */
.mp-nav-links .mp-mega-li { position: static; list-style: none; }
.mp-nav-links .mp-mega-li.mp-simple-dropdown { position: relative; }

.mp-nav-links .mp-mega-top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: var(--transition); cursor: pointer;
}
.mp-nav-links .mp-mega-li:hover > .mp-mega-top,
.mp-nav-links .mp-mega-li:focus-within > .mp-mega-top { color: var(--text); }

.mp-caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.mp-nav-links .mp-mega-li:hover .mp-caret,
.mp-nav-links .mp-mega-li:focus-within .mp-caret {
  transform: rotate(-135deg) translateY(1px);
}

.mp-nav-links .mp-mega-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 3px solid var(--accent);
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1001;
}
.mp-nav-links .mp-mega-li.has-mega:hover > .mp-mega-panel,
.mp-nav-links .mp-mega-li.has-mega:focus-within > .mp-mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Reset: stop .mp-nav-links > li rules leaking into the mega panel */
.mp-mega-panel li               { display: block !important; }
.mp-mega-panel ul               { display: flex !important; flex-direction: column !important;
                                  list-style: none !important; margin: 0 !important; padding: 0 !important; }
.mp-mega-panel a                { position: static !important; }
.mp-mega-panel a::after         { display: none !important; }

.mp-mega-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 32px 24px 36px;
  display: grid !important; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 28px 32px; align-items: start;
}
.mp-mega-col-title {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--bg-deep); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.mp-mega-links { display: flex; flex-direction: column; gap: 1px; }
.mp-mega-links a {
  display: block; font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  padding: 6px 8px; margin-left: -8px; border-radius: 6px; transition: var(--transition);
}
.mp-mega-links a:hover { color: var(--accent); background: var(--accent-light); }

/* ---------- MOBILE DRAWER (accordion) ---------- */
.mp-mobile-menu { max-height: calc(100vh - 72px); overflow-y: auto; }
.mp-mobile-list { display: block; }
.mp-mobile-list .mp-mega-li { border-bottom: 1px solid var(--border); }

.mp-mobile-list .mp-mega-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px; font-size: 16px; font-weight: 600; color: var(--text);
}
.mp-mobile-list .mp-mega-top .mp-caret { transition: transform .2s ease; }
.mp-mobile-list .mp-mega-li.open > .mp-mega-top { color: var(--accent); }
.mp-mobile-list .mp-mega-li.open > .mp-mega-top .mp-caret { transform: rotate(-135deg); }

/* Panel becomes a collapsible block on mobile */
.mp-mobile-list .mp-mega-panel {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border-top: none; background: var(--bg-surface);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.mp-mobile-list .mp-mega-li.open > .mp-mega-panel { max-height: 2400px; }
.mp-mobile-list .mp-mega-inner {
  display: block !important; max-width: none; margin: 0; padding: 8px 0 16px;
}
.mp-mobile-list .mp-mega-col { padding: 0; border-top: 1px solid var(--border); }
.mp-mobile-list .mp-mega-inner > .mp-mega-col:first-child { border-top: none; }

/* Sub-group heading = tappable SECOND-LEVEL row */
.mp-mobile-list .mp-mega-col > .mp-mega-col-title {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 13px 24px 13px 38px; margin: 0;
  font-size: 14px; font-weight: 600; letter-spacing: normal;
  text-transform: none; color: var(--bg-deep); border-bottom: none;
}
.mp-mobile-list .mp-mega-col.open > .mp-mega-col-title { color: var(--accent); }
.mp-mobile-list .mp-mega-col > .mp-mega-col-title::after {
  content: ''; width: 7px; height: 7px; flex: 0 0 auto; margin-left: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease;
}
.mp-mobile-list .mp-mega-col.open > .mp-mega-col-title::after { transform: rotate(-135deg); }

/* Collapsible link list (third level) */
.mp-mobile-list .mp-mega-col > .mp-mega-links {
  max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #fff;
}
.mp-mobile-list .mp-mega-col.open > .mp-mega-links { max-height: 1400px; }
.mp-mobile-list .mp-mega-links a {
  padding: 11px 24px 11px 52px; margin: 0; font-size: 14.5px; border-radius: 0;
  border-top: 1px solid var(--bg-surface);
}
.mp-mobile-list .mp-mega-links a:hover { background: none; color: var(--accent); }

/* Switch nav to hamburger earlier so the mega menu has room */
@media (max-width: 1024px) {
  .mp-nav-links { display: none; }
  .mp-nav-cta   { display: none; }
  .mp-hamburger { display: flex; }
}

/* ---------- DIRECT CATEGORY LINKS (no sub-items) ---------- */
.mp-mega-col-solo { display: flex; }
.mp-mega-col-link {
  display: block; width: 100%;
  font-size: 14px; font-weight: 600; color: var(--bg-deep);
  padding: 6px 8px; margin-left: -8px; border-radius: 6px;
  transition: var(--transition);
}
.mp-mega-col-link:hover { color: var(--accent); background: var(--accent-light); }

/* ---------- SIMPLE (compact) DROPDOWN — e.g. Resources ---------- */
.mp-nav-links .mp-simple-dropdown { position: relative; }
.mp-nav-links .mp-simple-dropdown .mp-mega-panel { left: 0; right: auto; }
.mp-simple-dropdown .mp-mega-inner {
  display: block; max-width: none; min-width: 220px;
  padding: 12px; gap: 0;
}
.mp-simple-dropdown .mp-mega-col,
.mp-simple-dropdown .mp-mega-col-solo { display: block; }
.mp-simple-dropdown .mp-mega-col-link {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  padding: 9px 12px; margin: 0; border-radius: 6px;
}
.mp-simple-dropdown .mp-mega-col-link:hover { color: var(--accent); background: var(--accent-light); }

/* Mobile: direct category links inside the drawer */
.mp-mobile-list .mp-mega-col-solo { padding: 0; }
.mp-mobile-list .mp-mega-col-link {
  display: block; padding: 13px 24px 13px 38px; font-size: 15px; font-weight: 600;
  color: var(--text); margin: 0;
}
.mp-mobile-list .mp-mega-col-link:hover { color: var(--accent); }
.mp-mobile-list .mp-simple-dropdown .mp-mega-col-link { font-weight: 500; }

/* ---------- INDUSTRIES PANEL: featured Healthcare + grouped "More Industries" ---------- */
li.mp-industries .mp-mega-inner {
  display: flex !important;
  gap: 48px;
  align-items: flex-start;
}
li.mp-industries .mp-mega-col { flex: 0 0 auto; }
/* Healthcare = fixed-width featured column */
li.mp-industries .mp-mega-col:first-child { flex: 0 0 250px; }
/* More Industries fills the rest, links flow into balanced sub-columns */
li.mp-industries .mp-multicol { flex: 1 1 auto; min-width: 0; }
li.mp-industries .mp-multicol .mp-mega-links {
  display: block !important;
  column-width: 200px;
  column-gap: 36px;
}
li.mp-industries .mp-multicol .mp-mega-links li {
  break-inside: avoid;
  margin-bottom: 4px;
}

/* On mobile the Industries panel stacks normally (override the flex) */
@media (max-width: 1024px) {
  li.mp-industries .mp-mega-inner { display: block !important; gap: 0; }
  li.mp-industries .mp-multicol .mp-mega-links { column-width: auto; }
}

/* ============================================================
   SHARED COMPONENTS (used on non-homepage templates too)
   These were previously only in home.css, which loads on the
   homepage alone — so service grids, stats, etc. broke elsewhere.
   ============================================================ */
.mp-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mp-service-card  { display: block; }            /* <a> cards must be block */

.mp-stat-num   { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); line-height: 1; }
.mp-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.mp-case-section     { background: var(--bg-deep); }
.mp-case-section-cta { text-align: center; margin-top: 56px; }
.mp-final-cta        { background: #fff; }

/* Stats sitting on a dark section must be light */
.mp-case-section .mp-stat-num   { color: #fff; }
.mp-case-section .mp-stat-label { color: rgba(255,255,255,.6); }

@media (max-width: 1024px) { .mp-services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  { .mp-services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLEXIBLE CONTENT BLOCKS — components not covered by existing
   page-specific CSS (the rest reuse mp-grid, mp-value-card, etc.)
   ============================================================ */
.mp-block-imgtext {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.mp-block-imgtext-flip { direction: rtl; }
.mp-block-imgtext-flip > * { direction: ltr; }
.mp-block-imgtext-media img {
  width: 100%; height: auto; border-radius: 16px; display: block;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.25);
}
.mp-block-imgtext-placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: 16px;
  background: var(--bg-surface); display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--text-muted);
}
.mp-block-richtext { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.mp-block-richtext p { margin: 0 0 16px; }
.mp-block-richtext p:last-child { margin-bottom: 0; }
.mp-block-hero-img { margin-top: 40px; max-width: 720px; margin-left: auto; margin-right: auto; }
.mp-block-hero-img img { width: 100%; height: auto; border-radius: 16px; }

@media (max-width: 900px) {
  .mp-block-imgtext { grid-template-columns: 1fr; gap: 32px; }
  .mp-block-imgtext-flip { direction: ltr; }
}

/* ============================================================
   PAGE HERO — split layout with optional right-side image
   Activates when a Hero Image is uploaded on the landing page.
   Falls back to single-column when no image is set.
   ============================================================ */
.mp-page-hero-split { padding-top: 100px; padding-bottom: 100px; }
.mp-page-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.mp-page-hero-media {
  position: relative;
}
.mp-page-hero-media img {
  width: 100%; height: auto; max-height: 500px; object-fit: cover;
  border-radius: 20px; display: block;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.4);
}
.mp-page-hero-split .mp-page-hero-content { text-align: left; }
.mp-page-hero-split .mp-page-hero-content .display-lg { max-width: none; }
.mp-page-hero-split .mp-page-hero-content p { max-width: 520px; margin-left: 0; margin-right: 0; }

@media (max-width: 900px) {
  .mp-page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mp-page-hero-media { order: -1; }
  .mp-page-hero-media img { max-height: 300px; }
}

/* ============================================================
   LANDING PAGE — Hero lead form (right column, always visible,
   premium treatment: colored glow shadow, eyebrow tag, icon
   fields, gradient submit button, and a trust-badge row.
   ============================================================ */
.mp-hero-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 50px 100px -30px rgba(45,10,54,.55), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.mp-hero-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--heading) 0%, var(--accent) 100%);
}
.mp-hero-form-tag { margin-bottom: 14px; }
.mp-hero-form-heading {
  font-size: 24px;
  margin-bottom: 6px;
  line-height: 1.25;
}
.mp-hero-form-card .mp-hero-form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
  max-width: none;
}
.mp-hero-form-intro { text-align: center; }
.mp-hero-form .mp-form-group:last-of-type { margin-bottom: 0; }

/* Icon-prefixed inputs — icon sits in its own wrapper around just the
   input, so it stays perfectly centered regardless of label height. */
.mp-hero-form .mp-form-group label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted);
}
.mp-form-icon-wrap { position: relative; }
.mp-form-icon {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 15px;
  opacity: .55;
  pointer-events: none;
}
.mp-form-icon-wrap input {
  padding-left: 40px !important;
  border-radius: var(--radius) !important;
  background: var(--bg-surface);
  border-color: var(--border);
}
.mp-form-icon-wrap input:focus {
  background: #fff;
}

/* Gradient submit button with arrow */
.mp-hero-form-submit {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 12px 30px -8px rgba(191,0,54,.5);
}
.mp-hero-form-submit:hover {
  box-shadow: 0 16px 36px -8px rgba(191,0,54,.6);
}
.mp-hero-form-submit-arrow {
  transition: transform .2s ease;
}
.mp-hero-form-submit:hover .mp-hero-form-submit-arrow {
  transform: translateX(3px);
}

/* Trust badge row */
.mp-hero-form-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.mp-hero-form-trust span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .mp-hero-form-card { padding: 30px 24px; }
  .mp-hero-form-trust { gap: 10px; }
  .mp-hero-form-trust span { font-size: 11px; }
}

/* ============================================================
   ABOUT US — My Experience / Clients I've Worked With cards
   ============================================================ */
.mp-experience-item {
  padding: 24px 28px; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--border, #e5e7eb); border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mp-experience-item:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.12); }
.mp-experience-period {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent, #BF0036); margin-bottom: 6px;
}
.mp-experience-role {
  font-size: 17px; font-weight: 700; color: var(--text, #1a1a1a); margin-bottom: 14px;
}
.mp-experience-company { color: var(--text-muted, #6b7280); font-weight: 500; }
.mp-experience-clients { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-experience-client {
  display: inline-block; padding: 5px 12px;
  background: var(--bg-surface, #f5f5f7); border-radius: 999px;
  font-size: 13px; color: var(--text, #1a1a1a); font-weight: 500;
}

/* ============================================================
   BLOG LISTING & CARDS
   ============================================================ */
.mp-blog-grid { gap: 32px; }
.mp-blog-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border, #e5e7eb);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mp-blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.15); }
.mp-blog-card-link { display: block; text-decoration: none; color: inherit; }
.mp-blog-card-thumb {
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-surface, #f5f5f7);
  display: flex; align-items: center; justify-content: center;
}
.mp-blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-blog-card-thumb-placeholder { background: linear-gradient(135deg, var(--bg-surface, #f5f5f7) 0%, #ede8f0 100%); }
.mp-blog-card-body { padding: 24px 26px 28px; }
.mp-blog-card-body .mp-tag { margin-bottom: 12px; }
.mp-blog-card-title { font-size: 20px; line-height: 1.35; margin: 0 0 10px; color: var(--heading); font-weight: 700; }
.mp-blog-card-excerpt { color: var(--text-muted, #6b7280); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.mp-blog-card-meta { display: flex; gap: 8px; font-size: 12px; color: var(--text-muted, #6b7280); font-weight: 500; }

.mp-blog-pagination {
  margin-top: 56px; display: flex; justify-content: center; gap: 8px;
}
.mp-blog-pagination .page-numbers {
  display: inline-block; padding: 10px 16px;
  border: 1px solid var(--border, #e5e7eb); border-radius: 10px;
  color: var(--text, #1a1a1a); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: background .2s;
}
.mp-blog-pagination .page-numbers:hover { background: var(--bg-surface, #f5f5f7); }
.mp-blog-pagination .page-numbers.current {
  background: var(--bg-deep, #2D0A36); color: #fff; border-color: var(--bg-deep, #2D0A36);
}

.mp-blog-empty {
  text-align: center; padding: 100px 0; max-width: 500px; margin: 0 auto;
}

/* ============================================================
   LANDING PAGE — Overview subsection headings + Comparison table
   ============================================================ */
.mp-overview-sub-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 36px 0 12px;
}

.mp-compare-table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}
.mp-compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
}
.mp-compare-row:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mp-compare-cell {
  padding: 16px 20px;
  font-size: 14px;
}
.mp-compare-feature {
  font-weight: 600;
  color: var(--bg-deep);
  font-size: 15px;
}
.mp-compare-head {
  background: var(--bg-deep);
}
.mp-compare-head .mp-compare-cell {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.mp-compare-head .mp-compare-feature { color: rgba(255,255,255,.85); }
.mp-compare-us {
  color: var(--bg-deep);
  font-weight: 600;
  text-align: center;
}
.mp-compare-them {
  color: var(--text-muted);
  text-align: center;
}
.mp-compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 640px) {
  .mp-compare-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .mp-compare-cell { padding: 12px 10px; font-size: 12.5px; }
  .mp-compare-feature { font-size: 13px; }
}

/* ============================================================
   LANDING PAGE — Overview & Deep-Dive editorial treatment
   Full-width sections using a two-column layout: heading/tag
   sits left in its own column, body copy flows right at a
   readable measure — the section spans the page like every
   other section, without stretching paragraph lines too long.
   ============================================================ */
.mp-overview-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.mp-overview-head { position: sticky; top: 100px; }

.mp-overview-heading {
  position: relative;
  margin-top: 14px;
  margin-bottom: 0;
  padding-bottom: 20px;
}
.mp-overview-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.mp-overview-body { max-width: 700px; }
.mp-editorial p {
  color: var(--text);
  line-height: 1.85;
}
.mp-editorial p:first-of-type {
  font-size: 19px;
  line-height: 1.7;
  color: var(--bg-deep);
  font-weight: 450;
}

/* Deep-dive section: sits on a tinted surface with a featured card,
   distinguishing it from the plainer intro overview above. */
.mp-overview-deepdive-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, #ffffff 100%);
}
.mp-overview-card {
  background: #fff;
  border-radius: 20px;
  padding: 56px 64px;
  box-shadow: 0 24px 60px -32px rgba(45,10,54,.18);
  border: 1px solid rgba(45,10,54,.06);
}

/* Sub-sections render as a 2-up grid — matches having exactly two
   H3 sub-topics; a single sub-section spans the full width instead
   of sitting oddly in one half-column. */
.mp-overview-subs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.mp-overview-subs-grid > *:only-child { grid-column: 1 / -1; }

.mp-overview-sub {
  padding-left: 22px;
  border-left: 3px solid rgba(191,0,54,.3);
}
.mp-overview-sub-heading {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 10px;
  line-height: 1.35;
}
.mp-overview-sub .mp-block-richtext p {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 900px) {
  .mp-overview-grid { grid-template-columns: 1fr; gap: 20px; }
  .mp-overview-head { position: static; }
  .mp-overview-body { max-width: none; }
  .mp-overview-subs-grid { grid-template-columns: 1fr; gap: 32px; }
  .mp-overview-card { padding: 32px 24px; }
  .mp-editorial p:first-of-type { font-size: 17px; }
}

/* ============================================================
   ABOUT US — Client Logo Marquee
   Auto-scrolling strip of real client names/logos. Each entry
   renders as a logo image once uploaded, or a clean text badge
   using the client's name until then — upgrades automatically,
   no template changes needed when a logo is added.
   ============================================================ */
.mp-logo-marquee-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.mp-logo-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.mp-logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: mp-marquee-scroll 50s linear infinite;
}
.mp-logo-marquee:hover .mp-logo-marquee-track {
  animation-play-state: paused;
}
@keyframes mp-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mp-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}
.mp-logo-item img {
  max-height: 40px;
  width: auto;
  filter: grayscale(100%);
  opacity: .55;
  transition: filter .25s ease, opacity .25s ease;
}
.mp-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.mp-logo-item-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
  opacity: .7;
  transition: opacity .25s ease, color .25s ease;
}
.mp-logo-item-text:hover {
  opacity: 1;
  color: var(--bg-deep);
}

/* Respect reduced-motion preference — freeze the strip instead of scrolling,
   and hide the duplicated pass (aria-hidden) so nothing repeats visibly. */
@media (prefers-reduced-motion: reduce) {
  .mp-logo-marquee-track { animation: none; overflow-x: auto; flex-wrap: wrap; width: 100%; }
  .mp-logo-item[aria-hidden="true"] { display: none; }
}

@media (max-width: 640px) {
  .mp-logo-marquee-track { gap: 36px; }
  .mp-logo-item img { max-height: 32px; }
  .mp-logo-item-text { font-size: 14px; }
}

/* ============================================================
   LANDING PAGE — FAQ two-column layout (used when a page has
   6+ questions, so a long list reads as two shorter columns
   instead of one very long single-column scroll).
   ============================================================ */
.mp-faq-list-columns {
  column-count: 2;
  column-gap: 48px;
}
.mp-faq-list-columns .mp-faq-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

@media (max-width: 780px) {
  .mp-faq-list-columns { column-count: 1; }
}
