
        :root {
            --bg-body: #ffffff;
            --bg-alt: #f8fafc;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --primary: #0052cc;
            --primary-hover: #0040a8;
            --accent-orange: #ff5722;
            --accent-teal: #00c2a8;
            --text-dark: #0f172a;
            --text-muted: #475569;
            --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
            --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 20px 50px rgba(0, 82, 204, 0.14);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Outfit', sans-serif; }
        html, body { width: 100%; overflow-x: hidden; background: var(--bg-body); color: var(--text-dark); scroll-behavior: smooth; }

        @keyframes float3d {
            0% { transform: translate3d(0, 0, 0); }
            50% { transform: translate3d(0, -8px, 0); }
            100% { transform: translate3d(0, 0, 0); }
        }
        @keyframes pulseGlow {
            0% { box-shadow: 0 0 15px rgba(255, 87, 34, 0.3); }
            50% { box-shadow: 0 0 28px rgba(255, 87, 34, 0.6); }
            100% { box-shadow: 0 0 15px rgba(255, 87, 34, 0.3); }
        }

        .animate-float { animation: float3d 5s ease-in-out infinite; will-change: transform; }
        .pulse-btn { animation: pulseGlow 3s infinite; }

        /* HEADER & NAVBAR */
        .navbar {
            position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
            padding: 1.1rem 4rem; display: flex; align-items: center; justify-content: space-between;
            background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
        }
        .brand { display: flex; align-items: center; text-decoration: none; }
        .brand-logo { height: 52px; width: auto; object-fit: contain; }

        .nav-links { display: flex; gap: 2.2rem; list-style: none; }
        .nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 1rem; transition: color 0.2s; }
        .nav-links a:hover { color: var(--primary); }

        .mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; color: var(--text-dark); cursor: pointer; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
            padding: 0.85rem 1.6rem; border-radius: 14px; font-weight: 700; cursor: pointer; text-decoration: none;
            border: none; transition: all 0.25s ease; font-size: 0.95rem;
        }
        .sr-only {
            position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
            overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
        }

        .btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow-md); }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
        .btn-orange { background: #c2410c; color: #ffffff; }
        .btn-orange:hover { background: #9a3412; transform: translateY(-2px); }

        /* HERO SECTION */
        .hero {
            padding: 10rem 4rem 6rem; background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
            display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; position: relative;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1.2rem;
            border-radius: 20px; background: rgba(0, 82, 204, 0.08); border: 1px solid rgba(0, 82, 204, 0.25);
            color: var(--primary); font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem;
        }
        .hero-title { font-size: 3.8rem; font-weight: 800; line-height: 1.12; margin-bottom: 1.5rem; color: var(--text-dark); letter-spacing: -0.02em; }
        .hero-title span.orange { color: var(--accent-orange); }
        .hero-desc { font-size: 1.2rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 2.2rem; max-width: 560px; }

        .hero-card {
            background: var(--bg-card); border: 1px solid var(--border-color);
            border-radius: 28px; padding: 2.5rem; box-shadow: var(--shadow-lg); position: relative;
        }

        /* METRICS BANNER */
        .metrics-banner {
            background: linear-gradient(90deg, #0052cc 0%, #003d99 100%); color: white; padding: 3.5rem 4rem;
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
        }
        .metric-val { font-size: 2.8rem; font-weight: 800; color: #ffffff; }
        .metric-lbl { font-size: 0.95rem; opacity: 0.92; font-weight: 500; margin-top: 0.25rem; }

        /* SECTIONS */
        .section { padding: 6rem 4rem; }
        .bg-alt { background: var(--bg-alt); }
        .section-header { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
        .section-title { font-size: 2.6rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-dark); letter-spacing: -0.02em; }
        .section-title span { color: var(--primary); }

        /* SERVICES GRID */
        .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
        .service-card {
            background: white; border: 1px solid var(--border-color); border-radius: 24px;
            padding: 2.2rem; box-shadow: var(--shadow-sm); transition: transform 0.35s ease, box-shadow 0.35s ease;
        }
        .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
        .service-icon {
            width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
            font-size: 1.6rem; margin-bottom: 1.2rem;
        }

        /* PORTFOLIO CAROUSEL */
        .portfolio-header-flex {
            display: flex; align-items: flex-end; justify-content: space-between;
            margin-bottom: 2rem; gap: 2rem; flex-wrap: wrap;
        }
        .portfolio-header-info { max-width: 620px; }
        .carousel-btn-group { display: flex; gap: 0.75rem; }
        .carousel-btn-nav {
            width: 48px; height: 48px; border-radius: 16px; background: white;
            border: 1px solid var(--border-color); color: var(--text-dark);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.25s ease; box-shadow: var(--shadow-sm);
        }
        .carousel-btn-nav:hover {
            background: var(--primary); color: white; border-color: var(--primary);
            transform: translateY(-2px); box-shadow: var(--shadow-md);
        }

        .portfolio-carousel-wrapper { position: relative; width: 100%; }
        .portfolio-carousel {
            display: flex; gap: 1.75rem; overflow-x: auto;
            scroll-snap-type: x mandatory; scroll-behavior: smooth;
            padding: 0.5rem 0.25rem 2rem; -ms-overflow-style: none; scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .portfolio-carousel::-webkit-scrollbar { display: none; }
        .portfolio-card {
            background: white; border: 1px solid var(--border-color); border-radius: 24px;
            overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s ease, box-shadow 0.35s ease;
            min-width: 320px; max-width: 320px; flex: 0 0 320px;
            scroll-snap-align: start; scroll-snap-stop: always;
        }
        .portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
        .portfolio-img-box { height: 220px; overflow: hidden; position: relative; background: #f1f5f9; }
        .portfolio-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .portfolio-card:hover .portfolio-img-box img { transform: scale(1.06); }
        .portfolio-body { padding: 1.4rem; display: flex; flex-direction: column; height: calc(100% - 220px); justify-content: space-between; }
        .portfolio-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 8px; font-size: 0.75rem; font-weight: 800; background: #e0e7ff; color: var(--primary); margin-bottom: 0.6rem; width: fit-content; }

        .carousel-dots { display: flex; justify-content: center; align-items: center; gap: 0.25rem; margin-top: 1rem; }
        .carousel-dot {
            width: 44px; height: 44px; padding: 0; margin: 0; background: transparent;
            border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
            outline: none; -webkit-tap-highlight-color: transparent;
        }
        .carousel-dot-inner {
            width: 10px; height: 10px; border-radius: 50%; background: var(--border-color);
            transition: all 0.3s ease; pointer-events: none;
        }
        .carousel-dot.active .carousel-dot-inner { background: var(--primary); width: 26px; border-radius: 6px; }

        /* COTIZADOR 3D */
        .quote-box {
            background: white; border: 1px solid var(--border-color); border-radius: 28px;
            padding: 3.5rem; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem;
        }
        .form-control {
            width: 100%; padding: 0.95rem 1.1rem; background: var(--bg-alt);
            border: 1px solid var(--border-color); border-radius: 14px; color: var(--text-dark);
            outline: none; transition: border-color 0.2s; font-size: 1rem; font-weight: 500;
        }
        .form-control:focus { border-color: var(--primary); background: white; }
        .dropzone {
            border: 2px dashed var(--primary); border-radius: 18px;
            padding: 2.2rem; text-align: center; background: rgba(0, 82, 204, 0.03);
            cursor: pointer; transition: background 0.2s;
        }

        /* 4 STEPS PROCESS */
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
        .process-card {
            background: white; border: 1px solid var(--border-color); border-radius: 24px;
            padding: 2.2rem; text-align: center; position: relative; box-shadow: var(--shadow-sm);
        }
        .process-num {
            width: 52px; height: 52px; border-radius: 50%; background: var(--primary);
            color: white; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.4rem; box-shadow: 0 6px 16px rgba(0,82,204,0.3);
        }

        /* FAQ ACCORDION */
        .faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
        .faq-item { background: white; border: 1px solid var(--border-color); border-radius: 18px; overflow: hidden; }
        .faq-item.active { box-shadow: var(--shadow-md); border-color: var(--primary); }
        .faq-question { padding: 1.35rem 1.6rem; font-weight: 700; font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
        .faq-answer { padding: 0 1.6rem 1.35rem; color: var(--text-muted); font-size: 1rem; line-height: 1.65; display: none; }
        .faq-item.active .faq-answer { display: block; }

        /* FLOATING ACTION BUTTONS */
        .whatsapp-float-btn {
            position: fixed; bottom: 2rem; left: 2rem; z-index: 9999;
            width: 58px; height: 58px; border-radius: 29px; background: #25d366; color: white;
            display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37,211,102,0.4);
            text-decoration: none; transition: transform 0.2s;
        }

        .chat-widget-btn {
            position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
            width: 58px; height: 58px; border-radius: 29px; background: var(--primary);
            color: white; border: none; cursor: pointer; box-shadow: var(--shadow-lg);
            display: flex; align-items: center; justify-content: center; transition: transform 0.2s;
        }

        .chat-window {
            position: fixed; bottom: 6.5rem; right: 2rem; z-index: 9999;
            width: 380px; height: 500px; max-width: calc(100vw - 2rem); max-height: calc(100vh - 8rem);
            background: white; border: 1px solid var(--border-color); border-radius: 24px;
            display: none; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden;
        }
        .chat-header { padding: 1.25rem; background: var(--primary); color: white; display: flex; align-items: center; justify-content: space-between; }
        .chat-messages { flex: 1; padding: 1.25rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.9rem; background: var(--bg-alt); }
        .msg { max-width: 85%; padding: 1rem 1.2rem; border-radius: 18px; font-size: 0.92rem; line-height: 1.6; font-weight: 400; letter-spacing: 0.01em; }
        .msg strong { font-weight: 700; }
        .msg a { color: #0052cc; text-decoration: underline; }
        .msg-bot { background: white; border: 1px solid var(--border-color); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
        .msg-user { background: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

        /* BOTÓN INTERACTIVO DE WHATSAPP EN CHAT */
        .chat-whatsapp-btn-wrapper {
            margin-top: 0.85rem;
            display: flex;
            justify-content: flex-start;
        }

        .btn-whatsapp-chat-inline {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            color: #ffffff !important;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.65rem 1.1rem;
            border-radius: 50px;
            text-decoration: none !important;
            box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .btn-whatsapp-chat-inline:hover {
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
            background: linear-gradient(135deg, #28e16e 0%, #149c8c 100%);
        }

        .btn-whatsapp-chat-inline:active {
            transform: translateY(0) scale(0.98);
        }

        .btn-whatsapp-chat-inline .ws-icon {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            fill: currentColor;
        }

        .ws-pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #ffffff;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 8px #ffffff;
            animation: wsPulse 1.8s infinite ease-in-out;
            margin-left: 2px;
        }

        @keyframes wsPulse {
            0% {
                transform: scale(0.8);
                opacity: 0.7;
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
            }
            50% {
                transform: scale(1.2);
                opacity: 1;
                box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
            }
            100% {
                transform: scale(0.8);
                opacity: 0.7;
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
            }
        }

        /* NEXA BADGE POPUP */
        @keyframes nexaPopIn {
            0% { opacity: 0; transform: translateY(20px) scale(0.95); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .nexa-badge-box {
            position: fixed; bottom: 6.2rem; right: 2rem; z-index: 9998;
            background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
            border: 1px solid rgba(0, 82, 204, 0.25); border-radius: 20px;
            padding: 0.85rem 1.15rem; box-shadow: 0 12px 35px rgba(15, 23, 42, 0.14);
            display: flex; align-items: center; gap: 0.85rem;
            animation: nexaPopIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            transition: opacity 0.5s ease, transform 0.5s ease;
            cursor: pointer; max-width: 380px;
        }
        .nexa-badge-box:hover {
            transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 82, 204, 0.18);
        }

        /* FOOTER CON LOGO TRANSPARENTE / BLANCO LIMPIO */
        .footer {
            background: #090d16; color: white; padding: 5rem 4rem 3rem;
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3.5rem; border-top: 1px solid rgba(255,255,255,0.08);
        }
        .footer-logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 1.2rem; }
        .footer a { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-size: 0.95rem; }
        .footer a:hover { color: white; }

        /* RESPONSIVE MEDIA QUERIES */
        @media (max-width: 1024px) {
            .navbar { padding: 1rem 2rem; }
            .hero { padding: 8rem 2rem 4rem; gap: 2.5rem; }
            .hero-title { font-size: 3rem; }
            .section { padding: 4.5rem 2rem; }
            .quote-box { padding: 2.5rem; gap: 2rem; }
            .metrics-banner { padding: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .footer { padding: 4rem 2rem 2rem; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
        }

        @media (max-width: 768px) {
            .navbar { padding: 0.9rem 1.25rem; }
            .brand-logo { height: 42px; }
            .mobile-menu-btn { display: block; }

            .nav-links {
                position: fixed; top: 68px; left: 0; width: 100%; background: white;
                flex-direction: column; padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--border-color);
                box-shadow: var(--shadow-md); display: none;
            }
            .nav-links.active { display: flex; }
            .nav-btn-hide { display: none; }

            .hero { grid-template-columns: 1fr; padding: 7rem 1.25rem 3rem; gap: 2rem; text-align: center; }
            .hero-title { font-size: 2.4rem; }
            .hero-desc { font-size: 1.05rem; margin: 0 auto 1.8rem; }
            .hero .btn { width: 100%; margin-bottom: 0.5rem; }

            .metrics-banner { grid-template-columns: 1fr 1fr; padding: 2rem 1rem; gap: 1rem; }
            .metric-val { font-size: 2.2rem; }
            .metric-lbl { font-size: 0.85rem; }

            .section { padding: 3.5rem 1.25rem; }
            .section-title { font-size: 2.1rem; }

            .services-grid { grid-template-columns: 1fr; gap: 1.2rem; }

            .portfolio-card { min-width: 280px; max-width: 280px; }
            .carousel-nav { display: none; }

            .quote-box { grid-template-columns: 1fr; padding: 1.5rem; gap: 2rem; }
            .process-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }

            .chat-window { bottom: 5rem; right: 1rem; left: 1rem; width: auto; height: 75vh; }
            .whatsapp-float-btn { bottom: 1.25rem; left: 1.25rem; width: 50px; height: 50px; }
            .chat-widget-btn { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
            .nexa-badge-box { bottom: 5rem; right: 1rem; left: 1rem; max-width: calc(100vw - 2rem); }

            .footer { grid-template-columns: 1fr; padding: 3rem 1.25rem 2rem; text-align: center; gap: 2rem; }
            .footer-logo { margin: 0 auto 1rem; }
        }
    