/* ==========================================================
   VIREXIS — NATIONAL TECHNOLOGY DIFFERENCE V1
   Elaborado por Miguel Minier | MDesign
   ========================================================== */

.vx-national{
    --vx-n-bg:#00101b;
    --vx-n-cyan:#5bd5ff;
    --vx-n-white:#f5fbff;
    --vx-n-muted:rgba(211,235,245,.65);
    --vx-n-line:rgba(86,209,253,.16);

    position:relative;
    overflow:hidden;
    isolation:isolate;

    padding:125px 0 0;

    color:var(--vx-n-white);

    background:
        radial-gradient(
            circle at 74% 32%,
            rgba(29,165,221,.13),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #00111d 0%,
            #021725 100%
        );
}


/* BACKGROUND */

.vx-national__bg{
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
}

.vx-national__grid{
    position:absolute;
    inset:0;

    opacity:.11;

    background-image:
        linear-gradient(
            rgba(83,208,253,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(83,208,253,.08) 1px,
            transparent 1px
        );

    background-size:70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            #000,
            transparent 75%
        );
}

.vx-national__glow{
    position:absolute;

    width:850px;
    height:850px;

    right:-300px;
    top:50px;

    border-radius:50%;

    background:rgba(36,177,231,.10);

    filter:blur(130px);
}

.vx-national__rd{
    position:absolute;

    right:-25px;
    top:20px;

    color:transparent;

    font-size:clamp(280px,32vw,600px);
    line-height:.8;
    font-weight:700;
    letter-spacing:-.09em;

    -webkit-text-stroke:
        1px rgba(90,210,253,.055);

    opacity:.75;
}


/* TOP */

.vx-national__top{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding-bottom:46px;

    border-bottom:1px solid var(--vx-n-line);
}

.vx-national__eyebrow,
.vx-national__code{
    color:rgba(116,219,255,.62);

    font-size:8px;
    font-weight:700;
    letter-spacing:.28em;
}

.vx-national__code{
    color:rgba(165,225,247,.34);
}


/* MAIN */

.vx-national__layout{
    display:grid;

    grid-template-columns:
        minmax(0,.88fr)
        minmax(500px,1.12fr);

    gap:clamp(60px,8vw,135px);

    align-items:center;

    min-height:690px;
}

.vx-national__number{
    display:block;

    margin-bottom:34px;

    color:#62d7ff;

    font-size:9px;
    font-weight:700;
    letter-spacing:.26em;
}

.vx-national__statement h2{
    margin:0;

    max-width:700px;

    font-size:clamp(60px,5.6vw,94px);
    line-height:.89;
    font-weight:400;
    letter-spacing:-.06em;
}

.vx-national__statement h2 em{
    display:block;

    color:var(--vx-n-cyan);

    font-weight:300;
}

.vx-national__statement > p{
    max-width:590px;

    margin:38px 0 0;

    color:var(--vx-n-muted);

    font-size:16px;
    line-height:1.8;
}

.vx-national__location{
    display:flex;
    align-items:center;

    gap:17px;

    margin-top:42px;
}

.vx-national__location > i{
    position:relative;

    width:10px;
    height:10px;

    border-radius:50%;

    background:#65d8ff;

    box-shadow:
        0 0 0 8px rgba(91,213,255,.06),
        0 0 22px rgba(91,213,255,.75);
}

.vx-national__location small{
    display:block;

    color:rgba(121,219,255,.48);

    font-size:7px;
    font-weight:700;
    letter-spacing:.23em;
}

.vx-national__location strong{
    display:block;

    margin-top:7px;

    color:rgba(239,249,253,.78);

    font-size:11px;
    font-weight:500;
}


/* MAP */

