
#rm-master{
  background-image:none!important;
  background-color:#061323!important;
}

#rm-mapa{
  position:relative;
  width:100%;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  gap:0;
  overflow:hidden;
  background:#061323;
  scroll-margin-top:0;
}

#rm-mapa>.e-con-inner{
  width:100%;
  max-width:none;
  padding:0;
  gap:0;
}

#rm-mapa .elementor-widget-html{
  width:100%;
  max-width:100%;
  margin:0;
  --container-widget-width:100%;
}

#rm-mapa-vista,
#rm-mapa-vista *{
  box-sizing:border-box;
}

#rm-mapa-vista{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:0;
  max-height:none;
  height:clamp(var(--rm-alto-min,0px),100vh,var(--rm-alto-max,2000px));
  height:clamp(var(--rm-alto-min,0px),100svh,var(--rm-alto-max,2000px));
  overflow:hidden;
  background:#061323;
  color:#f6f0e3;
  font-family:Arial,Helvetica,sans-serif;
}

#rm-mapa-vista .rm-mapa-lamina{
  position:absolute;
  left:50%;
  top:50%;
  width:100%;
  height:100%;
  transform:translate(-50%,-50%);
}

#rm-mapa-vista picture,
#rm-mapa-vista .rm-mapa-imagen{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
}

#rm-mapa-vista .rm-mapa-imagen{
  max-width:none;
  object-fit:cover;
}

#rm-mapa-vista .rm-mapa-svg{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}

#rm-mapa-vista .rm-mapa-svg,
#rm-mapa-vista .rm-mapa-ciudad{
  visibility:hidden;
}

#rm-mapa-vista.is-listo .rm-mapa-svg,
#rm-mapa-vista.is-listo .rm-mapa-ciudad{
  visibility:visible;
}

#rm-mapa-vista .rm-mapa-via-base{
  fill:none;
  stroke:rgba(238,203,143,.22);
  stroke-width:1.4;
  vector-effect:non-scaling-stroke;
}

#rm-mapa-vista .rm-mapa-via{
  fill:none;
  stroke:#ffe4a0;
  stroke-width:2.1;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
}

#rm-mapa-vista .rm-mapa-conexiones line{
  stroke:rgba(234,204,149,.5);
  stroke-width:.8;
  vector-effect:non-scaling-stroke;
}

#rm-mapa-vista .rm-mapa-nucleo{
  fill:#173047;
  stroke:#f6dca1;
  stroke-width:1.5;
  vector-effect:non-scaling-stroke;
  transition:fill .4s ease;
}

#rm-mapa-vista .is-recorrido .rm-mapa-nucleo{
  fill:#ffe9ae;
}

#rm-mapa-vista .rm-mapa-halo{
  fill:none;
  stroke:#ffe2a0;
  stroke-width:1;
  vector-effect:non-scaling-stroke;
  opacity:0;
  transform-box:fill-box;
  transform-origin:center;
}

#rm-mapa-vista .is-actual .rm-mapa-halo{
  animation:rm-mapa-latido-v06 2.8s ease-out infinite;
}

#rm-mapa-vista .rm-mapa-viajero{
  fill:#fff8de;
  filter:url(#rm-mapa-brillo-v06);
}

#rm-mapa-vista .rm-mapa-ciudad{
  position:absolute;
  isolation:isolate;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  width:max-content;
  min-width:44px;
  min-height:44px;
  margin:0;
  padding:3px 5px;
  border:0;
  border-radius:3px;
  background:transparent;
  color:#fff0d4;
  font:400 19px/1.2 Georgia,"Times New Roman",serif;
  letter-spacing:normal;
  text-transform:none;
  white-space:nowrap;
  text-shadow:0 1px 4px #020912;
  transform:none;
  cursor:pointer;
}

#rm-mapa-vista .rm-mapa-ciudad::before{
  content:"";
  position:absolute;
  inset:5px -7px;
  z-index:-1;
  background:radial-gradient(
    ellipse,
    rgba(3,14,30,.9) 20%,
    rgba(3,14,30,.55) 57%,
    transparent 80%
  );
  pointer-events:none;
}

#rm-mapa-vista .rm-mapa-ciudad span{
  color:#dfbf87;
  font-size:.84em;
}

#rm-mapa-vista .rm-mapa-ciudad:hover,
#rm-mapa-vista .rm-mapa-ciudad[data-rm-selected="true"]{
  background:transparent;
  color:#ffe4a5;
}

#rm-mapa-vista .rm-mapa-cabecera{
  position:absolute;
  top:max(24px,env(safe-area-inset-top));
  left:clamp(24px,4vw,64px);
  right:clamp(24px,4vw,64px);
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

#rm-mapa-vista .rm-mapa-logo{
  display:block;
  width:clamp(145px,14vw,205px);
  max-width:43%;
  height:auto;
}

#rm-mapa-vista .rm-mapa-codigo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:8px 0;
  color:#f1dfbd;
  font:500 13px/1.3 Arial,Helvetica,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}

#rm-mapa-vista .rm-mapa-codigo span{
  padding-bottom:5px;
  border-bottom:1px solid rgba(235,205,145,.45);
}

#rm-mapa-vista .rm-mapa-codigo svg{
  width:16px;
  height:16px;
  flex:0 0 auto;
}

#rm-mapa-vista .rm-mapa-codigo:hover{
  color:#fff0cf;
}

#rm-mapa-vista .rm-mapa-mensaje{
  position:absolute;
  left:82%;
  top:24%;
  z-index:2;
  width:27%;
  transform:translateX(-50%);
  text-align:center;
}

