     /* ── Reset ── */
        *, *::before, *::after { box-sizing: border-box; }

        body {
            margin: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #121212;
            color: #e0e0e0;
            overflow-x: hidden;
        }

        /* ── Header ── */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.85rem 2rem;
            background-color: #1a1a1a;
            border-bottom: 1px solid #2d2d2d;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .brand-logo {
            width: 30px;
            height: 30px;
            object-fit: contain;
            flex: 0 0 30px;
        }

        /* ── Nav desktop ── */
        .nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 0.25rem;
        }

        .nav-link {
            display: block;
            text-decoration: none;
            color: #cccccc;
            font-size: 0.9rem;
            padding: 0.45rem 0.85rem;
            border-radius: 6px;
            transition: background-color 0.2s, color 0.2s;
        }

        .nav-link:hover { background-color: #2d2d2d; color: #ffffff; }
        .nav-link.active { background-color: rgba(59,130,246,0.12); color: #3b82f6; }

        /* ── Menu Toggle Hamburgo ── */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 24px;
            height: 18px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 100%;
            height: 2px;
            background-color: #ffffff;
            transition: all 0.3s ease;
        }

        /* Animación de la hamburguesa */
        .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .menu-toggle.open span:nth-child(2) { opacity: 0; }
        .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

        /* ── Contenido ── */
        .main-wrap {
            min-height: calc(100vh - 60px);
        }

        /* ── Breadcrumbs ── */
        .breadcrumb {
            background: transparent;
            padding: 0.75rem 2rem;
            margin: 0;
        }

        .breadcrumb-item a            { color: #3b82f6; text-decoration: none; }
        .breadcrumb-item.active       { color: #94a3b8; }
        .breadcrumb-item + .breadcrumb-item::before { color: #4a5568; }

        /* ── Footer ── */
        .footer {
            background-color: #1a1a1a;
            border-top: 1px solid #2d2d2d;
            margin-top: 4rem;
            padding: 3rem 2rem 1.5rem;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            max-width: 1100px;
            margin: 0 auto;
            gap: 2rem;
        }

        .footer-card {
            background-color: #161920;
            border: 1px solid #2d3139;
            border-radius: 10px;
            padding: 1.5rem;
        }

        .footer-card h3 {
            color: #ffffff;
            margin: 0 0 1rem;
            font-size: 1rem;
            border-bottom: 2px solid #3b82f6;
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .footer-card p {
            color: #94a3b8;
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 2.5rem;
            padding-top: 1.25rem;
            border-top: 1px solid #2d2d2d;
            color: #64748b;
            font-size: 0.82rem;
        }

        /* ── Responsive ── */
        @media (max-width: 768px) {
            .menu-toggle { display: flex; }

            .nav {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: #1a1a1a;
                border-bottom: 1px solid #2d2d2d;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-in-out;
            }

            .nav.open { max-height: 320px; }

            .nav ul {
                flex-direction: column;
                padding: 1rem 1.5rem;
                gap: 0.25rem;
            }

            .footer { padding: 2rem 1rem 1.5rem; }
        }
        
        
        
        
        
        
        
    <style>
        /* ── Navbar dark ── */
        .navbar-dark-custom {
            background-color: #1a1a1a !important;
            border-bottom: 1px solid #2d2d2d;
            padding: 0.6rem 1.5rem;
        }

        .navbar-dark-custom .navbar-brand {
            color: #ffffff !important;
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
        }

        .navbar-dark-custom .navbar-brand:hover {
            color: #3b82f6 !important;
        }

        /* Links del nav */
        .navbar-dark-custom .nav-link {
            color: #cccccc !important;
            font-size: 0.9rem;
            padding: 0.5rem 0.85rem !important;
            border-radius: 6px;
            transition: background-color 0.2s, color 0.2s;
        }

        .navbar-dark-custom .nav-link:hover,
        .navbar-dark-custom .nav-link:focus {
            color: #ffffff !important;
            background-color: #2d2d2d;
        }

        .navbar-dark-custom .nav-link.active {
            color: #3b82f6 !important;
            background-color: rgba(59, 130, 246, 0.1);
        }

        /* Dropdown */
        .navbar-dark-custom .dropdown-menu {
            background-color: #1e1e1e;
            border: 1px solid #2d2d2d;
            border-radius: 8px;
            padding: 0.4rem;
            min-width: 160px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        }

        .navbar-dark-custom .dropdown-item {
            color: #cccccc;
            font-size: 0.875rem;
            border-radius: 5px;
            padding: 0.45rem 0.85rem;
            transition: background-color 0.15s, color 0.15s;
        }

        .navbar-dark-custom .dropdown-item:hover {
            background-color: #2d2d2d;
            color: #ffffff;
        }

        .navbar-dark-custom .dropdown-divider {
            border-color: #2d2d2d;
            margin: 0.3rem 0;
        }

        /* Username badge */
        .navbar-dark-custom .nav-user-badge {
            color: #94a3b8 !important;
            font-size: 0.8rem;
        }

        /* Toggler (hamburguesa) */
        .navbar-dark-custom .navbar-toggler {
            border-color: #3d3d3d;
        }

        .navbar-dark-custom .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
    </style>