:root {
            --primary-color: #ff6700;
            --white: #ffffff;
            --radius: 16px;
            
            --ancho-total: 600px;
            --gap: 15px;
            --ancho-boton: 160px;
        }

        @font-face {
            font-family: 'alte_haas_groteskbold';
            src: url('https://cdn.nsqkk.com/fonts/AlteHaasGroteskBold.woff2') format('woff2'),
                 url('https://cdn.nsqkk.com/fonts/AlteHaasGroteskBold.woff') format('woff');
            font-display: block;
        }

        @font-face {
            font-family: 'alte_haas_groteskregular';
            src: url('https://cdn.nsqkk.com/fonts/AlteHaasGroteskRegular.woff2') format('woff2'),
                url('https://cdn.nsqkk.com/fonts/AlteHaasGroteskRegular.woff') format('woff');
            font-display: swap;
        }   

        html, body {
            -ms-overflow-style: none; 
            scrollbar-width: none;  
        }

        body {
            text-transform: uppercase;
            font-family: 'alte_haas_groteskregular';
            overflow-x: hidden;
        }

        html::-webkit-scrollbar, 
        body::-webkit-scrollbar {
            display: none;
        }

        .hidden{
            display: none;
        }

        .top-banner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1001;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6px 20px;
            background: var(--primary-color);
        }

        .top-banner a {
            font-family: "alte_haas_groteskbold";
            font-size: 11px;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .top-banner a:hover { color: #fff; }

        .top-bar {
            position: fixed;
            top: 28px;
            left: 0;
            width: 100%;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0 30px;
            z-index: 1000;
            pointer-events: none;
            background: rgba(255, 255, 255, 0.0);
            transition: height 0.3s;
        }

        .top-bar > * {
            pointer-events: auto; 
        }

        .hamburger {
            position: relative; 
            top: auto; right: auto;
            width: 40px; height: 30px;
            display: flex; flex-direction: column; justify-content: space-between;
            cursor: pointer;
            flex-shrink: 0; 
            z-index: 1002; 
        }
        .hamburger div {
            width: 100%; height: 4px; background: white; border-radius: 2px;
            transition: 0.4s;
        }
        .hamburger.open div:nth-child(1) { transform: translateY(13px) rotate(45deg); }
        .hamburger.open div:nth-child(2) { opacity: 0; }
        .hamburger.open div:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

        .section-hero {
            background-color: var(--primary-color);
            color: var(--white);
            height: 80vh; 
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .section-body {
            background-color: var(--white);
            color: var(--primary-color);
            padding-top: 50px;
            padding-bottom: 120px; 
        }

        .text-title {
            font-family: "alte_haas_groteskbold";
            font-size: 40px;
            margin-bottom: 20px;
            text-align: center;
        }

        .text-subtitle {
            font-family: "alte_haas_groteskbold";
            font-size: 20px;
            margin-bottom: 30px;
            text-align: center;
            opacity: 0.8;
        }

        .custom-input {
            padding: 0 20px;
            font-family: "alte_haas_groteskbold", sans-serif;
            font-size: 20px;
            border-radius: var(--radius);
            text-transform: uppercase;
            height: 50px;
            line-height: 50px;
            outline: none;
            background: transparent;
            box-sizing: border-box;
            transition: all 0.3s ease;
        }

        .input-hero {
            border: 2px solid var(--white);
            color: var(--white);
            width: var(--ancho-total); 
            max-width: 90vw;
        }
        .input-hero::placeholder { color: var(--white); opacity: 0.7; }
        .input-hero:focus {
            border: 2px solid var(--white);
        }

        .input-body {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
        }
        .input-body::placeholder { color: var(--primary-color); opacity: 0.6; }
        .input-body:focus {
            border: 2px solid var(--primary-color);
        }
        
        .w-large { 
            width: var(--ancho-total); 
            max-width: 90vw; 
        }

        .w-medium, .w-select { 
            width: calc((var(--ancho-total) - var(--gap)) / 2); 
            max-width: 90vw; 
        }

        .btn-aesthetic {
            border: none;
            font-family: "alte_haas_groteskbold", sans-serif;
            cursor: pointer;
            font-size: 20px;
            text-transform: uppercase;
            height: 50px;
            width: var(--ancho-boton); 
            padding: 0;
            border-radius: var(--radius);
            transition: all 0.3s ease;
            display: inline-block;
            margin-top: 0;
            white-space: nowrap;
        }
        
        .btn-aesthetic:focus {
            outline: none !important;
        }

        .btn-hero {
            border: 2px solid var(--white);
            background: transparent;
            color: var(--white);
        }
        .btn-hero:hover {
            background: var(--white);
            color: var(--primary-color);
            box-shadow: 0 0 15px rgba(255,255,255,0.4);
        }
        .btn-hero:focus {
            border: 2px solid var(--white);
        }

        .btn-body {
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
        }
        .btn-body:hover {
            background: var(--primary-color);
            color: var(--white);
            box-shadow: 0 0 15px rgba(1, 30, 246, 0.3);
        }
        .btn-body:focus {
            border: 2px solid var(--primary-color);
        }

        form {
            display: flex;
            flex-direction: column; 
            align-items: center;
            justify-content: center;
            gap: var(--gap); 
            width: 100%;
        }

        #buscanSoloForm,
        #qntyForm {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .mobile-menu {
            position: fixed;
            top: 90px;
            right: 20px;
            width: 280px;
            max-width: 90vw;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(0,0,0,0.07);
            border-radius: 22px;
            box-shadow: 0 20px 60px -10px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.8) inset;
            padding: 10px;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-12px) scale(0.97);
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .mobile-menu::before {
            content: '';
            position: absolute;
            top: -7px;
            right: 22px;
            width: 13px;
            height: 13px;
            background: rgba(255,255,255,0.97);
            border-top: 1px solid rgba(0,0,0,0.07);
            border-left: 1px solid rgba(0,0,0,0.07);
            transform: rotate(45deg);
            border-radius: 2px 0 0 0;
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .menu-section-title {
            font-family: "alte_haas_groteskbold";
            font-size: 9px;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: rgba(0,0,0,0.3);
            padding: 8px 12px 4px;
        }

        .menu-divider {
            height: 1px;
            background: rgba(0,0,0,0.06);
            margin: 4px 2px;
        }

        .mobile-menu .menu-btn {
            width: 100%;
            padding: 10px 12px;
            text-align: left;
            font-family: "alte_haas_groteskbold";
            font-size: 13px;
            color: #111;
            background: transparent;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: background 0.15s ease, color 0.15s ease;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-menu .menu-btn:hover {
            background: var(--primary-color);
            color: #fff;
        }

        .mobile-menu .menu-btn .menu-icon {
            font-size: 16px;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.15s ease;
        }

        .mobile-menu .menu-btn:hover .menu-icon { background: rgba(255,255,255,0.2); }

        .mobile-menu .menu-btn .menu-badge {
            margin-left: auto;
            font-size: 8px;
            background: var(--primary-color);
            color: #fff;
            padding: 2px 6px;
            border-radius: 6px;
            letter-spacing: 0.1em;
        }

        .mobile-menu .menu-btn:hover .menu-badge {
            background: rgba(255,255,255,0.3);
        }

        .mobile-menu .menu-btn.featured {
            color: var(--primary-color);
            font-size: 14px;
        }

        .mobile-menu .menu-btn.featured .menu-icon {
            background: rgba(1,30,246,0.08);
        }

        .mobile-menu .menu-btn.featured:hover {
            color: #fff;
        }

        .menu-icon svg { width: 15px; height: 15px; display: block; }
        .btn-radio-footer svg { width: 11px; height: 11px; display: inline-block; vertical-align: middle; }

        .bottom-bar {
            position: fixed;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 1000px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.8rem 1.5rem; 
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 10px 40px -5px rgba(0,0,0,0.15), 0 0 2px rgba(0,0,0,0.1);
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 24px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            gap: 15px;
        }

        .loguito-footer { 
            height: 40px; 
            width: auto; 
            cursor: pointer; 
            transition: transform 0.2s ease;
            display: block;
            flex-shrink: 0;
        }
        .loguito-footer:hover { transform: scale(1.05); }

        .controls-wrapper {
            display: flex;
            flex: 1;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            min-height: 48px;
            gap: 4px;
        }

        .text-footer {
            font-size: 16px;
            font-family: "alte_haas_groteskbold";
            color: var(--primary-color);
            line-height: 1.2;
            white-space: nowrap; 
        }

        .quick-nav {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .btn-radio-footer {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid var(--primary-color);
            padding: 4px 12px;
            border-radius: 20px;
            text-decoration: none;
            color: var(--primary-color);
            font-family: "alte_haas_groteskbold";
            font-size: 11px;
            letter-spacing: 0.5px;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .btn-radio-footer:hover {
            background: var(--primary-color);
            color: var(--white);
            transform: scale(1.05);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .badge-footer {
            background: var(--primary-color);
            color: var(--white);
            padding: 1px 5px;
            border-radius: 6px;
            font-size: 8px;
            font-weight: bold;
            animation: pulse-mini 2s infinite;
        }

        .btn-radio-footer:hover .badge-footer {
            background: var(--white);
            color: var(--primary-color);
        }

        @keyframes pulse-mini {
            0% { opacity: 1; }
            50% { opacity: 0.6; }
            100% { opacity: 1; }
        }

        @media only screen and (max-width: 991px) {
            .text-title { font-size: 24px; line-height: 1.2; padding: 0 15px; margin-bottom: 15px; }
            .text-subtitle { font-size: 14px; line-height: 1.2; padding: 0 15px; margin-bottom: 20px; }
            
            .top-bar { height: 60px; padding: 0 15px; }
            
            .top-banner a { font-size: 9px; letter-spacing: 0.15em; }
            .top-bar { top: 24px; }
            .mobile-menu { top: 112px; } 

            .custom-input, .btn-aesthetic {
                height: 42px; line-height: 42px; font-size: 16px;
            }

            .w-large, .w-medium, .w-select, .input-hero, .btn-aesthetic { 
                width: 260px; max-width: 85vw; 
            }
            
            #buscanSoloForm, #qntyForm { flex-direction: column; }
            .btn-aesthetic { margin-top: 10px; }

            .section-body { padding-top: 30px; }
            .mb-5 { margin-bottom: 2rem !important; }

            .bottom-bar {
                bottom: 15px;
                width: 95%;
                padding: 0.6rem;
                border-radius: 18px;
                background: rgba(255, 255, 255, 0.98);
                gap: 8px;
            }

            .loguito-footer { height: 28px; width: auto; }
            .controls-wrapper { min-height: 40px; }
            .text-footer { font-size: 9px; white-space: normal; }
            #nsqkChartsX .loguito-footer { display: block !important; }

            .btn-radio-footer { font-size: 9px; padding: 3px 8px; }
            .badge-footer { font-size: 7px; padding: 1px 3px; }
            .quick-nav { gap: 4px; }
        }

        .social-picker {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .social-picker summary {
            list-style: none;
            cursor: pointer;
            user-select: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            border: 0;
            background: transparent;
            white-space: nowrap;
        }

        .social-picker summary::-webkit-details-marker { display: none; }

        .social-picker summary::after {
            content: "";
            width: 6px;
            height: 6px;
            border-right: 1px solid currentColor;
            border-bottom: 1px solid currentColor;
            transform: translateY(-2px) rotate(45deg);
            opacity: 0.75;
        }

        .social-picker[open] summary::after {
            transform: translateY(1px) rotate(225deg);
        }

        .social-options {
            position: absolute;
            top: calc(100% + 8px);
            left: 50%;
            min-width: 170px;
            padding: 7px;
            border-radius: 14px;
            background: rgba(255,255,255,0.98);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 18px 45px rgba(0,0,0,0.18);
            transform: translate(-50%, -6px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease;
            z-index: 1200;
        }

        .social-picker[open] .social-options {
            opacity: 1;
            transform: translate(-50%, 0);
            pointer-events: auto;
        }

        .social-options a,
        .top-banner .social-options a {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 8px 12px;
            border-radius: 10px;
            font-family: "alte_haas_groteskbold";
            font-size: 11px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--primary-color);
            text-decoration: none;
            transition: background 0.16s ease, color 0.16s ease;
        }

        .social-options a:hover {
            background: var(--primary-color);
            color: #fff;
        }

        .top-banner .social-picker summary {
            font-family: "alte_haas_groteskbold";
            font-size: 11px;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.84);
            transition: color 0.2s ease;
        }

        .top-banner .social-picker summary:hover { color: #fff; }

        .menu-social {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: stretch;
        }

        .menu-social summary {
            width: 100%;
            padding: 6px 12px 2px;
            font-family: "alte_haas_groteskbold";
            font-size: 10px;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: rgba(0,0,0,0.35);
            transition: color 0.2s ease;
        }

        .menu-social summary:hover { color: var(--primary-color); }

        .menu-social .social-options {
            position: static;
            display: none;
            min-width: 0;
            width: 100%;
            margin-top: 6px;
            background: rgba(0,0,0,0.035);
            box-shadow: none;
            transform: none;
            opacity: 1;
            pointer-events: auto;
        }

        .menu-social[open] .social-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            transform: none;
        }

        .logo-social summary {
            padding: 0;
        }

        .logo-social summary::after { display: none; }

        .logo-social .social-options,
        .footer-social .social-options {
            top: auto;
            bottom: calc(100% + 10px);
        }

        .footer-social summary {
            font-family: "alte_haas_groteskbold";
            font-size: 10px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(0,0,0,0.42);
            transition: color 0.2s ease;
        }

        .footer-social summary:hover { color: var(--primary-color); }

        .btn-radio-footer.btn-nsqk-main {
            background: #111;
            border-color: #111;
            color: #fff;
            padding: 5px 14px;
            box-shadow: none;
        }

        .btn-radio-footer.btn-nsqk-main:hover {
            background: #111;
            color: #fff;
            transform: translateY(-1px) scale(1.03);
        }

        .btn-radio-footer.btn-era-switch.is-current {
            background: var(--primary-color);
            color: var(--white);
            box-shadow: 0 4px 12px rgba(0,0,0,0.14);
        }

        .mobile-menu .menu-btn.menu-btn-nsqk {
            background: #111;
            color: #fff;
            border: 1px solid #111;
            box-shadow: none;
        }

        .mobile-menu .menu-btn.menu-btn-nsqk:hover {
            background: #000;
            color: #fff;
        }

        .mobile-menu .menu-btn.menu-btn-nsqk,
        .mobile-menu .menu-btn.featured.eco-atp,
        .mobile-menu .menu-btn.featured.eco-flaco {
            justify-content: center;
            text-align: center;
        }

        .mobile-menu .menu-btn.menu-btn-nsqk .menu-icon,
        .mobile-menu .menu-btn.featured.eco-atp .menu-icon,
        .mobile-menu .menu-btn.featured.eco-flaco .menu-icon {
            display: none;
        }

        /* ===== Eco-nav: enlaces del ecosistema en el HEADER ===== */
        .top-bar { justify-content: center; }

        .top-bar .hamburger {
            position: absolute;
            top: 50%;
            right: 30px;
            transform: translateY(-50%);
        }

        .eco-nav {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            max-width: calc(100vw - 120px);
        }

        .eco-link {
            --eco: #111;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 12px;
            background: var(--eco);
            border: 2px solid var(--eco);
            color: #fff;
            text-decoration: none;
            font-family: "alte_haas_groteskbold";
            font-size: 11px;
            letter-spacing: 0.08em;
            line-height: 1;
            text-transform: uppercase;
            white-space: nowrap;
            box-shadow: none;
            transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
        }

        .eco-link > svg { display: none; }

        .eco-link .eco-tx small { opacity: .68; }
        .eco-link::after { display: none; }

        .eco-link:hover {
            transform: translateY(-1px);
            background: #fff;
            color: var(--eco);
            border-color: var(--eco);
        }

        .eco-link.eco-nsqk  { --eco: #111; }
        .eco-link.eco-atp   { --eco: #ff6700; }
        .eco-link.eco-flaco { --eco: #011ef6; }

        /* menú lateral: botones del ecosistema en CTA sólido de color */
        .mobile-menu .menu-btn.featured.eco-atp,
        .mobile-menu .menu-btn.featured.eco-flaco { color:#fff; }
        .mobile-menu .menu-btn.featured.eco-atp { background:#ff6700; }
        .mobile-menu .menu-btn.featured.eco-flaco { background:#011ef6; }
        .mobile-menu .menu-btn.featured.eco-atp:hover { background:#ff7d24; color:#fff; }
        .mobile-menu .menu-btn.featured.eco-flaco:hover { background:#1c3aff; color:#fff; }

        @media only screen and (max-width: 600px) {
            .top-bar { padding: 0 18px; }
            .top-bar .hamburger { right: 18px; }
            .eco-nav {
                gap: 6px;
                max-width: calc(100vw - 96px);
            }
            .eco-link {
                min-width: 0;
                min-height: 36px;
                padding: 0 8px;
                border-radius: 10px;
                font-size: 9px;
                letter-spacing: 0.04em;
            }
            .eco-link .eco-tx {
                display: inline-block;
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .eco-link::after,
            .eco-link > svg { display: none; }
        }