#rm-mapa-vista .rm-mapa-titulo{
  margin:0;
  color:#f5e7c9;
  font:400 clamp(32px,3.3vw,49px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
  text-shadow:0 2px 12px #061323;
}

#rm-mapa-vista .rm-mapa-divisor{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:14px 0;
  color:#dfbc7b;
}

#rm-mapa-vista .rm-mapa-divisor span{
  width:46px;
  height:1px;
  background:linear-gradient(90deg,transparent,#c5a36c);
}

#rm-mapa-vista .rm-mapa-divisor span:last-child{
  transform:rotate(180deg);
}

#rm-mapa-vista .rm-mapa-divisor svg{
  width:15px;
  height:15px;
  flex-shrink:0;
}

#rm-mapa-vista .rm-mapa-subtitulo{
  margin:0;
  color:#efdfc0;
  font:italic 400 clamp(15px,1.25vw,19px)/1.5 Georgia,"Times New Roman",serif;
  text-shadow:0 2px 10px #061323;
}

#rm-mapa-vista .rm-mapa-pie{
  position:absolute;
  bottom:max(20px,env(safe-area-inset-bottom));
  left:50%;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  width:calc(100% - 36px);
  transform:translateX(-50%);
  text-align:center;
}

#rm-mapa-vista .rm-mapa-actual{
  margin:0;
  color:#e9d1a2;
  font:400 13px/1.5 Arial,Helvetica,sans-serif;
  text-shadow:0 2px 6px #020912;
}

#rm-mapa-vista .rm-mapa-accion{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 14px;
  color:#fff0cf;
  font:400 14px/1.4 Arial,Helvetica,sans-serif;
  text-decoration:underline;
  text-underline-offset:5px;
  text-shadow:0 2px 6px #020912;
}

#rm-mapa-vista .rm-mapa-estado{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

@keyframes rm-mapa-latido-v06{
  0%{
    opacity:.85;
    transform:scale(.65);
  }
  85%,100%{
    opacity:0;
    transform:scale(1.65);
  }
}

@media(prefers-reduced-motion:reduce){
  #rm-mapa-vista .rm-mapa-halo{
    animation:none;
  }

  #rm-mapa-vista .is-actual .rm-mapa-halo{
    opacity:.6;
  }

  #rm-mapa-vista .rm-mapa-nucleo{
    transition:none;
  }
}



#rm-mapa-vista .rm-mapa-via-base{
  stroke:rgba(235,182,77,.13);
  stroke-width:1.2;
}

#rm-mapa-vista .rm-mapa-via{
  stroke:#fff3cb;
  stroke-width:1.35;
  stroke-linecap:round;
  filter:drop-shadow(
    0 0 2px
    rgba(255,221,141,.8)
  );
}

#rm-mapa-vista .rm-ruta-halo{
  fill:none;
  stroke:#ee9e27;
  stroke-width:9;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  opacity:.36;
  filter:blur(3px);
}

#rm-mapa-vista .rm-ruta-oro{
  fill:none;
  stroke:#ffd36b;
  stroke-width:3.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  vector-effect:non-scaling-stroke;
  opacity:.9;
  filter:drop-shadow(
    0 0 3px
    rgba(255,181,58,.7)
  );
}

#rm-mapa-vista .rm-mapa-conexiones line{
  stroke:rgba(234,204,149,.22);
}

#rm-mapa-vista .rm-mapa-viajero{
  fill:#ffe4a0;
}

#rm-mapa-vista .rm-ruta-destello{
  pointer-events:none;
}

#rm-mapa-vista .rm-ruta-aura{
  fill:#ffbd4d;
  opacity:.22;
  filter:blur(3px);
}

#rm-mapa-vista .rm-ruta-estrella{
  fill:#fff7dd;
  filter:
    drop-shadow(
      0 0 2px
      #ffe7a3
    )
    drop-shadow(
      0 0 5px
      rgba(255,188,67,.8)
    );
}

#rm-mapa-vista .rm-ruta-brillo{
  pointer-events:none;
}

#rm-mapa-vista .rm-ruta-brillo circle{
  fill:#fff2c7;
  filter:drop-shadow(
    0 0 3px
    rgba(255,201,100,.9)
  );
  animation:
    rm-ruta-titilar-v01
    3.4s
    ease-in-out
    infinite;
}

#rm-mapa-vista .is-recorrido .rm-mapa-nucleo{
  fill:#ffe4a0;
  stroke:#fff0c2;
  filter:drop-shadow(
    0 0 3px
    rgba(255,190,72,.7)
  );
}

@keyframes rm-ruta-titilar-v01{
  0%,100%{
    opacity:.35;
  }

  50%{
    opacity:1;
  }
}

#rm-mapa-vista.rm-ruta-pausa .rm-ruta-brillo circle{
  animation-play-state:paused;
}

@media(prefers-reduced-motion:reduce){

  #rm-mapa-vista .rm-ruta-brillo circle{
    animation:none;
    opacity:.65;
  }

  #rm-mapa-vista .rm-ruta-destello{
    display:none;
  }

}



#rm-mapa-vista .rm-mapa-via{
  vector-effect:none;
  stroke-width:
    calc(
      1.35px /
      var(--rm-ruta-escala,1)
    );
}

#rm-mapa-vista .rm-ruta-halo{
  vector-effect:none;
  stroke-width:
    calc(
      9px /
      var(--rm-ruta-escala,1)
    );
}

#rm-mapa-vista .rm-ruta-oro{
  vector-effect:none;
  stroke-width:
    calc(
      3.8px /
      var(--rm-ruta-escala,1)
    );
}




