/*====================================================
                    VARIABLES
=====================================================*/

:root{

    /* Colores Corporativos */

    --primary: #133066;
    --primary-light: #3960eb;
    --secondary: #FB822A;
    --green: #4CB050;

    /* Neutros */

    --dark: #101828;
    --text: #667085;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --border: #E4E7EC;

    /* Sombras */

    --shadow-sm: 0 5px 15px rgba(0,0,0,.08);
    --shadow-md: 0 12px 30px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.18);

    /* Bordes */

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    /* Transiciones */

    --transition: .35s ease;

    /* Layout */

    --container: 1400px;
    --header-height: 70px;
    --logo-height:80px; /*Tamaño del logo*/

    /*Tipografía*/
    --font-primary:'Manrope',sans-serif;
}

/*====================================================
                    RESET
=====================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family: "Manrope", sans-serif;
    color:var(--dark);
    background:var(--white);
    line-height:1.6;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/*====================================================
                CLASES GENERALES
=====================================================*/

.container{
    width:min(92%, var(--container));
    margin:auto;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    padding:14px 28px;
    border-radius:999px;
    font-weight:600;
    transition:var(--transition);
}

.btn-primary{
    background:var(--green);
    color:var(--white);
}

.btn-primary:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
}

/*====================================================
                    HEADER
=====================================================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 20, 40, 0.80);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    box-sizing: border-box;
    transition: var(--transition); 
}

.header .container {
    width: 100%;
    max-width: 1200px; /* Asegúrate de que coincida con el ancho de tu Hero */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
/*================= NAVBAR ==========================*/
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--header-height);
    transition: var(--transition);
}

.logo img {
    height: var(--logo-height);
    width: auto;
    transition: var(--transition);
}

/*====================================================
        ALINEACIÓN Y COLORES DEL LOGO
=====================================================*/

/* Convierte el logo en un contenedor horizontal */
.logo {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio de separación exacto entre el globo y las letras */
    text-decoration: none; /* Quita el subrayado del enlace */
}

/* Contenedor vertical para los textos del logo */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2; /* Junta las dos líneas de texto de forma estética */
}

/* Estilo para la palabra "Grupo" */
.logo-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7); /* Blanco sutilmente transparente */
    font-weight: 400;
}

/* Estilo para "Blue Balloon" */
.logo-text strong {
    font-size: 1.15rem;
    color: #ffffff; /* Blanco brillante e independiente del resto de la web */
    font-weight: 700;
    letter-spacing: 0.5px;
}

/*================= MENÚ ========================*/
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

/* -------------- LÍNEA ANIMADA -----------*/
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    background: var(--primary-light);
    transition: var(--transition);
    border-radius: 50px;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/*====================================================
        BOTÓN CON BORDE BLANCO PERSONALIZADO
=====================================================*/
.btn-outline-white {
    /* 1. Usamos flexbox para centrar el texto con precisión quirúrgica */
    display: inline-flex;
    align-items: center;      
    justify-content: center;  
    
    /* 2. Ajusta la altura fija para que coincida exactamente con tu otro botón */
    height: 48px;         
    padding: 0 28px;         
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #ffffff;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    box-sizing: border-box; 
}

/* Efecto al pasar el cursor (Hover) */
.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary);
}


/* ---------------- MENÚ HAMBUERGUESA ----------*/
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 20px;
    background: var(--primary);
    transition: var(--transition);
}

/*====================================================
            HEADER SCROLL
=====================================================*/

.header.header-scroll {
   
    height: var(--header-height); 
    box-shadow: var(--shadow-sm);
    background: rgba(10, 20, 40, 0.90);/* Un poco más sólido al bajar */
}

/* logo estable */
.header.header-scroll .logo img {
    height: var(--logo-height);
}
/*====================================================
            ANIMACIÓN - BOTÓN HAMBURGUESA
=====================================================*/


.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/*.menu-toggle span{
    transition:var(--transition);
}
*/
/*------- RESP TABLET ------------*/

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 320px;
        height: calc(100vh - var(--header-height));
        background: rgba(10, 20, 40, 0.80);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar > a.btn {
        display: none;
    }
}

/*------- CELULAR --------*/

@media (max-width:768px){
    
    :root{
        --header-height:80px;
    }
    .logo img{
        height:60px;
    }
    .nav-menu{
        width:100%;
    }
}

/*-------- CELULAR PEQUEÑO -------*/

