/*
 * MasseyMedia Custom Elementor Widgets — Shared Styles
 * Loaded site-wide via the masseymedia-widgets plugin.
 */

/* ══════════════════════════════════
   SECTION HEADER
══════════════════════════════════ */
.mm-section-header { margin-bottom: 44px; }
.mm-text-center { text-align: center; }
.mm-text-center .mm-section-sub { margin-left: auto; margin-right: auto; }
.mm-text-left { text-align: left; }

.mm-section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3662AB;
  margin-bottom: 10px;
}
.mm-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: #1e1e2e;
  line-height: 1.15;
  margin-bottom: 14px;
}
.mm-section-sub {
  font-size: 17px;
  color: #555566;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 0;
}


/* ══════════════════════════════════
   STAT COUNTER
══════════════════════════════════ */
.mm-stat-counter { text-align: center; } /* default; overridden by alignment control */
.mm-stat-num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #1e1e2e;
  line-height: 1;
  display: inline-flex; /* inline so text-align on parent controls position */
  align-items: baseline;
  gap: 2px;
}
.mm-stat-suffix {
  font-size: .65em;
  color: #3662AB;
  font-weight: 800;
}
.mm-stat-label {
  font-size: 13px;
  color: #555566;
  margin-top: 6px;
  font-weight: 600;
}


/* ══════════════════════════════════
   SERVICE CARD
══════════════════════════════════ */
.mm-service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dde2ee;
  border-radius: 12px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  height: 100%;
}
.mm-service-card:hover {
  box-shadow: 0 8px 40px rgba(54,98,171,.14);
  transform: translateY(-4px);
  border-color: #3662AB;
  text-decoration: none;
}
.mm-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8eefc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.mm-service-icon svg,
.mm-service-icon i {
  width: 26px;
  height: 26px;
  color: #3662AB;
  fill: #3662AB;
  font-size: 24px;
}
.mm-service-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 10px;
  line-height: 1.3;
}
.mm-service-desc {
  font-size: 15px;
  color: #555566;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}
.mm-service-link {
  font-size: 14px;
  font-weight: 700;
  color: #3662AB;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.mm-service-card:hover .mm-service-link { text-decoration: underline; }


/* ══════════════════════════════════
   INDUSTRY CARD
══════════════════════════════════ */
.mm-industry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dde2ee;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.mm-industry-card:hover {
  box-shadow: 0 8px 32px rgba(54,98,171,.12);
  transform: translateY(-3px);
  border-color: #3662AB;
  text-decoration: none;
}
.mm-industry-card--highlight {
  background: #f0f4fd;
  border-color: #3662AB;
}
.mm-industry-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #3662AB;
  fill: #3662AB;
}
.mm-industry-icon svg,
.mm-industry-icon i {
  width: 100%;
  height: 100%;
  color: #3662AB;
  fill: #3662AB;
}
.mm-industry-heading {
  font-size: 16px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 8px;
  line-height: 1.3;
}
.mm-industry-desc {
  font-size: 14px;
  color: #555566;
  line-height: 1.65;
}


/* ══════════════════════════════════
   TESTIMONIAL CARD
══════════════════════════════════ */
.mm-testimonial-card {
  background: #ffffff;
  border: 1px solid #dde2ee;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}
.mm-stars {
  color: #f4a624;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.mm-quote-mark {
  font-size: 48px;
  color: #e8eefc;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: -12px;
}
.mm-quote-text {
  font-size: 15px;
  color: #333333;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}
.mm-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.mm-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3662AB;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e1e2e;
}
.mm-author-source { margin-top: 3px; }
.mm-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #555566;
  font-weight: 500;
}
.mm-google-g {
  font-weight: 700;
  color: #4285F4;
  font-size: 13px;
}


/* ══════════════════════════════════
   PROCESS STEP
══════════════════════════════════ */
.mm-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.mm-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #3662AB;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(54,98,171,.30);
}
.mm-step-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 10px;
}
.mm-step-desc {
  font-size: 15px;
  color: #555566;
  line-height: 1.7;
}


