    /* ==========================================================================
       VARIABLES DE COLOR Y DISEÑO
       ========================================================================== */
    :root {
        --azul-profundo: #0A2E5C;
        --azul-tec: #006699;
        --azul-claro: #0D4A8F;
        --verde-codigo: #2EA373;
        --verde-oscuro: #1f6b4d;
        --verde-pino: #0A3A37;
        --blanco-fondo: #1A2332;
        --blanco-puro: #FFFFFF;
        --gris-oscuro: #0F1419;
        --gris-claro: #2A3340;
        --accent-1: #FF6B35;
        --accent-2: #F7931E;
    }

    /* ==========================================================================
       RESET Y ESTILOS BASE
       ========================================================================== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Ubuntu', sans-serif;
        background-color: var(--gris-oscuro);
        color: #8A99AD;
        line-height: 1.6;
        overflow-x: hidden;
    }

    h1, h2, h3 {
        font-family: 'Orbitron', sans-serif;
        letter-spacing: 1px;
    }

    /* ==========================================================================
       HEADER Y NAVEGACIÓN
       ========================================================================== */
    header {
        background-color: #111823;
        padding: 1.2rem 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 15px rgba(46, 163, 115, 0.15);
        position: sticky;
        top: 0;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    header:hover {
        box-shadow: 0 6px 20px rgba(10, 46, 92, 0.12);
    }

    .logo-container {
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .logo-container:hover {
        transform: scale(1.05);
    }

    .brand-logo {
        height: 70px;
        width: auto;
        display: block;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    nav {
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }

    nav a {
        font-family: 'Ubuntu', sans-serif;
        font-weight: 500;
        color: #CCD6E0;
        text-decoration: none;
        position: relative;
        transition: color 0.3s ease;
        font-size: 1rem;
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--verde-codigo), var(--azul-tec));
        transition: width 0.3s ease;
    }

    nav a:hover {
        color: var(--verde-codigo);
    }

    nav a:hover::after {
        width: 100%;
    }

    /* ==========================================================================
       SECCIÓN HERO
       ========================================================================== */
    .hero {
        background: linear-gradient(135deg, #1A2E3E 0%, #0F1B2A 50%, #1f3a35 100%);
        color: var(--blanco-puro);
        padding: 7rem 10%;
        text-align: center;
        position: relative;
        overflow: hidden;
        min-height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: rgba(46, 163, 115, 0.1);
        border-radius: 50%;
        filter: blur(40px);
        z-index: 0;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 400px;
        height: 400px;
        background: rgba(0, 102, 153, 0.1);
        border-radius: 50%;
        filter: blur(40px);
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 1;
    }

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 900;
        margin-bottom: 1rem;
        text-transform: uppercase;
        line-height: 1.1;
        animation: slideInDown 0.8s ease-out;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto 2rem;
        color: #E8F0F7;
        font-weight: 300;
        animation: slideInUp 0.8s ease-out 0.2s both;
    }

    .hero-cta-group {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
        animation: slideInUp 0.8s ease-out 0.4s both;
    }

    @keyframes slideInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ==========================================================================
       BOTONES
       ========================================================================== */
    .btn {
        display: inline-block;
        padding: 1rem 2rem;
        font-family: 'Orbitron', sans-serif;
        font-weight: 700;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 0.9rem;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--verde-codigo), var(--verde-oscuro));
        color: var(--blanco-puro);
        box-shadow: 0 4px 15px rgba(46, 163, 115, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(46, 163, 115, 0.5);
    }

    .btn-secondary {
        background: transparent;
        color: var(--blanco-puro);
        border: 2px solid var(--blanco-puro);
    }

    .btn-secondary:hover {
        background: var(--blanco-puro);
        color: var(--azul-profundo);
        transform: translateY(-3px);
    }

    /* ==========================================================================
       SECCIÓN DE SERVICIOS
       ========================================================================== */
    .services {
        padding: 6rem 10%;
        background-color: var(--gris-oscuro);
    }

    .section-header {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
        color: var(--blanco-puro);
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--verde-codigo), var(--azul-tec));
        border-radius: 2px;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #8A99AD;
        margin-top: 1.5rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .card {
        background-color: rgba(255, 255, 255, 0.05);
        padding: 2.5rem;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        border-top: 5px solid var(--azul-tec);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        right: -50px;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(46, 163, 115, 0.1), transparent);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(46, 163, 115, 0.15);
    }

    .card:hover::before {
        right: -20px;
    }

    .card h3 {
        font-size: 1.4rem;
        color: var(--blanco-puro);
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
    }

    .card p {
        font-size: 0.95rem;
        color: #8A99AD;
        position: relative;
        z-index: 1;
        line-height: 1.7;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--verde-codigo), var(--azul-tec));
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }

    /* Card con color alternado */
    .card:nth-child(2) {
        border-top-color: var(--verde-codigo);
    }

    .card:nth-child(2) .card-icon {
        background: linear-gradient(135deg, var(--azul-tec), var(--verde-codigo));
    }

    .card:nth-child(3) {
        border-top-color: var(--accent-2);
    }

    .card:nth-child(3) .card-icon {
        background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
    }

    /* ==========================================================================
       SECCIÓN DE SOLUCIONES WEB A PEDIDO
       ========================================================================== */
    .web-solutions {
        padding: 6rem 10%;
        background: #0F1419;
        position: relative;
        overflow: hidden;
    }

    .web-solutions::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        height: 300px;
        background: rgba(46, 163, 115, 0.05);
        border-radius: 50%;
        filter: blur(50px);
    }

    .web-solutions-content {
        position: relative;
        z-index: 1;
    }

    .web-solutions-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        margin-top: 3rem;
    }

    .web-features {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .feature-item {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        border: 1px solid rgba(46, 163, 115, 0.2);
    }

    .feature-item:hover {
        transform: translateX(8px);
        box-shadow: 0 6px 15px rgba(46, 163, 115, 0.1);
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--verde-codigo), var(--azul-tec));
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .feature-content h4 {
        font-family: 'Ubuntu', sans-serif;
        color: var(--blanco-puro);
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .feature-content p {
        font-size: 0.9rem;
        color: #8A99AD;
        line-height: 1.5;
    }

    .web-image {
        background: linear-gradient(135deg, var(--azul-profundo), var(--azul-claro));
        border-radius: 12px;
        padding: 3rem;
        text-align: center;
        color: white;
        box-shadow: 0 10px 30px rgba(10, 46, 92, 0.2);
        min-height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .web-image svg {
        width: 100%;
        max-width: 250px;
        margin-bottom: 1.5rem;
        opacity: 0.9;
    }

    .web-image h4 {
        font-family: 'Orbitron', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .web-image p {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    /* ==========================================================================
       SECCIÓN DE MÉTRICAS / DASHBOARD
       ========================================================================== */
    .dashboard-preview {
        background-color: #0F1419;
        color: var(--blanco-puro);
        padding: 6rem 10%;
        position: relative;
        overflow: hidden;
    }

    .dashboard-preview::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(46, 163, 115, 0.05) 0%, transparent 100%);
        pointer-events: none;
    }

    .dashboard-content {
        position: relative;
        z-index: 1;
    }

    .dashboard-preview h2 {
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 2.3rem;
        color: var(--verde-codigo);
    }

    .dashboard-subtitle {
        text-align: center;
        color: #8A99AD;
        margin-bottom: 3rem;
        font-size: 1rem;
    }

    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }







    /* ==========================================================================
       SECCIÓN DE CALL TO ACTION
       ========================================================================== */
    .cta-section {
        padding: 5rem 10%;
        background: linear-gradient(135deg, #1A2E3E 0%, #0F1B2A 100%);
        text-align: center;
        color: white;
    }

    .cta-section h2 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
        color: white;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.95;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* ==========================================================================
       FOOTER
       ========================================================================== */
    footer {
        background-color: #111823;
        color: rgba(255,255,255,0.5);
        text-align: center;
        padding: 2.5rem 10%;
        font-size: 0.9rem;
        border-top: 3px solid var(--verde-codigo);
    }

    footer p {
        margin: 0;
    }

    /* ==========================================================================
       RESPONSIVE DESIGN
       ========================================================================== */
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2.2rem;
        }

        .hero-subtitle {
            font-size: 1rem;
        }

        .hero-cta-group {
            flex-direction: column;
            align-items: center;
        }

        .btn {
            width: 100%;
            max-width: 300px;
        }

        .section-header h2 {
            font-size: 2rem;
        }

        .web-solutions-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        nav {
            gap: 1.5rem;
        }

        nav a {
            font-size: 0.9rem;
        }

        header {
            padding: 1rem 5%;
        }

        .services,
        .web-solutions,
        .dashboard-preview,
        .cta-section {
            padding: 4rem 5%;
        }

        .metrics-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .hero {
            padding: 4rem 5%;
            min-height: 400px;
        }

        .hero h1 {
            font-size: 1.8rem;
        }

        .brand-logo {
            height: 50px;
        }

        .services,
        .web-solutions,
        .dashboard-preview,
        .cta-section {
            padding: 3rem 5%;
        }

        .grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .card {
            padding: 1.5rem;
        }
    }

    /* ==========================================================================
       ANIMACIONES Y EFECTOS
       ========================================================================== */
    @media (prefers-reduced-motion: no-preference) {
        .card {
            animation: fadeInUp 0.6s ease-out backwards;
        }

        .card:nth-child(2) {
            animation-delay: 0.1s;
        }

        .card:nth-child(3) {
            animation-delay: 0.2s;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    }

/* ==========================================================================
   MENÚ MÓVIL
   ========================================================================== */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #2A3340;
    border-radius: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #CCD6E0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #111823;
        border-top: 1px solid #2A3340;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
    header nav.open { display: flex; }
    header nav a {
        padding: 1rem 5%;
        font-size: 1rem;
        border-bottom: 1px solid #1A2332;
    }
}