@media (max-width:570px){
.container{
    width:94%;
}
}


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

.hero{
    position:relative;
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    isolation:isolate;
    background:var(--primary);
}

/*====================
        VIDEO
=====================*/

.hero-video,.hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-2;
}

/*====================
        OVERLAY
=====================*/

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(10,20,55,.88) 0%,rgba(12,30,70,.72) 45%,rgba(10,20,55,.88) 100%);
    z-index:-2;
}

/*====================
        CONTENEDOR
=====================*/

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: flex-start;      
    gap: 4rem;
    min-height: 100vh;
    padding-top: 180px;           
    padding-bottom: 70px;
    box-sizing: border-box; 
    transform: translateY(90px);      
}


/*====================
    INFORMACIÓN
=====================*/
.hero-content{
    max-width:600px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    color:var(--white);
    gap:1.3rem;
}

/*====================
        TITULO
=====================*/

.hero-title{
    font-size:3.5rem;
    line-height:1.2;
    font-weight:800;
    max-width:560px;
    margin-bottom:1.5rem;
    letter-spacing:-2px;
}

.hero-title span{
    color:var(--secondary);
}

/*====================
    DESCRIPCIÓN
=====================*/

.hero-description{
    max-width:560px;
    font-size:1rem;
    line-height:1.5;
    color:rgba(255,255,255,.90);
    margin-bottom:0;
}

/*====================
        BOTONES
=====================*/

.hero-buttons{
    display:flex;
    gap:1rem;
    margin-top:.8rem;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    min-width:210px;
    justify-content:center;
}

/*====================
    SCROLL INDICATOR
=====================*/

.scroll-indicator{
    position:absolute;
    left:50%;
    bottom:30px;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    color:var(--white);
    text-decoration:none;
    z-index:5;
}

.mouse{
    width:28px;
    height:48px;
    border:2px solid rgba(255,255,255,.45);
    border-radius:30px;
    display:flex;
    justify-content:center;
    padding-top:8px;
}

.wheel{
    width:4px;
    height:8px;
    border-radius:999px;
    background:var(--white);
}

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

.hero-network{
    position:relative;
    width:430px;
    height:430px;
    margin: 0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
}

/*====================
        SVG
=====================*/

.network-svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:visible;
}

.network-svg line{
    stroke:rgba(255,255,255,.18);
    stroke-width:3;
    stroke-linecap:round;
    fill:none;
}
/*====================
    PARTICLES
=====================*/

/*====================
        PARTICLES
=====================*/

.particle{
    fill:#ffffff;
    opacity:0;
    r:6;
    filter:
        drop-shadow(0 0 6px #ffffff)
        drop-shadow(0 0 12px #6ec7ff)
        drop-shadow(0 0 22px #49a8ff);
}

/*====================
        RINGS - ONDAS
=====================*/

/*====================
      ONDAS
=====================*/

.network-rings{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    pointer-events:none;
}

.ring{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) scale(.7);
    border:1px solid rgba(61,133,255,.25);
    border-radius:50%;
    opacity:0;
    animation:ringPulse 3.8s linear infinite;
}

.ring-1{
    width:170px;
    height:170px;
    animation-delay:0s;
}

.ring-2{
    width:250px;
    height:250px;
    animation-delay:1.2s;
}

.ring-3{
    width:330px;
    height:330px;
    animation-delay:2.4s;
}
@keyframes ringPulse{

    0%{
        transform:translate(-50%,-50%) scale(.75);
        opacity:0;
    }

    15%{
        opacity:.45;
    }

    100%{
        transform:translate(-50%,-50%) scale(1.18);
        opacity:0;
    }
}

/*====================
        CORE - NUCLEO
=====================*/

.network-core{
    position:absolute;
    width:130px;
    height:130px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:2px solid rgba(46,76,189,.80);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    box-shadow:
    0 0 40px rgba(46,76,189,.25),
    inset 0 0 30px rgba(255,255,255,.08);
    animation:coreBreath 5s ease-in-out infinite;
}
@keyframes coreBreath{

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.03);
    }
}

.network-core small{
    color:rgba(255,255,255,.70);
    font-size:.7rem;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.network-core h2{
    margin-top:3px;
    color:white;
    font-size:1.2rem;
    line-height:1;
}
.network-core.pulse{
    box-shadow:
        0 0 20px rgba(73,168,255,.5),
        0 0 45px rgba(73,168,255,.6),
        0 0 90px rgba(73,168,255,.35);
    transition:.4s;
}
/*====================
    COMPANY CARD
=====================*/

.company-card{
    position:absolute;
    width:155px;
    min-height:100px;
    border-radius:24px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.15);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:10px;
    text-align:center;
    transition:var(--transition);
    cursor:pointer;
    transition:
        box-shadow .35s ease,
        border-color .35s ease;
}

