/* Mapa de presencia — VComplementos (solo América Latina)
   Paleta del logo: verde #beda00, gris #8e848e, gris claro #cecece.
   Se carga DESPUÉS de world-map.css y solo sobrescribe variables y detalles. */
.vcmap {
  --vc-green: #beda00;
  --vc-grey: #8e848e;
  --vc-grey-light: #cecece;
  --vc-ink: #3b373b;
  box-sizing: border-box;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 8px;
}

.vcmap .wmap {
  --wmap-land:        var(--vc-grey-light);
  --wmap-border:      #f7f7f7;
  --wmap-active:      var(--vc-grey);
  --wmap-hover:       var(--vc-green);
  --wmap-marker:      var(--vc-green);
  --wmap-tip-bg:      var(--vc-ink);
  --wmap-tip-fg:      #ffffff;
  --wmap-chip-bg:     #ffffff;
  --wmap-chip-border: var(--vc-grey-light);
  --wmap-chip-fg:     var(--vc-ink);
  --wmap-max-width:   1000px;
  --wmap-font:        inherit;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "stage" "legend";
  gap: 0;
  text-align: center;
}
.vcmap .wmap__stage { grid-area: stage; width: 100%; max-width: 400px; margin: 0 auto; }
.vcmap .wmap__side { display: contents; }

.vcmap__text {
  grid-area: text;
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--vc-grey);
}
.vcmap__text strong { color: var(--vc-ink); font-weight: 700; }

/* Escritorio: texto y leyenda a la izquierda, mapa a la derecha */
@media (min-width: 900px) {
  .vcmap { padding-top: 8px; }
  .vcmap .wmap {
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    grid-template-areas: "stage text" "stage legend";
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 64px;
    text-align: left;
    min-height: 640px;
  }
  .vcmap__text { margin: 0 0 24px; align-self: end; max-width: none; }
  .vcmap .wmap__stage { max-width: 560px; margin: 0; }
  .vcmap .wmap__legend { justify-content: flex-start; align-self: start; }
}

/* Marcadores a la escala de este mapa (mapa ampliado) */
.vcmap .wmap__pin { r: 3.2px; stroke: var(--vc-ink); stroke-width: .8; }
.vcmap .wmap__pulse { r: 4px; }
.vcmap .wmap__marker.is-hover .wmap__pin { fill: var(--vc-green); stroke: var(--vc-ink); }
.vcmap .wmap__svg path { stroke-width: .35; }

/* Leyenda: rótulo + 3 elementos */
.vcmap .wmap__legend { grid-area: legend; align-items: center; margin-top: 0; margin-bottom: 0; }
.vcmap .wmap__legend, .vcmap .wmap__legend li { list-style: none; margin-left: 0; padding-left: 0; background: none; }
.vcmap .wmap__legend li::before, .vcmap .wmap__legend li::after { content: none; display: none; }
.vcmap .wmap__legend-label {
  flex-basis: 100%;
  margin: 0 0 .15rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vc-grey);
}
.vcmap .wmap__chip { font-weight: 600; }
.vcmap .wmap__chip::before {
  content: "";
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: var(--vc-grey);
  transition: background .2s ease;
}
.vcmap .wmap__chip.is-hover,
.vcmap .wmap__chip:focus-visible {
  background: var(--vc-green);
  border-color: var(--vc-green);
  color: var(--vc-ink);
  box-shadow: 0 4px 14px rgba(142, 132, 142, .35);
}
.vcmap .wmap__chip.is-hover::before,
.vcmap .wmap__chip:focus-visible::before { background: var(--vc-ink); }
.vcmap .wmap__chip:focus-visible { outline: 2px solid var(--vc-ink); outline-offset: 2px; }

@media (max-width: 600px) {
  .vcmap { padding: 36px 16px 0; }
  .vcmap .wmap__svg path { stroke-width: .5; }
}

/* En móvil/tablet la galería siguiente sube sobre este bloque (margen negativo propio): se deja aire debajo */
@media (max-width: 1024px) { .vcmap { padding-bottom: 130px; } }
@media (min-width: 768px) and (max-width: 1024px) { .vcmap { padding-bottom: 40px; } }

/* Móvil: el párrafo de "Nuestra empresa" tiene 130px de margen inferior propio (Elementor, versión móvil);
   se quita para que el mapa quede cerca del texto. */
@media (max-width: 767px) {
  .elementor-6067 .elementor-element.elementor-element-3cce714 { margin-bottom: 0 !important; }
}
