/* LAVA TRADES — Linear Terminal (Obsidian Density) */

:root {
    --bg-base: #050505;
    --bg-surface: #0A0C10;
    --lava-plasma: #FF4E00;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #8A8A8E;
    --font-ui: 'Inter', sans-serif;
    --font-display: 'EB Garamond', serif;
    --font-data: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-base); }
body { font-family: var(--font-ui); color: var(--text-secondary); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* 1. MARCO NAV (Altura de autoridad, barra compacta) */
.linear-nav {
    height: 68px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: #000000; /* totalmente opaco: evita ver la web por detrás */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav__container {
    width: 100%;
    max-width: 1300px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__main-group {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 2. LA MARCA (Isotipo protagonista absoluto) */
.nav__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.brand__isotype svg {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 78, 0, 0.3));
}

.brand__isotype svg path {
    fill: #FF4E00 !important;
}

/* Nomenclatura técnica: 10px + tracking extremo */
.brand__text {
    font-family: var(--font-data);
    font-size: 10px;
    letter-spacing: 0.5em;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 8px;
    opacity: 0.9;
    display: flex;
    white-space: nowrap;
}

.text-weight-light {
    font-weight: 300;
    opacity: 0.4;
    margin-left: 0.5em;
}

/* 3. LINKS DE NAVEGACIÓN */
.nav__links {
    display: flex;
    gap: 32px;
    list-style: none;
    opacity: 1; /* evita que la dropdown herede opacidad y se vea translucida */
}

.nav__links a {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: none;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease);
}

.nav__links a:hover {
    color: #FFF;
}

/* 4. ACCIONES (derecha) */
.nav__actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lang-switch {
    font-family: var(--font-data);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.lang-switch [data-lang] {
    cursor: pointer;
}

.lang-switch .active {
    color: #FFF;
}

.lang-switch__sep {
    pointer-events: none;
    opacity: 0.6;
}

.btn-terminal {
    min-width: 140px;
    text-align: center;
    padding: 10px 20px;
    white-space: nowrap;
    border: 1px solid rgba(255, 78, 0, 0.3);
    background: rgba(255, 78, 0, 0.05);
    color: #FFF;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s var(--ease);
}

.btn-terminal:hover {
    background: var(--lava-plasma);
    box-shadow: 0 0 20px rgba(255, 78, 0, 0.4);
}

/* Hamburguesa: oculto en escritorio; se muestra en @media (max-width: 1024px) */
.nav__hamburger {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

/* Overlay menú móvil: oculto en escritorio */
.nav__mobile-overlay {
    display: none;
}

/* ========== TERMINAL HERO - FULL SCREEN DATA FLOW ========== */

.hero-terminal {
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--bg-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.terminal-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* RE-INGENIERÍA DE DENSIDAD (Data Wall) */

.ledger-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    padding: 10vh 0;
}

/* CAPA DIM - Máscara en L: texto (izq) + partners (abajo) */
.ledger-layer.dim {
    opacity: 0.25;
    filter: blur(1px);
    transition: opacity 0.6s var(--ease), filter 0.6s var(--ease);
    mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 50%),
                linear-gradient(to bottom, black 0%, black 80%, transparent 90%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 50%),
                        linear-gradient(to bottom, black 0%, black 80%, transparent 90%);
    -webkit-mask-composite: source-in;
}

/* CAPA BRIGHT - Máscara en L: texto (izq) + partners (abajo) */
.ledger-layer.bright {
    opacity: 0;
    position: absolute;
    inset: 0;
    mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 50%),
                linear-gradient(to bottom, black 0%, black 80%, transparent 90%);
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 35%, black 50%),
                        linear-gradient(to bottom, black 0%, black 80%, transparent 90%);
    -webkit-mask-composite: source-in;
    transition: opacity 0.8s var(--ease) !important;
    background: radial-gradient(
        circle 550px at var(--mouse-x, 75%) var(--mouse-y, 50%),
        rgba(255, 78, 0, 0.18) 0%,
        transparent 70%
    ) !important;
}

/* ANIMACIÓN DE VIDEO (Más lenta para leer el dato denso) */
.ledger-track {
    display: flex;
    width: fit-content;
    animation: scrollLedgerHorizontal 120s linear infinite;
    transition: transform 0.5s var(--ease);
}
.ledger-track .ledger-grid { flex: 0 0 33.333%; min-width: 33.333%; }

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

.ledger-grid {
    display: grid !important;
    grid-template-rows: repeat(8, 10vh) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 350px !important;
    gap: 0 100px !important;
    padding: 0 50px !important;
}

.ledger-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-family: var(--font-data) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding: 0 10px !important;
    width: 300px !important;
    height: 100% !important;
}

.ledger-ticker {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
}

.ledger-value {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

/* EL SENSOR */
.terminal-sensor {
    position: absolute;
    inset: 0;
    z-index: 5;
    cursor: crosshair;
}

/* UI (TEXTO Y PARTNERS) */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    pointer-events: none;
}

.hero-text { pointer-events: auto; max-width: 700px; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.hero-title .lava-text,
.hero-title .text-lava { font-family: var(--font-ui); font-weight: 800; color: var(--lava-plasma); }

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: 0.4s var(--ease);
}
.hero-cta:hover { background: white; color: var(--bg-base); }

/* PARTNERS: Reset Total - Estilo High-Contrast Linear */
/* PARTNERS: Arquitectura de Autoridad */

.hero-partners {
    position: absolute;
    bottom: 40px;
    left: 8%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    pointer-events: auto;
}

.partners-label {
    font-family: var(--font-data);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5em;
    color: #FFFFFF;
    opacity: 0.3;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 20px;
}

.partners-label::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, rgba(255, 78, 0, 0.4), transparent);
    display: inline-block;
}

/* PARTNERS GRID: El corazón de la infraestructura */

.partners-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.partner-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 80px;
    text-decoration: none;
    transition: transform 0.3s var(--ease);
}

/* ISOTIPOS: Más presencia */
.partner-node img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: all 0.4s var(--ease);
}

/* LABELS: Micro-tipografía legible */
.node-label {
    font-family: var(--font-data);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    opacity: 0.5;
    text-transform: uppercase;
}

/* HOVER: Activación total del Nodo */
.partner-node:hover {
    transform: translateY(-2px);
}

.partner-node:hover img {
    opacity: 1;
    filter: invert(31%) sepia(94%) saturate(4155%) hue-rotate(7deg) brightness(101%) contrast(106%) 
            drop-shadow(0 0 12px rgba(255, 78, 0, 0.6));
}

.partner-node:hover .node-label {
    color: #FFF;
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Indicador de scroll (puente hacia sección 2) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 25;
    opacity: 0.6;
    text-decoration: none;
    pointer-events: auto;
}

.scroll-text {
    font-family: var(--font-data);
    font-size: 8px;
    letter-spacing: 0.4em;
    color: var(--text-secondary);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--lava-plasma), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Textura de mineral: grano sutil sobre el hero (obsidiana con profundidad) */
.hero-terminal::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    filter: contrast(150%) brightness(100%);
}

/* Estado activo: sin clip-path para evitar el "costurón" */
/* Estado activo: transición rápida para el encendido (respuesta técnica) */
.hero-terminal.ledger-active .ledger-layer.bright {
    opacity: 1 !important;
    transition: opacity 0.3s var(--ease) !important;
}

.hero-terminal.ledger-active .ledger-layer.dim {
    opacity: 0.05;
    filter: blur(4px);
}

