        @import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

        body {
            background-color: #f4f7f9;
            font-family: 'Inter', sans-serif;
            color: #1e293b;
            margin: 0;
        }

        .main-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-header h1 {
            font-family: 'Crimson Pro', serif;
            font-size: 3rem;
            color: #002147;
            margin: 0;
            border-bottom: 4px solid #002147;
            display: inline-block;
            padding-bottom: 10px;
        }

        .filtro-container {
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            display: flex;
            gap: 15px;
            margin-bottom: 40px;
            align-items: center;
            flex-wrap: wrap;
        }

        .filtro-container select, 
        .filtro-container input {
            flex: 1;
            min-width: 200px;
            padding: 12px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            font-size: 0.95rem;
            outline: none;
        }

        .btn-buscar {
            background: #002147;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }

        .grid-cursos {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 30px;
        }

        .curso-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border: 1px solid #f1f5f9;
        }

        .curso-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.1);
        }

        .curso-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .curso-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .dificultad-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255, 255, 255, 0.95);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #002147;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .curso-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .curso-content h3 {
            font-family: 'Crimson Pro', serif;
            font-size: 1.7rem;
            color: #002147;
            margin: 0 0 20px 0;
            line-height: 1.2;
        }

        .curso-detail {
            display: grid;
            grid-template-columns: 24px 1fr;
            gap: 12px;
            align-items: start;
            margin-bottom: 15px;
            font-size: 0.95rem;
            color: #475569;
            line-height: 1.5;
        }

        .icon-svg {
            width: 20px;
            height: 20px;
            fill: #002147;
            margin-top: 2px;
        }

        .detail-label {
            font-weight: 700;
            color: #002147;
        }

        .curso-price {
            font-size: 1.6rem;
            color: #2f855a;
            font-weight: 700;
            margin: 15px 0 25px 0;
        }

        .botones-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: auto;
        }

        .btn-action {
            text-align: center;
            padding: 14px;
            border-radius: 10px;
            font-weight: 700;
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.3s;
        }

        .btn-primary { background: #002147; color: white; border: none; }
        .btn-primary:hover { background: #0e428f; }

        .btn-outline { border: 2px solid #e2e8f0; color: #64748b; }
        .btn-outline:hover { border-color: #002147; color: #002147; }
    