/********** Página de VPN (servicio-vpn.html) **********/

/*** Emblemas de protocolo ***/
.vp-emb {
    --c: var(--primary);
    flex: none;
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: 17px;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 55%), var(--c);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 5px var(--c), 0 6px 16px rgba(20, 24, 62, .25);
}

.vp-emb--sm { width: 30px; height: 30px; font-size: 13px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--c); }
.vp-emb--lg { width: 58px; height: 58px; font-size: 24px; }


/*** Hero: túnel cifrado ***/
.vp-hero-tunnel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 26px 40px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    color: #fff;
}

.vp-ht-node {
    flex: none;
    display: grid;
    justify-items: center;
    gap: 8px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
}

.vp-ht-node i {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 25px rgba(21, 172, 225, .35);
}

.vp-ht-pipe {
    position: relative;
    flex: 1;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(21, 172, 225, .25), rgba(37, 211, 102, .25));
    border: 2px solid rgba(21, 172, 225, .6);
    box-shadow: inset 0 0 18px rgba(21, 172, 225, .45), 0 0 22px rgba(21, 172, 225, .35);
}

.vp-ht-pipe small {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -28px;
    text-align: center;
    color: rgba(255, 255, 255, .7);
}

.vp-ht-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--primary);
    z-index: 2;
    animation: vp-lock 2.4s ease-in-out infinite;
}

.vp-ht-pkt {
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 12px #fff;
    animation: vp-pipe 3s linear infinite;
}

.vp-ht-pkt:nth-of-type(2) { animation-delay: -1s; }
.vp-ht-pkt:nth-of-type(3) { animation-delay: -2s; }

@keyframes vp-pipe {
    0% { left: 2%; opacity: 0; }
    10% { opacity: 1; }
    45% { background: #fff; }
    55% { background: #25d366; box-shadow: 0 0 12px #25d366; }
    90% { opacity: 1; }
    100% { left: 95%; opacity: 0; background: #25d366; }
}

@keyframes vp-lock {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(255, 255, 255, .15); }
}


/*** Línea animada de protocolos ***/
.vp-protoline-wrap {
    position: relative;
    padding: 0;
    background: var(--dark);
    overflow: hidden;
}

.vp-protoline {
    position: relative;
    padding: 26px 0;
}

.vp-protoline-rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: linear-gradient(90deg, transparent, rgba(21, 172, 225, .45) 10%, rgba(21, 172, 225, .45) 90%, transparent);
}

.vp-protoline-rail i {
    position: absolute;
    top: -3px;
    width: 90px;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    filter: blur(1px);
    animation: vp-rail 5s linear infinite;
}

.vp-protoline-rail i:nth-child(2) { animation-delay: -1.25s; }
.vp-protoline-rail i:nth-child(3) { animation-delay: -2.5s; }
.vp-protoline-rail i:nth-child(4) { animation-delay: -3.75s; }

@keyframes vp-rail {
    from { left: -100px; }
    to { left: 100%; }
}

.vp-protoline-track {
    position: relative;
    display: flex;
    width: max-content;
    animation: vp-marquee 38s linear infinite;
}

.vp-protoline-track:hover,
.vp-protoline-track:focus-within,
.vp-protoline-track.is-paused {
    animation-play-state: paused;
}

@keyframes vp-marquee {
    to { transform: translateX(-50%); }
}

.vp-pl-group {
    display: flex;
    align-items: center;
}

.vp-pl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 12px;
    border-radius: 999px;
    background: #1d2253;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    white-space: nowrap;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vp-pl-item:hover,
.vp-pl-item:focus-visible {
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--c);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .06);
    outline: none;
}

