﻿body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.hero-glow {
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.15) 0%, transparent 70%);
}

.glow-orange {
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.2) 0%, transparent 70%);
}

.glow-blue {
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
}

.glow-red {
    background: radial-gradient(circle at center, rgba(255, 0, 50, 0.2) 0%, transparent 70%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
    cursor: pointer;
}

.glass-card:active {
    transform: scale(0.98);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.text-display {
    font-weight: 900;
    letter-spacing: -0.05em;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

.section-spacing {
    margin-top: 120px;
    margin-bottom: 120px;
}

/* Bento Grid Specifics */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

/* Swiper Custom */
.swiper-button-next,
.swiper-button-prev {
    color: #ff6600;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-container-outer {
    padding: 20px 0 100px 0;
    position: relative;
}

.swiper-pagination-bullet {
    background: #ff6600;
}

/* Text Shimmer Effect */
@keyframes textShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.animate-text-shimmer {
    animation: textShimmer 4s linear infinite;
}

/* SincronÃ­a Digital Styles */
.hotspot-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.hotspot-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.hotspot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0) 50%, rgba(10, 10, 10, 0.6) 100%);
    pointer-events: none;
}

.hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary, #ff6600);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary, #ff6600);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.hotspot-card {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 30;
    pointer-events: none;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hotspot:hover .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.dark .hotspot-card {
    background: rgba(18, 18, 18, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes ping {

    75%,
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Engineering Section Styles */
.engineering-section {
    background: #000000;
    position: relative;
    height: 200vh;
    /* Extra space for scroll duration */
}

.engineering-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.engineering-header {
    position: absolute;
    top: 0;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.engineering-title {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #444444 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.exploded-view-container {
    position: relative;
    width: 95vw;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s linear;
    margin-top: 8vh;
    /* Added separation */
}

.exploded-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(0.5) brightness(0.8);
    transition: filter 0.5s ease, transform 0.1s linear;
}

.exploded-image:hover {
    filter: grayscale(0) brightness(1) drop-shadow(0 0 30px rgba(255, 102, 0, 0.4));
}

.tech-label {
    position: absolute;
    font-family: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    width: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.tech-label.active {
    opacity: 1;
    transform: translateY(0);
}

.tech-label strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.tech-line {
    position: absolute;
    background: rgba(255, 102, 0, 0.3);
    height: 1px;
    transform-origin: left center;
    transition: width 1s ease, opacity 1s ease;
    opacity: 0;
    width: 0;
}

.tech-line.active {
    opacity: 1;
}

/* Mega Menu Refined: Ultra-Slim & Technical */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid #ff6600;
    /* Technological accent line */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 90;
    padding: 2.5rem 0;
    /* Reduced padding (approx 40px) */
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    box-shadow: none;
    /* Flat look as requested */
}

/* Fix mega menu positioning to be truly full width despite header padding */
/* Adjust header gap for search bar expansion */
.header-actions {
    position: relative;
}

.nav-item-categories:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-column h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Technical orange underline (30% width) */
.mega-menu-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30%;
    height: 1px;
    background: #ff6600;
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
}

.mega-menu-link {
    font-size: 13px;
    font-weight: 400;
    color: #b0b0b0;
    /* Platinum Gray */
    line-height: 2.2;
    transition: all 0.2s ease;
    /* Faster transition (0.2s) */
    display: inline-block;
}

.mega-menu-link:hover {
    color: #ff6600;
    /* Change to Orange */
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
    /* Subtle glow */
    transform: translateX(5px);
}

#nav-ofertas {
    color: #94a3b8 !important;
}

#nav-ofertas:hover {
    color: #ffffff !important;
}

/* --- Ultra-Premium Video Promotion Popup --- */
#videoPromoPopup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 20px;
}

#videoPromoPopup.active {
    opacity: 1;
    visibility: visible;
}

.promo-content {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

#videoPromoPopup.active .promo-content {
    transform: translateY(0) scale(1);
}

.video-container {
    width: 100%;
    aspect-ratio: 1/1;
    background: #fff;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.promo-details {
    padding: 2.5rem 2rem;
    text-align: center;
    background: #0d0d0d;
    position: relative;
}

