/* ==========================================================================
   midwest — polish layer
   Extends site.css with narrative sections, service-detail styles, graceful
   image fallbacks, and mobile refinements. Loaded AFTER site.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Banner refinement — reflow chip + phone as a real row on the slab instead
   of fragile absolute pins, so nothing collides at any width.
   -------------------------------------------------------------------------- */
.mw-banner__inner { padding-bottom: 0; }

.mw-banner__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--mw-sp-3) var(--mw-sp-5);
  margin-top: var(--mw-sp-5);
}
.mw-banner__meta .mw-banner__chip {
  position: static;
  left: auto;
  bottom: auto;
}
.mw-banner__meta .mw-banner__phone {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--mw-sp-2);
}
.mw-banner__phone svg { fill: currentColor; opacity: 0.9; }

@media (max-width: 720px) {
  .mw-banner__inner { padding-bottom: 0; }
  .mw-banner__meta { gap: var(--mw-sp-3); }
  .mw-banner__phone { font-size: var(--mw-fs-18) !important; left: auto !important; }
}

/* --------------------------------------------------------------------------
   Trust bar — sits under the identity strip. Four quick proof points.
   -------------------------------------------------------------------------- */
.mw-trustbar {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-bottom: 4px solid var(--mw-gold);
}
.mw-trustbar__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.mw-trust {
  display: flex;
  align-items: center;
  gap: var(--mw-sp-3);
  padding: var(--mw-sp-4) var(--mw-sp-2);
  justify-content: center;
  text-align: left;
}
.mw-trust__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--mw-gold);
}
.mw-trust__icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mw-trust__text {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--mw-white);
}
.mw-trust__text small {
  display: block;
  font-weight: var(--mw-fw-regular);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 2px;
}
@media (max-width: 860px) {
  .mw-trustbar__row { grid-template-columns: 1fr 1fr; }
  .mw-trust { border-top: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 440px) {
  .mw-trustbar__row { grid-template-columns: 1fr; }
  .mw-trust { justify-content: flex-start; padding-left: var(--mw-sp-5); }
}

/* --------------------------------------------------------------------------
   Intro / value-prop band — one strong lede before the proof.
   -------------------------------------------------------------------------- */
.mw-intro { padding: var(--mw-sp-10) 0 var(--mw-sp-6); }
.mw-intro__lede {
  font-family: var(--mw-font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  font-weight: var(--mw-fw-regular);
  color: var(--mw-ink);
  max-width: 40ch;
  margin: 0;
  text-wrap: balance;
}
.mw-intro__lede strong { color: var(--mw-navy); font-weight: var(--mw-fw-bold); }
.mw-intro__lede em { font-style: normal; color: var(--mw-gold-strong); font-weight: var(--mw-fw-bold); }

/* --------------------------------------------------------------------------
   Results — allow three before/after pairs in a responsive row while keeping
   the sharp-tile, hairline-gutter language.
   -------------------------------------------------------------------------- */
.mw-results__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--mw-sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--mw-sp-4);
}
.mw-results__head .mw-results__kicker { text-align: left; margin: 0; }
.mw-results__note {
  font-size: var(--mw-fs-14);
  color: var(--mw-ink-muted);
  margin: 0;
}
.mw-compare-set {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mw-sp-4);
}
@media (max-width: 860px) { .mw-compare-set { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; } }

.mw-ba {
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  padding: 6px;
}
.mw-ba__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mw-ba__label {
  text-align: center;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mw-navy);
  padding: var(--mw-sp-3) 0 var(--mw-sp-1);
}

/* --------------------------------------------------------------------------
   Image tile with graceful fallback. When the <img> is missing/broken, the
   labeled gradient placeholder underneath shows through.
   -------------------------------------------------------------------------- */
.mw-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--mw-radius-sharp);
  background: linear-gradient(135deg, var(--mw-navy-soft), var(--mw-navy-deep));
}
.mw-tile__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: var(--mw-sp-3);
}
.mw-tile__ph svg { width: 30px; height: 30px; fill: none; stroke: rgba(255,255,255,0.6); stroke-width: 1.6; }
.mw-tile__ph span {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mw-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Process — how it works, three numbered steps.
   -------------------------------------------------------------------------- */
.mw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mw-sp-6);
  counter-reset: step;
}
@media (max-width: 720px) { .mw-steps { grid-template-columns: 1fr; } }
.mw-step {
  position: relative;
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-top: 4px solid var(--mw-navy);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-6) var(--mw-sp-6) var(--mw-sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--mw-sp-2);
}
.mw-step__num {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: var(--mw-fs-32);
  line-height: 1;
  color: var(--mw-gold-strong);
  letter-spacing: 0.02em;
}
.mw-step__title {
  margin: 0;
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  text-transform: uppercase;
  color: var(--mw-navy);
  font-size: var(--mw-fs-20);
  line-height: var(--mw-lh-tight);
}
.mw-step__body { margin: 0; color: var(--mw-ink); font-size: var(--mw-fs-16); line-height: var(--mw-lh-body); }

