/* ==========================================
   PALETA DE COLORES EXTRAÍDA DIRECTAMENTE DE TU LOGO
   ========================================== */
:root {
    --azul-escudo: #2ab4ff;          /* El azul celeste eléctrico exacto de tu escudo (Acento e interacción) */
    --azul-camara: #030a16;          /* El azul medianoche ultra profundo del icono central (Estructuras y Títulos) */
    --azul-profundo-card: #081225;   /* Variación interna para tarjetas oscuras o contrastes */
    --blanco-laboratorio: #F8FAFC;   /* Fondo claro de alta tecnología */
    --blanco-puro: #ffffff;          /* Fondo de tarjetas */
    --gris-tecnico: #475569;         /* Texto de párrafos limpio, optimizado para legibilidad */
    --linea-sutil: rgba(3, 10, 22, 0.06); /* Bordes minimalistas basados en el color de tu logo */
    --glow-premium: rgba(42, 180, 255, 0.25); /* Glow de neón usando el celeste de tu escudo */
    --whatsapp-green: #25D366;       /* Color original de WhatsApp */
}

/* ==========================================
   RESETEO Y REGLAS GLOBALES (Animaciones Base)
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--blanco-laboratorio);
    color: var(--azul-camara);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Rejilla técnica animada basada en el azul de tu escudo */
.grid-bg-overlay {
    position: relative;
    background-image: 
        linear-gradient(to right, rgba(42, 180, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(42, 180, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: techGridPan 120s linear infinite;
}

@keyframes techGridPan {
    from { background-position: 0 0; }
    to { background-position: 40px 80px; }
}

/* ==========================================
   HEADER / NAVEGACIÓN (Escritorio)
   ========================================== */
header {
    background-color: rgba(3, 10, 22, 0.92); /* Usando el azul profundo central de tu logo */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(42, 180, 255, 0.15); /* Línea divisoria sutil con el celeste del escudo */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-png {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(42, 180, 255, 0.6));
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { filter: drop-shadow(0 0 8px rgba(42, 180, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 16px rgba(42, 180, 255, 0.8)); }
}

.brand-name h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--blanco-puro);
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-name p {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--azul-escudo);
    font-weight: 600;
}

/* Oculto por defecto en escritorio, aparecerá en móviles */
.hamburger-toggle {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 14.5px;
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
    position: relative;
    padding: 6px 0;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--azul-escudo);
    text-shadow: 0 0 15px rgba(42, 180, 255, 0.6);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--azul-escudo), transparent);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), left 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
    left: 0;
}

/* ==========================================
   ESTRUCTURAS MAESTRAS DE DISEÑO (Consistencia Global)
   ========================================== */
.main-content {
    flex: 1;
    width: 100%;
}