/*====================
        HOVER
=====================*/
.card-inner{

    width:100%;
    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    animation:floatCard 4s ease-in-out infinite;

    transition:transform .35s ease;

}
/* Arriba */
.company-top:hover .card-inner{

    transform:scale(1.05);

}

/* Abajo */
.company-bottom:hover .card-inner{

    transform:scale(1.05);

}

/* Izquierda */
.company-left:hover .card-inner{
    transform:translateY(-10px) scale(1.05);
}

/* Derecha */
.company-right:hover .card-inner{
    transform:translateY(-10px) scale(1.05);
}

/* Glow para todas */
.company-card:hover{
    border-color:#49a8ff;
    box-shadow:
        0 0 35px rgba(73,168,255,.35),
        0 18px 35px rgba(0,0,0,.35);
}
.company-card:hover .card-inner{
    animation-play-state:paused;
}

.company-card img{
    width:46px;
    height:46px;
    object-fit:contain;
}

.company-card h3{
    color:white;
    font-size:1.05rem;
}

.company-card span{
    color:rgba(255,255,255,.75);
    font-size:.8rem;
}

/*==================== POSICIONES =====================*/
.card-inner{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    animation:floatCard 4s ease-in-out infinite;
}
/*-------- ARRIBA -------------*/
.company-top{
    top:10px;
    left:50%;
    transform:translateX(-50%);
}

/*--------- IZQUIERDA ---------*/
.company-left{
    left:-30px;
    top:50%;
    transform:translateY(-50%);
}

/*----------- DERECHA --------*/
.company-right{
    right:-35px;
    top:50%;
    transform:translateY(-50%);
}

/*----------- ABAJO ------------*/
.company-bottom{
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
}
.company-top .card-inner{
    animation-delay:0s;
}

.company-left .card-inner{
    animation-delay:.8s;
}

.company-right .card-inner{
    animation-delay:1.6s;
}

.company-bottom .card-inner{
    animation-delay:2.4s;
}

@keyframes floatCard{

    0%,100%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.025);
    }
}


/*====================================================
                    ABOUT
=====================================================*/

.about{
    padding:70px 0 120px;
    background:#ffffff;
    position:relative;
    overflow:hidden;
}

/*====================================================
                SECTION HEADER
=====================================================*/

.section-header{
    max-width:850px;
    margin:0 auto 5rem;
    text-align:center;
}

.section-tag{
    display:inline-block;
    padding:.55rem 1.2rem;
    border-radius:999px;
    background:rgba(73,168,255,.08);
    color:var(--primary);
    font-weight:700;
    font-size:.9rem;
    letter-spacing:.6px;
    margin-bottom:1.2rem;
}


/*====================================================
                    STATS GRID
=====================================================*/

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:2rem;
}

/*====================================================
                    CARD
=====================================================*/

.stat-card{
    background:#fff;
    border-radius:22px;
    padding:2.8rem 2rem;
    text-align:center;
    border:1px solid #edf1f6;
    transition:.35s;
    position:relative;
    overflow:hidden;
}

/* Barra superior */

.stat-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg, #ece2cf, #deb873 );
    transform:scaleX(0);
    transform-origin:left;
    transition:.4s;
}

/* Hover */

.stat-card:hover{
    transform:translateY(-10px);
    box-shadow:
        0 18px 45px rgba(0,0,0,.08);
}

.stat-card:hover::before{
    transform:scaleX(1);
}

/*====================================================
                    NUMBER
=====================================================*/

.counter{
    font-size:3.2rem;
    font-weight:800;
    color:var(--primary);
    margin-bottom:.7rem;
    line-height:1;
}

/*====================================================
                    TEXT
=====================================================*/

.stat-card span{
    display:block;
    color:#5f6b80;
    font-size:1rem;
    line-height:1.6;
    font-weight:600;
}

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

@media(max-width:992px){
    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .about{
        padding:90px 0;
    }

    .section-header{
        margin-bottom:3rem;
    }

    .section-title{
        font-size:2.2rem;
    }

    .section-description{
        font-size:1rem;
    }
}