.promo-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.close-promo {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 50;
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-promo:hover {
    background: #fff;
    transform: rotate(90deg) scale(1.1);
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6600, #ff8c00);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}
        /* ----- Footer Carbono Elite: Antigravedad e InnovaciÃƒÂ³n ----- */
        .footer-elite {
            background-color: #0b0b0c;
            position: relative;
            color: #E0E0E0;
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            border-top: 1px solid rgba(255, 87, 34, 0.2);
            z-index: 10;
        }

        /* CuadrÃƒÂ­cula Animada en Perspectiva 3D */
        .footer-elite::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            right: -50%;
            bottom: 0;
            background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            z-index: 0;
            transform: perspective(600px) rotateX(60deg) translateY(-100px) translateZ(-200px);
            animation: gridMove 15s linear infinite;
            pointer-events: none;
        }

        @keyframes gridMove {
            0% {
                transform: perspective(600px) rotateX(60deg) translateY(0) translateZ(-200px);
            }

            100% {
                transform: perspective(600px) rotateX(60deg) translateY(40px) translateZ(-200px);
            }
        }

        /* Orbe Pulsante del NÃƒÂºcleo Central */
        .footer-elite::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, rgba(255, 87, 34, 0) 70%);
            transform: translate(-50%, -50%);
            z-index: 0;
            animation: pulseOrb 6s ease-in-out infinite alternate;
            pointer-events: none;
        }

        @keyframes pulseOrb {
            0% {
                transform: translate(-50%, -50%) scale(0.9);
                opacity: 0.5;
            }

            100% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 1;
            }
        }

        /* EscÃƒÂ¡ner LÃƒÂ¡ser Superior */
        .footer-accent-line {
            position: absolute;
            top: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #FF5722, transparent);
            box-shadow: 0 0 15px rgba(255, 87, 34, 0.8), 0 0 30px rgba(255, 87, 34, 0.4);
            animation: scanLine 4s ease-in-out infinite alternate;
            z-index: 2;
        }

        @keyframes scanLine {
            0% {
                transform: translateX(-80%);
                opacity: 0.5;
            }

            100% {
                transform: translateX(80%);
                opacity: 1;
            }
        }

        .footer-content {
            padding-top: 80px;
            padding-bottom: 40px;
            position: relative;
            z-index: 2;
        }

        /* Efecto Antigravedad para Columnas */
        .footer-col-wrapper {
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%;
        }

        .footer-col-wrapper:hover {
            transform: translateY(-8px);
        }

        .footer-logo-link {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            text-decoration: none;
            position: relative;
            z-index: 2;
        }

        .footer-logo-icon {
            color: #FF5722;
            font-size: 38px !important;
            font-weight: 900;
            animation: floatIcon 4s ease-in-out infinite;
            filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.6));
        }

        @keyframes floatIcon {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
            }
        }

        .footer-logo-text {
            color: #ffffff;
            font-size: 32px;
            font-weight: 900;
            letter-spacing: -0.05em;
            margin: 0;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
        }

        .footer-brand-phrase {
            color: #A0A0A0;
            font-weight: 300;
            font-size: 15px;
            line-height: 1.6;
            margin: 0;
        }

        .footer-col-title {
            color: #ffffff;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 28px;
            margin-top: 0;
            display: inline-block;
            position: relative;
        }

        /* LÃƒÂ­nea deslizante bajo tÃƒÂ­tulo */
        .footer-col-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 20px;
            height: 2px;
            background: #FF5722;
            transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .footer-col-wrapper:hover .footer-col-title::after {
            width: 100%;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .footer-links a {
            color: #A0A0A0;
            text-decoration: none;
            font-size: 15px;
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            display: inline-block;
            position: relative;
        }

        .footer-links a::before {
            content: 'Ã¢â‚¬Âº';
            position: absolute;
            left: -15px;
            opacity: 0;
            color: #FF5722;
            transition: all 0.3s ease;
            transform: translateX(-10px);
        }

        .footer-links a:hover {
            color: #ffffff;
            transform: translateX(15px);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .footer-links a:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* Newsletter con Glassmorphism */
        .footer-newsletter-col {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
            z-index: 2;
        }

        .footer-newsletter-col:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(255, 87, 34, 0.3);
            box-shadow: 0 25px 50px rgba(255, 87, 34, 0.15);
            background: rgba(255, 255, 255, 0.04);
        }

        .newsletter-desc {
            color: #A0A0A0;
            font-size: 14px;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 30px;
        }

        .newsletter-input {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: #ffffff;
            padding: 14px 16px;
            font-size: 14px;
            transition: all 0.3s;
            outline: none;
        }

        .newsletter-input:focus {
            border-color: #FF5722;
            box-shadow: 0 0 15px rgba(255, 87, 34, 0.2);
            background: rgba(0, 0, 0, 0.6);
        }

        .newsletter-input::placeholder {
            color: #666;
        }

        .newsletter-btn {
            background: linear-gradient(135deg, #FF5722, #e64a19);
            color: #ffffff;
            border: none;
            padding: 14px 20px;
            font-weight: 800;
            font-size: 13px;
            letter-spacing: 0.1em;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.4s ease;
            text-align: center;
            box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
            position: relative;
            overflow: hidden;
        }

        .newsletter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
        }

        .newsletter-btn:hover::before {
            left: 100%;
        }

        .live-status {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 25px;
            background: rgba(0, 230, 118, 0.05);
            padding: 8px 15px;
            border-radius: 999px;
            border: 1px solid rgba(0, 230, 118, 0.1);
        }

        .status-text {
            color: #00e676;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.15em;
            text-transform: uppercase;
        }

        .status-led {
            width: 8px;
            height: 8px;
            background-color: #00e676;
            border-radius: 50%;
            box-shadow: 0 0 10px #00e676;
            animation: pulseLed 2s infinite;
        }

        .footer-socials {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: #E0E0E0;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        .social-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #FF5722;
            z-index: -1;
            transform: scale(0);
            border-radius: 50%;
            transition: transform 0.4s ease;
        }

        .social-icon .material-symbols-outlined {
            font-size: 20px;
            transition: color 0.3s;
        }

        .social-icon:hover {
            border-color: #FF5722;
            transform: scale(1.15) translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
        }

        .social-icon:hover::before {
            transform: scale(1);
        }

        .social-icon:hover .material-symbols-outlined {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding: 25px 0;
            background-color: #050505;
            position: relative;
            z-index: 2;
        }

        .footer-bottom-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        @media (min-width: 768px) {
            .footer-bottom-inner {
                flex-direction: row;
                justify-content: space-between;
            }
        }

        .copyright-text {
            color: #666;
            font-size: 13px;
            margin: 0;
            letter-spacing: 0.05em;
        }

        .footer-legal-links {
            display: flex;
            gap: 24px;
        }

        .footer-legal-links a {
            color: #777;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            text-decoration: none;
            transition: color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .footer-legal-links a:hover {
            color: #FF5722;
        }

        .payment-icons {
            display: flex;
            align-items: center;
            gap: 20px;
            opacity: 0.6;
            transition: opacity 0.3s;
        }

        .payment-icons:hover {
            opacity: 1;
        }

        .payment-icon-img {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: grayscale(100%) opacity(0.8);
        }

        .payment-icons:hover .payment-icon-img {
            filter: grayscale(0%) opacity(1);
            transform: scale(1.1);
            filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
        }

        .payment-icon-img:hover {
            transform: scale(1.2) translateY(-2px) !important;
            filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.5)) !important;
        }

        /* ----- Footer Particles ----- */
        .footer-particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            /* Debajo del contenido, encima de la grilla */
            overflow: hidden;
        }

        .footer-particle {
            position: absolute;
            color: #E0E0E0;
            opacity: 0.05;
            animation: floatParticle 25s infinite linear, sparkParticle 8s infinite alternate ease-in-out;
        }

        .footer-particle svg {
            width: 100%;
            height: 100%;
            fill: currentColor;
            transition: filter 0.3s;
        }

        @keyframes floatParticle {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }

            33% {
                transform: translate(50px, -60px) rotate(120deg);
            }

            66% {
                transform: translate(-30px, 30px) rotate(240deg);
            }

            100% {
                transform: translate(0, 0) rotate(360deg);
            }
        }

        @keyframes sparkParticle {

            0%,
            20%,
            40%,
            60%,
            80%,
            100% {
                opacity: 0.05;
                color: #E0E0E0;
                filter: drop-shadow(0 0 0px transparent);
            }

            10%,
            50%,
            90% {
                opacity: 0.4;
                color: #FF5722;
                filter: drop-shadow(0 0 10px #FF5722);
            }
        }

        .fparticle-1 {
            top: 10%;
            left: 8%;
            width: 45px;
            height: 45px;
            animation-duration: 25s, 7s;
            animation-delay: 0s, 1s;
        }

        .fparticle-2 {
            top: 70%;
            left: 15%;
            width: 65px;
            height: 65px;
            animation-duration: 32s, 9s;
            animation-delay: -5s, 3s;
        }

        .fparticle-1 {
            top: 10%;
            left: 8%;
            width: 100px;
            height: 100px;
            animation-duration: 25s, 7s;
            animation-delay: 0s, 1s;
        }

        .fparticle-2 {
            top: 65%;
            left: 12%;
            width: 140px;
            height: 140px;
            animation-duration: 32s, 9s;
            animation-delay: -5s, 3s;
        }

        .fparticle-3 {
            top: 15%;
            left: 82%;
            width: 120px;
            height: 120px;
            animation-duration: 28s, 6s;
            animation-delay: -10s, 0s;
        }

        .fparticle-4 {
            top: 55%;
            left: 65%;
            width: 160px;
            height: 160px;
            animation-duration: 38s, 8s;
            animation-delay: -15s, 4s;
        }

        .fparticle-5 {
            top: 35%;
            left: 45%;
            width: 110px;
            height: 110px;
            animation-duration: 29s, 10s;
            animation-delay: -2s, 2s;
        }

        .fparticle-6 {
            top: 80%;
            left: 85%;
            width: 90px;
            height: 90px;
            animation-duration: 22s, 5s;
            animation-delay: -8s, 1.5s;
        }

        /* ----- Electric Circuit Waves ----- */
        .footer-electric-paths {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            /* Bien al fondo */
            opacity: 0.6;
            overflow: hidden;
        }

        .electric-path-wrapper {
            position: absolute;
            width: 100%;
            height: 100px;
            opacity: 0;
            animation: pulseWave 6s infinite ease-in-out;
        }

        .electric-path-wrapper svg {
            width: 100%;
            height: 100%;
        }

        .electric-line {
            fill: none;
            stroke: #FF5722;
            stroke-width: 2;
            stroke-dasharray: 2000;
            stroke-dashoffset: 2000;
            filter: drop-shadow(0 0 8px #FF5722);
        }

        .electric-line-blue {
            stroke: #00E5FF;
            filter: drop-shadow(0 0 8px #00E5FF);
        }

        .ep-1 {
            top: 20%;
            left: 0;
            animation-duration: 5s;
            animation-delay: 0s;
        }

        .ep-2 {
            top: 60%;
            left: 0;
            transform: scaleX(-1);
            animation-duration: 7s;
            animation-delay: 2.5s;
        }

        .ep-3 {
            top: 85%;
            left: 0;
            animation-duration: 6s;
            animation-delay: 1.2s;
        }

        .ep-1 .electric-line {
            animation: traceElectric 5s infinite linear 0s;
        }

        .ep-2 .electric-line {
            animation: traceElectric 7s infinite linear 2.5s;
        }

        .ep-3 .electric-line {
            animation: traceElectric 6s infinite linear 1.2s;
        }

        @keyframes pulseWave {

            0%,
            100% {
                opacity: 0;
            }

            10%,
            60% {
                opacity: 1;
            }

            80% {
                opacity: 0;
            }
        }

        @keyframes traceElectric {
            0% {
                stroke-dashoffset: 2000;
            }

            50% {
                stroke-dashoffset: 0;
            }

            100% {
                stroke-dashoffset: -2000;
            }
        }

        /* ================= LIGHT MODE OVERRIDES ================= */
        :root[data-theme="light"] {
            --bg-color: #f8fafc;
            --surface-color: #ffffff;
            --text-main: #0f172a;
            --text-muted: #475569;
            --border-color: rgba(0, 0, 0, 0.08);
            --glass-bg: rgba(255, 255, 255, 0.7);
            --primary-light: rgba(255, 102, 0, 0.1);
        }

        :root[data-theme="light"] body {
            background-color: var(--bg-color) !important;
            color: var(--text-main) !important;
        }

        :root[data-theme="light"] .bg-background-dark,
        :root[data-theme="light"] .bg-black,
        :root[data-theme="light"] .bg-\[\#0a0a0a\],
        :root[data-theme="light"] .bg-\[\#0a0f16\] {
            background-color: var(--bg-color) !important;
        }

        :root[data-theme="light"] .surface-dark,
        :root[data-theme="light"] .bg-surface-dark {
            background-color: var(--surface-color) !important;
        }

        :root[data-theme="light"] .glass-card {
            background: var(--glass-bg) !important;
            border-color: var(--border-color) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
            backdrop-filter: blur(25px);
        }

        :root[data-theme="light"] .glass-card:hover {
            border-color: rgba(255, 102, 0, 0.3) !important;
            background: rgba(255, 255, 255, 0.95) !important;
            box-shadow: 0 15px 40px rgba(255, 102, 0, 0.1) !important;
        }

        :root[data-theme="light"] .text-white,
        :root[data-theme="light"] .text-slate-100,
        :root[data-theme="light"] .text-slate-200,
        :root[data-theme="light"] h1,
        :root[data-theme="light"] h2,
        :root[data-theme="light"] h3,
        :root[data-theme="light"] h4,
        :root[data-theme="light"] .text-display {
            color: var(--text-main) !important;
        }

        :root[data-theme="light"] .text-slate-300,
        :root[data-theme="light"] .text-slate-400,
        :root[data-theme="light"] p {
            color: var(--text-muted) !important;
        }

        :root[data-theme="light"] .text-primary {
            color: #ff6600 !important;
        }

        :root[data-theme="light"] .border-white\/10,
        :root[data-theme="light"] .border-white\/5,
        :root[data-theme="light"] .border-slate-800,
        :root[data-theme="light"] .border-slate-800\/50,
        :root[data-theme="light"] .border-slate-700 {
            border-color: var(--border-color) !important;
        }

        :root[data-theme="light"] .bg-white\/5,
        :root[data-theme="light"] .bg-slate-800\/50 {
            background-color: rgba(0, 0, 0, 0.04) !important;
        }

        :root[data-theme="light"] .hover\:bg-white\/5:hover,
        :root[data-theme="light"] .hover\:bg-slate-800\/50:hover {
            background-color: rgba(0, 0, 0, 0.08) !important;
        }

        :root[data-theme="light"] .from-black,
        :root[data-theme="light"] .from-background-dark {
            --tw-gradient-from: var(--bg-color) var(--tw-gradient-from-position) !important;
            --tw-gradient-to: rgba(248, 250, 252, 0) var(--tw-gradient-to-position) !important;
            --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
        }

        :root[data-theme="light"] .via-black,
        :root[data-theme="light"] .via-background-dark {
            --tw-gradient-to: rgba(248, 250, 252, 0) var(--tw-gradient-to-position) !important;
            --tw-gradient-stops: var(--tw-gradient-from), var(--bg-color) var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
        }

        :root[data-theme="light"] .to-transparent {
            --tw-gradient-to: transparent var(--tw-gradient-to-position) !important;
        }

        :root[data-theme="light"] .engineering-section {
            background: var(--bg-color) !important;
        }

        :root[data-theme="light"] .engineering-title {
            background: linear-gradient(180deg, #1f2937 0%, #9ca3af 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
        }

        :root[data-theme="light"] .mega-menu {
            background: rgba(255, 255, 255, 0.98) !important;
            border-top: 1px solid var(--border-color) !important;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08) !important;
        }

        :root[data-theme="light"] .mega-menu-link {
            color: var(--text-muted) !important;
        }

        :root[data-theme="light"] .mega-menu-link:hover {
            color: #ff6600 !important;
            background: var(--primary-light) !important;
        }

        :root[data-theme="light"] .hover\:text-white:hover {
            color: var(--text-main) !important;
        }

        /* Light mode switch visual adjust */
        :root[data-theme="light"] #themeToggleBtn {
            color: #ff6600 !important;
            background-color: var(--primary-light) !important;
        }
    </style>