/* --------------------------------------------------------------------------
   Reviews — real testimonials, quote cards.
   -------------------------------------------------------------------------- */
.mw-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mw-sp-5);
}
@media (max-width: 720px) { .mw-reviews-grid { grid-template-columns: 1fr; } }
.mw-review {
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-left: 4px solid var(--mw-gold);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--mw-sp-4);
}
.mw-review__stars { display: flex; gap: 3px; color: var(--mw-gold-strong); }
.mw-review__stars svg { width: 18px; height: 18px; fill: currentColor; }
.mw-review__quote {
  margin: 0;
  font-size: var(--mw-fs-18);
  line-height: 1.55;
  color: var(--mw-ink);
}
.mw-review__quote::before { content: "\201C"; }
.mw-review__quote::after { content: "\201D"; }
.mw-review__by {
  margin: 0;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mw-navy);
}
.mw-review--wide { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   Section heading helper — centered variant used on secondary bands.
   -------------------------------------------------------------------------- */
.mw-section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mw-section__head--center .mw-section__kicker { justify-content: center; }
.mw-section__head--center .mw-section__lede { margin-inline: auto; margin-bottom: var(--mw-sp-8); }

/* --------------------------------------------------------------------------
   Service detail page — hero facts + switcher + body.
   -------------------------------------------------------------------------- */
.mw-svc-switch {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mw-sp-2);
  margin-bottom: var(--mw-sp-8);
}
.mw-svc-switch a {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--mw-navy);
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-pill);
  padding: var(--mw-sp-2) var(--mw-sp-4);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.mw-svc-switch a:hover { border-color: var(--mw-gold); color: var(--mw-navy-deep); }
.mw-svc-switch a[aria-current="true"] {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-color: var(--mw-navy-deep);
}

.mw-svc {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--mw-sp-8);
  align-items: start;
}
@media (max-width: 860px) { .mw-svc { grid-template-columns: 1fr; gap: var(--mw-sp-6); } }

.mw-svc__body > * + * { margin-top: var(--mw-sp-5); }
.mw-svc__lede {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--mw-ink);
  margin: 0;
}
.mw-svc__p { margin: 0; font-size: var(--mw-fs-16); line-height: var(--mw-lh-body); color: var(--mw-ink); }

.mw-svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mw-sp-3); }
.mw-svc__list li {
  position: relative;
  padding-left: var(--mw-sp-6);
  font-size: var(--mw-fs-16);
  line-height: 1.45;
  color: var(--mw-ink);
}
.mw-svc__list li svg {
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  color: var(--mw-flag-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mw-svc__aside { display: grid; gap: var(--mw-sp-5); position: sticky; top: var(--mw-sp-5); }
@media (max-width: 860px) { .mw-svc__aside { position: static; } }

.mw-factcard {
  background: var(--mw-off);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-card);
  overflow: hidden;
}
.mw-factcard__head {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-bottom: 4px solid var(--mw-gold);
  padding: var(--mw-sp-4) var(--mw-sp-5);
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  text-transform: uppercase;
  letter-spacing: var(--mw-ls-display);
  font-size: var(--mw-fs-18);
}
.mw-factcard__body { padding: var(--mw-sp-5); display: grid; gap: var(--mw-sp-4); }
.mw-fact { display: grid; gap: 2px; }
.mw-fact__k {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mw-ink-muted);
}
.mw-fact__v { font-size: var(--mw-fs-16); color: var(--mw-ink); font-weight: var(--mw-fw-bold); }

.mw-svc__cta {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-6);
  text-align: center;
  display: grid;
  gap: var(--mw-sp-3);
}
.mw-svc__cta .mw-cta-phone {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: var(--mw-ls-display);
  color: var(--mw-white);
  text-decoration: none;
}
.mw-svc__cta .mw-cta-phone:hover { color: var(--mw-gold); }
.mw-svc__cta p { margin: 0; font-size: var(--mw-fs-14); color: rgba(255,255,255,0.72); }

/* Larger single before/after on the service page */
.mw-svc__figure { margin-top: var(--mw-sp-4); }
.mw-svc__figure .mw-ba__pair { gap: 6px; }

/* --------------------------------------------------------------------------
   Global mobile refinements — keep display text from overflowing.
   -------------------------------------------------------------------------- */
@media (max-width: 540px) {
  .mw-banner__title { word-break: break-word; }
  .mw-cta__big { font-size: clamp(2rem, 9vw, 2.75rem); letter-spacing: 0.01em; }
  .mw-cta__actions { max-width: 100%; }
  .mw-section { padding: var(--mw-sp-8) 0; }
}
.mw-btn { text-wrap: balance; }
a { text-underline-offset: 3px; }