:focus-visible { outline: 2px solid var(--verde-codigo); outline-offset: 2px; }


/* ==========================================================================
   HERO: CIRCUITO DECORATIVO
   ========================================================================== */
.hero-circuit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 45% 55% at 50% 50%, transparent 40%, #000 100%);
    mask-image: radial-gradient(ellipse 45% 55% at 50% 50%, transparent 40%, #000 100%);
}
.hero-content { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero-circuit .trace {
        stroke-dasharray: 14 10;
        animation: circuitFlow 3s linear infinite;
    }
    @keyframes circuitFlow { to { stroke-dashoffset: -96; } }
}

/* ==========================================================================
   TECNOLOGÍAS
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
}
.tech-group {
    background: var(--blanco-fondo);
    border: 1px solid var(--gris-claro);
    border-top: 3px solid var(--verde-codigo);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}
.tech-group:nth-child(even) { border-top-color: var(--azul-tec); }
.tech-group h3 {
    font-size: 1rem;
    color: var(--blanco-puro);
    margin-bottom: 1rem;
}
.tech-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-chips li {
    background: rgba(46, 163, 115, 0.12);
    border: 1px solid rgba(46, 163, 115, 0.35);
    color: #CCD6E0;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
}


/* ==========================================================================
   DEMOS (miniaturas)
   ========================================================================== */