/* Velocidad del track controlada desde JS (Kinetic Momentum: 600s / 120s) */

/* ========== SECCIÓN 01 — LAVA CORE (Bento + texto, fondo #000 unidad única) ========== */

.section-motor {
    padding: 100px 0 0 0;
    background: #000000;
}

.motor-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.motor-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-item {
    background: #000000;
    position: relative;
    overflow: hidden;
    padding: 24px;
    transition: background 0.3s var(--ease), box-shadow 0.5s var(--ease);
    border: 1px solid transparent;
}

/* Border-Glow: cristal atrapando la luz del componente (Premium Tech 2026) */
.bento-item:nth-child(1) {
    box-shadow: inset 0 0 0 1px rgba(255, 69, 0, 0.12), inset 0 -24px 48px -16px rgba(255, 69, 0, 0.08);
}

.bento-item:nth-child(1):hover {
    box-shadow: inset 0 0 0 1px rgba(255, 69, 0, 0.2), inset 0 -32px 56px -16px rgba(255, 69, 0, 0.12);
}

.bento-item:nth-child(2) {
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.12), inset 0 0 40px -20px rgba(0, 200, 255, 0.06);
}

.bento-item:nth-child(2):hover {
    box-shadow: inset 0 0 0 1px rgba(0, 200, 255, 0.2), inset 0 0 48px -16px rgba(0, 200, 255, 0.1);
}

.bento-item:nth-child(3) {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.bento-item:nth-child(3):hover {
    box-shadow: inset 0 0 0 1px rgba(0, 255, 149, 0.12);
}

.bento-item:hover {
    background: rgba(255, 78, 0, 0.02);
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 78, 0, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bento-label {
    font-family: var(--font-data);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.6;
}

.bento-item.main-visual {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    padding: 40px;
    background: #000000;
}

/* THE SYNTHESIS MODULE (LAVA-X1) */
.synthesis-module {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.synthesis-module .blueprint-header {
    font-family: var(--font-data);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.synthesis-module .blueprint-header .big-data-number {
    width: 100%;
    text-align: right;
    margin-top: 6px;
    font-size: 1.75rem;
}

.synthesis-module .unit-id {
    color: var(--lava-plasma);
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* Lava engine: integración fluida (sin bordes, negro fundido) */
.lava-engine-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-grow: 1;
    width: 100%;
    min-height: 0;
    mix-blend-mode: screen;
}

.engine-asset {
    position: relative;
    z-index: 1;
    max-width: 85%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle, black 50%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 95%);
    opacity: 0.85;
}

.lava-glow-atmosphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* Centrado en la turbina: un poco arriba-izquierda (46% 70%) */
    background: radial-gradient(
        circle at 46% 70%,
        rgba(255, 50, 0, 1) 0%,
        rgba(255, 70, 0, 0.98) 5%,
        rgba(255, 85, 0, 0.5) 12%,
        transparent 18%
    );
    filter: blur(10px);
    z-index: 0;
    opacity: 1;
    animation: lavaPulsar 3s ease-in-out infinite alternate;
}

@keyframes lavaPulsar {
    0% {
        opacity: 0.95;
        filter: blur(8px) brightness(1.2);
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 1;
        filter: blur(12px) brightness(1.6);
        transform: translate(-50%, -50%) scale(1.02);
    }
}

/* CRYO Cooling Unit (celda 2 – mismo tratamiento que motor, núcleo azul) */
.bento-item.stats {
    position: relative;
}

.bento-item.stats .bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 24px;
}

.bento-item.stats .bento-content h3 {
    font-family: var(--font-data);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.6;
    margin: 0 0 0.25rem 0;
}

.cryo-engine-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cryo-asset {
    position: relative;
    z-index: 2;
    width: 90%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
}

/* Núcleo azul en el buje (centro de las aspas), mismo tratamiento que la turbina del motor */
.cryo-glow-atmosphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(0, 200, 255, 1) 0%,
        rgba(0, 170, 255, 0.98) 5%,
        rgba(0, 140, 255, 0.5) 12%,
        transparent 18%
    );
    filter: blur(10px);
    opacity: 1;
    mix-blend-mode: screen;
    animation: lavaPulsar 3s ease-in-out infinite alternate;
}

/* Caja 3: Stack (atmósfera verde) + texto en overlay al fondo */
.bento-item.secondary {
    position: relative;
}

.bento-item.secondary .bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px 24px 24px;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.92) 0%, transparent 100%);
}

.bento-item.secondary .bento-content h3 {
    font-family: var(--font-data);
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.6;
    margin: 0 0 0.25rem 0;
}

.stack-engine-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.stack-asset {
    position: relative;
    z-index: 2;
    width: 85%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.9;
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 95%);
}

/* Foco en la parte alta de las tarjetas (bordes redondeados del stack), efecto contenido como Motor/Cryo */
.stack-glow-atmosphere {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 32%;
    z-index: 1;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(0, 143, 17, 0.95) 0%,
        rgba(0, 143, 17, 0.5) 28%,
        transparent 48%
    );
    filter: blur(20px);
    opacity: 1;
    mix-blend-mode: screen;
    animation: lavaPulsar 4s ease-in-out infinite alternate;
}

.stat-value,
.big-data-number,
.status-indicator {
    font-family: var(--font-data);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lava-plasma);
}

/* Contadores espectaculares: tamaño, doble sombra, transición */
.big-data-number {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, filter 0.25s ease, text-shadow 0.25s ease;
}

.bento-item:nth-child(1) .big-data-number {
    color: #FF4500;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5), 0 0 40px rgba(255, 69, 0, 0.25);
    font-family: 'JetBrains Mono', monospace;
}

.bento-item:nth-child(1) .big-data-number.odometer-running {
    text-shadow: 0 0 25px rgba(255, 69, 0, 0.6), 0 0 50px rgba(255, 69, 0, 0.3);
}

.bento-item:nth-child(1) .big-data-number.odometer-done {
    animation: odometerPeakOrange 0.4s ease-out;
}

.bento-item:nth-child(2) .big-data-number {
    color: #00C8FF;
    text-shadow: 0 0 20px rgba(0, 200, 255, 0.5), 0 0 40px rgba(0, 200, 255, 0.25);
    font-family: 'JetBrains Mono', monospace;
}

.bento-item:nth-child(2) .big-data-number.odometer-running {
    text-shadow: 0 0 25px rgba(0, 200, 255, 0.6), 0 0 50px rgba(0, 200, 255, 0.3);
}

.bento-item:nth-child(2) .big-data-number.odometer-done {
    animation: odometerPeakCyan 0.4s ease-out;
}

.bento-item:nth-child(3) .big-data-number {
    color: #00FF95;
    text-shadow: 0 0 20px rgba(0, 255, 149, 0.5), 0 0 40px rgba(0, 255, 149, 0.25);
    font-family: 'JetBrains Mono', monospace;
}

/* Live data stream: glitch durante el tick */
.big-data-number.data-glitch {
    opacity: 0.92;
    filter: brightness(1.1);
}

@keyframes odometerPeakOrange {
    0% { transform: scale(1); filter: brightness(1); text-shadow: 0 0 25px rgba(255, 69, 0, 0.6), 0 0 50px rgba(255, 69, 0, 0.3); }
    40% { transform: scale(1.08); filter: brightness(1.25); text-shadow: 0 0 35px rgba(255, 69, 0, 0.9), 0 0 70px rgba(255, 69, 0, 0.4); }
    100% { transform: scale(1); filter: brightness(1); text-shadow: 0 0 20px rgba(255, 69, 0, 0.5), 0 0 40px rgba(255, 69, 0, 0.25); }
}