@media(max-width:480px){
    .stats-grid{
        grid-template-columns:1fr;
    }

    .stat-card{
        padding:2.2rem 1.5rem;
    }

    .counter{
        font-size:2.8rem;
    }
}

/*====================================================
                ECOSYSTEM
=====================================================*/

.ecosystem{
    background:#081b3d;
    color:white;
    overflow:hidden;
    padding-top:70px;
}

.ecosystem .section-header{
    max-width:850px;
    margin:0 auto 40px;
    text-align:center;
}

/*====================================================
                WRAPPER
=====================================================*/

.ecosystem-wrapper{
    display:flex;
    height:82vh;
    min-height:650px;
    border-radius:28px;
    overflow:hidden;
}

/*====================================================
                CARD
=====================================================*/

.eco-card{
    position:relative;
    flex:1;
    overflow:hidden;
    cursor:pointer;
    transition:flex .75s cubic-bezier(.2,.8,.2,1);
    display:flex;
    align-items:flex-end;
}

/* tarjeta activa */
.eco-card.active{
    flex:4;
}

/*====================================================
                IMAGE
=====================================================*/

.eco-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(1.05);
    transition:
        transform 1.2s ease,
        filter .8s ease;
}

.eco-card.active img{
    transform:scale(1.18);
}

/*====================================================
                OVERLAY
=====================================================*/

.eco-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        180deg,
        rgba(6,18,40,.12),
        rgba(6,18,40,.45),
        rgba(6,18,40,.92)
    );
    z-index:1;
}

/*====================================================
                CONTENT
=====================================================*/

.eco-content{
    position:relative;
    z-index:5;
    padding:65px;
    width:100%;
    transform:translateY(45px);
    opacity:0;
    transition:
        transform .7s ease,
        opacity .7s ease;
}

.eco-card.active .eco-content{
    opacity:1;
    transform:translateY(0);
}

/*====================================================
                LABEL
=====================================================*/

.eco-label{
    display:inline-flex;
    padding:10px 22px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(18px);
    margin-bottom:30px;
    font-weight:600;
    letter-spacing:.05em;
}

/*====================================================
                TITLE
=====================================================*/

.eco-content h3{
    font-size:3rem;
    margin-bottom:18px;
    font-weight:800;
    line-height:1.1;
}

/*====================================================
                TEXT
=====================================================*/

.eco-content p{
    max-width:520px;
    font-size:1.15rem;
    color:rgba(255,255,255,.86);
    line-height:1.8;
    margin-bottom:35px;
}

/*====================================================
                LIST
=====================================================*/

.eco-content ul{
    display:grid;
    grid-template-columns:repeat(2,auto);
    gap:14px 45px;
    margin-bottom:45px;
}

.eco-content li{
    list-style:none;
    position:relative;
    padding-left:20px;
    color:white;
}

.eco-content li::before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent);
    position:absolute;
    left:0;
    top:11px;
}

.jimtech{
    --accent:var(--secondary);
}

.green{
    --accent:var(--green);
}

.blue{
    --accent:var(--primary-light);
}

.future{
    --accent:#6c2ea9;
}
/*====================================================
                BUTTON
=====================================================*/

.eco-button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    color:white;
    font-weight:700;
    text-decoration:none;
    transition:.35s;
}

.eco-button::after{
    content:"→";
    transition:.35s;
    color:var(--accent);
}

.eco-button:hover{
    color:var(--accent);
}

.eco-button:hover::after{
    transform:translateX(8px);
}

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

.eco-card:not(.active) .eco-content{
    position:absolute;
    left:35px;
    bottom:45px;
    opacity:1;
    transform:none;
    padding:0;
}

.eco-card:not(.active) p,
.eco-card:not(.active) ul,
.eco-card:not(.active) .eco-button{
    display:none;
}

.eco-card:not(.active) h3{
    font-size:1.8rem;
}

.eco-card:not(.active) .eco-label{
    margin-bottom:15px;
}

/*====================================================
                HOVER
=====================================================*/

.eco-card:hover img{
    transform:scale(1.12);
}

.eco-card.active:hover img{
    transform:scale(1.22);
}
/*====================================================
        CÓMO TRANSFORMAMOS EMPRESAS
=====================================================*/