#rm-mapa-vista>.rm-mapa-ciudad{

  z-index:4;

  transform:none;

  box-sizing:border-box;

  text-shadow:
    0 2px 12px #020912,
    0 0 20px #020912;

  max-width:
    calc(
      100% - 28px
    );

}

#rm-mapa-vista>
.rm-mapa-ciudad::before{

  display:none!important;

}

#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-tipo="culminacion"
]{

  font-style:italic;

  border-bottom:
    1px solid
    #ffd56b66;

  border-radius:0;

}

#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-tipo="culminacion"
]::after{

  content:'Llegada';

  font:
    500
    9px/1
    Arial,
    sans-serif;

  letter-spacing:.04em;

  display:block;

  position:absolute;

  top:
    calc(
      100% - 1px
    );

  left:5px;

  color:#ffe3a1;

  text-shadow:
    0 2px 8px
    #020914;

}

@media(max-width:767px){

  #rm-mapa-vista>
  .rm-mapa-ciudad{

    font-size:15px;

    min-height:44px;

  }

  #rm-mapa-vista>
  .rm-mapa-ciudad[
    data-rm-tipo="culminacion"
  ]::after{

    font-size:8px;

  }

}




#rm-mapa-vista{

  --rm-oro:#e7c77e;

  --rm-oro-claro:#fff0bf;

  --rm-noche:#061323;

  --rm-panel:
    clamp(
      300px,
      27.5vw,
      410px
    );

  min-height:100svh!important;

  height:100svh!important;

  max-height:none!important;

}


/* =========================
   ATMÓSFERA
   ========================= */

#rm-mapa-vista::before{

  content:"";

  position:absolute;

  inset:-12%;

  z-index:0;

  pointer-events:none;

  background:

    radial-gradient(
      ellipse 24% 42%
      at 76% 5%,
      rgba(62,143,166,.12),
      transparent 72%
    ),

    radial-gradient(
      ellipse 18% 45%
      at 88% 13%,
      rgba(78,111,181,.11),
      transparent 72%
    );

  filter:
    blur(12px);

  opacity:.8;

  transform:
    translate3d(
      0,
      0,
      0
    )
    skewX(-8deg);

  animation:
    rm-mapa-aurora-v25
    20s
    ease-in-out
    infinite
    alternate;

}


@keyframes rm-mapa-aurora-v25{

  to{

    transform:
      translate3d(
        -2.4%,
        1.2%,
        0
      )
      skewX(-12deg);

    opacity:.62;

  }

}


#rm-mapa-vista .rm-mapa-lamina{
  z-index:1;
}

#rm-mapa-vista>.rm-mapa-ciudad{
  z-index:4;
}

#rm-mapa-vista .rm-mapa-mensaje,
#rm-mapa-vista .rm-mapa-pie{
  z-index:6;
}

#rm-mapa-vista .rm-mapa-cabecera{
  z-index:8;
}


/* =========================
   BOTÓN CÓDIGO GLASS
   ========================= */

#rm-mapa-vista .rm-mapa-codigo{

  min-height:46px;

  padding:
    8px
    14px;

  gap:9px;

  border:
    1px solid
    rgba(238,210,151,.28);

  border-radius:
    999px;

  background:

    linear-gradient(
      135deg,
      rgba(9,24,43,.72),
      rgba(13,31,52,.42)
    );

  -webkit-backdrop-filter:
    blur(14px)
    saturate(125%);

  backdrop-filter:
    blur(14px)
    saturate(125%);

  box-shadow:

    inset 0 1px 0
    rgba(255,255,255,.08),

    0 10px 30px
    rgba(0,0,0,.18);

  color:#f5e8ca;

  text-decoration:none;

  transition:
    border-color .25s ease,
    background .25s ease,
    transform .25s ease;

}

#rm-mapa-vista .rm-mapa-codigo span{

  padding:0;

  border:0;

}

#rm-mapa-vista .rm-mapa-codigo svg{

  width:18px;

  height:18px;

  color:#e8c87e;

}

#rm-mapa-vista .rm-mapa-codigo:hover{

  border-color:
    rgba(246,218,157,.55);

  background:
    rgba(13,31,52,.68);

  transform:
    translateY(-1px);

}

#rm-mapa-vista .rm-codigo-corto{
  display:none;
}


/* =========================
   DESKTOP 70/30
   ========================= */

#rm-mapa-vista .rm-mapa-mensaje{

  left:auto!important;

  right:
    clamp(
      34px,
      4.5vw,
      76px
    )!important;

  top:50%!important;

  width:
    var(--rm-panel)!important;

  max-width:410px;

  transform:
    translateY(-58%)!important;

  text-align:left!important;

  padding:0;

  background:none;

  border:0;

  box-shadow:none;

}


#rm-mapa-vista .rm-mapa-eyebrow{

  margin:
    0 0 17px;

  color:
    rgba(231,199,126,.82);

  font:
    600
    10px/1.35
    Arial,
    sans-serif;

  letter-spacing:.18em;

  text-transform:uppercase;

}


#rm-mapa-vista .rm-mapa-titulo{

  margin:0;

  color:#f7edd7;

  font:

    400
    clamp(
      44px,
      3.6vw,
      56px
    )/1.03

    Georgia,
    "Times New Roman",
    serif;

  letter-spacing:-.035em;

  text-shadow:
    0 3px 22px
    rgba(0,0,0,.34);

}


#rm-mapa-vista .rm-mapa-divisor{

  justify-content:flex-start;

  gap:10px;

  margin:
    18px 0 17px;

}


#rm-mapa-vista .rm-mapa-divisor span{

  width:42px;

  background:

    linear-gradient(
      90deg,
      rgba(212,174,99,.05),
      rgba(225,193,128,.72)
    );

}


