/* Roven service-area map ([roven_map]). Colors come from the site (--rvm-ink, --rvm-accent on .rvm); type from the page. */
.rvm {
  --rvm-ink: #112A57; --rvm-accent: #D2284F; --rvm-text: #495468; --rvm-muted: #5B6780;
  --rvm-line: #E3E6EC; --rvm-soft: #F2F3F6; --rvm-land: #F7F8FA;
  color: var(--rvm-text); font-size: 16px; line-height: 1.6; text-align: left;
}
.rvm *, .rvm *::before, .rvm *::after { box-sizing: border-box; }
.rvm__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--rvm-line);
  box-shadow: 0 1px 2px rgba(17,42,87,.06), 0 24px 60px -24px rgba(17,42,87,.28);
}
.rvm--nomap .rvm__grid { grid-template-columns: 1fr; }
.rvm--nomap .rvm__map { display: none; }
.rvm--nomap .rvm__list { border-left: 0; }

/* map */
.rvm__map { position: relative; min-height: 540px; background: var(--rvm-land); }
.rvm__canvas { position: absolute; inset: 0; }
.rvm__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(247,248,250,.92), rgba(247,248,250,0) 64px),
    linear-gradient(to left, rgba(247,248,250,.92), rgba(247,248,250,0) 64px),
    linear-gradient(to bottom, rgba(247,248,250,.85), rgba(247,248,250,0) 56px),
    linear-gradient(to top, rgba(247,248,250,.92), rgba(247,248,250,0) 72px);
}
.rvm-legend {
  display: flex; align-items: center; gap: 14px; padding: 0 12px; height: 30px; border-radius: 10px;
  background: rgba(255,255,255,.94); font-size: 12px; line-height: 1; font-weight: 500; color: var(--rvm-text);
  box-shadow: 0 1px 2px rgba(17,42,87,.08), 0 4px 14px -4px rgba(17,42,87,.16);
}
.rvm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.rvm-swatch { width: 14px; height: 10px; border-radius: 3px; background: rgba(17,42,87,.16); border: 1.5px solid var(--rvm-ink); }
.rvm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rvm-accent); box-shadow: 0 0 0 2px #fff; }

.rvm .maplibregl-ctrl-group { border-radius: 10px !important; overflow: hidden; box-shadow: 0 1px 2px rgba(17,42,87,.08), 0 4px 14px -4px rgba(17,42,87,.18) !important; }
.rvm .maplibregl-ctrl-group button { width: 34px; height: 34px; }
.rvm .maplibregl-ctrl-group button:focus-visible { box-shadow: inset 0 0 0 2px var(--rvm-ink); }
.rvm .maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 16px 16px 0 0; }
.rvm .maplibregl-ctrl-bottom-left { display: flex; align-items: flex-end; gap: 12px; left: 16px; bottom: 16px; }
.rvm .maplibregl-ctrl-bottom-left .maplibregl-ctrl { margin: 0; float: none; }
.rvm .maplibregl-ctrl-bottom-left .maplibregl-ctrl-scale { order: 2; }
.rvm .maplibregl-ctrl-scale {
  background: transparent; border: 1.5px solid #8A93A6; border-top: 0; border-radius: 0 0 2px 2px;
  color: var(--rvm-muted); font-size: 10.5px; line-height: 1; padding: 0 5px 4px; margin-bottom: 8px !important;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}
.rvm .maplibregl-cooperative-gesture-screen { background: rgba(17,42,87,.55); font-family: inherit; }
.rvm .maplibregl-ctrl-bottom-right { right: 16px; bottom: 16px; }
.rvm .maplibregl-ctrl-bottom-right .maplibregl-ctrl { margin: 0; }
.rvm .maplibregl-ctrl-attrib { font-size: 11px; line-height: 1.4; color: var(--rvm-muted); }
.rvm .maplibregl-ctrl-attrib a { color: var(--rvm-muted); }
.rvm .maplibregl-ctrl-attrib.maplibregl-compact {
  min-height: 30px; margin: 0; border-radius: 10px; padding: 0 34px 0 0; background: rgba(255,255,255,.94);
  display: flex; align-items: center; box-shadow: 0 1px 2px rgba(17,42,87,.08), 0 4px 14px -4px rgba(17,42,87,.16);
}
.rvm .maplibregl-ctrl-attrib.maplibregl-compact-show { padding: 0 34px 0 12px; }
.rvm .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button {
  top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.6' fill='none' stroke='%235B6780' stroke-width='1.3'/%3E%3Ccircle cx='10' cy='6.3' r='1.05' fill='%235B6780'/%3E%3Cpath d='M10 9v5.2' stroke='%235B6780' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;
}

