

:root {
    --ruta-primary: #0d2054;
    --ruta-secondary: #00a3e3;
    --ruta-border: #e3e8f0;
    --ruta-bg-soft: #f5f7fb;
    --ruta-text-muted: #5b6472;
}

.rutaHero {
    position: relative;
    padding: 64px 0 44px;
    background: var(--ruta-bg-soft);
    overflow: hidden;
    margin-bottom: 16px;
}

/* Grilla de fondo, sutil, en todo el hero */
.rutaHero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000 0%, transparent 75%);
}

.rutaHero__bg::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(to right, var(--ruta-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ruta-border) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: translate(-50%, -50%) rotate(0deg);
}


.rutaHero__graphic {
    position: absolute;
    inset: 0;
    left: 50%;
    z-index: 2;
    pointer-events: none;
}

.rutaHero__chart {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rutaHero__chartArea {
    opacity: .5;
}

.rutaHero__chartLine {
    fill: none;
    stroke: url(#rutaHeroLineGrad);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 3px 5px rgba(101, 128, 154, 0.1));
    opacity: 0.33;
}

 
.rutaHero__point {
    position: absolute;
    z-index: 1;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ruta-secondary);
    box-shadow: 0 2px 6px rgba(13, 32, 84, 0.10);
    transform: translate(-50%, -50%);
}

.rutaHero__point::before {
    content: "";
    position: absolute;
    inset: 2.5px;
    border-radius: 50%;
    background: var(--ruta-secondary);
}

.rutaHero__point.-final {
    width: 15px;
    height: 15px;
    border-color: var(--ruta-primary);
    box-shadow: 0 0 0 8px rgba(13, 32, 84, 0.07), 0 0 26px 6px rgba(0, 163, 227, 0.35);
}

.rutaHero__point.-final::before {
    background: var(--ruta-primary);
}

.rutaHero__point.-final::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--ruta-primary);
    animation: rutaHeroPulse 2.6s ease-out infinite;
}

 
.rutaHero__point.is-active {
    width: 18px;
    height: 18px;
    border-color: var(--ruta-primary);
    box-shadow: 0 0 0 8px rgba(13, 32, 84, 0.12), 0 2px 6px rgba(13, 32, 84, 0.15);
}

.rutaHero__point.is-active::before {
    background: var(--ruta-primary);
}

@keyframes rutaHeroPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rutaHero__point.-final::after {
        animation: none;
        opacity: 0;
    }
}

 
.rutaHero__tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ruta-border);
    box-shadow: var(--ruta-shadow-sm, 0 1px 3px rgba(13, 32, 84, 0.08));
    font: inherit;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ruta-text-muted);
    white-space: nowrap;
    transform: translate(-50%, calc(-100% - 14px));
    pointer-events: auto;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.rutaHero__tag:hover {
    border-color: var(--ruta-primary);
    color: var(--ruta-primary);
}

.rutaHero__tag:focus-visible {
    outline: 2px solid var(--ruta-secondary);
    outline-offset: 2px;
}

.rutaHero__tag::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 14px;
    background: var(--ruta-border);
    transform: translateX(-50%);
}

.rutaHero__tag.-final {
    left: auto;
    right: 3%;
    transform: translate(0, calc(-100% - 14px));

}

.rutaHero__tagIcon {
    display: none;
    width: 11px;
    height: 11px;
    margin-right: 5px;
    flex-shrink: 0;
}

.rutaHero__tagIcon svg {
    width: 100%;
    height: 100%;
}

.rutaHero__tag.is-active {
    border-color: var(--ruta-primary);
    color: var(--ruta-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(13, 32, 84, 0.18);
}

.rutaHero__tag.is-active .rutaHero__tagIcon {
    display: inline-flex;
}

 

.rutaHero > .container {
    position: relative;
    z-index: 1;
}

.rutaHero h1 {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ruta-primary);
}

.rutaHero h1 strong {
    font-weight: 800;
    color: var(--ruta-secondary);
}

.rutaHero > .container > p {
    margin: 0 0 24px;
    max-width: 560px;
    color: var(--ruta-text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

@media only screen and (max-width: 768px) {
    .rutaHero h1 {
        font-size: 1.7rem;
    }

    .rutaHero__graphic {
        display: none;
    }
}