#rm-mapa-vista .rm-mapa-divisor svg{

  width:13px;

  height:13px;

}


#rm-mapa-vista .rm-mapa-subtitulo{

  max-width:34ch;

  margin:0;

  color:
    rgba(242,229,202,.84);

  font:
    400
    16px/1.65
    Arial,
    Helvetica,
    sans-serif;

  text-shadow:
    0 2px 12px
    rgba(0,0,0,.28);

}


#rm-mapa-vista .rm-copy-corto{
  display:none;
}


/* =========================
   CTA PRINCIPAL
   ========================= */

#rm-mapa-vista .rm-mapa-pie{

  left:auto!important;

  right:
    clamp(
      34px,
      4.5vw,
      76px
    )!important;

  top:64%!important;

  bottom:auto!important;

  width:
    var(--rm-panel)!important;

  max-width:410px;

  transform:none!important;

  align-items:flex-start!important;

  gap:9px!important;

  text-align:left!important;

}


#rm-mapa-vista .rm-mapa-actual{

  margin:
    0 0 1px;

  color:
    rgba(229,202,145,.82);

  font:
    600
    11px/1.45
    Arial,
    sans-serif;

  letter-spacing:.11em;

  text-transform:uppercase;

  text-shadow:
    0 2px 10px
    rgba(0,0,0,.32);

}


#rm-mapa-vista .rm-mapa-accion{

  position:relative;

  isolation:isolate;

  overflow:hidden;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:18px;

  width:
    min(
      100%,
      310px
    );

  min-height:58px;

  padding:
    14px 24px;

  border:
    1px solid
    rgba(255,235,190,.72);

  border-radius:999px;

  background:

    linear-gradient(
      112deg,
      #b99a50 0%,
      #ead596 50%,
      #b99a50 100%
    );

  color:#201b10!important;

  -webkit-text-fill-color:
    #201b10!important;

  font:
    700
    14px/1.2
    Arial,
    sans-serif;

  letter-spacing:.01em;

  text-decoration:none!important;

  text-shadow:none!important;

  box-shadow:

    inset 0 1px 1px
    rgba(255,255,255,.55),

    0 10px 26px
    rgba(0,0,0,.22),

    0 0 0 1px
    rgba(111,81,28,.12);

  transition:

    transform .24s ease,

    filter .24s ease,

    box-shadow .24s ease;

}


#rm-mapa-vista .rm-mapa-accion::before{

  content:"";

  position:absolute;

  inset:
    -35% auto -35% -36%;

  width:32%;

  transform:
    skewX(-18deg);

  background:

    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.42),
      transparent
    );

  opacity:0;

  transition:

    transform .55s ease,

    opacity .2s ease;

  pointer-events:none;

}


#rm-mapa-vista .rm-mapa-accion:hover{

  transform:
    translateY(-2px);

  filter:
    brightness(1.045);

  box-shadow:

    inset 0 1px 1px
    rgba(255,255,255,.64),

    0 14px 34px
    rgba(0,0,0,.26);

}


#rm-mapa-vista .rm-mapa-accion:hover::before{

  opacity:.55;

  transform:
    translateX(430%)
    skewX(-18deg);

}


#rm-mapa-vista .rm-mapa-accion-flecha{

  font-size:18px;

  line-height:1;

  transition:
    transform .24s ease;

}


#rm-mapa-vista
.rm-mapa-accion:hover
.rm-mapa-accion-flecha{

  transform:
    translateX(3px);

}


/* =========================
   REINICIO
   ========================= */

#rm-mapa-vista .rm-mapa-reinicio{

  display:inline-flex;

  align-items:center;

  gap:7px;

  min-height:44px;

  margin:
    1px 0 0;

  padding:
    8px 2px;

  border:0;

  background:transparent;

  color:
    rgba(235,221,194,.62);

  font:
    400
    12px/1.3
    Arial,
    sans-serif;

  cursor:pointer;

  transition:
    color .2s ease;

  touch-action:manipulation;

}


#rm-mapa-vista
.rm-mapa-reinicio[hidden]{

  display:none!important;

}


#rm-mapa-vista .rm-mapa-reinicio svg{

  width:14px;

  height:14px;

}


#rm-mapa-vista .rm-mapa-reinicio:hover{

  color:#f2dfb8;

}


/* =========================
   ESTADOS DE NODOS
   ========================= */

#rm-mapa-vista>.rm-mapa-ciudad{

  transition:

    color .28s ease,

    opacity .28s ease,

    text-shadow .28s ease;

}


#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-estado="pendiente"
]{

  color:
    rgba(236,225,203,.58);

}


#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-estado="completado"
]{

  color:
    rgba(255,232,185,.88);

}


#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-estado="siguiente"
],

#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-estado="final-activo"
]{

  color:#fff0c9;

  text-shadow:

    0 2px 12px #020912,

    0 0 14px
    rgba(255,213,107,.46);

}


#rm-mapa-vista>
.rm-mapa-ciudad[
  data-rm-estado^="final"
]{

  font-style:normal;

  border-bottom:

    1px solid
    rgba(255,213,107,.32);

}


#rm-mapa-vista
.rm-mapa-marcadores
g[data-rm-estado="pendiente"]
.rm-mapa-nucleo{

  fill:#173047;

  stroke:
    rgba(246,220,161,.65);

}


#rm-mapa-vista
.rm-mapa-marcadores
g[data-rm-estado="completado"]
.rm-mapa-nucleo{

  fill:#e1bd70;

  stroke:#fff0c5;

  filter:

    drop-shadow(
      0 0 3px
      rgba(255,190,72,.5)
    );

}