/* pins */
.rvm-marker { line-height: 0; }
.rvm-pin {
  all: unset; cursor: pointer; position: relative; display: block; width: 34px; height: 44px;
  transform-origin: 50% 100%; transition: transform .18s cubic-bezier(.2,.8,.2,1);
}
.rvm-pin svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 6px rgba(17,42,87,.35)); }
.rvm-pin--base { width: 42px; height: 54px; }
.rvm-pin:hover, .rvm-pin.is-active { transform: translateY(-3px) scale(1.08); }
.rvm-pin:focus-visible { outline: none; }
.rvm-pin:focus-visible::after {
  content: ""; position: absolute; left: 50%; top: 38%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--rvm-ink);
}
.rvm-pin__label {
  position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  white-space: nowrap; pointer-events: none; text-align: center; padding: 7px 12px; border-radius: 10px;
  background: #fff; color: var(--rvm-ink); font-size: 13.5px; line-height: 1; font-weight: 600;
  box-shadow: 0 1px 2px rgba(17,42,87,.1), 0 6px 16px -6px rgba(17,42,87,.3);
}
.rvm-pin--below .rvm-pin__label { bottom: auto; top: calc(100% + 10px); }
.rvm-pin__label small, .rvm-pin__label em {
  display: block; font-size: 9.5px; line-height: 1; font-weight: 600; font-style: normal; letter-spacing: .16em; text-transform: uppercase;
}
.rvm-pin__label small { color: var(--rvm-accent); margin-bottom: 5px; }
.rvm-pin__label em { color: #7A8499; margin-top: 5px; }
.rvm-pin--base .rvm-pin__label { background: var(--rvm-ink); color: #fff; padding: 8px 14px; font-size: 14.5px; }
.rvm-pin--base .rvm-pin__label small { color: #fff; opacity: .75; }
.rvm-pulse { position: absolute; left: 50%; bottom: -5px; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; background: rgba(17,42,87,.2); pointer-events: none; }
.rvm-pin--base .rvm-pulse::after {
  content: ""; position: absolute; inset: -6px -10px; border-radius: 50%; border: 2px solid var(--rvm-accent);
  opacity: .5; animation: rvm-ring 2.4s ease-out infinite;
}
@keyframes rvm-ring { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rvm-pin--base .rvm-pulse::after { animation: none; opacity: 0; } .rvm-pin, .rvm-area, .rvm-area__go { transition: none; } }

/* popup */
.rvm-popup { z-index: 10; }
.rvm-popup .maplibregl-popup-content {
  padding: 18px 20px 16px; border-radius: 14px; min-width: 230px; font-family: inherit;
  box-shadow: 0 18px 40px -12px rgba(17,42,87,.4), 0 2px 6px rgba(17,42,87,.1);
}
.rvm-popup .maplibregl-popup-close-button { width: 28px; height: 28px; top: 8px; right: 8px; border-radius: 50%; font-size: 18px; color: var(--rvm-text); }
.rvm-popup .maplibregl-popup-close-button:hover { background: var(--rvm-soft); }
.rvm-popup__kicker { font-size: 10.5px; line-height: 1; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rvm-accent); margin: 0 0 8px; }
.rvm-popup h3 { font-size: 19px; line-height: 1.2; font-weight: 700; color: var(--rvm-ink); margin: 0 0 6px; padding-right: 22px; }
.rvm-popup p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--rvm-text); }
.rvm-popup a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1; font-weight: 600; color: var(--rvm-ink); text-decoration: none; }
.rvm-popup a:hover { text-decoration: underline; }
.rvm-popup a:focus-visible { outline: 2px solid var(--rvm-ink); outline-offset: 4px; border-radius: 4px; }

/* list */
.rvm__list { display: flex; flex-direction: column; padding: 32px 28px 26px; border-left: 1px solid var(--rvm-line); }
.rvm__title { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rvm-ink); margin: 0 0 8px; }
.rvm__sub { font-size: 14px; margin: 0 0 20px; }
.rvm__sub .ph { display: none; }
.rvm--nomap .rvm__sub { display: none; }
.rvm__list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rvm__list li { margin: 0; padding: 0; }
.rvm-area {
  display: grid; grid-template-columns: 40px 1fr 20px; align-items: center; gap: 14px; padding: 14px;
  border-radius: 14px; text-decoration: none !important; border: 1px solid var(--rvm-line); background: #fff;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.rvm-area:hover, .rvm-area.is-active { border-color: rgba(17,42,87,.3); background: #F6F8FD; box-shadow: 0 8px 20px -12px rgba(17,42,87,.35); }
.rvm-area:focus-visible { outline: 3px solid var(--rvm-ink); outline-offset: 2px; }
.rvm-area__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rvm-soft); }
.rvm-area__icon svg { width: 20px; height: 26px; overflow: visible; }
.rvm-area__name { display: block; font-size: 17px; line-height: 1.2; font-weight: 600; color: var(--rvm-ink); }
.rvm-area__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--rvm-text); }
.rvm-badge { font-size: 10px; line-height: 1; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: var(--rvm-soft); color: var(--rvm-accent); }
.rvm-area__go { color: var(--rvm-ink); opacity: .45; transition: opacity .15s, transform .15s; }
.rvm-area:hover .rvm-area__go, .rvm-area.is-active .rvm-area__go, .rvm-area:focus-visible .rvm-area__go { opacity: 1; transform: translateX(3px); }
.rvm-cta { padding-top: 16px; }
.rvm-cta__box { border-radius: 14px; padding: 18px; background: var(--rvm-soft); font-size: 14px; line-height: 1.5; }
.rvm-cta__box strong { display: block; font-size: 15px; line-height: 1.3; color: var(--rvm-ink); margin-bottom: 4px; }
.rvm-cta__phone { display: flex; width: max-content; align-items: center; gap: 8px; margin-top: 12px; font-size: 16px; line-height: 1; font-weight: 700; color: var(--rvm-accent) !important; text-decoration: none !important; }
.rvm-cta__phone .lbl { display: none; }