@keyframes odometerPeakCyan {
    0% { transform: scale(1); filter: brightness(1); text-shadow: 0 0 25px rgba(0, 200, 255, 0.6), 0 0 50px rgba(0, 200, 255, 0.3); }
    40% { transform: scale(1.08); filter: brightness(1.25); text-shadow: 0 0 35px rgba(0, 200, 255, 0.9), 0 0 70px rgba(0, 200, 255, 0.4); }
    100% { transform: scale(1); filter: brightness(1); text-shadow: 0 0 20px rgba(0, 200, 255, 0.5), 0 0 40px rgba(0, 200, 255, 0.25); }
}

.bento-item.stats .bento-content .bento-sublabel {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    opacity: 0.7;
    display: block;
    margin-bottom: 0.15rem;
}

.status-indicator {
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.9;
}

/* ==========================================================================
   LAVA CORE — Bloque de texto (mismo #000 que Bento, unidad visual única)
   ========================================================================== */
.section-lava-core {
    width: 100%;
    background: #000000;
    margin-top: 0;
    padding: 3rem 0 4rem 0;
}

.lava-core-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.lava-core-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 3rem;
    align-items: stretch;
}

.lava-core-col {
    padding: 0;
}

.lava-core-col-head {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.6;
    margin: 0 0 1.25rem 0;
}

.lava-core-body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.lava-core-line {
    margin: 0 0 1rem 0;
}

.lava-core-line:last-child {
    margin-bottom: 0;
}

.lava-core-prefix {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.25em;
}

.data-lava {
    color: #FF4500;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}

.data-cryo {
    color: #00C8FF;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}

.data-emerald {
    color: #00FF95;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
}

.lava-core-divider {
    width: 0.5px;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.1;
}

@media (max-width: 768px) {
    .lava-core-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
    .lava-core-divider {
        width: 100%;
        min-height: 1px;
        margin: 1.5rem 0;
    }
}

/* ==========================================================================
   Transición scroll hacia PRODUCTOS (mismo elemento que Hero)
   ========================================================================== */
.scroll-bridge {
    width: 100%;
    background: #000000;
    padding: 3rem 0;
    position: relative;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator--bridge {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
}

.scroll-bridge--to-contacto {
    padding: 0.75rem 0;
    margin-top: 15px;
    min-height: 60px;
}

/* ==========================================================================
   SECCIÓN PRODUCTOS — Identidad estricta LAVA CORE (reset técnico)
   ========================================================================== */
.section-productos {
    display: block;
    position: relative;
    width: 100%;
    background: var(--bg-surface);
    padding: 2rem 0 4rem 0;
    overflow-x: hidden;
}

.productos-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 1;
}

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

.productos-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

/* Layout: 30% texto izquierda, aire masivo, 65% showcase derecha */
.productos-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5%;
    margin-bottom: 4rem;
}

/* Narrativa — Misma identidad que Sección 2 (¿POR QUÉ CRYPTO?) */
.productos-narrative {
    flex: 0 0 30%;
    min-width: 240px;
}

.productos-narrative__title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
}

.productos-narrative__body {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.productos-visual {
    flex: 0 0 65%;
    min-width: 0;
}

/* #lava-product-showcase — Caja de cristal atmosférica (bordes invisibles, efecto prisma) */
#lava-product-showcase.lava-product-showcase {
    position: relative;
    width: 100%;
    padding: 2.5rem;
    background: rgba(10, 12, 16, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    box-shadow:
        0 0 200px 0 rgba(255, 69, 0, 0.15),
        0 0 200px 0 rgba(0, 200, 255, 0.15);
}

.lava-product-showcase__inner {
    position: relative;
    width: 100%;
    transform: perspective(2000px) rotateY(-8deg) rotateX(2deg);
    transform-style: preserve-3d;
}

.lava-product-showcase__inner img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .productos-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .productos-narrative {
        flex: 1 1 100%;
        min-width: 0;
    }
    .productos-visual {
        flex: 1 1 100%;
    }
    #lava-product-showcase.lava-product-showcase {
        padding: 1.5rem;
    }
    .lava-product-showcase__inner {
        transform: none;
    }
}

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

.product-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: rgba(5, 5, 5, 0.85);
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.product-card__glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    border-radius: 2px;
    opacity: 0.35;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
    z-index: 0;
}

.product-card--lava .product-card__glow {
    background: linear-gradient(to top, rgba(255, 69, 0, 0.25) 0%, transparent 55%);
}

.product-card--cryo .product-card__glow {
    background: linear-gradient(to top, rgba(0, 200, 255, 0.2) 0%, transparent 55%);
}

.product-card--emerald .product-card__glow {
    background: linear-gradient(to top, rgba(0, 255, 149, 0.2) 0%, transparent 55%);
}

.product-card:hover .product-card__glow {
    opacity: 0.55;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.product-card--lava:hover {
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.08);
}

.product-card--cryo:hover {
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.08);
}

.product-card--emerald:hover {
    box-shadow: 0 0 40px rgba(0, 255, 149, 0.08);
}

.product-card__title {
    font-family: var(--font-data);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 1;
}

.product-card--lava .product-card__title {
    color: #FF4500;
}

.product-card--cryo .product-card__title {
    color: #00C8FF;
}

.product-card--emerald .product-card__title {
    color: #00FF95;
}

.product-card__text {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    position: relative;
    z-index: 1;
}

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