#rm-mapa-vista
.rm-mapa-marcadores
g[data-rm-estado="siguiente"]
.rm-mapa-nucleo,

#rm-mapa-vista
.rm-mapa-marcadores
g[data-rm-estado="final-activo"]
.rm-mapa-nucleo{

  fill:#fff0bd;

  stroke:#fff9df;

  filter:

    drop-shadow(
      0 0 5px
      rgba(255,202,94,.82)
    );

}


#rm-mapa-vista
.rm-mapa-marcadores
g[data-rm-estado="final-pendiente"]
.rm-mapa-nucleo{

  stroke:#e7c77e;

  fill:#132a40;

}


/* =========================
   ENTRADA 0–2 S
   ========================= */

#rm-mapa-vista.rm-entrada-activa
.rm-mapa-lamina{

  animation:

    rm-f22-mapa
    .82s
    cubic-bezier(.2,.7,.2,1)
    both;

}


#rm-mapa-vista.rm-entrada-activa>
.rm-mapa-ciudad{

  animation:

    rm-f22-nodo
    .52s
    ease
    both;

  animation-delay:

    calc(
      .42s +
      var(--rm-i) * .085s
    );

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-mensaje>*{

  animation:

    rm-f22-ui
    .62s
    cubic-bezier(.2,.7,.2,1)
    both;

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-eyebrow{

  animation-delay:.90s;

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-titulo{

  animation-delay:1.02s;

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-divisor{

  animation-delay:1.13s;

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-subtitulo{

  animation-delay:1.22s;

}


#rm-mapa-vista.rm-entrada-activa
.rm-mapa-pie>*{

  animation:

    rm-f22-ui
    .58s
    cubic-bezier(.2,.7,.2,1)
    both;

  animation-delay:1.48s;

}


@keyframes rm-f22-mapa{

  from{

    opacity:.72;

    filter:

      brightness(.72)
      saturate(.82)
      blur(2px);

  }

  to{

    opacity:1;

    filter:none;

  }

}


@keyframes rm-f22-nodo{

  from{

    opacity:0;

    filter:
      blur(5px);

  }

  to{

    opacity:1;

    filter:none;

  }

}


@keyframes rm-f22-ui{

  from{

    opacity:0;

    transform:
      translateY(12px);

    filter:
      blur(4px);

  }

  to{

    opacity:1;

    transform:none;

    filter:none;

  }

}


#rm-mapa-vista.rm-entrada-completa
.rm-ruta-brillo circle{

  animation-play-state:
    paused!important;

  opacity:.58;

}


/* =========================
   TABLET 3:4
   ========================= */

@media(
  min-width:768px
)
and (
  max-width:1024px
)
and (
  orientation:portrait
){

  #rm-mapa-vista{

    --rm-panel:
      min(
        88vw,
        580px
      );

  }


  #rm-mapa-vista .rm-mapa-mensaje{

    left:50%!important;

    right:auto!important;

    top:68%!important;

    width:
      var(--rm-panel)!important;

    max-width:580px;

    transform:
      translateX(-50%)!important;

    text-align:center!important;

  }


  #rm-mapa-vista .rm-mapa-eyebrow{

    margin-bottom:12px;

    font-size:9px;

  }


  #rm-mapa-vista .rm-mapa-titulo{

    font-size:

      clamp(
        38px,
        5.3vw,
        44px
      );

  }


  #rm-mapa-vista .rm-mapa-divisor{

    justify-content:center;

    margin:
      12px 0;

  }


  #rm-mapa-vista .rm-mapa-subtitulo{

    max-width:520px;

    margin-inline:auto;

    font-size:15px;

    line-height:1.55;

  }


  #rm-mapa-vista .rm-mapa-pie{

    left:50%!important;

    right:auto!important;

    top:82%!important;

    width:
      min(
        88vw,
        420px
      )!important;

    transform:
      translateX(-50%)!important;

    align-items:center!important;

    text-align:center!important;

  }


  #rm-mapa-vista .rm-mapa-accion{

    width:
      min(
        100%,
        300px
      );

    min-height:56px;

  }


  #rm-mapa-vista>
  .rm-mapa-ciudad{

    font-size:16px;

  }

}


/* =========================
   MÓVIL 9:16
   ========================= */