@media (max-width: 980px) {
  .rvm__grid { grid-template-columns: 1fr; }
  .rvm__list { border-left: 0; border-top: 1px solid var(--rvm-line); }
  .rvm__map { min-height: 480px; }
}
@media (max-width: 600px) {
  .rvm__grid { border-radius: 16px; }
  .rvm__map { min-height: 440px; }
  .rvm__list { padding: 24px 16px 20px; }
  .rvm__sub .dt { display: none; }
  .rvm__sub .ph { display: inline; }
  .rvm-area { padding: 12px; gap: 12px; }
  .rvm .maplibregl-ctrl-bottom-left { left: 12px; bottom: 12px; }
  .rvm .maplibregl-ctrl-bottom-right { right: 12px; bottom: 12px; }
  .rvm .maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 12px 12px 0 0; }
  .rvm .maplibregl-ctrl-scale { display: none; }
  .rvm-legend { gap: 10px; padding: 0 10px; font-size: 11px; }
  .rvm-pin__label { font-size: 12.5px; padding: 6px 10px; }
  .rvm-cta__phone {
    justify-content: center; width: 100%; margin-top: 14px; padding: 14px 16px; border-radius: 12px;
    background: var(--rvm-accent); color: #fff !important;
  }
  .rvm-cta__phone .lbl { display: inline; }
}

/* Theme armor: kits style bare button and h3 (Elementor kit globals, theme button fills, uppercase
   labels) at higher specificity than a component class. Ours win inside .rvm, whatever the kit. */
.rvm .rvm-pin, .rvm .rvm-pin:hover, .rvm .rvm-pin:focus, .rvm .rvm-pin:active {
  background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important;
  min-height: 0 !important; min-width: 0 !important; border-radius: 0 !important; color: inherit !important;
  text-transform: none !important; letter-spacing: normal !important; font: inherit; line-height: 0 !important; outline: none;
}
.rvm .rvm-pin { width: 34px !important; height: 44px !important; }
.rvm .rvm-pin.rvm-pin--base { width: 42px !important; height: 54px !important; }
.rvm .rvm-pin__label { text-transform: none !important; letter-spacing: .005em !important; font-family: inherit !important; }
.rvm .rvm-pin__label small, .rvm .rvm-pin__label em { text-transform: uppercase !important; letter-spacing: .16em !important; }
.rvm h3.rvm__title {
  font-size: 13px !important; line-height: 1.2 !important; font-weight: 600 !important; letter-spacing: .14em !important;
  text-transform: uppercase !important; color: var(--rvm-ink) !important; margin: 0 0 8px !important; padding: 0 !important;
}
.rvm-popup h3 { font-size: 19px !important; line-height: 1.2 !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: normal !important; margin: 0 0 6px !important; }
.rvm-popup .rvm-popup__kicker { padding-right: 26px; letter-spacing: .12em !important; }
.rvm-popup button.maplibregl-popup-close-button {
  background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important;
  color: var(--rvm-text) !important; width: 28px !important; height: 28px !important; min-height: 0 !important; line-height: 28px !important;
  border-radius: 50% !important; font-size: 18px !important; text-transform: none !important; letter-spacing: normal !important;
}
.rvm-popup button.maplibregl-popup-close-button:hover { background: var(--rvm-soft) !important; }
.rvm .maplibregl-ctrl-group button, .rvm .maplibregl-ctrl-attrib-button {
  padding: 0 !important; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-height: 0 !important;
  text-transform: none !important; letter-spacing: normal !important;
}
.rvm .maplibregl-ctrl-group button { background-color: #fff !important; border: 0 !important; }
.rvm .maplibregl-ctrl-group button + button { border-top: 1px solid #ddd !important; }
.rvm .maplibregl-ctrl-group button:hover { background-color: #F2F3F6 !important; }
.rvm a.rvm-area, .rvm a.rvm-area:hover { color: inherit; }
.rvm .rvm__list ol, .rvm .rvm__list li { list-style: none !important; margin-left: 0 !important; }