/* --- Sección 3: raíz de escena (altura controlada por el contenido) --- */
.lava-scene-root {
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

.section-productos.lava-scene-root {
    min-height: 850px;
    display: block;
}

/* Cabecera Sección 3 — gemelo de LAVA CORE con alma naranja (Raycast) */
.product-header-wrapper {
    text-align: center;
    margin-bottom: 52px;
    margin-top: 32px;
}

.raycast-title-container {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

.raycast-title-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 80px;
    background: radial-gradient(circle at center, rgba(255, 78, 0, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.section-title-standard {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    display: inline-block;
    position: relative;
    text-shadow: none;
}

/* Líneas láser (1px, 180px, glow solo en origen) */
.section-title-standard::before,
.section-title-standard::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 180px;
    box-shadow: 0 0 12px rgba(255, 78, 0, 0.7);
}

.section-title-standard::before {
    right: 100%;
    margin-right: 30px;
    background: linear-gradient(to left, #FF4E00, transparent);
}

.section-title-standard::after {
    left: 100%;
    margin-left: 30px;
    background: linear-gradient(to right, #FF4E00, transparent);
}

/* Marketing copy: centrado, Inter, sin brillo */
.product-mkt-text {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;          /* un poco más grande */
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.4);
    margin: 8px 0 0 0;           /* más pegada al título principal */
    text-align: center;
    text-shadow: none;
}

.linear-frame-container {
    width: 100%;
    max-width: 1400px;
    min-height: 830px;
    margin: 20px auto 30px auto;
    padding: 48px 56px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 78, 0, 0.12);
    box-shadow:
        0 0 60px rgba(255, 78, 0, 0.06),
        inset 0 0 40px rgba(0, 0, 0, 0.4);
}

/* Plasma detrás de las tarjetas — no lavar el panel quant */
.section-productos .linear-frame-container:has(.card-back--quant-research) {
    box-shadow:
        0 0 60px rgba(255, 78, 0, 0.06),
        inset 0 0 12px rgba(0, 0, 0, 0.12);
}
.section-productos .linear-frame-container:has(.card-back--quant-research)::before {
    z-index: 0;
    opacity: 0.22;
}
.section-productos .linear-frame-container:has(.card-back--quant-research)::after {
    z-index: 0;
    opacity: 0.16;
}

/* Plasma sutil — recorre todo el marco (gris → tarjetas) */
.linear-frame-container::before {
    content: "";
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 70%;
    height: 70%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 90% 75% at 45% 55%,
        rgba(255, 78, 0, 0.2) 0%,
        rgba(255, 78, 0, 0.11) 35%,
        rgba(255, 60, 20, 0.06) 60%,
        transparent 80%
    );
    filter: blur(38px);
    opacity: 0.65;
    animation: plasma-subtle-1 22s ease-in-out infinite;
}

.linear-frame-container::after {
    content: "";
    position: absolute;
    bottom: 15%;
    left: 20%;
    width: 65%;
    height: 65%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 80% 85% at 55% 50%,
        rgba(255, 100, 30, 0.17) 0%,
        rgba(255, 80, 20, 0.09) 40%,
        transparent 75%
    );
    filter: blur(42px);
    opacity: 0.55;
    animation: plasma-subtle-2 28s ease-in-out infinite;
    animation-delay: -10s;
}

/* Recorrido amplio: cruza todo el marco */
@keyframes plasma-subtle-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    25% { transform: translate(-35%, -20%) scale(1.12); opacity: 0.75; }
    50% { transform: translate(30%, 15%) scale(0.92); opacity: 0.6; }
    75% { transform: translate(-25%, 25%) scale(1.08); opacity: 0.7; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
}

@keyframes plasma-subtle-2 {
    0% { transform: translate(0, 0) scale(1.05); opacity: 0.55; }
    33% { transform: translate(40%, -25%) scale(0.9); opacity: 0.65; }
    66% { transform: translate(-30%, -15%) scale(1.15); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1.05); opacity: 0.55; }
}

/* --- Tarjeta de Producto 1: composición en cascada (frontal izq, trasera der) --- */
.card-stack-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 710px;
    perspective: 1000px;
    overflow: visible;
}
.card-back,
.card-front {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
}
.card-back {
    width: 68%;
    height: auto;
    aspect-ratio: 16 / 10;
    top: 60px;
    right: 60px;
    left: auto;
    bottom: auto;
    z-index: 1;
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 50px rgba(255, 78, 0, 0.15);
    pointer-events: none;
}
.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    filter: saturate(1.1) brightness(1.05);
}
/* Segundo plano por profundidad y escala — legible, sin blur ni opacidad */
.card-back--quant-research {
    width: 78%;
    aspect-ratio: 16 / 9;
    top: 52px;
    right: 44px;
    overflow: hidden;
    background: #050505;
    z-index: 1;
    transform: scale(0.97);
    transform-origin: 72% 42%;
    box-shadow: 0 0 32px rgba(255, 78, 0, 0.18);
}
.card-back--quant-research::after {
    display: none;
}
.card-back--quant-research img {
    opacity: 1;
    filter: saturate(1.38) contrast(1.18) brightness(1.04);
    transform: none;
    object-fit: cover;
    object-position: center center;
}

.section-productos .card-stack-wrapper:has(.card-back--quant-research) .card-front {
    z-index: 3;
    box-shadow: 18px -18px 52px rgba(0, 0, 0, 0.72);
}

.section-productos .card-stack-wrapper:has(.card-back--quant-research) .dash-switch-board {
    z-index: 10;
}

/* Interruptores (dashboard interno) — al final del marco. Responsive. */
.dash-switch-board {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 15px;
    z-index: 10;
}

/* Contenedor sutil: más alto y más largo */
.switch-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 20px 52px;
    min-width: 320px;
    background: rgba(18, 18, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Módulos de hardware físico y mate — chasis + icono plata */
.switch-node {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 4px 10px rgba(0, 0, 0, 0.5);
    color: #E0E0E0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.switch-node svg {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.switch-node:hover {
    color: #FFFFFF;
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.7);
}

/* Proyector externo — estructura apilada (stack), sin columnas */
.wide-display {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    max-width: 1400px;
    min-height: 160px;
    margin: -10px auto 0;
    margin-bottom: 30px;
    padding: 0 60px;
}

#info-title {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.6;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.6;
    transition: opacity 0.2s ease;
}

#info-desc {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
    transition: opacity 0.2s ease;
}

/* Tarjeta frontal: tamaño original (aspect-ratio, sin altura fija) */
.card-front {
    position: absolute;
    width: 55%;
    height: auto;
    aspect-ratio: 16 / 10;
    left: 80px;
    top: -20px;
    bottom: auto;
    z-index: 2;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 78, 0, 0.3);
    box-shadow: 20px -20px 60px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.feed-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.obsidian-trade-feed {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.trade-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 6px;
    flex-shrink: 0;
}

.trade-feed-header-text {
    display: inline;
}