.process {
    position: relative;
    padding: 70px 0;
    background: #ffffff;
    overflow: hidden;
    font-family: "Manrope", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*====================================================
                HEADER (Centrado y Limpio)
=====================================================*/

.process .section-header {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    color:#112a58;
    margin: 0 0 16px 0;
    font-weight: 730;
}
.section-title1 {
    font-size: 2.3rem;
    color:#f0f1f2;
    margin: 0 0 16px 0;
    font-weight: 730;
}
.section-description {
    color: #151d24;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
.section-description1 {
    color: #e8e8ee;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
/*====================================================
                CONTENEDOR DE TARJETAS
=====================================================*/

.process-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch; /* Hace que todas las tarjetas midan lo mismo de alto */
}

/*====================================================
                TARJETA BASE (Remodelado)
=====================================================*/

.process-step {
    position: relative;
    z-index: 3;
    text-align: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 35px 20px 50px 20px; /* Relleno inferior extra para la flecha */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    
    /* Estado visual inicial (Opacidad reducida como tenías en tu diseño original) */
    opacity: .55; 
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

/*====================================================
                ESTADO ACTIVO / DESTACADO
=====================================================*/

.process-step.active {
    opacity: 1;
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/*====================================================
                CÍRCULOS (Iconos de tu mockup)
=====================================================*/
.green{
    --step-color: var(--green);
}

.orange{
    --step-color:var(--secondary);   /* o tu variable si ya tienes una */
}

.blue-light{
    --step-color: var(--primary-light);
}
.step-dot {
    width: 48px;
    height: 48px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--step-color); /* Azul grisáceo de tus tarjetas secundarias */
    transition: all 0.4s ease;
    box-shadow: 0 0 20px var(--step-color);
}

/* Círculo de la primera tarjeta destacada */
.process-step.active .step-dot {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* Círculo verde de resultados */
.step-dot.success {
    background: #541f88;
    box-shadow: 0 0 20px rgba(125, 59, 246, 0.6);
}

/*====================================================
                TEXTOS INTERNOS
=====================================================*/

.process-step h3 {
    font-size: 1.25rem;
    color: #64748b; /* Color apagado por defecto */
    margin: 0 0 15px 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Al estar activa o en hover el título se oscurece */
.process-step.active h3,
.process-step:hover h3 {
    color: #10213d;
}

.process-step p {
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 20px 0;
    font-size: .92rem;
    flex-grow: 1; /* Empuja el botón hacia abajo para alineación perfecta */
}

/* Etiquetas de la empresa inferiores */
.process-step .company-tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 500;
    color: var(--step-color);
    transition: color 0.3s ease;
}

.process-step.active .company-tag {
    color: #3b82f6; /* Azul resaltado para la activa */
}

/*====================================================
        FLECHA INDICADORA ANIMADA (Efecto pedido)
=====================================================*/

.arrow-indicator {
    position: absolute;
    bottom: -30px; /* Escondida abajo del borde */
    font-size: 1.2rem;
    color: #3b82f6;
    opacity: 0;
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/*====================================================
                EFECTOS HOVER
=====================================================*/

.process-step:hover {
    opacity: 1;
    transform: translateY(-10px); /* Se levanta la tarjeta */
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); /* Sombra elegante */
    border-color: #e2e8f0;
}

/* Animación del círculo interno en Hover */
.process-step:hover .step-dot {
    transform: scale(1.05);
}

/* Mostrar y deslizar la flecha hacia arriba al pasar el mouse */
.process-step:hover .arrow-indicator {
    bottom: 15px;
    opacity: 1;
}

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

@media(max-width: 1024px) {
    .process-line {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .process-line {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .process-step {
        opacity: 1;
        transform: none !important;
    }
    .process-step:hover {
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    }
}

/*====================================================
                CASOS DE TRANSFORMACIÓN
=====================================================*/

.cases{
    padding:70px 0;
    background:#f7f9fc;
}

.cases .container{
    max-width:1400px;
}

.cases-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(16,24,40,.08);
    margin-top:45px;
    height:440px;
}

/*=================================
            MENÚ IZQUIERDO
==================================*/

.cases-menu{
    background:#fff;
    border-right:1px solid #edf2f7;
}

.case-item{
    position:relative;
    display:flex;
    align-items:center;
    gap:24px;
    padding:24px 28px;
    cursor:pointer;
    transition:.35s;
    border-bottom:1px solid #edf2f7;
}

.case-item:last-child{
    border-bottom:none;
}

.case-item::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:5px;
    height:100%;
    background:#2d6df6;
    transform:scaleY(0);
    transition:.35s;
}

.case-item.active::before{
    transform:scaleY(1);
}

.case-item:hover{
    background:#f8fbff;
}

.case-number{
    font-size:1.4rem;
    font-weight:300;
    color:#c7d2e2;
    min-width:58px;
    transition:.3s;
}

.case-item.active .case-number{
    color:#2d6df6;
}

.case-item h3{
    font-size:1.05rem;
    font-weight:700;
    color:#2b3a55;
    transition:.3s;
}

.case-item.active h3{
    color:#143b82;
}

/*=================================
            PANEL DERECHO
==================================*/

.case-preview{
    display:flex;
    flex-direction:column;
    background:#fff;
}

.case-preview img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.45s;
}

.case-content{
    padding:28px 34px 34px;
}

#caseCompany{
    display:inline-block;
    margin-bottom:14px;
    color:#2d6df6;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    font-size:.9rem;
}

#caseTitle{
    font-size:1.72rem;
    color:#172b4d;
    margin-bottom:10px;
    line-height:1.2;
}

#caseDescription{
    font-size:1rem;
    line-height:1.5;
    color:#64748b;
    max-width:760px;
    margin-bottom:18px;
}

