        /* ==========================================================================
           1. Configuración Base, Esquema de Color y Selección (P05, P48, P70)
           ========================================================================== */
        :root {
            color-scheme: dark;
            scrollbar-gutter: stable;
        }
        html {
            background-color: #070708;
            -webkit-tap-highlight-color: transparent;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }
        button,
        a {
            touch-action: manipulation;
        }
        html.scroll-locked,
        html.scroll-locked body {
            overflow: hidden !important;
            overscroll-behavior: none;
        }
        body {
            background-color: #070708;
            color: #f4f1ea;
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
            min-height: 100vh;
            min-height: 100svh;
            min-height: 100dvh;
            overflow-x: hidden;
            overflow-x: clip;
            -webkit-font-smoothing: antialiased;
            font-feature-settings: "ss01" 1, "cv01" 1;
        }
        header {
            padding-top: env(safe-area-inset-top, 0px);
            padding-left: env(safe-area-inset-left, 0px);
            padding-right: env(safe-area-inset-right, 0px);
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        footer#site-footer {
            padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
            padding-left: env(safe-area-inset-left, 0px);
            padding-right: env(safe-area-inset-right, 0px);
        }
        /* En escritorio, la portada (#inicio) encaja exactamente en 100svh sin necesidad de scroll vertical */
        @media (min-width: 1024px) and (min-height: 640px) {
            body[data-active-tab="inicio"] {
                height: 100vh;
                height: 100svh;
                max-height: 100vh;
                max-height: 100svh;
                overflow: hidden;
            }
        }
        .font-serif {
            font-family: 'Newsreader', Georgia, serif;
            letter-spacing: -0.02em;
            font-feature-settings: "liga" 1;
        }
        .font-amassa {
            font-family: 'Instrument Serif', Georgia, serif;
        }
        ::selection {
            background-color: #e85d2a;
            color: #070708;
        }
        /* Armonización cálida de grises para acompañar Newsreader + Terracota Cobre */
        .text-gray-300 { color: #d6d1c7 !important; }
        .text-gray-400 { color: #a8a298 !important; }

        /* Regla de alineación de encabezados de sección (P11):
           Todos los encabezados h2 de sección van alineados a la izquierda en todos los breakpoints,
           salvo #contacto que va centrado en todos los breakpoints por ser un bloque CTA focalizado. */

        /* ==========================================================================
           2. Textura de Ruido Optimizada (PNG mosaico 64x64 + contain) (P64)
           ========================================================================== */
        .noise {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.022;
            background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAAAAACPAi4CAAAQS0lEQVR42gFAEL/vAFLyJmWmDBLSiRhdlQ7ogTYJFm9rET0XjWwP05Af8jmhoJXyD5OVZQz5OAuO2yJKaySKHpJOj9CuLhqUkqMwXxgAjLYQkA+eNH+uiG3GUHeV7HRcTD/LLrLHPhSTTIZ+4Fe6ckmb+hIeg2sqwVcm7n1rCvarE8OOksrg0VBXsVmYfwCUzHQR1xfxRXmyqhAPu7NPpZP+rtJySLdi46tYBfB2WiucHX4PN8RJIb0/ZWTq338UKnJmjEfiI9Fu3YxHtGr8AFuu4mH1OyYVLSY7qDsDfNSWLkNIASVriF6ckFHzILDbg/Oep629DXTm3sfz367Mj2RlZmQae6JmDzAR/DVwKRwAV5kNGgCRJokZ8l2dBhLfNZ1gJqJA9FiaXXkfHdl8/vp3entPFSQav1e9Q3rUsSmEBTTz84dcJbCL6gbCh0z6pADdF7LYQoRd6CpbxTmIiseAVKI5nM/J/MLaMc490Wa9zTozhH5buwf9B8pHeEIxsZr0WHLO77n8WfT5XRQ4Gjp4ADJWNHuf/Oac1wB66KdYzKQV1ake6GPItsAzeuMtb8qiVRbN8vi4ZXZmvvIVuSgr/iAHJpfnd86nJZzTmPp5qO8AWSeMjCEFA8z4uaYahr/vI2/83zHT3zYHQDZKgD3DllNCi2vVIQ/ovVrldamV0OeEa9Pq4IAhiCaGggTfcMYumwABxswmLCR5nrkejg9TroSHjnvIxhvijw4/MEYKxRmBc48HwuTpEHFTnPmBm4MzsUZzgojOeoHxP7KF4ODx7ULsAI/k8TPXciNqH2RxUBKrPW0SNqtNyB/lxifwt6SpXSRA4iP3dz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LfqkQ/L5DU/F0JKbNfk5jbAVuF7nL3hBIeW7Y+0dTd6VLHtt5hk8DlAA9K3xv0u35ygwaHzYkiBT73FjmeLioaT0CO0fQHBBjtsr0xQgTWmaOTdoU9s3EaWd4Yty0LRR93fpWAwkccHx8AZ+Ijipc63Dolq5J2v2Uq8tME8KJjsWuY1pqGCWX48A3GXFZmPdZVt2/X+5DN/OlS0GbYjw1ThCX1ru9aP95sqQChAl0bhy8RU24zgasFOSNr+GXG/+90ogvP+uL54goI3aSeROqtn0Wgis7sCZ8ZQB+FA2888wpJHE5YpSoeD5j1APTrg+ZEFXeXiO4lcB+CIeJL6miTSUY+vBa9i0nWdJyxkTimYjOMtV115IxNnHp40U8HPlU4MIOLYviVZQPsWimx+dvi4WQNmQAAAABJRU5ErkJggg==");
            background-repeat: repeat;
            background-size: 64px 64px;
            contain: strict;
        }

        /* ==========================================================================
           3. Cursor Personalizado (solo en pointer:fine + hover:hover + JS) (P05, P20, P21, P22, P47)
           ========================================================================== */
        #cursor-dot,
        #cursor-outline {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            border-radius: 50%;
            pointer-events: none;
            z-index: 2147483647 !important;
            opacity: 0;
            will-change: transform, opacity;
            contain: layout style size;
            transition: opacity 0.14s ease, background-color 0.2s ease;
        }
        html.has-custom-cursor,
        html.has-custom-cursor body,
        html.has-custom-cursor a,
        html.has-custom-cursor button,
        html.has-custom-cursor [role="button"],
        html.has-custom-cursor label {
            cursor: none !important;
        }
        html.has-custom-cursor input,
        html.has-custom-cursor textarea,
        html.has-custom-cursor select {
            cursor: text !important;
        }
        html.has-custom-cursor iframe,
        html.has-custom-cursor #modal-iframe,
        html.has-custom-cursor #modal-iframe-container {
            cursor: auto !important;
        }
        html.has-custom-cursor #cursor-dot,
        html.has-custom-cursor #cursor-outline {
            display: block;
        }
        #cursor-dot {
            width: 6px;
            height: 6px;
            margin-left: -3px;
            margin-top: -3px;
            background: #ffffff;
            box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
        }
        #cursor-outline {
            width: 38px;
            height: 38px;
            margin-left: -19px;
            margin-top: -19px;
            border: 1.5px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
        }

        /* ==========================================================================
           4. Foco Visible Accesible y Estados Activos Táctiles (P35, P48, P70)
           ========================================================================== */
        :focus-visible {
            outline: 2px solid #ff4a00;
            outline-offset: 4px;
        }
        button:active,
        a:active {
            opacity: 0.88;
        }

        /* Skip link (P41) */
        .skip-link {
            position: fixed;
            top: 0.75rem;
            left: 0.75rem;
            z-index: 10001;
            padding: 0.625rem 1rem;
            background: #ff4a00;
            color: #050505;
            font-weight: 600;
            font-size: 0.8125rem;
            border-radius: 0.375rem;
            transform: translateY(-200%);
            transition: transform 0.2s ease;
        }
        .skip-link:focus {
            transform: translateY(0);
            outline: 2px solid #ffffff;
            outline-offset: 2px;
        }

        /* ==========================================================================
           5. Preloader y Animaciones con Degradación Progresiva (P06, P14, P15, P24, P25)
           ========================================================================== */
        #preloader {
            display: none;
        }
        .js #preloader {
            position: fixed;
            inset: 0;
            background: #050505;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 1rem;
        }
        .js #preloader.is-done {
            display: none !important;
        }
        .loader-text {
            font-family: 'Newsreader', Georgia, serif;
            font-weight: 400;
            letter-spacing: -0.02em;
            font-size: clamp(2.5rem, 1.2rem + 5.5vw, 5.5rem);
            line-height: 1.1;
            padding: 0.1em 0.15em;
            overflow: hidden;
        }
        /* Escenario 3D WebGL a pantalla completa detrás de la UI */
        #px-webgl-wrap {
            position: fixed;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            overflow: hidden;
            -webkit-user-select: none;
            -webkit-touch-callout: none;
        }
        #px-webgl-canvas {
            width: 100%;
            height: 100%;
            display: block;
        }
        #px-stage-drag-zone {
            width: 100%;
            height: 480px;
            -webkit-user-select: none;
            -webkit-touch-callout: none;
            touch-action: manipulation;
        }
        @media (max-width: 1023px) {
            #px-stage-drag-zone {
                height: 320px;
            }
        }

        .px-step-indicator {
            height: 6px !important;
            border-radius: 9999px !important;
            border: none !important;
            outline: none !important;
            padding: 0 !important;
            transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, opacity 0.3s ease !important;
            cursor: pointer;
        }
        .px-step-indicator.active {
            width: 28px !important;
            background-color: #e85d2a !important;
            opacity: 1 !important;
            box-shadow: 0 0 8px rgba(232, 93, 42, 0.6);
        }
        .px-step-indicator:not(.active) {
            width: 8px !important;
            background-color: rgba(255, 255, 255, 0.32) !important;
            opacity: 0.6 !important;
        }
        .px-step-indicator:hover:not(.active) {
            background-color: rgba(255, 255, 255, 0.75) !important;
            opacity: 0.9 !important;
        }
        main#main-content,
        footer#site-footer {
            position: relative;
            z-index: 10;
        }
        /* Modo inmersivo 3D a pantalla completa con coreografía cinematográfica de ~2.3s */
        .hero-copy-col,
        #site-footer,
        header {
            transition: opacity 0.45s ease;
        }
        body.immersive-3d {
            overscroll-behavior: none;
        }
        body.immersive-3d .hero-copy-col {
            opacity: 0 !important;
            transform: translate3d(-110px, 0, 0) scale(0.92) !important;
            -webkit-filter: blur(12px) !important;
            filter: blur(12px) !important;
            pointer-events: none !important;
        }
        body.immersive-3d header {
            opacity: 0 !important;
            transform: translate3d(0, -42px, 0) !important;
            -webkit-filter: blur(8px) !important;
            filter: blur(8px) !important;
            pointer-events: none !important;
        }
        body.immersive-3d #site-footer,
        body.immersive-3d #floating-cta {
            opacity: 0 !important;
            transform: translate3d(0, 42px, 0) !important;
            -webkit-filter: blur(8px) !important;
            filter: blur(8px) !important;
            pointer-events: none !important;
        }
        #px-cinematic-flash {
            position: fixed;
            inset: 0;
            z-index: 5;
            pointer-events: none;
            opacity: 0;
            background: radial-gradient(circle at 50% 50%, rgba(232, 93, 42, 0.28) 0%, rgba(243, 166, 97, 0.10) 38%, rgba(7, 7, 8, 0) 72%);
            mix-blend-mode: screen;
            will-change: opacity, transform;
        }
        body.immersive-3d .hero-media-anim {
            transform: none !important;
            position: static !important;
        }
        body.immersive-3d #px-stage-drag-zone {
            position: fixed !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            margin: 0 !important;
            z-index: 70 !important;
            touch-action: none !important;
        }
        #px-fullscreen-hint {
            position: fixed;
            left: 50%;
            bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
            transform: translate(-50%, 14px);
            z-index: 80;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
        body.immersive-3d #px-fullscreen-hint {
            opacity: 1;
            transform: translate(-50%, 0);
            pointer-events: auto;
        }
        #px-stage-subtle-caption {
            transition: opacity 0.55s ease, transform 0.55s ease;
        }
        body.immersive-3d #px-stage-subtle-caption {
            opacity: 0 !important;
            transform: translateY(10px) !important;
            pointer-events: none !important;
        }
        .hud-pill {
            background: rgba(10, 10, 12, 0.78);
            border: 1px solid rgba(255, 255, 255, 0.14);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
        }
        .hud-pill:hover {
            border-color: rgba(255, 74, 0, 0.55);
            color: #fafafa;
        }
        .hud-pill[aria-pressed="true"] {
            background: rgba(255, 74, 0, 0.18);
            border-color: #ff4a00;
            color: #fafafa;
        }
        .js .loader-text span {
            display: inline-block;
            transform: translateY(105%);
        }

        /* Tipografía fluida con clamp() y protección de descendentes/cursivas para Boska (P14, P15) */
        .hero-title {
            font-size: clamp(1.9rem, 0.8rem + 2.35vw, 3.25rem);
            line-height: 1.08;
            letter-spacing: -0.022em;
            font-weight: 400;
        }
        @media (min-width: 1024px) {
            .hero-title .reveal-line {
                white-space: nowrap;
            }
        }
        /* Acordeón desplegable suave para tarjetas de Equipo */
        .founder-details-panel {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
            opacity: 0;
        }
        .founder-details-panel.is-open {
            grid-template-rows: 1fr;
            opacity: 1;
        }
        .founder-details-inner {
            overflow: hidden;
        }
        .founder-toggle-icon {
            transition: transform 0.3s ease;
        }
        button[aria-expanded="true"] .founder-toggle-icon {
            transform: rotate(180deg);
        }
        .modal-title-fluid {
            font-size: clamp(2rem, 1.35rem + 2.8vw, 3.4rem);
            line-height: 1.04;
            letter-spacing: -0.02em;
            font-weight: 500;
        }
        .reveal-line {
            display: block;
            overflow: hidden;
            padding-top: 0.08em;
            margin-top: -0.08em;
            padding-bottom: 0.14em;
            margin-bottom: -0.14em;
            padding-right: 0.12em;
        }
        /* Solo ocultamos inicialmente cuando JS está activo y no hay reduced-motion (P06, P33) */
        html.js:not(.reduced-motion) .reveal-line .hero-text-anim {
            display: inline-block;
            transform: translateY(110%);
        }
        /* El párrafo descriptivo y el contenedor del botón no usan overflow:hidden para permitir salto de línea limpio en móvil */
        html.js:not(.reduced-motion) .hero-fade-anim {
            opacity: 0;
            transform: translateY(16px);
        }
        html.js:not(.reduced-motion) .hero-media-anim {
            opacity: 0;
            transform: scale(0.96);
        }

        /* ==========================================================================
           6. Superficies Glassmorphism y Fallbacks (P53, P64)
           ========================================================================== */
        /* Tarjetas del grid sin backdrop-filter porque el fondo es plano (P64) */
        .glass-card {
            background: rgba(255, 255, 255, 0.025);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: background-color 0.35s ease, border-color 0.35s ease;
        }
        .glass-card:hover,
        .glass-card:focus-within {
            background: rgba(255, 255, 255, 0.055);
            border-color: rgba(255, 74, 0, 0.45);
        }
        /* Variante estática sin efecto hover para formulario y modal (P53) */
        .glass-card--static {
            background: rgba(12, 12, 12, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        /* Superficies con blur reducido (8-10px): solo nav, modal y menú móvil (P64) */
        .surface-blur {
            background: rgba(7, 7, 8, 0.90);
            -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
            contain: layout style;
        }
        @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
            .surface-blur {
                background: rgba(8, 8, 8, 0.96);
            }
        }

        /* ==========================================================================
           7. Imágenes, Parallax y Comportamiento Táctil vs Hover (P13, P54, P70)
           ========================================================================== */
        .img-wrap {
            overflow: hidden;
            position: relative;
            background-color: #18181b;
            isolation: isolate;
            -webkit-mask-image: -webkit-radial-gradient(white, black);
        }
        #modal-dialog-box,
        #mobile-menu-panel {
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
        }
        .parallax-img {
            transform: scale(1.22);
            transform-origin: center center;
            will-change: transform;
        }
        /* En dispositivos táctiles mostramos color (ligero grayscale 20%) porque no hay hover (P54) */
        .editorial-img {
            filter: grayscale(20%) contrast(1.04);
            transition: filter 0.6s ease, transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
        }
        @media (hover: hover) and (pointer: fine) {
            .editorial-img {
                filter: grayscale(100%) contrast(1.08);
            }
            .project-card:hover .editorial-img,
            .project-card:focus-within .editorial-img,
            .hero-media-card:hover .editorial-img,
            .founder-card:hover .founder-img,
            .founder-card:focus-within .founder-img {
                filter: grayscale(0%) contrast(1);
            }
            .founder-card:hover .founder-img,
            .founder-card:focus-within .founder-img {
                transform: scale(1.04);
            }
        }

        /* Tarjeta de proyecto con botón estirado para preservar semántica h3 (P04, P38, P50) */
        .project-card {
            position: relative;
        }
        .card-stretched-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 10;
            border-radius: 0.75rem;
        }
        .card-stretched-btn:focus-visible {
            outline: none;
        }
        .card-stretched-btn:focus-visible::after {
            outline: 2px solid #ff4a00;
            outline-offset: 4px;
        }
        .card-cta-indicator {
            transition: color 0.25s ease, transform 0.25s ease;
        }
        .project-card:hover .card-cta-indicator,
        .project-card:focus-within .card-cta-indicator {
            color: #ff4a00;
            transform: translateX(4px);
        }

        /* ==========================================================================
           8. Sistema de Pestañas (P01, P02)
           ========================================================================== */
        .tab-content {
            display: none;
            opacity: 0;
        }
        .tab-content:not(.active) {
            display: none !important;
        }
        .tab-content.active {
            display: block;
            opacity: 1;
        }

        /* Indicador activo en navegación (color + subrayado acento, no solo color) (P27, P48) */
        .nav-tab-btn {
            position: relative;
            padding-bottom: 0.25rem;
        }
        .nav-tab-btn::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background-color: #ff4a00;
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.25s ease;
        }
        .nav-tab-btn[aria-current="page"] {
            color: #fafafa;
        }
        .nav-tab-btn[aria-current="page"]::after {
            transform: scaleX(1);
        }

        /* ==========================================================================
           9. Formulario Accesible y Ancho Completo (P09, P17, P35, P43)
           ========================================================================== */
        .input-group {
            position: relative;
            display: block;
            width: 100%;
            margin-bottom: 1.75rem;
        }
        .input-group input,
        .input-group textarea {
            display: block;
            width: 100%;
            background: transparent;
            border: none;
            -webkit-border-radius: 0;
            border-radius: 0;
            -webkit-appearance: none;
            appearance: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.28);
            padding: 1rem 0 0.75rem 0;
            color: #fafafa;
            font-size: max(16px, 1rem);
            line-height: 1.5;
            transition: border-color 0.25s ease, box-shadow 0.25s ease;
        }
        .input-group input:focus,
        .input-group textarea:focus {
            outline: none;
            border-bottom-color: #ffffff;
            box-shadow: 0 2px 0 0 #ff4a00;
        }
        .input-group input[aria-invalid="true"],
        .input-group textarea[aria-invalid="true"] {
            border-bottom-color: #f87171;
            box-shadow: 0 2px 0 0 #f87171;
        }
        .input-group label {
            position: absolute;
            top: 0.9rem;
            left: 0;
            color: #9ca3af;
            pointer-events: none;
            transition: 0.25s ease all;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .input-group input:focus ~ label,
        .input-group input:not(:placeholder-shown) ~ label,
        .input-group textarea:focus ~ label,
        .input-group textarea:not(:placeholder-shown) ~ label {
            top: -0.75rem;
            font-size: 0.75rem;
            color: #fafafa;
        }
        .field-error {
            display: none;
            margin-top: 0.375rem;
            font-size: 0.75rem;
            color: #fca5a5;
        }
        .field-error.is-visible {
            display: block;
        }

        /* ==========================================================================
           10. Fundadores: Cabecera con Avatar Squircle (P08, P54)
           ========================================================================== */
        .founder-card {
            padding: 1.75rem !important;
            overflow: hidden;
        }
        @media (min-width: 768px) {
            .founder-card {
                padding: 2rem !important;
            }
        }
        .founder-avatar-squircle {
            width: 88px;
            height: 88px;
            min-width: 88px;
            min-height: 88px;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background-color: #161616;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            flex-shrink: 0;
            transition: border-color 0.35s ease, box-shadow 0.35s ease;
        }
        @media (min-width: 768px) {
            .founder-avatar-squircle {
                width: 96px;
                height: 96px;
                min-width: 96px;
                min-height: 96px;
            }
        }
        .founder-card:hover .founder-avatar-squircle,
        .founder-card:focus-within .founder-avatar-squircle {
            border-color: rgba(255, 255, 255, 0.35);
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 95, 31, 0.15);
        }
        .founder-avatar-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 20%;
            filter: grayscale(100%) contrast(1.08);
            transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .founder-card:hover .founder-avatar-img,
        .founder-card:focus-within .founder-avatar-img {
            filter: grayscale(0%) contrast(1);
            transform: scale(1.06);
        }

        
        /* Estilos seguros para la barra de marcas / clientes en portada */
        .trust-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.75rem;
            width: 100%;
        }
        @media (max-width: 640px) {
            .trust-cards-grid {
                grid-template-columns: 1fr;
            }
        }
        .trust-logo-circle {
            width: 32px !important;
            height: 32px !important;
            min-width: 32px !important;
            min-height: 32px !important;
            max-width: 32px !important;
            max-height: 32px !important;
            border-radius: 9999px !important;
            overflow: hidden !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
        }

        /* ==========================================================================
           10b. Modal Center Peek para Perfil de Fundador (Notion Style)
           ========================================================================== */
        #founder-modal {
            position: fixed;
            inset: 0;
            z-index: 999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1rem + env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) calc(1rem + env(safe-area-inset-left, 0px));
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            overscroll-behavior: contain;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        #founder-modal.flex {
            display: flex !important;
        }
        #founder-modal-dialog {
            width: 100%;
            max-width: 940px;
            max-height: 90vh;
            max-height: 90svh;
            max-height: 90dvh;
            border-radius: 24px;
            background: #0e0e10;
            border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 95, 31, 0.08);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            transform: scale(0.96);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        }
        .founder-peek-body {
            display: flex;
            flex-direction: row;
            gap: 2.5rem;
            padding: 2.5rem;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }
        #project-modal {
            overscroll-behavior: contain;
            padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
            padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        }
        #modal-dialog-box {
            max-height: 92svh;
            max-height: 92dvh;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }
        @media (max-width: 768px) {
            .founder-peek-body {
                flex-direction: column;
                align-items: center;
                padding: 1.5rem;
                gap: 1.5rem;
            }
        }
        .founder-peek-photo-col {
            width: 260px;
            min-width: 260px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        @media (max-width: 768px) {
            .founder-peek-photo-col {
                width: 100%;
                max-width: 260px;
            }
        }
        .founder-peek-photo-frame {
            width: 100%;
            height: 320px;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.16);
            background: #141414;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        .founder-peek-photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }
        .founder-peek-photo-frame:hover img {
            transform: scale(1.08);
        }
        .founder-peek-info-col {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
        }
        .founder-clickable-avatar {
            cursor: pointer;
            position: relative;
            outline: none;
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
        }
        @media (hover: hover) and (pointer: fine) {
            .founder-clickable-avatar:hover,
            .founder-clickable-avatar:focus-visible {
                transform: scale(1.03);
                box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.6);
            }
            .founder-clickable-avatar:hover::after,
            .founder-clickable-avatar:focus-visible::after {
                opacity: 1;
            }
        }

        /* Botón flotante respetando safe-area y ocultación dinámica (P16) */
        .floating-cta {
            bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
            right: calc(1.25rem + env(safe-area-inset-right, 0px));
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .floating-cta.is-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* ==========================================================================
           11. Accesibilidad: Movimiento Reducido (P33)
           ========================================================================== */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
            #preloader {
                display: none !important;
            }
            .reveal-line .hero-text-anim,
            .hero-media-anim {
                transform: none !important;
                opacity: 1 !important;
            }
            .parallax-img {
                transform: scale(1.02) !important;
            }
        }

        section[id] {
            scroll-margin-top: 5.5rem;
        }
        @media (max-width: 1023px) {
            .hero-title {
                font-size: clamp(1.85rem, 7.2vw, 2.55rem);
                line-height: 1.08;
                margin-bottom: 0.9rem !important;
            }
            .hero-title .reveal-line {
                white-space: normal;
            }
            #inicio .hero-fade-anim.block {
                margin-bottom: 1rem !important;
                font-size: 0.85rem !important;
                line-height: 1.55 !important;
            }
            #px-stage-drag-zone {
                height: 235px !important;
                margin-top: 0.75rem !important;
                margin-bottom: 0.25rem !important;
                touch-action: pan-y;
            }
            .parallax-img {
                transform: none !important;
            }
            .floating-cta {
                display: none !important;
            }
        }
        
        .desktop-nav-wrap {
            display: none;
        }
        @media (min-width: 768px) {
            .desktop-nav-wrap {
                display: flex !important;
                align-items: center;
                gap: 1.85rem;
            }
        }
        html.light-theme button[data-open-founder] {
            color: #111827 !important;
            border-color: rgba(0, 0, 0, 0.12) !important;
            background: rgba(0, 0, 0, 0.03) !important;
        }
        html.light-theme button[data-open-founder]:hover {
            background: rgba(0, 0, 0, 0.07) !important;
            border-color: rgba(232, 93, 42, 0.45) !important;
        }

        /* ==========================================================================
           13. Modo Claro Editorial de Alto Contraste & Morpheo Espectacular
           ========================================================================== */
                /* Botón de alternancia de tema: Sol y Luna Minimalista Editorial */
        .theme-toggle-btn {
            width: 36px !important;
            height: 36px !important;
            min-width: 36px !important;
            min-height: 36px !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 9999px !important;
            cursor: pointer !important;
            position: relative !important;
            background: rgba(255, 255, 255, 0.05) !important;
            border: 1px solid rgba(255, 255, 255, 0.14) !important;
            color: #F59E0B !important;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
            transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
        }
        .theme-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.12) !important;
            border-color: rgba(245, 158, 11, 0.45) !important;
            color: #FBBF24 !important;
            box-shadow: 0 0 14px rgba(245, 158, 11, 0.25) !important;
        }
        .theme-toggle-btn svg {
            width: 18px !important;
            height: 18px !important;
            min-width: 18px !important;
            min-height: 18px !important;
            display: block !important;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }
        .theme-toggle-btn .theme-icon-sun {
            display: block !important;
        }
        .theme-toggle-btn .theme-icon-moon {
            display: none !important;
        }
        .theme-toggle-btn:hover .theme-icon-sun {
            transform: scale(1.08) rotate(15deg) !important;
        }
        .theme-toggle-btn:hover .theme-icon-moon {
            transform: scale(1.08) rotate(-12deg) !important;
        }

        /* Base Modo Claro: Mármol Italiano Calacatta / Travertino de Alta Gama */
        html.light-theme {
            color-scheme: light;
            background-color: #ECE7DF !important;
        }
        html.light-theme body {
            background-color: #ECE7DF !important;
            background-image:
                radial-gradient(ellipse 68% 42% at 78% 12%, rgba(234, 88, 12, 0.08) 0%, rgba(245, 158, 11, 0.03) 45%, transparent 72%),
                radial-gradient(ellipse 55% 38% at 15% 45%, rgba(165, 150, 135, 0.14) 0%, transparent 65%),
                linear-gradient(165deg, #F1ECE4 0%, #ECE7DF 48%, #E6E0D6 100%) !important;
            background-repeat: no-repeat !important;
            background-size: 100% 100% !important;
            background-attachment: scroll !important;
            color: #141210 !important;
        }

        /* Tipografía de Alto Contraste */
        html.light-theme .hero-title,
        html.light-theme h1,
        html.light-theme h2,
        html.light-theme h3,
        html.light-theme h4,
        html.light-theme .text-white {
            color: #09090B !important;
        }
        /* Acento editorial terracota en cursivas para mantener el alma de Pascalix Studio */
        html.light-theme .hero-title .italic,
        html.light-theme #studio-heading .italic,
        html.light-theme h2 .italic {
            color: #C2410C !important;
        }
        html.light-theme .text-gray-300 {
            color: #27272A !important;
        }
        html.light-theme .text-gray-400 {
            color: #52525B !important;
        }
        html.light-theme .text-gray-500 {
            color: #71717A !important;
        }
        html.light-theme .text-accent {
            color: #C2410C !important;
        }

        /* Divisores y Bordes con Presencia Arquitectónica */
        html.light-theme .border-white\/10,
        html.light-theme .border-white\/15,
        html.light-theme .border-white\/20,
        html.light-theme [class*="border-white/"] {
            border-color: rgba(0, 0, 0, 0.12) !important;
        }

        /* Superficie de la Cabecera en Modo Claro: Cristal de Mármol Apomazado ligero (60 FPS) */
        html.light-theme header.surface-blur {
            background-color: rgba(247, 244, 238, 0.94) !important;
            background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(243, 238, 230, 0.25) 100%) !important;
            background-size: 100% 100% !important;
            background-repeat: no-repeat !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border-bottom: 1px solid rgba(185, 168, 146, 0.48) !important;
            box-shadow: 
                inset 0 -1px 0 rgba(255, 255, 255, 0.85),
                inset 0 1px 0 rgba(255, 255, 255, 0.95),
                0 4px 18px -2px rgba(45, 35, 25, 0.05) !important;
        }
        /* Otras superficies con blur (menú móvil) */
        html.light-theme .surface-blur:not(header) {
            background: rgba(245, 244, 240, 0.96) !important;
            border-color: rgba(0, 0, 0, 0.10) !important;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
        }
        /* Botón cerrar modal en modo claro */
        html.light-theme #modal-close-btn {
            background: rgba(0, 0, 0, 0.06) !important;
            color: #18181B !important;
            border-color: rgba(0, 0, 0, 0.12) !important;
        }
        html.light-theme #modal-close-btn:hover {
            background: #ff4500 !important;
            color: #ffffff !important;
            border-color: #ff4500 !important;
        }

        /* Tarjetas Modo Claro: Losas de Alabastro sin backdrop-filter costoso (60 FPS) */
        html.light-theme .glass-card {
            background: rgba(253, 251, 248, 0.94) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: 1px solid rgba(190, 175, 155, 0.42) !important;
            box-shadow: 
                inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
                inset 0 0 0 1px rgba(255, 255, 255, 0.4),
                0 4px 16px -2px rgba(45, 35, 25, 0.06),
                0 16px 36px -8px rgba(45, 35, 25, 0.08) !important;
        }
        html.light-theme .glass-card:hover,
        html.light-theme .glass-card:focus-within {
            background: rgba(255, 255, 255, 0.96) !important;
            border-color: rgba(194, 65, 12, 0.5) !important;
            box-shadow: 
                inset 0 1px 0 0 rgba(255, 255, 255, 1),
                0 8px 24px -2px rgba(194, 65, 12, 0.12),
                0 24px 50px -10px rgba(45, 35, 25, 0.14) !important;
        }
        html.light-theme .glass-card--static {
            background: rgba(253, 251, 248, 0.92) !important;
            border-color: rgba(190, 175, 155, 0.45) !important;
            box-shadow: 
                inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
                0 24px 54px -10px rgba(45, 35, 25, 0.14) !important;
        }

        /* Logotipo Header en Modo Claro */
        html.light-theme header button svg circle {
            stroke: rgba(0, 0, 0, 0.35) !important;
        }
        html.light-theme header button svg text {
            fill: #09090B !important;
            stroke: #F5F4F0 !important;
        }
        html.light-theme header button span {
            color: #09090B !important;
            font-weight: 600;
        }

        /* Navegación y Pestañas */
        html.light-theme .nav-tab-btn {
            color: #52525B !important;
            font-weight: 500;
        }
        html.light-theme .nav-tab-btn:hover,
        html.light-theme .nav-tab-btn[aria-current="page"] {
            color: #09090B !important;
            font-weight: 600;
        }
        html.light-theme #tab-indicator {
            background: #E85D2A !important;
        }
        html.light-theme .mobile-nav-link {
            color: #52525B !important;
        }
        html.light-theme .mobile-nav-link:hover,
        html.light-theme .mobile-nav-link[aria-current="page"] {
            color: #09090B !important;
        }

                /* Botón Theme Toggle en Modo Claro: Luna Minimalista */
        html.light-theme .theme-toggle-btn {
            background: rgba(255, 255, 255, 0.85) !important;
            border: 1px solid rgba(0, 0, 0, 0.12) !important;
            color: #18181B !important;
            box-shadow: 0 1px 4px rgba(45, 35, 25, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        }
        html.light-theme .theme-toggle-btn:hover {
            background: #FFFFFF !important;
            border-color: rgba(0, 0, 0, 0.25) !important;
            color: #000000 !important;
            box-shadow: 0 2px 8px rgba(45, 35, 25, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
        }
        html.light-theme .theme-toggle-btn .theme-icon-sun {
            display: none !important;
        }
        html.light-theme .theme-toggle-btn .theme-icon-moon {
            display: block !important;
        }

        /* Botones Principales Hero de Alto Impacto Gráfico */
        /* Botón Primario: Negro Obsidian sólido con texto blanco */
        html.light-theme button[data-tab="proyectos"].bg-white {
            background-color: #09090B !important;
            color: #FFFFFF !important;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
        }
        html.light-theme button[data-tab="proyectos"].bg-white:hover {
            background-color: #E85D2A !important;
            color: #FFFFFF !important;
            box-shadow: 0 6px 20px rgba(232, 93, 42, 0.35) !important;
        }
        /* Botón Secundario: Blanco puro con borde negro nítido 1.5px y hover invertido */
        html.light-theme button[data-tab="contacto"].bg-white\/\[0\.04\] {
            background-color: #FFFFFF !important;
            border: 1.5px solid #09090B !important;
            color: #09090B !important;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
        }
        html.light-theme button[data-tab="contacto"].bg-white\/\[0\.04\]:hover {
            background-color: #09090B !important;
            color: #FFFFFF !important;
        }

        /* Barra de Confianza (Trust Bar) en Modo Claro */
        html.light-theme .trust-cards-grid a {
            background: #FFFFFF !important;
            border: 1px solid rgba(0, 0, 0, 0.11) !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        }
        html.light-theme .trust-cards-grid a:hover {
            border-color: #E85D2A !important;
            box-shadow: 0 6px 20px rgba(232, 93, 42, 0.14) !important;
        }
        html.light-theme .trust-cards-grid span.text-white {
            color: #09090B !important;
        }

        /* Tarjetas de Proyectos en Modo Claro */
        html.light-theme .project-card [data-project-id] {
            color: #09090B !important;
        }
        html.light-theme .project-card .bg-zinc-900 {
            background-color: #EAE8E3 !important;
            border-color: rgba(0, 0, 0, 0.12) !important;
        }
        html.light-theme .project-card .bg-black\/85 {
            background-color: #FFFFFF !important;
            border-color: rgba(0, 0, 0, 0.14) !important;
            color: #09090B !important;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
        }
        html.light-theme .project-card .bg-black\/85 span.text-white {
            color: #09090B !important;
        }
        /* Caja de Métricas "Impacto y Alcance" con tono ámbar cálido */
        html.light-theme .project-card .border-white\/10.bg-white\/\[0\.02\] {
            background-color: #FFF8F2 !important;
            border-color: rgba(232, 93, 42, 0.25) !important;
        }

        /* Sección Equipo y Fundadores */
        html.light-theme button[data-open-founder] {
            color: #09090B !important;
            border: 1.5px solid rgba(0, 0, 0, 0.15) !important;
            background: #F4F4F5 !important;
            font-weight: 600 !important;
        }
        html.light-theme button[data-open-founder]:hover {
            background: #09090B !important;
            color: #FFFFFF !important;
            border-color: #09090B !important;
        }
        /* Tarjetas de Fundadores: Losas de Alabastro Cristalino con Altura Homogénea */
        html.light-theme .founder-card {
            height: 100% !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            background: rgba(253, 251, 248, 0.96) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            border: 1px solid rgba(190, 175, 155, 0.42) !important;
            box-shadow: 
                inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
                inset 0 0 0 1px rgba(255, 255, 255, 0.4),
                0 4px 16px -2px rgba(45, 35, 25, 0.06),
                0 16px 36px -8px rgba(45, 35, 25, 0.08) !important;
        }
        html.light-theme .founder-card:hover {
            background: rgba(255, 255, 255, 0.98) !important;
            border-color: rgba(194, 65, 12, 0.5) !important;
            box-shadow: 
                inset 0 1px 0 0 rgba(255, 255, 255, 1),
                0 8px 24px -2px rgba(194, 65, 12, 0.12),
                0 24px 50px -10px rgba(45, 35, 25, 0.14) !important;
        }
        html.light-theme .founder-card h3 {
            color: #0E0D0C !important;
        }
        html.light-theme .founder-card p {
            color: #2B2724 !important;
        }
        html.light-theme .founder-card span[class*="border"] {
            background: rgba(240, 235, 227, 0.8) !important;
            color: #3F3933 !important;
            border-color: rgba(185, 170, 150, 0.4) !important;
        }
        html.light-theme .founder-card button[data-open-founder] {
            background: rgba(245, 240, 232, 0.9) !important;
            border: 1.5px solid rgba(180, 165, 145, 0.45) !important;
            color: #0E0D0C !important;
            font-weight: 600;
        }
        html.light-theme .founder-card button[data-open-founder]:hover {
            background: #0E0D0C !important;
            border-color: #0E0D0C !important;
            color: #FFFFFF !important;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
        }

        /* Bloque CTA inferior en Equipo: contraste oscuro ancla */
        html.light-theme #estudio-cta-box {
            background: #111827 !important;
            border-color: #1F2937 !important;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22) !important;
        }
        html.light-theme #estudio-cta-box h3,
        html.light-theme #estudio-cta-box p {
            color: #F9FAFB !important;
        }
        html.light-theme #estudio-cta-box button {
            background: #E85D2A !important;
            color: #FFFFFF !important;
        }

        /* Cursor personalizado en modo claro: Obsidian de Alto Contraste (Nunca desaparece) */
        html.light-theme #cursor-dot {
            background: #09090B !important;
            box-shadow: 0 0 4px rgba(255, 255, 255, 0.8) !important;
        }
        html.light-theme #cursor-outline {
            border: 1.5px solid rgba(9, 9, 11, 0.55) !important;
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.08) !important;
        }

        /* Modal Flotante (Center Peek) */
        html.light-theme #founder-modal .founder-modal-dialog {
            background: #FFFFFF !important;
            border: 1.5px solid rgba(0, 0, 0, 0.14) !important;
            box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.25) !important;
        }
                html.light-theme #founder-modal-linkedin,
        html.light-theme #founder-modal-github {
            background: rgba(0, 0, 0, 0.04) !important;
            border-color: rgba(0, 0, 0, 0.10) !important;
            color: #18181B !important;
        }
        html.light-theme #founder-modal-linkedin:hover,
        html.light-theme #founder-modal-github:hover {
            background: rgba(0, 0, 0, 0.08) !important;
            border-color: rgba(0, 0, 0, 0.18) !important;
        }
