/* --- CONFIGURACIÓN MAESTRA: PALETA GRIS ELITE --- */

/* 1. Fondo Global y Secciones */
body { background-color: #fcfcfc !important; }
.bg-light { background-color: #f1f3f5 !important; }

/* 2. Botones de Navegación (Historias Reales) */
.btn-testi-toggle.active {
    background-color: #6c757d !important; /* Gris Slate Premium */
    border-color: #6c757d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(108, 117, 125, 0.2) !important;
}

/* 3. Sección de Stats (Cambiando azul por Gris) */
.bg-gradient-primary {
    background: linear-gradient(135deg, #495057 0%, #212529 100%) !important;
    border: none !important;
}

/* 4. Botón de Contactar y Acentos que eran azules */
.btn-gradient, .icon-box-small.bg-primary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
}

/* =========================================================================
   MODO OSCURO (MAESTRO)
   ========================================================================= */

body.dark-mode, 
body.dark-mode section, 
body.dark-mode .bg-light, 
body.dark-mode .bg-white,
body.dark-mode .bg-dots {
    background-color: #0a0b10 !important;
    background-image: none !important;
    color: #e0e0e0 !important;
}

/* Navbar Oscuro */
body.dark-mode .glass-nav {
    background: rgba(10, 11, 16, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cards en Dark Mode */
body.dark-mode .pro-card,
body.dark-mode .servpro-card,
body.dark-mode .testi-pro-card,
body.dark-mode .ceo-card-modern,
body.dark-mode .modal-content {
    background: #16171d !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Hover "Prendido" en Dark Mode */
body.dark-mode .testi-pro-card:hover {
    background: #1c1d25 !important;
    border-color: var(--elite-blue) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 15px rgba(255, 82, 82, 0.2) !important;
}

/* Forzar textos blancos en dark mode */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, 
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
body.dark-mode .testi-text, body.dark-mode .testi-name,
body.dark-mode p {
    color: #ffffff !important;
}
    /* css/theme.css */

    /* ... (tu código anterior) ... */

    /* =========================================
   FIX: BOTONES EN MODO OSCURO
   ========================================= */

    /* Hacemos que el botón "Outline Dark" se vuelva blanco/claro en modo nocturno */
    body.dark-mode .btn-outline-dark {
        color: #e0e0e0 !important; /* Texto gris claro */
        border-color: rgba(255,255,255,0.3) !important; /* Borde sutil */
        background: transparent !important;
    }

        /* Efecto Hover en modo oscuro (Se ilumina al pasar el mouse) */
        body.dark-mode .btn-outline-dark:hover {
            background-color: #ffffff !important; /* Fondo blanco */
            color: #000000 !important; /* Texto negro */
            border-color: #ffffff !important;
            box-shadow: 0 0 15px rgba(255,255,255,0.2); /* Resplandor suave */
        }