.vp-pl-item .vp-emb { box-shadow: 0 0 0 3px #1d2253, 0 0 0 5px var(--c), 0 0 18px var(--c); }

.vp-pl-item b {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
}

.vp-pl-item small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.vp-pl-link {
    position: relative;
    width: 56px;
    height: 4px;
}

.vp-pl-link i {
    position: absolute;
    top: -3px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: vp-hop 1.6s ease-in-out infinite;
}

@keyframes vp-hop {
    0% { left: 0; opacity: 0; }
    20%, 80% { opacity: 1; }
    100% { left: 46px; opacity: 0; }
}


/*** Intro ***/
.vp-stat {
    height: 100%;
    padding: 14px 12px;
    border-radius: 14px;
    background: var(--light);
    border: 1px solid rgba(19, 99, 198, .12);
    text-align: center;
}

.vp-stat strong {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1.1;
}

.vp-stat span {
    display: block;
    font-size: 12.5px;
    color: #6b7394;
    margin-top: 4px;
}

.vp-usecases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vp-usecase {
    display: flex;
    gap: 14px;
    padding: 20px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20, 24, 62, .08);
    border: 1px solid rgba(19, 99, 198, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.vp-usecase:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(20, 24, 62, .14);
}

.vp-usecase > i {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 19px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.vp-usecase strong {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    color: var(--dark);
    margin-bottom: 2px;
}

.vp-usecase span {
    font-size: 14px;
    line-height: 1.45;
}


/*** Paneles comunes ***/
.vp-panel {
    --c: var(--primary);
    position: relative;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(20, 24, 62, .08);
    border: 1px solid rgba(19, 99, 198, .08);
}

.vp-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7394;
    margin: 22px 0 10px;
}


/*** Explorador de protocolos ***/
.vp-proto-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.vp-proto-tabs button {
    --c: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    border-radius: 999px;
    border: 2px solid #e3e8f4;
    background: #fff;
    color: var(--dark);
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.vp-proto-tabs button:hover { transform: translateY(-2px); border-color: var(--c); }

.vp-proto-tabs button.is-active {
    border-color: var(--c);
    box-shadow: 0 8px 20px rgba(20, 24, 62, .12), inset 0 0 0 1px var(--c);
}

.vp-panel-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.vp-layer {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: var(--light);
    color: var(--c);
    font-weight: 600;
}

.vp-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 16px;
}

.vp-facts > div {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--light);
}

.vp-facts dt {
    font-size: 12.5px;
    color: #6b7394;
    font-weight: 600;
    margin-bottom: 3px;
}

.vp-facts dt i { color: var(--c); margin-right: 4px; }

.vp-facts dd {
    margin: 0;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.4;
}