.trade-feed-header-title {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.trade-feed-header-sub {
    font-size: 9px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.feed-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.feed-led:hover {
    box-shadow: 0 0 6px currentColor;
}

.feed-led--red {
    background-color: #ef4444 !important;
    color: #ef4444;
}

.feed-led--blue {
    background-color: #3b82f6 !important;
    color: #3b82f6;
}

.feed-led--green {
    background-color: #22c55e !important;
    color: #22c55e;
}

.trade-feed-list,
#obsidian-trade-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
    min-height: 0;
    height: 100%;
    display: block;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#obsidian-trade-list::-webkit-scrollbar,
.trade-feed-list::-webkit-scrollbar {
    display: none;
}

.trade-feed-list li {
    padding: 2px 0;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cursor parpadeante en la línea que se está escribiendo */
.trade-feed-list li.typing::after {
    content: "_";
    animation: feed-cursor-blink 1s step-end infinite;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes feed-cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.trade-feed-list li .pnl-positive { color: #00ffad; }
.trade-feed-list li .pnl-negative { color: #ef4444; }

/* Sección Contacto — cierre institucional */
.section-contacto {
    padding: 160px 0 60px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.opening-tag {
    font-family: var(--font-data);
    color: #FF4E00;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    display: block;
    margin-bottom: 20px;
}

.contact-main-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    margin: 0 0 50px 0;
}

.cta-wrapper {
    margin-bottom: 0;
}

.cta-access-btn {
    display: inline-block;
    padding: 22px 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    text-decoration: none;
    font-family: var(--font-data);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    transition: 0.4s cubic-bezier(0.2, 0, 0, 1);
    position: relative;
    overflow: hidden;
}

.cta-access-btn:hover {
    border-color: #FF4E00;
    box-shadow: 0 0 30px rgba(255, 78, 0, 0.2);
}

.lava-footer {
    margin-top: 0;
}

.lava-footer .footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.lava-footer .legal-box {
    margin: 0;
}

.lava-footer .risk-warning {
    max-width: 900px;
    margin: 120px auto 24px;
    font-family: var(--font-data);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: justify;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.lava-footer .footer-fiscal {
    max-width: 900px;
    margin: 0 auto 60px;
    font-family: var(--font-data);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.lava-footer .risk-warning strong {
    color: rgba(255, 255, 255, 0.4);
}

.lava-footer .footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-data);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.15);
}

.lava-footer .meta-right {
    display: flex;
    gap: 24px;
}

.lava-footer .meta-right a {
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.lava-footer .meta-right a:hover {
    color: rgba(255, 255, 255, 0.35);
}

/* ========== TABLET: nav táctil + bento stack + min-heights (768–1024px) ========== */
@media (max-width: 1024px) {
    nav.linear-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000;
        padding-top: env(safe-area-inset-top, 32px) !important;
        background: #000000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    nav.linear-nav .nav__links { display: none !important; }
    nav.linear-nav .nav__actions .btn-terminal { display: none !important; }
    nav.linear-nav .nav__hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        position: relative;
        color: rgba(255, 255, 255, 0.95);
    }
    nav.linear-nav .nav__hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #FF4E00;
        transition: all 0.3s ease;
    }
    nav.linear-nav .nav__hamburger span:not(:last-child) {
        margin-bottom: 6px;
    }
    body.is-nav-open .nav__hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.is-nav-open .nav__hamburger span:nth-child(2) {
        opacity: 0;
    }
    body.is-nav-open .nav__hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    nav.linear-nav .nav__container {
        padding-left: 28px !important;
        padding-right: 28px !important;
        height: 72px !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }
    nav.linear-nav .nav__main-group {
        flex: 0 0 auto;
    }
    nav.linear-nav .brand__text .text-weight-light {
        display: none !important;
    }
    nav.linear-nav .nav__actions {
        margin-left: auto;
        margin-right: 16px;
    }
    nav.linear-nav .nav__hamburger {
        margin-left: 0;
    }
    .nav__mobile-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 999;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.98) !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    body.is-nav-open .nav__mobile-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    body.is-nav-open {
        overflow: hidden !important;
    }
    .nav__mobile-close {
        position: absolute;
        top: env(safe-area-inset-top, 16px);
        right: env(safe-area-inset-right, 16px);
        width: 44px;
        height: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 1.75rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        transition: transform 0.1s ease;
    }
    .nav__mobile-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .nav__mobile-overlay .nav__mobile-link,
    .nav__mobile-overlay .nav__mobile-cta {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        color: #fff;
        text-decoration: none;
        transition: transform 0.1s ease;
    }
    .nav__mobile-overlay .nav__mobile-link:active,
    .nav__mobile-overlay .nav__mobile-cta:active,
    .nav__mobile-close:active {
        transform: scale(0.95);
    }
    .nav__mobile-overlay .nav__mobile-lang {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1rem 0;
    }

    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .bento-item,
    .bento-item.main-visual,
    .bento-item.stats .cryo-engine-wrapper,
    .bento-item.secondary .stack-engine-wrapper,
    .bento-item.stats .bento-content,
    .bento-item.secondary .bento-content,
    .bento-item::before {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bento-item .big-data-number {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .section-productos.lava-scene-root,
    .linear-frame-container,
    .card-stack-wrapper {
        min-height: auto !important;
    }
}

/* ========== MÓVIL: Reset estructural — Bloques modulares (Guía LAVA) ========== */
@media (min-width: 768px) {
    .hero-ticker { display: none; }
}

@media (max-width: 767px) {

    /* CIERRE TÉCNICO: matar balanceo lateral */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    /* ELIMINACIÓN DE RUIDO: ticker sin espacio ni recursos */
    .hero-ticker,
    .hero-ticker__track {
        display: none !important;
    }

    /* RESET GLOBAL */
    * { max-width: 100%; box-sizing: border-box; }

    /* ——— PILAR 1: FLUJO VERTICAL (LEGO) ——— */
    .hero-terminal,
    .section-motor,
    .section-lava-core,
    .section-productos,
    .lava-scene-root,
    .section-productos.lava-scene-root {
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        display: block !important;
        overflow: visible !important;
    }
    .section-motor,
    .section-lava-core,
    .section-productos {
        padding: 60px 24px !important;
    }
    /* HUECO DEL NAV: título no choca con Nav fijo; laterales ≥24px */
    .hero-terminal {
        padding: 130px 24px 60px 24px !important;
    }
    /* Repaso márgenes LEGO: laterales ≥24px; 24px entre bloque de texto e imagen/botón */
    .lava-scene-root,
    .contact-container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    .section-title-standard,
    .product-header-wrapper,
    .raycast-title-container {
        margin-bottom: 24px !important;
    }

    /* ——— PILAR 2: RESET DE POSICIONAMIENTO (absolute → relative, una columna) ——— */
    /* Hero: fondo oculto en móvil para texto legible sobre negro */
    .hero-terminal .terminal-background {
        display: none !important;
    }
    .hero-terminal .ledger-layer,
    .hero-terminal .ledger-layer.dim,
    .hero-terminal .ledger-layer.bright,
    .hero-terminal::after {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        transform: none !important;
        inset: auto !important;
    }
    /* ORDEN LEGO: flujo vertical estricto (título → subtítulo → CTA → partners → scroll) */
    .hero-terminal .hero-content {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .hero-terminal .hero-text {
        display: flex !important;
        flex-direction: column !important;
        order: 1;
    }
    .hero-terminal .hero-title,
    .hero-terminal .hero-subtitle,
    .hero-terminal .hero-cta {
        position: relative !important;
        margin: 0 0 24px 0 !important;
    }
    /* Escala crítica: clamp para evitar desborde */
    .hero-terminal .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem) !important;
    }
    .hero-terminal .hero-subtitle {
        line-height: 1.5 !important;
    }
    .hero-terminal .hero-cta {
        width: 100% !important;
        min-height: 44px !important;
    }
    /* Ghost space: ticker no deja hueco ni ocupa espacio */
    .hero-ticker,
    .hero-ticker__track {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        order: 2;
    }
    /* Partners: SALIR de position absolute y entrar en flujo (2 columnas, después del CTA) */
    .hero-terminal .hero-partners {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        margin-top: 40px !important;
        order: 3;
    }
    .hero-terminal .partners-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    /* Scroll: SALIR de position absolute y aparecer al final, después de partners */
    .hero-terminal .scroll-indicator,
    .scroll-indicator {
        position: relative !important;
        left: 0 !important;
        bottom: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 24px !important;
    }
    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    /* BENTO Y PRODUCTO: width 100%, position relative, sin left/right/transform lateral */
    .bento-item,
    .bento-item.main-visual,
    .bento-item.stats .cryo-engine-wrapper,
    .bento-item.secondary .stack-engine-wrapper,
    .bento-item.stats .bento-content,
    .bento-item.secondary .bento-content,
    .bento-item::before {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bento-item .big-data-number { opacity: 1 !important; visibility: visible !important; }
    /* ============================================= */
    /* SECCIÓN PRODUCTOS - PARCHE DEFINITIVO */
    /* ============================================= */

    /* Contenedor sección (padding-top reducido para que el texto suba y dé aire a la tarjeta) */
    .section-productos,
    .section-productos.lava-scene-root {
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        padding: 40px 20px 60px 20px !important;
    }

    .linear-frame-container {
        padding: 24px 20px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        min-height: auto !important;
    }

    .product-header-wrapper,
    .raycast-title-container {
        margin-top: 40px !important;
        margin-bottom: 48px !important;
    }
    .section-title-standard {
        margin-bottom: 24px !important;
    }
    .section-title-standard::before,
    .section-title-standard::after {
        display: none !important;
    }

    /* Stack: vertical simple */
    .card-stack-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        height: auto !important;
        min-height: auto !important;
    }

    /* Card back: oculta */
    .card-stack-wrapper .card-back {
        display: none !important;
    }

    /* Card front: altura controlada */
    .card-stack-wrapper .card-front {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        height: auto !important;
        max-height: 480px !important;
        min-height: 320px !important;
        display: flex !important;
        flex-direction: column !important;
        background: #000000;
        border: 1px solid #1a1a1a;
        border-radius: 8px;
        overflow: hidden;
    }

    /* Wrapper del feed: ocupa espacio disponible */
    .card-stack-wrapper .feed-wrapper {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Contenedor feed */
    .card-stack-wrapper .obsidian-trade-feed {
        position: relative !important;
        inset: auto !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 16px !important;
    }

    /* Header del feed */
    .card-stack-wrapper .trade-feed-header {
        flex-shrink: 0 !important;
        font-size: 11px !important;
        letter-spacing: 0.08em;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 12px !important;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Lista de trades: SCROLL ACTIVADO */
    .card-stack-wrapper #obsidian-trade-list,
    .card-stack-wrapper .trade-feed-list {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: 340px !important;
        padding-right: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* Scrollbar personalizado */
    .card-stack-wrapper .trade-feed-list::-webkit-scrollbar {
        width: 4px;
    }
    .card-stack-wrapper .trade-feed-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }
    .card-stack-wrapper .trade-feed-list::-webkit-scrollbar-thumb {
        background: rgba(255, 78, 0, 0.3);
        border-radius: 2px;
    }
    .card-stack-wrapper .trade-feed-list::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 78, 0, 0.5);
    }

    /* Items individuales del feed */
    .card-stack-wrapper .trade-feed-list li {
        padding: 6px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 12px !important;
        line-height: 1.6 !important;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    .card-stack-wrapper .trade-feed-list li .pnl-positive {
        color: #00ffad !important;
    }
    .card-stack-wrapper .trade-feed-list li .pnl-negative {
        color: #ef4444 !important;
    }

    /* Switches: debajo de tarjeta */
    .dash-switch-board {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        margin-top: 24px !important;
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
    }

    .switch-node {
        min-width: 50px !important;
        min-height: 50px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .switch-node:active {
        transform: scale(0.95);
        background: rgba(255, 78, 0, 0.1);
    }
    .switch-box {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 12px !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }

    /* Proyector info */
    .wide-display {
        padding: 0 20px !important;
        min-height: 200px;
        text-align: left !important;
    }
    #info-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        text-align: left !important;
        margin-bottom: 16px;
    }
    #info-desc {
        font-size: 1.05rem !important;
        line-height: 1.5;
        text-align: left !important;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Última sección: contacto — reducción de escala, CTA como cierre real */
    .section-contacto {
        padding-top: 40px !important;
        padding-bottom: 80px !important;
    }
    .section-contacto .contact-main-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em;
        margin-bottom: 32px !important;
    }
    /* CTA contacto con hitbox táctil */
    .section-contacto .cta-access-btn {
        min-height: 44px !important;
        width: 100%;
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 32px;
    }

    /* ——— PILAR 3: NAV OVERLAY REAL (100% viewport, negro) ——— */
    nav.linear-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000;
        height: auto !important;
        min-height: 72px !important;
        overflow: visible !important;
        padding-top: env(safe-area-inset-top, 32px) !important;
        background: #000000;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    nav.linear-nav .nav__links { display: none !important; }
    nav.linear-nav .nav__actions .btn-terminal { display: none !important; }
    nav.linear-nav .nav__hamburger {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-left: auto;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        position: relative;
        z-index: 10002;
        color: rgba(255, 255, 255, 0.95);
    }
    /* Estilo spans hamburguesa — tres líneas ☰ */
    nav.linear-nav .nav__hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #FF4E00;
        border-radius: 1px;
        flex-shrink: 0;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }
    nav.linear-nav .nav__hamburger span:not(:last-child) {
        margin-bottom: 0;
    }
    /* Animación ☰ → ✕ */
    body.is-nav-open .nav__hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.is-nav-open .nav__hamburger span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    body.is-nav-open .nav__hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    body.is-nav-open .nav__mobile-close {
        display: none !important;
    }
    body.is-nav-open nav.linear-nav .nav__hamburger {
        position: fixed !important;
        top: calc(env(safe-area-inset-top, 16px) + 14px) !important;
        right: calc(env(safe-area-inset-right, 16px) + 20px) !important;
        z-index: 10003 !important;
        margin: 0 !important;
    }
    /* Nav: logo a la izquierda; ES | EN + hamburguesa agrupados a la derecha (no pegados al logo) */
    nav.linear-nav .nav__container {
        padding-left: 28px !important;
        padding-right: 28px !important;
        height: 72px !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
    }
    nav.linear-nav .nav__main-group {
        flex: 0 0 auto;
    }
    nav.linear-nav .brand__text .text-weight-light {
        display: none !important;
    }
    nav.linear-nav .nav__actions {
        margin-left: auto;
        margin-right: 16px;
    }
    nav.linear-nav .nav__hamburger {
        margin-left: 0;
    }

    /* Overlay: pantalla negra sólida independiente */
    .nav__mobile-overlay {
        position: fixed !important;
        inset: 0 !important;
        z-index: 10001 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100dvh !important;
        background: #000000 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        isolation: isolate;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }
    body.is-nav-open .nav__mobile-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: #000000 !important;
    }
    body.is-nav-open {
        overflow: hidden !important;
        background: #000000 !important;
    }
    body.is-nav-open .content-wrapper,
    body.is-nav-open .lava-footer-unified,
    body.is-nav-open .section-contacto.hub-footer {
        visibility: hidden !important;
    }
    .nav__mobile-close {
        position: absolute;
        top: env(safe-area-inset-top, 16px);
        right: env(safe-area-inset-right, 16px);
        width: 44px;
        height: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #FF4E00;
        font-size: 1.65rem;
        font-weight: 300;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        z-index: 2;
    }
    .nav__mobile-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 100%;
        max-width: 320px;
        padding: 0 24px;
        position: relative;
        z-index: 1;
    }
    .nav__mobile-overlay .nav__mobile-link,
    .nav__mobile-overlay .nav__mobile-cta {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.45rem 1rem;
        font-family: 'EB Garamond', serif;
        font-size: 1.18rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        text-transform: lowercase;
        color: rgba(255, 255, 255, 0.94);
        text-decoration: none;
        transition: transform 0.1s ease, color 0.2s ease;
    }
    .nav__mobile-overlay .nav__mobile-label {
        font-family: 'Inter', sans-serif !important;
        font-size: 0.72rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.14em !important;
        text-transform: lowercase !important;
        color: rgba(255, 255, 255, 0.4) !important;
        margin: 0.85rem 0 0.2rem !important;
    }
    .nav__mobile-overlay .nav__mobile-link:nth-of-type(3),
    .nav__mobile-overlay .nav__mobile-link:nth-of-type(4),
    .nav__mobile-overlay .nav__mobile-link:nth-of-type(5) {
        font-family: 'Inter', sans-serif;
        font-size: 0.92rem;
        font-weight: 400;
        letter-spacing: 0.03em;
        color: rgba(255, 255, 255, 0.58);
        min-height: 38px;
    }
    .nav__mobile-overlay .nav__mobile-link:first-of-type {
        font-size: 1.22rem;
        color: #ffffff;
    }
    .nav__mobile-overlay .nav__mobile-link:active,
    .nav__mobile-overlay .nav__mobile-cta:active,
    .nav__mobile-close:active {
        transform: scale(0.95);
    }
    .nav__mobile-close {
        transition: transform 0.1s ease;
    }
    .nav__mobile-overlay .nav__mobile-lang {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 1rem 0;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* ——— PILAR 4: FEEDBACK TÁCTIL AGRESIVO (scale + brillo, transición rápida) ——— */
    .hero-cta,
    .nav__mobile-overlay .nav__mobile-link,
    .nav__mobile-overlay .nav__mobile-cta,
    .nav__mobile-close,
    .btn-terminal,
    .cta-access-btn,
    .switch-node,
    .nav__hamburger {
        transition: transform 0.03s ease-out, filter 0.03s ease-out;
    }
    .hero-cta:active,
    .nav__mobile-overlay .nav__mobile-link:active,
    .nav__mobile-overlay .nav__mobile-cta:active,
    .nav__mobile-close:active,
    .btn-terminal:active,
    .cta-access-btn:active,
    .switch-node:active,
    .nav__hamburger:active {
        transform: scale(0.96) !important;
        filter: brightness(1.3) !important;
    }

    /* ============================================= */
    /* FIX: SEPARACIÓN TEXTO PRODUCTOS (MÓVIL) */
    /* ============================================= */
    .section-productos .dash-switch-board {
        margin-bottom: 60px !important;
    }
    .section-productos .wide-display,
    .section-productos .product-header-wrapper,
    .section-productos .raycast-title-container,
    .section-productos .product-mkt-text {
        margin-top: 60px !important;
    }
}

@media (max-width: 480px) {
    /* Ajustes productos móvil pequeño */
    .card-stack-wrapper .card-front {
        max-height: 400px !important;
        min-height: 280px !important;
    }
    .card-stack-wrapper #obsidian-trade-list,
    .card-stack-wrapper .trade-feed-list {
        max-height: 280px !important;
        font-size: 12px !important;
    }
    .card-stack-wrapper .trade-feed-list li {
        font-size: 12px !important;
    }
    .switch-node {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    #info-title {
        font-size: 1.35rem !important;
    }
    #info-desc {
        font-size: 0.95rem !important;
    }
    /* Cubos no aplastados en móviles pequeños */
    .bento-item.stats .cryo-engine-wrapper,
    .bento-item.secondary .stack-engine-wrapper {
        min-height: 160px !important;
    }
}

/* ========== GLOBAL: Efecto Lava y equilibrio subpáginas (Fase 3) ========== */

/* A) Atmósfera LAVA para subpáginas (clon del plasma de #producto Home) */
.lava-atmosphere-core {
    position: relative;
    overflow: hidden;
}
.lava-atmosphere-core::before {
    /* Capa de fondo: plasma amplio como linear-frame-container::before */
    content: "";
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 70%;
    height: 70%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 90% 75% at 45% 55%,
        rgba(255, 78, 0, 0.2) 0%,
        rgba(255, 78, 0, 0.11) 35%,
        rgba(255, 60, 20, 0.06) 60%,
        transparent 80%
    );
    filter: blur(38px);
    opacity: 0.65;
}
.lava-atmosphere-core::after {
    /* Capa cercana a la card: plasma más intenso como linear-frame-container::after */
    content: "";
    position: absolute;
    bottom: 15%;
    left: 20%;
    width: 65%;
    height: 65%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 80% 85% at 55% 50%,
        rgba(255, 100, 30, 0.17) 0%,
        rgba(255, 80, 20, 0.09) 40%,
        transparent 75%
    );
    filter: blur(42px);
    opacity: 0.55;
}
.lava-atmosphere-core::before,
.lava-atmosphere-core::after {
    animation: plasma-subtle-1 22s ease-in-out infinite;
}

