/* ── Layout dividido ── */
    .pres-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      margin-top: 60px;
      height: calc(100vh - 60px);
      min-height: 580px;
    }

    /* ── Columna izquierda: mapa ── */
    .pres-map-col {
      position: relative;
      overflow: hidden;
    }
    #presenceMap {
      width: 100%;
      height: 100%;
    }

    /* ── Botón volver ── */
    .map-back-btn {
      position: absolute;
      top: 14px; left: 14px; z-index: 1000;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: .45rem .9rem;
      font-family: inherit; font-size: .8rem; font-weight: 600; color: var(--bk);
      cursor: pointer;
      box-shadow: 0 2px 12px rgba(0,0,0,.14);
      display: none; align-items: center; gap: .4rem;
      transition: background .15s;
    }
    .map-back-btn.visible { display: flex; }
    .map-back-btn:hover { background: var(--g3); }

    /* ── Hint flotante ── */
    .map-hint {
      position: absolute;
      bottom: 20px; left: 50%; transform: translateX(-50%);
      z-index: 1000;
      background: rgba(0,0,0,.68);
      color: rgba(255,255,255,.9);
      font-size: .74rem;
      font-family: inherit;
      padding: .4rem 1rem;
      border-radius: 20px;
      white-space: nowrap;
      pointer-events: none;
      transition: opacity .6s;
    }
    .map-hint.hidden { opacity: 0; }

    /* ── Columna derecha: info ── */
    .pres-info-col {
      background: var(--bk);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 3.5rem 4rem;
      overflow-y: auto;
      position: relative;
    }
    .pres-info-col > * { position: relative; z-index: 1; }
    .pres-info-col .sec-eyebrow {
      color: var(--g);
      margin-bottom: .75rem;
    }
    .pres-info-col h2 {
      font-size: clamp(1.5rem, 2.5vw, 2.1rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin: 0 0 1.25rem;
    }
    .pres-info-col h2 em {
      font-style: normal;
      color: var(--g);
    }
    .pres-description {
      font-size: .92rem;
      color: rgba(255,255,255,.58);
      line-height: 1.75;
      margin-bottom: 2.5rem;
      max-width: 440px;
    }
    .pres-description strong {
      color: rgba(255,255,255,.82);
      font-weight: 600;
    }

    /* ── Grid de estadísticas ── */
    .pres-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: rgba(255,255,255,.07);
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.07);
    }
    .ps-item {
      background: rgba(255,255,255,.03);
      padding: 1.4rem 1.2rem;
      text-align: center;
      transition: background .2s;
    }
    .ps-item:hover { background: rgba(123,191,62,.07); }
    .ps-num {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--g);
      line-height: 1;
    }
    .ps-label {
      font-size: .74rem;
      color: rgba(255,255,255,.4);
      margin-top: .35rem;
      letter-spacing: .3px;
      line-height: 1.3;
    }

    /* ── Países lista ── */
    .pres-countries {
      display: flex;
      flex-wrap: wrap;
      gap: .5rem;
      margin-top: 2rem;
      justify-content: center;
    }
    .pres-country-tag {
      display: flex; align-items: center; gap: .4rem;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 20px;
      padding: .3rem .8rem;
      font-size: .78rem;
      color: rgba(255,255,255,.65);
      transition: background .15s, border-color .15s, color .15s;
    }
    .pres-country-tag:hover {
      background: rgba(123,191,62,.12);
      border-color: var(--g);
      color: #fff;
    }
    .pres-country-tag img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; flex-shrink: 0; }

    /* ── Popup de Leaflet ── */
    .leaflet-popup-content-wrapper {
      border-radius: 14px !important;
      box-shadow: 0 8px 32px rgba(0,0,0,.18) !important;
      padding: 0 !important;
      overflow: hidden;
      border: 1px solid rgba(0,0,0,.07) !important;
    }
    .leaflet-popup-content { margin: 0 !important; width: auto !important; min-width: 170px; }
    .leaflet-popup-tip { background: #fff !important; }
    .leaflet-popup-close-button { top: 8px !important; right: 10px !important; color: #aaa !important; }

    .map-popup { padding: 1.1rem 1.3rem; }
    .mp-flag { font-size: 1.5rem; line-height: 1; margin-bottom: .4rem; }
    .mp-name { font-size: .98rem; font-weight: 700; color: var(--bk); }
    .mp-dept { font-size: .73rem; color: var(--muted); margin-top: .12rem; }
    .mp-divider { height: 1px; background: var(--border); margin: .6rem 0; }
    .mp-row { display: flex; align-items: center; gap: .5rem; font-size: .81rem; color: var(--txt); }
    .mp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); flex-shrink: 0; }
    .mp-count { font-weight: 700; color: var(--g); }

    /* ── Marcador pulsante ── */
    .city-pulse {
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(123,191,62,.2);
      display: flex; align-items: center; justify-content: center;
      animation: cityPulse 2s ease-out infinite;
    }
    .city-pulse-core {
      width: 12px; height: 12px;
      border-radius: 50%;
      background: #EFA425;
      border: 2.5px solid #fff;
      box-shadow: 0 2px 8px #EFA425;
    }
    @keyframes cityPulse {
      0%   { box-shadow: 0 0 0 0 rgba(123, 191, 62, 0.45); }
      70%  { box-shadow: 0 0 0 12px rgba(123,191,62,0); }
      100% { box-shadow: 0 0 0 0 rgba(123,191,62,0); }
    }

    /* ── Etiqueta ciudad ── */
    .city-lbl {
      background: rgba(10,10,10,.72);
      color: #fff;
      font-size: .7rem; font-weight: 600;
      padding: .2rem .5rem;
      border-radius: 20px;
      white-space: nowrap;
      font-family: 'IBM Plex Sans', sans-serif;
      margin-top: 3px;
      box-shadow: 0 2px 8px rgba(0,0,0,.3);
    }

    /* ── Responsive: en móvil apilar ── */
    @media (max-width: 768px) {
      .pres-split {
        grid-template-columns: 1fr;
        height: auto;
      }
      #presenceMap { height: 55vw; min-height: 320px; }
      .pres-info-col { padding: 2.5rem 1.5rem; }
      .pres-stats-grid { grid-template-columns: repeat(2, 1fr); }
    }
