/* HOME: SERVICES + PRICING MAP SECTION
   Mobile first (reference: home-map-mobile), desktop from 900px (reference: home-map-desktop). */

.vgm {
  font-family: 'DM Sans', sans-serif;
  color: #050505;
  background: #ffffff;
  padding: 48px 16px 56px;
  scroll-margin-top: 72px;
}
.vgm *, .vgm *::before, .vgm *::after { box-sizing: border-box; }
.vgm a { color: #2f6a62; }
.vgm a:hover { color: #050505; }
.vgm a:focus-visible,
.vgm button:focus-visible { outline: 2px solid #2f6a62; outline-offset: 3px; }

.vgm-inner { max-width: 600px; margin: 0 auto; }

/* Header */
.vgm-eyebrow { display: flex; align-items: center; gap: 20px; margin: 0 0 10px; }
.vgm-eyebrow span:first-child { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; }
.vgm-eyebrow-rule { display: none; flex: 1; height: 1px; background: #d6e8e6; }
.vgm-head { margin: 0 0 22px; }
.vgm-title {
  margin: 0 0 10px; font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: 40px; line-height: 1.04; letter-spacing: -0.02em;
}
.vgm-title em { color: #539e96; font-weight: 400; }
.vgm-lead { margin: 0; font-size: 15px; line-height: 1.65; color: #3d3d3d; }

/* Map panel */
.vgm-panel {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid #b9d6d2;
  background: #f6fbfa; padding: 22px 16px 92px; min-height: 560px;
}
.vgm-map {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.vgm-credit {
  position: absolute; left: 10px; bottom: 6px; z-index: 2;
  display: inline-flex; align-items: flex-end; min-height: 44px;
  text-decoration: none; font-size: 10px; line-height: 1.3;
}
.vgm-credit span {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.85); color: #2f6a62;
}
.vgm .vgm-credit:hover span { color: #050505; text-decoration: underline; }

/* Compass + popover */
.vgm-compass-wrap {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px;
}
.vgm-compass {
  appearance: none; margin: 0; padding: 0; cursor: pointer; font: inherit; color: inherit;
  width: 60px; height: 60px; border-radius: 999px; background: #ffffff; border: 1px solid #050505;
  box-shadow: 0 6px 18px rgba(5,5,5,0.14);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.vgm-compass svg { width: 54px; height: 54px; display: block; }
.vgm-compass:hover { transform: scale(1.06); }
@keyframes vgSwing {
  0% { transform: rotate(-34deg) } 7% { transform: rotate(26deg) } 14% { transform: rotate(-18deg) }
  21% { transform: rotate(12deg) } 28% { transform: rotate(-7deg) } 35% { transform: rotate(4deg) }
  42% { transform: rotate(-2deg) } 49%, 100% { transform: rotate(0deg) }
}
.vg-needle { transform-origin: 30px 30px; animation: vgSwing 6.5s ease-in-out infinite; }
.vgm-compass:hover .vg-needle { animation-duration: 2.2s; }

.vgm-pop {
  width: 236px; background: #ffffff; border: 1px solid #050505; border-radius: 18px;
  padding: 16px 16px 14px; box-shadow: 0 10px 28px rgba(5,5,5,0.14);
}
.vgm-pop[hidden] { display: none; }
.vgm-pop p {
  margin: 0 0 12px; font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.15;
}
.vgm .vgm-pop a {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  text-align: center; text-decoration: none; color: #050505; background: #ffdfe8;
  border-radius: 999px; padding: 13px 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
}

/* Journey */
.vgm-journey { position: relative; z-index: 1; margin-left: 30px; }
.vgm-stops { list-style: none; margin: 0; padding: 0; }
.vgm-stop { display: flex; gap: 10px; align-items: center; }
.vgm-stop svg, .vgm-pin { flex-shrink: 0; display: block; }
.vgm-stop-box { background: #ffffff; border-radius: 12px; padding: 8px 12px; border: 1px solid #d6e8e6; }
.vgm-place { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: #2f6a62; }
.vgm-answer { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; line-height: 1.2; }
.vgm-trail-svg { display: block; }
@keyframes vgMarch { to { stroke-dashoffset: -18 } }
.vg-trail { animation: vgMarch 1.1s linear infinite; }
@keyframes vgPulse { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
.vg-here { animation: vgPulse 1.6s ease-in-out infinite; }

.vgm-step { display: flex; gap: 10px; align-items: flex-start; }
.vgm-step[hidden] { display: none; }
.vgm-card {
  flex: 1; min-width: 0; background: #ffffff; border-radius: 16px; border: 1px solid #050505;
  box-shadow: 0 4px 0 #050505;
}
.vgm-ask .vgm-card { padding: 16px 14px 14px; }
.vgm-ask-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.vgm-here-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.16em; background: #050505; color: #fffd9c;
  padding: 3px 8px; border-radius: 999px;
}
.vgm-q {
  margin: 0 0 12px; font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 27px; line-height: 1.1;
}
.vgm-q:focus { outline: none; }
.vgm-opts { display: flex; flex-direction: column; gap: 8px; }
.vgm-opt {
  appearance: none; margin: 0; font: inherit; color: #050505; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 50px; padding: 12px 16px; border: 1px solid #050505; border-radius: 999px;
  background: #ffffff; font-size: 15px; line-height: 1.35; transition: background .2s ease;
}
.vgm-opt:hover { background: #fffd9c; }

.vgm-res .vgm-card { overflow: hidden; }
.vgm-res-head { background: #fffd9c; padding: 12px 14px; border-bottom: 1px solid #050505; }
.vgm-res-x { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; }
.vgm-res-name {
  margin: 2px 0 0; font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 25px; line-height: 1.1;
}
.vgm-res-name:focus { outline: none; }
.vgm-res-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.vgm-res-pre { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: #2f6a62; margin-bottom: -6px; }
.vgm-res-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.vgm-res-price b {
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 52px; line-height: 0.95;
}
.vgm-res-price span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; border: 1px solid #d6e8e6;
  border-radius: 999px; padding: 4px 10px;
}
.vgm-res-why {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; line-height: 1.35;
}
.vgm .vgm-res-cta {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  text-align: center; text-decoration: none; color: #050505;
  background: linear-gradient(90deg, #fffd9c, #539e96, #ffdfe8); border-radius: 999px;
  padding: 16px 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
}
.vgm .vgm-res-more {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-decoration: none;
}
.vgm-cta:hover { opacity: .85; }

.vgm-moves { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 40px; }
.vgm-moves[hidden] { display: none; }
.vgm-move {
  appearance: none; margin: 0; font: inherit; color: #050505; cursor: pointer;
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  border: 1px solid #050505; border-radius: 999px; background: #ffffff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
}
.vgm-move:hover { background: #fffd9c; }

/* Quick list */
.vgm-aside { display: flex; flex-direction: column; min-width: 0; }
.vgm-quick { margin-top: 36px; border-radius: 20px; border: 1px solid #050505; padding: 22px 16px 16px; }
.vgm-quick h3 {
  margin: 0 0 4px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 28px; line-height: 1.1;
}
.vgm-quick-sub { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: #3d3d3d; }
.vgm-list { list-style: none; margin: 0; padding: 0; }
.vgm-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #d6e8e6; }
.vgm-row:last-child { border-bottom: 0; }
.vgm-row--rec {
  padding: 14px 12px; margin: 8px -14px; border-radius: 16px; border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #000000 0%, #57aba4 20%, #6ef1df 35%, #fbfc9d 50%, #fee5df 80%, #f979c6 100%) border-box;
}
.vgm .vgm-row-link {
  flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; justify-content: center;
  text-decoration: none; color: #050505;
}
.vgm-row-rec { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: #2f6a62; }
.vgm-row-name { display: block; font-family: 'Cormorant Garamond', serif; font-size: 21px; line-height: 1.15; }
.vgm-row-meta { display: block; font-size: 13px; color: #3d3d3d; }
.vgm .vgm-row-btn {
  flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px;
  border-radius: 999px; background: #050505; color: #ffffff; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
}
.vgm .vgm-row--rec .vgm-row-btn { color: #fffd9c; }
.vgm .vgm-row-btn--ghost { background: transparent; border: 1px solid #050505; color: #050505; }
.vgm-pay { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: #3d3d3d; }

/* Pink box */
.vgm-ask-box {
  margin-top: 20px; border-radius: 20px; background: #ffdfe8; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.vgm-ask-box p { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.15; }
.vgm .vgm-ask-box a {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  text-align: center; text-decoration: none; color: #050505; background: #ffffff;
  border: 1px solid #050505; border-radius: 999px; padding: 15px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
}

/* Desktop */
@media (min-width: 900px) {
  .vgm { padding: 88px 2rem 96px; }
  .vgm-inner { max-width: 1240px; }
  .vgm-eyebrow { margin-bottom: 32px; }
  .vgm-eyebrow span:first-child { font-size: 12px; }
  .vgm-eyebrow-rule { display: block; }
  .vgm-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 56px; margin-bottom: 36px; }
  .vgm-title { flex: 1 1 560px; margin: 0; font-size: 60px; line-height: 1.02; }
  .vgm-lead { flex: 1 1 320px; font-size: 17px; line-height: 1.7; }
  .vgm-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
  .vgm-panel {
    flex: 999 1 640px; min-width: 0; border-radius: 28px; padding: 40px 40px 64px; min-height: 680px;
  }
  .vgm-credit { left: 16px; bottom: 10px; }
  .vgm-compass-wrap { right: 24px; bottom: 24px; }
  .vgm-compass { width: 72px; height: 72px; }
  .vgm-compass svg { width: 66px; height: 66px; }
  .vgm-pop { width: 260px; }
  .vgm-journey { margin-left: 110px; max-width: 560px; }
  .vgm-q { font-size: 34px; }
  .vgm-aside { flex: 1 1 340px; }
  .vgm-quick { margin-top: 0; border-radius: 24px; padding: 28px 24px 20px; }
  .vgm-ask-box { border-radius: 24px; padding: 24px; }
  @keyframes vgPulse { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
}

@media (prefers-reduced-motion: reduce) {
  .vg-needle, .vg-trail, .vg-here { animation: none; }
  .vgm-compass, .vgm-opt { transition: none; }
  .vgm-compass:hover { transform: none; }
}