/*=================================
            RESULTADOS
==================================*/

.case-results{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:22px;
}

.case-results span{
    padding:10px 18px;
    border-radius:50px;
    background:#eef5ff;
    color:#2d6df6;
    font-weight:600;
    font-size:.9rem;
    transition:.3s;
}

.case-results span:hover{
    background:#2d6df6;
    color:#fff;
}

/*=================================
                BOTÓN
==================================*/

.btn-case{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 24px;
    border-radius:50px;
    background:#143b82;
    color:#fff;
    font-weight:600;
    font-size:.95rem;
    text-decoration:none;
    transition:.35s;
}

.btn-case:hover{
    background:#2d6df6;
    transform:translateY(-3px);
}

/*=================================
        ANIMACIÓN CAMBIO
==================================*/

.case-preview.fade{
    animation:caseFade .45s;
}

@keyframes caseFade{
    from{
        opacity:.4;
        transform:translateY(12px);
    }

    to{
        opacity:1;
        transform:none;
    }
}

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

@media(max-width:1100px){
.cases-wrapper{
grid-template-columns:1fr;
}

.cases-menu{
border-right:none;
border-bottom:1px solid #edf2f7;
}

.case-preview img{
height:320px;
}
}

@media(max-width:768px){
.cases{
padding:80px 0;
}

.case-item{
padding:24px;
}

.case-number{
font-size:1.5rem;
min-width:42px;
}

.case-item h3{
font-size:1.1rem;
}

.case-content{
padding:30px;
}

#caseTitle{
font-size:1.8rem;
}

#caseDescription{
font-size:1rem;
}

.case-results{
gap:10px;
}

.case-results span{
padding:10px 16px;
font-size:.9rem;
}
}

/*====================================================
                    NUESTRA VISIÓN
=====================================================*/
.vision{
    padding:70px 0 80px;
    background:#f8fafc;
    overflow:hidden;
}

.vision-grid{
    margin-top:25px;
    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:60px;
    align-items:flex-start;
}
/*=====================
        TEXTO
======================*/

.vision-content h2{
    font-size:2.3rem;
    line-height:1.5;
    font-weight:880;
    color:#112a58;
    margin:0 0 22px;
}

.vision-content p{
    font-size:1.05rem;
    color: #151d24;
    line-height:1.7;
    margin:0 0 22px;
    max-width:560px;
}
   
.vision-content .btn-primary{
    margin-top:18px;
}

/*=====================
        GALERÍA
======================*/

.vision-gallery{
    position:relative;
    height:600px;
    margin-top:-70px;

}

/*=====================
    IMAGEN GRANDE
======================*/

.vision-main{
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:72%;
    height:440px;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 30px 70px rgba(15,23,42,.18);
}

.vision-main img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s;
}

.vision-main:hover img{
    transform:scale(1.06);
}

/*=====================
    IMÁGENES PEQUEÑAS
======================*/

.vision-small{
    position:absolute;
    right:0;
    width:220px;
    height:150px;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(15,23,42,.14);
    transition:.45s;
}

.vision-small img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .7s;
}

.vision-small:hover{
    transform:translateY(-10px);
}

.vision-small:hover img{
    transform:scale(1.08);
}

.vision-small.top{
    top:10px;
}