.demos {
    padding: 6rem 10%;
    background-color: var(--gris-oscuro);
}
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}
.demo-card {
    display: flex;
    flex-direction: column;
    background: var(--blanco-fondo);
    border: 1px solid var(--gris-claro);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.demo-card:hover,
.demo-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--verde-codigo);
    box-shadow: 0 12px 28px rgba(46, 163, 115, 0.18);
}
.demo-thumb {
    position: relative;
    height: 150px;
    padding: 14px;
    display: flex;
    align-items: flex-end;
}
.m-win {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 78px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 9px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}
.m-win i { display: block; background: rgba(255, 255, 255, 0.55); border-radius: 3px; height: 7px; }
.m-win .m-bar { height: 5px; width: 100%; background: rgba(255, 255, 255, 0.35); }
.m-win .w60 { width: 60%; }
.m-win .w40 { width: 40%; opacity: 0.7; }
.m-row { display: flex; gap: 6px; flex: 1; }
.m-row i { flex: 1; height: auto; background: rgba(255, 255, 255, 0.4); }
.demo-name {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.demo-info { padding: 1rem 1.1rem 1.2rem; }
.demo-rubro {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--verde-codigo);
    font-weight: 700;
}
.demo-info p { color: #8A99AD; font-size: 0.9rem; margin-top: 0.3rem; line-height: 1.45; }
.demos-cta { text-align: center; margin-top: 2.5rem; }
@media (max-width: 768px) {
    .demos { padding: 4rem 5%; }
}