.section-hero-standard {
    position: relative;
    padding: 100px 50px 80px 50px;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.content-narrow-block {
    max-width: 780px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.content-narrow-block p {
    font-size: 17px;
    color: var(--gris-tecnico);
    line-height: 1.75;
    margin-top: 24px;
}

/* ==========================================
   HERO PREMIUM COMPLETO (Index Principal)
   ========================================== */
.hero-premium {
    position: relative;
    padding: 100px 50px 100px 50px;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    max-width: 1250px;
    width: 100%;
    align-items: center;
}

.hero-left-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(42, 180, 255, 0.08);
    border: 1px solid rgba(42, 180, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    color: #0284c7;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.1px;
}

.hero-badge i, .hero-badge [data-lucide] {
    width: 15px;
    height: 15px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -2px;
    color: var(--azul-camara);
    margin-bottom: 24px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-text {
    background: linear-gradient(120deg, var(--azul-escudo), #007cc3, #54c4ff, var(--azul-escudo));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradientShift 4s linear infinite;
}

@keyframes textGradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-description {
    font-size: 17px;
    color: var(--gris-tecnico);
    margin-bottom: 40px;
    text-align: left;
    max-width: 620px;
    font-weight: 400;
    line-height: 1.65;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--azul-camara) 0%, #0d1e3a 100%);
    color: var(--blanco-puro);
    padding: 16px 36px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(3, 10, 22, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
}

.btn-cta-primary:hover::before {
    animation: shine 0.75s forwards;
}

@keyframes shine {
    100% { left: 150%; }
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, var(--azul-escudo) 0%, #0093e2 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(42, 180, 255, 0.35);
}

.btn-cta-secondary {
    background-color: var(--blanco-puro);
    color: var(--azul-camara);
    padding: 16px 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(3, 10, 22, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(3, 10, 22, 0.03);
}

.btn-cta-secondary:hover {
    border-color: var(--azul-escudo);
    background-color: var(--blanco-puro);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(3, 10, 22, 0.08);
    color: var(--azul-escudo);
}

/* --- COLUMNA DERECHA --- */
.hero-right-card {
    background-color: var(--blanco-puro);
    border-radius: 24px;
    padding: 45px 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(3, 10, 22, 0.06), 0 0 0 1px rgba(3, 10, 22, 0.01);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    overflow: hidden;
    animation: fadeInUp 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-gradient-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 50%, #9055ff 100%);
}

.featured-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.featured-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2ab4ff 0%, #0072ff 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--blanco-puro);
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.featured-card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--azul-camara);
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 11px;
    color: var(--azul-escudo);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-metrics-grid {
    display: flex;
    gap: 35px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(3, 10, 22, 0.05);
    width: 100%;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--azul-camara);
    line-height: 1;
}

.metric-label {
    font-size: 11px;
    color: var(--gris-tecnico);
    font-weight: 500;
    margin-top: 5px;
}

.card-features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.card-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.card-features-list li i, .card-features-list li [data-lucide] {
    color: #10b981;
    font-size: 15px;
    width: 16px;
    height: 16px;
}

/* ==========================================
   SECCIÓN SOCIOS (Estilo Silicon Valley)
   ========================================== */
.brands-section-premium {
    padding: 70px 50px;
    border-top: 1px solid var(--linea-sutil);
    border-bottom: 1px solid var(--linea-sutil);
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.brands-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.brands-header h3 { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 2.5px; 
    color: #94A3B8; 
    font-weight: 600; 
}

.brands-header p {
    font-size: 14px;
    color: var(--gris-tecnico);
    margin-top: 5px;
}

.brands-display-flex { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    gap: 80px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.brand-logo-item { 
    font-size: 26px; 
    font-weight: 800; 
    filter: grayscale(100%); 
    opacity: 0.35; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

.brand-logo-item:hover { 
    opacity: 1; 
    filter: grayscale(0%) drop-shadow(0 4px 12px rgba(3, 10, 22, 0.15));
    color: var(--azul-camara);
    transform: scale(1.08);
}

.brand-hik { font-family: 'Space Grotesk', sans-serif; letter-spacing: -1px; }
.brand-intel { font-family: sans-serif; font-style: italic; font-weight: 900; letter-spacing: -1.5px; }
.brand-cisco { font-family: monospace; letter-spacing: 1px; }
.brand-tplink { font-family: sans-serif; font-weight: 700; }

/* ==========================================
   ESTRUCTURA DE SECCIONES GENERALES
   ========================================== */
.services-section-container {
    padding: 120px 50px;
    max-width: 1250px;
    margin: 0 auto;
}

.section-header-block {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 80px auto;
}

.section-title-premium {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 42px;
    color: var(--azul-camara);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--azul-escudo), #0093e2);
    border-radius: 100px;
    margin: 16px auto 20px auto;
}

.section-subtitle-premium {
    color: var(--gris-tecnico);
    font-size: 17px;
}

/* ==========================================
   TARJETAS DE SERVICIOS
   ========================================== */
.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.service-card-premium {
    background-color: var(--blanco-puro);
    border: 1px solid rgba(3, 10, 22, 0.05);
    border-radius: 16px;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(3, 10, 22, 0.015), 0 1px 3px rgba(3, 10, 22, 0.02);
}

.service-card-premium::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.4s ease;
    pointer-events: none;
}

.service-card-premium:hover::after {
    background: linear-gradient(135deg, var(--azul-escudo), transparent, rgba(3, 10, 22, 0.15));
}

.service-card-premium:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(42, 180, 255, 0.2);
    box-shadow: 0 30px 60px rgba(3, 10, 22, 0.06), 0 0 40px var(--glow-premium);
}

.service-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
    background-color: var(--blanco-laboratorio);
    color: var(--azul-camara);
    border: 1px solid var(--linea-sutil);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-premium:hover .service-icon-wrapper {
    background-color: var(--azul-camara);
    color: var(--azul-escudo);
    border-color: var(--azul-camara);
    transform: rotate(6deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(3, 10, 22, 0.2), 0 0 15px rgba(42, 180, 255, 0.3);
}

.service-icon-wrapper i, .service-icon-wrapper [data-lucide] {
    font-size: 20px;
    width: 22px;
    height: 22px;
}

.service-card-premium h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: var(--azul-camara);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-card-premium:hover h3 {
    color: #0074b4;
}

.service-card-premium p {
    color: var(--gris-tecnico);
    font-size: 15px;
    line-height: 1.7;
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--azul-camara);
    margin-top: 28px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.2s ease;
}

.card-action-link i, .card-action-link [data-lucide] { 
    font-size: 11px;
    width: 14px;
    height: 14px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

.card-action-link:hover { 
    color: var(--azul-escudo); 
    text-shadow: 0 0 10px rgba(42, 180, 255, 0.3);
}

.card-action-link:hover i, .card-action-link:hover [data-lucide] { 
    transform: translateX(6px) scale(1.1); 
}

/* ==========================================
   FOOTER ABSOLUTAMENTE CENTRADO
   ========================================== */
footer {
    background-color: var(--azul-camara);
    color: rgba(255, 255, 255, 0.5);
    padding: 50px 24px;
    font-size: 14px;
    margin-top: auto;
    border-top: 1px solid rgba(42, 180, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-nav { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    gap: 20px; 
    text-align: center;
    max-width: 1250px; 
    width: 100%;
    margin: 0 auto; 
}

/* ==========================================
   WHATSAPP FLOATING (Estilos base y Escritorio)
   ========================================== */
.whatsapp-btn-floating {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    z-index: 99999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulseFloating 2s infinite;
}

@keyframes pulseFloating {
    0% { transform: scale(1); }
    50% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); }
}

.whatsapp-icon-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: none !important; 
}

.whatsapp-btn-floating:hover {
    transform: scale(1.12) translateY(-5px);
    background-color: #20ba5a;
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.6);
}

/* ==========================================
   ANIMACIONES REUTILIZABLES
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   MEDIA QUERIES (Responsividad de Secciones)
   ========================================== */
@media (max-width: 992px) {
    .hero-premium, .section-hero-standard {
        padding: 60px 24px 60px 24px;
    }

    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-left-content {
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 38px;
        text-align: center;
        letter-spacing: -1.5px;
    }

    .hero-description {
        text-align: center;
        margin: 0 auto 30px auto;
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .btn-cta-primary, .btn-cta-secondary { 
        width: 100%; 
        text-align: center; 
        justify-content: center; 
        padding: 16px 28px;
    }

    .hero-right-card {
        padding: 35px 24px;
        width: 100%;
    }
    
    .card-metrics-grid {
        justify-content: center;
    }
    
    .content-narrow-block p {
        font-size: 15.5px;
    }
}

/* ==========================================
   OPTIMIZACIÓN MOBILE TOTAL (Extracción de WhatsApp)
   ========================================== */
@media (max-width: 768px) {
    header { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px; 
        padding: 16px 20px; 
        position: sticky;
        top: 0;
    }

    /* Aseguramos que el elemento nativo 'nav' no oculte la maquetación */
    nav {
        display: block !important;
        position: static !important;
    }
    
    /* Configuración estructural del Ul como panel lateral Off-Canvas */
    nav ul { 
        position: fixed !important;
        top: 0;
        right: -100%; /* Totalmente oculto hacia la derecha */
        width: 290px; 
        height: 100vh;
        background-color: var(--azul-camara) !important;
        flex-direction: column !important; 
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important; 
        padding: 90px 24px 40px 24px !important; 
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
        border-left: 1px solid rgba(42, 180, 255, 0.2);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 9999 !important;
        overflow-y: auto;
    }

    /* Clase activa para desplegar la barra lateral */
    nav ul.menu-lateral-activo {
        right: 0 !important;
    }

    nav ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 14px 0 !important;
        list-style: none;
    }

    nav ul li a {
        font-size: 16px !important;
        color: var(--blanco-puro) !important;
        display: block !important;
        width: 100% !important;
        padding: 6px 0 !important;
    }

    nav ul li a::after {
        display: none !important; /* Quitamos la línea de hover de escritorio */
    }

    /* BOTÓN HAMBURGUESA FORZADO EN VISIBILIDAD */
    .hamburger-toggle {
        display: flex !important; 
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 26px !important;
        height: 18px !important;
        cursor: pointer !important;
        z-index: 10000 !important; /* Por encima de la barra lateral */
        position: relative;
    }

    .hamburger-toggle span {
        display: block !important;
        height: 2.5px !important;
        width: 100% !important;
        border-radius: 4px !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
        background: linear-gradient(90deg, #ffffff, var(--azul-escudo)) !important;
    }

    /* Transformación dinámica del botón a una 'X' perfecta cuando está activo */
    .hamburger-toggle.activo span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .hamburger-toggle.activo span:nth-child(2) {
        opacity: 0 !important;
    }
    .hamburger-toggle.activo span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    /* ==========================================
       SOLUCIÓN EXTREMA: AISLAMIENTO DE CAPAS PARA WHATSAPP
       Forzamos al botón a ignorar por completo al menú padre (nav / ul / #include-navbar)
       ========================================== */
    #btn-whatsapp-global,
    .whatsapp-btn-floating,
    nav #btn-whatsapp-global,
    nav ul #btn-whatsapp-global,
    #include-navbar #btn-whatsapp-global {
        position: fixed !important;
        bottom: 25px !important;
        right: 25px !important; /* Lo clavamos en las coordenadas reales de la pantalla visible */
        left: auto !important;
        top: auto !important;
        width: 54px !important; 
        height: 54px !important; 
        z-index: 999999 !important; /* Por encima del panel oculto (9999) y del botón hamburguesa (10000) */
        
        /* Cortamos de raíz cualquier orden de movimiento o traslación horizontal heredada del menú */
        transform: none !important;  
        visibility: visible !important;
        opacity: 1 !important;
        transition: background-color 0.4s ease !important; 
    }
    
    .whatsapp-icon-img,
    nav #btn-whatsapp-global img,
    nav ul #btn-whatsapp-global img {
        width: 26px !important;
        height: 26px !important;
        transform: none !important;
    }
    
    /* Regla de contraataque por si el selector 'not' intenta mover elementos internos */
    nav ul:not(.menu-lateral-activo) #btn-whatsapp-global,
    nav ul.menu-lateral-activo #btn-whatsapp-global {
        right: 25px !important;
        transform: none !important;
    }

    /* Adaptaciones adicionales del contenido inferior */
    .services-section-container { 
        padding: 80px 24px; 
    }
    
    .section-title-premium {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .services-grid-premium {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .brands-display-flex { 
        gap: 45px; 
    }
}

@media (min-width: 768px) {
    .footer-nav { 
        flex-direction: row; 
        justify-content: center;
        gap: 40px;
    }
}