.vision-small.middle{
    top:230px;
}

.vision-small.bottom{
    bottom:10px;
}

/*=====================
    ANIMACIÓN
======================*/

.reveal{
    opacity:1;
    transform:none;
}


.vision-main{
    animation:floatMain 6s ease-in-out infinite;
}

.vision-small{
    animation:floatSmall 5s ease-in-out infinite;
}

.vision-small.middle{
    animation-delay:.5s;
}

.vision-small.bottom{
    animation-delay:1s;
}

@keyframes floatMain{
    0%,100%{
        transform:translateY(-50%);
    }

    50%{
        transform:translateY(calc(-50% - 8px));
    }
}

@keyframes floatSmall{
    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }
}

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

@media(max-width:992px){
.vision{
    padding:90px 0;
}

.vision-grid{
    grid-template-columns:1fr;
    gap:60px;
}

.vision-content{
    text-align:center;
}

.vision-content p{
    margin-left:auto;
    margin-right:auto;
}

.vision-gallery{
    height:auto;
    display:grid;
    gap:20px;
}

.vision-main,
.vision-small{
    position:relative;
    width:100%;
    height:260px;
    left:auto;
    right:auto;
    top:auto;
    bottom:auto;
    transform:none !important;
    animation:none;
}
}

/*====================================================
    NOTICIAS
====================================================*/

.news{
    padding:25px 0;
    background:#f8fafc;
}

.news .container{
    max-width:1380px;
}

.news-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:1.45fr .85fr;
    gap:35px;
    align-items:stretch;
}

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

.news-card{
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 45px rgba(15,23,42,.08);
    transition:.45s;
    display:flex;
    flex-direction:column;
}

.news-card:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 70px rgba(30,64,175,.15);
}

/*=========================
    IMAGEN
=========================*/

.news-image{
    position:relative;
    overflow:hidden;
    height:260px;
}

.news-feature .news-image{
    height:380px;
}

.news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .8s ease;
}

.news-card:hover img{
    transform:scale(1.08);
}

/*=========================
    CATEGORÍA
=========================*/

.news-category{
    position:absolute;
    left:22px;
    top:22px;

    background:rgba(20,40,80,.9);
    color:#fff;

    padding:8px 18px;
    border-radius:50px;

    font-size:.82rem;
    font-weight:600;
    backdrop-filter:blur(8px);
}

/*=========================
    CONTENIDO
=========================*/

.news-content{
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.news-company{
    color:#2563eb;
    font-size:.82rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:12px;
}

.news-content h3{
    font-size:1.45rem;
    line-height:1.35;
    color:#142850;
    margin-bottom:14px;
    font-weight:700;
}

.news-side h3{
    font-size:1.15rem;
}

.news-content p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:28px;
}

/*=========================
    LINK
=========================*/

.news-link{
    margin-top:auto;

    display:inline-flex;
    align-items:center;
    gap:12px;

    color:#142850;
    font-weight:700;

    text-decoration:none;
    transition:.35s;
}

.news-link::after{
    content:"→";
    transition:.35s;
}

.news-link:hover{
    color:#2563eb;
}

.news-link:hover::after{
    transform:translateX(8px);
}

/*=========================
    COLUMNA DERECHA
=========================*/

.news-side{
    display:grid;
    gap:35px;
}

.news-side .news-image{
    height:150px;
}

/*=========================
    BOTÓN VER MÁS
=========================*/

.news-footer{
    display:flex;
    justify-content:flex-end;
    margin-top:40px;
}

.news-more{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:12px 22px;
    border-radius:50px;
    background:#111827;
    color:#fff;
    font-size:.95rem;
    font-weight:600;
    text-decoration:none;
    transition:.35s;
}

.news-more i{
    transition:.35s;
}

.news-more:hover{
    background:#2563eb;
    box-shadow:
        0 0 18px rgba(37,99,235,.35);
}

.news-more:hover i{
    transform:translateX(6px);
}

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

@media(max-width:992px){

.news-grid{
    grid-template-columns:1fr;
}

.news-feature .news-image{
    height:220px;
}

.news-side{
    grid-template-columns:1fr;
}

.news-footer{
    justify-content:center;
}
}

/*====================================================
        ¿QUÉ EMPRESA PUEDE AYUDARTE?
=====================================================*/

.company-selector{
    padding:40px 0 70px;
    background:#ffffff;
}
.company-selector .container{
    max-width:1400px;
}

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