/* Overlay de ruido/grano para evitar bandeado y dar profundidad */
.lava-atmosphere-core > .linear-frame-container::after,
.lava-atmosphere-core > .wide-display::after {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    z-index: 1;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    mix-blend-mode: soft-light;
}

/* A) Estilo de marco/tarjeta Obsidiana — idéntico al marco del index */
.lava-card-style {
    background: linear-gradient(
        180deg,
        #333333 0%,
        #222222 25%,
        #111111 60%,
        #000000 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.lava-card-style:hover {
    border-color: rgba(255, 78, 0, 0.2);
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(255, 78, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* B) Equilibrio vertical en subpáginas — main de pantalla completa */
.lava-subpage-balance {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;    /* el main deja espacio, la sección se centra sola */
    padding-top: 68px;              /* compensa la altura del nav fijo */
    position: relative;
}
/* Sección productos en subpáginas: bloque compacto centrado verticalmente */
.lava-subpage-balance .section-productos.lava-scene-root {
    flex: none;                 /* no se estira, mide lo que mide el contenido */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* el bloque vuelve a arrancar arriba como en el estado anterior */
    padding: 0 24px 40px;        /* solo lateral + un pequeño colchón inferior para el link */
    width: 100%;
    min-height: calc(100vh - 100px);
}
.lava-subpage-balance .section-productos.lava-scene-root .linear-frame-container {
    min-height: 720px;          /* caja principal algo más baja que antes */
    max-width: 1440px;          /* un punto más ancha dentro del viewport */
    margin: 32px auto 32px auto;  /* se baja un poco la caja en bloque */
    display: flex;               /* centramos el bloque de cards dentro de la caja */
    flex-direction: column;
    justify-content: center;
}

/* C) Dropdown Productos — glassmorphism, borde naranja */
.nav__item--dropdown {
    position: relative;
}
.nav__dropdown-trigger {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s var(--ease);
}
.nav__dropdown-trigger:hover,
.nav__item--dropdown:hover .nav__dropdown-trigger {
    color: #FFF;
}
.nav__dropdown-trigger::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
}
.nav__dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    padding: 12px 0;
    background: #050505 !important; /* opaco: no se ve la web por detras */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.10); /* sin marco naranja */
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), border-color 0.25s var(--ease);
    z-index: 1001;
    list-style: none;
}
.nav__item--dropdown:hover .nav__dropdown-panel {
    opacity: 1 !important;
    visibility: visible;
    border-color: rgba(255, 255, 255, 0.14);
}
.nav__dropdown-panel a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.nav__dropdown-panel a:hover {
    color: #FFF;
    background: rgba(255, 255, 255, 0.06);
}
.nav__dropdown-panel .nav__dropdown-sub a {
    padding-left: 28px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}
