/* ================================================= */
/* 1. CONFIGURACIÓN MAESTRA Y VARIABLES */
/* ================================================= */
:root {
    --color-primario: #0A2239;      /* Azul Marino Tech */
    --color-secundario: #050f19;    /* Negro Profundo */
    --color-acento: #37bc81;        /* Verde Digital DigitalNet */
    --color-blanco: #ffffff;
    --color-texto-gris: rgba(255, 255, 255, 0.7);
    --header-height: 85px;
    --transition-premium: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(10, 34, 57, 0.75);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-secundario);
    color: var(--color-blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ================================================= */
/* 2. SISTEMA DE REVELACIÓN (SCROLL ANIMATIONS) */
/* ================================================= */

/* Estado base: oculto y desenfocado */
.reveal-up, .reveal-left, .reveal-right, .service-item {
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition-premium);
    will-change: transform, opacity, filter;
}

.reveal-up { transform: translateY(60px); }
.reveal-left { transform: translateX(-80px); }
.reveal-right { transform: translateX(80px); }

/* Clase 'active' activada por tu JS */
.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active, 
.service-item.active {
    opacity: 1;
    filter: blur(0);
    transform: translate(0, 0);
}

/* ================================================= */
/* 3. HEADER (CON GLASSMORPHISM Y SCROLL EFFECT) */
/* ================================================= */
.main-header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition-premium);
}

/* Clase añadida por tu JS al hacer scroll */
.header-scrolled {
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 247, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 250px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 247, 0, 0.2));
    transition: 0.4s;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px var(--color-acento));
    transform: scale(1.05);
}

/* Navegación */
.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-blanco);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s ease;
    position: relative;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--color-acento);
}

.btn-accent-nav {
    background: var(--color-acento) !important;
    color: var(--color-primario) !important;
    padding: 12px 24px !important;
    border-radius: 4px;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    box-shadow: 0 0 15px rgba(0, 247, 0, 0.3);
}


/* ================================================= */
/* BANNER DE SERVICIOS - ESTILO CINEMATOGRÁFICO */
/* ================================================= */
/* Busca esta línea exacta en tu CSS */
.page-banner.services-banner {
    display: flex;
    position: relative;
    padding: calc(var(--header-height) + 120px) 0 150px;
    /* CAMBIA ESTO: */
    background: transparent !important; 
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

/* Fondo con efecto de malla tecnológica */
.page-banner.services-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    animation: gridMove 20s linear infinite;
}

/* Aura de luz en movimiento */
/* Busca esta sección y cambia el background */
.page-banner.services-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    /* CAMBIO: Usamos rgba para que sea una luz semitransparente y no un bloque de color */
    background: radial-gradient(circle, rgba(20, 46, 66, 0.6) 0%, transparent 70%); 
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
    animation: pulseAura 8s ease-in-out infinite;
}

.services-banner .container {
    position: relative;
    z-index: 10;
}

/* Título con degradado animado */
.page-banner h2 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: linear-gradient(
        to right, 
        #fff 20%, 
        var(--color-acento) 40%, 
        var(--color-acento) 60%, 
        #fff 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shineText 6s linear infinite;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Párrafo con entrada suave y espaciado elegante */
.page-banner p {
    font-size: 1.4rem;
    color: var(--color-texto-gris);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpReveal 1s ease forwards 0.5s;
    letter-spacing: 1px;
    font-weight: 300;
}

/* ================================================= */
/* KEYFRAMES DE ANIMACIONES */
/* ================================================= */
@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

@keyframes shineText {
    to { background-position: 200% center; }
}

@keyframes pulseAura {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@keyframes fadeUpReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes infiniteScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.floating-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-acento);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    top: -100px;
    right: -100px;
    pointer-events: none;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

@keyframes floatOrb {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, 100px); }
}