.selector-grid{
    margin-top:45px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

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

.selector-card{
    position:relative;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:28px;
    padding:30px 28px;
    transition:.45s ease;
    overflow:hidden;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-height:350px;
}

/* Línea superior */

.selector-card::before{

    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:5px;
    background:linear-gradient(90deg, #ece2cf, #deb873 );
    transform:scaleX(0);
    transition:.45s;
}

.selector-card:hover::before,
.selector-card.active::before{
    transform:scaleX(1);
}

.selector-card:hover,
.selector-card.active{
    transform:translateY(-12px);
    box-shadow:
        0 20px 60px rgba(37,99,235,.15);
}

/*==========================
        ICONO
===========================*/

.selector-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    background:#eff6ff;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:28px;
    transition:.45s;
    overflow:hidden;
}
.selector-icon img{
    width:80%;
    height:80%;
    object-fit:contain;
    transition:.45s;
}
.selector-card:hover .selector-icon{
    transform:translateY(-4px) scale(1.08);
    background:#ffffff;
    box-shadow:0 10px 25px rgba(37,99,235,.18);
}
.selector-card:hover .selector-icon img{
    transform:scale(1.08);
}
/*==========================
        TEXTO
===========================*/

.selector-card h3{
    font-size:1.45rem;
    color:#142850;
    margin-bottom:14px;
}

.selector-card p{
    color:#64748b;
    line-height:1.65;
    margin-bottom:22px;
}

/*==========================
    EMPRESA
===========================*/

.selector-company{
    font-size:.82rem;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#94a3b8;
    margin-bottom:6px;
}

.selector-card strong{
    color:var(--accent);
    font-size:1.1rem;
    margin-bottom:18px;
}

/*==========================
        BOTÓN
===========================*/

.selector-btn{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#111827;
    font-weight:700;
    text-decoration:none;
    transition:.35s;
}

.selector-btn i{
    transition:.35s;
}

.selector-btn:hover{
    color:#2563eb;
}

.selector-btn:hover i{
    transform:translateX(6px);
}

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

@media(max-width:992px){
.selector-grid{
    grid-template-columns:1fr;
}

.selector-card{
    min-height:auto;
}
}

/*====================================================
                    CIERRE
=====================================================*/

.closing{
    padding:70px 0;
    background:
        linear-gradient(
            135deg,
            #0f2748,
            #163d73 55%,
            #1e5fa8
        );
    text-align:center;
    color:#fff;
    position:relative;
    overflow:hidden;
}

.closing::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,.04);
    top:-180px;
    left:-150px;
}

.closing::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(255,255,255,.03);
    right:-120px;
    bottom:-180px;
}

.closing .container{
    position:relative;
    z-index:2;
}

.closing .section-tag{
    background:rgba(255,255,255,.12);
    color:#fff;
}

.closing h2{
    font-size:2.7rem;
    line-height:1.2;
    margin:20px auto;
    max-width:760px;
}

.closing p{
    max-width:650px;
    margin:0 auto;
    color:rgba(255,255,255,.82);
    line-height:1.8;
    font-size:1rem;
}

.closing-buttons{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:20px;
}

.closing .btn-primary{
    padding:13px 28px;
}

.closing .btn-outline{
    padding:13px 28px;
    border:1px solid rgba(255,255,255,.25);
    color:#fff;
    font-size:.98rem;
    text-decoration:none;
    border-radius:50px;
    transition:.35s;
}

.closing .btn-outline:hover{
    background:#fff;
    color:#163d73;
}

/*====================================================
                    FOOTER
=====================================================*/

.footer{
    background:#0b1c33;
    color:#cbd5e1;
    padding:70px 0 25px;
     border-top:5px solid rgba(255,255,255,.06);
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr); gap:45px;
}

.footer h3{
    color:#fff;
    margin-bottom:22px;
    font-size:1.15rem;
}

.footer ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer li{
    margin-bottom:14px;
}

.footer a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer a:hover{
    color:#4ea5ff;
}

.footer-bottom{
    margin-top:60px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    font-size:.92rem;
    color:#94a3b8;
}

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

@media(max-width:992px){
.closing h2{
    font-size:2.5rem;
}

.closing-buttons{
    flex-direction:column;
    align-items:center;
}

.footer-grid{
    grid-template-columns:1fr 1fr;
}
}

@media(max-width:640px){
.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
}

.closing h2{
    font-size:2rem;
}
}