.nav__dropdown-panel .nav__dropdown-sub a:hover {
    color: #FFF;
}
.nav__dropdown-panel li.nav__dropdown-divider {
    list-style: none;
    display: block;
    height: 0;
    padding: 0;
    margin: 6px 12px;
    overflow: hidden;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: none;
}

/* Tipografía institucional en títulos de subpáginas */
.lava-subpage-balance h1,
.lava-subpage-balance h2,
.lava-subpage-balance .section-title-standard {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Separación extra bajo el título para que la card respire */
.lava-subpage-balance .section-title-standard {
    margin-bottom: 32px;
}


/* ========== PÁGINA HUB BOTS — diseño que respira ========== */

.bots-hub-lead {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.bots-hub-lead__text {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.52);
    margin: 12px 0 0;
    text-shadow: none;
}

.bots-hub-lead__ref {
    display: inline-block;
    margin-top: 18px;
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bots-hub-lead__ref:hover {
    color: rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(255, 255, 255, 0.28);
}

.bots-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1550px;
    margin: 0 auto 60px;
    align-items: stretch;
}

/* Card estructura: misma altura y contenido alineado entre las 3 */
.bot-card.lava-card-style {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
    padding: 40px 36px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.bot-card.lava-card-style h3,
.bot-card.lava-card-style .bot-specs-container {
    flex-shrink: 0;
}

.bot-card.lava-card-style:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 78, 0, 0.3);
    background: linear-gradient(180deg, rgba(30,30,30,1) 0%, rgba(0,0,0,1) 100%);
}