html.light-theme .founder-pillar-card {
            background: #F9F9F8 !important;
            border: 1px solid rgba(0, 0, 0, 0.08) !important;
        }
        html.light-theme input,
        html.light-theme textarea,
        html.light-theme select {
            background: #FFFFFF !important;
            border-color: rgba(0, 0, 0, 0.18) !important;
            color: #09090B !important;
        }
        html.light-theme input::placeholder,
        html.light-theme textarea::placeholder {
            color: #71717A !important;
        }

        /* Pie de página */
        html.light-theme footer#site-footer {
            border-top-color: rgba(0, 0, 0, 0.10) !important;
        }
        html.light-theme footer#site-footer a,
        html.light-theme footer#site-footer span,
        html.light-theme footer#site-footer p {
            color: #52525B !important;
        }
        html.light-theme footer#site-footer a:hover {
            color: #09090B !important;
        }

        /* Transición Cinemática Día/Noche Dedicada (1.5 segundos) */
        ::view-transition-old(root),
        ::view-transition-new(root) {
            animation: none !important;
            mix-blend-mode: normal !important;
        }
        ::view-transition-old(root) {
            z-index: 1 !important;
        }
        ::view-transition-new(root) {
            z-index: 99999 !important;
        }
        .theme-morph-wavefront {
            position: fixed;
            border-radius: 50%;
            pointer-events: none;
            z-index: 999999;
            transform: translate(-50%, -50%);
            border: 3px solid #F59E0B;
            box-shadow: 0 0 80px 24px rgba(245, 158, 11, 0.65), inset 0 0 45px 16px rgba(245, 158, 11, 0.45);
            opacity: 0.95;
            transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1),
                        height 1.5s cubic-bezier(0.22, 1, 0.36, 1),
                        opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