.vx-national__map{
    position:relative;

    min-height:570px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.vx-national__map svg{
    width:100%;
    max-width:720px;

    overflow:visible;
}

.vx-national__coordinates path{
    fill:none;

    stroke:rgba(90,210,253,.08);

    stroke-width:1;

    stroke-dasharray:3 12;
}

.vx-national__rings circle{
    fill:none;

    stroke:rgba(90,210,253,.09);

    stroke-width:1;

    stroke-dasharray:4 12;

    transform-origin:360px 215px;

    animation:vxNationalRotate 38s linear infinite;
}

.vx-national__rings circle:last-child{
    animation-direction:reverse;
    animation-duration:26s;
}

.vx-national__country{
    fill:rgba(63,194,241,.018);

    stroke:#67d7ff;

    stroke-width:1.2;

    stroke-dasharray:1;
    stroke-dashoffset:1;

    filter:
        drop-shadow(
            0 0 8px rgba(77,205,251,.20)
        );

    animation:
        vxNationalDraw 3.8s
        cubic-bezier(.3,.7,.2,1)
        forwards;
}

.vx-national__scan{
    fill:none;

    stroke:rgba(103,215,255,.50);

    stroke-width:1;

    stroke-dasharray:7 8;

    animation:
        vxNationalScan 2.8s linear infinite;
}

.vx-national__node{
    fill:#c7f3ff;

    filter:
        drop-shadow(
            0 0 8px #57d3ff
        );
}

.vx-national__node-ring{
    fill:none;

    stroke:#5dd5ff;

    stroke-width:1;

    transform-box:fill-box;
    transform-origin:center;

    animation:
        vxNationalPulse 2.7s
        ease-out infinite;
}

.vx-national__connector{
    fill:none;

    stroke:rgba(99,214,255,.48);

    stroke-width:1;

    stroke-dasharray:5 6;

    animation:
        vxNationalScan 2.4s linear infinite;
}

.vx-national__map-label{
    position:absolute;

    right:4%;
    bottom:14%;

    padding-left:18px;

    border-left:
        1px solid rgba(93,211,253,.34);
}

.vx-national__map-label span,
.vx-national__map-label small{
    display:block;

    color:rgba(128,219,252,.50);

    font-size:7px;
    font-weight:700;
    letter-spacing:.24em;
}

.vx-national__map-label strong{
    display:block;

    margin:7px 0;

    font-size:22px;
    font-weight:400;
    letter-spacing:.08em;
}


/* TECHNOLOGIES */

.vx-national__technologies{
    display:grid;

    grid-template-columns:repeat(3,1fr);

    border-top:1px solid var(--vx-n-line);
    border-bottom:1px solid var(--vx-n-line);
}

.vx-national__technologies article{
    position:relative;

    min-height:455px;

    padding:32px 34px 38px;

    border-right:1px solid var(--vx-n-line);
}

.vx-national__technologies article:first-child{
    border-left:1px solid var(--vx-n-line);
}

.vx-national__technologies article > span{
    color:rgba(118,218,255,.46);

    font-size:8px;
    font-weight:700;
    letter-spacing:.2em;
}

.vx-national__icon{
    position:relative;

    width:94px;
    height:94px;

    margin:48px 0 42px;

    border:1px solid rgba(91,210,253,.23);
    border-radius:50%;
}

.vx-national__icon::before,
.vx-national__icon::after{
    content:"";

    position:absolute;

    left:50%;
    top:50%;

    border-radius:50%;

    transform:translate(-50%,-50%);
}

.vx-national__icon::before{
    width:62px;
    height:62px;

    border:
        1px dashed rgba(91,210,253,.23);

    animation:
        vxNationalRotate 16s linear infinite;
}

.vx-national__icon::after{
    width:7px;
    height:7px;

    background:#69d9ff;

    box-shadow:
        0 0 12px rgba(91,211,255,.9);
}

.vx-national__icon i{
    position:absolute;

    height:1px;

    background:rgba(101,215,255,.48);

    transform-origin:left center;
}

.vx-national__icon i:nth-child(1){
    width:30px;

    left:47px;
    top:47px;

    transform:rotate(-48deg);
}

.vx-national__icon i:nth-child(2){
    width:25px;

    left:47px;
    top:47px;

    transform:rotate(48deg);
}

.vx-national__icon i:nth-child(3){
    width:22px;

    left:47px;
    top:47px;

    transform:rotate(180deg);
}

.vx-national__technologies article > small{
    display:block;

    color:#62d6ff;

    font-size:7px;
    font-weight:700;
    letter-spacing:.23em;
}

.vx-national__technologies h3{
    margin:10px 0 17px;

    font-size:30px;
    line-height:1.02;
    font-weight:400;
    letter-spacing:-.04em;
}

.vx-national__technologies h3 em{
    display:block;

    color:#69d8ff;

    font-weight:300;
}

.vx-national__technologies p{
    max-width:340px;

    margin:0;

    color:rgba(206,233,244,.59);

    font-size:12px;
    line-height:1.72;
}

.vx-national__technologies article > strong{
    position:absolute;

    left:34px;
    bottom:32px;

    color:rgba(229,245,251,.72);

    font-size:8px;
    font-weight:700;
    letter-spacing:.16em;
}


/* SYSTEM */

.vx-national__system{
    padding:50px 0 65px;

    text-align:center;
}

.vx-national__system > span{
    color:rgba(112,216,254,.46);

    font-size:7px;
    font-weight:700;
    letter-spacing:.3em;
}

.vx-national__system-line{
    display:flex;

    justify-content:center;
    align-items:center;

    margin:21px auto;

    max-width:480px;
}

.vx-national__system-line i{
    flex:1;

    height:1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(94,212,254,.45)
        );
}

.vx-national__system-line i:last-child{
    transform:scaleX(-1);
}

.vx-national__system-line b{
    width:7px;
    height:7px;

    margin:0 14px;

    border-radius:50%;

    background:#69d8ff;

    box-shadow:
        0 0 15px rgba(91,211,255,.85);
}

.vx-national__system > strong{
    color:rgba(230,246,252,.65);

    font-size:8px;
    font-weight:600;
    letter-spacing:.17em;
}

.vx-national__system > strong em{
    margin:0 9px;

    color:#5ed5ff;

    font-style:normal;
}


/* MOTION */

@keyframes vxNationalDraw{
    to{
        stroke-dashoffset:0;
    }
}

@keyframes vxNationalRotate{
    to{
        transform:rotate(360deg);
    }
}

@keyframes vxNationalScan{
    to{
        stroke-dashoffset:-45;
    }
}

@keyframes vxNationalPulse{

    0%{
        opacity:.9;
        transform:scale(.55);
    }

    100%{
        opacity:0;
        transform:scale(1.65);
    }
}


/* RESPONSIVE */

@media (max-width:1050px){

    .vx-national__layout{
        grid-template-columns:1fr;
        gap:30px;

        padding:85px 0;
    }

    .vx-national__map{
        min-height:480px;
    }

}


@media (max-width:760px){

    .vx-national{
        padding-top:85px;
    }

    .vx-national__code{
        display:none;
    }

    .vx-national__statement h2{
        font-size:52px;
    }

    .vx-national__statement > p{
        font-size:14px;
    }

    .vx-national__map{
        min-height:350px;
    }

    .vx-national__technologies{
        grid-template-columns:1fr;
    }

    .vx-national__technologies article{
        min-height:390px;

        border-left:1px solid var(--vx-n-line);
        border-bottom:1px solid var(--vx-n-line);
    }

    .vx-national__system > strong{
        display:block;

        line-height:2;
    }

}


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

    .vx-national *,
    .vx-national *::before,
    .vx-national *::after{
        animation:none !important;
        transition:none !important;
    }

    .vx-national__country{
        stroke-dashoffset:0;
    }
}