.vp-fit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.vp-fit > div {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.vp-fit b { display: block; color: var(--dark); }
.vp-fit-ok { background: #ecfbf2; }
.vp-fit-ok > i { color: #16a34a; margin-top: 3px; }
.vp-fit-no { background: #fdf0f0; }
.vp-fit-no > i { color: #dc2626; margin-top: 3px; }

.vp-meters { display: grid; gap: 14px; }

.vp-meter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
    font-size: 14px;
}

.vp-meter span { color: var(--dark); font-weight: 600; }
.vp-meter b { grid-row: 1; grid-column: 2; font-size: 13px; color: #6b7394; }
.vp-meter .vp-meter-bar { grid-column: 1 / -1; }

.vp-meter-bar {
    height: 10px;
    border-radius: 10px;
    background: #e9edf7;
    overflow: hidden;
}

.vp-meter-bar i {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c), var(--secondary));
    transition: width .6s ease;
}

.is-anim .vp-meter-bar i { animation: vp-grow .9s cubic-bezier(.2, .8, .2, 1) both; }

@keyframes vp-grow { from { width: 0; } }

.vp-meter--sm { font-size: 13px; margin-bottom: 10px; }
.vp-meter--sm .vp-meter-bar { height: 8px; }

.vp-encap {
    display: flex;
    flex-wrap: wrap;
    border-radius: 12px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(20, 24, 62, .1);
}

.vp-encap span {
    padding: 12px 10px;
    color: #fff;
    flex: 1 1 auto;
    text-align: center;
}

.is-anim .vp-encap span { animation: vp-slide .5s ease both; animation-delay: calc(var(--i) * .15s); }

@keyframes vp-slide { from { opacity: 0; transform: translateX(-14px); } }

.vp-encap-ip { background: #475569; }
.vp-encap-tp { background: #64748b; }
.vp-encap-vpn { background: var(--c); }
.vp-encap-enc {
    flex-grow: 3 !important;
    background: repeating-linear-gradient(45deg, #1e293b 0 8px, #273449 8px 16px);
}

.vp-cert {
    position: relative;
    padding: 18px 20px;
    border-radius: 16px;
    border: 2px dashed var(--c);
    background: linear-gradient(135deg, #fffbea, #fff);
}

.vp-cert-head {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.vp-cert-head i { color: var(--c); }

.vp-cert dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    margin: 0;
    font-size: 14px;
}

.vp-cert dt { color: #6b7394; font-weight: 600; }
.vp-cert dd { margin: 0; color: var(--dark); }

.vp-cert-ok {
    padding: 2px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 600;
    font-size: 12px;
}

.vp-cert-seal {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--c);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--c);
}

.is-anim .vp-cert-seal { animation: vp-stamp .6s .3s cubic-bezier(.3, 1.6, .5, 1) both; }

@keyframes vp-stamp { from { transform: scale(2.2) rotate(-25deg); opacity: 0; } }

.vp-uses { display: flex; flex-wrap: wrap; gap: 8px; }

.vp-uses span {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--light);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.is-anim > .row { animation: vp-fade .4s ease both; }

@keyframes vp-fade { from { opacity: 0; transform: translateY(8px); } }


/*** Recomendador ***/
.vp-q {
    margin-bottom: 16px;
    padding: 0;
    border: 0;
}

.vp-q legend {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    float: none;
}

.vp-q legend span {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: var(--light);
    color: var(--primary);
    transition: background .2s ease, color .2s ease;
}

.vp-q.is-done legend span { background: var(--primary); color: #fff; }

.vp-q-opts { display: flex; flex-wrap: wrap; gap: 8px; }

.vp-q-opts button {
    padding: 8px 14px;
    border-radius: 12px;
    border: 2px solid #e3e8f4;
    background: #fff;
    font-size: 14px;
    color: var(--dark);
    transition: border-color .2s ease, background .2s ease;
}

.vp-q-opts button:hover { border-color: var(--secondary); }

.vp-q-opts button[aria-pressed="true"] {
    border-color: var(--primary);
    background: #eaf2fd;
    color: var(--primary);
    font-weight: 600;
}

.vp-reco-out {
    --c: var(--primary);
    min-height: 100%;
    padding: 22px;
    border-radius: 18px;
    background: var(--light);
    border: 1px solid rgba(19, 99, 198, .1);
}

.vp-reco-empty {
    height: 100%;
    min-height: 220px;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    color: #6b7394;
}

.vp-reco-empty i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 10px;
    animation: vp-float 3s ease-in-out infinite;
}

@keyframes vp-float { 50% { transform: translateY(-8px); } }

.vp-reco-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.vp-reco-top small { color: #6b7394; }
.vp-reco-top h4 { margin: 0; color: var(--c); }

.is-anim .vp-reco-top .vp-emb { animation: vp-stamp .6s cubic-bezier(.3, 1.6, .5, 1) both; }

.vp-reco-bars { display: grid; gap: 8px; }

.vp-reco-bars > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.vp-reco-note {
    margin: 14px 0 0;
    font-size: 13px;
    color: #6b7394;
}

.vp-reco-note i { color: #D4A00A; }


/*** Infografía: rueda ***/
.vp-wheel {
    --p: 0%;
    --ring: #EF4444;
    --size: min(460px, calc(100vw - 32px));
    position: relative;
    width: var(--size);
    height: var(--size);
    margin: 0 auto 40px;
}

.vp-wheel[data-level="mid"] { --ring: #F59E0B; }
.vp-wheel[data-level="ok"] { --ring: #22C55E; }

.vp-wheel-ring {
    position: absolute;
    inset: 11%;
    border-radius: 50%;
    border: 2px dashed rgba(19, 99, 198, .25);
    animation: vp-spin 60s linear infinite;
}

.vp-wheel-core {
    position: absolute;
    inset: 31%;
    border-radius: 50%;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    background:
        radial-gradient(circle, #fff 62%, transparent 63%),
        conic-gradient(var(--ring) var(--p), #e9edf7 0);
    box-shadow: 0 14px 36px rgba(20, 24, 62, .14);
}

.vp-wheel-score {
    font-family: 'Ubuntu', sans-serif;
    color: var(--dark);
    line-height: 1;
}

.vp-wheel-score b { font-size: 3rem; }
.vp-wheel-score span { font-size: 1.2rem; color: #6b7394; }

.vp-wheel-core small {
    max-width: 110px;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7394;
    line-height: 1.3;
}

.vp-wheel-node {
    --a: 0deg;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    background: none;
    transform: rotate(var(--a)) translateX(calc(var(--size) * .39)) rotate(calc(var(--a) * -1));
}

.vp-wheel-dot {
    position: absolute;
    left: -32px;
    top: -32px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--primary);
    background: #fff;
    border: 3px solid #e3e8f4;
    box-shadow: 0 8px 20px rgba(20, 24, 62, .1);
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.vp-wheel-dot em {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    place-items: center;
    background: #22C55E;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    box-shadow: 0 0 0 2px #fff;
}

.vp-wheel-node.is-done .vp-wheel-dot { border-color: #22C55E; }
.vp-wheel-node.is-done .vp-wheel-dot em { display: grid; }

.vp-wheel-node.is-active .vp-wheel-dot,
.vp-wheel-node:hover .vp-wheel-dot {
    transform: scale(1.12);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: #fff;
}

.vp-wheel-node.is-active .vp-wheel-dot { box-shadow: 0 0 0 6px rgba(21, 172, 225, .2), 0 10px 24px rgba(19, 99, 198, .35); }

.vp-wheel-label {
    position: absolute;
    top: 36px;
    left: -60px;
    width: 120px;
    text-align: center;
    line-height: 1.2;
}

.vp-wheel-label b {
    display: block;
    font-size: 13px;
    color: var(--dark);
}

.vp-wheel-label small {
    font-size: 11.5px;
    color: #6b7394;
}

.vp-practice-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding-right: 84px;
}

.vp-practice-num {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.vp-practice-head small { color: #6b7394; }

.vp-practice.is-anim > * { animation: vp-fade .35s ease both; }

.vp-dodont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.vp-dodont > div {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
}

.vp-dodont ul { margin: 6px 0 0; padding-left: 18px; }
.vp-dodont li { margin-bottom: 4px; }
.vp-do { background: #ecfbf2; }
.vp-do b { color: #15803d; }
.vp-dont { background: #fdf0f0; }
.vp-dont b { color: #b91c1c; }

.vp-check-btn {
    padding: 10px 18px;
    border-radius: 12px;
    border: 2px solid #e3e8f4;
    background: #fff;
    font-weight: 600;
    color: var(--dark);
    transition: all .2s ease;
}

.vp-check-btn[aria-pressed="true"] {
    border-color: #22C55E;
    background: #ecfbf2;
    color: #15803d;
}

.vp-practice-nav {
    position: absolute;
    top: 28px;
    right: 24px;
    display: flex;
    gap: 6px;
}

.vp-practice-nav button,
.vp-map-ctrl button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: var(--light);
    color: var(--primary);
    transition: background .2s ease, color .2s ease;
}

.vp-practice-nav button:hover { background: var(--primary); color: #fff; }


/*** Túnel dividido ***/
.vp-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: var(--light);
    margin-bottom: 16px;
}

.vp-switch button {
    padding: 8px 18px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-weight: 600;
    color: #6b7394;
    transition: background .25s ease, color .25s ease;
}

.vp-switch button.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(19, 99, 198, .3);
}

.vp-split-best {
    margin: 12px 0 0;
    font-size: 13px;
    color: var(--dark);
}

.vp-split-best i { color: #F59E0B; }

.vp-split-stage {
    border-radius: 18px;
    background: radial-gradient(circle at 20% 10%, #1d3a8a 0%, var(--dark) 75%);
    padding: 10px;
}

.vp-split-stage svg { display: block; width: 100%; height: auto; }

.vp-glyph {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-anchor: middle;
    font-size: 22px;
    fill: #fff;
}

.vp-sp-tunnel { fill: none; stroke: rgba(21, 172, 225, .3); stroke-width: 22; stroke-linecap: round; }
.vp-sp-tunnel-core { fill: none; stroke: #15ACE1; stroke-width: 2; stroke-dasharray: 6 6; animation: vp-dash 1s linear infinite; }
.vp-sp-line { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-dasharray: 4 6; }
.vp-sp-tag { fill: #9fdcf5; font-size: 12px; text-anchor: middle; font-weight: 600; }
.vp-sp-node circle { fill: #1d2253; stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.vp-sp-router circle { fill: var(--primary); stroke: #9fdcf5; }
.vp-sp-company circle { fill: #1e5bb8; }
.vp-sp-net circle { fill: #b45309; }
.vp-sp-label { fill: rgba(255, 255, 255, .85); font-size: 12px; text-anchor: middle; }
.vp-sp-dot--company { fill: #9fdcf5; filter: drop-shadow(0 0 4px #15ACE1); }
.vp-sp-dot--net { fill: #FDBA74; filter: drop-shadow(0 0 4px #F97316); }

#splitSvg[data-mode="split"] .vp-sp-only-full,
#splitSvg[data-mode="full"] .vp-sp-only-split { display: none; }

@keyframes vp-dash { to { stroke-dashoffset: -12; } }


/*** Mapa VPN ***/
.vp-map-section {
    background: radial-gradient(circle at 15% 0%, #1d3a8a 0%, var(--dark) 60%);
}

.vp-scen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.vp-scen button {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease;
}

.vp-scen button:hover { border-color: var(--secondary); }

.vp-scen button.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(21, 172, 225, .35);
}

.vp-map-stage {
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: 8px;
}

.vp-map-stage svg { display: block; width: 100%; height: auto; }

#vpnMap { --c: #15ACE1; }

.vp-mzone { fill: rgba(21, 172, 225, .05); stroke: rgba(21, 172, 225, .3); stroke-width: 2; stroke-dasharray: 8 8; }
.vp-mzone-label { fill: rgba(255, 255, 255, .45); font-size: 13px; letter-spacing: .2em; text-anchor: middle; font-weight: 600; }
.vp-mbase path { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }

.vp-mtunnel, .vp-mtunnel-core, .vp-minner, .vp-mdeny { fill: none; opacity: 0; transition: opacity .4s ease; }
.vp-mtunnel { stroke: var(--c); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.show-tunnel .vp-mtunnel { opacity: .25; }
.vp-mtunnel-core { stroke: var(--c); stroke-width: 3; stroke-dasharray: 10 8; animation: vp-dash .8s linear infinite; }
.show-tunnel .vp-mtunnel-core { opacity: 1; }
.vp-minner { stroke: #22C55E; stroke-width: 4; stroke-dasharray: 8 6; animation: vp-dash .8s linear infinite; }
.show-inner .vp-minner { opacity: 1; }
.vp-mdeny { stroke: #EF4444; stroke-width: 4; stroke-dasharray: 6 6; }
.show-deny .vp-mdeny { opacity: 1; }

.vp-mn { transition: opacity .3s ease; }
.vp-mn.is-dim { opacity: .35; }
.vp-mn-circle, .vp-mn-box { fill: #1d2253; stroke: rgba(255, 255, 255, .3); stroke-width: 2; transition: fill .3s ease, stroke .3s ease; }
.vp-mn-cloud { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 6 6; }
.vp-mn--cloud .vp-mn-glyph { font-size: 34px; fill: rgba(255, 255, 255, .6); }
.vp-mn--router .vp-mn-box { fill: var(--primary); stroke: #9fdcf5; }
.vp-mn-label { fill: rgba(255, 255, 255, .85); font-size: 14px; text-anchor: middle; font-weight: 600; }
.vp-mn.is-from .vp-mn-circle { fill: var(--c); stroke: #fff; }
.vp-mn.is-target .vp-mn-circle { fill: #16a34a; stroke: #bbf7d0; }
.vp-mn.is-deny .vp-mn-circle { fill: #7f1d1d; stroke: #EF4444; }
.vp-mn.is-check .vp-mn-box { stroke: #fff; stroke-width: 4; filter: drop-shadow(0 0 12px #15ACE1); }

.vp-mpkt circle { fill: #fff; stroke: var(--c); stroke-width: 3; filter: drop-shadow(0 0 8px var(--c)); }
.vp-mpkt .vp-glyph { font-size: 13px; fill: var(--dark); }
.vp-mpkt.is-locked circle { fill: var(--c); stroke: #fff; }
.vp-mpkt.is-locked .vp-glyph { fill: #fff; }
.vp-mpkt.is-open circle { fill: #22C55E; stroke: #fff; filter: drop-shadow(0 0 8px #22C55E); }
.vp-mpkt.is-open .vp-glyph { fill: #fff; }
.vp-mpkt--deny circle { fill: #fff; stroke: #EF4444; filter: drop-shadow(0 0 8px #EF4444); }
.vp-mpkt--deny .vp-glyph { fill: #b91c1c; }
.vp-mx circle { fill: #EF4444; }
.vp-mx .vp-glyph { font-size: 18px; }

.vp-scroll-hint {
    margin: 6px 0 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.vp-scroll-hint--dark { color: #6b7394; }

.vp-steps,
.vp-anatomy {
    height: 100%;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}

.vp-steps-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.vp-proto-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px 4px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.vp-proto-chip .vp-emb { box-shadow: none; }

.vp-map-ctrl { display: flex; gap: 6px; }
.vp-map-ctrl button { background: rgba(255, 255, 255, .12); color: #fff; }
.vp-map-ctrl button:hover { background: var(--secondary); }

.vp-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.vp-step-list button {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    text-align: left;
    transition: background .25s ease, color .25s ease;
}

.vp-step-list b { display: block; font-size: 14px; color: inherit; }
.vp-step-list small { display: none; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .8); }

.vp-step-n {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .1);
}

.vp-step-list .is-past button { color: rgba(255, 255, 255, .8); }
.vp-step-list .is-past .vp-step-n { background: #22C55E; color: #fff; }
.vp-step-list .is-active button { background: rgba(21, 172, 225, .16); color: #fff; }
.vp-step-list .is-active .vp-step-n { background: var(--secondary); color: #fff; box-shadow: 0 0 0 4px rgba(21, 172, 225, .25); }
.vp-step-list .is-active small { display: block; animation: vp-fade .35s ease both; }

.vp-pkt { margin-bottom: 10px; }

.vp-pk-row {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    animation: vp-fade .35s ease both;
}

.vp-pk-row > span { padding: 10px; color: #fff; }
.vp-pk-ip { background: #475569; flex: 1 1 auto; }
.vp-pk-data { background: #1e5bb8; flex: 1 1 auto; }
.vp-pk-tp { background: #64748b; }
.vp-pk-vpn { background: var(--c); }
.vp-pk-enc { background: repeating-linear-gradient(45deg, #1e293b 0 8px, #273449 8px 16px); flex: 1 1 auto; letter-spacing: -1px; }
.vp-pk-key { background: rgba(255, 255, 255, .1); flex: 1; }
.vp-pk-key i { color: #FCD34D; animation: vp-lock 1.2s ease-in-out infinite; display: inline-block; }
.vp-pk-denied .vp-pk-ip { background: #7f1d1d; }
.vp-pk-flag { background: #EF4444; }

.vp-pk-allow {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(34, 197, 94, .15);
    color: #bbf7d0;
    font-size: 13px;
    animation: vp-fade .35s .15s ease both;
}

.vp-pkt-note {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
}


/*** Servicios animados ***/
.vp-svc {
    position: relative;
    height: 100%;
    padding: 28px 26px 24px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 24, 62, .08);
    border: 1px solid rgba(19, 99, 198, .08);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.vp-svc::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.vp-svc:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(20, 24, 62, .15);
}

.vp-svc:hover::after { transform: scaleX(1); }

.vp-svc h3 { margin: 22px 0 8px; }
.vp-svc p { font-size: 15px; }

.vp-svc ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 14px;
}

.vp-svc li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}

.vp-svc li::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: #16a34a;
}

.vp-svc-link { font-weight: 600; }
.vp-svc-link i { transition: transform .25s ease; }
.vp-svc:hover .vp-svc-link i { transform: translateX(5px); }

.vp-svc-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    font-size: 28px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 26px rgba(19, 99, 198, .3);
}

.vp-svc-icon span { position: absolute; pointer-events: none; }

/* Órbita: un paquete gira alrededor del ícono */
.vp-anim-orbit span {
    inset: -8px;
    border-radius: 28px;
    border: 2px dashed rgba(21, 172, 225, .45);
    animation: vp-spin 8s linear infinite;
}

.vp-anim-orbit span::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 10px #22C55E;
}

/* Enlace: un punto viaja entre dos sedes */
.vp-anim-link span {
    left: -16px;
    right: -16px;
    bottom: -14px;
    height: 3px;
    border-radius: 3px;
    background: rgba(21, 172, 225, .3);
}

.vp-anim-link span::before {
    content: "";
    position: absolute;
    top: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    animation: vp-ping-pong 2.2s ease-in-out infinite alternate;
}

@keyframes vp-ping-pong {
    from { left: 0; }
    to { left: calc(100% - 9px); }
}

/* Pulso: escudo con ondas */
.vp-anim-pulse span {
    inset: 0;
    border-radius: 22px;
    border: 2px solid var(--secondary);
    animation: vp-wave 2.2s ease-out infinite;
}

@keyframes vp-wave {
    from { transform: scale(1); opacity: .8; }
    to { transform: scale(1.5); opacity: 0; }
}

/* Escaneo: barrido sobre la cámara */
.vp-anim-scan { overflow: hidden; }

.vp-anim-scan span {
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: vp-scan 2.4s ease-in-out infinite;
}

@keyframes vp-scan {
    from { top: -30%; }
    to { top: 100%; }
}

/* Certificado: brillo que cruza */
.vp-anim-cert { overflow: hidden; background: linear-gradient(135deg, #D4A00A, #F59E0B); box-shadow: 0 12px 26px rgba(212, 160, 10, .35); }

.vp-anim-cert span {
    top: -20%;
    bottom: -20%;
    width: 30%;
    background: rgba(255, 255, 255, .5);
    transform: skewX(-20deg);
    animation: vp-shine 3s ease-in-out infinite;
}

@keyframes vp-shine {
    0%, 60% { left: -50%; }
    100% { left: 130%; }
}

/* Giro: migración */
.vp-anim-spin i { animation: vp-spin 4s linear infinite; }

@keyframes vp-spin { to { transform: rotate(360deg); } }


/*** Proceso ***/
.vp-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 56px 0 24px;
}

.vp-process-line {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 24px;
    height: 4px;
    border-radius: 4px;
    background: #e3e8f4;
}

.vp-process-line i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 1.6s ease;
}

.vp-process.is-in .vp-process-line i { width: 100%; }

.vp-process-step {
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.vp-process.is-in .vp-process-step { opacity: 1; transform: none; }
.vp-process-step:nth-child(3) { transition-delay: .3s; }
.vp-process-step:nth-child(4) { transition-delay: .6s; }
.vp-process-step:nth-child(5) { transition-delay: .9s; }
.vp-process-step:nth-child(6) { transition-delay: 1.2s; }

.vp-process-step span {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(19, 99, 198, .3);
}

.vp-process-step strong {
    display: block;
    font-family: 'Ubuntu', sans-serif;
    color: var(--dark);
}

.vp-process-step small {
    display: block;
    color: #6b7394;
    font-size: 13px;
    line-height: 1.4;
}


/*** Preguntas frecuentes ***/
.vp-faq {
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--light);
    border: 1px solid rgba(19, 99, 198, .08);
}

.vp-faq summary {
    position: relative;
    padding: 16px 48px 16px 20px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
}

.vp-faq summary::-webkit-details-marker { display: none; }

.vp-faq summary::after {
    content: "\f067";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 16px;
    color: var(--primary);
    transition: transform .25s ease;
}

.vp-faq[open] summary::after { transform: rotate(45deg); }

.vp-faq p {
    margin: 0;
    padding: 0 20px 16px;
    font-size: 15px;
}


/*** Llamado final ***/
.vp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
    padding: 30px 32px;
    border-radius: 24px;
    background: linear-gradient(120deg, var(--dark), #1d3a8a 60%, var(--primary));
    box-shadow: 0 20px 45px rgba(20, 24, 62, .25);
}

.vp-cta-anim {
    position: relative;
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.vp-cta-anim::before,
.vp-cta-anim::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    animation: vp-wave 2.4s ease-out infinite;
}

.vp-cta-anim::after { animation-delay: 1.2s; }


/*** Responsive ***/
@media (max-width: 991.98px) {
    .vp-process { grid-template-columns: 1fr; gap: 18px; }
    .vp-process-line { left: 24px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
    .vp-process-line i { width: 100%; height: 0; transition: height 1.6s ease; }
    .vp-process.is-in .vp-process-line i { width: 100%; height: 100%; }
    .vp-process-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; }
    .vp-process-step span { grid-row: span 2; margin: 0; }
}

@media (max-width: 767.98px) {
    .vp-panel { padding: 20px 16px; }
    .vp-facts, .vp-fit, .vp-dodont { grid-template-columns: 1fr; }
    .vp-usecases { grid-template-columns: 1fr; }
    .vp-map-stage { overflow-x: auto; }
    .vp-map-stage svg { min-width: 680px; }
    .vp-split-stage { overflow-x: auto; }
    .vp-split-stage svg { min-width: 520px; }
    .vp-reco-bars > div { grid-template-columns: 96px 1fr; }
    .vp-wheel { --size: min(360px, calc(100vw - 48px)); }
    .vp-wheel-dot { width: 50px; height: 50px; left: -25px; top: -25px; font-size: 18px; }
    .vp-wheel-label { top: 28px; left: -48px; width: 96px; }
    .vp-wheel-label small { display: none; }
    .vp-wheel-label b { font-size: 11.5px; }
    .vp-wheel-core small { display: none; }
    .vp-wheel-score b { font-size: 2.2rem; }
    .vp-practice-nav { top: 20px; right: 16px; }
    .vp-practice-head { padding-right: 80px; }
    .vp-cta { padding: 24px 20px; }
    .vp-pl-item { padding: 8px 16px 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .vp-protoline-track { animation: none; width: auto; overflow-x: auto; }
    .vp-pl-group[aria-hidden="true"] { display: none; }
    .vp-protoline-rail i,
    .vp-pl-link i,
    .vp-ht-pkt,
    .vp-ht-lock,
    .vp-wheel-ring,
    .vp-svc-icon span,
    .vp-svc-icon i,
    .vp-cta-anim::before,
    .vp-cta-anim::after,
    .vp-reco-empty i,
    .vp-sp-tunnel-core,
    .vp-mtunnel-core,
    .vp-minner { animation: none !important; }
    .vp-process-step, .vp-process-line i { transition: none; }
}