/* ══════════════════════════════════
   LOCATION TAG
══════════════════════════════════ */
.mm-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #f0f4fd;
  border: 1px solid #3662AB;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3662AB;
  text-decoration: none;
  transition: background .2s, color .2s;
}
a.mm-location-tag:hover {
  background: #3662AB;
  color: #ffffff;
  text-decoration: none;
}
.mm-location-tag svg { flex-shrink: 0; }


/* ══════════════════════════════════
   FEATURE LIST CARD
══════════════════════════════════ */
.mm-feature-list-card {
  background: #e8eefc;
  border-radius: 16px;
  padding: 36px 32px;
}
.mm-flc-heading {
  font-size: 17px;
  font-weight: 800;
  color: #3662AB;
  margin-bottom: 24px;
  line-height: 1.3;
}
.mm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mm-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2845;
  line-height: 1.4;
}
.mm-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3662AB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-check-icon svg { display: block; }


/* ══════════════════════════════════
   TIMELINE ITEM
══════════════════════════════════ */
.mm-timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.mm-tl-gutter {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
}
.mm-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a2845;
  border: 3px solid #e8eefc;
  box-shadow: 0 0 0 2px #1a2845;
  flex-shrink: 0;
  margin-top: 4px;
}
.mm-timeline-item--current .mm-tl-dot {
  background: #f4a624;
  box-shadow: 0 0 0 2px #f4a624;
}
.mm-tl-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: #dde2ee;
  margin-top: 6px;
}
.mm-tl-body {
  padding-bottom: 36px;
  flex: 1;
}
.mm-timeline-item--last .mm-tl-body { padding-bottom: 0; }
.mm-tl-year {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3662AB;
  border: 1.5px solid #3662AB;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.mm-timeline-item--current .mm-tl-year {
  color: #f4a624;
  border-color: #f4a624;
}
.mm-tl-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a2845;
  margin-bottom: 8px;
  line-height: 1.3;
}
.mm-tl-desc {
  font-size: 15px;
  color: #555566;
  line-height: 1.75;
  margin: 0;
}


/* ══════════════════════════════════
   PROCESS STEP — HORIZONTAL VARIANT
══════════════════════════════════ */
.mm-process-step--horizontal {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  background: #ffffff;
  border: 1.5px solid #dde2ee;
  border-radius: 16px;
  padding: 32px 28px;
}
.mm-process-step--horizontal .mm-step-num {
  margin-bottom: 0;
  flex-shrink: 0;
}
.mm-step-content { flex: 1; }
.mm-process-step--horizontal .mm-step-heading {
  font-size: 18px;
  margin-bottom: 10px;
}
.mm-process-step--horizontal .mm-step-desc { font-size: 15px; }


/* ══════════════════════════════════
   BREADCRUMBS
══════════════════════════════════ */
.mm-breadcrumbs {
  font-size: 13px;
  font-weight: 600;
}

/* Shared list reset for manual mode ol */
.mm-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

/* ── Dark preset (navy hero background) ── */
.mm-breadcrumbs--dark a,
.mm-breadcrumbs--dark .rank-math-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.mm-breadcrumbs--dark a:hover,
.mm-breadcrumbs--dark .rank-math-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: none;
}
.mm-breadcrumbs--dark .mm-bc-sep,
.mm-breadcrumbs--dark .rank-math-breadcrumb .separator {
  color: rgba(255,255,255,.3);
}
.mm-breadcrumbs--dark .mm-bc-current,
.mm-breadcrumbs--dark .rank-math-breadcrumb .last {
  color: rgba(255,255,255,.85);
}

