/* Gestión de redes · «Ritmo de trabajo»: curva a seis meses con las cuatro fases marcadas.
   Dibujo de línea como en «Tipos de web»: trazo 1,5 px, relleno plano al 14 % y un solo punto en morado sólido (mes 6).
   Es decorativo (aria-hidden): las fases siguen como texto debajo. Sin JS se ve ya dibujada;
   content-grid-motion.js marca data-cgm al entrar en pantalla y entonces se traza. */
.gr-ritmo{--gr-line:color-mix(in srgb,var(--purple) 20%,transparent);--gr-ease:cubic-bezier(.16,1,.3,1);margin:clamp(36px,5vw,64px) 0 clamp(40px,5vw,64px);padding:44px 9px 0;color:var(--purple)}
.gr-ritmo-plot{position:relative;height:clamp(170px,22vw,280px);border-bottom:1px solid var(--purple)}
.gr-ritmo svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.gr-ritmo svg path{vector-effect:non-scaling-stroke}
.gr-ritmo-grid{stroke:var(--gr-line)!important;stroke-width:1!important}
.gr-ritmo-curve .f{fill:currentColor;fill-opacity:.14;stroke:none}
.gr-ritmo-curve{clip-path:inset(-12px -12px 0 -12px)}

.gr-ritmo-pt{position:absolute;left:calc(var(--x)*1%);bottom:calc(var(--y)*1%);width:0;height:0}
.gr-ritmo-pt::before{content:"";position:absolute;left:-6px;top:-6px;width:12px;height:12px;box-sizing:border-box;border:1.5px solid var(--purple);border-radius:50%;background:var(--bg-deep,#e7dcee)}
.gr-ritmo-pt.is-goal::before{left:-8px;top:-8px;width:16px;height:16px;border:0;background:var(--purple);box-shadow:0 0 0 7px color-mix(in srgb,var(--purple) 14%,transparent)}
.gr-ritmo-pt b,.gr-ritmo-pt em{position:absolute;white-space:nowrap;font-style:normal}
.gr-ritmo-pt b{left:8px;bottom:14px;font:400 var(--num-s,clamp(20px,1.8vw,24px))/1 Caviar,'Caviar Dreams',sans-serif;font-variant-numeric:lining-nums;color:var(--purple)}
.gr-ritmo-pt em{left:calc(8px + 2.6em + 14px);bottom:17px;font:500 12px/1.3 DM,'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--gray)}
.gr-ritmo-pt.is-mid b{left:auto;right:6px}
.gr-ritmo-pt.is-mid em{left:auto;right:calc(6px + 2.6em + 14px)}
.gr-ritmo-pt.is-end b{left:auto;right:10px;bottom:10px}
.gr-ritmo-pt.is-end em{left:auto;right:calc(10px + 2.6em + 14px);bottom:13px}
.gr-ritmo-pt.is-goal b{right:-8px;bottom:22px}
.gr-ritmo-pt.is-goal em{right:calc(-8px + 2.6em + 14px);bottom:25px;color:var(--purple)}

.gr-ritmo-axis{position:relative;list-style:none;height:18px;margin:12px 0 0;padding:0}
.gr-ritmo-axis li{position:absolute;top:0;left:calc(var(--i)*20%);translate:-50% 0;font:500 12px/1.5 DM,'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;color:var(--gray)}
.gr-ritmo-axis li:nth-child(1){--i:0;translate:-9px 0}
.gr-ritmo-axis li:nth-child(2){--i:1}
.gr-ritmo-axis li:nth-child(3){--i:2}
.gr-ritmo-axis li:nth-child(4){--i:3}
.gr-ritmo-axis li:nth-child(5){--i:4}
.gr-ritmo-axis li:nth-child(6){--i:5;translate:calc(-100% + 9px) 0;color:var(--purple)}

@media(max-width:900px){
  .gr-ritmo-pt em{display:none}
}
@media(max-width:560px){
  .gr-ritmo-axis li{font-size:11px;letter-spacing:.06em}
}

@media(prefers-reduced-motion:no-preference){
  .gr-ritmo-curve{transition:clip-path 1.5s var(--gr-ease)}
  .gr-ritmo-pt{transition:opacity .5s var(--gr-ease),translate .5s var(--gr-ease)}
  .gr-ritmo-pt:nth-of-type(1){transition-delay:.15s}
  .gr-ritmo-pt:nth-of-type(2){transition-delay:.4s}
  .gr-ritmo-pt:nth-of-type(3){transition-delay:.75s}
  .gr-ritmo-pt:nth-of-type(4){transition-delay:1.1s}
  .gr-ritmo[data-cgm="ready"] .gr-ritmo-curve{clip-path:inset(-12px 100% 0 -12px);transition:none}
  .gr-ritmo[data-cgm="ready"] .gr-ritmo-pt{opacity:0;translate:0 14px;transition:none}
}