@media(
  max-width:767px
)
and (
  orientation:portrait
){

  #rm-mapa-vista{

    --rm-panel:90vw;

  }


  #rm-mapa-vista .rm-mapa-cabecera{

    left:16px;

    right:16px;

    top:
      max(
        14px,
        env(safe-area-inset-top)
      );

  }


  #rm-mapa-vista .rm-mapa-logo{

    width:112px;

  }


  #rm-mapa-vista .rm-mapa-codigo{

    min-height:44px;

    padding:
      7px 11px;

    font-size:11.5px;

  }


  #rm-mapa-vista .rm-codigo-largo{

    display:none;

  }


  #rm-mapa-vista .rm-codigo-corto{

    display:inline;

  }


  #rm-mapa-vista>
  .rm-mapa-ciudad{

    font-size:14px;

    gap:4px;

    min-height:38px;

    padding:
      2px 4px;

  }


  #rm-mapa-vista>
  .rm-mapa-ciudad span{

    font-size:.8em;

  }


  #rm-mapa-vista .rm-mapa-mensaje{

    left:50%!important;

    right:auto!important;

    top:68.5%!important;

    width:88vw!important;

    max-width:390px;

    transform:
      translateX(-50%)!important;

    text-align:center!important;

  }


  #rm-mapa-vista .rm-mapa-eyebrow{

    margin-bottom:8px;

    font-size:8px;

    letter-spacing:.16em;

  }


  #rm-mapa-vista .rm-mapa-titulo{

    font-size:

      clamp(
        31px,
        9vw,
        36px
      );

    line-height:1.02;

  }


  #rm-mapa-vista .rm-mapa-divisor{

    justify-content:center;

    margin:
      8px 0;

  }


  #rm-mapa-vista .rm-mapa-divisor span{

    width:32px;

  }


  #rm-mapa-vista .rm-copy-largo{

    display:none;

  }


  #rm-mapa-vista .rm-copy-corto{

    display:block;

    max-width:310px;

    margin-inline:auto;

    font-size:13.5px;

    line-height:1.5;

  }


  #rm-mapa-vista .rm-mapa-pie{

    left:50%!important;

    right:auto!important;

    top:auto!important;

    bottom:

      max(
        18px,
        env(safe-area-inset-bottom)
      )!important;

    width:90vw!important;

    max-width:390px;

    transform:
      translateX(-50%)!important;

    align-items:center!important;

    text-align:center!important;

    gap:7px!important;

  }


  #rm-mapa-vista .rm-mapa-actual{

    font-size:10px;

    letter-spacing:.09em;

  }


  #rm-mapa-vista .rm-mapa-accion{

    width:100%;

    min-height:56px;

    padding:
      13px 20px;

    font-size:14px;

  }


  #rm-mapa-vista .rm-mapa-reinicio{

    font-size:11.5px;

  }

}


/* MÓVILES PEQUEÑOS */

@media(
  max-width:380px
)
and (
  max-height:700px
){

  #rm-mapa-vista .rm-mapa-mensaje{

    top:65%!important;

  }


  #rm-mapa-vista .rm-mapa-eyebrow{

    display:none;

  }


  #rm-mapa-vista .rm-mapa-titulo{

    font-size:29px;

  }


  #rm-mapa-vista .rm-copy-corto{

    font-size:12.5px;

  }


  #rm-mapa-vista .rm-mapa-pie{

    bottom:

      max(
        9px,
        env(safe-area-inset-bottom)
      )!important;

  }

}


/* =========================
   REDUCED MOTION
   ========================= */

@media(
  prefers-reduced-motion:reduce
){

  #rm-mapa-vista::before{

    animation:none;

  }


  #rm-mapa-vista.rm-entrada-activa
  .rm-mapa-lamina,

  #rm-mapa-vista.rm-entrada-activa>
  .rm-mapa-ciudad,

  #rm-mapa-vista.rm-entrada-activa
  .rm-mapa-mensaje>*,

  #rm-mapa-vista.rm-entrada-activa
  .rm-mapa-pie>*{

    animation:none!important;

    opacity:1;

    filter:none;

    transform:none;

  }

}