/* ── Light preset (white / gray backgrounds) ── */
.mm-breadcrumbs--light a,
.mm-breadcrumbs--light .rank-math-breadcrumb a {
  color: #555566;
  text-decoration: none;
  transition: color .2s;
}
.mm-breadcrumbs--light a:hover,
.mm-breadcrumbs--light .rank-math-breadcrumb a:hover {
  color: #3662AB;
  text-decoration: none;
}
.mm-breadcrumbs--light .mm-bc-sep,
.mm-breadcrumbs--light .rank-math-breadcrumb .separator {
  color: #bbbbcc;
}
.mm-breadcrumbs--light .mm-bc-current,
.mm-breadcrumbs--light .rank-math-breadcrumb .last {
  color: #1e1e2e;
  font-weight: 600;
}

/* Rank Math outputs its breadcrumb inside .rank-math-breadcrumb —
   ensure it inherits our flex row layout */
.mm-breadcrumbs .rank-math-breadcrumb,
.mm-breadcrumbs .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.mm-breadcrumbs .rank-math-breadcrumb .separator {
  margin: 0 2px;
}


/* ══════════════════════════════════
   PAGE HERO
══════════════════════════════════ */

/* Outer wrapper — full-width, overflow hidden for the glow */
.mm-ph-wrap {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  padding: 64px 0 0;
  width: 100%;
}


/* Inner container — centred, 1160px, above overlays */
.mm-ph-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Content area — limits heading width */
.mm-ph-content {
  max-width: 760px;
}

/* ── Breadcrumb ── */
.mm-ph-breadcrumb {
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
}
.mm-ph-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.mm-ph-breadcrumb a,
.mm-ph-breadcrumb .rank-math-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.mm-ph-breadcrumb a:hover,
.mm-ph-breadcrumb .rank-math-breadcrumb a:hover {
  color: #ffffff;
}
.mm-ph-breadcrumb .mm-ph-bc-sep,
.mm-ph-breadcrumb .rank-math-breadcrumb .separator {
  color: rgba(255,255,255,.3);
  margin: 0 2px;
}
.mm-ph-breadcrumb .mm-ph-bc-current,
.mm-ph-breadcrumb .rank-math-breadcrumb .last {
  color: rgba(255,255,255,.85);
}
/* Rank Math outputs a <p> inside .rank-math-breadcrumb */
.mm-ph-breadcrumb .rank-math-breadcrumb,
.mm-ph-breadcrumb .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* ── Eyebrow ── */
.mm-ph-eyebrow {
  margin-bottom: 16px;
}
.mm-ph-eyebrow--plain {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f4a624;
}
.mm-ph-eyebrow--pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1a2845;
  background: #f4a624;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── Heading ── */
.mm-ph-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
}
.mm-ph-heading em {
  font-style: normal;
  color: #f4a624;
}

/* ── Subtext ── */
.mm-ph-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.72;
  margin: 0 0 32px;
  max-width: 620px;
}
/* No margin if no buttons follow */
.mm-ph-content:last-child .mm-ph-subtext { margin-bottom: 0; }

/* ── CTA Buttons ── */
.mm-ph-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.mm-ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1;
}
.mm-ph-btn--primary {
  background: #f4a624;
  color: #1a2845;
  border-color: #f4a624;
}
.mm-ph-btn--primary:hover {
  background: #e09518;
  border-color: #e09518;
  color: #1a2845;
  text-decoration: none;
}
.mm-ph-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.45);
}
.mm-ph-btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
  color: #ffffff;
  text-decoration: none;
}

/* ── Form card (apply as CSS class on any Elementor container) ── */
.mm-ph-right-card {
  background: #ffffff;
  border-radius: 16px !important; /* overrides Elementor .e-con { border-radius: var(--border-radius) } */
  padding: 36px 32px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
}
@media (max-width: 767px) {
  .mm-ph-right-card { padding: 28px 20px; }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .mm-ph-wrap { padding: 48px 0 40px; }
  .mm-ph-inner { padding: 0 16px; }
  .mm-ph-buttons { flex-direction: column; }
  .mm-ph-btn { width: 100%; text-align: center; }
}
