/* ─── Block 1: Hero & Layout ─── */
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ═══ HERO: Curvas de nivel (capa base) ═══ */
        .hero-contour-lines {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            overflow: hidden;
        }
        .hero-contour-lines svg {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
        }
        .hero-contour-lines path {
            fill: none;
            stroke: rgba(255, 255, 255, 0.035);
            stroke-width: 1;
            animation: contourPulse 12s ease-in-out infinite alternate;
        }
        .hero-contour-lines path:nth-child(odd) {
            animation-delay: -3s;
            stroke: rgba(234, 179, 8, 0.04);
        }
        .hero-contour-lines path:nth-child(3n) {
            animation-delay: -6s;
            stroke-width: 1.5;
        }
        @keyframes contourPulse {
            0% { opacity: 0.6; }
            100% { opacity: 1; }
        }

        /* ═══ HERO: Red de triangulación (canvas) ═══ */
        .hero-triangulation {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
        }
        .hero-triangulation canvas {
            width: 100%;
            height: 100%;
        }

        /* ═══ HERO TEXT ANIMATIONS ═══ */
        .hero-badge {
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s ease-out 0.5s forwards;
        }
        .hero-badge .badge-text {
            color: #FFC107;
        }
        .hero-title {
            opacity: 0;
            transform: translateY(30px);
            animation: heroFadeUp 0.8s ease-out 0.7s forwards;
        }
        .hero-title .hero-word {
            display: inline-block;
            opacity: 0;
            transform: translateY(40px) rotateX(40deg);
            animation: heroWordReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }
        .hero-title .hero-word:nth-child(1) { animation-delay: 0.8s; }
        .hero-title .hero-word:nth-child(2) { animation-delay: 1.0s; }
        .hero-title .hero-word:nth-child(3) { animation-delay: 1.2s; }

        .hero-subtitle {
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s ease-out 1.4s forwards;
        }
        .hero-ctas {
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s ease-out 1.6s forwards;
        }
        .hero-stats {
            opacity: 0;
            transform: translateY(20px);
            animation: heroFadeUp 0.8s ease-out 1.8s forwards;
        }
        .hero-stat {
            opacity: 0;
            transform: translateY(15px);
        }
        .hero-stat:nth-child(1) { animation: heroFadeUp 0.6s ease-out 2.0s forwards; }
        .hero-stat:nth-child(2) { animation: heroFadeUp 0.6s ease-out 2.15s forwards; }
        .hero-stat:nth-child(3) { animation: heroFadeUp 0.6s ease-out 2.3s forwards; }

        @keyframes heroFadeUp {
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes heroWordReveal {
            to { opacity: 1; transform: translateY(0) rotateX(0deg); }
        }

        /* ═══ HERO GLOW TEXT ═══ */
        .hero-glow {
            position: relative;
            display: inline;
        }
        .hero-glow::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: -4px;
            right: -4px;
            height: 60%;
            background: linear-gradient(90deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
            border-radius: 4px;
            z-index: -1;
        }

        /* ═══ HERO SCROLL INDICATOR ═══ */
        .hero-scroll-indicator {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            opacity: 0;
            animation: heroFadeUp 0.6s ease-out 2.5s forwards;
        }
        .hero-scroll-indicator span {
            font-size: 10px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.35);
            font-family: 'Roboto', sans-serif;
        }
        .hero-scroll-mouse {
            width: 24px;
            height: 38px;
            border: 2px solid rgba(255,255,255,0.25);
            border-radius: 12px;
            position: relative;
        }
        .hero-scroll-mouse::after {
            content: '';
            position: absolute;
            top: 6px;
            left: 50%;
            transform: translateX(-50%);
            width: 3px;
            height: 8px;
            background: rgba(255, 193, 7, 0.7);
            border-radius: 2px;
            animation: heroScrollDot 1.8s ease-in-out infinite;
        }
        @keyframes heroScrollDot {
            0%, 100% { top: 6px; opacity: 1; }
            50% { top: 18px; opacity: 0.3; }
        }

        /* ═══ HERO VIDEO CONTAINER ═══ */
        .hero-video-wrapper {
            opacity: 0;
            transform: translateX(40px) scale(0.95);
            animation: heroSlideRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
        }
        @keyframes heroSlideRight {
            to { opacity: 1; transform: translateX(0) scale(1); }
        }
        .hero-video-wrapper::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 1.25rem;
            padding: 1px;
            background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), transparent 50%, rgba(234, 179, 8, 0.1));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        /* ═══ HERO STAT CARDS ═══ */
        .hero-stat-card {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            padding: 14px 18px;
            text-align: center;
            backdrop-filter: blur(8px);
            transition: all 0.3s ease;
        }
        .hero-stat-card:hover {
            background: rgba(255,255,255,0.07);
            border-color: rgba(234, 179, 8, 0.25);
            transform: translateY(-2px);
        }
        .hero-stat-number {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 1.5rem;
            color: #FFC107;
            line-height: 1.2;
        }
        .hero-stat-label {
            font-family: 'Roboto', sans-serif;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 2px;
        }

        /* ═══ HERO DECORATIVE LINE ═══ */
        .hero-deco-line {
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, #FFC107, transparent);
            margin: 16px 0;
        }

        /* ═══ FOUC FIX triple para Material Symbols ═══ */
        /* 
         * Problema: Google Fonts con display=swap muestra "apartment","menu" como texto. 
         * Solución principal: display=block en la URL de Google Fonts (arriba).
         * Solución backup: ocultar CON TRES PROPIEDADES simultáneas — font-size:0 es
         * imposible de sobreescribir accidentalmente.
         */
        .material-symbols-outlined {
            opacity: 0 !important;
            font-size: 0 !important;
            overflow: hidden !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            min-width: 1em !important;
            min-height: 1em !important;
        }
        body.fonts-ready .material-symbols-outlined {
            opacity: 1 !important;
            font-size: inherit !important;
            overflow: visible !important;
            min-width: auto !important;
            min-height: auto !important;
            transition: opacity 0.15s ease;
        }