/* One editorial flow replaces independent percentage positions that overlapped. */
#rm-master #rm-mapa-vista{--rm-v36-panel:clamp(300px,28vw,400px)}
#rm-master #rm-mapa-vista .rm-mapa-editorial{position:absolute;z-index:6;top:50%;right:clamp(24px,4vw,70px);width:var(--rm-v36-panel);transform:translateY(-50%);display:flex;flex-direction:column;gap:22px;pointer-events:none}
#rm-master #rm-mapa-vista .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie){position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;transform:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column;align-items:flex-start!important;gap:12px!important;text-align:left!important;background:none!important;border:0!important;box-shadow:none!important}
#rm-master #rm-mapa-vista .rm-mapa-titulo{font:400 clamp(36px,4vw,62px)/1.03 Georgia,serif;letter-spacing:-.025em;margin:0!important;max-width:12ch;color:#fff0d4;text-wrap:balance;outline:none}
#rm-master #rm-mapa-vista .rm-mapa-eyebrow{font:500 10px/1.4 Arial,sans-serif;letter-spacing:.13em;margin:0;color:#e1c387}
#rm-master #rm-mapa-vista .rm-mapa-subtitulo{margin:0;font:400 clamp(13px,1.1vw,16px)/1.5 Arial,sans-serif;max-width:34ch;color:#dfdfdc}
#rm-master #rm-mapa-vista .rm-copy-corto{display:none}
#rm-master #rm-mapa-vista .rm-mapa-divisor{display:none}
#rm-master #rm-mapa-vista .rm-mapa-actual{position:static!important;font:500 11px/1.4 Arial,sans-serif;letter-spacing:.035em;margin:0;color:#dfc184;transform:none!important}
#rm-master #rm-mapa-vista .rm-mapa-accion{width:100%;max-width:none;min-height:52px;flex-shrink:0;pointer-events:auto;font-size:14px;line-height:1.25;gap:12px;padding:12px 18px;text-decoration:none}
#rm-master #rm-mapa-vista .rm-mapa-accion:focus-visible,#rm-master #rm-mapa-vista .rm-mapa-ciudad:focus-visible{outline:2px solid #ffe5ab;outline-offset:3px}
#rm-master #rm-mapa-vista .rm-mapa-reinicio{position:static!important;transform:none!important;min-height:40px;padding:7px 0;pointer-events:auto;font:400 12px Arial,sans-serif;gap:7px;align-self:flex-start!important;color:#d9d0be}
#rm-master #rm-mapa-vista .rm-mapa-progreso{width:100%;display:flex;flex-direction:column;gap:8px;margin:0 0 3px;color:#ded9cc;font:400 12px/1.3 Arial,sans-serif}
#rm-master #rm-mapa-vista .rm-mapa-progreso-leyenda{display:flex;align-items:center;justify-content:space-between;gap:12px}
#rm-master #rm-mapa-vista .rm-mapa-progreso strong{font-weight:500;color:#f2d28f;font-variant-numeric:tabular-nums}
#rm-master #rm-mapa-vista .rm-mapa-progreso-barras{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
#rm-master #rm-mapa-vista .rm-mapa-progreso-barras i{height:3px;border-radius:3px;background:#b8c6d12e}
#rm-master #rm-mapa-vista .rm-mapa-progreso-barras i.is-complete{background:#f1cc7b}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad{z-index:4;min-height:44px;padding:5px 7px;font:400 clamp(14px,1.4vw,21px)/1.1 Georgia,serif;white-space:nowrap;max-width:calc(100% - 24px);background:transparent!important;border:0;border-radius:0;box-shadow:none!important;text-align:left;transform:none;touch-action:manipulation}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad span{font:500 10px Arial,sans-serif;letter-spacing:.05em;margin-right:5px;color:#e4bd76}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-estado=pendiente]{opacity:.65}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-estado=completado]{color:#f5d58f;opacity:1}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-estado=siguiente]{color:#fff1c9;opacity:1}
#rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-tipo=culminacion]::after{font:500 8px Arial,sans-serif;top:calc(100% - 5px);left:7px}
#rm-master #rm-mapa-vista .rm-mapa-estado{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:-1px;border:0}
#rm-master #rm-mapa-vista [hidden]{display:none!important}
@media(max-width:1024px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{left:24px;right:24px;bottom:max(18px,env(safe-area-inset-bottom));top:auto;width:auto;max-width:560px;margin:0 auto;transform:none;gap:13px}
 #rm-master #rm-mapa-vista .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie){align-items:center!important;text-align:center!important;gap:9px!important}
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:36px;max-width:none}
 #rm-master #rm-mapa-vista .rm-mapa-eyebrow{display:none}
 #rm-master #rm-mapa-vista .rm-copy-largo{display:none}#rm-master #rm-mapa-vista .rm-copy-corto{display:block;font-size:14px}
 #rm-master #rm-mapa-vista .rm-mapa-reinicio{align-self:center!important}
 #rm-master #rm-mapa-vista .rm-mapa-accion{min-height:50px;max-width:420px}
 #rm-master #rm-mapa-vista>.rm-mapa-ciudad{font-size:16px}
}
@media(max-width:767px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{left:18px;right:18px;gap:12px;bottom:max(14px,env(safe-area-inset-bottom))}
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:30px;max-width:none}
 #rm-master #rm-mapa-vista .rm-copy-corto{font-size:13px;line-height:1.35}
 #rm-master #rm-mapa-vista .rm-mapa-actual{font-size:10px}
 #rm-master #rm-mapa-vista>.rm-mapa-ciudad{font-size:14px;padding:5px;min-height:44px}
 #rm-master #rm-mapa-vista .rm-mapa-accion{font-size:13px;min-height:48px}
}
@media(max-height:680px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{gap:8px;bottom:10px}
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:26px}
 #rm-master #rm-mapa-vista .rm-copy-corto{display:none}
 #rm-master #rm-mapa-vista .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie){gap:7px!important}
 #rm-master #rm-mapa-vista .rm-mapa-reinicio{min-height:36px;padding:5px 0}
}
@media(max-height:600px) and (orientation:landscape){
 #rm-master #rm-mapa-vista{--rm-v36-panel:clamp(250px,34vw,340px)}
 #rm-master #rm-mapa-vista .rm-mapa-editorial{top:54%;right:20px;gap:12px}
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:32px}
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{font-size:12px}
 #rm-master #rm-mapa-vista .rm-mapa-eyebrow{display:none}
 #rm-master #rm-mapa-vista .rm-mapa-accion{min-height:44px;font-size:12px}
 #rm-master #rm-mapa-vista .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie){gap:8px!important}
 #rm-master #rm-mapa-vista .rm-mapa-reinicio{min-height:32px}
}
@media(prefers-reduced-motion:reduce){#rm-master #rm-mapa-vista *{animation:none!important;transition:none!important}}
/* The map becomes legible with the camera, without a second two-second wait. */
@keyframes rm36-ui{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
#rm-master #rm-mapa-vista.rm-entrada-activa .rm-mapa-lamina{animation:none!important}
#rm-master #rm-mapa-vista.rm-entrada-activa>.rm-mapa-ciudad{animation:rm36-ui .38s ease-out both;animation-delay:calc(var(--rm-i)*.04s)}
#rm-master #rm-mapa-vista.rm-entrada-activa .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie)>*{animation:rm36-ui .4s ease-out both;animation-delay:.06s}



/* V44: una ruta futura legible y un tramo recorrido persistente. */
#rm-master #rm-mapa-vista .rm-mapa-via-base{fill:none!important;stroke:#a4d1e7cc!important;stroke-width:2.2!important;stroke-dasharray:4 6;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:1!important}
#rm-master #rm-mapa-vista .rm-mapa-via{stroke:#fff0bd!important;stroke-width:2!important;vector-effect:non-scaling-stroke;opacity:1!important}
#rm-master #rm-mapa-vista .rm-ruta-halo{stroke-width:7!important;opacity:.28!important}
#rm-master #rm-mapa-vista .rm-ruta-oro{stroke-width:2.8!important;opacity:.95!important}
#rm-master #rm-mapa-vista .rm-mapa-editorial{gap:20px}
#rm-master #rm-mapa-vista .rm-mapa-editorial{isolation:isolate}
#rm-master #rm-mapa-vista .rm-mapa-editorial::before{content:'';position:absolute;inset:-48px -36px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,#041021eb 20%,#041021a3 62%,transparent 77%)}
#rm-master #rm-mapa-vista .rm-mapa-reinicio{min-height:44px!important}
#rm-master #rm-mapa-vista .rm-mapa-estado:not(:empty){position:static!important;width:auto;height:auto;clip-path:none;white-space:normal;overflow:visible;padding:0 0 0 10px;margin:4px 0 0;border:0;border-left:2px solid #e4bd76;color:#fff1ce;font:400 12px/1.45 Arial,sans-serif;max-width:36ch}
#rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:clamp(36px,3.5vw,56px);max-width:13ch}
#rm-master #rm-mapa-vista .rm-mapa-progreso{gap:0;margin:0 0 3px;font-size:12px}
#rm-master #rm-mapa-vista .rm-mapa-progreso-leyenda{display:flex;align-items:center;gap:8px;justify-content:space-between}
#rm-master #rm-mapa-vista .rm-mapa-progreso-leyenda>span{color:#d0d6dd}
#rm-master #rm-mapa-vista .rm-mapa-progreso strong{font-size:12px;font-weight:500;color:#f4d48c;text-align:right}
#rm-master #rm-mapa-vista .rm-mapa-ciudad[data-rm-ciudad="3"]{font-style:italic;font-size:clamp(13px,1.2vw,18px)}
#rm-master #rm-mapa-vista .rm44-tramo-nodo .rm-faro-exterior,#rm-master #rm-mapa-vista .rm44-tramo-nodo .rm-faro-interior{opacity:0!important;animation:none!important}
#rm-master #rm-mapa-vista .rm44-tramo-nodo .rm-mapa-nucleo{r:3px}
@media(max-width:1024px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:34px;max-width:none}
 #rm-master #rm-mapa-vista .rm-mapa-editorial{gap:12px}
 #rm-master #rm-mapa-vista .rm-mapa-progreso-leyenda{justify-content:center;gap:12px}
}
@media(max-width:767px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:clamp(25px,6.8vw,30px)}
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{font-size:13px;line-height:1.4;max-width:32ch}
 #rm-master #rm-mapa-vista .rm-mapa-progreso-leyenda{font-size:11px;gap:10px}
 #rm-master #rm-mapa-vista .rm-mapa-progreso strong{font-size:11px}
 #rm-master #rm-mapa-vista .rm-mapa-ciudad[data-rm-ciudad="3"]{font-size:13px}
}

