/* Local map frame and fallback. The renderer warms after the first screen. */
.map.contact-map { height: 500px; background: #f6f3ed; }
.contact-map__surface, .contact-map__canvas { position: absolute; inset: 0; }
.contact-map .contact-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .25s ease; }
.contact-map__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-map[data-map-state="ready"] .contact-map__canvas { opacity: 1; }
.contact-map[data-map-state="ready"] .contact-map__preview { visibility: hidden; }
.contact-map__preview ~ .contact-map__placeholder { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; }
.contact-map .map__card { z-index: 3; }
.contact-map__placeholder { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px 72px 24px 448px; background: #f3f0e9; color: var(--ink); text-align: center; pointer-events: none; }
.contact-map__placeholder[hidden], .contact-map__canvas[hidden] { display: none; }
.contact-map__placeholder-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; background: #fff; color: var(--accent); }
.contact-map__placeholder b { font-size: 23px; letter-spacing: -.02em; }
.contact-map__placeholder > span:not(.contact-map__placeholder-icon), .contact-map__placeholder p { max-width: 320px; color: #655f56; font-size: 14px; }
.contact-map__attribution { position: absolute; z-index: 4; right: 12px; bottom: 10px; max-width: calc(100% - 24px); padding: 3px 7px; border-radius: 5px; background: #fffffff0; color: #625e57; font: 10px/1.35 var(--font); }
.contact-map__attribution a:hover, .contact-map__attribution a:focus-visible { text-decoration: underline; }
.contact-map .maplibregl-ctrl-top-right { top: 6px; right: 6px; }
.contact-map .maplibregl-ctrl-group { overflow: hidden; border-radius: 13px; box-shadow: 0 3px 16px #453f3226; }
.contact-map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.contact-map .maplibregl-ctrl-group button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.contact-map .maplibregl-canvas:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.contact-map .maplibregl-cooperative-gesture-screen { font-family: var(--font); }
.contact-map__marker { display: flex; width: max-content; flex-direction: column; align-items: center; gap: 5px; pointer-events: none; user-select: none; }
.contact-map__label { padding: 6px 11px; border: 1px solid #e6dfd1; border-radius: 9px; background: #fff; color: #28282a; box-shadow: 0 3px 12px #453f3226; font: 600 13px/1.2 var(--font); }
.contact-map__pin { display: block; flex: none; width: 32px; height: 44px; overflow: visible; color: var(--accent); filter: drop-shadow(0 3px 4px #6c45282e); }
@media (max-width: 900px) {
  .map.contact-map { display: flex; flex-direction: column; height: auto; gap: 20px; overflow: visible; border-radius: 0; background: none; }
  .contact-map__surface { position: relative; flex: none; height: 340px; overflow: hidden; border-radius: 24px; background: #f3f0e9; }
  .contact-map .map__card { position: static; order: -1; width: auto; padding: 0; box-shadow: none; }
  .contact-map__placeholder { padding: 24px; }
}