/* ─── Block 2 ─── */
        #page-loader {
            position: fixed; inset: 0; z-index: 99999;
            background: #0B192C;
            display: flex; align-items: center; justify-content: center;
            flex-direction: column; gap: 16px;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }
        #page-loader.hidden-loader {
            opacity: 0; visibility: hidden; pointer-events: none;
        }
        .loader-bar-wrap {
            width: 180px; height: 3px;
            background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
        }
        .loader-bar {
            height: 100%; width: 0%;
            background: linear-gradient(90deg, #FFC107, #F59E0B);
            border-radius: 2px;
            animation: loaderFill 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        @keyframes loaderFill { to { width: 100%; } }
        .loader-text {
            font-family: 'Roboto', sans-serif;
            font-size: 11px; letter-spacing: 3px;
            color: rgba(255,255,255,0.4); text-transform: uppercase;
        }

/* ─── Block 3: Mid-body Section Styles ─── */
        /* ===== FIX SCROLL LATERAL ===== */
        html {
            overflow-x: hidden;
        }
        
        body {
            overflow-x: hidden;
        }
        
        /* ===== NAVBAR STYLES ===== */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background-color: #0B192C;
            box-shadow: none;
            border-bottom: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }
        
        #navbar.scrolled {
            background-color: rgba(11, 25, 44, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        }
        
        #navbar.shrunken {
            padding-top: 0.25rem;
            padding-bottom: 0.25rem;
        }
        
        #navbar.shrunken #navbar-logo {
            height: 2rem;
        }
        
        #navbar.scrolled #navbar-logo {
            height: 2.5rem;
        }
        
        #navbar-logo {
            transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        #navbar.hidden-nav {
            top: -100%;
        }
        
        #show-navbar-btn {
            position: fixed;
            top: 0.5rem;
            right: 0.5rem;
            z-index: 99999;
            background: #FFC107;
            border: none;
            border-radius: 50%;
            padding: 10px;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }
        
        #show-navbar-btn:hover {
            background: #FFD54F;
            transform: scale(1.1);
        }
        
        #show-navbar-btn.hidden {
            display: none;
        }

        /* ===== TOPO BACKGROUNDS ===== */
        .topo-darkest  { background-color: #0B192C; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-dark     { background-color: #0F1E30; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-darkmid  { background-color: #132234; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-mid      { background-color: #172638; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-midlight { background-color: #1B2A3C; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-lightdark{ background-color: #1F2E40; border-bottom: 1px solid rgba(255,255,255,0.10); }
        .topo-lightest-dark{ background-color: #243244; border-bottom: 1px solid rgba(255,255,255,0.10); }

        /* ===== SCROLL OFFSET ===== */
        html { scroll-padding-top: 100px; }

        .separator-transition {
            height: 2px;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 20%, rgba(255,255,255,0.10) 80%, transparent 100%);
        }

        .section-dark {
            background-color: #0B192C;
            border-bottom: 1px solid rgba(255,255,255,0.10);
        }

        .section-dark:last-of-type {
            border-bottom: none;
        }

        /* ===== SCROLL ANIMATIONS ===== */
        .scroll-fade-up {
            transform: translateY(40px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .scroll-fade-left {
            transform: translateX(-40px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .scroll-fade-right {
            transform: translateX(40px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .scroll-scale {
            transform: scale(0.9);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .scroll-animate.visible,
        .scroll-fade-up.visible,
        .scroll-fade-left.visible,
        .scroll-fade-right.visible,
        .scroll-scale.visible {
            opacity: 1;
            transform: translateY(0) translateX(0) scale(1);
        }
        
        /* Animation delays */
        .scroll-delay-1 { transition-delay: 0.1s; }
        .scroll-delay-2 { transition-delay: 0.2s; }
        .scroll-delay-3 { transition-delay: 0.3s; }
        .scroll-delay-4 { transition-delay: 0.4s; }
        .scroll-delay-5 { transition-delay: 0.5s; }
        .scroll-delay-6 { transition-delay: 0.6s; }

        /* ===== TYPOGRAPHY ===== */
        .font-heading {
            font-family: 'Montserrat', sans-serif;
        }
        
        .font-black {
            font-weight: 900;
        }

        /* ===== CARD TRANSITIONS ===== */
        .service-card, .sector-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .service-card:hover, .sector-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        
        /* ===== SCROLLBAR HIDE ===== */
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        /* ===== SERVICES CAROUSEL ===== */
        #services-carousel {
            -webkit-overflow-scrolling: touch;
        }
        
        .scrollbar-hide {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .scrollbar-hide::-webkit-scrollbar {
            display: none;
        }
        
        .service-item > div {
            transition: all 0.3s ease;
            padding: 1rem;
            border-radius: 0.75rem;
        }
        
        .service-item:hover > div {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        }
        
        /* Tarjeta Seleccionada - más espaciosa y brillante */
        .service-item.selected > div {
            padding: 1.25rem;
            filter: brightness(1.1);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        }
        
        .service-item.selected .card-title {
            font-size: 1.0625rem;
        }
        
        /* Tarjetas no seleccionadas - ligeramente oscurecidas */
        .service-item:not(.selected) > div {
            filter: brightness(0.75);
        }
        
        .service-item:not(.selected):hover > div {
            filter: brightness(0.9);
        }

        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }

        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        /* Active thumbnail style */
        .active-thumb {
            border-color: #FFC107 !important;
            /* biggeo-yellow */
            opacity: 1 !important;
            transform: scale(1.05);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        /* Form select dropdown styling */
        select option {
            background-color: #1B2A3C !important;
            color: #ffffff !important;
            padding: 8px !important;
        }

        select option:hover {
            background-color: #243244 !important;
        }

        /* Fullscreen styles: No cropping, black background, no animations */
        :fullscreen,
        :-webkit-full-screen,
        :-moz-full-screen,
        :-ms-fullscreen {
            background-color: black !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        /* Target the element that IS in fullscreen */
        video:fullscreen,
        img:fullscreen,
        video:-webkit-full-screen,
        img:-webkit-full-screen,
        video:-moz-full-screen,
        img:-moz-full-screen,
        video:-ms-fullscreen,
        img:-ms-fullscreen {
            object-fit: contain !important;
            max-width: 100vw !important;
            max-height: 100vh !important;
            width: auto !important;
            height: auto !important;
            margin: auto !important;
            transition: none !important;
            /* Disable transitions to prevent stuck "cut" states */
            transform: none !important;
            /* Ensure no zoom/hover scales persist */
            border: none !important;
            border-radius: 0 !important;
        }

/* ─── Block 4: Section Styles ─── */
            @keyframes badgePulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
            @keyframes arrowPulse {
                0%, 100% { box-shadow: 0 0 10px rgba(255,193,7,0.2); border-color: rgba(255,193,7,0.3); }
                50% { box-shadow: 0 0 20px rgba(255,193,7,0.5); border-color: rgba(255,193,7,0.6); }
            }
            .animate-arrow-glow {
                animation: arrowPulse 2s infinite ease-in-out;
            }

            .stage-panel {
                background: rgba(255,255,255,0.025);
                border: 1px solid rgba(255,255,255,0.07);
                border-radius: 1rem;
                padding: 1rem;
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                transition: border-color 0.3s ease;
            }
            .stage-panel:hover { border-color: rgba(255,193,7,0.14); }

            .stage-panel-header {
                display: flex; align-items: center; gap: 0.5rem;
                font-size: 0.68rem; font-family: 'Roboto', sans-serif;
                font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
                color: rgba(255,255,255,0.35);
                margin-bottom: 0.75rem; padding-bottom: 0.5rem;
                border-bottom: 1px solid rgba(255,255,255,0.05);
            }

            .stage-scanline {
                position: absolute; left:0; right:0; height:2px;
                background: linear-gradient(90deg, transparent 0%, rgba(70,130,180,0.55) 25%, rgba(255,193,7,0.9) 50%, rgba(70,130,180,0.55) 75%, transparent 100%);
                z-index: 15;
                animation: stageScan 7s ease-in-out infinite;
                opacity: 0;
            }
            @keyframes stageScan {
                0%   { top:0%;   opacity:0; }
                5%   { opacity:1; }
                95%  { opacity:1; }
                100% { top:100%; opacity:0; }
            }

            .stage-corner { position:absolute; width:18px; height:18px; z-index:20; pointer-events:none; }
            .stage-corner-tl { top:12px;    left:12px;  border-top:2px solid rgba(255,193,7,0.4); border-left:2px  solid rgba(255,193,7,0.4); border-radius:2px 0 0 0; }
            .stage-corner-tr { top:12px;    right:12px; border-top:2px solid rgba(255,193,7,0.4); border-right:2px solid rgba(255,193,7,0.4); border-radius:0 2px 0 0; }
            .stage-corner-bl { bottom:12px; left:12px;  border-bottom:2px solid rgba(255,193,7,0.4); border-left:2px  solid rgba(255,193,7,0.4); border-radius:0 0 0 2px; }
            .stage-corner-br { bottom:12px; right:12px; border-bottom:2px solid rgba(255,193,7,0.4); border-right:2px solid rgba(255,193,7,0.4); border-radius:0 0 2px 0; }

            .stage-ctrl-btn:hover { background:#FFC107; color:#111; border-color:#FFC107; }

            /* Estilos de enfoque para carrusel de 3 tarjetas */
            #model-list {
                display: flex;
                align-items: center;
                scroll-snap-type: x mandatory;
                scrollbar-width: none;
                -ms-overflow-style: none;
                padding: 1.5rem 20% !important; /* Padding for centering first/last */
                gap: 1rem;
                overflow-x: auto;
            }
            #model-list::-webkit-scrollbar { display: none; }

            .model-item {
                flex: 0 0 65%;
                min-width: 260px; /* Ancho mínimo para evitar colapso */
                height: 140px !important;
                scroll-snap-align: center;
                transition: all 0.6s cubic-bezier(0.2, 1, 0.2, 1);
                opacity: 0.2;
                transform: scale(0.85);
                filter: grayscale(100%) blur(2px);
                position: relative;
                z-index: 1;
                border-radius: 12px;
                overflow: hidden;
                background: rgba(255,255,255,0.05);
            }
            
            .model-item.active {
                opacity: 1;
                transform: scale(1.15); 
                filter: grayscale(0%) blur(0px);
                z-index: 10;
                border: 2px solid #FFC107;
                box-shadow: 0 10px 40px rgba(255, 193, 7, 0.4);
            }

/* ─── Block 5: Parcelaciones Styles ─── */
        /* ===== SECTOR CARDS REDISEÑADOS ===== */
        .sector-card {
            position: relative;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .sector-card:hover {
            transform: translateY(-12px);
            border-color: rgba(255, 193, 7, 0.4);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 193, 7, 0.1);
            background: rgba(255, 255, 255, 0.05);
        }

        .sector-card-image {
            position: relative;
            height: 180px;
            overflow: hidden;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .sector-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .sector-card:hover .sector-card-image img {
            transform: scale(1.1);
        }

        .sector-card-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to bottom, transparent 0%, rgba(11, 25, 44, 0.8) 100%);
            z-index: 1;
        }

        .sector-card-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #FFC107;
            color: #0B192C;
            font-size: 0.65rem;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            padding: 6px 12px;
            border-radius: 6px;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .sector-card-body {
            padding: 24px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .sector-card h3 {
            font-size: 1.25rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 12px;
            line-height: 1.2;
            transition: color 0.3s ease;
        }

        .sector-card:hover h3 {
            color: #FFC107;
        }

        .sector-card p {
            font-size: 0.9rem;
            color: #94a3b8;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .sector-divider {
            height: 1px;
            background: linear-gradient(90deg, rgba(255, 193, 7, 0.3), transparent);
            margin-bottom: 20px;
        }

        .sector-services {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 24px;
        }

        .sector-services li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.8rem;
            color: #cbd5e1;
            font-weight: 500;
        }

        .sector-services .check-vector {
            color: #FFC107;
            font-weight: 900;
        }

        .sector-cta {
            margin-top: auto;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #FFC107;
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: all 0.3s ease;
        }

        .sector-cta span::after {
            content: ' →';
            transition: transform 0.3s ease;
            display: inline-block;
        }

        .sector-card:hover .sector-cta span::after {
            transform: translateX(5px);
        }

        /* ===== CLIENTS MARQUEE CAROUSEL ===== */
        .marquee-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 20px 0;
            background: linear-gradient(90deg, #0B192C 0%, #162543 50%, #0B192C 100%);
        }

        .marquee-container::before,
        .marquee-container::after {
            content: '';
            position: absolute;
            top: 0;
            width: 150px;
            height: 100%;
            z-index: 10;
            pointer-events: none;
        }

        .marquee-container::before {
            left: 0;
            background: linear-gradient(to right, #0B192C, transparent);
        }

        .marquee-container::after {
            right: 0;
            background: linear-gradient(to left, #0B192C, transparent);
        }

        .marquee-track {
            display: flex;
            gap: 0;
            animation: marquee-scroll 40s linear infinite;
            width: max-content;
        }

        @keyframes marquee-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .marquee-item {
            flex-shrink: 0;
            padding: 16px 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .marquee-item:hover {
            background: rgba(255, 193, 7, 0.1);
        }

        .client-logo {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.25rem;
            letter-spacing: 0.05em;
            color: #ffffff;
            white-space: nowrap;
            opacity: 0.85;
            transition: all 0.3s ease;
        }

        .marquee-item:hover .client-logo {
            opacity: 1;
            color: #ffc107;
            text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
        }

        .marquee-container:hover .marquee-track {
            animation-play-state: paused;
        }

        /* ===== GENERAL CARD EFFECTS ===== */
        .service-card, .sector-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .service-card:hover, .sector-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .img-zoom-hover {
            overflow: hidden;
        }
        
        .img-zoom-hover img {
            transition: transform 0.5s ease;
        }
        
        .img-zoom-hover:hover img {
            transform: scale(1.1);
        }
        
        .btn-animate {
            transition: all 0.3s ease;
        }
        
        .btn-animate:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .marquee-item {
                padding: 12px 32px;
            }
            .client-logo {
                font-size: 1rem;
            }
        }

        /* ===== PROJECT CHAT PANEL ===== */
        .project-chat-panel {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            overflow: hidden;
            animation: slideUpFade 0.5s ease-out;
        }

        @keyframes slideUpFade {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .project-chat-panel.hidden {
            display: none;
        }

        .chat-panel-header {
            background: linear-gradient(135deg, #4682B4 0%, #0f3460 100%);
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }

        .chat-panel-title {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chat-panel-title h3 {
            color: #fff;
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0;
        }

        .chat-panel-title .material-symbols-outlined {
            font-size: 28px;
        }

        .lead-status {
            background: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .chat-panel-body {
            display: grid;
            grid-template-columns: 320px 1fr;
            min-height: 500px;
        }

        @media (max-width: 900px) {
            .chat-panel-body {
                grid-template-columns: 1fr;
            }
            .project-info {
                border-right: none;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
        }

        .project-info {
            background: rgba(0, 0, 0, 0.2);
            padding: 20px;
            border-right: 1px solid rgba(255,255,255,0.1);
            display: flex;
            flex-direction: column;
            gap: 16px;
            max-height: 500px;
            overflow-y: auto;
        }

        .info-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 16px;
        }

        .info-card h4 {
            color: #ffc107;
            font-size: 0.85rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-label {
            color: #94a3b8;
            font-size: 0.85rem;
        }

        .info-value {
            color: #fff;
            font-size: 0.85rem;
            font-weight: 500;
            text-align: right;
            max-width: 60%;
            word-break: break-word;
        }

        .contact-card {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .whatsapp-btn, .email-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 16px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .whatsapp-btn {
            background: #25D366;
            color: #fff;
        }

        .whatsapp-btn:hover {
            background: #20BD5A;
            transform: translateY(-2px);
        }

        .email-btn {
            background: rgba(70, 130, 180, 0.2);
            color: #4682B4;
            border: 1px solid rgba(70, 130, 180, 0.3);
        }

        .email-btn:hover {
            background: rgba(70, 130, 180, 0.3);
        }

        .chat-area {
            display: flex;
            flex-direction: column;
            background: #1a2436;
        }

        #panel-chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-height: 350px;
            max-height: 400px;
        }

        #panel-chat-messages .chat-message {
            max-width: 85%;
        }

        #panel-chat-messages .message-content {
            padding: 12px 16px;
            border-radius: 16px;
            font-size: 14px;
            line-height: 1.5;
        }

        #panel-chat-messages .chat-message.user .message-content {
            background: #4682B4;
            color: #fff;
            border-bottom-right-radius: 4px;
        }

        #panel-chat-messages .chat-message.assistant .message-content {
            background: #2d3a4f;
            color: #e2e8f0;
            border: 1px solid rgba(255,255,255,0.1);
            border-bottom-left-radius: 4px;
        }

        #panel-chat-messages .message-time {
            font-size: 10px;
            color: #64748b;
            margin-top: 4px;
        }

        .chat-input-area {
            padding: 16px 20px;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            gap: 12px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .panel-chat-input {
            flex: 1;
            padding: 14px 20px;
            border-radius: 24px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: 14px;
            outline: none;
            transition: all 0.3s ease;
        }

        .panel-chat-input::placeholder {
            color: #64748b;
        }

        .panel-chat-input:focus {
            border-color: #ffc107;
            background: rgba(255,255,255,0.15);
        }

        .panel-chat-send-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4682B4 0%, #0f3460 100%);
            border: none;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .panel-chat-send-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(70, 130, 180, 0.4);
        }

        @media (max-width: 600px) {
            .project-chat-panel {
                border-radius: 16px;
            }
            .chat-panel-header {
                padding: 16px;
            }
            .chat-panel-title h3 {
                font-size: 1rem;
            }
            .project-info {
                padding: 12px;
            }
            .info-card {
                padding: 12px;
            }
            #panel-chat-messages {
                padding: 12px;
                min-height: 250px;
            }
        }

/* ─── Block 6: More Section Styles ─── */
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }

        .custom-scrollbar::-webkit-scrollbar-track {
            background: #1e293b;
            border-radius: 3px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #475569;
            border-radius: 3px;
        }

        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #64748b;
        }

        /* Model Loader Animation */
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

.animate-spin {
            animation: spin 1s linear infinite;
        }

        /* === DEMO HOTSPOTS === */
        .demo-hotspot {
            display: block;
            width: 24px;
            height: 24px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            position: relative;
            transform: translate(-50%, -50%);
        }

        .hotspot-dot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--dot-color, #ffc107);
            box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5);
            animation: hotspot-pulse 2s infinite;
            position: relative;
            z-index: 1;
            transition: transform 0.2s ease;
        }

        .demo-hotspot:hover .hotspot-dot,
        .demo-hotspot:focus .hotspot-dot {
            transform: scale(1.3);
        }

        @keyframes hotspot-pulse {
            0%   { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.5); }
            70%  { box-shadow: 0 0 0 12px rgba(255, 193, 7, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
        }

        .hotspot-card {
            background: rgba(11, 20, 42, 0.97);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 193, 7, 0.35);
            border-radius: 10px;
            padding: 10px 14px;
            min-width: 180px;
            max-width: 260px;
            position: absolute;
            left: 22px;
            top: -10px;
            pointer-events: none;
            opacity: 0;
            transform: translateX(-8px) scale(0.95);
            transition: opacity 0.25s ease, transform 0.25s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
            white-space: normal;
            text-align: left;
            z-index: 10;
        }

        .hotspot-card::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 14px;
            width: 12px;
            height: 12px;
            background: rgba(11, 20, 42, 0.97);
            border-left: 1px solid rgba(255, 193, 7, 0.35);
            border-bottom: 1px solid rgba(255, 193, 7, 0.35);
            transform: rotate(45deg);
        }

        .demo-hotspot:hover .hotspot-card,
        .demo-hotspot:focus .hotspot-card {
            opacity: 1;
            transform: translateX(0) scale(1);
            pointer-events: auto;
        }

        .hotspot-label {
            display: block;
            color: #ffc107;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }
        .hotspot-content {
            color: #e2e8f0;
            font-size: 0.8rem;
            line-height: 1.5;
            margin: 0;
        }

        /* Hotspot detrás del modelo o en ángulo oblicuo a la cámara */
        .demo-hotspot:not([data-visible]) {
            opacity: 0.65;
            /* Se retira pointer-events: none para que la tarjeta de contenido siempre pueda desplegarse al pasar el ratón */
        }
        
