    /* ==========================================================================
       0. FUENTES LOCALES
       ========================================================================== */
    /* INTER */
    @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-v13-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
    @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-v13-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
    @font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-v13-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

    /* PLUS JAKARTA SANS */
    @font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plus-jakarta-sans-v8-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
    @font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plus-jakarta-sans-v8-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
    @font-face { font-family: 'Plus Jakarta Sans'; src: url('/assets/fonts/plus-jakarta-sans-v8-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

       
       
        /* ==========================================================================
           1. VARIABLES & RESET
           ========================================================================== */
        :root {
            --bg-body: #050505;
            --bg-surface: #0a0a0a;
            --bg-card: #0d0d0d;
            --border-light: rgba(255, 255, 255, 0.05);
            --border-hover: rgba(255, 255, 255, 0.12);
            
            --text-main: #ffffff;
            --text-muted: #a1a1aa;
            --accent: #029cd7;
            --accent-hover: #0286b8;
            
            --font-sans: 'Inter', sans-serif;
            --font-heading: 'Plus Jakarta Sans', sans-serif;
            
            --container-w: 1280px;
            --section-py: 140px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-btn: 6px;
            
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-body);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        img { max-width: 100%; height: auto; display: block; }
        a { color: inherit; text-decoration: none; }

        .seo-visually-hidden {
            position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
            overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
        }

        /* ==========================================================================
           2. TYPOGRAPHY & UTILITIES
           ========================================================================== */
        h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
        .h2-title { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1.5rem; }
        .text-muted { color: var(--text-muted); font-size: 1.125rem; line-height: 1.7; }
        .text-center { text-align: center; }
        
        .container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
        .section { padding: var(--section-py) 0; position: relative; }
        .section-header { max-width: 760px; margin: 0 auto 5rem; }

        /* ==========================================================================
           3. SISTEMA DE BOTONES
           ========================================================================== */
        .btn {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 12px 28px; font-family: var(--font-sans); font-weight: 500; font-size: 0.9375rem;
            letter-spacing: 0.01em; border-radius: var(--radius-btn); cursor: pointer; transition: var(--transition); text-align: center; line-height: 1;
        }
        .btn-sm { padding: 10px 18px; font-size: 0.875rem; }
        .btn-primary { background-color: var(--accent); color: #ffffff; border: 1px solid transparent; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(2, 156, 215, 0.4); }
        .btn-secondary { background-color: rgba(255,255,255,0.02); color: var(--text-main); border: 1px solid var(--border-light); }
        .btn-secondary:hover { border-color: rgba(255,255,255,0.25); background-color: rgba(255,255,255,0.06); transform: translateY(-1px); }
        .btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1rem;}

        /* ==========================================================================
           4. HEADER & NAVEGACIÓN
           ========================================================================== */
        .site-header {
            position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
            background: rgba(5, 5, 5, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid transparent; transition: var(--transition); height: 72px; display: flex; align-items: center;
        }
        .site-header.scrolled { border-bottom-color: var(--border-light); background: rgba(5, 5, 5, 0.95); }
        .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
        .brand-logo { display: flex; align-items: center; z-index: 101; position: relative; }
        .brand-logo-img { height: 32px; width: auto; display: block; transition: opacity 0.2s; }
        .brand-logo:hover .brand-logo-img { opacity: 0.8; }
        .main-nav { display: flex; flex: 1; justify-content: center; }
        .nav-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
        .nav-link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); letter-spacing: 0.01em; position: relative; padding: 8px 0; }
        .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background-color: var(--accent); transition: var(--transition); transform: translateX(-50%); border-radius: 2px; }
        .nav-link:hover { color: var(--text-main); }
        .nav-link:hover::after, .nav-link.active::after { width: 100%; }
        .nav-link.active { color: var(--text-main); }
        .header-actions { display: flex; align-items: center; gap: 16px; }
        .mobile-toggle { display: none; background: none; border: none; color: var(--text-main); cursor: pointer; z-index: 101; position: relative; padding: 4px; }

        /* ==========================================================================
           5. LAYOUT & GRIDS
           ========================================================================== */
        .grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 6rem; align-items: center; }
        .grid-2.reverse { grid-template-columns: 0.8fr 1.2fr; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
        .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

        /* ==========================================================================
           6. COMPONENTES Y CARDS PREMIUM
           ========================================================================== */
        /* Hero Home y Patrón Visual */
        .hero {
            position: relative;
            padding: 200px 0 120px; min-height: 100vh; display: flex; align-items: center;
            background: radial-gradient(ellipse at 50% 0%, rgba(2, 156, 215, 0.08) 0%, transparent 60%);
            overflow: hidden;
        }
        /* Patrón arquitectónico */
        .hero-bg-graphic {
            position: absolute; top: 0; right: 0; bottom: 0; left: 0;
            background-image: 
                linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
            background-size: 48px 48px;
            opacity: 0.7;
            mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
            -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
            z-index: 0;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 10px;
            padding: 8px 16px; margin-bottom: 2rem;
            background: rgba(2, 156, 215, 0.08); border: 1px solid rgba(2, 156, 215, 0.2); border-radius: 100px;
            font-size: 0.8125rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em;
            position: relative; z-index: 2;
        }
        .pulse-dot {
            width: 8px; height: 8px; background-color: var(--accent); border-radius: 50%;
            box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { opacity: 1; box-shadow: 0 0 0 0 rgba(2, 156, 215, 0.4); }
            70% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(2, 156, 215, 0); }
            100% { opacity: 1; box-shadow: 0 0 0 0 rgba(2, 156, 215, 0); }
        }
        .hero-title {
            position: relative; z-index: 2;
            font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem;
            background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            line-height: 1.05;
        }
        .text-glow {
            background: linear-gradient(90deg, #ffffff, var(--accent));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .hero-lead-wrapper {
            position: relative; z-index: 2;
            border-left: 3px solid var(--accent); padding-left: 2rem; margin-top: 1rem; margin-bottom: 2.5rem;
        }
        .hero-lead { font-size: clamp(1.125rem, 2vw, 1.25rem); color: var(--text-muted); max-width: 800px; line-height: 1.7; font-weight: 400; }
        .hero-microcopy { position: relative; z-index: 2; font-size: 0.8125rem; color: #71717a; margin-bottom: 3.5rem; display: block; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;}

        /* Cards Estándar */
        .card {
            background: linear-gradient(145deg, var(--bg-card) 0%, rgba(20,20,20,0.5) 100%);
            border: 1px solid var(--border-light); border-top-color: rgba(255,255,255,0.08); border-radius: var(--radius-md); 
            padding: 3.5rem 3rem; transition: var(--transition); height: 100%; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }
        .card:hover { border-color: var(--border-hover); border-top-color: rgba(2, 156, 215, 0.3); transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
        .card-icon {
            width: 64px; height: 64px; margin-bottom: 2rem; background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); border-radius: 14px;
            display: flex; align-items: center; justify-content: center; color: var(--text-main); transition: var(--transition);
        }
        .card:hover .card-icon { background: rgba(2, 156, 215, 0.08); border-color: rgba(2, 156, 215, 0.2); color: var(--accent); transform: scale(1.05); }
        .card.text-center .card-icon { margin-left: auto; margin-right: auto; }
        .card-title { font-size: 1.375rem; margin-bottom: 1rem; letter-spacing: -0.01em; }

        /* Project Cards (App Icon Style) */
        a.project-card { 
            text-decoration: none; display: flex; flex-direction: column; align-items: center; 
            padding: 2.5rem 1.5rem; background: var(--bg-surface); border: 1px solid transparent; border-radius: var(--radius-md); transition: var(--transition);
        }
        a.project-card:hover { background: var(--bg-card); border-color: var(--border-light); transform: translateY(-4px); }
        .project-acronym {
            width: 72px; height: 72px; margin-bottom: 1.5rem;
            background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light); border-radius: 16px;
            display: flex; align-items: center; justify-content: center; color: var(--text-main); transition: var(--transition); box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
        }
        a.project-card:hover .project-acronym {
            background: rgba(2, 156, 215, 0.08); border-color: rgba(2, 156, 215, 0.3); transform: scale(1.05); color: var(--accent); box-shadow: 0 8px 20px -4px rgba(2, 156, 215, 0.2);
        }
        a.project-card .card-title { font-size: 1.125rem; text-align: center; margin-bottom: 0.5rem;}
        .project-link { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; transition: var(--transition); opacity: 0; transform: translateY(5px); }
        a.project-card:hover .project-link { color: var(--accent); opacity: 1; transform: translateY(0); }

        /* Deep Dive Sections */
        .deep-dive { border-top: 1px solid var(--border-light); padding: var(--section-py) 0; }
        .deep-dive .text-content { max-width: 540px; }
        .image-placeholder {
            background: radial-gradient(circle at 50% 50%, rgba(2, 156, 215, 0.05) 0%, transparent 70%), var(--bg-card);
            border: 1px solid var(--border-light); border-radius: var(--radius-lg); aspect-ratio: 4/3;
            display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.15); position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }
        .image-placeholder svg { transition: var(--transition); }
        .deep-dive:hover .image-placeholder svg { color: rgba(2, 156, 215, 0.8); transform: scale(1.03); }

        /* ==========================================================================
           7. CTA FINAL Y FOOTER
           ========================================================================== */
        .cta-container {
            background: linear-gradient(180deg, var(--bg-card) 0%, #030303 100%); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 5rem 3rem; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); margin: 0 auto; max-width: 1000px;
        }
        .cta-container::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, rgba(2, 156, 215, 0.8), transparent); }
        .cta-container::after { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(2, 156, 215, 0.08) 0%, transparent 70%); pointer-events: none; }
        .cta-container .h2-title { position: relative; z-index: 1; }
        .cta-container .text-muted { position: relative; z-index: 1; }
        .cta-container .btn-group { position: relative; z-index: 1; justify-content: center; margin-top: 2rem; }

        .site-footer { border-top: 1px solid var(--border-light); padding: 80px 0 40px; background: var(--bg-body); }
        .footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 80px; }
        .footer-text { font-size: 0.9375rem; line-height: 1.7; color: var(--text-muted); max-width: 320px; }
        .footer-heading { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-main); margin-bottom: 1.5rem; opacity: 0.9; }
        .footer-links { list-style: none; }
        .footer-links li { margin-bottom: 0.875rem; }
        .footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: var(--transition); }
        .footer-links a:hover { color: var(--accent); }
        .social-links { display: flex; gap: 16px; margin-top: 2.5rem; flex-wrap: wrap; }
        .social-links a { color: var(--text-muted); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
        .social-links a:hover { color: var(--accent); transform: translateY(-3px); }
        .footer-bottom { padding-top: 32px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.875rem; }

        /* Animation Classes */
        .fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1); }
        .fade-up.visible { opacity: 1; transform: translateY(0); }

        /* ==========================================================================
           8. RESPONSIVE DESIGN
           ========================================================================== */
        @media (max-width: 1024px) {
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
            .grid-2 { grid-template-columns: 1fr; gap: 4rem; }
            .grid-2.reverse { grid-template-columns: 1fr; }
            .deep-dive .text-content { max-width: 100%; text-align: center; margin: 0 auto; }
            .deep-dive .btn-secondary { margin: 0 auto; }
            
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
             /* .main-nav { display: none; } Removido para que el menú móvil sea visible */
            .mobile-toggle { display: block; }
            .header-cta { display: none; }
            
            .nav-menu {
                position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
                background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
                flex-direction: column; justify-content: center; align-items: center;
                gap: 2rem; padding: 2rem;
                transform: translateY(-100%); opacity: 0; visibility: hidden; transition: var(--transition);
                z-index: 100;
            }
            .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
            
            /* Estilo Premium para enlaces en Mobile */
            .nav-link { font-size: 1.25rem; padding: 12px 32px; border-radius: 100px; }
            .nav-link.active { color: var(--accent); background: rgba(2, 156, 215, 0.1); font-weight: 600; }
            .nav-link::after { display: none; }
            
            .nav-menu .mobile-cta-wrapper { display: block; margin-top: 1rem; }
        }

        .mobile-cta-wrapper { display: none; }

        @media (max-width: 768px) {
            :root { --section-py: 100px; }
            .hero { padding: 160px 0 80px; text-align: center; }
            .hero-lead-wrapper { border-left: none; padding-left: 0; margin-top: 1.5rem; }
            .hero-lead { margin: 0 auto 2rem; }
            .btn-group { justify-content: center; }
            .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
            
            .card { padding: 2.5rem 2rem; }
            a.project-card { padding: 2rem 1.5rem; }
            .cta-container { padding: 4rem 2rem; }
            
            .deep-dive:nth-child(even) .container.grid-2 { direction: rtl; }
            .deep-dive .container.grid-2 > div { direction: ltr; }
        }
        
        @media (max-width: 480px) {
            .grid-4 { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
            .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
            .btn { width: 100%; }
            .section-header { margin-bottom: 3rem; }
        }
