/* =========================================================
   VIREXIS — EQUIPO MÉDICO V1.1
   ========================================================= */

.vx-team-page{
    --team-navy:#061c2c;
    --team-navy-2:#0a2a40;
    --team-blue:#159bd7;
    --team-cyan:#38bdf2;
    --team-ink:#102536;
    --team-muted:#657684;
    --team-line:#dbe6ec;
    --team-soft:#f4f8fa;

    background:#fff;
    color:var(--team-ink);
}

.vx-team-shell{
    width:min(1320px,calc(100% - 64px));
    margin:0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.vx-team-hero{
    position:relative;
    overflow:hidden;
    padding:112px 0 105px;

    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(31,161,218,.20),
            transparent 29%
        ),
        linear-gradient(
            118deg,
            #061a29 0%,
            #08263a 58%,
            #061b2a 100%
        );

    color:#fff;
}

.vx-team-hero::before{
    content:"";
    position:absolute;
    inset:0;

    opacity:.16;

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

    background-size:80px 80px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 60%,
            transparent
        );
}

.vx-team-hero .vx-team-shell{
    position:relative;
    z-index:2;

    display:grid;
    grid-template-columns:
        minmax(0,820px)
        1fr;

    align-items:center;
    gap:70px;
}

.vx-team-kicker{
    display:inline-flex;
    align-items:center;
    gap:11px;

    margin-bottom:21px;

    color:var(--team-cyan);

    font-size:12px;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.vx-team-kicker::before{
    content:"";
    width:30px;
    height:1px;
    background:currentColor;
}

.vx-team-hero h1{
    max-width:850px;
    margin:0;

    color:#fff;

    font-size:
        clamp(48px,5.3vw,78px);

    line-height:.99;
    letter-spacing:-.045em;
    font-weight:650;
}

.vx-team-hero h1 em{
    display:block;

    color:#8ddfff;

    font-style:normal;
    font-weight:400;
}

.vx-team-hero p{
    max-width:670px;

    margin:30px 0 0;

    color:rgba(255,255,255,.73);

    font-size:18px;
    line-height:1.7;
}

.vx-team-hero__signature{
    display:flex;
    justify-content:center;
    align-items:center;

    min-height:300px;
}

.vx-team-hero__signature span{
    font-size:260px;
    line-height:.8;
    font-weight:800;

    color:transparent;

    -webkit-text-stroke:
        1px rgba(87,196,241,.20);

    opacity:.85;
}


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.vx-team-nav{
    position:sticky;
    top:0;
    z-index:20;

    background:
        rgba(255,255,255,.96);

    border-bottom:
        1px solid var(--team-line);

    backdrop-filter:
        blur(18px);
}

.vx-team-nav__inner{
    display:grid;

    grid-template-columns:
        .95fr
        .95fr
        1.05fr
        1.2fr;
}

.vx-team-nav a{
    position:relative;

    display:flex;
    align-items:center;

    min-height:84px;

    padding:0 25px;

    border-right:
        1px solid var(--team-line);

    color:var(--team-ink);

    text-decoration:none;

    font-size:14px;
    font-weight:700;

    transition:
        color .25s ease,
        background .25s ease;
}

.vx-team-nav a:first-child{
    border-left:
        1px solid var(--team-line);
}

.vx-team-nav a::after{
    content:"";

    position:absolute;

    left:24px;
    right:24px;
    bottom:0;

    height:3px;

    background:
        var(--team-blue);

    transform:scaleX(0);
    transform-origin:left;

    transition:
        transform .25s ease;
}

.vx-team-nav a:hover{
    color:#0578ae;
    background:#f7fbfd;
}

.vx-team-nav a:hover::after{
    transform:scaleX(1);
}

.vx-team-nav small{
    margin-right:12px;

    color:#8ca0ad;

    font-size:10px;
    letter-spacing:.08em;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.vx-team-section{
    padding:105px 0 120px;
    scroll-margin-top:110px;
}

.vx-team-section:nth-of-type(even){
    background:var(--team-soft);
}

.vx-team-section__header{
    display:grid;

    grid-template-columns:
        1fr
        minmax(300px,500px);

    gap:70px;

    align-items:end;

    padding-bottom:42px;
    margin-bottom:48px;

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

.vx-team-section__header h2{
    margin:0;

    color:var(--team-ink);

    font-size:
        clamp(36px,4vw,57px);

    line-height:1.04;
    letter-spacing:-.035em;
}

.vx-team-section__intro{
    display:grid;

    grid-template-columns:
        45px 1fr;

    gap:20px;

    align-items:start;
}

.vx-team-section__number{
    color:var(--team-blue);

    font-size:12px;
    font-weight:800;
    letter-spacing:.1em;
}

.vx-team-section__intro p{
    margin:0;

    color:var(--team-muted);

    font-size:15px;
    line-height:1.7;
}


/* =========================================================
   GRID GENERAL
   ========================================================= */

.vx-team-grid{
    display:grid;

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

    gap:48px 28px;
}


/* =========================================================
   DIRECCIÓN GENERAL
   3 DIRECTIVOS
   ========================================================= */

.vx-team-grid--leadership{
    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:26px;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.vx-team-card{
    min-width:0;
}

.vx-team-card__media{
    position:relative;

    display:block;
    overflow:hidden;

    aspect-ratio:4 / 5;

    background:#dfe9ee;

    border-radius:18px;

    box-shadow:
        0 18px 42px
        rgba(8,35,52,.09);
}

.vx-team-card__media::after{
    content:"";

    position:absolute;

    inset:auto 0 0;

    height:38%;

    background:
        linear-gradient(
            transparent,
            rgba(4,25,38,.28)
        );

    pointer-events:none;
}

.vx-team-card__media img{
    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:top center;

    transition:
        transform .65s
        cubic-bezier(.2,.7,.2,1);
}

.vx-team-card:hover
.vx-team-card__media img{
    transform:scale(1.035);
}

.vx-team-card__arrow{
    position:absolute;
    z-index:2;

    right:18px;
    bottom:18px;

    width:46px;
    height:46px;

    display:grid;
    place-items:center;

    border-radius:50%;

    color:#fff;

    background:
        rgba(7,31,47,.84);

    border:
        1px solid
        rgba(255,255,255,.25);

    backdrop-filter:blur(8px);

    font-size:18px;

    transition:
        background .25s ease,
        transform .25s ease;
}

.vx-team-card:hover
.vx-team-card__arrow{
    background:var(--team-blue);

    transform:
        translate(2px,-2px);
}

.vx-team-card__content{
    padding:24px 5px 0;
}

.vx-team-card__content h3{
    margin:0 0 10px;

    font-size:23px;
    line-height:1.18;
    letter-spacing:-.02em;
}

.vx-team-card__content h3 a{
    color:var(--team-ink);
    text-decoration:none;
}

.vx-team-card__content p{
    min-height:50px;
    margin:0;

    color:var(--team-muted);

    font-size:14px;
    line-height:1.65;
}

.vx-team-card__profile{
    display:inline-flex;
    align-items:center;

    gap:8px;

    margin-top:18px;

    color:#087fb7;

    text-decoration:none;

    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.vx-team-card__profile span{
    font-size:16px;

    transition:
        transform .2s ease;
}

.vx-team-card__profile:hover span{
    transform:
        translateX(4px);
}


/* =========================================================
   TARJETAS DE DIRECCIÓN
   ========================================================= */

.vx-team-card--leadership{
    position:relative;

    overflow:hidden;

    background:#fff;

    border:
        1px solid
        var(--team-line);

    border-radius:20px;

    box-shadow:
        0 20px 55px
        rgba(7,31,47,.07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.vx-team-card--leadership:hover{
    transform:
        translateY(-5px);

    box-shadow:
        0 28px 65px
        rgba(7,31,47,.12);
}

.vx-team-card--leadership
.vx-team-card__media{
    aspect-ratio:4 / 4.5;

    border-radius:0;

    box-shadow:none;
}

.vx-team-card--leadership
.vx-team-card__content{
    padding:
        28px
        28px
        31px;
}

.vx-team-card__leadership-role{
    display:block;

    margin-bottom:10px;

    color:var(--team-blue);

    font-size:11px;
    line-height:1.4;
    font-weight:800;

    letter-spacing:.11em;

    text-transform:uppercase;
}

.vx-team-card--leadership
.vx-team-card__content h3{
    font-size:25px;
}

.vx-team-card--leadership
.vx-team-card__content p{
    min-height:68px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1100px){

    .vx-team-shell{
        width:
            min(
                100% - 48px,
                1320px
            );
    }

    .vx-team-hero
    .vx-team-shell{
        grid-template-columns:
            1fr
            220px;
    }

    .vx-team-grid,
    .vx-team-grid--leadership{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


@media (max-width:800px){

    .vx-team-shell{
        width:
            min(
                100% - 34px,
                1320px
            );
    }

    .vx-team-hero{
        padding:
            78px 0 72px;
    }

    .vx-team-hero
    .vx-team-shell{
        display:block;
    }

    .vx-team-hero__signature{
        display:none;
    }

    .vx-team-hero h1{
        font-size:
            clamp(
                42px,
                12vw,
                62px
            );
    }

    .vx-team-hero p{
        font-size:16px;
    }


    .vx-team-nav{
        position:relative;
        overflow-x:auto;
    }

    .vx-team-nav__inner{
        display:flex;
        min-width:max-content;
    }

    .vx-team-nav a{
        min-height:67px;
        padding:0 20px;
    }


    .vx-team-section{
        padding:
            75px 0 85px;
    }

    .vx-team-section__header{
        display:block;

        margin-bottom:36px;
    }

    .vx-team-section__intro{
        margin-top:25px;
    }


    .vx-team-grid,
    .vx-team-grid--leadership{
        grid-template-columns:1fr;
        gap:42px;
    }


    .vx-team-card--leadership
    .vx-team-card__media{
        aspect-ratio:4 / 5;
    }

}


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

    .vx-team-page *,
    .vx-team-page *::before,
    .vx-team-page *::after{
        scroll-behavior:auto !important;
        transition:none !important;
    }

}


/* =========================================================
   VIREXIS — TEAM PAGE V1.2 PREMIUM
   Refinamiento visual sobre V1.1
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES PREMIUM
   --------------------------------------------------------- */

.vx-team-page{
    --vx-premium-navy:#061c2c;
    --vx-premium-blue:#0d8dcc;
    --vx-premium-cyan:#42c4f2;

    --vx-premium-shadow:
        0 24px 65px rgba(7,31,47,.10),
        0 5px 18px rgba(7,31,47,.05);

    --vx-premium-shadow-hover:
        0 32px 80px rgba(7,31,47,.16),
        0 10px 28px rgba(7,31,47,.08);
}


/* =========================================================
   HERO — MÁS EDITORIAL
   ========================================================= */

.vx-team-hero{
    min-height:410px;

    display:flex;
    align-items:center;

    padding:
        96px 0
        92px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}


/* halo derecho */

.vx-team-hero::after{
    content:"";

    position:absolute;

    width:520px;
    height:520px;

    right:-120px;
    top:50%;

    transform:
        translateY(-50%);

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(39,171,226,.13) 0%,
            rgba(39,171,226,.04) 42%,
            transparent 69%
        );

    pointer-events:none;
}


.vx-team-hero__copy{
    position:relative;
}


/* pequeña línea arquitectónica */

.vx-team-hero__copy::after{
    content:"";

    display:block;

    width:72px;
    height:2px;

    margin-top:32px;

    background:
        linear-gradient(
            90deg,
            var(--vx-premium-cyan),
            transparent
        );
}


.vx-team-hero h1{
    max-width:780px;

    text-wrap:balance;

    text-shadow:
        0 12px 35px
        rgba(0,0,0,.12);
}


.vx-team-hero p{
    max-width:620px;

    font-size:16px;
    line-height:1.75;

    letter-spacing:.005em;
}


/* V decorativa */

.vx-team-hero__signature{
    position:relative;
}

.vx-team-hero__signature::before{
    content:"";

    position:absolute;

    width:250px;
    height:250px;

    border:
        1px solid
        rgba(86,196,240,.10);

    border-radius:50%;
}

.vx-team-hero__signature::after{
    content:"";

    position:absolute;

    width:330px;
    height:330px;

    border:
        1px solid
        rgba(86,196,240,.055);

    border-radius:50%;
}

.vx-team-hero__signature span{
    position:relative;
    z-index:2;

    font-size:235px;

    -webkit-text-stroke:
        1px rgba(104,208,249,.24);
}


/* =========================================================
   NAVEGADOR PREMIUM
   ========================================================= */

.vx-team-nav{
    top:0;

    box-shadow:
        0 10px 35px
        rgba(5,29,45,.04);
}


.vx-team-nav__inner{
    padding:10px 0;
}


.vx-team-nav a{
    min-height:62px;

    margin:0 4px;

    padding:
        0 20px;

    border:0 !important;

    border-radius:10px;

    font-size:13px;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}


.vx-team-nav a::after{
    left:20px;
    right:20px;

    height:2px;

    bottom:6px;

    border-radius:10px;
}


.vx-team-nav a:hover{
    background:
        linear-gradient(
            135deg,
            rgba(13,141,204,.07),
            rgba(66,196,242,.03)
        );

    transform:
        translateY(-1px);
}


.vx-team-nav small{
    width:22px;

    color:
        var(--vx-premium-blue);

    font-size:9px;
    font-weight:800;
}


/* =========================================================
   SECCIONES — MENOS ESPACIO MUERTO
   ========================================================= */

.vx-team-section{
    position:relative;

    padding:
        88px 0
        96px;
}


.vx-team-section__header{
    gap:90px;

    padding-bottom:32px;
    margin-bottom:40px;
}


.vx-team-section__header h2{
    max-width:680px;
}


.vx-team-section__intro p{
    max-width:440px;

    font-size:14px;
    line-height:1.75;
}


/* número más editorial */

.vx-team-section__number{
    position:relative;

    padding-top:2px;

    color:
        var(--vx-premium-blue);

    font-size:10px;
    font-weight:900;
}


/* =========================================================
   TARJETAS — SISTEMA PREMIUM
   ========================================================= */

.vx-team-grid{
    gap:
        38px
        22px;
}


.vx-team-card{
    position:relative;
}


.vx-team-card__media{
    border-radius:14px;

    border:
        1px solid
        rgba(9,82,119,.08);

    box-shadow:
        0 15px 36px
        rgba(6,30,45,.08);

    transform:
        translateZ(0);

    transition:
        box-shadow .35s ease,
        transform .35s ease,
        border-color .35s ease;
}


/* borde interior */

.vx-team-card__media::before{
    content:"";

    position:absolute;
    z-index:2;

    inset:7px;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius:9px;

    pointer-events:none;

    opacity:.65;
}


.vx-team-card:hover
.vx-team-card__media{

    transform:
        translateY(-5px);

    border-color:
        rgba(30,168,222,.22);

    box-shadow:
        var(--vx-premium-shadow-hover);
}


.vx-team-card__media::after{
    height:31%;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(3,23,35,.06) 35%,
            rgba(3,23,35,.38) 100%
        );
}


/* fotografía */

.vx-team-card__media img{
    transform:
        scale(1.001);

    transition:
        transform .75s
        cubic-bezier(.2,.7,.2,1);
}


.vx-team-card:hover
.vx-team-card__media img{

    transform:
        scale(1.025);
}


/* botón circular */

.vx-team-card__arrow{
    width:38px;
    height:38px;

    right:14px;
    bottom:14px;

    background:
        rgba(4,32,49,.86);

    border:
        1px solid
        rgba(255,255,255,.28);

    font-size:14px;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,.12);
}


.vx-team-card:hover
.vx-team-card__arrow{

    transform:
        translate(2px,-2px)
        rotate(3deg);

    background:
        var(--vx-premium-blue);
}


/* contenido */

.vx-team-card__content{
    padding:
        18px 4px 0;
}


.vx-team-card__content h3{
    margin-bottom:7px;

    font-size:19px;
    line-height:1.22;

    letter-spacing:-.018em;
}


.vx-team-card__content p{
    max-width:95%;

    min-height:42px;

    color:#687985;

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


.vx-team-card__profile{
    margin-top:13px;

    color:
        var(--vx-premium-blue);

    font-size:9px;
    letter-spacing:.12em;
}


.vx-team-card__profile span{
    font-size:13px;
}


/* =========================================================
   DIRECCIÓN GENERAL — EXECUTIVE COLLECTION
   ========================================================= */

.vx-team-section--direccion{
    background:
        linear-gradient(
            180deg,
            #f4f8fa 0%,
            #f7fafc 100%
        );
}


.vx-team-grid--leadership{
    gap:22px;
}


.vx-team-card--leadership{

    border:
        1px solid
        rgba(8,76,111,.10);

    border-radius:16px;

    background:#fff;

    box-shadow:
        var(--vx-premium-shadow);

    overflow:hidden;

    transform:
        translateZ(0);
}


.vx-team-card--leadership:hover{
    transform:
        translateY(-7px);

    box-shadow:
        var(--vx-premium-shadow-hover);
}


/* línea azul superior */

.vx-team-card--leadership::before{
    content:"";

    position:absolute;

    z-index:5;

    top:0;
    left:0;
    right:0;

    height:3px;

    background:
        linear-gradient(
            90deg,
            var(--vx-premium-blue),
            var(--vx-premium-cyan)
        );

    transform:
        scaleX(0);

    transform-origin:left;

    transition:
        transform .35s ease;
}


.vx-team-card--leadership:hover::before{
    transform:
        scaleX(1);
}


.vx-team-card--leadership
.vx-team-card__media{

    aspect-ratio:
        4 / 4.65;

    border:0;

    border-radius:0;

    box-shadow:none;
}


.vx-team-card--leadership
.vx-team-card__media::before{

    inset:8px;

    border-radius:8px;
}


.vx-team-card--leadership
.vx-team-card__content{

    padding:
        24px
        24px
        27px;
}


.vx-team-card__leadership-role{

    margin-bottom:8px;

    color:
        var(--vx-premium-blue);

    font-size:9px;
    letter-spacing:.12em;
}


.vx-team-card--leadership
.vx-team-card__content h3{

    font-size:20px;
}


.vx-team-card--leadership
.vx-team-card__content p{

    min-height:52px;

    font-size:11px;
    line-height:1.55;
}


/* =========================================================
   EQUIPO MÉDICO — 3 × 3 LIMPIO
   ========================================================= */

.vx-team-section--medicos{
    background:#fff;
}


.vx-team-section--medicos
.vx-team-grid{

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


/* =========================================================
   RADIOLOGÍA — DOS TARJETAS MÁS IMPORTANTES
   ========================================================= */

.vx-team-section--radiologia{

    background:
        linear-gradient(
            180deg,
            #f4f8fa 0%,
            #f1f7fa 100%
        );
}


.vx-team-section--radiologia
.vx-team-grid{

    grid-template-columns:
        repeat(
            2,
            minmax(0,360px)
        );

    gap:26px;

    justify-content:start;
}


.vx-team-section--radiologia
.vx-team-card__media{

    aspect-ratio:
        4 / 4.7;
}


.vx-team-section--radiologia
.vx-team-card__content h3{

    font-size:20px;
}


/* =========================================================
   REHABILITACIÓN — 3 + 2 CENTRADO
   ========================================================= */

.vx-team-section--rehabilitacion{
    background:#fff;
}


.vx-team-section--rehabilitacion
.vx-team-grid{

    grid-template-columns:
        repeat(
            6,
            minmax(0,1fr)
        );

    gap:
        38px
        22px;
}


/* primera fila: 3 */

.vx-team-section--rehabilitacion
.vx-team-card:nth-child(1){

    grid-column:
        1 / span 2;
}

.vx-team-section--rehabilitacion
.vx-team-card:nth-child(2){

    grid-column:
        3 / span 2;
}

.vx-team-section--rehabilitacion
.vx-team-card:nth-child(3){

    grid-column:
        5 / span 2;
}


/* segunda fila: 2 centradas */

.vx-team-section--rehabilitacion
.vx-team-card:nth-child(4){

    grid-column:
        2 / span 2;
}

.vx-team-section--rehabilitacion
.vx-team-card:nth-child(5){

    grid-column:
        4 / span 2;
}


/* =========================================================
   DETALLE DECORATIVO EN LOS TÍTULOS
   ========================================================= */

.vx-team-section__header > div:first-child{
    position:relative;
}


.vx-team-section__header > div:first-child::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-33px;

    width:54px;
    height:2px;

    background:
        linear-gradient(
            90deg,
            var(--vx-premium-blue),
            var(--vx-premium-cyan)
        );
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1100px){

    .vx-team-section--medicos
    .vx-team-grid{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .vx-team-grid--leadership{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .vx-team-section--rehabilitacion
    .vx-team-grid{

        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .vx-team-section--rehabilitacion
    .vx-team-card:nth-child(n){

        grid-column:auto;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:800px){

    .vx-team-hero{

        min-height:0;

        padding:
            68px 0
            64px;
    }


    .vx-team-hero__copy::after{
        margin-top:24px;
    }


    .vx-team-section{

        padding:
            68px 0
            76px;
    }


    .vx-team-section__header{

        padding-bottom:27px;

        margin-bottom:32px;
    }


    .vx-team-section__header
    > div:first-child::after{

        bottom:-28px;

        width:42px;
    }


    .vx-team-section--medicos
    .vx-team-grid,

    .vx-team-grid--leadership,

    .vx-team-section--radiologia
    .vx-team-grid,

    .vx-team-section--rehabilitacion
    .vx-team-grid{

        grid-template-columns:1fr;

        max-width:none;

        gap:36px;
    }


    .vx-team-section--rehabilitacion
    .vx-team-card:nth-child(n){

        grid-column:auto;
    }


    .vx-team-card__media{

        border-radius:14px;
    }


    .vx-team-card__content h3{

        font-size:20px;
    }


    .vx-team-nav__inner{

        padding:
            7px 0;
    }


    .vx-team-nav a{

        min-height:58px;

        margin:0 2px;

        padding:
            0 17px;
    }

}


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

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

    .vx-team-card,
    .vx-team-card__media,
    .vx-team-card__media img,
    .vx-team-card__arrow,
    .vx-team-card--leadership::before{

        transition:none !important;

        transform:none !important;
    }

}


/* =========================================================
   VIREXIS — UNIDAD DE LASERTERAPIA V1
   ========================================================= */

.vx-laser-unit{
    position:relative;
    overflow:hidden;

    padding:
        0 0 100px;

    background:#fff;
}


.vx-laser-unit__frame{
    position:relative;
    overflow:hidden;

    padding:
        58px
        54px
        54px;

    border:
        1px solid
        rgba(12,113,170,.13);

    border-radius:22px;

    background:
        radial-gradient(
            circle at 92% 0%,
            rgba(53,189,239,.10),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #f8fbfd 0%,
            #f2f8fb 100%
        );

    box-shadow:
        0 24px 65px
        rgba(5,40,61,.07);
}


/* línea tecnológica superior */

.vx-laser-unit__frame::before{
    content:"";

    position:absolute;

    top:0;
    left:54px;

    width:118px;
    height:3px;

    background:
        linear-gradient(
            90deg,
            #0c8dce,
            #42c7f4
        );
}


/* halo técnico */

.vx-laser-unit__frame::after{
    content:"";

    position:absolute;

    width:390px;
    height:390px;

    right:-210px;
    top:-210px;

    border:
        1px solid
        rgba(22,150,208,.08);

    border-radius:50%;

    box-shadow:
        0 0 0 55px
        rgba(22,150,208,.025);

    pointer-events:none;
}


/* HEADER */

.vx-laser-unit__header{
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(300px,470px);

    align-items:end;

    gap:70px;

    padding-bottom:30px;

    border-bottom:
        1px solid
        rgba(10,92,135,.12);
}


.vx-laser-unit__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-bottom:14px;

    color:#0d8dcc;

    font-size:10px;
    font-weight:800;
    letter-spacing:.16em;

    text-transform:uppercase;
}


.vx-laser-unit__eyebrow::before{
    content:"";

    width:27px;
    height:1px;

    background:currentColor;
}


.vx-laser-unit h2{
    max-width:620px;

    margin:0;

    color:#102536;

    font-size:
        clamp(34px,3.4vw,52px);

    line-height:1.02;
    letter-spacing:-.04em;
}


.vx-laser-unit h2 em{
    color:#0d8dcc;

    font-style:normal;
    font-weight:400;
}


.vx-laser-unit__description{
    display:grid;

    grid-template-columns:
        42px 1fr;

    gap:18px;

    align-items:start;
}


.vx-laser-unit__index{
    padding-top:3px;

    color:#0d8dcc;

    font-size:9px;
    font-weight:900;
    letter-spacing:.10em;
}


.vx-laser-unit__description p{
    margin:0;

    color:#647783;

    font-size:13px;
    line-height:1.7;
}


/* DISCIPLINES */

.vx-laser-unit__disciplines{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;

    gap:14px;

    padding:
        22px 0 27px;

    color:#667986;

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

    text-transform:uppercase;
}


.vx-laser-unit__disciplines i{
    width:4px;
    height:4px;

    border-radius:50%;

    background:#28aee7;
}


/* GRID */

.vx-laser-unit__grid{
    position:relative;
    z-index:2;

    display:grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0,1fr)
        );

    gap:20px;
}


/*
 * Dentro de la Unidad las tarjetas son ligeramente
 * más compactas que las del directorio general.
 */

.vx-laser-unit
.vx-team-card__media{
    aspect-ratio:
        4 / 5;

    border-radius:13px;
}


.vx-laser-unit
.vx-team-card__content{
    padding-top:16px;
}


.vx-laser-unit
.vx-team-card__content h3{
    font-size:17px;
}


.vx-laser-unit
.vx-team-card__content p{
    min-height:38px;

    font-size:11px;
}


.vx-laser-unit
.vx-team-card__profile{
    margin-top:11px;
}


/* marca técnica muy sutil */

.vx-laser-unit__signature{
    position:absolute;

    right:28px;
    bottom:-17px;

    pointer-events:none;

    opacity:.035;
}


.vx-laser-unit__signature span{
    color:#06283d;

    font-size:92px;
    line-height:1;

    font-weight:900;
    letter-spacing:-.06em;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1100px){

    .vx-laser-unit__grid{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:800px){

    .vx-laser-unit{
        padding-bottom:76px;
    }


    .vx-laser-unit__frame{
        padding:
            42px
            22px
            38px;

        border-radius:18px;
    }


    .vx-laser-unit__frame::before{
        left:22px;
        width:82px;
    }


    .vx-laser-unit__header{
        display:block;

        padding-bottom:25px;
    }


    .vx-laser-unit__description{
        margin-top:24px;
    }


    .vx-laser-unit__disciplines{
        flex-wrap:wrap;

        gap:
            9px
            12px;

        padding:
            18px 0 24px;
    }


    .vx-laser-unit__grid{
        grid-template-columns:1fr;

        gap:34px;
    }


    .vx-laser-unit
    .vx-team-card__content h3{
        font-size:20px;
    }


    .vx-laser-unit__signature{
        display:none;
    }

}

/* =========================================================
   VIREXIS — TEAM HERO ISOTIPO
   Sustituye visualmente el monograma anterior.
   ========================================================= */

.vx-team-hero__signature{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
}

.vx-team-hero__signature .vx-team-hero__isotipo{
    display:block;
    width:46%;
    height:46%;
    max-width:190px;
    max-height:190px;
    object-fit:contain;
    object-position:center;
    opacity:.16;
    filter:none;
}

/* Tablet */
@media (max-width:1050px){
    .vx-team-hero__signature .vx-team-hero__isotipo{
        width:42%;
        height:42%;
        max-width:160px;
        max-height:160px;
    }
}

/* Mobile */
@media (max-width:760px){
    .vx-team-hero__signature .vx-team-hero__isotipo{
        width:38%;
        height:38%;
        max-width:120px;
        max-height:120px;
        opacity:.13;
    }
}



/* =========================================================
   VIREXIS — TEAM HERO PREMIUM FINAL
   Isotipo vertical integrado / sin círculos
   ========================================================= */

.vx-team-hero{
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(
            ellipse 55% 95% at 82% 46%,
            rgba(28,126,214,.24) 0%,
            rgba(13,87,157,.15) 36%,
            rgba(5,49,92,.05) 62%,
            transparent 78%
        ),
        linear-gradient(
            105deg,
            #03192f 0%,
            #042441 38%,
            #06365f 69%,
            #074579 100%
        ) !important;
}


/* Resplandor ambiental azul detrás del isotipo */

.vx-team-hero::after{
    content:"";
    position:absolute;
    z-index:0;

    width:620px;
    height:620px;

    right:-20px;
    top:50%;

    transform:translateY(-50%);

    background:
        radial-gradient(
            ellipse at center,
            rgba(35,145,235,.22) 0%,
            rgba(20,105,187,.12) 38%,
            transparent 72%
        );

    filter:blur(26px);

    pointer-events:none;
}


/* Mantener contenido por encima */

.vx-team-hero > .vx-team-shell{
    position:relative;
    z-index:2;
}


/* =========================================================
   ISOTIPO
   ========================================================= */

.vx-team-hero__signature{
    position:absolute !important;

    z-index:1 !important;

    top:0 !important;
    right:-15px !important;
    bottom:0 !important;
    left:auto !important;

    width:42% !important;
    height:100% !important;

    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;

    margin:0 !important;
    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;

    background:none !important;

    overflow:hidden !important;

    opacity:1 !important;

    pointer-events:none !important;
}


/* Elimina los círculos decorativos anteriores */

.vx-team-hero__signature::before,
.vx-team-hero__signature::after{
    content:none !important;
    display:none !important;
}


/* Isotipo maestro */

.vx-team-hero__signature .vx-team-hero__isotipo{
    position:absolute !important;

    display:block !important;

    width:auto !important;
    height:94% !important;

    max-width:none !important;
    max-height:none !important;

    right:3% !important;
    bottom:-3% !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    opacity:.29 !important;

    /*
     * Convertimos el blanco del PNG hacia un azul frío.
     * Sin tonos cyan-verde.
     */
    filter:
        brightness(.88)
        sepia(.10)
        saturate(2.25)
        hue-rotate(168deg)
        drop-shadow(0 0 26px rgba(38,143,230,.20))
        drop-shadow(0 0 60px rgba(22,105,190,.12))
        !important;

    transform:none !important;

    mix-blend-mode:screen;

    pointer-events:none;
}


/* =========================================================
   COPY — GARANTIZA QUE EL ISOTIPO NO COMPRIMA EL TEXTO
   ========================================================= */

.vx-team-hero__copy{
    position:relative;
    z-index:5;

    width:64% !important;
    max-width:780px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1050px){

    .vx-team-hero__signature{
        width:40% !important;
        right:-4% !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:82% !important;
        right:0 !important;
        bottom:-1% !important;
        opacity:.22 !important;
    }

    .vx-team-hero__copy{
        width:68% !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:760px){

    .vx-team-hero{
        background:
            radial-gradient(
                ellipse 90% 60% at 80% 65%,
                rgba(23,115,200,.17),
                transparent 70%
            ),
            linear-gradient(
                145deg,
                #03192f 0%,
                #052947 58%,
                #073d6b 100%
            ) !important;
    }

    .vx-team-hero::after{
        width:360px;
        height:360px;
        right:-150px;
        top:60%;
    }

    .vx-team-hero__signature{
        width:48% !important;
        height:82% !important;

        top:auto !important;
        right:-13% !important;
        bottom:0 !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:72% !important;

        right:0 !important;
        bottom:-2% !important;

        opacity:.10 !important;

        filter:
            brightness(.88)
            sepia(.10)
            saturate(2)
            hue-rotate(168deg)
            !important;
    }

    .vx-team-hero__copy{
        width:100% !important;
        max-width:none !important;
    }

}


/* =========================================================
   VIREXIS — TEAM HERO / ISOTIPO FINAL
   ========================================================= */

/* Contenedor: ocupa todo el lateral derecho */
.vx-team-hero__signature{
    position:absolute !important;
    z-index:1 !important;

    top:0 !important;
    right:-4.5% !important;
    bottom:0 !important;
    left:auto !important;

    width:48% !important;
    height:100% !important;

    margin:0 !important;
    padding:0 !important;

    display:block !important;

    border:0 !important;
    border-radius:0 !important;
    background:none !important;

    overflow:hidden !important;
    pointer-events:none !important;
}

/* Eliminar definitivamente decoración circular */
.vx-team-hero__signature::before,
.vx-team-hero__signature::after{
    content:none !important;
    display:none !important;
}

/* Isotipo grande: nace debajo del Hero y sube */
.vx-team-hero__signature .vx-team-hero__isotipo{
    position:absolute !important;

    width:auto !important;
    height:112% !important;

    max-width:none !important;
    max-height:none !important;

    right:-1% !important;
    bottom:-13% !important;
    left:auto !important;
    top:auto !important;

    display:block !important;

    object-fit:contain !important;
    object-position:right bottom !important;

    opacity:.30 !important;

    transform:none !important;

    /*
       Azul frío integrado.
       El isotipo conserva presencia sin parecer
       una imagen blanca superpuesta.
    */
    filter:
        brightness(.78)
        sepia(.10)
        saturate(2.15)
        hue-rotate(168deg)
        drop-shadow(0 0 24px rgba(44,150,235,.18))
        drop-shadow(0 0 70px rgba(25,112,205,.16))
        !important;

    mix-blend-mode:screen !important;

    pointer-events:none !important;
}

/* Glow azul premium detrás del símbolo */
.vx-team-hero::after{
    content:"" !important;

    position:absolute !important;
    z-index:0 !important;

    width:760px !important;
    height:760px !important;

    right:-110px !important;
    top:48% !important;

    transform:translateY(-50%) !important;

    background:
        radial-gradient(
            ellipse at center,
            rgba(35,137,230,.23) 0%,
            rgba(20,98,181,.13) 38%,
            rgba(8,60,116,.05) 59%,
            transparent 74%
        ) !important;

    filter:blur(30px) !important;

    pointer-events:none !important;
}

/* Texto siempre por encima */
.vx-team-hero__copy{
    position:relative !important;
    z-index:5 !important;

    width:58% !important;
    max-width:760px !important;
}

/* Tablet */
@media (max-width:1050px){

    .vx-team-hero__signature{
        width:47% !important;
        right:-7% !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:98% !important;
        bottom:-8% !important;
        opacity:.23 !important;
    }

    .vx-team-hero__copy{
        width:62% !important;
    }
}

/* Mobile: marca ambiental, nunca compite con el copy */
@media (max-width:760px){

    .vx-team-hero__signature{
        width:72% !important;
        height:72% !important;

        top:auto !important;
        right:-32% !important;
        bottom:0 !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:92% !important;
        right:0 !important;
        bottom:-7% !important;

        opacity:.09 !important;
    }

    .vx-team-hero__copy{
        width:100% !important;
        max-width:none !important;
    }
}


/* VIREXIS — ajuste definitivo de posición del isotipo */
@media (min-width:1051px){

    .vx-team-hero__signature{
        width:52% !important;
        right:-9% !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:132% !important;
        right:-2% !important;
        bottom:-25% !important;

        opacity:.27 !important;

        object-position:right bottom !important;
    }
}


/* =========================================================
   VIREXIS — ISOTIPO HERO / COMPOSICIÓN FINAL DESKTOP
   Grande + recorte inferior y lateral derecho
   ========================================================= */

@media (min-width:1051px){

    .vx-team-hero__signature{
        width:56% !important;
        right:-16% !important;
        top:0 !important;
        bottom:0 !important;
        height:100% !important;
        overflow:hidden !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:148% !important;
        width:auto !important;

        right:-2% !important;
        bottom:-34% !important;

        opacity:.25 !important;

        object-fit:contain !important;
        object-position:right bottom !important;
    }
}


/* =========================================================
   VIREXIS — ISOTIPO HERO
   Corrección: base completa visible
   ========================================================= */

@media (min-width:1051px){

    .vx-team-hero__signature .vx-team-hero__isotipo{
        height:148% !important;
        right:-2% !important;

        /* Antes -34%: producía el corte inferior */
        bottom:-22% !important;
    }

}


/* =========================================================
   VIREXIS — ISOTIPO HERO / FIT VERTICAL DEFINITIVO
   Isotipo completo arriba y abajo
   Mantiene recorte lateral derecho
   ========================================================= */

@media (min-width:1051px){

    .vx-team-hero__signature{
        top:0 !important;
        bottom:0 !important;
        right:-16% !important;

        width:56% !important;
        height:100% !important;

        overflow:hidden !important;
    }

    .vx-team-hero__signature .vx-team-hero__isotipo{
        position:absolute !important;

        width:auto !important;
        height:108% !important;

        max-width:none !important;
        max-height:none !important;

        top:50% !important;
        bottom:auto !important;

        right:-2% !important;
        left:auto !important;

        transform:translateY(-50%) !important;

        object-fit:contain !important;
        object-position:right center !important;
    }

}