.bot-card.lava-card-style:hover .bot-specs-container {
    background: rgba(255, 78, 0, 0.02) !important;
    border-left-color: #FF4E00 !important;
}

/* --- Obsidiana Institucional: lujo silencioso (medidas 200px/160px intactas) --- */

/* Título: el sello de lujo — gradiente sutil, línea de precisión */
.bot-card h3 {
    font-family: 'EB Garamond', serif !important;
    font-size: 1.7rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    color: #ffffff;
    margin-bottom: 28px;
    text-align: left;
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bot-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 1px;
    background: #FF4E00;
    opacity: 0.8;
}

/* Botón flecha + texto ACCESO */
.bot-card .card-arrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.4);
    margin-top: auto;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.bot-card .card-arrow::before {
    content: "[ ACCESO // ]";
    letter-spacing: 2px;
}

.bot-card:hover .card-arrow {
    color: #FF4E00;
    transform: translateX(4px);
}

/* Bloque Specs: pulido de espejo — cristal de obsidiana */
.bot-specs-container {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 2px solid rgba(255, 78, 0, 0.4) !important;
    padding: 24px !important;
    margin: 24px 0 32px 0;
    width: 100%;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px !important;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Alineación de datos */
.bot-specs-container > div {
    display: grid;
    grid-template-columns: 130px 1fr !important;
    gap: 8px;
    align-items: baseline;
    white-space: nowrap;
    overflow: hidden;
}

.spec-label {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.2) !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;
}

.spec-value {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.9rem !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Descripción: horizonte fijo 160px, clamp 6 líneas */
.bot-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    min-height: 160px;
    max-height: 160px;
    margin-top: 0;
    margin-bottom: 20px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-align: left;
}

.bot-card .btn-terminal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 16px 40px;
    font-size: 1rem;
}

/* Link volver en hubs: distancia controlada respecto a las cards */
.lava-subpage-balance .section-productos.lava-scene-root > p:last-child {
    text-align: center;
    margin-top: 56px;
}

/* Footer compacto en subpáginas (modo nota al pie) */
.lava-subpage-balance .section-contacto {
    flex: none;
    margin-top: 0;
    padding: 10px 0;
    background: transparent;
}

.section-contacto.hub-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 5px 0 !important;
}

.hub-footer .lava-footer {
    padding: 5px 0 !important;
}

.hub-footer .legal-box {
    margin-bottom: 0 !important;
}

.hub-footer .risk-warning {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    margin-bottom: 4px !important;
    opacity: 0.75;
}

.hub-footer .footer-fiscal {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
    opacity: 0.65;
}

.hub-footer .footer-meta {
    font-size: 0.65rem !important;
    padding-top: 6px !important;
    margin-top: 6px !important;
}

.hub-footer .footer-meta a {
    font-size: 0.65rem !important;
}

@media (max-width: 1280px) {
    .bots-hub-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1080px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .bots-hub-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        gap: 32px;
    }

    .lava-subpage-balance .section-title-standard {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .lava-subpage-balance .section-productos.lava-scene-root {
        padding: 100px 24px 60px;
    }

    .product-header-wrapper {
        margin-bottom: 40px;
    }

    .bot-card.lava-card-style {
        padding: 40px 28px;
        min-height: 340px;
    }

    .lava-subpage-balance .section-title-standard {
        font-size: 2rem;
    }
}

/* DEBUGGING DE COLORES: descomenta para ver qué contenedor colapsa
.card-front { outline: 4px solid red; }
.feed-wrapper { outline: 4px solid yellow; }
.obsidian-trade-feed { outline: 4px solid lime; }
.trade-feed-list { outline: 4px solid blue; }
*/
.section-contacto.hub-footer {
    padding: 32px 24px !important;
}

.hub-footer .lava-footer {
    padding: 24px 0 !important;
}

.hub-footer .legal-box {
    margin-bottom: 16px !important;
}

.hub-footer .risk-warning {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    opacity: 0.7;
}

.hub-footer .footer-fiscal {
    font-size: 0.7rem !important;
    opacity: 0.6;
}

.hub-footer .footer-meta {
    font-size: 0.75rem !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
}

.hub-footer .footer-meta a {
    font-size: 0.7rem !important;
}

/* =========================
   LIMPIEZA NUCLEAR (NAV)
   =========================
   Objetivo: que el dropdown de "Productos" sea 100% opaco y no se vea nada detrás.
*/
.linear-nav::before,
.linear-nav::after,
.nav__dropdown-panel::before,
.nav__dropdown-panel::after {
    content: none !important;
    display: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: none !important;
}

.linear-nav {
    background-color: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav__dropdown-panel {
    background-color: #050505 !important; /* obsidiana sólida */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 0 !important; /* cerrado */
    visibility: hidden !important;
    border: 1px solid rgba(255, 78, 0, 0.30) !important; /* único toque de color */
}

.nav__item--dropdown:hover .nav__dropdown-panel {
    opacity: 1 !important; /* abierto: muro */
    visibility: visible !important;
    border-color: rgba(255, 78, 0, 0.35) !important;
}

/* Reset extra: ningún hijo del nav debe aplicar blur/filtros */
.linear-nav *,
.nav__dropdown-panel * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* =========================
   FOOTER UNIFICADO (LAVA)
   ========================= */
.lava-footer-unified{
    background:#000000;
    border-top:1px solid rgba(255,255,255,0.05);
    padding:4rem 0;
    margin:0;
}
.lava-footer-unified__inner{
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}
.lava-footer-unified__left{
    display:none;
}
.lava-footer-unified__logo-trades{
    font-weight:300;
    margin-left:0.35em;
}
.lava-footer-unified__center{
    flex:1 1 62%;
    min-width:0;
    display:flex;
    justify-content:flex-start;
    flex-wrap:wrap;
    column-gap:10px;
    row-gap:8px;
    padding-top:0.2rem;
}
.lava-footer-unified__center a{
    font-family:'EB Garamond',serif;
    font-size:0.78rem;
    color:rgba(255,255,255,0.85);
    text-decoration:none;
    letter-spacing:0.015em;
    white-space:nowrap;
    text-transform:uppercase;
}
.lava-footer-unified__center a:hover{
    color:rgba(255,255,255,1);
}
.lava-footer-unified__right{
    flex:0 0 340px;
    font-family:'JetBrains Mono',monospace;
    font-size:0.65rem;
    line-height:1.7;
    opacity:0.4;
    color:rgba(255,255,255,0.9);
    text-align:left;
}
.lava-footer-unified__copy{
    margin-bottom:0.55rem;
}

@media (max-width:1200px){
    .lava-footer-unified__center{
        column-gap:8px;
    }
    .lava-footer-unified__center a{
        font-size:0.74rem;
    }
    .lava-footer-unified__right{
        flex:0 0 300px;
    }
}

@media (max-width:980px){
    .lava-footer-unified__inner{
        flex-direction:column;
        align-items:stretch;
    }
    .lava-footer-unified__center{
        justify-content:flex-start;
        flex-wrap:wrap;
        gap:18px;
    }
    .lava-footer-unified__right{
        flex:1 1 auto;
        max-width:720px;
    }
}