#rm-master #rm-mapa-vista .rm44-route-bed{fill:none;stroke:#020a15;stroke-width:6;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.65}
#rm-master #rm-mapa-vista .rm-mapa-ciudad[data-rm-ciudad="3"]{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px}
#rm-master #rm-mapa-vista .rm-mapa-ciudad[data-rm-estado=pendiente]{opacity:.8}
@media(max-width:767px){#rm-master #rm-mapa-vista .rm-mapa-ciudad[data-rm-ciudad="3"]::after{display:none!important}}



#rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-ciudad="3"]{white-space:normal;max-width:9.5em;text-wrap:balance}
#rm-master #rm-mapa-vista .rm-mapa-editorial{max-height:calc(100% - 100px)}
#rm-master #rm-mapa-vista .rm-mapa-progreso{display:none}
@media(max-width:1024px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{gap:9px}
 #rm-master #rm-mapa-vista .rm-mapa-editorial :is(.rm-mapa-mensaje,.rm-mapa-pie){gap:7px!important}
}
@media(max-height:720px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{display:none}
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:clamp(22px,6vw,29px)}
 #rm-master #rm-mapa-vista .rm-mapa-accion{min-height:44px;padding:8px 12px}
}
@media(max-height:500px) and (orientation:landscape){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{top:64px;bottom:10px;transform:none;max-height:none;overflow:auto;pointer-events:auto}
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{display:none}
}


/* Rótulos anclados al relieve en los tres tamaños. */
@media(max-width:1024px) and (orientation:portrait){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{
  left:16px;right:16px;bottom:max(14px,env(safe-area-inset-bottom));gap:7px;
 }
 #rm-master #rm-mapa-vista .rm-mapa-editorial::before{
  inset:-36px -16px -18px;
  background:linear-gradient(180deg,transparent,#051225b8 37%,#051225ed 100%);
 }
 #rm-master #rm-mapa-vista .rm-mapa-titulo{
  font-size:clamp(23px,5.5vw,34px);line-height:1.08;
 }
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{display:none!important}
 #rm-master #rm-mapa-vista .rm-mapa-accion{
  box-sizing:border-box;width:min(100%,310px);max-width:100%;min-height:46px;
  padding:8px 15px;font-size:13px;
 }
 #rm-master #rm-mapa-vista>.rm-mapa-ciudad{
  font-size:clamp(13px,3.6vw,17px);text-shadow:0 2px 4px #020913,0 0 10px #020913;
 }
 #rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-ciudad="3"]{max-width:8em}
 #rm-master #rm-mapa-vista>.rm-mapa-ciudad[data-rm-estado=pendiente]{opacity:1;color:#eee3d1}
}
@media(max-height:560px) and (orientation:landscape){
 #rm-master #rm-mapa-vista .rm-mapa-editorial{
  right:max(14px,env(safe-area-inset-right));width:clamp(174px,30vw,300px);
  top:54%;bottom:auto;transform:translateY(-50%);overflow:visible;gap:8px;
 }
 #rm-master #rm-mapa-vista .rm-mapa-titulo{font-size:clamp(23px,3.4vw,32px)}
 #rm-master #rm-mapa-vista .rm-mapa-subtitulo{display:none!important}
 #rm-master #rm-mapa-vista .rm-mapa-accion{box-sizing:border-box;min-height:44px;padding:7px 11px}
}