/* --- SECCIÓN INTRO COLOMBIA --- */
.company-intro-colombia {
    background: transparent !important; /* Fondo oscuro */
    color: #ffffff;
    overflow: hidden;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.company-text-content {
    padding-right: 20px;
}

.company-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.company-title span {
    color: var(--color-acento, #37bc81); /* Tu verde neón */
}

.company-subtitle {
    color: #8892b0;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.company-description {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.highlight-orange {
    color: #ff8c42; /* Naranja como en la imagen de referencia */
    font-weight: 700;
}

/* Lista de Ventajas */
.company-advantages {
    list-style: none;
    padding: 0;
}

.company-advantages li {
    display: flex;
    align-items: flex-start; /* Alinea ícono y texto al inicio */
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.company-advantages li:hover {
    transform: translateX(10px);
    color: var(--color-acento, #37bc81);
}

.company-advantages li i {
    color: var(--color-acento, #37bc81); /* Íconos en verde neón */
    font-size: 1.2rem;
    flex-shrink: 0; /* Evita que el ícono se encoja */
    margin-top: 3px; /* Pequeño ajuste vertical */
}

/* Imagen con Corte Geométrico */
.company-image-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.geometric-cut-image {
    width: 100%;
    max-width: 550px;
    height: 550px; /* Altura fija para la imagen */
    overflow: hidden;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%); /* Forma personalizada */
    border-radius: 20px; /* Ligeramente redondeado */
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transition: all 0.5s ease;
}

.geometric-cut-image::before { /* Borde decorativo */
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    border: 2px solid var(--color-acento, #37bc81);
    opacity: 0.5;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.geometric-cut-image:hover::before {
    opacity: 1;
    transform: scale(1.02);
}

.geometric-cut-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) saturate(1.1); /* Ligeramente más viva */
    transition: transform 0.8s ease;
}

.geometric-cut-image:hover img {
    transform: scale(1.08);
}


/* --- RESPONSIVO --- */
@media (max-width: 992px) {
    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .company-text-content { padding-right: 0; }
    .company-advantages li { justify-content: flex-start; }
    .geometric-cut-image { 
        height: 400px;
        clip-path: none; /* Elimina el corte en móviles */
        border-radius: 15px;
    }
    .geometric-cut-image::before { display: none; } /* Oculta el borde decorativo */
}

@media (max-width: 600px) {
    .company-title { font-size: 1.8rem; }
}
/* Busca esta clase en tu CSS y aumenta el padding-bottom */
.section-padding {
    padding-top: 80px;
    padding-bottom: 120px; /* Incrementa este valor (antes era 80px o 100px) */
}



/* ================================================= */
/* EXPERTISE: SYNTHETIC BIO-TECH EDITION */
/* ================================================= */
/* Contenedor Grid similar a la imagen */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

/* Tarjeta Base */
.service-visual-card {
    position: relative;
    height: 350px; /* Altura fija para uniformidad */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.service-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Capa de Oscurecimiento (Overlay) */
.service-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.4s ease;
}

.service-visual-info {
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.service-visual-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Botón Ovalado "Ver más" */
.btn-visual-more {
    display: inline-block;
    padding: 10px 35px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px; /* Estilo ovalado */
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* EFECTOS HOVER */
.service-visual-card:hover img {
    transform: scale(1.1);
}

.service-visual-card:hover .service-visual-overlay {
    background: rgba(55, 188, 129, 0.2); /* Tinte verde suave al pasar el mouse */
}

.service-visual-card:hover .service-visual-info {
    transform: translateY(0);
}

.btn-visual-more:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Responsivo */
@media (max-width: 768px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
    .service-visual-card {
        height: 300px;
    }
}















/* ================================================= */
/* 6. PROCESO DE TRABAJO - QUANTUM CIRCUIT */
/* ================================================= */

.process-section.process-serpentine {
    padding: 150px 0;
    background: transparent !important;
    overflow: hidden;
    position: relative;
}

.process-steps {
    position: relative;
    max-width: 1100px;
    margin: 100px auto 0;
}

/* La Línea de Energía Central */
.process-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
    border-radius: 10px;
}

/* El flujo de energía animado (Progreso de Scroll) */
.process-steps::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 0; /* Controlado por JS */
    background: linear-gradient(to bottom, transparent, var(--color-acento), #fff);
    box-shadow: 0 0 20px var(--color-acento), 0 0 40px var(--color-acento);
    transform: translateX(-50%);
    transition: height 0.5s ease-out;
    z-index: 1;
}

.step-card {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Círculos de los Pasos (Nodos) */
.step-number {
    width: 80px;
    height: 80px;
    background: #050f19;
    border: 3px solid rgba(55, 188, 129, 0.3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card.active .step-number {
    border-color: var(--color-acento);
    box-shadow: 0 0 30px var(--color-acento);
    transform: translateX(-50%) scale(1.1);
    color: var(--color-acento);
}

/* Cajas de Contenido (Glassmorphism Avanzado) */
.step-content-box {
    width: 42%;
    padding: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: 0.4s;
}

.step-card:hover .step-content-box {
    background: rgba(55, 188, 129, 0.05);
    border-color: var(--color-acento);
    transform: translateY(-5px);
}

.step-left .step-content-box { margin-right: auto; text-align: right; }
.step-right .step-content-box { margin-left: auto; text-align: left; }

.step-content-box h4 {
    font-size: 1.8rem;
    color: var(--color-acento);
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.step-content-box p {
    color: var(--color-texto-gris);
    line-height: 1.8;
}

/* Flechas decorativas de conexión */
.step-content-box::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: rgba(55, 188, 129, 0.3);
}

.step-left .step-content-box::after { right: -30px; }
.step-right .step-content-box::after { left: -30px; }

@media (max-width: 992px) {
    .process-steps::before, .process-steps::after { left: 30px; height: var(--scroll-progress, 0%);}
    .step-number { left: 30px; transform: translateX(0) scale(0.7); }
    .step-card.active .step-number { transform: translateX(0) scale(0.9); }
    .step-content-box { width: calc(100% - 80px); margin-left: 80px !important; text-align: left !important; }
}









/* ================================================= */
/* 8. WHATSAPP Y FOOTER */
/* ================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    z-index: 3000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    background: #25d366;
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}

.minimal-footer {
    padding: 80px 0 30px;
    background: var(--color-primario);
    border-top: 1px solid rgba(0, 247, 0, 0.1);
}

/* ================================================= */
/* 9. RESPONSIVE (CRÍTICO) */
/* ================================================= */
.menu-toggle {
    display: none; /* Por defecto no existe en ordenador */
    background: none;
    border: none;
    color: var(--color-acento);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 3000;
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
@media (max-width: 992px) {
    /* APARECE EL BOTÓN */
    .menu-toggle {
        display: block;
    }

    /* EL MENÚ SE CONVIERTE EN PANEL LATERAL */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto fuera de la pantalla a la derecha */
        width: 80%; /* Ocupa casi toda la pantalla */
        height: 100vh;
        background: var(--color-primario);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-premium);
        z-index: 2500;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* CUANDO EL MENÚ TIENE LA CLASE .open (activada por JS) */
    .main-nav.open {
        right: 0; /* Entra a la pantalla */
    }

    /* LISTA EN VERTICAL */
    .nav-list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .nav-list a {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
    }

    /* EL BOTÓN DE CONTACTO EN MÓVIL */
    .btn-accent-nav {
        padding: 15px 40px !important;
        font-size: 1.2rem !important;
    }
}

@media (max-width: 992px) {


    .hero-content { text-align: center; }
    .hero-btns { justify-content: center; flex-direction: column; }
}

/* ================================================= */
/* ESTILOS ESPECÍFICOS: MINIMAL FOOTER CON LOGO */
/* ================================================= */

.minimal-footer {
    background-color: #03080e; /* Un tono más oscuro que el fondo general */
    padding: 100px 0 40px;
    position: relative;
    border-top: 1px solid rgba(55, 188, 129, 0.1);
    color: var(--color-blanco);
    overflow: hidden;
}

/* Efecto de resplandor ambiental en el borde superior */
.minimal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-acento), transparent);
    box-shadow: 0 0 30px var(--color-acento);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

/* Branding y Logo */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 85px; /* Ajusta este valor según el tamaño de tu logo */
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(55, 188, 129, 0.2));
    transition: var(--transition-premium);
}

.footer-logo:hover img {
    filter: drop-shadow(0 0 20px var(--color-acento));
    transform: scale(1.08) rotate(-2deg);
}

.footer-brand p {
    color: var(--color-texto-gris);
    font-size: 0.9rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Redes Sociales: Estilo Moderno y Elástico */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 50px;
    height: 50px;
    border-radius: 14px; /* Bordes suaves modernos */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-blanco);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Salto elástico */
    position: relative;
}

.footer-socials a:hover {
    background: var(--color-acento);
    color: var(--color-primario);
    transform: translateY(-12px);
    border-color: var(--color-acento);
    box-shadow: 0 15px 30px rgba(55, 188, 129, 0.4);
}

/* Línea Divisoria Cinematográfica */
.footer-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(55, 188, 129, 0.15) 50%, 
        rgba(255,255,255,0) 100%);
    margin-bottom: 45px;
}

/* Bottom: Legal y Navegación Secundaria */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bottom p {
    color: var(--color-texto-gris);
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: var(--color-texto-gris);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-nav a:hover {
    color: var(--color-acento);
    letter-spacing: 2px; /* Expansión suave */
    transform: translateX(5px);
}

/* ================================================= */
/* RESPONSIVE (OPTIMIZADO) */
/* ================================================= */

@media (max-width: 768px) {
    .minimal-footer {
        padding: 60px 0 30px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 45px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 35px;
    }

    .footer-nav {
        justify-content: center;
        gap: 20px;
    }
}