/* services/local-near-me/: the header's paper phone with Google Maps, and the sees frame for demand-pings. */

/* ---------- hero artifact: Maps on a paper phone, a little turned ---------- */
.mp { position: absolute; inset: 0; container-type: size; }
.mp__phone { position: absolute; left: 50%; top: 5%; width: min(56cqw, 46cqh); height: 92cqh; translate: -32% 0; rotate: 4deg; padding: 2.2cqh 1.6cqh; border-radius: 6cqh; background: var(--c-ink); box-shadow: var(--shadow-l); }
.mp__screen { position: relative; height: 100%; overflow: hidden; border-radius: 4.6cqh; background: var(--c-paper); font-family: var(--font-ui); color: var(--c-ink); }
.mp__map { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp .m-ground { fill: color-mix(in srgb, var(--c-lavender) 70%, var(--c-paper)); }
.mp .m-park { fill: color-mix(in srgb, var(--c-accent) 18%, var(--c-paper)); }
.mp .m-water { fill: color-mix(in srgb, var(--c-accent) 34%, var(--c-paper)); }
.mp .m-road { fill: none; stroke: var(--c-paper); stroke-width: 7; stroke-linecap: round; }
.mp .m-big { stroke-width: 12; }
.mp .m-reach { fill: color-mix(in srgb, var(--c-brand) 12%, transparent); stroke: color-mix(in srgb, var(--c-brand) 40%, transparent); stroke-width: 1.5; stroke-dasharray: 4 4; }
.mp__search { position: absolute; left: 6%; right: 6%; top: 3.5%; display: flex; align-items: center; gap: .5em; padding: .7em 1em; border-radius: 99px; background: var(--c-paper); box-shadow: var(--shadow-m); font-size: max(13px, 2.6cqw); font-weight: 600; white-space: nowrap; }
.mp__search svg { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: var(--c-ink-soft); stroke-width: 2; }
.mp__pin { position: absolute; width: 7cqw; height: 7cqw; }
.mp__pin svg { width: 100%; height: 100%; fill: var(--c-paper); stroke: color-mix(in srgb, var(--c-ink) 45%, transparent); stroke-width: 1.4; }
.mp__pin--a { left: 16%; top: 30%; } .mp__pin--b { left: 70%; top: 24%; } .mp__pin--c { left: 64%; top: 52%; }
.mp__pin--you { left: 40%; top: 32%; width: 12cqw; height: 12cqw; filter: drop-shadow(0 4px 6px color-mix(in srgb, var(--c-ink) 30%, transparent)); }
.mp__pin--you svg { fill: var(--c-brand); stroke: var(--c-paper); }
.mp__pin--you b { position: absolute; left: 0; right: 0; top: 18%; text-align: center; color: var(--c-on-brand); font-size: max(13px, 3.2cqw); font-weight: 800; }
.mp__pin--you svg circle { fill: var(--c-brand); stroke: none; }
.mp__sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 1.2cqh; padding: 2.4cqh 5% 3cqh; border-radius: 3cqh 3cqh 0 0; background: var(--c-paper); box-shadow: 0 -8px 18px -10px color-mix(in srgb, var(--c-ink) 30%, transparent); }
.mp__row { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: 1.2cqh 3%; border-radius: 1.6cqh; }
.mp__row--you { background: var(--c-brand-light); }
.mp__row b { display: block; font-size: max(13px, 3.4cqw); font-weight: 700; }
.mp__row small { display: flex; align-items: center; gap: .4em; font-size: max(13px, 2.8cqw); color: var(--c-ink-soft); }
.mp__stars { display: inline-flex; gap: 1px; }
.mp__stars svg { width: 1em; height: 1em; fill: var(--c-gold); }
.mp__row em { flex: none; padding: .45em 1em; border-radius: 99px; background: var(--c-brand); color: var(--c-on-brand); font-size: max(13px, 3cqw); font-style: normal; font-weight: 700; }
.mp__row:not(.mp__row--you) b { color: var(--c-ink-soft); }

/* ---------- sees: demand-pings is the picture itself (its own map), in the frame ---------- */
.sees__pic--local-near-me { background: var(--c-paper-alt); }
.sees__pic--local-near-me .sees__scene { inset: 0; }

@media (max-width: 759px) {
  .sees__pic--local-near-me { aspect-ratio: auto; height: 560px; }
}

/* the thesis (no glow): the copied scene's soft glow under the reach is left out; its rings still mark the reach */
html [data-scene="demand-pings"] .dp-glow, html [data-scene="demand-pings"] .dp-fog { display: none; }
